arXiv:2610.02458cs.ITOct 2026

Manuscript Offprint

arXiv:2610.02458

Conditional Correctness in List Decoding: How a Late Second Codeword Can Rescue Confidence in the First

Conrad Struss, Muriel Medard, Ken R. Duffy

Conrad Struss, Muriel Médard, and Ken R. Duffy

Abstract—In error correction, the difference between a codeword and a received word, a candidate noise sequence, carries information on the confidence of the codeword as a proposed decoding. For additive channels, it is known that if noise sequences are ranked in decreasing order of likelihood, a lower rank correlates with higher confidence in a decoding. Here we substantially expand considerations by exploring the relationship between the likelihood ranks arising in list decoding and the posterior probability of decoding correctness, establishing that the ranks associated with subsequent list entries carry reliability information that is not obtainable from the first rank alone.

Building on the recent development of Soft-Output Guessing Random Additive Noise Decoding, we first show that, under a random codebook model, soft-output expressions for list decoding coincide with the exact finite-blocklength conditional probabilities of decoding correctness. For hard-decision maximum likelihood decoding, we characterize the asymptotic reliability of the first list entry. We identify a decision function whose sign determines whether the posterior correctness probability of the first entry in the list converges to one or zero and whose absolute value gives the exponential rate of convergence. Perhaps surprisingly, the asymptotic reliability of the first list entry depends only on the first, second and last ranks.

For list size one, the result recovers the previously known likelihood-rank threshold for reliable decoding. For list size two, a sufficiently late second entry can imply that the first entry is asymptotically correct even when its rank, viewed in isolation, would indicate otherwise.

Index Terms—List Decoding, Soft Output, GRAND, SO-GRAND, Guesswork, Large Deviations.

I. INTRODUCTION

Consider the canonical hard-decision forward error correction scenario in which a receiver obtains a binary word consisting of nn bits, Yn∈F2nY^n \in \mathbb{F}_2^n, that is a potentially channel-corrupted version of the transmitted codeword, Xn∈Cn⊂F2nX^n \in \mathcal{C}_n \subset \mathbb{F}_2^n. Let the channel noise Nn=Yn−Xn∈F2nN^n = Y^n - X^n \in \mathbb{F}_2^n be independent of the transmitted word XnX^n, which is chosen uniformly at random from the codebook Cn\mathcal{C}_n, and assume Cn\mathcal{C}_n contains ∣Cn∣=2k|\mathcal{C}_n| = 2^k elements. Suppose a decoder d:F2n→Cnd: \mathbb{F}_2^n \to \mathcal{C}_n returns the codeword X^n:=d(Yn)∈Cn\hat{X}^n := d(Y^n) \in \mathcal{C}_n.

This work was supported by the Defense Advanced Research Projects Agency (DARPA) under Grant HR00112120008.

Conrad Struss is with the Department of Mathematics, Northeastern University, Boston, MA 02115 USA (e-mail: struss.c@northeastern.edu).

Muriel Médard is with the Research Laboratory of Electronics, Massachusetts Institute of Technology, Cambridge, MA 02139 USA (e-mail: medard@mit.edu).

Ken R. Duffy is with the Department of Mathematics and the Department of Electrical and Computer Engineering, Northeastern University, Boston, MA 02115 USA (e-mail: k.duffy@northeastern.edu).

The probability of a decoding error P(Xn≠X^n)P(X^n \neq \hat{X}^n), also known as the block error rate (BLER), has served as the standard measure of decoding performance since Shannon's pioneering work [1]. It is the central object in the study of error exponents [2], success exponents for codes operating above capacity [3], [4], and in the finite blocklength regime [5].

A less extensively studied quantity is the posterior probability that the returned codeword is the transmitted one given the received word, which is called the blockwise soft-output (SO). For codeword cn,∗∈Cnc^{n,*} \in \mathcal{C}_n and received word yn∈F2ny^n \in \mathbb{F}_2^n, it is defined as

P(Xn=cn,∗∣Yn=yn)⏟=:PXn∣Yn(cn,∗∣yn)=pNn(yn−cn,∗)∑cn∈CnpNn(yn−cn),(1)\underbrace{P(X^{n}=c^{n,*}\mid Y^{n}=y^{n})}_{=:P_{X^{n}\mid Y^{n}}(c^{n,*}\mid y^{n})}=\frac{p_{N^{n}}(y^{n}-c^{n,*})}{\sum_{c^{n}\in\mathcal{C}_{n}}p_{N^{n}}(y^{n}-c^{n})}, \tag{1}

