Guruswami–Sudan list decoding algorithm

From testwiki
Jump to navigation Jump to search

Template:Multiple issues

In coding theory, list decoding is an alternative to unique decoding of error-correcting codes in the presence of many errors. If a code has relative distance δ, then it is possible in principle to recover an encoded message when up to δ/2 fraction of the codeword symbols are corrupted. But when error rate is greater than δ/2, this will not in general be possible. List decoding overcomes that issue by allowing the decoder to output a short list of messages that might have been encoded. List decoding can correct more than δ/2 fraction of errors.

There are many polynomial-time algorithms for list decoding. In this article, we first present an algorithm for Reed–Solomon (RS) codes which corrects up to 12R errors and is due to Madhu Sudan. Subsequently, we describe the improved GuruswamiSudan list decoding algorithm, which can correct up to 1R errors.

Here is a plot of the rate R and distance δ for different algorithms.

https://wiki.cse.buffalo.edu/cse545/sites/wiki.cse.buffalo.edu.cse545/files/81/Graph.jpg

Algorithm 1 (Sudan's list decoding algorithm)

Problem statement

Input : A field F; n distinct pairs of elements (xi,yi)i=1n in F×F; and integers d and t.

Output: A list of all functions f:FF satisfying

f(x) is a polynomial in x of degree at most d

Template:NumBlk

To understand Sudan's Algorithm better, one may want to first know another algorithm which can be considered as the earlier version or the fundamental version of the algorithms for list decoding RS codes - the Berlekamp–Welch algorithm. Welch and Berlekamp initially came with an algorithm which can solve the problem in polynomial time with best threshold on t to be t(n+d+1)/2. The mechanism of Sudan's Algorithm is almost the same as the algorithm of Berlekamp–Welch Algorithm, except in the step 1, one wants to compute a bivariate polynomial of bounded (1,k) degree. Sudan's list decoding algorithm for Reed–Solomon code which is an improvement on Berlekamp and Welch algorithm, can solve the problem with t=(2nd). This bound is better than the unique decoding bound 1(R2) for R<0.07.

Algorithm

Definition 1 (weighted degree)

For weights wx,wy+, the (wx,wy) – weighted degree of monomial qijxiyj is iwx+jwy. The (wx,wy) – weighted degree of a polynomial Q(x,y)=ijqijxiyj is the maximum, over the monomials with non-zero coefficients, of the (wx,wy) – weighted degree of the monomial.

For example, xy2 has (1,3)-degree 7

Algorithm:

Inputs: n,d,t; {(x1,y1)(xn,yn)} /* Parameters l,m to be set later. */

Step 1: Find a non-zero bivariate polynomial Q:F2F satisfying

  • Q(x,y) has (1,d)-weighted degree at most D=m+ld
  • For every i[n],

Template:NumBlk

Step 2. Factor Q into irreducible factors.

Step 3. Output all the polynomials f such that (yf(x)) is a factor of Q and f(xi)=yi for at least t values of i[n]

Analysis

One has to prove that the above algorithm runs in polynomial time and outputs the correct result. That can be done by proving following set of claims.

Claim 1:

If a function Q:F2F satisfying (2) exists, then one can find it in polynomial time.

Proof:

Note that a bivariate polynomial Q(x,y) of (1,d)-weighted degree at most D can be uniquely written as Q(x,y)=j=0lk=0m+(lj)dqkjxkyj. Then one has to find the coefficients qkj satisfying the constraints j=0lk=0m+(lj)dqkjxikyij=0, for every i[n]. This is a linear set of equations in the unknowns {qkj}. One can find a solution using Gaussian elimination in polynomial time.

Claim 2:

If (m+1)(l+1)+d(l+12)>n then there exists a function Q(x,y) satisfying (2)

Proof:

To ensure a non zero solution exists, the number of coefficients in Q(x,y) should be greater than the number of constraints. Assume that the maximum degree degx(Q) of x in Q(x,y) is m and the maximum degree degy(Q) of y in Q(x,y) is l. Then the degree of Q(x,y) will be at most m+ld. One has to see that the linear system is homogeneous. The setting qjk=0 satisfies all linear constraints. However this does not satisfy (2), since the solution can be identically zero. To ensure that a non-zero solution exists, one has to make sure that number of unknowns in the linear system to be (m+1)(l+1)+d(l+12)>n, so that one can have a non zero Q(x,y). Since this value is greater than n, there are more variables than constraints and therefore a non-zero solution exists.

Claim 3:

If Q(x,y) is a function satisfying (2) and f(x) is function satisfying (1) and t>m+ld, then (yf(x)) divides Q(x,y)

Proof:

Consider a function p(x)=Q(x,f(x)). This is a polynomial in x, and argue that it has degree at most m+ld. Consider any monomial qjkxkyj of Q(x). Since Q has (1,d)-weighted degree at most m+ld, one can say that k+jdm+ld. Thus the term qkjxkf(x)j is a polynomial in x of degree at most k+jdm+ld. Thus p(x) has degree at most m+ld

Next argue that p(x) is identically zero. Since Q(xi,f(xi)) is zero whenever yi=f(xi), one can say that p(xi) is zero for strictly greater than m+ld points. Thus phas more zeroes than its degree and hence is identically zero, implying Q(x,f(x))0

Finding optimal values for m and l. Note that m+ld<t and (m+1)(l+1)+d(l+12)>n For a given value l, one can compute the smallest m for which the second condition holds By interchanging the second condition one can get m to be at most (n+1d(l+12))/21 Substituting this value into first condition one can get t to be at least n+1l+1+dl2 Next minimize the above equation of unknown parameter l. One can do that by taking derivative of the equation and equating that to zero By doing that one will get, l=2(n+1)d1 Substituting back the l value into m and t one will get m(n+1)d2(n+1)d2+d21=d21 t>2(n+1)d2dd21 t>2(n+1)dd21

Algorithm 2 (Guruswami–Sudan list decoding algorithm)

Definition

Consider a (n,k) Reed–Solomon code over the finite field 𝔽=GF(q) with evaluation set (α1,α2,,αn) and a positive integer r, the Guruswami-Sudan List Decoder accepts a vector β=(β1,β2,,βn) 𝔽n as input, and outputs a list of polynomials of degree k which are in 1 to 1 correspondence with codewords.

The idea is to add more restrictions on the bi-variate polynomial Q(x,y) which results in the increment of constraints along with the number of roots.

Multiplicity

A bi-variate polynomial Q(x,y) has a zero of multiplicity r at (0,0) means that Q(x,y) has no term of degree r, where the x-degree of f(x) is defined as the maximum degree of any x term in f(x) degxf(x) = maxiI{i}

For example: Let Q(x,y)=y4x2.

https://wiki.cse.buffalo.edu/cse545/sites/wiki.cse.buffalo.edu.cse545/files/76/Fig1.jpg

Hence, Q(x,y) has a zero of multiplicity 1 at (0,0).

Let Q(x,y)=y+6x2.

https://wiki.cse.buffalo.edu/cse545/sites/wiki.cse.buffalo.edu.cse545/files/76/Fig2.jpg

Hence, Q(x,y) has a zero of multiplicity 1 at (0,0).

Let Q(x,y)=(y4x2)(y+6x2)=y2+6x2y4x2y24x4

https://wiki.cse.buffalo.edu/cse545/sites/wiki.cse.buffalo.edu.cse545/files/76/Fig3.jpg

Hence, Q(x,y) has a zero of multiplicity 2 at (0,0).

Similarly, if Q(x,y)=[(yβ)4(xα)2)][(yβ)+6(xα)2)] Then, Q(x,y) has a zero of multiplicity 2 at (α,β).

General definition of multiplicity

Q(x,y) has r roots at (α,β) if Q(x,y) has a zero of multiplicity r at (α,β) when (α,β)(0,0).

Algorithm

Let the transmitted codeword be (f(α1),f(α2),,f(αn)),(α1,α2,,αn) be the support set of the transmitted codeword & the received word be (β1,β2,,βn)

The algorithm is as follows:

Interpolation step

For a received vector (β1,β2,,βn), construct a non-zero bi-variate polynomial Q(x,y) with (1,k)weighted degree of at most d such that Q has a zero of multiplicity r at each of the points (αi,βi) where 1in

Q(αi,βi)=0

Factorization step

Find all the factors of Q(x,y) of the form yp(x) and p(αi)=βi for at least t values of i

where 0in & p(x) is a polynomial of degree k

Recall that polynomials of degree k are in 1 to 1 correspondence with codewords. Hence, this step outputs the list of codewords.

Analysis

Interpolation step

Lemma: Interpolation step implies (r+12) constraints on the coefficients of ai

Let Q(x,y)=i=0,j=0i=m,j=pai,jxiyj where degxQ(x,y)=m and degyQ(x,y)=p

Then, Q(x+α,y+β) = u=0,v=0r Qu,v (α,β) xu yv ........................(Equation 1)

where Qu,v (x,y) = i=0,j=0i=m,j=p (iu) (jv) ai,j xiu yjv

Proof of Equation 1:

Q(x+α,y+β)=i,jai,j(x+α)i(y+β)j
Q(x+α,y+β)=i,jai,j(u(iu)xuαiu)(v(iv)yvβjv).................Using binomial expansion
Q(x+α,y+β)=u,vxuyv(i,j(iu)(iv)ai,jαiuβjv)
Q(x+α,y+β)=u,v Qu,v(α,β)xuyv

Proof of Lemma:

The polynomial Q(x,y) has a zero of multiplicity r at (α,β) if

Qu,v (α,β) 0 such that 0u+vr1
u can take rv values as 0vr1. Thus, the total number of constraints is

v=0r1rv = (r+12)

Thus, (r+12) number of selections can be made for (u,v) and each selection implies constraints on the coefficients of ai

Factorization step

Proposition:

Q(x,p(x))0 if yp(x) is a factor of Q(x,y)

Proof:

Since, yp(x) is a factor of Q(x,y), Q(x,y) can be represented as

Q(x,y)=L(x,y)(yp(x)) + R(x)

where, L(x,y) is the quotient obtained when Q(x,y) is divided by yp(x) R(x) is the remainder

Now, if y is replaced by p(x), Q(x,p(x)) 0, only if R(x) 0

Theorem:

If p(α)=β, then (xα)r is a factor of Q(x,p(x))

Proof:

Q(x,y) = u,v Qu,v (α,β) (xα)u (yβ)v...........................From Equation 2

Q(x,p(x)) = u,v Qu,v (α,β) (xα)u (p(x)β)v

Given, p(α) = β (p(x)β) mod (xα) = 0

Hence, (xα)u (p(x)β)v mod (xα)u+v = 0

Thus, (xα)r is a factor of Q(x,p(x)).

As proved above,

tr>D

t>Dr

D(D+2)2(k1)>n(r+12) where LHS is the upper bound on the number of coefficients of Q(x,y) and RHS is the earlier proved Lemma.

D=knr(r1)

Therefore, t=kn(11r)

Substitute r=2kn,

t>kn12>kn

Hence proved, that Guruswami–Sudan List Decoding Algorithm can list decode Reed-Solomon codes up to 1R errors.

References