betaFeedback

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.

Image not extracted

Figure 2. Conditional masking-diffusion decoding. The observation RR remains fixed while an auxiliary process masks XX; the decoder reverses masking to estimate X^\hat{X}.

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(64,32)(64,32) at 4 dB.

Image not extracted

Figure 1. Comparison of −ln⁡(BER)-\ln(\mathrm{BER}) on Polar(64,32)(64,32) 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 C\mathcal{C}. The code is specified by a generator matrix G∈{0,1}n×kG \in\{0,1\}^{n \times k} and a parity-check matrix H∈{0,1}r×nH \in\{0,1\}^{r \times n} such that HG=0r×kHG = 0_{r \times k} over F2\mathbb{F}_2 [23]. The symbol 0r×k0_{r \times k} denotes an all-zero matrix of the indicated dimensions. For an (n,k)(n,k) code, rank⁡(H)=n−k\operatorname{rank}(H)=n-k and the number rr of listed parity checks satisfies r≥n−kr \ge n-k, with equality when the checks are linearly independent. Given a message m∈{0,1}km \in\{0,1\}^{k}, the encoder produces the length-nn codeword

x=Gm∈C⊆{0,1}n,Hx=0,(1)x = Gm \in\mathcal{C} \subseteq\{0,1\}^{n}, \qquad Hx = 0, \tag*{(1)}

and the code rate is k/nk/n. For transmission, we map the codeword to its binary phase-shift-keying (BPSK) representation xs=1−2x∈{±1}nx_{\mathrm{s}} = 1 - 2x \in\{\pm1\}^{n}. We use uppercase XX for the random transmitted codeword and lowercase xx 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 RR, which remains fixed and conditions every decoding decision. The auxiliary channel instead governs the evolving state Y(t)Y(t) and serves as an internal mechanism for taking decisions about the transmitted codeword.

Physical observation. The physical channel is described by the conditional distribution PR∣X(r∣x)P_{R \mid X}(r \mid x), from a transmitted codeword x∈Cx \in\mathcal{C} to a received observation RR. This distribution is set by the communication medium. The realization R=rR=r 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 W={Wt}t∈T\mathcal{W} = \{W_t\}_{t \in\mathcal{T}}, where T⊆R≥0\mathcal{T} \subseteq\mathbb{R}_{\ge0} 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 tt, every coordinate is passed through the same scalar channel. Thus Y(t)=(Y1(t),…,Yn(t))Y(t) = (Y_1(t), \ldots, Y_n(t)) has conditional distribution

Wt⊗n(y∣x)=∏i=1nWt(yi∣xi),t∈T.(2)W_t^{\otimes n}(y \mid x) = \prod_{i=1}^{n} W_t(y_i \mid x_i), \qquad t \in\mathcal{T}. \tag*{(2)}

We assume that W\mathcal{W} is degraded: for every t′>tt' > t, there is a channel Qt,t′(y∣y~)Q_{t,t'}(y \mid\widetilde{y}) on the auxiliary output alphabet Y\mathcal{Y} satisfying

Wt′(y∣x)=∑y~∈YWt(y~∣x)Qt,t′(y∣y~).W_{t'}(y \mid x) = \sum_{\widetilde{y}\in\mathcal{Y}} W_t(\widetilde{y} \mid x)Q_{t,t'}(y \mid\widetilde{y}).

