TOPICS
Search

Locally Correctable Code


A locally correctable code is an error-correcting code for which a randomized algorithm recovers any requested coordinate of a codeword by reading only a bounded number of coordinates of a corrupted word (Dvir 2016).

For a binary injective encoding C:{0,1}^k->{0,1}^n, a (q,delta,epsilon) locally correctable code has an algorithm that makes at most q queries and, for every message b, requested coordinate u, and word y satisfying d_H(y,C(b))<=deltan, returns C(b)_u with probability at least 1-epsilon. Here d_H is the Hamming distance. Correction recovers a coordinate of the encoded codeword, rather than merely a coordinate of the original message.

Janzer and Manohar (2026) proved that a binary linear code with three-query local correction, fixed delta>0, and fixed epsilon<1/2 must have

 n>=2^(Omega(sqrt(k))),

where Omega is big-omega notation. Reed-Muller codes attain n=2^(O(sqrt(k))), where O is big-O notation, so the dependence on k is optimal up to constant factors in the exponent. The result is specific to binary linear codes and three queries. Janzer and Manohar (2026) credit GPT-6 Astra with completing key parts of their proof approach, which they subsequently simplified.


See also

Codeword, Error-Correcting Code, Hamming Distance, Linear Code, Reed-Muller Code

Explore with Wolfram|Alpha

References

Dvir, Z. "Locally Correctable Codes." Lecture 8 in Linear Locally Decodable Codes. 2016. https://www.cs.princeton.edu/~zdvir/LDCnotes/LDC8.pdf.Janzer, O. and Manohar, P. "Reed-Muller Codes Are Optimal Binary Linear 3-Query LCCs." 2 Nov 2026. https://arxiv.org/abs/2611.03145v1.

Cite this as:

Weisstein, Eric W. "Locally Correctable Code." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/LocallyCorrectableCode.html

Subject classifications