List decoding explained

In coding theory, list decoding is an alternative to unique decoding of error-correcting codes for large error rates. The notion was proposed by Elias in the 1950s. The main idea behind list decoding is that the decoding algorithm instead of outputting a single possible message outputs a list of possibilities one of which is correct. This allows for handling a greater number of errors than that allowed by unique decoding.

The unique decoding model in coding theory, which is constrained to output a single valid codeword from the received word could not tolerate a greater fraction of errors. This resulted in a gap between the error-correction performance for stochastic noise models (proposed by Shannon) and the adversarial noise model (considered by Richard Hamming). Since the mid 90s, significant algorithmic progress by the coding theory community has bridged this gap. Much of this progress is based on a relaxed error-correction model called list decoding, wherein the decoder outputs a list of codewords for worst-case pathological error patterns where the actual transmitted codeword is included in the output list. In case of typical error patterns though, the decoder outputs a unique single codeword, given a received word, which is almost always the case (However, this is not known to be true for all codes). The improvement here is significant in that the error-correction performance doubles. This is because now the decoder is not confined by the half-the-minimum distance barrier. This model is very appealing because having a list of codewords is certainly better than just giving up. The notion of list-decoding has many interesting applications in complexity theory.

The way the channel noise is modeled plays a crucial role in that it governs the rate at which reliable communication is possible. There are two main schools of thought in modeling the channel behavior:

The highlight of list-decoding is that even under adversarial noise conditions, it is possible to achieve the information-theoretic optimal trade-off between rate and fraction of errors that can be corrected. Hence, in a sense this is like improving the error-correction performance to that possible in case of a weaker, stochastic noise model.

Mathematical formulation

Let

l{C}

be a

(n,k,d)q

error-correcting code; in other words,

l{C}

is a code of length

n

, dimension

k

and minimum distance

d

over an alphabet

\Sigma

of size

q

. The list-decoding problem can now be formulated as follows:

Input: Received word

x\in\Sigman

, error bound

e

Output: A list of all codewords

x1,x2,\ldots,xm\inl{C}

whose hamming distance from

x

is at most

e

.

Motivation for list decoding

Given a received word

y

, which is a noisy version of some transmitted codeword

c

, the decoder tries to output the transmitted codeword by placing its bet on a codeword that is “nearest” to the received word. The Hamming distance between two codewords is used as a metric in finding the nearest codeword, given the received word by the decoder. If

d

is the minimum Hamming distance of a code

l{C}

, then there exists two codewords

c1

and

c2

that differ in exactly

d

positions. Now, in the case where the received word

y

is equidistant from the codewords

c1

and

c2

, unambiguous decoding becomes impossible as the decoder cannot decide which one of

c1

and

c2

to output as the original transmitted codeword. As a result, the half-the minimum distance acts as a combinatorial barrier beyond which unambiguous error-correction is impossible, if we only insist on unique decoding. However, received words such as

y

considered above occur only in the worst-case and if one looks at the way Hamming balls are packed in high-dimensional space, even for error patterns

e

beyond half-the minimum distance, there is only a single codeword

c

within Hamming distance

e

from the received word. This claim has been shown to hold with high probability for a random code picked from a natural ensemble and more so for the case of Reed–Solomon codes which is well studied and quite ubiquitous in the real world applications. In fact, Shannon's proof of the capacity theorem for q-ary symmetric channels can be viewed in light of the above claim for random codes.

Under the mandate of list-decoding, for worst-case errors, the decoder is allowed to output a small list of codewords. With some context specific or side information, it may be possible to prune the list and recover the original transmitted codeword. Hence, in general, this seems to be a stronger error-recovery model than unique decoding.

List-decoding potential

For a polynomial-time list-decoding algorithm to exist, we need the combinatorial guarantee that any Hamming ball of radius

pn

around a received word

r

(where

p

is the fraction of errors in terms of the block length

n

) has a small number of codewords. This is because the list size itself is clearly a lower bound on the running time of the algorithm. Hence, we require the list size to be a polynomial in the block length

n

of the code. A combinatorial consequence of this requirement is that it imposes an upper bound on the rate of a code. List decoding promises to meet this upper bound. It has been shown non-constructively that codes of rate

R

exist that can be list decoded up to a fraction of errors approaching

1-R

. The quantity

1-R

is referred to in the literature as the list-decoding capacity. This is a substantial gain compared to the unique decoding model as we now have the potential to correct twice as many errors. Naturally, we need to have at least a fraction

R

of the transmitted symbols to be correct in order to recover the message. This is an information-theoretic lower bound on the number of correct symbols required to perform decoding and with list decoding, we can potentially achieve this information-theoretic limit. However, to realize this potential, we need explicit codes (codes that can be constructed in polynomial time) and efficient algorithms to perform encoding and decoding.

(p, L)-list-decodability

For any error fraction

0\leqslantp\leqslant1

and an integer

L\geqslant1

, a code

l{C}\subseteq\Sigman

