# List decoding

(Redirected from List-decoding)

In computer science, particularly 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 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:

• Probabilistic noise model studied by Shannon in which the channel noise is modeled precisely in the sense that the probabilistic behavior of the channel is well known and the probability of occurrence of too many or too few errors is low
• Worst-case or adversarial noise model considered by Hamming in which the channel acts as an adversary that arbitrarily corrupts the codeword subject to a bound on the total number of errors.

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 ${\displaystyle {\mathcal {C}}}$ be a ${\displaystyle (n,k,d)_{q}}$ error-correcting code; in other words, ${\displaystyle {\mathcal {C}}}$ is a code of length ${\displaystyle n}$, dimension ${\displaystyle k}$ and minimum distance ${\displaystyle d}$ over an alphabet ${\displaystyle \Sigma }$ of size ${\displaystyle q}$. The list-decoding problem can now be formulated as follows:

Input: Received word ${\displaystyle x\in \Sigma ^{n}}$, error bound ${\displaystyle e}$

Output: A list of all codewords ${\displaystyle x_{1},x_{2},\ldots ,x_{m}\in {\mathcal {C}}}$ whose hamming distance from ${\displaystyle x}$ is at most ${\displaystyle e}$.

## Motivation for list decoding

Given a received word ${\displaystyle y}$, which is a noisy version of some transmitted codeword ${\displaystyle 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 ${\displaystyle d}$ is the minimum Hamming distance of a code ${\displaystyle {\mathcal {C}}}$, then there exists two codewords ${\displaystyle c_{1}}$ and ${\displaystyle c_{2}}$ that differ in exactly ${\displaystyle d}$ positions. Now, in the case where the received word ${\displaystyle y}$ is equidistant from the codewords ${\displaystyle c_{1}}$ and ${\displaystyle c_{2}}$, unambiguous decoding becomes impossible as the decoder cannot decide which one of ${\displaystyle c_{1}}$ and ${\displaystyle c_{2}}$ 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 ${\displaystyle 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 ${\displaystyle e}$ beyond half-the minimum distance, there is only a single codeword ${\displaystyle c}$ within Hamming distance ${\displaystyle 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 ${\displaystyle pn}$ around a received word ${\displaystyle r}$ (where ${\displaystyle p}$ is the fraction of errors in terms of the block length ${\displaystyle 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 ${\displaystyle 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 ${\displaystyle R}$ exist that can be list decoded up to a fraction of errors approaching ${\displaystyle 1-R}$. The quantity ${\displaystyle 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 ${\displaystyle 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 ${\displaystyle 0\leqslant p\leqslant 1}$ and an integer ${\displaystyle L\geqslant 1}$, a code ${\displaystyle {\mathcal {C}}\subseteq \Sigma ^{n}}$ is said to be list decodable up to a fraction ${\displaystyle p}$ of errors with list size at most ${\displaystyle L}$ or ${\displaystyle (p,L)}$-list-decodable if for every ${\displaystyle y\in \Sigma ^{n}}$, the number of codewords ${\displaystyle c\in C}$ within Hamming distance ${\displaystyle pn}$ from ${\displaystyle y}$ is at most ${\displaystyle 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 ${\displaystyle (p,L)}$-list-decodable codes of good rate with a list-decoding radius much larger than ${\displaystyle {\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 ${\displaystyle {\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 ${\displaystyle q\geqslant 2,0\leqslant p\leqslant 1-{\tfrac {1}{q}}}$ and ${\displaystyle \epsilon \geqslant 0.}$ The following two statements hold for large enough block length ${\displaystyle n}$.
i) If ${\displaystyle R\leqslant 1-H_{q}(p)-\epsilon }$, then there exists a ${\displaystyle (p,O(1/\epsilon ))}$-list decodable code.
ii) If ${\displaystyle R\geqslant 1-H_{q}(p)+\epsilon }$, then every ${\displaystyle (p,L)}$-list-decodable code has ${\displaystyle L=q^{\Omega (n)}}$.
Where
${\displaystyle H_{q}(p)=p\log _{q}(q-1)-p\log _{q}p-(1-p)\log _{q}(1-p)}$
is the ${\displaystyle q}$-ary entropy function defined for ${\displaystyle p\in (0,1)}$ and extended by continuity to ${\displaystyle [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 ${\displaystyle q}$-ary symmetric channel ${\displaystyle qSC_{p}}$. 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

The idea behind the proof is similar to that of Shannon's proof for capacity of the binary symmetric channel ${\displaystyle BSC_{p}}$ where a random code is picked and showing that it is ${\displaystyle (p,L)}$-list-decodable with high probability as long as the rate ${\displaystyle R\leqslant 1-H_{q}(p)-{\tfrac {1}{L}}.}$ For rates exceeding the above quantity, it can be shown that the list size ${\displaystyle L}$ becomes super-polynomially large.

A "bad" event is defined as one in which, given a received word ${\displaystyle y\in [q]^{n}}$ and ${\displaystyle L+1}$ messages ${\displaystyle m_{0},\ldots ,m_{L}\in [q]^{k},}$ it so happens that ${\displaystyle {\mathcal {C}}(m_{i})\in B(y,pn)}$, for every ${\displaystyle 0\leqslant i\leqslant L}$ where ${\displaystyle p}$ is the fraction of errors that we wish to correct and ${\displaystyle B(y,pn)}$ is the Hamming ball of radius ${\displaystyle pn}$ with the received word ${\displaystyle y}$ as the center.

Now, the probability that a codeword ${\displaystyle {\mathcal {C}}(m_{i})}$ associated with a fixed message ${\displaystyle m_{i}\in [q]^{k}}$ lies in a Hamming ball ${\displaystyle B(y,pn)}$ is given by

${\displaystyle \Pr \left[C(m_{i})\in B(y,pn)\right]={\frac {\mathrm {Vol} _{q}(y,pn)}{q^{n}}}\leqslant q^{-n(1-H_{q}(p))},}$

where the quantity ${\displaystyle Vol_{q}(y,pn)}$ is the volume of a Hamming ball of radius ${\displaystyle pn}$ with the received word ${\displaystyle y}$ as the center. The inequality in the above relation follows from the upper bound on the volume of a Hamming ball. The quantity ${\displaystyle q^{H_{q}(p)}}$ gives a very good estimate on the volume of a Hamming ball of radius ${\displaystyle p}$ centered on any word in ${\displaystyle [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 ${\displaystyle (y,m_{0},\dots ,m_{L})}$ is upper bounded by the quantity ${\displaystyle q^{-n(L+1)(1-H_{q}(p))}}$.

With the above in mind, the probability of "any" bad event happening can be shown to be less than ${\displaystyle 1}$. To show this, we work our way over all possible received words ${\displaystyle y\in [q]^{n}}$ and every possible subset of ${\displaystyle L}$ messages in ${\displaystyle [q]^{k}.}$

Now turning to the proof of part (ii), we need to show that there are super-polynomially many codewords around every ${\displaystyle y\in [q]^{n}}$ when the rate exceeds the list-decoding capacity. We need to show that ${\displaystyle |{\mathcal {C}}\cap B(y,pn)|}$ is super-polynomially large if the rate ${\displaystyle R\geqslant 1-H_{q}(p)+\epsilon }$. Fix a codeword ${\displaystyle c\in {\mathcal {C}}}$. Now, for every ${\displaystyle y\in [q]^{n}}$ picked at random, we have

${\displaystyle \Pr[c\in B(y,pn)]=\Pr[y\in B(c,pn)]}$

since Hamming balls are translation invariant. From the definition of the volume of a Hamming ball and the fact that ${\displaystyle y}$ is chosen uniformly at random from ${\displaystyle [q]^{n}}$ we also have

${\displaystyle \Pr[c\in B(y,pn)]=\Pr[y\in B(c,pn)]={\frac {\mathrm {Vol} (y,pn)}{q^{n}}}\geqslant q^{-n(1-H_{q}(p))-o(n)}}$

Let us now define an indicator variable ${\displaystyle X_{c}}$ such that

${\displaystyle X_{c}={\begin{cases}1&c\in B(y,pn)\\0&{\text{otherwise}}\end{cases}}}$

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

{\displaystyle {\begin{aligned}E[|B(y,pn)|]&=\sum _{c\in {\mathcal {C}}}E[X_{c}]\\[4pt]&=\sum _{c\in {\mathcal {C}}}\Pr[X_{c}=1]\\[4pt]&\geqslant \sum q^{-n(1-H_{q}(p)+o(n))}\\[4pt]&=\sum q^{n(R-1+H_{q}(p)+o(1))}\\[4pt]&\geqslant q^{\Omega (n)}\end{aligned}}}

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.

## 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 ${\displaystyle 1-{\sqrt {1-\delta }}}$ exist where ${\displaystyle \delta }$ is the normalised distance or relative distance. However, for Reed-Solomon codes, ${\displaystyle \delta =1-R}$ which means a fraction ${\displaystyle 1-{\sqrt {R}}}$ of errors can be corrected. Some of the most prominent list-decoding algorithms are the following:

• Sudan '95 – The first known non-trivial list-decoding algorithm for Reed–Solomon codes that achieved efficient list decoding up to ${\displaystyle 1-{\sqrt {2R}}}$ errors developed by Madhu Sudan.
• Guruswami–Sudan '98 – An improvement on the above algorithm for list decoding Reed–Solomon codes up to ${\displaystyle 1-{\sqrt {R}}}$ errors by Madhu Sudan and his then doctoral student Venkatesan Guruswami.
• Parvaresh–Vardy '05 – In a breakthrough paper, Farzad Parvaresh and Alexander Vardy presented codes that can be list decoded beyond the ${\displaystyle 1-{\sqrt {R}}}$ radius for low rates ${\displaystyle R}$. Their codes are variants of Reed-Solomon codes which are obtained by evaluating ${\displaystyle m\geqslant 1}$ correlated polynomials instead of just ${\displaystyle 1}$ as in the case of usual Reed-Solomon codes.
• Guruswami–Rudra '06 - In yet another breakthrough, Venkatesan Guruswami and Atri Rudra give explicit codes that achieve list-decoding capacity, that is, they can be list decoded up to the radius ${\displaystyle 1-R-\epsilon }$ for any ${\displaystyle \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 ${\displaystyle [n,k+1]_{q}}$ Reed-Solomon code, we are given the pair ${\displaystyle (\alpha _{i},y_{i})}$ for ${\displaystyle 1\leq i\leq n}$, where ${\displaystyle y_{i}}$ is the ${\displaystyle i}$th bit of the received word and the ${\displaystyle \alpha _{i}}$'s are distinct points in the finite field ${\displaystyle F_{q}}$ and an error parameter ${\displaystyle e=n-t}$.

Output: The goal is to find all the polynomials ${\displaystyle P(X)\in F_{q}[X]}$ of degree at most ${\displaystyle k}$ which is the message length such that ${\displaystyle p(\alpha _{i})=y_{i}}$ for at least ${\displaystyle t}$ values of ${\displaystyle i}$. Here, we would like to have ${\displaystyle 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 ${\displaystyle Q(X,Y)}$ such that ${\displaystyle Q(\alpha _{i},y_{i})=0}$ for ${\displaystyle 1\leq i\leq n}$.

Step 2: (Root finding/Factorization) Output all degree ${\displaystyle k}$ polynomials ${\displaystyle p(X)}$ such that ${\displaystyle Y-p(X)}$ is a factor of ${\displaystyle Q(X,Y)}$ i.e. ${\displaystyle Q(X,p(X))=0}$. For each of these polynomials, check if ${\displaystyle p(\alpha _{i})=y_{i}}$ for at least ${\displaystyle t}$ values of ${\displaystyle i\in [n]}$. If so, include such a polynomial ${\displaystyle 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: