Research
Distilling Knowledge from Search: Decoder Model Factory for Quantum LDPC Codes
Overview Research area: Quantum error correction (specifically decoding of quantum low-density parity-check, qLDPC, codes) combined with machine learning and search-based self-improvement. Technical l

- arXiv
- 2610.41398
- Published
- 2026-10-30
- Authors
- Anil Bilgin, Wanda Hou, Pranav Srinivas, Yi-Zhuang You
AI summary
Overview
Research area: Quantum error correction (specifically decoding of quantum low-density parity-check, qLDPC, codes) combined with machine learning and search-based self-improvement.
Technical level: Advanced. The paper assumes familiarity with stabilizer/CSS codes, detector error models, belief propagation, and neural message passing, though its central idea (train a decoder on its own verified search output) is explainable without that background.
Scope: The paper introduces GraphMP, a local learned message-passing decoder, and a "decoder model factory" that repeatedly distills verified beam-search trajectories into successor models, evaluated on 12 decoding tasks built from nine qLDPC code instances.
What This Paper Is About
A decoder must guess which errors occurred from a measured syndrome, and getting this wrong corrupts the encoded logical information. The authors want one learned decoder that works across different qLDPC code families, code sizes, and noise models without retraining, and that can keep improving and adapt as device noise changes. Their answer is to embed the decoder in a beam search and then train each new model on the search trajectories that were verified to be syndrome-consistent and logically correct, so computation spent decoding becomes reusable training data.
Key Contributions
- GraphMP, a learned local message-passing decoder that replaces belief propagation's scalar beliefs with learned multi-channel node states and messages on the detector–error Tanner graph, keeping computation linear in the number of graph edges and running node updates in parallel within each round.
- GraphMP-guided beam search, which places the decoder inside a beam search over partially pinned error patterns, with search width W and search depth R as explicit budgets trading decoding time for lower logical error.
- The decoder model factory, a collection–verification–distillation loop in which beam search supplies verified intermediate search states (updated syndromes plus pinned values) as supervised targets for the next model generation.
- A coupled quantum–classical architecture proposal, pairing a fast decoding cycle with a slower learning cycle, with a hardware sketch involving a QPU and a quantum data processing unit (QDPU), FPGA inference, and a slower GPU loop for model updates.
Main Findings
- Transfer without fine-tuning: A model bootstrapped by distilling from a BP teacher on three code-capacity tasks (BB₁₄₄, GB₁₈₀, Mitten₁₅₀) was applied to nine unseen tasks with no fine-tuning; it largely matched its BP teacher, though transfer weakened on the largest unseen tasks.
- A gap to strong classical decoders remains at single pass: Compared with BP+OSD, BP+LSD, and Relay-BP, single-pass GraphMP showed a clear performance gap, attributed to the factorized per-variable approximation that omits correlations needed to enforce joint parity constraints.
- Search buys accuracy without retraining: With the starting model fixed, broader and deeper beam search lowers logical error at higher decoding cost; on the three code-capacity training tasks a modest search budget more than halves the pooled logical error rate, with diminishing returns at larger budgets.
- Generations improve, with diminishing returns: Averaged over five independent factory runs, both single-pass and search-enhanced decoding improved at every generation on Mitten₁₅₀ (a training task) and LP₂₀^{3,5} (unseen), with the largest gain from G₀ to G₁ and progressively smaller later reductions.
- Final model is competitive but task-dependent: The search-enhanced G₃⁺ achieved lower measured logical error rates than BP+OSD on all nine code-capacity tasks and was broadly competitive with Relay-BP; its advantage over BP-based beam search and Tesseract was particularly pronounced on the larger generalized-bicycle and lifted-product tasks, but on phenomenological Mitten₁₅₀, BP-based beam search and Tesseract remained more accurate.
- Favorable accuracy–time tradeoff in the reported setup: On Mitten₁₅₀ and LP₂₀^{3,5}, search-enhanced GraphMP reached logical error rates close to Relay-BP with less measured time per shot, with GraphMP on one NVIDIA B300 GPU and reference decoders single-threaded on one CPU core.
- Adaptation after a noise switch: Switching from depolarizing to XZ noise caused a jump in logical error for G₃; continued factory training produced G₄–G₆ that recovered most of the loss by G₄, and the recovery transferred to LP₂₀^{3,5}, which was excluded from adaptation training. Relay-BP with its original prior also lost accuracy and improved when its prior was updated, while Relay-BP with the updated prior remained more accurate than GraphMP on that task.
- Distillation target matters: In controlled comparisons, training on intermediate search states reduced decoding failures during beam search relative to training on original syndromes and final predictions alone.
Methodology in Plain English
The decoder is a graph neural network that reads a sparse decoding graph: check nodes receive the syndrome, error nodes output the probability that each error occurred, and learned updates pass messages both ways for a fixed number of rounds. Because the same learned functions apply to any graph, the same weights can be dropped onto a different code or noise model by supplying that task's detector error model.
To get a starting model, the authors sample error patterns, compute syndromes, and train GraphMP to match a belief-propagation teacher's per-error posterior probabilities by minimizing KL divergence — standard knowledge distillation. This starting model, G₀, is then wrapped in beam search: whenever the residual syndrome is nonzero, the search branches on the free variable whose predicted probability is closest to 1/2, pins it to 0 in one branch and 1 in the other, and asks GraphMP to complete the rest.
For the factory, every search path that ends in a prediction which both explains the syndrome and preserves the logical outcome is kept, together with all intermediate states along that path. Each intermediate state becomes a training example: given the pinned values and the updated syndrome, predict the remaining free variables. The retrained model collects new trajectories, which are added to the accumulated data, and the cycle repeats (G₁ on D₁, G₂ on D₁ ∪ D₂, G₃ on D₁ ∪ D₂ ∪ D₃). In this work the "verification" signal comes from simulation, where the sampled error supplies an independent logical reference.
Why This Matters
The work reframes decoding computation as an asset: instead of being discarded after each shot, search effort becomes training data that improves later decoders at no extra inference cost, since the message-passing architecture is unchanged. It also demonstrates that a single learned decoder can be moved across code families and noise models without per-task retraining, and that a continuously running training loop can partially recover performance when noise statistics shift.
Real-world applications:
- Fault-tolerant quantum computing: decoders that must keep logical error below target while meeting real-time deadlines.
- Hardware-adaptive control stacks: decoders that track drifting or poorly characterized device noise using verified outcomes rather than static priors.
- Hybrid quantum–classical data centers: the proposed QPU plus QDPU split, with FPGA inference and GPU-side model updates, aligns with GPU–QPU integration efforts such as NVIDIA NVQLink and CUDA-Q.
- Benchmarking infrastructure: the detector-error-model interface gives a common format for comparing learned and classical decoders across code families.
Industry relevance: the paper speaks directly to groups building qLDPC-based fault tolerance and to vendors building classical acceleration hardware for quantum control, since the timing comparison is framed as GPU decoder versus single-core CPU reference decoders. The authors also flag that absolute timings depend on hardware and implementation and that further engineering optimization remains an open question.
Future Directions
- Collect trajectories from real quantum-memory experiments, using measured syndromes as inputs and dedicated logical benchmarks (preparing a known logical state and measuring the logical observable after recovery) as the verification signal instead of simulation.
- Test under circuit-level noise, sustained drift, and repeated model updates, which the authors identify as the settings that will probe how far the learning cycle reaches.
- Meet real-time error-correction deadlines, with streaming neural decoding and parallel-window decoding named as relevant approaches so the fast decoding cycle can run alongside asynchronous model training.
- Determine whether further generations help: gains diminish across generations and are bounded by optimal decoding for a fixed task, so the conditions under which additional factory rounds continue to pay off remain unresolved, as does closing the remaining task-dependent gaps to BP-based beam search, Tesseract, and Relay-BP with updated priors.
Target Audience
Researchers and engineers working on quantum error correction and decoding, machine-learning-for-quantum-hardware groups, and architects of quantum–classical control and acceleration stacks. It is also relevant to readers interested in search-based self-improvement and knowledge distillation outside quantum computing, since the model-factory loop is presented as a general paradigm. Readers without background in stabilizer codes, detector error models, or belief propagation will need supplementary reading; the paper's conceptual argument, however, is accessible at an intermediate level.
Authors’ abstract
We introduce GraphMP, a learning-based message-passing decoder for quantum low-density parity-check codes that transfers without fine-tuning across code families, code sizes, physical error rates, and noise models. GraphMP uses local message passing to keep computation scalable as the decoding graph grows. Guided by its predictions, beam search progressively refines candidate error patterns, trading additional decoding time for lower logical error rates. We develop the decoder model factory as a paradigm for training successive models on experience generated by earlier models during decoding. Model-guided search supplies verified trajectories for knowledge distillation, folding computation spent on decoding into reusable training data. Repeated collection and distillation improve the decoder across generations and adapt its strategy as the noise changes. These results motivate a coupled quantum--classical architecture with two interacting cycles: rapid decoding protects quantum information, while slower learning renews the models from operating experience. The long-term vision is a scalable decoder model factory that produces high-performance, low-latency decoders and continually adapts them to evolving quantum hardware.