is said to be list decodable up to a fraction

p

of errors with list size at most

L

or

(p,L)

-list-decodable if for every

y\in\Sigman

, the number of codewords

c\inC

within Hamming distance

pn

from

y

is at most

L.

Combinatorics of list decoding

The relation between list decodability of a code and other fundamental parameters such as minimum distance and rate have been fairly well studied. It has been shown that every code can be list decoded using small lists beyond half the minimum distance up to a bound called the Johnson radius. This is quite significant because it proves the existence of

(p,L)

-list-decodable codes of good rate with a list-decoding radius much larger than

\tfrac{d}{2}.

In other words, the Johnson bound rules out the possibility of having a large number of codewords in a Hamming ball of radius slightly greater than

\tfrac{d}{2}

which means that it is possible to correct far more errors with list decoding.

List-decoding capacity

Theorem (List-Decoding Capacity). Let

q\geqslant2,0\leqslantp\leqslant1-\tfrac{1}{q}

and

\epsilon\geqslant0.

The following two statements hold for large enough block length

n

.

i) If

R\leqslant1-Hq(p)-\epsilon

, then there exists a

(p,O(1/\epsilon))

-list decodable code.

ii) If

R\geqslant1-Hq(p)+\epsilon

, then every

(p,L)

-list-decodable code has

L=q\Omega(n)

.

Where

Hq(p)=plogq(q-1)-plogqp-(1-p)logq(1-p)

is the

q

-ary entropy function defined for

p\in(0,1)

and extended by continuity to

[0,1].

What this means is that for rates approaching the channel capacity, there exists list decodable codes with polynomial sized lists enabling efficient decoding algorithms whereas for rates exceeding the channel capacity, the list size becomes exponential which rules out the existence of efficient decoding algorithms.

The proof for list-decoding capacity is a significant one in that it exactly matches the capacity of a

q

-ary symmetric channel

qSCp

. In fact, the term "list-decoding capacity" should actually be read as the capacity of an adversarial channel under list decoding. Also, the proof for list-decoding capacity is an important result that pin points the optimal trade-off between rate of a code and the fraction of errors that can be corrected under list decoding.

Sketch of proof

BSCp

where a random code is picked and showing that it is

(p,L)

-list-decodable with high probability as long as the rate

R\leqslant1-Hq(p)-\tfrac{1}{L}.

For rates exceeding the above quantity, it can be shown that the list size

L

becomes super-polynomially large.

A "bad" event is defined as one in which, given a received word

y\in[q]n

and

L+1

messages

m0,\ldots,mL\in[q]k,

it so happens that

l{C}(mi)\inB(y,pn)

, for every

0\leqslanti\leqslantL

where

p

is the fraction of errors that we wish to correct and

B(y,pn)

is the Hamming ball of radius

pn

with the received word

y

as the center.

Now, the probability that a codeword

l{C}(mi)

associated with a fixed message

mi\in[q]k

lies in a Hamming ball

B(y,pn)

is given by

\Pr\left[C(mi)\inB(y,pn)\right]=

Volq(y,pn)
qn

\leqslant

-n(1-Hq(p))
q

,

where the quantity

Volq(y,pn)

is the volume of a Hamming ball of radius

pn

with the received word

y

as the center. The inequality in the above relation follows from the upper bound on the volume of a Hamming ball. The quantity
Hq(p)
q
gives a very good estimate on the volume of a Hamming ball of radius

p

centered on any word in

[q]n.

Put another way, the volume of a Hamming ball is translation invariant. To continue with the proof sketch, we conjure the union bound in probability theory which tells us that the probability of a bad event happening for a given

(y,m0,...,mL)

is upper bounded by the quantity
-n(L+1)(1-Hq(p))
q

.

With the above in mind, the probability of "any" bad event happening can be shown to be less than

1

. To show this, we work our way over all possible received words

y\in[q]n

and every possible subset of

L

messages in

[q]k.

Now turning to the proof of part (ii), we need to show that there are super-polynomially many codewords around every

y\in[q]n

when the rate exceeds the list-decoding capacity. We need to show that

|l{C}\capB(y,pn)|

is super-polynomially large if the rate

R\geqslant1-Hq(p)+\epsilon

. Fix a codeword

c\inl{C}

. Now, for every

y\in[q]n

picked at random, we have

\Pr[c\inB(y,pn)]=\Pr[y\inB(c,pn)]

since Hamming balls are translation invariant. From the definition of the volume of a Hamming ball and the fact that

y

is chosen uniformly at random from

[q]n

we also have

\Pr[c\inB(y,pn)]=\Pr[y\inB(c,pn)]=

Vol(y,pn)
qn

\geqslant

-n(1-Hq(p))-o(n)
q

Let us now define an indicator variable

Xc

such that

Xc=\begin{cases}1&c\inB(y,pn)\ 0&otherwise\end{cases}

Taking the expectation of the volume of a Hamming ball we have

