{"id":"ba37bdfa-b3e7-4a1c-8b2c-2bf4f518855c","arxiv_id":"2611.13630","paper_version":1,"verdict":"CONDITIONAL","confidence":"HIGH","novelty_score":6.0,"correctness_risk":"medium","formal_verification":"none","parameter_count":3,"one_line_summary":"PRISM is a transformer-based ML decoder that matches integer-programming decoders in logical error rate while achieving sub-10-microsecond latency on an FPGA for distance-8 fusion-based quantum computing protocols.","lead":"This paper introduces PRISM, a transformer-based machine-learning decoder for quantum error correction that exploits known erasure locations. It demonstrates that the decoder matches the accuracy of conventional integer-programming decoders while being fast enough for real-time operation on an FPGA.","discovery_kind":"new_method","skeptic_critique":{"model":"deepseek/deepseek-v4-flash","headline":"The 6.59 µs FPGA latency is extrapolated from 400 MHz single-layer timing; the fully mapped design runs at 250 MHz and misses the 10 µs target.","rationale":"The reader's CONDITIONAL verdict remains appropriate; the concern identified here reinforces it rather than changing it. The central accuracy claim—full-precision PRISM matching the ILP-based benchmarks across protocols—is supported by the simulation results and is not what I would attack. The weakest point for the paper's strongest real-time claim is the hardware demonstration. The paper contains two different levels of evidence: a full network mapped at 250 MHz, and individual layers meeting 400 MHz. The abstract's 'demonstrating a latency of 6.59 µs' uses the 400 MHz layer-level result combined with the 250 MHz full-design cycle count, while the fully mapped design at 250 MHz gives 10.11 µs. This is not a matter of external noise-model disagreement; it is an internal gap between what was implemented end-to-end and what is quoted as demonstrated. The authors are transparent about the caveat in Appendix F, so this should not be read as an accusation of overclaiming intent, but the headline wording should match the actual evidence. The proposed test—full place-and-route at 400 MHz—directly settles whether the claimed latency is real or projected. Until then, the hardware result is conditional, consistent with the reader's verdict.","tokens_in":44244,"tokens_out":11432,"duration_ms":71347,"concrete_test":"Take the ⟨32,[5,1]⟩ Q-PRISM design from Table II and run a complete place-and-route of the full seven-layer network on the VP1902 with a 400 MHz timing constraint, then measure the achieved Fmax and the end-to-end latency from first input to complete decoded output. If the full design closes timing at 400 MHz with 2,636 or fewer cycles and no additional integration stalls, the 6.59 µs headline is confirmed. If Fmax is below 400 MHz or extra cycles appear, the demonstrated latency is 10.11 µs at 250 MHz and sub-10 µs remains a projection, requiring the abstract and Section V E to be reworded accordingly.","verdict_should_be":"UNCHANGED","load_bearing_attack":"The most load-bearing concern is that the headline hardware latency is not fully demonstrated. The complete placed-and-routed Q-PRISM implementation on the VP1902 is reported at 250 MHz, with 2,528 cycles, giving 10.11 µs end-to-end latency—above the stated 10 µs target. The 6.59 µs (and 1.56 µs throughput) figures instead combine this 250 MHz-design cycle count with a 400 MHz clock rate achieved only on individual message-passing and perceiver layers: Table II states that the 400 MHz row is 'obtained from individual-layer implementations,' and Section V E / Appendix F say 'we leave the full mapping at 400 MHz for future work' [b412]. The abstract nevertheless says the VP1902 implementation demonstrates 6.59 µs [b8]. The unresolved step is the assumption that the full network's frequency is 'well-predicted by the component frequencies'; full-network integration can add routing, load, and pipeline-stall effects not present in single-layer timing. Because 10.11 µs already misses the stated target, the claimed sub-10 µs result rests entirely on that unverified extrapolation.","agreement_with_reader":"partial"},"referee_report":{"model":"deepseek/deepseek-v4-flash","summary":"The paper introduces PRISM, a transformer-based machine-learning decoder for fault-tolerant quantum computing aimed at photonic fusion-based architectures where erasures are frequent. The decoder embeds syndrome and erasure bits as tokens, exchanges messages via sparse cross-attention restricted to the protocol's Tanner graph, aggregates error-mechanism states over multiple representatives of each logical membrane, and combines per-representative predictions with a syndrome-aligned vote. Training uses conditional cross-entropy on samples from a hardware-agnostic i.i.d. erasure-plus-Pauli model (p_E = x, p_P = x/10) with a curriculum over the operating point. The authors benchmark PRISM against MWPM (six-ring), BP-pre-decoded integer programming (linked-loopy-diamond and CC8 color-code networks), and BP+OSD (bivariate-bicycle codes) at distances 6–24 and claim matching, and at low rates slightly better, logical error rates, including at error rates up to 50% of threshold. A quantized version, Q-PRISM (ternary weights, two- or four-bit activations, LUT-based ShiftMax and ShiftL1Norm arithmetic), is trained with quantization-aware training and mapped to an AMD VP1902 FPGA using Brevitas and FINN. The full placed-and-routed design achieves 250 MHz and 2,528 cycles (10.11 µs) for a d=8 linked-loopy-diamond block; the authors additionally report 6.59 µs latency and 1.56 µs throughput by combining that cycle count with a 400 MHz clock demonstrated on individual layers.","tokens_in":44580,"tokens_out":16465,"duration_ms":112829,"significance":"If the benchmarks hold, this is a substantial contribution: PRISM is one of the more complete demonstrations of an ML decoder matching near-optimal (ILP-quality) decoding across several qualitatively different fault-tolerant protocols, including non-graphlike code families, while natively consuming erasure information. The architectural choices—erasure flags as tokens, Tanner-graph-restricted sparse attention, multi-representative syndrome-aligned voting, and perceiver-style readout—are well motivated, and the bounded-per-token scaling argument is credible. The FPGA work is a genuine engineering contribution: a fully placed-and-routed 250 MHz design with detailed resource utilization, an RTL-level latency breakdown (Figure 7), a documented floorplanning methodology (Appendix F), and honest reporting of the accuracy loss from quantization (Figure 4) and of the fact that 400 MHz was achieved only on individual layers. Reproducibility is above average for this literature: attached curricula and data files, public tooling (Brevitas, FINN, QONNX), and precise training configurations in Table C1.","major_comments":[{"comment":"The abstract's headline—'demonstrating a latency of 6.59 µs' on the VP1902—is the one place where the paper overstates its evidence. The only full-network placed-and-routed result is the ⟨32,[5,1]⟩ configuration at 250 MHz, whose 2,528 cycles correspond to 10.11 µs, above the stated 10 µs target (Section II D). The 6.59 µs figure instead combines that cycle count (plus 108 cycles) with a 400 MHz clock achieved only on individual message-passing and perceiver layers: Table II marks the 400 MHz row as obtained from individual-layer implementations, and Section V D states 'we leave the full mapping at 400 MHz for future work' (b412). The assertion that the full-network frequency 'can be well-predicted by the component frequencies' is plausible but unverified; full-network integration can add routing congestion, memory contention, and pipeline stalls not present in single-layer timing. The body and Table II are transparent about all of this, so the fix is framing: either complete the full-network 400 MHz closure, or restate the headline as the implemented 10.11 µs at 250 MHz and label 6.59 µs and 1.56 µs explicitly as projections in the abstract and Outlook (b459).","section":"§V D, §V E 2, Table II; abstract","authors_acknowledge":"Due to the pipelined design and available resource budget on the VP1902, the total frequency of the network can be well-predicted by the component frequencies, and we leave the full mapping at400 MHzfor future work.","authors_acknowledge_p":0.85},{"comment":"The abstract claims PRISM 'matches the logical error rates of integer-programming-based decoders while being significantly faster,' but Section IV contains no inference-runtime comparison between full-precision PRISM and the MWPM/BP+ILP/BP+OSD decoders of Figure 3. The only quantitative timing results in the paper are for the quantized Q-PRISM FPGA implementation in Section V, which is a different model whose accuracy is acknowledged to be lower than the unquantized reference (Section V B). The structural arguments for speed (fixed decode time; linear scaling at bounded width and depth) are credible, and the ILP runtime growth is noted in Section II C, but the comparative claim 'significantly faster' is unquantified. Adding per-shot software decode-time statistics for PRISM versus the Section IV benchmarks on identical instances, or explicitly restricting the claim to the Q-PRISM hardware implementation, would close this gap.","section":"§IV; abstract","authors_acknowledge":null,"authors_acknowledge_p":null}],"minor_comments":[{"comment":"The sentence 'It returned 0 logical errors after 30 billion trials at x = 0.012' has an ambiguous antecedent and reports a 0/3×10^10 outcome as a point value; it should state which decoder is meant, note that this is an upper bound, and ideally attach a confidence level, so that the 'matches' claim at d=24 is read as an upper-bound comparison rather than a measured rate.","section":"§IV / Fig. 3","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The phrase 'integer-programming-based decoders' is imprecise: for the bivariate-bicycle networks the reference decoder is BP+OSD, not ILP (Section IV and Ref. [104]); 'state-of-the-art benchmark decoders (MWPM, BP+ILP, BP+OSD)' would match the paper's actual comparisons.","section":"Abstract / §IV","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The frequency and latency columns use range notation ('250–400', '6.59–10.11') that visually places the projected numbers on equal footing with the measured ones; since 400 MHz is explicitly per-layer only, consider splitting the table into 'full design (250 MHz)' and 'projected (400 MHz)' columns, or adding a dagger to every projected entry.","section":"Table II","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The restriction to the i.i.d. model of Equation (3) is properly acknowledged in Appendix B 1, and the paper states that the training procedure extends to correlated models; given the centrality of erasures to the paper's motivation, one correlated-error benchmark (for example, loss events affecting both outcomes of a fusion, or spatial correlations across neighboring fusions) would give the erasure-robustness claim additional weight. This is a strengthening suggestion, not a correctness objection.","section":"§II B / §VI","authors_acknowledge":null,"authors_acknowledge_p":null}],"recommendation":"major_revision"},"author_rebuttal":null,"desk_editor":{"model":"deepseek/deepseek-v4-flash","letter":"Read this for the decoder architecture and the accuracy results; treat the 6.59 us number as a projection, not a measurement. PRISM is a code-aware transformer with erasure tokens, sparse attention, perceiver aggregation over membrane representatives, and a syndrome-aligned vote. The accuracy sweep is the strongest part: across six-ring, LLD, color-code, and bivariate-bicycle fusion networks up to distance 24, PRISM matches MWPM, BP+ILP, and BP-OSD benchmarks and often beats them at low rates, including zero logical errors in 30 billion LLD d=24 trials. That is a real result, and the paper is also honest that the quantized model pays an accuracy cost.\n\nThe hardware section is mostly honest too, but the headline is softer than it looks. The fully placed-and-routed VP1902 design runs at 250 MHz and takes 2,528 cycles, giving 10.11 us, above the paper's own 10 us target. The 6.59 us figure comes from running the same cycle count at 400 MHz, a frequency demonstrated only on isolated message-passing and perceiver layers. The authors say the full 400 MHz mapping is future work. Their claim that component frequencies predict the whole-network frequency is plausible for a heavily pipelined design, but it is not a demonstration, and the abstract's \"demonstrating a latency of 6.59 us\" overstates what is actually on the board. This is the main soft spot, and it is load-bearing for the real-time claim.\n\nOther issues are minor and largely acknowledged. The error model is a simplified IID model with p_E = x, p_P = x/10; the authors say the same training procedure applies to correlated models but do not test one. There is no head-to-head comparison with AlphaQubit or other neural decoders on identical benchmarks. No code or trained models are included, so independent reproduction is limited. Those are legitimate revision requests, not fatal flaws.\n\nThe citation pattern is fine, the related-work discussion is accurate, and the debt to Ref. [58] is properly credited. One genuine architectural plus: decoder time is fixed and input-independent, so there are no slow shots that stall the computation. This deserves a serious referee. I would send it out, ask for the full 400 MHz mapping or a recast latency claim, one correlated-noise benchmark, and a release plan for code and models.","headline":"Strong decoding-accuracy paper whose headline FPGA latency is an extrapolation, not the placed-and-routed number.","tokens_in":45184,"tokens_out":2346,"duration_ms":16757},"pith_extraction":{"msc":["81P68","81P70","68T07","94B35"],"pacs":["03.67.Pp","03.67.Lx","07.05.Mh"],"model":"deepseek/deepseek-v4-flash","headline":"PRISM: an ML decoder that matches optimal decoders and runs in 6.59 µs on an FPGA","keywords":["quantum error correction","machine learning decoder","transformer","fusion-based quantum computing","FPGA","real-time decoding","erasure errors","quantized neural network"],"falsifier":"If a real photonic fusion-based quantum computer (or a high-fidelity classical simulation with a realistic, correlated error model) shows that PRISM's logical error rate is significantly higher than that of a conventional decoder (e.g., BP+ILP or BP+OSD) at the same physical error rates, or if the FPGA implementation cannot achieve sub-10 µs latency for a distance-16 or larger block without exceeding the resources of a single FPGA, then the paper's central claim that PRISM offers both accuracy and real-time latency for utility-scale FBQC would be undermined.","tokens_in":45699,"feed_emoji":"⚛","tokens_out":1897,"duration_ms":19101,"temperature":0.7,"pith_summary":"The paper introduces PRISM, a transformer-based machine-learning decoder for quantum error correction that is designed to exploit erasure information, a dominant error type in photonic fusion-based quantum computers. The authors aim to establish that an ML decoder can simultaneously achieve the high accuracy of conventional integer-programming-based decoders and the low, fixed latency required for real-time fault-tolerant quantum computation. They benchmark PRISM on surface codes, color codes, and quantum LDPC codes at distances up to 24, showing it matches the logical error rates of optimal decoders. They then quantize the model to ternary weights and two-bit activations and implement it on an AMD FPGA, demonstrating a full-block decoding latency of 6.59 microseconds for a distance-8 protocol. If correct, this shows that ML decoders are a practical path to real-time decoding in erasure-dominated architectures.","feed_headline":"ML decoder matches optimal decoders at 6.59 µs per block","feed_subtitle":"PRISM uses a transformer and aggressive quantization to decode surface, color, and qLDPC codes on an FPGA with sub-10-microsecond latency.","key_machinery":"The central object is the PRISM decoder architecture: a transformer that uses sparse cross-attention constrained to the Tanner graph of the fault-tolerant protocol, so that error-mechanism tokens and check tokens exchange messages only along their connectivity. The model receives both syndrome and erasure patterns as inputs. Multiple equivalent logical membrane representatives are predicted and combined via a syndrome-aligned vote (Equation 10) to improve accuracy. For real-time deployment, the model is quantized to ternary weights and two-bit activations, with ShiftMax and ShiftL1Norm replacing softmax and layer normalization, and mapped to a fully-unrolled dataflow accelerator on an FPGA using the FINN framework. The sparse cross-attention is scheduled to avoid pipeline stalls by reordering tokens to exploit locality in the protocol geometry.","core_discovery":"The central claim is that a transformer-based neural decoder, PRISM, can be trained to approximate the optimal maximum-likelihood decoder for fault-tolerant quantum protocols under a combined Pauli and erasure error model, and that this decoder can be aggressively quantized and implemented on an FPGA to achieve sub-10-microsecond latency. The paper demonstrates that PRISM matches the logical error rates of integer-programming (most-likely-error) decoders across a range of codes (surface, color, qLDPC) at distances up to 24, and that its quantized version (Q-PRISM) on an AMD VP1902 FPGA decodes a distance-8 linked-loopy-diamond block with 6.59 µs latency and 1.56 µs amortized throughput. The discovery is that the accuracy-latency tradeoff that has historically constrained ML decoders can be overcome through a combination of sparse attention on the Tanner graph, multiple membrane representatives with a syndrome-aligned vote, aggressive quantization (ternary weights, two-bit activations), and a fully pipelined dataflow FPGA implementation.","pith_inferences":["The paper's strongest evidence for scalability is the distance-24 LLD run with zero logical errors in 30 billion trials; however, this is a single operating point (x=0.012) and the benchmark decoder (ILP) could not be run at that distance, so the claim of 'matching' rests on extrapolation from smaller distances where the benchmark is feasible.","The 6.59 µs latency is demonstrated only for a distance-8 block on one protocol (LLD). The paper acknowledges that larger distances will require more resources, and the projections to sub-10 µs for utility-scale distances rely on future improvements in hardware and architecture, not on a demonstrated implementation.","A natural extension would be to test Q-PRISM on a more realistic error model that includes correlated errors (e.g., from photon loss or crosstalk), rather than the independent and identically distributed model used here, to see if the quantized decoder maintains its accuracy advantage.","The paper does not compare its FPGA latency against other real-time decoders (e.g., the Google/Barber et al. decoder or the Blossom-based implementations) on the same protocol and hardware, making it difficult to assess whether the 6.59 µs is state-of-the-art or merely competitive."],"forward_implications":["If PRISM scales as claimed, fault-tolerant quantum computers based on photonic fusion architectures can use ML decoders that are both accurate and fast enough to not slow down the logical clock, removing a major systems obstacle.","The decoder's fixed, input-independent latency eliminates the problem of 'slow shots' that stall the quantum computation, which plagues algorithmic decoders with variable runtime.","Because PRISM outputs soft information (logical flip probabilities), it can be used for postselection, dynamic biasing of errors, and other fault-tolerant techniques that require confidence estimates, not just hard corrections.","The same architecture can be applied to any fault-tolerant protocol that can be described by a check matrix and membrane matrix, including circuit-based quantum computation, extending its utility beyond FBQC.","The demonstration that a transformer with ternary weights and two-bit activations can match the accuracy of full-precision decoders suggests that other ML decoders may also be aggressively quantized without catastrophic accuracy loss."],"supporting_citations":[{"why":"Provides the AlphaQubit ML decoder as a prior art and motivation for ML decoders in superconducting architectures; PRISM is positioned as extending this approach to erasure-dominated FBQC.","marker":"[27]"},{"why":"Introduces code-aware transformer masking attention according to the parity-check matrix, which PRISM builds upon and extends with erasure inputs and multiple membrane representatives.","marker":"[58]"},{"why":"Defines the fusion-based quantum computation (FBQC) model, resource states, Type-II fusions, and the basic error model that PRISM is designed to decode.","marker":"[71]"},{"why":"Provides the modular decoding scheme that allows PRISM to decode periodic blocks independently, which is the architecture assumed for the FPGA implementation.","marker":"[85]"},{"why":"Describes the fault-tolerant complexes (including the linked-loopy-diamond and color-code networks) that PRISM is benchmarked on, providing the geometry and check structure.","marker":"[95]"},{"why":"Introduces the Bivariate Bicycle codes (Gross and Half-Gross codes) that PRISM decodes, providing the code structure and parameters.","marker":"[16]"},{"why":"FINN framework is used to map the quantized PRISM model onto the FPGA, providing the compiler and hardware blocks for the dataflow implementation.","marker":"[111]"},{"why":"Brevitas is used for quantization-aware training, providing the fake quantization and straight-through estimator that enable the ternary weight and two-bit activation models.","marker":"[109]"}],"fun_headline_variants":["PRISM ML decoder matches optimal accuracy at 6.59 µs on FPGA","Transformer decoder PRISM matches integer-programming decoders at 6.59 µs","FPGA PRISM decoder achieves 6.59 µs latency with optimal accuracy","Erasure-aware PRISM matches optimal decoders in 6.59 µs real time","PRISM transformer decoder matches optimal quantum decoding at 6.59 µs"],"cache_read_input_tokens":0,"weakest_assumption_plain":"The error model used for training and benchmarking (independent erasures with probability x and Pauli flips with probability x/10) is a simplified, hardware-agnostic model that may not capture the correlations, loss dependencies, and non-Markovian noise present in a real photonic fusion-based quantum computer.","fun_headline_variants_meta":{"raw":{"variants":["PRISM ML decoder matches optimal accuracy at 6.59 µs on FPGA","Transformer decoder PRISM matches integer-programming decoders at 6.59 µs","FPGA PRISM decoder achieves 6.59 µs latency with optimal accuracy","Erasure-aware PRISM matches optimal decoders in 6.59 µs real time","PRISM transformer decoder matches optimal quantum decoding at 6.59 µs"]},"model":"deepseek/deepseek-v4-flash","effort":"low","cost_usd":0.000355,"raw_usage":{"cost":0.0003547726,"is_byok":false,"cost_details":{"upstream_inference_cost":0.0003547726,"upstream_inference_prompt_cost":3.17226e-05,"upstream_inference_completions_cost":0.00032305},"total_tokens":2862,"prompt_tokens":1087,"completion_tokens":1775,"prompt_tokens_details":{"audio_tokens":0,"video_tokens":0,"cached_tokens":923,"cache_write_tokens":0},"completion_tokens_details":{"audio_tokens":0,"image_tokens":0,"reasoning_tokens":1678}},"tokens_in":1087,"tokens_out":1775,"cost_source":"openrouter_usage","duration_ms":14712,"image_pages":[],"temperature":1.0,"billed_attempts":1,"reasoning_tokens":1678,"transport_provider":"openrouter","cache_read_input_tokens":0,"cache_creation_input_tokens":0},"cache_creation_input_tokens":0},"created_at":"2026-11-11T13:38:13.342365+00:00","model_set":{"reader":"deepseek/deepseek-v4-flash"},"pipeline_version":"pith-pipeline@v1.4.1-daily-deepseek-or-medium","input_kind":null,"input_chars":null,"input_total_chars":null,"passes_missing":null,"published_standing":null,"published_confidence":null,"objection_audit":null,"run_record":null,"basis":{"kind":"not_recorded","source":null,"chars_given":null,"chars_total":null},"receipt":null,"falsifier":"If a real photonic fusion-based quantum computer (or a high-fidelity classical simulation with a realistic, correlated error model) shows that PRISM's logical error rate is significantly higher than that of a conventional decoder (e.g., BP+ILP or BP+OSD) at the same physical error rates, or if the FPGA implementation cannot achieve sub-10 µs latency for a distance-16 or larger block without exceeding the resources of a single FPGA, then the paper's central claim that PRISM offers both accuracy and real-time latency for utility-scale FBQC would be undermined.","supporting_citations":[{"cited_title":"Learning to Decode the Surface Code with a Recurrent, Transformer-Based Neural Network","cited_arxiv_id":"2310.05900","evidence_quote":"Provides the AlphaQubit ML decoder as a prior art and motivation for ML decoders in superconducting architectures; PRISM is positioned as extending this approach to erasure-dominated FBQC."},{"cited_title":"Machine Learning Decoding of Circuit-Level Noise for Bivariate Bicycle Codes","cited_arxiv_id":"2504.13043","evidence_quote":"Introduces code-aware transformer masking attention according to the parity-check matrix, which PRISM builds upon and extends with erasure inputs and multiple membrane representatives."},{"cited_title":"Fusion-based quantum computation","cited_arxiv_id":"2101.09310","evidence_quote":"Defines the fusion-based quantum computation (FBQC) model, resource states, Type-II fusions, and the basic error model that PRISM is designed to decode."},{"cited_title":"Modular decoding: parallelizable real-time decoding for quantum computers","cited_arxiv_id":"2303.04846","evidence_quote":"Provides the modular decoding scheme that allows PRISM to decode periodic blocks independently, which is the architecture assumed for the FPGA implementation."},{"cited_title":"Fault-tolerant complexes","cited_arxiv_id":"2308.07844","evidence_quote":"Describes the fault-tolerant complexes (including the linked-loopy-diamond and color-code networks) that PRISM is benchmarked on, providing the geometry and check structure."},{"cited_title":"FINN: A Framework for Fast, Scalable Binarized Neural Network Inference","cited_arxiv_id":"1612.07119","evidence_quote":"FINN framework is used to map the quantized PRISM model onto the FPGA, providing the compiler and hardware blocks for the dataflow implementation."},{"cited_title":"Xilinx/brevitas: Release v0.13.2","cited_arxiv_id":null,"evidence_quote":"Brevitas is used for quantization-aware training, providing the fake quantization and straight-through estimator that enable the ternary weight and two-bit activation models."}],"lane_accuracy":{"status":"not yet measured","lane":{"model":"deepseek/deepseek-v4-flash","input_kind":null},"url":"https://pith.science/accuracy"},"review_version":1}