where pNnp_{N^{n}} denotes the probability mass function of the binary noise NnN^{n}. In seminal work, Forney [6] used eq. (1) to describe optimal decision regions for erasure and list decoding.

The relationship between BLER and blockwise SO is given by

P(Xn≠X^n)=1−∑yn∈F2nPXn∣Yn(d(yn)∣yn)PYn(yn)=1−E[PXn∣Yn(X^n∣Yn)],\begin{align*}P(X^{n}\neq\hat{X}^{n})&=1-\sum_{y^{n}\in\mathbb{F}_{2}^{n}}P_{X^{n}\mid Y^{n}}(d(y^{n})|y^{n})P_{Y^{n}}(y^{n})\\&=1-\mathbb{E}\left[P_{X^{n}\mid Y^{n}}(\hat{X}^{n}|Y^{n})\right],\end{align*}

(2)

which makes it clear that any decoder that, for a given yny^n, returns the codeword cn,∗c^{n,*} that maximizes eq. (1) achieves minimal BLER. Under the assumption of equiprobable codewords, finding the codeword that maximizes eq. (1) is equivalent to finding arg⁡max⁡xn∈CnP(Yn=yn∣Xn=xn)\arg\max_{x^n \in \mathcal{C}_n} P(Y^n = y^n \mid X^n = x^n), showing that Maximum Likelihood (ML) decoding minimizes the BLER [7, Sec. 5.2].

As presented in eq. (1), the evaluation of blockwise SO appears to require summation of a probabilistic calculation for all elements of the codebook, which is impractical even for moderate kk. Therefore, Forney [6] proposed the following approximation. Consider list decoding, where the decoder returns a list L={c^n,1,…,c^n,L}\mathcal{L} = \{\hat{c}^{n,1}, \ldots, \hat{c}^{n,L}\} of LL candidate codewords. If noise sequences associated with codewords not in the list are assumed to have negligible probability,

∑cn∈Cn\LpNn(yn−cn)≈0,(3)\sum_{c^{n}\in\mathcal{C}_{n}\backslash\mathcal{L}}p_{N^{n}}(y^{n}-c^{n})\approx0, \tag{3}

then a reasonable approximation of eq. (1) is to replace the sum over the codebook with one only over the list entries. In effect, this approximation is the conditional likelihood that a codeword is the transmitted one given the transmitted one is in the list. For the condition in eq. (3) to be appropriate, however, the list size must increase as channel conditions disimprove.

Recently, Soft-Output Guessing Random Additive Noise Decoding (SOGRAND) [8] introduced a new means of analysing blockwise SO, which led to an improved approximation to eq. (1). Instead of neglecting the probability mass outside the list, SOGRAND estimates the likelihood that the transmitted codeword is not in the list. By leveraging that development and significantly expanding on it, here we generate new results and Shannon Theory related to blockwise SO for list decoding.

To be precise, let G:F2n→{1,…,2n}G: \mathbb{F}_2^n \to \{1, \ldots, 2^n\} be a bijective function assigning to each noise sequence zn∈F2nz^n \in \mathbb{F}_2^n a rank G(zn)∈{1,…,2n}G(z^n) \in \{1, \ldots, 2^n\}. We define a ML list decoder as follows. Let the first codeword in the list be

C^n,1=argmin⁡Cn∈CnG(Yn−Cn)\widehat{C}^{n,1}=\operatorname{a r g m i n}_{C^{n}\in\mathcal{C}_{n}}G(Y^{n}-C^{n})

and then recursively

C^n,j=argmin⁡Cn∈Cn\{C^n,1,…,C^n,j−1}G(Yn−Cn)\widehat{C}^{n,j}=\operatorname{a r g m i n}_{C^{n}\in\mathcal{C}_{n}\backslash\{\widehat{C}^{n,1},\ldots,\widehat{C}^{n,j-1}\}}G(Y^{n}-C^{n})

for j∈{2,…,L}j \in \{2, \ldots, L\}.

This class of decoders can be realized by Guessing Random Additive Noise Decoding (GRAND) [9], which works by subtracting noise sequences from YnY^{n} in increasing order of their G-rank, returning the first resulting sequence that belongs to the codebook as the decoded codeword. Continuing the search provides the list. If G ranks noise sequences in decreasing order of likelihood, breaking ties arbitrarily, then eq. (1) shows that this decoder corresponds to ML decoding.