\begin{align} E[|B(y,pn)|]&=\sumc

} E[X_c]\\[4pt]& = \sum_ \Pr[X_c = 1] \\[4pt]& \geqslant \sum q^ \\[4pt]& = \sum q^ \\[4pt]& \geqslant q^\end

Therefore, by the probabilistic method, we have shown that if the rate exceeds the list-decoding capacity, then the list size becomes super-polynomially large. This completes the proof sketch for the list-decoding capacity.

In 2023, building upon three seminal works,[1] [2] [3] coding theorists showed that, with high probability, Reed-Solomon codes defined over random evaluation points are list decodable up to the list-decoding capacity over linear size alphabets.

List-decoding algorithms

In the period from 1995 to 2007, the coding theory community developed progressively more efficient list-decoding algorithms. Algorithms for Reed–Solomon codes that can decode up to the Johnson radius which is

1-\sqrt{1-\delta}

exist where

\delta

is the normalised distance or relative distance. However, for Reed-Solomon codes,

\delta=1-R

which means a fraction

1-\sqrt{R}

of errors can be corrected. Some of the most prominent list-decoding algorithms are the following:

1-\sqrt{2R}

errors developed by Madhu Sudan.

1-\sqrt{R}

errors by Madhu Sudan and his then doctoral student Venkatesan Guruswami.

1-\sqrt{R}

radius for low rates

R

. Their codes are variants of Reed-Solomon codes which are obtained by evaluating

m\geqslant1

correlated polynomials instead of just

1

as in the case of usual Reed-Solomon codes.

1-R-\epsilon

for any

\epsilon>0

. In other words, this is error-correction with optimal redundancy. This answered a question that had been open for about 50 years. This work has been invited to the Research Highlights section of the Communications of the ACM (which is “devoted to the most important research results published in Computer Science in recent years”) and was mentioned in an article titled “Coding and Computing Join Forces” in the Sep 21, 2007 issue of the Science magazine. The codes that they are given are called folded Reed-Solomon codes which are nothing but plain Reed-Solomon codes but viewed as a code over a larger alphabet by careful bundling of codeword symbols.

Because of their ubiquity and the nice algebraic properties they possess, list-decoding algorithms for Reed–Solomon codes were a main focus of researchers. The list-decoding problem for Reed–Solomon codes can be formulated as follows:

Input: For an

[n,k+1]q

Reed-Solomon code, we are given the pair

(\alphai,yi)

for

1\leqi\leqn

, where

yi

is the

i

th bit of the received word and the

\alphai

's are distinct points in the finite field

Fq

and an error parameter

e=n-t

.

Output: The goal is to find all the polynomials

P(X)\inFq[X]

of degree at most

k

which is the message length such that

p(\alphai)=yi

for at least

t

values of

i

. Here, we would like to have

t

as small as possible so that greater number of errors can be tolerated.

With the above formulation, the general structure of list-decoding algorithms for Reed-Solomon codes is as follows:

Step 1: (Interpolation) Find a non-zero bivariate polynomial

Q(X,Y)

such that

Q(\alphai,yi)=0

for

1\leqi\leqn

.

Step 2: (Root finding/Factorization) Output all degree

k

polynomials

p(X)

such that

Y-p(X)

is a factor of

Q(X,Y)

i.e.

Q(X,p(X))=0

. For each of these polynomials, check if

p(\alphai)=yi

for at least

t

values of

i\in[n]

. If so, include such a polynomial

p(X)

in the output list.

Given the fact that bivariate polynomials can be factored efficiently, the above algorithm runs in polynomial time.

Applications in complexity theory and cryptography

Algorithms developed for list decoding of several interesting code families have found interesting applications in computational complexity and the field of cryptography. Following is a sample list of applications outside of coding theory:

External links

Notes and References

  1. Book: Brakensiek . Joshua . Gopi . Sivakanth . Makam . Visu . Generic Reed-Solomon Codes Achieve List-Decoding Capacity . 2023-06-02 . Proceedings of the 55th Annual ACM Symposium on Theory of Computing . https://doi.org/10.1145/3564246.3585128 . STOC 2023 . New York, NY, USA . Association for Computing Machinery . 1488–1501 . 10.1145/3564246.3585128 . 978-1-4503-9913-5. 2206.05256 .
  2. Book: Guo . Zeyu . Zhang . Zihan . Randomly Punctured Reed-Solomon Codes Achieve the List Decoding Capacity over Polynomial-Size Alphabets . 2023-11-06 . 2023 IEEE 64th Annual Symposium on Foundations of Computer Science (FOCS) . https://ieeexplore.ieee.org/document/10353231 . FOCS 2023, Santa Cruz, CA, USA . IEEE . 164–176 . 10.1109/FOCS57990.2023.00019 . 979-8-3503-1894-4. 2304.01403 .
  3. Alrabiah . Omar . Guruswami . Venkatesan . Li . Ray . 2023 . Randomly punctured Reed--Solomon codes achieve list-decoding capacity over linear-sized fields . cs.IT . 2304.09445.