Decoding Error Probability of the Random Code Ensemble over the Erasure Channel
Chin Hei Chan
Abstract
In this paper, we provide explicit formulas for the average decoding error probabilities of the ensemble of all (n,M)q codes over the erasure channel under unambiguous, list and maximum-likelihood decoding principles. Moreover, we derive the asymptotic error exponents for the ensemble of all (n,qRn)q codes.
Index terms— Decoding error probability, error exponent, random code ensemble, erasure channel, unambiguous decoding, list decoding, maximum likelihood decoding.
1 Introduction
1.1 Background
The binary erasure channel, first introduced by Elias [4], is a discrete memoryless channel in which each information bit is either correctly transmitted or totally erased. While the binary version is widely used in practice, it is natural in a theoretical aspect to extend to the q-ary erasure channel, that is, the information input symbols come from the finite field Fq of q elements.
The decoding problem under the erasure channel has attracted increasing interest in the past few decades, owing to its wide application in the Internet as well as in distributed storage systems to resist random packet losses [1, 7, 8]. Among the several decoding principles, three are of particular interest: the unambiguous decoding, list decoding, and maximum likelihood decoding. The decoding error probabilities and asymptotic error exponents of particular linear codes or linear code ensembles under these three decoding principles have been extensively investigated (see [3, 6, 12, 15, 16] and references therein).
In [12] Shen and Fu computed the decoding error probabilities of some linear codes, and more generally, the average decoding error probabilities of the random linear code ensemble under the three decoding principles by introducing the notion of incorrigible sets. They showed that the incorrigible set distributions are related to the support weight distributions of linear codes. From this, they also derived the asymptotic error exponents of the ensemble for fixed rate under unambiguous decoding as the code length tends to infinity. Xiong [16] further simplified their formulas for the decoding error probabilities, and computed the asymptotic error exponents under fixed-size list and maximum likelihood decoding as well. In [2] the authors did the analogous problem for a similar but different code ensemble known as the random parity-check matrix ensemble, by showing that the average incorrigible set distributions are related to the rank distribution of the matrices, a quantity that is simpler than the support weight distributions of linear codes.
In this paper we investigate the decoding performance of the q-ary erasure channel under the three decoding principles for general codes, including nonlinear ones. Unlike linear codes which allow one to characterize the incorrigible sets through rank conditions, nonlinear codes lack such algebraic structure. Moreover, they do not have translation symmetry around codewords, which means the incorrigible set distribution depends on the choice of the center codeword as well. This makes computation of such distribution for nonlinear codes intractable.
To circumvent this difficulty, we instead consider the random ensemble of all (n,M)q codes. Our main contribution is to derive explicit formulas for the average decoding error probabilities of this ensemble under the three different decoding principles, as well as the asymptotic error exponents as code length increases to infinity with fixed rate.
1.2 Statement of Main Results
The first result is the average decoding error probabilities of the ensemble of all (n,M)q codes under the three decoding principles.
Theorem 1. Let C denote the random ensemble of all (n,M)q codes and ε be the probability that a symbol is erased upon transmission through the q-ary erasure channel.
The average unsuccessful decoding probability Pud(C,ε) of C under unambiguous decoding is given by
These formulas look quite similar with those for the [n,k]q linear code ensemble in [12, Theorem 2] with usual binomial coefficients in place of Gaussian binomial coefficients and size of the summation index set for list size much larger (exponential rather than linear in n).
Now let M=qRn for some R∈(0,1). Here R=n−1logqM is the rate of the code. The error exponents (in q-its) of the random ensemble of all (n,qRn)q codes under the three decoding principles are given as follows.
Theorem 2. Let Cn,Rn be the random ensemble of all (n,qRn)q codes, where the rate R∈(0,1) is fixed and n→∞, and ε be the probability that a symbol is erased upon transmission through the q-ary erasure channel.
The error exponents Tud(ε) and Tmld(ε) for the average unsuccessful decoding probability of Cn,Rn under unambiguous decoding and maximum likelihood decoding are both given by
The above formulas show that the code can be decoded efficiently in average under any of the three decoding principles if the code rate R (or, in the exponential list-size regime, the adjusted rate R−λ) is less than the capacity 1−ε of the erasure channel, which is consistent with Shannon's channel coding theorem [5, 11].
Statement 3 of Theorem 2 only deals with λ<R. Indeed, if λ≥R, then the code size itself does not exceed the list size, and so no decoding error can occur at all, which renders study of the error exponent (which is always negative infinity) meaningless.
Moreover, we note that the formulas for the error exponents under unambiguous and maximum likelihood decoding in (4) are exactly the same as those for the random linear code ensemble Cn,Rn ([12, Theorem 3] and [16, Theorem 1.3]) and random parity-check matrix ensemble R(1−R)n,n ([2, Eq. (10)]). On the other hand, the formula for the error exponent under fixed-size list decoding in (5) is in the same form as those for Cn,Rn ([16, Theorem 1.4]) and R(1−R)n,n ([2, Eq. (9)]) with L in place of ℓ+1. The list size for those two ensembles is qℓ, which is larger than ℓ+1 whenever qℓ>2. Hence the list decoding performance with respect to Cn,Rn is superior to Cn,Rn and R(1−R)n,n for small rates. To illustrate this more clearly, we have generated a plot (see Figure 1) to compare the list decoding error exponents of Cn,Rn and Cn,Rn (or R(1−R)n,n) with list size 4 over the binary erasure channel ( q=2), with erasure probability ε=0.25.
This paper is organized as follows. In Section 2, we describe the three decoding principles in more details, and derive expressions for the decoding error probabilities of a general (nonlinear) code under the three decoding principles. Then in Sections 3 and 4 we prove Theorems 1 and 2 respectively.
2 Preliminaries
2.1 Three Decoding Principles
In this section we recall the three decoding principles of the q-ary erasure channel. We first introduce some notations.
First, under the q-ary erasure channel, the channel input alphabet is the finite field Fq of order q. Upon transmission, the symbol is either received correctly with probability 1−ε or erased with probability ε, where 0<ε<1.
For an integer 1≤M≤qn, an (n,M)q code C (not necessarily linear) is simply an M-subset of the vector space Fqn. Write explicitly C={x1,x2,⋯,xM}.
Denote Y:=Fq∪{□}, where □ is the erasure symbol, and [n]:={1,2,⋯,n}.
For any r∈Yn, define the sets
E(r):={α∈[n]:rα=□}
Figure 1: 4-list decoding error exponent of random linear code ensemble Cn,Rn VS random (non-linear) code ensemble Cn,Rn over the binary erasure channel, with erasure probability ε=0.25.
and
C(r):={c∈C:cα=rα∀α∈[n]−E(r)}.
Here C(r) is simply the set of all codewords that can result in receiving r, that is, the complete output list upon decoding r if there is no size limit. Hence for each fixed c∈C and r∈Yn, we have
P(r is received∣c is sent)={ε#E(r)(1−ε)n−#E(r)0(c∈C(r))(otherwise),
where for any finite set A, #A denotes the cardinality of A.
In addition, for any subset E⊆[n] and codeword m (identifying with xm), we define
C(E,m):={xm′∈C:xm′α=xmα∀α∈[n]−E}.
Note that C(E,m)=∅ as it always contains xm.
The three decoding principles are as follows:
In unambiguous decoding, the decoder outputs the only one codeword in C(r) if #C(r)=1 and declares “failure” otherwise. The unsuccessful decoding probability Pud(C,ε) of C under unambiguous decoding is defined to be the probability that the decoder declares “failure”.
In list decoding, the decoder with list size L outputs all the codewords in C(r) if #C(r)≤L and declares “failure” otherwise. The unsuccessful decoding probability Pld(C,L,ε) of C under list decoding with list size L is defined to be the probability that the decoder declares “failure”.
In maximum likelihood decoding, the decoder randomly chooses a codeword in C(r) uniformly and outputs this codeword. The decoding error probability Pmld(C,ε) of C under maximum likelihood decoding is defined to be the probability that the codeword outputted by the decoder is not the sent codeword.
2.2 Decoding Error Probability of a General Code
We now figure out the decoding error probability of an (n,M)q code C under the three decoding principles.
The unsuccessful decoding probability of codeword m (that is, xm) under unambiguous decoding is
A set E⊆[n] that satisfies the condition #C(E,m)>1 is called an incorrigible set of C centered at m. The collection {Ii(C,m)}i=1n is then called the incorrigible set distribution of C centered at m.
Then the overall unsuccessful decoding probability of C under unambiguous decoding is given by
A set E⊆[n] that satisfies the condition #C(E,m)>L is called an L-incorrigible set of C centered at m. The collection {Ii[L](C,m)}i=1n is then called the L-incorrigible set distribution of C centered at m.
Then the overall unsuccessful decoding probability of C under list decoding is given by
Remark. 1. If C is linear so that M=qk for some integer k, then the quantity #C(E,m) is independent of the choice of codeword m (and in fact must be a power of q), and so are the quantities Ii[L](C,m) for any L. In particular the latter is equal to Ii[L](C). In this case we simply denote Ii(ℓ)(C):=Ii[qℓ](C). Together with Ii(C), both are consistent with the definition in [12, Section II]. In addition, we have, for L≥2,
Therefore our formulas are simply a generalization of those in [12, Section II] to nonlinear codes.
In [12, 16], the authors computed explicitly the incorrigible set distributions by relating to the support weight distributions. This is possible due to the fine algebraic structure of linear codes. However for nonlinear codes there seems no simple way to compute the incorrigible set distribution either centered at a single codeword or in average in general.
3 Proof of Theorem 1
Now denote by C the random ensemble of choosing M distinct elements x1,x2,⋯,xM from Fqn. Note that this ensemble takes each (n,M)q-code with the same multiplicity M!, so it is essentially the same as the random (n,M)q-code ensemble.
Now we look at the condition #C(E,m)=L. First the codeword m can be any word in Fqn. Given this, we need exactly L−1 other codewords to have coordinates coincide with xm outside E, and they can be put in any L−1 positions of the code apart from m. This gives (L−1M−1)[qi−1]L−1[qn−qi]M−L possibilities, where [N]t:=(N−t)!N!. Overall, we get
This follows from Statement 2, (9) and the fact that
j=1∑MP(#C(E,m)=j)=1.
Lemma 3 shows that the quantities E[λi[L](C,m)], E[Ii[L](C,m)] and E[Ii(C,m)] are all independent of m. Hence by averaging over m with 1≤m≤M, we have the following result.
Denote by Cn the random ensemble of choosing M=qRn distinct elements x1,x2,⋯,xqRn from Fqn, where R∈(0,1) is the rate.
The error exponents of the average decoding error probabilities of Cn are defined by
Tud(ε)=−n→∞limn1logqPud(Cn,ε) for unambiguous decoding,Tmld(ε)=−n→∞limn1logqPmld(Cn,ε) for maximum likelihood decoding,Tid(L,ε)=−n→∞limn1logqPid(Cn,L,ε) for list decoding with fixed list size L andTid(λ,ε)=−n→∞limn1logqPid(Cn,qλn,ε) for list decoding with list size L=qλn,
provided that the limit exists [5, 10, 11, 12, 14].
In other words, Tud(ε), Tmld(ε), Tid(L,ε) and Tid(λ,ε) are non-negative numbers only depending on q,R,ε (and L,λ) such that
First, noting that unambiguous decoding is simply list decoding with list size 1, and since
21Pud(Cn,ε)≤Pmld(Cn,ε)≤Pud(Cn,ε),
we can easily derive
Tmld(ε)=Tud(ε)=Tld(1,ε).
Hence we only need to prove explicitly the results for list decoding under both fixed and exponential size regimes, that is, Statements 2) and 3) of Theorem 2.
By the facts that
i=1maxNai≤i=1∑Nai≤Ni=1maxNai
for any finite sequence (ai)i=1N of non-negative real numbers and
In this case we have t+2R−2=λ+R−1=2λ−t and t−1+R=λ, so that all apparent leading terms in (16) get canceled. To get the precise limit to limn→∞n1logqAi,L and hence limn→∞n1logq(∑i=L+1MAi,j), we need to expand the lower order terms as well. Nevertheless, this value must be non-positive, and it happens that this single value does not affect the error exponent. Therefore we skip this for sake of simplicity.
• If min{1−ε+λ,1}≤R<1, then g is maximized at t=ε, so
Tld(λ,ε)=−g(ε)=0.
This completes the proof of Theorem 2.
Remark. Let P and P~ be Bernoulli distributions with parameters ε and t respectively. Then the relative entropy (in q-its) from P~ to P is
D(P~∣∣P)=tlogqεt+(1−t)logq1−ε1−t.(18)
Moreover, if Q is the uniform distribution on Fq, then the mutual information I~(X;Y) between X∼Q and Y with Y∣X=x∼P~ for all x∈Fq is the capacity of the q-ary erasure channel with erasure probability t, that is,
which are exactly the random coding error exponents for fixed-size and exponential-size list decoding derived by Merhav [10, Section III-B and Section III-C]. That is, Theorem 2 provides an independent, self-contained derivation of Merhav's exponents for the q-ary erasure channel. Yet our work has made one further step by providing formulas for the exact average decoding error probability in Theorem 1, which are not present in [10].
Acknowledgments
This research was supported by the research start-up fund of Hetao Institute of Mathematics and Interdisciplinary Sciences for the sole author. The proofs of Theorem 1 and Statements 1-2 of Theorem 2 (and their associated lemmas) were completed when he was working in Hong Kong University of Science and Technology (HKUST), and he would like to acknowledge the financial support provided by Department of Mathematics of HKUST as well.
References
[1] J. W. Byers, M. Luby, M. Mitzenmacher, and A. Rege, “A digital fountain approach to reliable distribution of bulk data,” in Proc. ACM SIGCOMM Conf. Appl., Technol., Architectures, Protocols Comput. Commun., Vancouver, BC, Canada, 1998, pp. 56–67.
[2] C. H. Chan, F. Fu, and M. Xiong, “Decoding error probability of random parity-check matrix ensemble over the erasure channel,” Des. Codes Cryptogr., vol. 93, pp. 51–77, 2025.
[3] F. Didier, “A new upper bound on the block error probability after decoding over the erasure channel,” IEEE Trans. Inform. Theory, vol. 52, no. 10, pp. 4496–4503, 2006.
[4] P. Elias, “Coding for Noisy Channels,” in I.R.E. Convention record part 4, 1955, pp. 37–46.
[5] R. G. Gallager, Information Theory and Reliable Communication. New York, NY, USA: Wiley, 1968.
[6] L. C. Lemes and M. Firer, “Generalized weights and bounds for error probability over erasure channels,” in Proc. Inf. Theory Appl. Workshop (ITA), San Diego, CA, USA, 2014, p. 14.
[7] M. Luby, M. Mitzenmacher, and A. Shokrollahi, “Practical loss-resilient codes,” in Proc. 29th Annual ACM Symp. Theory Comput., 1997, pp. 150–159.
[8] D. S. Lun, M. Médard, R. Koetter, and M. Effros, “On coding for reliable communication over packet networks,” Phys. Commun., vol. 1, no. 1, pp. 3–20, 2008.
[9] F. J. MacWilliams and N. J. A. Sloane, The Theory of Error-Correcting Codes, ser. North-Holland Mathematical Library. Amsterdam, the Netherlands: North-Holland Publishing Company, 1981, vol. 16.
[10] N. Merhav, “List Decoding—Random Coding Exponents and Expurgated Exponents,” IEEE. Trans. Inform. Theory, vol. 60, no. 11, pp. 6749–6759, 2014.
[11] C. E. Shannon, R. G. Gallager, and E. R. Berlekamp, “Lower Bounds to Error Probability for Coding on Discrete Memoryless Channels. I,” Inf. Control, vol. 10, no. 1, pp. 65–103, 1967.
[12] L. Shen and F. Fu, “The Decoding Error Probability of Linear Codes over the Erasure Channel,” IEEE. Trans. Inform. Theory, vol. 65, no. 10, pp. 6194–6203, 2019.
[13] J. Spencer and L. Florescu, Asymptopia, ser. Student Mathematical Library. Providence, RI, USA: American Mathematical Society, 2014, vol. 71.
[14] A. J. Viterbi and J. K. Omura, Principles of Digital Communication and Coding. New York, NY, USA: McGraw-Hill, 1979.
[15] J. H. Weber and K. A. S. Abdel-Ghaffar, “Results on parity-check matrices with optimal stopping and/or dead-end set enumerators,” IEEE Trans. Inform. Theory, vol. 54, no. 3, pp. 1412–1418, 1991.
[16] M. Xiong, “Decoding error probability in the erasure channel and the r-th support weight distribution,” Sci. Sin. Math., vol. 51, pp. 1–14, 2021, (in Chinese).