Define the ranks of the candidate noise sequences corresponding to the list entries as

Qj:=G(Yn−C^n,j),forj=1,…,L,Q_{j}:=G(Y^{n}-\widehat{C}^{n,j}),\mathrm{f o r}j=1,\ldots,L,

and let zn,1:=G−1(1),…,zn,2n:=G−1(2n)∈F2nz^{n,1} := G^{-1}(1), \ldots, z^{n,2^{n}} := G^{-1}(2^{n}) \in \mathbb{F}_{2}^{n} be the noise sequences in increasing order of rank. From the viewpoint of GRAND, the likelihood ranks QjQ_{j} correspond to the query indices at which codeword jj is found.

Suppose we observe candidate noise sequences with ranks Q1=q1,…,QL=qLQ_1 = q_1, \ldots, Q_L = q_L, then the noise sequences are zn,qj=yn−c^n,jz^{n,q_j} = y^n - \widehat{c}^{n,j}, for j=1,…,Lj = 1, \ldots, L, and the SOGRAND approximation of eq. (1), cf. [8, Corollary 1], is given by

pNn(zn,qj)∑i=1LpNn(zn,qi)+2k−L2n−qL(1−∑i=1qLpNn(zn,i)).(4)\frac{p_{N^{n}}(z^{n,q_{j}})}{\sum_{i=1}^{L}p_{N^{n}}(z^{n,q_{i}})+\frac{2^{k}-L}{2^{n}-q_{L}}\left(1-\sum_{i=1}^{q_{L}}p_{N^{n}}(z^{n,i})\right)}. \tag{4}

Comparing eq. (1) and eq. (4), we see that the terms in the denominators agree for cn∈Lc^n \in \mathcal{L}. The power of the SOGRAND formula lies in providing an estimate for ∑cn∈Cn∖LpNn(yn−cn)\sum_{c^n \in \mathcal{C}_n \setminus \mathcal{L}} p_{N^n}(y^n - c^n), the probability mass of the candidate noise sequences corresponding to codewords not in the list. In particular, one knows that by construction of the decoder, the noise sequences zn,iz^{n,i}, i∉{q1,…,qL}i \notin \{q_1, \ldots, q_L\}, i≤qLi \leq q_L, cannot correspond to codewords. Therefore, the remaining probability mass 1−∑i=1qLpNn(zn,i)1 - \sum_{i=1}^{q_L} p_{N^n}(z^{n,i}) is distributed among the 2n−qL2^n - q_L remaining ranks. If one approximates by a uniform distribution, then the candidate noise sequences corresponding to the codewords not in the list are each assigned probability pNn(yn−cn)≈12n−qL(1−∑i=1qLpNn(zn,i))p_{N^n}(y^n - c^n) \approx \frac{1}{2^n - q_L} \left(1 - \sum_{i=1}^{q_L} p_{N^n}(z^{n,i})\right). As ∣Cn∖L∣=2k−L|\mathcal{C}_n \setminus \mathcal{L}| = 2^k - L, this yields eq. (4). An alternative derivation using a geometric approximation, which assumes 2n−k2^{n-k} is small, can be found in [8].

In this work, we first show in Proposition 1 that under a random codebook model, eq. (4) is, in fact, not an approximation at all, but exactly coincides with

P(Xn=C^n,j∣Q1=q1,…,QL=qL),(5)P(X^{n}=\widehat{C}^{n,j}\mid Q_{1}=q_{1},\ldots,Q_{L}=q_{L}), \tag{5}

the conditional probability of list entry C^n,j,j=1,…,L\widehat{C}^{n,j}, j = 1, \ldots, L, being the transmitted codeword, conditioned on the likelihood ranks of the candidate noise sequences corresponding to the list entries. Being a conditional probability, eq. (4) is thus the minimum mean square error estimate of decoding correctness among all functions of q1,…,qLq_1, \ldots, q_L [10, §9.4]. As GG is allowed to be any bijection, this is true even for approximations of ML decoding, in both hard and soft decision settings.

As eq. (4) depends only on the channel pNnp_{N^{n}}, the ranking function G, and the likelihood ranks qiq_{i}, it is amenable to study in the large-blocklength limit by leveraging understanding of guesswork [11]–[16]. By the equality of eqs. (4) and (5), the resulting statements concern the exact asymptotic conditional reliability, instead of approximations thereof.

For an ML decoder it follows from eq. (1) that a low rank indicates high reliability. For a list-size-one ML decoder, this intuition was first made rigorous in [9, Theorem 3], where an asymptotic threshold was found, such that if 1/nlog⁡Q11/n \log Q_1, the normalized logarithmic rank of the noise sequence corresponding to the found codeword, lies below it, the likelihood that the decoder returns the transmitted codeword converges to one. The result holds even for code rates above capacity.

A natural line of inquiry is whether, for L>1L > 1, the ML-decoded list provides additional reliability information in the form of the later ranks Q2,…,QLQ_2, \ldots, Q_L that the first rank alone cannot give. The central question studied in this work is how the relative positions of these ranks influence both the finite-blocklength and asymptotic reliability.

The query-centric viewpoint given by GRAND provides a simple intuition for why the ranks of the later list entries influence the reliability of the earlier ones. Suppose that we are interested in the reliability of the first list entry and that Q1Q_{1} is large, which, when considered alone, would suggest low reliability based on eq. (1). If the first found codeword is not the transmitted one, then the transmitted codeword must be found at query Q2Q_{2} or later, and no noise sequence with rank between Q1Q_{1} and Q2Q_{2} can correspond to the true channel noise. As GRAND queries noise sequences in decreasing order of probability, increasing Q2Q_{2}, while holding Q1Q_{1} fixed, forces the true channel noise to be further into the low-probability region of noise sequences with ranks at least Q2Q_{2}. Consequently, the probability of the first codeword being incorrect decreases as Q2Q_{2} increases. Thus, a late second list entry can provide evidence that the first list entry is correct, even when Q1Q_{1} alone would suggest otherwise.

To make this intuition precise, we consider exponentially growing likelihood ranks, qj=2⌊nyj⌋q_j = 2^{\lfloor ny_j \rfloor}, for yj∈[0,1)y_j \in [0,1) and j=1,…,Lj = 1, \ldots, L. In Section IV, we use large-deviations results for the noise guesswork G(Nn)G(N^n) [16] to identify an asymptotic decision function Δ\Delta that, given the law of the noise NnN^n and code rate RR, depends only on the normalized logarithms of the likelihood ranks y1,…,yLy_1, \ldots, y_L, and whose sign determines whether the posterior probability of the first codeword in the list being the transmitted codeword converges to 0 or 1. In a perhaps surprising development, Proposition 2 establishes that the decision function depends only on y1,y2y_1, y_2 and yLy_L, the first, second and last likelihood ranks.

For L=1L = 1, we recover the known threshold y∗y^{*} [9, Theorem 3], below which concentration on a correct decoding is guaranteed, and above which concentration on an incorrect decoding is guaranteed. For L=2L = 2, we show that the second rank provides reliability information unavailable from the first rank alone. We identify a second threshold yˉ>y∗\bar{y} > y^{*} such that, when y∗<y1<yˉy^{*} < y_{1} < \bar{y}, a sufficiently high second rank implies concentration on a correct decoding, thereby showing that list decoding with list size L≥2L \geq 2 carries strictly more reliability information than single-codeword decoding.

For the Binary Symmetric Channel (BSC), we give explicit formulas for the thresholds y∗y^{*} and yˉ\bar{y}. We show that such a rescue requires the second entry to have a rank exceeding the typical rank of the noise, 2nH2^{nH}, where H is the Shannon entropy rate of the noise. Above yˉ\bar{y}, the decoding is asymptotically unreliable regardless of the second rank. An illustration of the phenomenon for the BSC, cf. Example 1, is given in Fig. 1.

The rest of this paper is structured as follows. Section II collects background material on list decoding, guesswork, and GRAND. In Section III, we formally introduce our notation and modeling assumptions. Proposition 1 then establishes that, under a random codebook model, and for any bijection G, the SOGRAND formula eq. (4) equals eq. (5), the conditional probability of correctness. In Section IV, we return to ML decoding and carry out the large-blocklength analysis. Proposition 2 establishes the decision function Δ\Delta, and Corollaries 2 and 3 identify the thresholds y∗y^{*} and yˉ\bar{y}. We thereby show that list decoding contains strictly more reliability information than single-codeword decoding. In Section V we exhibit numerically that for binary linear codes, the SOGRAND formula eq. (4) remains an accurate predictor of the exact conditional reliability eq. (5), and the phenomenon described in Section IV, in which a high second noise rank increases the reliability of the first list entry, remains observable. We conclude in Section VI.

Throughout, we consider the field F2F_{2} for ease of exposition, but note that the results generalize to higher-order finite fields.

References (67)