Weizmann Logo
Electronic Colloquium on Computational Complexity

Under the auspices of the Computational Complexity Foundation (CCF)

Login | Register | Classic Style



TR07-060 | 11th July 2007 00:00

Sparse Random Linear Codes are Locally Decodable and Testable



We show that random sparse binary linear codes are locally testable and locally decodable (under any linear encoding) with constant queries (with probability tending to one). By sparse, we mean that the code should have only polynomially many codewords. Our results are the first to show that local decodability and testability can be found in random, {\em unstructured}, codes. Previously known locally decodable or testable codes were either classical algebraic codes, or new ones constructed very carefully.

We obtain our results by extending the techniques of Kaufman and Litsyn (FOCS 2005) who used the MacWilliams Identities to show that ``almost-orthogonal'' binary codes are locally testable. Their definition of almost orthogonality expected codewords to disagree in $\frac n2 \pm O(\sqrt{n})$ coordinates in codes of block length $n$. The only families of codes known to have this property were the dual-BCH codes. We extend their techniques, and simplify them in the process, to include codes of distance at least $\frac n2 - O(n^{1 - \gamma})$ for any $\gamma > 0$, provided the number of codewords is $O(n^t)$ for some constant $t$. Thus our results derive the local testability of linear codes from the classical coding theory parameters, namely the {\em rate} and the {\em distance} of the codes.

More significantly, we show that this technique can also be used to prove the ``self-correctability'' of sparse codes of sufficiently large distance. This allows us to show that random linear codes under linear encoding functions are {\em locally decodable}. This ought to be surprising in that the definition of a code doesn't specify the encoding function used! Our results effectively say that any linear function of the bits of the codeword can be locally decoded in this case.

ISSN 1433-8092 | Imprint