WorksComputer Science
Beam Search for Error-Correcting Codes via Conditional Diffusion
Abstract
We introduce a diffusion framework for neural decoding of error-correcting codes (ECCs). We interpret decoding as a conditional diffusion process that progressively predicts codeword bits while treating the physical channel observation as fixed side information. At each stage, a neural model estimates bitwise posteriors conditioned on the physical observation and the current noisy state of the codeword. We focus particularly on masked diffusion, for which the reverse process naturally induces a Maxwell beam search (MBS) procedure inspired by the Maxwell construction of Measson et al. Rather than committing to a single uncertain decision, the decoder maintains multiple candidate trajectories, removes parity-infeasible candidates, and ranks the remaining candidates using accumulated reverse-transition log-probabilities. We evaluate the framework across multiple code families on binary phase-shift keying (BPSK) over additive white Gaussian noise (AWGN). Experiments show competitive decoding performance across Polar, low-density parity-check (LDPC), and Bose-Chaudhuri-Hocquenghem (BCH) codes. The MBS decoder consistently improves upon the corresponding single-trajectory diffusion decoder and, in all evaluated settings, improves upon available neural decoding results.
Introduction
Reliable communication requires recovering transmitted information from noisy channel observations with low error and acceptable decoding latency. For a uniform prior over codewords, the optimal decision under frame-error loss is maximum-likelihood (ML) decoding. It is well-known that finding an ML codeword for a general linear code is NP-hard (Berlekamp et al., [7]). To avoid the cost of exact ML computation, practical decoders exploit the structure of specific code families. For low-density parity-check (LDPC) codes, belief propagation (BP) passes messages on a sparse factor graph and the min-sum approximation simplifies the message updates (Kschischang et al., 2001; Fossorier et al., 1999). This complexity reduction comes with tradeoffs: BP loses accuracy on graphs with cycles, and min-sum introduces additional approximation error (Yedidia et al., [31]; Fossorier et al. (1999)). One way to mitigate the limitations of BP on graphs with cycles is to train a neural network to learn message updates from data. Indeed, on selected codes, learned decoders improve classical message-passing performance (Nachmani et al., [21]; Nachmani & Wolf [20]; Park et al. [22]).
Despite the success of BP-based neural decoders for sparse graph codes, polar codes are commonly decoded using a successive cancellation (SC) decoder, which decides codeword bits sequentially (Arıkan, 2009). An incorrect early decision cannot be revisited, which yields suboptimal performance. Successive-cancellation list (SCL) decoding (Tal & Vardy, [26]) addresses this limitation by branching at bit decisions, retaining multiple candidate paths, and selecting a codeword only after all bits have been processed using a metric that corresponds to their likelihood. This guessing mechanism turns the suboptimal SC decoder into a competitive decoder. For polar codes, SCL decoding outperforms neural decoding methods, particularly as the block length increases. Its main drawback
Code in https://github.com/zivaharoni/conditional-diffusion-ecc is the sequential dependence inherited from SC, which limits parallelism and can increase latency1. The benefits of list decoding for SC decoding for polar codes thus lead to the central question of this paper: Can we devise a principled guessing mechanism that improves neural decoders by spending additional computation in parallel across candidates, rather than in additional sequential steps?
Diffusion-based decoders provide a natural starting point, having shown competitive error-correction performance through iterative denoising and score-based inference [16] (Helvits & Nachmani 2026). We first model the decoder as a conditional diffusion process based on conservation laws developed for coding (Méasson, 2006) and extended to diffusion under model mismatch [1]. In our formulation, the physical-channel observation remains fixed as side information while a separate auxiliary process corrupts the codeword with a broad class of memoryless auxiliary noise processes. The decoder then follows the reverse of this auxiliary process to recover the codeword having the physical observation as a fixed condition, as illustrated in Figure 2. Formally, this process should generate a sample from the posterior distribution of transmitted codeword given the physical observation. In typical communication scenarios, the posterior is often sharply concentrated on a single codeword and thus approximates a point mass. In this regime, sampling from the posterior is approximately equivalent to selecting its argmax. For the purpose of developing a beam decoder, we choose masking noise as the auxiliary process, even though the conservation laws in [1] (Méasson 2006) accommodate a broad class of memoryless auxiliary noise processes.
Figure 2. Conditional masking-diffusion decoding. The observation remains fixed while an auxiliary process masks ; the decoder reverses masking to estimate .
Having established the conditional diffusion framework, we then augment the masking-diffusion decoder with guessing, inspired by the Maxwell construction of Méasson et al. [18]. Specifically, at every reverse decision, the decoder branches on multiple bit assignments and scores each path using the log probabilities of the reverse transitions along that path. When the number of paths exceeds the beam size, the decoder prunes the least likely paths based on the accumulated reverse-transition log probabilities. Upon termination, the decoder selects the most likely codeword among the completed candidates in the beam.
Our experiments across several code families on BPSK-AWGN show that MBS improves on the corresponding single-trajectory conditional diffusion decoder and achieves the best decoding performance among the compared neural decoders in all evaluated scenarios. Figure 1 compares our methods with classical and neural decoders for Polar at 4 dB.
Figure 1. Comparison of on Polar at 4 dB; higher is better. MBS uses beam size 64. Order-3 ordered-statistics decoding (OSD-3) approximates ML decoding. Details are given in Appendix § 12.§ 4.
Related Work
Neural decoders. Learned belief-propagation (BP) decoders train message weights or update rules on Tanner graphs [21, 20]. Transformer decoders such as ECCT and CrossMPT retain the parity-check structure while replacing message updates with learned attention [15, 22]. Neural polar decoders also combine learned inference with list decoding, although sequential bit decisions limit parallelism [2] (Hirsch et al. 2026). Diffusion-based decoders, including DDECC and SB-ECC, recover codewords through iterative denoising of Gaussian channel noise [16] (Helvits & Nachmani 2026). Our conditional formulation instead holds the physical observation fixed and introduces a separate auxiliary masking process. This separation allows the learned posterior estimator to condition on partial bit assignments and support beam search over decoding trajectories.
Decimation and beam search. Guessing and retaining alternative decoding paths have a long history, including the Maxwell decoder [18] and successive-cancellation list decoding [26]. More directly related, Buchberger et al. (2021) combine least-reliable-bit branching with learned decimation for neural BP on classical LDPC codes. For quantum LDPC codes, Ye et al. (2026) use BP-guided branching and reliability-based beam pruning, while Aydin et al. (2026) use cumulative BP iterations for post-selection. Our method shares the use of branching to improve an approximate decoder. We approach this mechanism through conditional masked diffusion: posterior marginals guide bit assignments, accumulated reverse-transition log probabilities rank paths, and parity constraints eliminate infeasible candidates. The connection to Maxwell decoding therefore complements the more recent decimation and beam-search literature. Extended related work appears in Appendix H.
Preliminaries and Background
Error-correcting codes
We consider the standard coded transmission setup using a binary linear block code . The code is specified by a generator matrix and a parity-check matrix such that over [23]. The symbol denotes an all-zero matrix of the indicated dimensions. For an code, and the number of listed parity checks satisfies , with equality when the checks are linearly independent. Given a message , the encoder produces the length- codeword
and the code rate is . For transmission, we map the codeword to its binary phase-shift-keying (BPSK) representation . We use uppercase for the random transmitted codeword and lowercase for one realization.
Physical observation and auxiliary noise
We distinguish two channels because they play different roles in the decoder. The physical channel produces the observation , which remains fixed and conditions every decoding decision. The auxiliary channel instead governs the evolving state and serves as an internal mechanism for taking decisions about the transmitted codeword.
Physical observation. The physical channel is described by the conditional distribution , from a transmitted codeword to a received observation . This distribution is set by the communication medium. The realization is the physical information available to the decoder and remains fixed throughout decoding.
Auxiliary noise. Separately, the decoding process is designed by choosing an auxiliary scalar noising family , where is the scalar noise-parameter domain. This family facilitates the decision process of the decoder. We use only the homogeneous auxiliary channel: at noise level , every coordinate is passed through the same scalar channel. Thus has conditional distribution
We assume that is degraded: for every , there is a channel on the auxiliary output alphabet satisfying
Assume that has a clean endpoint and an uninformative endpoint , for which almost surely and . For example, for masking noise with mask probability , the clean endpoint is , where , and the uninformative endpoint is , where is the all-erasure word. The scalar parameter therefore indexes the decoder trajectory from clean to uninformative. For general auxiliary channels, regularity conditions are given by Méasson et al. [19]; Aharoni & Pfister [1]. Appendix A proves the masking identities used here directly. Because the auxiliary channel family is degraded and its randomness is independent of the physical observation conditional on , coupling to through the degradation channel yields the Markov chain
Decoding Error-Correcting Codes as Conditional Diffusion
This section commences with a brief background of the conservation laws for masked diffusion, which connect the local bitwise posterior quantities to the global conditional entropy of the codeword given the physical observation. Then, it describes how these posterior marginals define the diffusion decoder and its MBS extension.
Conservation law for masked diffusion
Consider a random vector and its masked version , formed by independently replacing each bit with the erasure symbol with probability . Let denote all coordinates of except the th. The area theorem of Méasson et al. [19] expresses the entropy of through derivatives along this masking path rather than through the chain rule over variables.
Applying the area theorem to the masking channel with the physical-channel observation held fixed as side information, the derivative of decomposes into bitwise conditional entropies:
By the fundamental theorem of calculus, integrating from to connects the local bitwise conditional entropies to the global conditional entropy :
which equals .
We establish a conditional conservation law for mismatched cross-entropy, extending the unconditional result of Aharoni & Pfister [1] to include the physical-channel observation as side information. Let and be the true and model distributions on codewords. The joint laws and use the same physical channel and induce the posteriors and , respectively. Pass both laws of through the same masking channel , with the auxiliary randomness conditionally independent of given , so that both satisfy the Markov relation in (3). Denote by the resulting model posterior of bit given and the unmasked coordinates. Define
where is the conditional cross-entropy. Our conditional conservation law states that
We prove this conditional identity in Appendix § 9.
A motivating example. Figure 3 compares Polar(128, 64) ((Arıkan, 2009)) and CCSDS(128, 64) ([11]) with side information from an AWGN channel at dB. Integrating the learned curves and converting to bits gives cross-entropy estimates for the full 128-bit codeword of 0.38 bits for Polar and 0.028 bits for CCSDS. The curves also suggest that Polar is harder to decode: as decreases, its prediction loss becomes negligible near , compared with for CCSDS. Thus, Polar requires more coordinates to be revealed before the remaining bits become predictable. This motivates our MBS in § 4.3.2.
Figure 3. Conditional cross-entropy under masked diffusion for Polar(128, 64) and CCSDS(128, 64) with AWGN side information at dB.
Learning posterior marginals
We model the posterior marginals using a neural network. The conservation law requires that and be compatible with the same auxiliary channel : both posterior families must be induced by passing their respective codeword distributions through . In particular, their marginals must obey the following Bayes factorization for all and :
For the masking channel , this becomes:
Thus, the model predicts posteriors at masked positions and is deterministic at revealed positions.
Each training step begins by sampling a codeword and one physical channel observation, . After observing , we hold this realization fixed. We then sample a mask probability and generate only the auxiliary state . We train the network to minimize the average cross-entropy over masked bits
where with the requirement that .2
Inference
During inference, the learned bitwise posterior defines the reverse transitions. We describe conditional masked diffusion in § 4.3.1 and its MBS extension in § 4.3.2.
Conditional-diffusion decoding.
Before decoding, we specify the number of bits to reveal at each of steps, with . We call the schedule confidence-balanced when the reveal counts are equal up to rounding and each step reveals the masked bits with largest absolute LLRs. The decoder starts from the all-erasure word and keeps the physical observation fixed. At step , the current word is and the noise level is the fraction of bits still masked. One forward pass evaluates the posterior marginals in (9) for this state. For each bit , we compute the predicted log-likelihood ratio (LLR)
and measures confidence.
| Algorithm 1 | Confidence-scheduled decoding |
| Require: | , parity-check matrix , counts with |
| 1: | |
| 2: | for do |
| 3: | current masked fraction |
| 4: | Compute with (11) |
| 5: | , |
| 6: | if over then return |
| 7: | masked indices with largest |
| 8: | for |
| 9: | end for |
| 10: | return |
Table 1.
After each forward pass, we form the early hard estimate for every . If over , we return immediately. Otherwise, we continue with the scheduled reveal step. We select the still-masked positions with the largest to form , then reveal them using the LLR hard decision induced by the marginal backward kernel
For , the new value is ; every other coordinate keeps its current value. If no early exit occurs, after steps all bits are revealed and the noise level has decreased from to . Algorithm 1 summarizes the procedure. The next section describes the MBS, which augments Algorithm 1 with a beam of candidate paths.
Maxwell beam search
The Maxwell decoder was introduced for erasure decoding to bridge belief propagation (BP) and maximum a posteriori (MAP) decoding [18]. When BP cannot resolve an erased bit, it branches on both possible values and uses parity constraints to eliminate inconsistent hypotheses. Our formulation likewise recovers erased bits, with the physical observation providing additional side information. We adapt this branching mechanism by using the learned neural posterior marginals in place of BP predictions and retaining a finite beam of candidate decoding paths.
Initialization. The decoder takes the observation , parity-check matrix , beam width , a maximum of branching rounds, an initial branching depth , and a completion budget of steps per attempt. We require and . The beam contains a list of candidate–score tuples and is initialized as , consisting of one all-erasure word with path score zero. At step , the beam contains candidates , indexed by . Evaluating the beam gives the LLRs , for and , where is defined by (11). Initially, and .
Greedy exit. The first completion attempt uses the prediction from the all-erasure state and . Using these predicted LLRs, it forms the greedy word
If , it returns this word immediately. Otherwise, it invokes the branching mechanism below.
Initial branching. If this initial attempt fails, the decoder performs sequential binary branching rounds. Each round recomputes the predictions. For each candidate , let be its least-confident masked position and the child obtained from by assigning at that position. Parity propagation then fixes any masked position participating in a parity check whose other positions are all revealed; if a contradiction is detected, the child is discarded. For each surviving child, define its propagated state once as . Its score is computed using only the assigned bit , with no contribution from parity-forced bits3:
Figure 4. MBS () completion and retry. All candidates undergo diffusion completion (Algorithm 1) and parity checking. If any passes, returns the valid candidate closest to . Otherwise, restore the saved partial states, branch on their least-confident masked bits, and retain the top two children by path score for the next attempt.
The surviving propagated children , together with their scores , form the next beam . Fully revealed parents are carried over unchanged.
Main loop. At each iteration, the decoder saves the current beam and runs conditional diffusion on all its candidates for up to completion steps. At each step, it checks the hard-decision estimates using the early-exit rule of Algorithm 1. Let denote the completed candidates obtained from at that completion attempt. If at least one candidate in is a valid codeword, the decoder returns one using in (16).
During diffusion completion, we accumulate each candidate’s score, initialized at , over the completion steps as
Here is the current completion state, its masked fraction, and the positions revealed at that step by Algorithm 1, including all remaining masked positions on early exit.
If no satisfies , the decoder discards and backtracks to . For each , it branches at with , applies , and discards contradictions. Pruning uses the score ranking of (17): up to surviving children with largest from (14) form . Completion and branching repeat for at most branching rounds, including the initial . Failure is declared if the beam is empty or the final completed beam contains no valid codeword.
Codeword selection
We consider two metrics on : minimum Euclidean distance and maximum accumulated path score. The minimum-distance rule selects the most likely codeword under BPSK-AWGN, equivalently the one with minimum squared Euclidean distance:
Alternatively, let be the accumulated score of the path producing . The score-based rule is
Path metric. With exact posterior marginals, sequential revelation yields the log-posterior score , whereas parallel revelation gives a lower bound in expectation. See Appendix § 10 for details and the extension to learned marginals.
Experiments
We evaluate conditional diffusion and MBS on standard linear block codes over BPSK-AWGN. We also examine the distribution of decoding steps and measured latency.
Experimental setup
Codes, channels, and model. We consider LDPC (Gallager (1962)), Polar (Arıkan (2009)), and Bose–Chaudhuri–Hocquenghem (BCH) codes (Hocquenghem (1959); Bose & Ray-Chaudhuri [8]), including LDPC codes from MacKay's collection (MacKay (n.d.)) and the Consultative Committee for Space Data Systems (CCSDS) short-block family (CCSDS [11]). For the physical channel, we consider BPSK over AWGN.
The BPSK-AWGN comparison in Table 1 considers dB. The Polar(128, 64) and CCSDS(128, 64) curves in Figure 5(a)–(Figure 5b) additionally cover –3.5 dB in 0.5 dB increments. We use a CrossMPT (Park et al. [22]) architecture with 6 attention layers, width 128, and 8 attention heads to model ; additional implementation details are in Appendix § 11.
Figure 5. BLER over BPSK-AWGN. MBS () on the CCSDS and Polar codes illustrated in Figure 3.
Training and evaluation. We train with (10) for three million iterations on random codewords, with sampled uniformly from dB, and evaluate exponential-moving-average (EMA) weights. Unless otherwise stated, diffusion uses 16 confidence-balanced reverse steps as defined in § 4.3.1. Appendix § 12.§ 2 gives optimizer and EMA settings, simulation budgets, and stopping criteria.
MBS. For Table 1, MBS uses maximum beam size , initial branching depth , at most branching rounds, and confidence-balanced diffusion steps per completion attempt. Each candidate branches on its least-confident unresolved bit, and pruning to the beam budget precedes completion. We use minimum-distance selection (16).
Baselines. For theoretical decoding baselines, we use belief propagation (BP) (Kschischang et al. (2001)), successive cancellation (SC) (Arıkan (2009)), and successive-cancellation list (SCL) decoding (Tal & Vardy [26]). Table 1 compares BP, CrossMPT (Park et al. [22]), DDECC (Choukroun & Wolf [16]), SB-ECC (Helvits & Nachmani (2026)), our conditional diffusion decoder, and MBS with beam size 64.
Results
MBS with achieves the highest reported among the six methods in all 42 code–SNR comparisons in Table 1. MBS improves on conditional diffusion throughout. SB-ECC has lower reported BER than our conditional diffusion in 39 of the 42 comparisons. At 6 dB, CCSDS(128, 64) has no observed errors over frames. Its dagger value 22.94 represents the lower bound obtained by assuming one frame error with bit errors. Evaluation details are given in Appendix § 12.§ 2.
Figure 5(a)–(Figure 5b) compares block error rates (BLER) on Polar(128, 64) and CCSDS(128, 64), the same codes considered in the conservation-law example of Figure 3. We train SB-ECC for three million steps and evaluate it with up to 100 denoising steps, while our plain conditional-diffusion decoder uses up to 128 steps (any-order AR). These larger evaluation budgets aim to maximise the performance of purely diffusion-based decoding. Our conditional-diffusion decoder fixes one bit at a time in confidence order, analogous to autoregressive decoding along a chain-rule factorization. Both methods retain parity-based early exit. We further test MBS with BP replacing our learned model to estimate the posterior marginals. Additional details are given in Appendix § 12.§ 3. Appendix § 15 examines the effect of the maximum beam size on MBS decoding performance and reports mean beam usage and its empirical percentiles for CCSDS(128, 64) at 2.5 and 4 dB.
| Architecture | Family | Code | BP | CrossMPT | DDECC | SB-ECC | Diffusion | MBS, | ||||||||||||
| 4 | 5 | 6 | 4 | 5 | 6 | 4 | 5 | 6 | 4 | 5 | 6 | 4 | 5 | 6 | 4 | 5 | 6 | |||
| Polar | (64, 32) | 4.26 | 5.38 | 6.50 | 7.50 | 9.97 | 13.31 | 7.03 | 9.69 | 12.97 | 7.77 | 10.30 | 13.78 | 7.70 | 10.43 | 13.57 | 7.92 | 10.64 | 13.95 | |
| Polar | (64, 48) | 4.74 | 5.94 | 7.42 | 6.51 | 8.70 | 11.31 | 6.07 | 8.40 | 10.90 | 6.63 | 8.64 | 11.27 | 6.53 | 8.63 | 11.05 | 6.73 | 8.82 | 11.40 | |
| Polar | (128, 64) | 4.10 | 5.11 | 6.15 | 7.52 | 11.21 | 14.76 | 8.16 | 12.04 | 16.27 | 9.03 | 13.13 | 16.94 | 7.62 | 11.04 | 14.75 | 9.51 | 13.32 | 17.36 | |
| Polar | (128, 86) | 4.49 | 5.65 | 6.97 | 7.51 | 10.83 | 15.24 | 7.92 | 11.34 | 15.61 | 8.03 | 11.48 | 16.10 | 7.68 | 11.04 | 14.57 | 8.92 | 12.54 | 16.97 | |
| Polar | (128, 96) | 4.61 | 5.79 | 7.08 | 7.15 | 10.15 | 13.13 | 7.24 | 10.32 | 13.26 | 7.64 | 10.32 | 13.37 | 7.36 | 10.34 | 13.20 | 8.09 | 10.74 | 13.38 | |
| LDPC | (49, 24) | 6.23 | 8.19 | 11.72 | 6.68 | 9.52 | 13.19 | 6.26 | 9.07 | 12.71 | 7.74 | 10.88 | 14.63 | 6.97 | 10.00 | 13.98 | 8.70 | 11.37 | 15.13 | |
| LDPC | (121, 60) | 5.64 | 8.88 | 13.33 | 5.74 | 9.26 | 14.78 | 6.22 | 10.18 | 15.89 | 6.33 | 10.38 | 16.38 | 5.96 | 9.94 | 15.92 | 8.32 | 13.60 | 21.04 | |
| LDPC | (121, 70) | 6.91 | 10.66 | 15.62 | 7.06 | 11.39 | 17.52 | 7.64 | 12.30 | 17.98 | 7.75 | 12.69 | 19.24 | 7.42 | 12.09 | 18.49 | 10.36 | 15.96 | 22.52 | |
| LDPC | (121, 80) | 7.84 | 11.86 | 17.33 | 7.99 | 12.75 | 18.15 | 8.62 | 13.55 | 18.26 | 8.84 | 14.02 | 20.42 | 8.34 | 12.32 | 13.29 | 11.09 | 16.77 | 23.22 | |
| BCH | (63, 36) | 4.03 | 5.42 | 7.26 | 5.03 | 6.91 | 9.37 | 5.30 | 7.32 | 10.25 | 5.74 | 8.12 | 11.20 | 5.41 | 7.53 | 10.55 | 7.42 | 10.59 | 14.54 | |
| BCH | (63, 45) | 4.36 | 5.55 | 7.26 | 5.90 | 8.20 | 11.62 | 5.67 | 8.07 | 11.41 | 6.58 | 9.48 | 13.17 | 6.03 | 8.63 | 12.13 | 7.74 | 10.99 | 15.53 | |
| BCH | (63, 51) | 4.50 | 5.82 | 7.42 | 5.78 | 8.08 | 11.41 | 5.37 | 7.48 | 10.51 | 6.19 | 8.82 | 12.45 | 5.87 | 8.38 | 11.76 | 6.63 | 9.63 | 13.13 | |
| MacKay | (96, 48) | 6.84 | 9.40 | 12.57 | 7.97 | 11.77 | 15.52 | 8.58 | 12.48 | 16.04 | 8.97 | 12.82 | 16.25 | 8.51 | 12.27 | 16.02 | 10.91 | 13.77 | 16.28 | |
| CCSDS | (128, 64) | 8.00 | 12.11 | 17.17 | 7.68 | 11.88 | 17.50 | 8.40 | 13.18 | 17.47 | 8.60 | 13.43 | 19.20 | 8.27 | 13.23 | 20.97 | 11.46 | 18.07 | 22.94† |
Table 1 (PDF p. 9). BER comparison over BPSK–AWGN. MBS uses beam size . Values are (higher is better), at the indicated in dB. Bold and underline mark the best and second-best distinct values after rounding to two decimals; ties share the same formatting. The symbol † indicates no observed errors; the estimate assumes one frame error with bit errors (Appendix § 12.§ 2).
The advantage of MBS over the neural diffusion baselines grows at higher SNR. On CCSDS, using BP estimates within MBS also outperforms both plain conditional diffusion and SB-ECC, approaching the performance of learned MBS. On Polar, however, the parity-check graph has many short cycles and highly uneven node degrees, which may contribute to BP’s poor estimates. MBS improves Polar BP only modestly and does not overcome this limitation. Learned MBS still has a gap to the CCSDS ML reference ((Helmling et al., 2025)) and the Polar SCL references with list sizes 32 and 512.
Decoding latency and stopping-time distribution
For 1,000 CCSDS(128, 64) frames at dB, we record the number of sequential neural evaluations performed before decoding terminates. We count each parallel batch of candidates as one evaluation, including the initial greedy prediction, branching queries, and all completion attempts. Based on measurements on an RTX A5000, the estimated mean inference times for MBS and SB-ECC are 47.03 and 40.01 ms at 2.5 dB, and 9.30 and 25.01 ms at 4 dB, respectively. At 4 dB, MBS stops after one neural evaluation on 98.55% of frames, giving it a lower mean inference time than SB-ECC. This early exit is enabled by direct bitwise posterior predictions, whereas SB-ECC uses conditional noise means for iterative denoising. At 2.5 dB, only 66% of frames stop after one evaluation; the additional search on the remaining frames raises MBS’s mean inference time above that of SB-ECC. Further details are given in Appendix § 15.
Additional experiments and analysis. Beyond the comparisons above, we also evaluate longer LDPC codes in Appendix § 13. Appendix F studies generalization to Rayleigh fading, and Appendix § 15 reports computational complexity and measured decoding latency.
Conclusion
We develop a conditional masked diffusion framework for error-correcting codes in which the received word remains fixed side information. Learned posterior marginals guide the reverse process, motivated by an information-theoretic conservation law. The masked formulation enables a beam search mechanism inspired by the Maxwell decoder of Méasson et al. [18]. Our experiments show that augmenting conditional diffusion with MBS yields competitive decoding performance across the evaluated settings.
Reliable ECC decoding is important for communication and storage, and offers a controlled setting for studying learned inference under exact constraints. We believe that the MBS mechanism may also benefit diffusion-based generation more broadly by retaining alternative partial solutions before committing to uncertain decisions. Related uses of search during generation are already being explored in SOAR (Cao et al., [10]) and Diffusion Tree Sampling (Jain et al., 2025), suggesting a promising direction for extending these ideas beyond ECC.
AI Use Statement
We used OpenAI Codex to assist with finding and summarizing related work; evaluating methodological and experimental options; implementing, debugging, and analyzing research code and evaluations; and drafting, organizing, and editing portions of the manuscript. We treated these outputs as suggestions and reviewed AI-assisted text, code, citations, and results before incorporating them. The authors take responsibility for all claims, results, and content of this paper.
Acknowledgments
The work of H. D. Pfister and Z. Aharoni was supported in part by the National Science Foundation (NSF) under Grant Number 2308445.
Conditional Conservation Laws for Masking
We prove the conditional masking identities in § 4.1, adapting Aharoni & Pfister [1]. Let and be the true and model posteriors induced by the shared physical channel. Assume almost surely and finite conditional cross-entropy. Under both laws, each coordinate is independently masked with probability , independently of given . All expectations below use the true law.
Proof. For coordinatewise masking probabilities , put
Fix and abbreviate . Conditional independence under both laws gives the cross-entropy chain rule
The second term is independent of . For the first term,
Since the mask is independent of ,
Hence
Along , the path derivative is the sum of the coordinate derivatives in (18), giving . The fundamental theorem of calculus then yields (7), with the endpoint conditions satisfied because and :
Setting gives the entropy derivative (4) and, with the same endpoints, the conservation law (5).
Parallel Sampling, Total Correlation, and Path Scores
Independent sampling replaces the joint posterior of the selected bits by a product of marginals. Total correlation (TC), introduced by Watanabe [28], measures the resulting expected log-score penalty.
TC and dual TC have been used to analyze parallel sampling schedules for masked diffusion (Chen et al., [14]). Wen et al. [29] characterize the forward KL divergence of adaptive parallel sampling as accumulated conditional TC. Here we apply this dependence-penalty perspective to the decoder’s path score, conditioned on the physical observation .
Penalty for a parallel step. Fix and the decoder state . Select before assigning its bit values, and write
The expected difference between the joint log probability and the sum of marginal log probabilities is
TC vanishes for conditionally independent selected bits, and automatically for a singleton.
Accumulated path score. To isolate the effect of parallel reveals, we analyze the path score in (17) using exact posterior marginals. Each group is selected using and the previously revealed bits. Predicting and revealing one bit at a time takes steps for a length- codeword. Updating the exact posterior after each bit, the probability chain rule gives . When , some steps reveal several bits in parallel; summing their local TC penalties gives
Thus the expected negative path score upper-bounds posterior entropy.
Learned marginals. Let denote . For finite log loss and model support covering the true support,
Marginal prediction error therefore adds to the dependence penalty.
Posterior-Estimator Implementation
We implement the posterior estimator of § 4.2 with a CrossMPT backbone (Park et al., [22]). Code-bit and parity-check tokens use alternating - and -masked cross-attention.
At decoding step , an auxiliary encoder represents the current state and mask fraction . A separate physical encoder represents the fixed observation and any available physical-channel parameters. Both encoders condition every CrossMPT layer through adaptive layer normalization: their scale contributions are added, and their shift contributions are added. The alternating cross-attention blocks remain unchanged.
For each masked bit , the output head predicts logits for the extrinsic posterior
The known local auxiliary-channel likelihood is applied outside the network using (9). Thus, equals the predicted extrinsic posterior at masked positions and at revealed positions. These marginals drive both the diffusion and MBS decoders.
Evaluation Protocols and Reference Results
This appendix describes the training procedure, simulation protocol, reference sources, decoder configurations, sample sizes, and stopping criteria used in the experimental comparisons. Comparisons with published methods use independently generated samples and may differ in training objective, inference procedure, and evaluation budget.
Baselines evaluations
The BP, CrossMPT, DDECC, and SB-ECC BER values in Table 1 are transcribed from Helvits & Nachmani (2026, Table 1). BP uses 50 decoding iterations, and DDECC and SB-ECC share the CrossMPT backbone in that comparison.
For LDPC(49, 24), DDECC reports at least frames and at least 500 erroneous frames per SNR; SB-ECC stops after 500 frame errors or evaluated LDPC frames; CrossMPT reports at least 500 erroneous frames without specifying the total frame count. At 4 dB, Park et al. [22] report for CrossMPT, where BLER denotes the frame-error rate. For the longer-code comparison in Table 3, the SB-ECC values for LDPC(204, 102) and LDPC(529, 440) are transcribed from Helvits & Nachmani (2026, Table 6).
| Code | SB-ECC | Diffusion | MBS () | |||
| 4 | 5 | 4 | 5 | 4 | 5 | |
| LDPC(204, 102) | 11.20 | 15.78 | 11.27 | 15.29 | 12.09 | 17.82 |
| LDPC(529, 440) | 7.93 | 15.23 | 7.88 | 13.64 | 8.69 | 17.77 |
Table 3. Negative log BER for long-block LDPC codes over BPSK–AWGN at 4 and 5 dB. SB-ECC results are reproduced from Helvits & Nachmani (2026, Table 6). Boldface and underlining mark the best and second-best distinct values.
| Decoder | 2.5 dB (ms) | 4 dB (ms) |
| MBS | 47.03 () | 9.30 () |
| SB-ECC | 40.01 | 25.01 |
Table 6. Estimated mean latency for CCSDS(128, 64) from the stopping-time histograms in Figure 6, using NVIDIA RTX A5000 forward-pass timings.
Figure 6. Distribution of the number of neural function evaluations (NFE) for MBS ( at 2.5 dB; at 4 dB) and SB-ECC on CCSDS(128, 64) at 2.5 dB (left pair) and 4 dB (right pair).
Training and simulation details
AWGN training. We train a separate posterior estimator for each code. Training samples are generated online from random codewords, with drawn uniformly from the discrete grid dB. For every sample, the codeword is mapped to BPSK and passed through AWGN to obtain the fixed physical observation. We then draw independently for each sequence, mask coordinates independently with probability , and condition on masking at least one coordinate. The model minimizes the masked-bit negative log-likelihood in (10) for three million iterations. We use batches of 256 codewords and AdamW with zero weight decay; the learning rate is cosine-annealed from to . We maintain both raw and exponential-moving-average (EMA) model parameters during training and use the EMA weights for the reported AWGN diffusion and MBS evaluations. The posterior-estimator architecture is specified in Appendix C. Unless otherwise stated, conditional diffusion uses 16 confidence-balanced reverse steps with equal-sized reveal groups, up to integer rounding, fixing the most confident masked coordinates first.
Monte Carlo simulation. For a rate- code at a specified , each frame independently samples a random codeword and Gaussian noise according to
Diffusion evaluation. For Table 1, conditional diffusion uses EMA weights and up to 16 confidence-balanced reverse steps with parity-based early exit. The Polar evaluations first attempt a one-step greedy completion; frames with nonzero syndrome restart diffusion from the original channel observation. Polar(64, 32) uses the three-million-update no-bias checkpoint; Polar(128, 86) and Polar(128, 96) use the 2.7-million- and 2.8-million-update EMA checkpoints, selected by validation FER at 4 dB, with BER breaking ties. The standard stopping rule is 500 frame errors or frames ( for LDPC codes), whichever occurs first; the paired Polar evaluations use their saved evaluation populations, whose sizes and error counts are recorded in the accompanying artifacts. BER and FER include all evaluated frames, including incorrect parity-valid greedy outputs.
Maxwell beam-search evaluation. For Table 1, MBS uses the corresponding saved-bank checkpoints, maximum beam size , initial depth , at most branching rounds, and confidence-balanced completion steps. Each candidate branches on its least-confident unresolved bit; pruning precedes completion, and no confident-variable decimation is used. We replay the saved greedy-invalid frames while retaining the original greedy decisions and total-frame denominators, including incorrect greedy outputs. Each selected bank is processed in full, without a new 500-error stopping criterion. Per-cell sample sizes, observed errors, checkpoint hashes, and bank provenance are provided in the beam-size comparison artifact. The extended 6 dB populations for LDPC(121, 60), LDPC(121, 70), LDPC(121, 80), and CCSDS(128, 64) each contain frames. For CCSDS, zero observed errors are displayed as the resolution marker , with , rather than a confidence bound.
Compute. Training and the beam-64 saved-frame replay used NVIDIA H200 GPUs. Original evaluations used NVIDIA RTX A5000 GPUs, with the Polar evaluations using RTX 2080 Ti or H200 GPUs.
Polar and CCSDS decoder-comparison curves
Figure 5(a)–(b) uses BPSK-AWGN at rate 1/2, with dB. Our plain-diffusion and MBS variants share the respective code’s three-million-update EMA checkpoint. SB-ECC uses three-million-update checkpoints for both Polar and CCSDS. SB-ECC uses a solver setting of 101 steps, corresponding to at most 100 Euler updates, with syndrome-based early exit. Our conditional-diffusion decoder uses up to 128 confidence-ordered passes with parity-based early exit. For both methods, we increased the number of diffusion steps until decoding performance saturated.
We run MBS with either our neural model or BP, each providing estimates of the bitwise posterior marginals conditioned on the received word and the candidate’s revealed bits. In the BP variant, each neural-model call is replaced by 50 iterations of sum-product BP. Both variants use , , , and , with parity propagation and balanced completion steps. We use the minimum-distance decision rule in (16).
For each BP call, we initialize fresh messages from the AWGN channel LLRs and run 50 flooding sum-product iterations (Kschischang et al., 2001), updating all check-to-variable messages and then all variable-to-check messages. Check-node updates use the log-domain sum-product rule, without a min-sum approximation (Fossorier et al., 1999). Revealed bits are clamped to their assigned values and send signed infinite outgoing LLRs. Computation uses float64 arithmetic, with finite LLRs clipped to . We apply no message scaling, offset correction, or damping (scale 1, offset 0, damping 0). Polar BP operates on the common standard-form parity-check matrix, not the polar-transform factor graph.
The SCL baselines (Tal & Vardy, [26]) use list sizes 32 and 512, with frozen bits matching the parity-check matrix used in our simulations. Every Polar point stops at exactly the 100th frame error. The external CCSDS ML reference has 50 errors per point.
Polar(64,32) BER comparison
Table 2 supplies the coded-bit BER values in Figure 1. ECCT and CrossMPT values come from Table 4 of Park et al. [22]; DDECC, SB-ECC, and conditional diffusion follow Table 1.
| Code | (dB) | BP-50 | BP-200 | CrossMPT | SB-ECC | Diffusion 16 steps | MBS () Min. distance |
| LDPC(121, 70) | 4 | 4.06 | 4.26 | 4.25 | 4.62 | 4.32 | 7.48 |
| LDPC(121, 70) | 5 | 5.10 | 5.48 | 5.53 | 6.02 | 5.71 | 9.58 |
| LDPC(121, 70) | 6 | 6.34 | 6.89 | 7.11 | 7.92 | 7.47 | 12.25 |
| CCSDS(128, 64) | 4 | 5.25 | 5.59 | 5.25 | 5.77 | 5.53 | 9.24 |
| CCSDS(128, 64) | 5 | 6.78 | 7.37 | 6.94 | 7.70 | 7.46 | 12.45 |
| CCSDS(128, 64) | 6 | 8.72 | 9.64 | 8.92 | 10.08 | 9.81 | 15.94 |
Table 4. Rayleigh-fading results for AWGN-trained decoders. Entries are ; higher is better. Baselines are from Helvits & Nachmani (2026, Table 7). Bold and underline mark the best and second-best distinct values in each row at the displayed precision, with ties marked equally.
BP and Polar SCL baselines. We evaluate sum-product BP on the Tanner graph of the code’s parity-check matrix, using 5, 10, 20, or 50 iterations (Kschischang et al., 2001). CRC-free SCL uses list sizes (Tal & Vardy, [26]). It re-encodes the decoded information vector to measure BER over all 64 codeword positions. Both baselines use the same Polar(64, 32) code.
MBS and OSD reference. The updated 4 dB diffusion and MBS estimates use the same 177,664 frames, with 5,134 and 4,120 bit errors, respectively. The MBS result in Figure 1 uses least-confident branching with beam size 64 and has 502 frame errors, giving , which rounds to 7.92. The decoder settings and saved-frame replay protocol are given above. OSD-3 perturbs the hard decisions on a most-reliable information set in up to three positions, re-encodes each candidate, and selects the codeword with minimum Euclidean distance to the received word (Fossorier & Lin, 1995). Its BER estimate uses 8,776 coded-bit errors over 400,000 frames at 4 dB.
| Decoder | |
| BP-5 | 3.53 |
| BP-10 | 3.80 |
| BP-20 | 4.00 |
| BP-50 | 4.29 |
| SCL-1 | 3.81 |
| SCL-4 | 5.88 |
| SCL-8 | 6.87 |
| SCL-16 | 7.56 |
| SCL-32 | 7.83 |
| SCL-64 | 7.92 |
| ECCT | 6.99 |
| CrossMPT | 7.50 |
| DDECC | 7.03 |
| SB-ECC | 7.77 |
| Diffusion | 7.70 |
| MBS () | 7.92 |
| OSD-3 estimate | 7.98 |
Table 2. Coded-bit BER for Polar(64, 32) at 4 dB, as shown in Figure 1. Values are ; higher is better.
Longer-Code Results
This appendix evaluates decoding performance for two longer LDPC codes over BPSK–AWGN at 4 and 5 dB. The models use the training and simulation protocol in Appendix § 12.§ 2. We report . MBS yields the strongest point estimates across the reported SNRs. Diffusion is slightly above SB-ECC for LDPC(204, 102) at 4 dB and below it in the other three comparisons. We did not evaluate at 6 dB, as the low error rates already observed at 5 dB would require substantially longer Monte Carlo simulations to obtain reliable estimates at the higher SNR.
Generalization to Rayleigh Fading
Generalization to Rayleigh fading
Following the channel setting in Helvits & Nachmani (2026, Section 7.4 and Table 7), we consider
The fading amplitudes are independent across coordinates, so this is a memoryless fading channel. We use ; the scale-one Rayleigh distribution has . The receiver is given the channel observations without the fading amplitudes.
We evaluate AWGN-trained three-million-update EMA checkpoints without fine-tuning, using 16 confidence-balanced diffusion steps and MBS with maximum beam width . The stopping target is 100 MBS frame errors or frames. At CCSDS(128, 64) and 6 dB, search finished at the -frame cap with 1,535 bit errors and 61 frame errors, below the 100-error target.
Table 4 compares these results with BP-50, BP-200, CrossMPT, and SB-ECC values from Helvits & Nachmani (2026, Table 7). MBS has lower observed BER than diffusion at all six displayed points, and the strongest BER point estimates among the displayed methods. The published baselines use separate evaluations, and the comparison does not control for code construction or SNR normalization across implementations. These values therefore provide a cross-study reference.
Beam Size, Computational Complexity, and Latency
Effect of the maximum beam size
We evaluate MBS with beam sizes on CCSDS(128, 64) and Polar(128, 64) over BPSK-AWGN at and 4 dB, with , , and . We estimate runtime using one initial forward pass, completion calls per attempt, and one branching call between attempts. For a frame with completion attempts, let ; its estimated runtime is
with empty sums equal to zero. Here is the measured RTX A5000 time for one forward pass with candidates, linearly interpolated in batch size between measurements at . The table gives the mean latency estimates over 100,000 frames at 4 dB and the full samples at 2.5 dB. This approximation uses nominal beam growth and calls per probe; it excludes parity-pruning width reductions, early probe termination, and decoder overhead.
| Code | (dB) | Est. mean (ms) | ||
| CCSDS(128, 64) | 2.5 | 64 | 5.24 | 62.2 |
| CCSDS(128, 64) | 2.5 | 128 | 5.50 | 75.0 |
| CCSDS(128, 64) | 2.5 | 2048 | 6.43 | 140.5 |
| Polar(128, 64) | 2.5 | 64 | 4.87 | 49.4 |
| Polar(128, 64) | 2.5 | 128 | 4.93 | 51.1 |
| Polar(128, 64) | 2.5 | 2048 | 5.00 | 55.5 |
| CCSDS(128, 64) | 4 | 64 | 11.21 | 7.5 |
| CCSDS(128, 64) | 4 | 128 | 11.77 | 7.5 |
| CCSDS(128, 64) | 4 | 2048 | 13.10 | 7.6 |
| Polar(128, 64) | 4 | 64 | 9.31 | 10.7 |
| Polar(128, 64) | 4 | 128 | 9.37 | 10.7 |
| Polar(128, 64) | 4 | 2048 | 9.41 | 10.7 |
Table 5.
For the BER column, all beam sizes use the same evaluation frames: at 2.5 dB, 14,720 frames for CCSDS and 11,008 for Polar; at 4 dB, 7,395,328 frames for CCSDS and 409,856 for Polar.
Table 5 reports mean beam usage and its 99th, 99.9th, 99.99th, and 100th percentiles as a function of the maximum beam size for CCSDS(128, 64) at and 4 dB. An initial greedy exit counts as one; P100 denotes the observed maximum.
| Maximum beam size | \multicolumn{5}{c}{ dB } | \multicolumn{5}{c}{ dB } | ||||||||
| Mean | P99 | P99.9 | P99.99 | P100 | Mean | P99 | P99.9 | P99.99 | P100 | |
| 1 | 1.0000 | 1 | 1 | 1 | 1 | 1.0000 | 1 | 1 | 1 | 1 |
| 2 | 1.3445 | 2 | 2 | 2 | 2 | 1.0146 | 2 | 2 | 2 | 2 |
| 4 | 2.0335 | 4 | 4 | 4 | 4 | 1.0438 | 4 | 4 | 4 | 4 |
| 8 | 3.4115 | 8 | 8 | 8 | 8 | 1.1023 | 8 | 8 | 8 | 8 |
| 16 | 6.1675 | 16 | 16 | 16 | 16 | 1.2192 | 16 | 16 | 16 | 16 |
| 32 | 11.6794 | 32 | 32 | 32 | 32 | 1.4530 | 32 | 32 | 32 | 32 |
| 64 | 13.1968 | 64 | 64 | 64 | 64 | 1.4599 | 32 | 32 | 64 | 64 |
| 128 | 15.3838 | 128 | 128 | 128 | 128 | 1.4667 | 32 | 32 | 128 | 128 |
| 256 | 18.5316 | 256 | 256 | 256 | 256 | 1.4742 | 32 | 32 | 128 | 256 |
| 512 | 23.1229 | 512 | 512 | 512 | 512 | 1.4828 | 32 | 32 | 128 | 512 |
| 1024 | 29.4881 | 1024 | 1024 | 1024 | 1024 | 1.4922 | 32 | 32 | 128 | 1024 |
| 2048 | 37.6968 | 1024 | 2048 | 2048 | 2048 | 1.5014 | 32 | 32 | 128 | 2048 |
Table 5 (PDF p. 20). Mean beam usage and empirical percentiles P99, P99.9, P99.99, and P100 for CCSDS(128, 64), computed from MBS capped at over 14,720 frames at 2.5 dB and 6,215,168 frames at 4 dB.
Computational complexity and latency comparison
For neural decoders, counts sequential forward calls, including all branching and completion queries; a batch of candidates counts as one call. The number of branching rounds alone does not capture repeated completion attempts, as each completion attempt uses steps.
Histogram-based time estimates. For each decoder, we estimate mean latency by averaging over 1,000 simulated frames whose forward-call counts follow the frequencies in the stopping-time histogram, including the full MBS tail. With a per-call latency , this gives . Using forward-pass timings measured on an NVIDIA RTX A5000 GPU, the estimated mean latencies for MBS and SB-ECC are 47.03 and 40.01 ms at 2.5 dB, respectively, and 9.30 and 25.01 ms at 4 dB.
Extended Related Work
Neural decoders. The central line of neural error-correcting code (ECC) decoding consists of iterative, parity-aware methods. Learned BP decoders explicitly unroll Tanner-graph message passing while training message weights or update rules [21, 20]. The Error Correction Code Transformer (ECCT) and Cross-Attention Message-Passing Transformer (CrossMPT) likewise retain the parity-check structure while replacing BP updates with learned Transformer updates [15, 17, 22]. Neural polar decoders (NPDs) offer an example of a learned decoder augmented with list decoding, and were proven to be effective in various scenarios [2] (Hirsch et al. 2026). However, their sequential nature limits parallelism and increases latency, motivating our search for a parallelizable guessing mechanism that can be applied to a broad range of codes.
Decimation and beam-search decoders. Buchberger et al. [9] combine least-reliable-bit branching with learned decimation to enhance neural BP for classical LDPC codes. For quantum LDPC codes, Ye et al. [30] use BP-guided branching and reliability-based beam pruning, while Aydin et al. [6] use cumulative BP iterations as a confidence measure for post-selection. Our connection to conditional diffusion conservation laws links the decoder to the Maxwell construction [18] and motivates its branching and path pruning: learned posterior marginals guide branching, accumulated reverse-transition log probabilities rank paths, and parity constraints eliminate infeasible candidates.
Diffusion-based ECC decoders. Denoising Diffusion Error Correction Codes (DDECC) and the Score-Based Error-Correcting Code decoder (SB-ECC) are recent diffusion-based neural decoders that have achieved competitive performance across a variety of codes [16] (Helvits & Nachmani 2026). Both model decoding as the reversal of channel noise and assume a Gaussian channel. ECCFM uses soft-syndrome-conditioned consistency training to enable one-step decoding (Lei et al., 2026). CIDER applies masked diffusion to joint multiuser decoding (Lee et al., 2026), whereas we study single-codeword decoding with MBS. Masked diffusion has also been used to infer logical errors from syndrome measurements in quantum LDPC codes (Liu et al., 2025). Our conditional formulation separates physical-channel noise from the auxiliary diffusion process, allowing us to choose masking noise and construct a beam decoder.
EXIT, GEXIT, and conservation laws. Extrinsic information transfer (EXIT) charts were developed to analyze the behavior of iterative decoders through their extrinsic-information transfer curves, whose area properties connect decoding behavior to code rate (ten Brink, 2001; Ashikhmin et al., 2002). Generalized EXIT (GEXIT) functions and coding conservation laws extend this analysis to more general channel families [19] (Measson 2006). Recently, these conservation laws were extended to diffusion models under posterior mismatch: the data–model cross-entropy, or expected negative log-likelihood, is characterized by an integral along the noise path whose local terms depend on marginal bitwise posteriors [1].
Masked diffusion and search. Discrete diffusion with an absorbing mask state was studied by Austin et al. [5], and later work showed that its training objective reduces to a weighted masked cross-entropy [24, 25]. Confidence-based parallel masked prediction also appears in Mask-Predict and MaskGIT [12] (Ghazvininejad et al. 2019). We use the same masking process, but condition it on a fixed physical observation and interpret its loss through coding conservation laws. Search over diffusion trajectories has been explored for generation [10] (Jain et al. 2025); our decoder instead exploits hard parity constraints to prune candidates. The beam construction is also related to reliability-based decoders such as Chase decoding [13] and ordered-statistics decoding (Fossorier & Lin, 1995), which perturb hard decisions according to fixed channel reliabilities. GRAND and ORBGRAND decode by testing noise patterns ordered by likelihood or channel reliability (Duffy et al., 2019; 2022).
References
- [1]Ziv Aharoni and Henry D. Pfister. Conservation laws for diffusion models, 2026. URL https://arxiv.org/abs/2607.10067. arXiv:2607.10067.
- [2]Ziv Aharoni, Bashar Jluheileh, Henry D. Pfister, and Haim H. Permuter. Data-driven neural polar decoders for unknown channels with and without memory. IEEE Transactions on Information Theory, 70(12):8495–8510, December 2024. doi: 10.1109/TIT.2024.3476681.DOI
- [5]Jacob Austin, Daniel D. Johnson, Jonathan Ho, Daniel Tarlow, and Rianne van den Berg. Structured denoising diffusion models in discrete state-spaces. In Advances in Neural Information Processing Systems, volume 34, pp. 17981–17993. Curran Associates, Inc., 2021. URL https://proceedings.neurips.cc/paper/2021/hash/958c530554f78bcd8e97125b70e6973d-Abstract.html.arxiv.org/abs/2107.03006
- [6]Arda Aydin, Edwin Tham, Nicolas Delfosse, and Min Ye. Soft decoding for quantum LDPC codes with experimental validation, 2026. URL https://arxiv.org/abs/2609.26958. arXiv:2609.26958.
- [7]Elwyn R. Berlekamp, Robert J. McEliece, and Henk C. A. van Tilborg. On the inherent intractability of certain coding problems. IEEE Transactions on Information Theory, 24(3):384–386, 1978. doi: 10.1109/TIT.1978.1055873.DOI
- [8]R. C. Bose and D. K. Ray-Chaudhuri. On a class of error correcting binary group codes. Information and Control, 3(1):68–79, 1960. doi: 10.1016/S0019-9958(60)90287-7.DOI
- [9]Andreas Buchberger, Christian Häger, Henry D. Pfister, Laurent Schmalen, and Alexandre Graell i Amat. Learned decimation for neural belief propagation decoders: Invited paper. In 2021 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pp. 8273–8277. IEEE, 2021. doi: 10.1109/ICASSP39728.2021.9414407.DOI
- [10]Mingyu Cao, Alvaro Correia, Christos Louizos, Shiwei Liu, and Lu Yin. Search or accelerate: confidence-switched position beam search for diffusion language models. In Proceedings of the 43rd International Conference on Machine Learning, volume 306 of Proceedings of Machine Learning Research, pp. 11141–11157. PMLR, 2026. URL https://proceedings.mlr.press/v306/cao26d.html.
- [11]CCSDS. Short block length LDPC codes for TC synchronization and channel coding. Experimental Specification CCSDS 231.1-O-1, Consultative Committee for Space Data Systems, April 2015. URL https://ccsds.org/Pubs/231x1o1s.pdf.
- [12]Huiwen Chang, Han Zhang, Lu Jiang, Ce Liu, and William T. Freeman. MaskGIT: masked generative image transformer. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 11315–11325, 2022. URL https://openaccess.thecvf.com/content/CVPR2022/html/Chang_MaskGIT_Masked_Generative_Image_Transformer_CVPR_2022_paper.html.arxiv.org/abs/2202.04200
- [13]D. Chase. A class of algorithms for decoding block codes with channel measurement information. IEEE Transactions on Information Theory, 18(1):170–182, 1972. doi: 10.1109/TIT.1972.1054746.DOI
- [14]Sitan Chen, Kevin Cong, and Jerry Li. Optimal inference schedules for masked diffusion models, 2025. URL https://arxiv.org/abs/2511.04647.
- [15]Yoni Choukroun and Lior Wolf. Error correction code transformer. In Advances in Neural Information Processing Systems, volume 35, pp. 38695–38705. Curran Associates, Inc., 2022. doi: 10.52202/068431-2804. URL https://proceedings.neurips.cc/paper_files/paper/2022/hash/fcd3909db30887ce1da519c4468db668-Abstract-Conference.html.DOI
- [16]Yoni Choukroun and Lior Wolf. Denoising diffusion error correction codes. In International Conference on Learning Representations, 2023. URL https://openreview.net/forum?id=rLwCO_MG-4w.arxiv.org/abs/2209.13533
- [17]Yoni Choukroun and Lior Wolf. A foundation model for error correction codes. In International Conference on Learning Representations, 2024. URL https://proceedings.iclr.cc/paper_files/paper/2024/file/ 093b793f0af498e8fa218eb5445daeb0-Paper-Conference.pdf.
- [18]Cyril Méasson, Andrea Montanari, and Rüdiger Urbanke. Maxwell construction: the hidden bridge between iterative and maximum a posteriori decoding. IEEE Transactions on Information Theory, 54(12):5277–5307, December 2008. doi: 10.1109/TIT.2008.2006466.
- [19]Cyril Méasson, Andrea Montanari, Thomas J. Richardson, and Rüdiger Urbanke. The generalized area theorem and some of its consequences. IEEE Transactions on Information Theory, 55(11):4793–4821, November 2009. doi: 10.1109/TIT.2009.2030457.DOI
- [20]Eliya Nachmani and Lior Wolf. Autoregressive belief propagation for decoding block codes, 2021. URL https://arxiv.org/abs/2103.11780. arXiv:2103.11780.
- [21]Eliya Nachmani, Yair Be’ery, and David Burshtein. Learning to decode linear codes using deep learning. In 2016 54th Annual Allerton Conference on Communication, Control, and Computing (Allerton), pp. 341–346, September 2016. doi: 10.1109/ALLERTON.2016.7852251. URL https://ieeexplore.ieee.org/abstract/document/7852251.DOI
- [22]Seong-Joon Park, Hee-Youl Kwak, Sang-Hyo Kim, Yongjune Kim, and Jong-Seon No. CrossMPT: cross-attention message-passing transformer for error correcting codes. In International Conference on Learning Representations, 2025. URL https://proceedings.iclr.cc/paper_files/paper/2025/file/8f0942c43fcfba4cc66a859b9fcb1bba-Paper-Conference.pdf.arxiv.org/abs/2405.01033
- [23]Tom Richardson and Rüdiger Urbanke. Modern coding theory. Cambridge University Press, March 2008. doi: 10.1017/CBO9780511791338.DOI
- [24]Subham Sekhar Sahoo, Marianne Arriola, Yair Schiff, Aaron Gokaslan, Edgar Marroquin, Justin T. Chiu, Alexander Rush, and Volodymyr Kuleshov. Simple and effective masked diffusion language models. In Advances in Neural Information Processing Systems, volume 37, pp. 130136–130184. Curran Associates, Inc., 2024. doi: 10.52202/079017-4135. URL https://proceedings.neurips.cc/paper_files/paper/2024/hash/eb0b13cc515724ab8015bc978fdde0ad-Abstract-Conference.html.
- [25]Jiaxin Shi, Kehang Han, Zhe Wang, Arnaud Doucet, and Michalis K. Titsias. Simplified and generalized masked diffusion for discrete data. In Advances in Neural Information Processing Systems, volume 37, pp. 103131–103167. Curran Associates, Inc., 2024. doi: 10.52202/079017-3277. URL https://proceedings.neurips.cc/paper_files/paper/2024/hash/bad233b9849f019aead5e5cc60cef70f-Abstract-Conference.html.DOI
- [26]Ido Tal and Alexander Vardy. List decoding of polar codes. IEEE Transactions on Information Theory, 61(5):2213–2226, May 2015. doi: 10.1109/TIT.2015.2420151.
- [28]Satosi Watanabe. Information theoretical analysis of multivariate correlation. IBM Journal of Research and Development, 4(1):66–82, 1960. doi: 10.1147/rd.41.0066.DOI
- [29]Chuling Wen, Weijie Liang, and Jian Lu. Conditional total correlation and the serial depth of adaptive parallel sampling, 2026. URL https://arxiv.org/abs/2608.25505.
- [30]Min Ye, Dave Wecker, and Nicolas Delfosse. Beam search decoder for quantum low-density parity-check codes. PRX Quantum, 7(3):033002, July 2026. doi: 10.1103/6k5x-ztqt.DOI
- [31]Jonathan S. Yedidia, William T. Freeman, and Yair Weiss. Constructing free-energy approximations and generalized belief propagation algorithms. IEEE Transactions on Information Theory, 51(7):2282–2312, July 2005. doi: 10.1109/TIT.2005.850085.DOI