Assume that T\mathcal{T} has a clean endpoint tclnt^{\mathrm{cln}} and an uninformative endpoint tindt^{\mathrm{ind}}, for which Y(tcln)=XY(t^{\mathrm{cln}}) = X almost surely and Y(tind)⊥XY(t^{\mathrm{ind}}) \perp X. For example, for masking noise with mask probability t∈[0,1]t \in[0,1], the clean endpoint is tcln=0t^{\mathrm{cln}} = 0, where Y(0)=XY(0) = X, and the uninformative endpoint is tind=1t^{\mathrm{ind}} = 1, where Y(1)=∗nY(1) = *^n is the all-erasure word. The scalar parameter tt 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 XX, coupling Y(t′)Y(t') to Y(t)Y(t) through the degradation channel yields the Markov chain

R⟷X⟷Y(t)⟷Y(t′),t′>t.(3)R \longleftrightarrow X \longleftrightarrow Y(t) \longleftrightarrow Y(t'), \qquad t' > t. \tag*{(3)}

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 XX and its masked version Y(t)Y(t), formed by independently replacing each bit with the erasure symbol ∗* with probability t∈[0,1]t \in[0,1]. Let Y−i(t)Y_{-i}(t) denote all coordinates of Y(t)Y(t) except the iith. The area theorem of Méasson et al. [19] expresses the entropy of XX 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 RR held fixed as side information, the derivative of H(X∣Y(t),R)H(X \mid Y(t), R) decomposes into bitwise conditional entropies:

ddtH(X∣Y(t),R)=∑i=1nH(Xi∣Y−i(t),R).(4)\frac{d}{dt}H(X \mid Y(t),R) = \sum_{i=1}^{n} H(X_i \mid Y_{-i}(t),R). \tag*{(4)}

By the fundamental theorem of calculus, integrating from t=0t = 0 to t=1t = 1 connects the local bitwise conditional entropies to the global conditional entropy H(X∣R)H(X \mid R):

H(X∣Y(1),R)−H(X∣Y(0),R)=∫01∑i=1nH(Xi∣Y−i(t),R) dt,(5)H(X \mid Y(1),R) - H(X \mid Y(0),R) = \int_{0}^{1}\sum_{i=1}^{n} H(X_i \mid Y_{-i}(t),R)\,dt, \tag*{(5)}

which equals H(X∣R)H(X \mid R).

We establish a conditional conservation law for mismatched cross-entropy, extending the unconditional result of Aharoni & Pfister [1] to include the physical-channel observation RR as side information. Let PXP_X and QXQ_X be the true and model distributions on codewords. The joint laws PX,R=PXPR∣XP_{X,R} = P_XP_{R\mid X} and QX,R=QXPR∣XQ_{X,R} = Q_XP_{R\mid X} use the same physical channel and induce the posteriors PX∣RP_{X\mid R} and QX∣RQ_{X\mid R}, respectively. Pass both laws of XX through the same masking channel WtW_t, with the auxiliary randomness conditionally independent of RR given XX, so that both satisfy the Markov relation in (3). Denote by QXi∣Y−i(t),RQ_{X_i\mid Y_{-i}(t),R} the resulting model posterior of bit ii given RR and the unmasked coordinates. Define

CP,Q(t):=∑i=1nCE⁡(PXi∣Y−i(t),R,QXi∣Y−i(t),R),(6)\mathcal{C}_{P,Q}(t) := \sum_{i=1}^{n} \operatorname{CE}\left(P_{X_i\mid Y_{-i}(t),R},Q_{X_i\mid Y_{-i}(t),R}\right), \tag*{(6)}

where CE⁡(PX∣R,QX∣R):=−E(X,R)∼PX,R[log⁡QX∣R(X∣R)]\operatorname{CE}(P_{X\mid R},Q_{X\mid R}) := -\mathbb{E}_{(X,R)\sim P_{X,R}}[\log Q_{X\mid R}(X\mid R)] is the conditional cross-entropy. Our conditional conservation law states that

CE⁡(PX∣R,QX∣R)=∫01CP,Q(t) dt.(7)\operatorname{CE}(P_{X\mid R},Q_{X\mid R}) = \int_{0}^{1} C_{P,Q}(t)\,\mathrm{d}t. \tag*{(7)}

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 RR from an AWGN channel at Eb/N0=4E_b/N_0 = 4 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 tt decreases, its prediction loss becomes negligible near t≈0.25t \approx0.25, compared with t≈0.5t \approx0.5 for CCSDS. Thus, Polar requires more coordinates to be revealed before the remaining bits become predictable. This motivates our MBS in § 4.3.2.

Image not extracted

Figure 3. Conditional cross-entropy CP,Q(t)C_{P,Q}(t) under masked diffusion for Polar(128, 64) and CCSDS(128, 64) with AWGN side information at Eb/N0=4E_b/N_0 = 4 dB.

Learning posterior marginals

We model the posterior marginals QXi∣Y(t),RQ_{X_i\mid Y(t),R} using a neural network. The conservation law requires that PP and QQ be compatible with the same auxiliary channel WtW_t: both posterior families must be induced by passing their respective codeword distributions through Wt⊗nW_t^{\otimes n}. In particular, their marginals must obey the following Bayes factorization for all ii and tt:

QXi∣Y(t),R(xi∣y,r)=QXi∣Y−i(t),R(xi∣y−i,r)Wt(yi∣xi)∑x′QXi∣Y−i(t),R(x′∣y−i,r)Wt(yi∣x′).(8)Q_{X_i\mid Y(t),R}(x_i\mid y,r) = \frac{Q_{X_i\mid Y_{-i}(t),R}(x_i\mid y_{-i},r)W_t(y_i\mid x_i)} {\sum_{x'} Q_{X_i\mid Y_{-i}(t),R}(x'\mid y_{-i},r)W_t(y_i\mid x')}. \tag*{(8)}

For the masking channel WtW_t, this becomes:

QXi∣Y(t),R(xi∣y,r)={QXi∣Y−i(t),R(xi∣y−i,r),yi=∗,1{xi=yi},yi∈{0,1}.(9)Q_{X_i\mid Y(t),R}(x_i\mid y,r) = \begin{cases} Q_{X_i\mid Y_{-i}(t),R}(x_i\mid y_{-i},r), & y_i = *,\\ \mathbf{1}\{x_i = y_i\}, & y_i \in\{0,1\}. \end{cases} \tag*{(9)}

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, (X,R)∼PXPR∣X(X,R) \sim P_XP_{R\mid X}. After observing R=rR=r, we hold this realization fixed. We then sample a mask probability t∼Unif⁡(0,1)t \sim\operatorname{Unif}(0,1) and generate only the auxiliary state Y(t)∼Wt⊗n(⋅∣X)Y(t) \sim W_t^{\otimes n}(\cdot\mid X). We train the network to minimize the average cross-entropy over masked bits

L=Et∼Unif⁡(0,1),X∼PXR∼PR∣X,Y(t)∼Wt⊗n[−1∣M∣∑i∈Mlog⁡QXi∣Y−i(t),R(Xi∣Y−i(t),R)],(10)\mathcal{L} = \mathbb{E}_{\substack{t\sim\operatorname{Unif}(0,1),\,X\sim P_X\\R\sim P_{R\mid X},\,Y(t)\sim W_t^{\otimes n}}} \left[ -\frac{1}{|\mathcal{M}|}\sum_{i\in\mathcal{M}} \log Q_{X_i\mid Y_{-i}(t),R}(X_i\mid Y_{-i}(t),R) \right], \tag*{(10)}

where M={i:Yi(t)=∗}\mathcal{M}=\{i:Y_i(t)=*\} with the requirement that ∣M∣≥1|\mathcal{M}|\ge1.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 bK,…,b1b_K,\ldots,b_1 to reveal at each of KK steps, with ∑k=1Kbk=n\sum_{k=1}^{K} b_k=n. 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 y~(K)=∗n\widetilde{y}^{(K)} = {*}^n and keeps the physical observation R=rR = r fixed. At step kk, the current word is y~(k)\widetilde{y}^{(k)} and the noise level t(k)=(bK+⋯+b1)/nt^{(k)} = (b_K + \cdots+ b_1)/n is the fraction of bits still masked. One forward pass evaluates the posterior marginals in (9) for this state. For each bit ii, we compute the predicted log-likelihood ratio (LLR)

λi(k)=log⁡QXi∣Y(t(k)),R(1∣y~(k),r)QXi∣Y(t(k)),R(0∣y~(k),r)(11)\lambda_i^{(k)} = \log\frac{Q_{X_i\mid Y(t^{(k)}),R}(1\mid\widetilde{y}^{(k)},r)}{Q_{X_i\mid Y(t^{(k)}),R}(0\mid\widetilde{y}^{(k)},r)} \tag*{(11)}

and ∣λi(k)∣|\lambda_i^{(k)}| measures confidence.

Algorithm 1Confidence-scheduled decoding
Require:rr, parity-check matrix HH, counts (bK,…,b1)(b_K,\ldots,b_1) with ∑kbk=n\sum_k b_k=n
1:y~(K)←∗n\widetilde{y}^{(K)} \leftarrow{*}^n
2:for k=K,K−1,…,1k=K,K-1,\ldots,1 do
3:t(k)←t^{(k)} \leftarrow current masked fraction
4:Compute λi(k)\lambda_i^{(k)} with (11)
5:x^i←1{λi(k)≥0}\widehat{x}_i \leftarrow1\{\lambda_i^{(k)}\geq0\}, i=1,…,ni=1,\ldots,n
6:if Hx^=0H\widehat{x}=0 over F2\mathbb{F}_2 then return x^\widehat{x}
7:Gk←bkG_k \leftarrow b_k masked indices with largest ∣λi(k)∣|\lambda_i^{(k)}|
8:y~i(k−1)←1{λi(k)≥0}\widetilde{y}_i^{(k-1)} \leftarrow1\{\lambda_i^{(k)}\geq0\} for i∈Gki\in G_k
9:end for
10:return x^=y~(0)\widehat{x}=\widetilde{y}^{(0)}

Table 1.

After each forward pass, we form the early hard estimate x^i=1{λi(k)≥0}\widehat{x}_i = 1\{\lambda_i^{(k)} \geq0\} for every ii. If Hx^=0H\widehat{x}=0 over F2\mathbb{F}_2, we return x^\widehat{x} immediately. Otherwise, we continue with the scheduled reveal step. We select the bkb_k still-masked positions with the largest ∣λi(k)∣|\lambda_i^{(k)}| to form GkG_k, then reveal them using the LLR hard decision induced by the marginal backward kernel

QY~i(k−1)∣Y~(k),R(y~i(k−1)∣y~(k),r)={QXi∣Y(t(k)),R(y~i(k−1)∣y~(k),r),i∈Gk,1{y~i(k−1)=y~i(k)},i∉Gk.(12)Q_{\widetilde{Y}_i^{(k-1)}\mid\widetilde{Y}^{(k)},R}\left(\widetilde{y}_i^{(k-1)}\mid\widetilde{y}^{(k)},r\right) = \begin{cases} Q_{X_i\mid Y(t^{(k)}),R}\left(\widetilde{y}_i^{(k-1)}\mid\widetilde{y}^{(k)},r\right), & i\in G_k,\\ 1\{\widetilde{y}_i^{(k-1)}=\widetilde{y}_i^{(k)}\}, & i\notin G_k. \end{cases} \tag*{(12)}

For i∈Gki\in G_k, the new value is y~i(k−1)=1{λi(k)≥0}\widetilde{y}_i^{(k-1)}=1\{\lambda_i^{(k)}\geq0\}; every other coordinate keeps its current value. If no early exit occurs, after KK steps all bits are revealed and the noise level has decreased from t(K)=1t^{(K)}=1 to t(0)=0t^{(0)}=0. 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 RR 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 rr, parity-check matrix HH, beam width LL, a maximum of KBK_B branching rounds, an initial branching depth d0d_0, and a completion budget of KCK_C steps per attempt. We require 1≤d0≤KB1\leq d_0\leq K_B and 2d0≤L2^{d_0}\leq L. The beam contains a list of candidate–score tuples and is initialized as BKB={(∗n,0)}\mathcal{B}_{K_B}=\{(\ast^n,0)\}, consisting of one all-erasure word with path score zero. At step kk, the beam contains Lk=∣Bk∣≤LL_k=\lvert\mathcal{B}_k\rvert\leq L candidates (y~ℓ(k),sℓ(k))(\widetilde{y}^{(k)}_\ell,s^{(k)}_\ell), indexed by ℓ=1,…,Lk\ell=1,\ldots,L_k. Evaluating the beam Bk\mathcal{B}_k gives the LLRs {λℓ,i(k)}\{\lambda_{\ell,i}^{(k)}\}, for ℓ=1,…,Lk\ell=1,\ldots,L_k and i=1,…,ni=1,\ldots,n, where λℓ,i(k)\lambda_{\ell,i}^{(k)} is defined by (11). Initially, LKB=1L_{K_B}=1 and t1(KB)=1t_1^{(K_B)}=1.

Greedy exit. The first completion attempt uses the prediction from the all-erasure state and rr. Using these predicted LLRs, it forms the greedy word

xigr=1{λ1,i(KB)≥0},i=1,…,n.(13)x_i^{\mathrm{gr}}=1\{\lambda_{1,i}^{(K_B)}\geq0\},\qquad i=1,\ldots,n. \tag*{(13)}

If Hxgr=0Hx^{\mathrm{gr}}=0, it returns this word immediately. Otherwise, it invokes the branching mechanism below.

Initial branching. If this initial attempt fails, the decoder performs d0d_0 sequential binary branching rounds. Each round recomputes the predictions. For each candidate ℓ\ell, let iℓ,k=arg min⁡i:y~ℓ,i(k)=∗ ∣λℓ,i(k)∣i_{\ell,k}=\underset{i:\widetilde{y}_{\ell,i}^{(k)}=\ast}{\operatorname{arg\,min}}\ |\lambda_{\ell,i}^{(k)}| be its least-confident masked position and y~ℓ,k,ℓ←b(k−1)\widetilde{y}_{\ell,k,\ell\gets b}^{(k-1)} the child obtained from y~ℓ(k)\widetilde{y}_{\ell}^{(k)} by assigning b∈{0,1}b\in\{0,1\} at that position. Parity propagation Prop⁡H\operatorname{Prop}_H 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 y~ℓ,b(k−1):=Prop⁡H(y~ℓ,iℓ,k←b(k−1))\widetilde{y}^{(k-1)}_{\ell,b} := \operatorname{Prop}_{H}\left(\widetilde{y}^{(k-1)}_{\ell,i_{\ell,k}\leftarrow b}\right). Its score is computed using only the assigned bit bb, with no contribution from parity-forced bits3:

Image not extracted

Figure 4. MBS (L=2L = 2) completion and retry. All candidates undergo diffusion completion (Algorithm 1) and parity checking. If any passes, D\mathcal{D} returns the valid candidate closest to rr. 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.

sℓ,b(k−1)=sℓ(k)+log⁡QYiℓ,k(k−1)∣Y~(k),R(b∣y~ℓ(k),r),b∈{0,1}.(14)s^{(k-1)}_{\ell,b} = s^{(k)}_{\ell} + \log Q_{Y_{i_{\ell,k}}^{(k-1)}\mid\widetilde{Y}^{(k)},R}\left(b \mid\widetilde{y}^{(k)}_{\ell}, r\right), \qquad b \in\{0,1\}. \tag*{(14)}

The surviving propagated children y~ℓ,b(k−1)\widetilde{y}^{(k-1)}_{\ell,b}, together with their scores sℓ,b(k−1)s^{(k-1)}_{\ell,b}, form the next beam Bk−1B_{k-1}. Fully revealed parents are carried over unchanged.

Main loop. At each iteration, the decoder saves the current beam BkB_k and runs conditional diffusion on all its candidates for up to KCK_C completion steps. At each step, it checks the hard-decision estimates using the early-exit rule of Algorithm 1. Let Bk′B'_k denote the completed candidates obtained from BkB_k at that completion attempt. If at least one candidate in Bk′B'_k is a valid codeword, the decoder returns one using Ddist\mathcal{D}_{\mathrm{dist}} in (16).

During diffusion completion, we accumulate each candidate’s score, initialized at s=sℓ(k)s = s^{(k)}_{\ell}, over the completion steps as

s←s+∑i∈Glog⁡max⁡b∈{0,1}QXi∣Y(t),R(b∣y~,r),(15)s \leftarrow s + \sum_{i \in\mathcal{G}} \log\max_{b \in\{0,1\}} Q_{X_i \mid Y^{(t)},R}(b \mid\widetilde{y}, r), \tag*{(15)}

Here y~\widetilde{y} is the current completion state, tt its masked fraction, and G\mathcal{G} the positions revealed at that step by Algorithm 1, including all remaining masked positions on early exit.

If no x∈Bk′x \in B'_k satisfies Hx=0Hx = 0, the decoder discards Bk′B'_k and backtracks to BkB_k. For each ℓ\ell, it branches at iℓ,ki_{\ell,k} with b∈{0,1}b \in\{0,1\}, applies Prop⁡H\operatorname{Prop}_{H}, and discards contradictions. Pruning uses the score ranking of (17): up to LL surviving children with largest sℓ,b(k−1)s^{(k-1)}_{\ell,b} from (14) form Bk−1B_{k-1}. Completion and branching repeat for at most KBK_B branching rounds, including the initial d0d_0. Failure is declared if the beam is empty or the final completed beam B0′B'_0 contains no valid codeword.

Codeword selection

We consider two metrics on Bk′B'_k: 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:

Ddist(Bk′,r)=arg⁡min⁡x∈Bk′:Hx=0∥r−(1−2x)∥22(16)\mathcal{D}_{\mathrm{dist}}(\mathcal{B}'_k,r)=\mathop{\arg\min}_{x\in\mathcal{B}'_k:H x=0}\left\|r-(1-2x)\right\|_2^2 \tag*{(16)}

Alternatively, let s(x)s(x) be the accumulated score of the path producing xx. The score-based rule is

Dscore(Bk′)=arg⁡max⁡x∈Bk′:Hx=0s(x).(17)\mathcal{D}_{\mathrm{score}}(\mathcal{B}'_k)=\mathop{\arg\max}_{x\in\mathcal{B}'_k:H x=0}s(x). \tag*{(17)}

Path metric. With exact posterior marginals, sequential revelation yields the log-posterior score log⁡PX∣R(x∣r)\log P_{X|R}(x\mid r), 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 Eb/N0∈{4,5,6}E_b/N_0 \in\{4,5,6\} dB. The Polar(128, 64) and CCSDS(128, 64) curves in Figure 5(a)–(Figure 5b) additionally cover Eb/N0=1E_b/N_0=1–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 QQ; additional implementation details are in Appendix § 11.

Image not extracted

Figure 5. BLER over BPSK-AWGN. MBS (L=2048L = 2048) 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 Eb/N0E_b/N_0 sampled uniformly from {2,3,4,5,6,7}\{2,3,4,5,6,7\} 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 L=64L=64, initial branching depth d0=5d_0=5, at most KB=16K_B=16 branching rounds, and KC=16K_C=16 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 L=64L=64 achieves the highest reported −ln⁡(BER)-\ln(\mathrm{BER}) 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 10910^9 frames. Its dagger value 22.94 represents the lower bound obtained by assuming one frame error with dmin⁡=14d_{\min}=14 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 LL on MBS decoding performance and reports mean beam usage and its empirical percentiles for CCSDS(128, 64) at 2.5 and 4 dB.

ArchitectureFamilyCodeBPCrossMPTDDECCSB-ECCDiffusionMBS, L=64L = 64
456456456456456456
Polar(64, 32)4.265.386.507.509.9713.317.039.6912.977.7710.3013.787.7010.4313.577.9210.6413.95
Polar(64, 48)4.745.947.426.518.7011.316.078.4010.906.638.6411.276.538.6311.056.738.8211.40
Polar(128, 64)4.105.116.157.5211.2114.768.1612.0416.279.0313.1316.947.6211.0414.759.5113.3217.36
Polar(128, 86)4.495.656.977.5110.8315.247.9211.3415.618.0311.4816.107.6811.0414.578.9212.5416.97
Polar(128, 96)4.615.797.087.1510.1513.137.2410.3213.267.6410.3213.377.3610.3413.208.0910.7413.38
LDPC(49, 24)6.238.1911.726.689.5213.196.269.0712.717.7410.8814.636.9710.0013.988.7011.3715.13
LDPC(121, 60)5.648.8813.335.749.2614.786.2210.1815.896.3310.3816.385.969.9415.928.3213.6021.04
LDPC(121, 70)6.9110.6615.627.0611.3917.527.6412.3017.987.7512.6919.247.4212.0918.4910.3615.9622.52
LDPC(121, 80)7.8411.8617.337.9912.7518.158.6213.5518.268.8414.0220.428.3412.3213.2911.0916.7723.22
BCH(63, 36)4.035.427.265.036.919.375.307.3210.255.748.1211.205.417.5310.557.4210.5914.54
BCH(63, 45)4.365.557.265.908.2011.625.678.0711.416.589.4813.176.038.6312.137.7410.9915.53
BCH(63, 51)4.505.827.425.788.0811.415.377.4810.516.198.8212.455.878.3811.766.639.6313.13
MacKay(96, 48)6.849.4012.577.9711.7715.528.5812.4816.048.9712.8216.258.5112.2716.0210.9113.7716.28
CCSDS(128, 64)8.0012.1117.177.6811.8817.508.4013.1817.478.6013.4319.208.2713.2320.9711.4618.0722.94†

Table 1 (PDF p. 9). BER comparison over BPSK–AWGN. MBS uses beam size L=64L = 64. Values are −ln⁡(BER)-\ln(\mathrm{BER}) (higher is better), at the indicated Eb/N0E_b/N_0 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 dmin⁡d_{\min} 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 Eb/N0=2.5E_b/N_0 = 2.5 dB, we record the number NN 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 PX∣RP_{X|R} and QX∣RQ_{X|R} be the true and model posteriors induced by the shared physical channel. Assume PX∣R≪QX∣RP_{X|R} \ll Q_{X|R} almost surely and finite conditional cross-entropy. Under both laws, each coordinate is independently masked with probability tit_i, independently of RR given XX. All expectations below use the true law.

Proof. For coordinatewise masking probabilities t\mathbf{t}, put

F(t)=−Elog⁡QX∣Y(t),R(X∣Y(t),R).F(\mathbf{t}) = -\mathbb{E}\log Q_{X|Y(\mathbf{t}),R}(X \mid Y(\mathbf{t}), R).

Fix t−i\mathbf{t}_{-i} and abbreviate Zi=(Y−i(t−i),R)Z_i = (Y_{-i}(\mathbf{t}_{-i}), R). Conditional independence under both laws gives the cross-entropy chain rule

F(t)=−Elog⁡QXi∣Yi(ti),Zi(Xi∣Yi(ti),Zi)−Elog⁡QX−i∣Xi,Zi(X−i∣Xi,Zi).\begin{aligned} F(\mathbf{t})={}&-\mathbb{E}\log Q_{X_i|Y_i(t_i),Z_i}(X_i \mid Y_i(t_i), Z_i)\\ &-\mathbb{E}\log Q_{X_{-i}|X_i,Z_i}(X_{-i} \mid X_i, Z_i). \end{aligned}

The second term is independent of tit_i. For the first term,

QXi∣Yi(ti),Zi(Xi∣Yi(ti),Zi)={1,Yi(ti)=Xi,QXi∣Zi(Xi∣Zi),Yi(ti)=∗.Q_{X_i|Y_i(t_i),Z_i}(X_i \mid Y_i(t_i), Z_i)= \begin{cases} 1, & Y_i(t_i)=X_i,\\ Q_{X_i|Z_i}(X_i \mid Z_i), & Y_i(t_i)=*. \end{cases}

Since the mask is independent of (X,Zi)(X,Z_i),

−Elog⁡QXi∣Yi(ti),Zi(Xi∣Yi(ti),Zi)=(1−ti)(−log⁡1)+tiE[−log⁡QXi∣Zi(Xi∣Zi)].-\mathbb{E}\log Q_{X_i|Y_i(t_i),Z_i}(X_i \mid Y_i(t_i), Z_i) =(1-t_i)(-\log1)+t_i\mathbb{E}[-\log Q_{X_i|Z_i}(X_i \mid Z_i)].

Hence

∂F∂ti(t)=−Elog⁡QXi∣Zi(Xi∣Zi).(18)\frac{\partial F}{\partial t_i}(\mathbf{t})=-\mathbb{E}\log Q_{X_i|Z_i}(X_i \mid Z_i). \tag*{(18)}

Along t=(t,…,t)\mathbf{t}=(t,\ldots,t), the path derivative is the sum of the coordinate derivatives in (18), giving ddtF(t,…,t)=CP,Q(t)\frac{d}{dt}F(t,\ldots,t)=C_{P,Q}(t). The fundamental theorem of calculus then yields (7), with the endpoint conditions satisfied because Y(0)=XY(0)=X and Y(1)=∗nY(1)=*^n:

F(0,…,0)=0,F(1,…,1)=CE⁡(PX∣R,QX∣R).F(0,\ldots,0)=0,\qquad F(1,\ldots,1)=\operatorname{CE}(P_{X|R},Q_{X|R}).

Setting Q=PQ=P 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 RR.

Penalty for a parallel step. Fix R=rR = r and the decoder state y~(k)\widetilde{y}^{(k)}. Select G=Gk\mathcal{G} = \mathcal{G}_k before assigning its bit values, and write

π(xG)=PXG∣Y(t(k)),R(xG∣y~(k),r),πi(xi)=PXi∣Y(t(k)),R(xi∣y~(k),r).\pi(x_{\mathcal{G}}) = P_{X_{\mathcal{G}} \mid Y^{(t^{(k)}),R}}(x_{\mathcal{G}} \mid\widetilde{y}^{(k)}, r), \qquad\pi_i(x_i) = P_{X_i \mid Y^{(t^{(k)}),R}}(x_i \mid\widetilde{y}^{(k)}, r).

The expected difference between the joint log probability and the sum of marginal log probabilities is

TC⁡(XG∣y~(k),r):=DKL(π∥∏i∈Gπi)=Eπ[log⁡π(XG)−∑i∈Glog⁡πi(Xi)]≥0.(19)\operatorname{TC}(X_{\mathcal{G}} \mid\widetilde{y}^{(k)}, r) := D_{\mathrm{KL}}\left(\pi\mathbin{\Big\|} \prod_{i \in\mathcal{G}} \pi_i\right) = \mathbb{E}_{\pi}\left[\log\pi(X_{\mathcal{G}}) - \sum_{i \in\mathcal{G}} \log\pi_i(X_i)\right] \ge0. \tag*{(19)}

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 s(x)s(x) in (17) using exact posterior marginals. Each group is selected using rr and the previously revealed bits. Predicting and revealing one bit at a time takes K=nK = n steps for a length-nn codeword. Updating the exact posterior after each bit, the probability chain rule gives s(x)=log⁡PX∣R(x∣r)s(x) = \log P_{X \mid R}(x \mid r). When K<nK < n, some steps reveal several bits in parallel; summing their local TC penalties gives

E[−s(X)∣R=r]=H(X∣R=r)+∑k=1KE[TC⁡(XGk∣y~(k),r)∣R=r].(20)\mathbb{E}[-s(X) \mid R = r] = H(X \mid R = r) + \sum_{k=1}^{K} \mathbb{E}[\operatorname{TC}(X_{\mathcal{G}_k} \mid\widetilde{y}^{(k)}, r) \mid R = r]. \tag*{(20)}

Thus the expected negative path score upper-bounds posterior entropy.

Learned marginals. Let qiq_i denote QXi∣Y(t(k)),R(⋅∣y~(k),r)Q_{X_i \mid Y^{(t^{(k)}),R} }(\cdot\mid\widetilde{y}^{(k)}, r). For finite log loss and model support covering the true support,

Eπ[log⁡π(XG)−∑i∈Glog⁡qi(Xi)]=TC⁡(XG∣y~(k),r)+∑i∈GDKL(πi∥qi).(21)\mathbb{E}_{\pi}\left[\log\pi(X_{\mathcal{G}}) - \sum_{i \in\mathcal{G}} \log q_i(X_i)\right] = \operatorname{TC}(X_{\mathcal{G}} \mid\widetilde{y}^{(k)}, r) + \sum_{i \in\mathcal{G}} D_{\mathrm{KL}}(\pi_i \| q_i). \tag*{(21)}

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 HH- and HTH^{T}-masked cross-attention.

At decoding step kk, an auxiliary encoder represents the current state and mask fraction (y~(k),t(k))(\widetilde{y}^{(k)}, t^{(k)}). A separate physical encoder represents the fixed observation rr 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 ii, the output head predicts logits for the extrinsic posterior

QXi∣Y−i(t(k)),R(xi∣y~−i(k),r),xi∈{0,1}.(22)Q_{X_i \mid Y_{-i}^{(t^{(k)}),R}}\left(x_i \mid\widetilde{y}_{-i}^{(k)}, r\right), \qquad x_i \in\{0,1\}. \tag*{(22)}

The known local auxiliary-channel likelihood is applied outside the network using (9). Thus, QXi∣Y(t(k)),R(xi∣y~(k),r)Q_{X_i|Y^{(t^{(k)})},R}(x_i \mid\tilde{y}^{(k)},r) equals the predicted extrinsic posterior at masked positions and 1{xi=y~i(k)}\mathbb{1}\{x_i=\tilde{y}^{(k)}_i\} 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 10510^5 frames and at least 500 erroneous frames per SNR; SB-ECC stops after 500 frame errors or 10910^9 evaluated LDPC frames; CrossMPT reports at least 500 erroneous frames without specifying the total frame count. At 4 dB, Park et al. [22] report −ln⁡(BLER)=4.47-\ln(\mathrm{BLER})=4.47 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).

CodeSB-ECCDiffusionMBS (L=32L = 32)
454545
LDPC(204, 102)11.2015.7811.2715.2912.0917.82
LDPC(529, 440)7.9315.237.8813.648.6917.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.

Decoder2.5 dB (ms)4 dB (ms)
MBS47.03 (L=2048L = 2048)9.30 (L=64L = 64)
SB-ECC40.0125.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.

Image not extracted

Figure 6. Distribution of the number of neural function evaluations (NFE) for MBS (L=2048L = 2048 at 2.5 dB; L=64L = 64 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 Eb/N0E_b/N_0 drawn uniformly from the discrete grid {2,3,4,5,6,7}\{2, 3, 4, 5, 6, 7\} dB. For every sample, the codeword is mapped to BPSK and passed through AWGN to obtain the fixed physical observation. We then draw t∼Unif⁡(0,1)t \sim\operatorname{Unif}(0,1) independently for each sequence, mask coordinates independently with probability tt, 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 5×10−45 \times10^{-4} to 5×10−65 \times10^{-6}. 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-Rc=k/nR_c=k/n code at a specified Eb/N0E_b/N_0, each frame independently samples a random codeword and Gaussian noise according to

ri=1−2xi+zi,zi∼i.i.d.N(0,σ2),σ2=12Rc10(Eb/N0)dB/10.(23)r_i = 1 - 2x_i + z_i,\qquad z_i \mathrel{\overset{\mathrm{i.i.d.}}{\sim}} \mathcal{N}(0,\sigma^2),\qquad\sigma^2 = \frac{1}{2R_c 10^{(E_b/N_0)_{\mathrm{dB}}/10}}. \tag*{(23)}

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 10810^8 frames (10910^9 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 L=64L=64, initial depth d0=5d_0=5, at most KB=16K_B=16 branching rounds, and KC=16K_C = 16 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 10910^9 frames. For CCSDS, zero observed errors are displayed as the resolution marker −ln⁡[dmin⁡/(nN)]=22.94-\ln[d_{\min}/(nN)] = 22.94, with dmin⁡=14d_{\min} = 14, 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 Eb/N0=1,1.5,…,3.5E_b/N_0 = 1, 1.5, \ldots, 3.5 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 d0=5d_0 = 5, KB=16K_B = 16, L=2048L = 2048, and KC=8K_C = 8, 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 2ri/σ22r_i/\sigma^2 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 [−50,50][-50, 50]. 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.

CodeEb/N0E_b/N_0 (dB)BP-50BP-200CrossMPTSB-ECCDiffusion 16 stepsMBS (L=2048L = 2048) Min. distance
LDPC(121, 70)44.064.264.254.624.327.48
LDPC(121, 70)55.105.485.536.025.719.58
LDPC(121, 70)66.346.897.117.927.4712.25
CCSDS(128, 64)45.255.595.255.775.539.24
CCSDS(128, 64)56.787.376.947.707.4612.45
CCSDS(128, 64)68.729.648.9210.089.8115.94

Table 4. Rayleigh-fading results for AWGN-trained decoders. Entries are −ln⁡(BER)-\ln(\mathrm{BER}); 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 L∈{1,4,8,16,32,64}L \in\{1, 4, 8, 16, 32, 64\} (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 −ln⁡(BER)=7.92292-\ln(\mathrm{BER}) = 7.92292, 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−ln⁡(BER)-\ln(\mathrm{BER})
BP-53.53
BP-103.80
BP-204.00
BP-504.29
SCL-13.81
SCL-45.88
SCL-86.87
SCL-167.56
SCL-327.83
SCL-647.92
ECCT6.99
CrossMPT7.50
DDECC7.03
SB-ECC7.77
Diffusion7.70
MBS (L=64L = 64)7.92
OSD-3 estimate7.98

Table 2. Coded-bit BER for Polar(64, 32) at 4 dB, as shown in Figure 1. Values are −ln⁡(BER)-\ln(\mathrm{BER}); 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 −ln⁡(BER)-\ln(\mathrm{BER}). 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

Ri=hi(1−2Xi)+Zi,hi∼i.i.d.Rayleigh⁡(1),Zi∼i.i.d.N(0,σ2).(24)R_i = h_i(1 - 2X_i) + Z_i,\qquad h_i \mathrel{\overset{\mathrm{i.i.d.}}{\sim}} \operatorname{Rayleigh}(1),\qquad Z_i \mathrel{\overset{\mathrm{i.i.d.}}{\sim}} \mathcal{N}(0,\sigma^2). \tag*{(24)}

The fading amplitudes are independent across coordinates, so this is a memoryless fading channel. We use σ2=[2(k/n)10(Eb/N0)dB/10]−1\sigma^2 = [2(k/n)10^{(E_b/N_0)_{\mathrm{dB}}/10}]^{-1}; the scale-one Rayleigh distribution has E[hi2]=2\mathbb{E}[h_i^2] = 2. 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 L=2048L = 2048. The stopping target is 100 MBS frame errors or 10810^8 frames. At CCSDS(128, 64) and 6 dB, search finished at the 10810^8-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 L∈{64,128,2048}L \in\{64, 128, 2048\} on CCSDS(128, 64) and Polar(128, 64) over BPSK-AWGN at Eb/N0=2.5E_b/N_0 = 2.5 and 4 dB, with d0=5d_0 = 5, KB=16K_B = 16, and KC=8K_C = 8. We estimate runtime using one initial forward pass, KCK_C completion calls per attempt, and one branching call between attempts. For a frame with mm completion attempts, let wj=min⁡(2d0+j,L)w_j = \min(2^{d_0+j}, L); its estimated runtime is

T^(m)=tfwd(1)+KC∑j=0m−1tfwd(wj)+∑j=0m−2tfwd(wj),\widehat{T}(m) = t_{\mathrm{fwd}}(1) + K_C \sum_{j=0}^{m-1} t_{\mathrm{fwd}}(w_j) + \sum_{j=0}^{m-2} t_{\mathrm{fwd}}(w_j),

with empty sums equal to zero. Here tfwd(b)t_{\mathrm{fwd}}(b) is the measured RTX A5000 time for one forward pass with bb candidates, linearly interpolated in batch size between measurements at b∈{1,64,128,2048}b \in\{1, 64, 128, 2048\}. 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 KCK_C calls per probe; it excludes parity-pruning width reductions, early probe termination, and decoder overhead.

CodeEb/N0E_b/N_0 (dB)LL−ln⁡(BER)-\ln(\mathrm{BER})Est. mean (ms)
CCSDS(128, 64)2.5645.2462.2
CCSDS(128, 64)2.51285.5075.0
CCSDS(128, 64)2.520486.43140.5
Polar(128, 64)2.5644.8749.4
Polar(128, 64)2.51284.9351.1
Polar(128, 64)2.520485.0055.5
CCSDS(128, 64)46411.217.5
CCSDS(128, 64)412811.777.5
CCSDS(128, 64)4204813.107.6
Polar(128, 64)4649.3110.7
Polar(128, 64)41289.3710.7
Polar(128, 64)420489.4110.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 Eb/N0=2.5E_b/N_0 = 2.5 and 4 dB. An initial greedy exit counts as one; P100 denotes the observed maximum.

Maximum beam size LL\multicolumn{5}{c}{ Eb/N0=2.5E_b/N_0 = 2.5 dB }\multicolumn{5}{c}{ Eb/N0=4E_b/N_0 = 4 dB }
MeanP99P99.9P99.99P100MeanP99P99.9P99.99P100
11.000011111.00001111
21.344522221.01462222
42.033544441.04384444
83.411588881.10238888
166.1675161616161.219216161616
3211.6794323232321.453032323232
6413.1968646464641.459932326464
12815.38381281281281281.46673232128128
25618.53162562562562561.47423232128256
51223.12295125125125121.48283232128512
102429.488110241024102410241.492232321281024
204837.696810242048204820481.501432321282048

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 L=2048L = 2048 over 14,720 frames at 2.5 dB and 6,215,168 frames at 4 dB.

Computational complexity and latency comparison

For neural decoders, NN counts sequential forward calls, including all branching and completion queries; a batch of LL candidates counts as one call. The number of branching rounds alone does not capture repeated completion attempts, as each completion attempt uses KCK_C 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 tfwdt_{\mathrm{fwd}}, this gives T^=tfwd∑kkp^k\widehat{T}=t_{\mathrm{fwd}}\sum_k k\hat{p}_k. 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. [1]Ziv Aharoni and Henry D. Pfister. Conservation laws for diffusion models, 2026. URL https://arxiv.org/abs/2607.10067. arXiv:2607.10067.
  2. [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
  3. [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
  4. [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.
  5. [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
  6. [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
  7. [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
  8. [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.
  9. [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.
  10. [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
  11. [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
  12. [14]Sitan Chen, Kevin Cong, and Jerry Li. Optimal inference schedules for masked diffusion models, 2025. URL https://arxiv.org/abs/2511.04647.
  13. [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
  14. [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
  15. [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.
  16. [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.
  17. [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
  18. [20]Eliya Nachmani and Lior Wolf. Autoregressive belief propagation for decoding block codes, 2021. URL https://arxiv.org/abs/2103.11780. arXiv:2103.11780.
  19. [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
  20. [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
  21. [23]Tom Richardson and Rüdiger Urbanke. Modern coding theory. Cambridge University Press, March 2008. doi: 10.1017/CBO9780511791338.DOI
  22. [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.
  23. [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
  24. [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.
  25. [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
  26. [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.
  27. [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
  28. [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

Paper details

vlnc:W_978ze3y4
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents