Good Locally Testable Codes
- Good LTCs are error-correcting codes with constant rate, relative distance, and constant query complexity, verified by a randomized local tester.
- They employ high-dimensional expansion techniques and structures like 2D Cayley complexes to ensure robust local-to-global testability.
- These constructions overcome classical trade-offs, significantly advancing both classical and quantum error correction methodologies.
A good Locally Testable Code (LTC) is a family of error-correcting codes with the following properties: for some absolute constants (independent of the block-length ), each is a linear code of length , dimension , and minimum Hamming distance , equipped with a randomized tester that, on input , queries at most positions and either accepts or rejects, with the rejection probability lower-bounded (linearly) in the normalized Hamming distance from to . The existence and explicit construction of such codes, sometimes called -LTCs, was a central open problem in coding theory and combinatorics, resolved only recently.
1. Definitional Framework and Parameters
A -query LTC over a finite field is a code family such that:
- Rate: for some (constant rate).
- Relative distance: for some (constant relative distance).
- Local testability: There exists a tester that, on input , selects (with prescribed randomness) at most coordinates and decides acceptance/rejection, with:
- Completeness: .
- Soundness: For all , for some .
The minimal such that a code family achieves all three properties is called its query complexity. Codes with constant , , and are termed asymptotically good LTCs, or -LTCs.
2. Main Constructions of Good LTCs
Historically, known LTCs exhibited trade-offs: algebraic constructions (Hadamard, Reed–Muller) achieved local testability at the expense of vanishing rate, while high-rate codes achieved only superconstant or sublinear query complexity. Explicit construction of -LTCs was achieved independently via several methodologies in 2021–2022, fundamentally relying on high-dimensional expanders and algebraic-combinatorial techniques.
2.1 Two-Dimensional Cayley Complex and Product-code Construction
In the construction of Dinur–Evra–Livne–Lubotzky–Mozes (Dinur et al., 2022), and concurrently in (Dinur et al., 2021, Panteleev et al., 2021), the code is defined over the 2D left-right Cayley complex :
- Vertices , edges correspond to left/right multiplications by symmetric generators , and squares are the commutator cycles .
- For each edge, local consistency is enforced by a base code (e.g., or ).
- Global codewords are functions such that for every edge, the induced vector on incident squares is a codeword in the corresponding base code.
- The tester selects a random vertex, queries all incident squares (), and checks that the collection forms a valid codeword of the tensor product code .
Key analysis steps utilize:
- Spectral-expansion of the Cayley graphs to ensure rapid mixing and small-set expansion.
- Distance and rate derived from the expansion and the distance of the base codes.
- Soundness analysis (robust local testability): rejection probability is linearly lower-bounded in normalized Hamming distance, via the propagation of disagreements along the high-dimensional expander skeleton, and an iterative local improvement procedure.
The parameters achieved are (for explicit, binary codes): for some absolute constants ,
- ,
- minimum distance at least ,
- locality ,
- rejection probability at least for all .
This construction resolves the c³-LTC conjecture for linear codes (Dinur et al., 2022, Dinur et al., 2021, Panteleev et al., 2021).
2.2 Lossless Expanders and Balanced Product Complexes
Further avenues, e.g., (Lin et al., 2022), use chain complexes built from balanced products of bipartite lossless expanders endowed with free group action. Codes are defined as the kernel of a block-sparse parity-check matrix, where each row corresponds to a local constraint of bounded weight (the row/column degree of the expander). Expansion in the underlying graphs guarantees distance and soundness, making every code in the family a -locally testable code with blocklength , dimension , relative distance , and constant .
3. High-Dimensional Expansion Framework
A central insight is that local testability in these codes reduces to high-dimensional coboundary or cosystolic expansion properties. The crucial features are:
- Expander graphs (Ramanujan, 1-sided lossless, Cayley) serve as the 1- and 2-skeletons.
- Square complexes (and, in quantum settings, 3- or 4-complexes) lift local code testability to the global code via combinatorial expansion.
- The local-to-global argument proceeds through a robust version of the classical Sipser–Spielman expander code analysis: local disagreement propagates across the expander, forcing global disagreement unless the input agrees with some codeword.
In the algebraic setting, cosystolic expansion of sheaves on high-dimensional cell complexes (First et al., 28 Mar 2024, First et al., 2022), or high-dimensional expanding systems (Kaufman et al., 2021), yields conditions under which the corresponding cocycle code family is a good LTC. The key is expansion in all links of the complex, giving local-to-global testability.
4. Lower Bounds, Limitations, and Alphabet Dependencies
Negative results constrain the possibilities for LTCs:
- Dense LTCs (i.e., codes with dense tester hypergraphs) cannot be asymptotically good: any 3-query LTC with tester-density has rate at most ; with , rate at most for density (Dinur et al., 2010). This demonstrates that good LTCs must be built from sparse constraint structures.
- For affine-invariant codes with constant-query testers, the rate must vanish as , providing tight lower bounds for this structural class (Bhattacharyya et al., 2015).
Recent progress achieved a precise dichotomy in alphabet-query complexity tradeoffs. There are fundamental obstructions for 2-query LTCs with binary alphabet (Ben-Sasson–Goldreich–Sudan impossibility), but constructions with queries circumvent this, achieving good LTCs over binary alphabets (First et al., 18 Dec 2025). On any alphabet of size , good 2-query LTCs now exist. For -linear codes, dimension allows 2-query LTCs, while for dimension $1$ (i.e., field alphabet) at least is necessary.
5. Methodological Table: Modern Approaches to Good LTCs
| Method | Key Reference(s) | Alphabet size | Rate & Distance | Query Complexity | Framework |
|---|---|---|---|---|---|
| 2D Cayley Complex | (Dinur et al., 2022, Dinur et al., 2021, Panteleev et al., 2021) | binary/finite field | High-dimensional expansion, group theory | ||
| Balanced Product Expanders | (Lin et al., 2022) | binary | Lossless expanders, combinatorial | ||
| Sheaf–Expander Lifts | (First et al., 28 Mar 2024, First et al., 2022) | large/binary | $2$ (or $3$) | Cosystolic expansion, sheaf theory | |
| Polynomial Amplification | (Kopparty et al., 2015) | binary | Distance amplification, tensor codes |
6. Principal Open Problems and Generalizations
The c³-problem for classical LTCs—existence of infinite families with all three parameters constant—is resolved. Strong technical barriers remain in exploring:
- Explicit quantum-LTCs with polylogarithmic soundness and constant queries (Dinur et al., 12 Feb 2024).
- Tighter bounds for parameters and constructive, practical codes.
- Extending expansion/testability equivalence to higher-dimensional lifted product complexes, affecting both classical and quantum error correction.
- Precise quantitative tradeoffs for alphabet size, code linearity, and query complexity (First et al., 18 Dec 2025).
7. Historical Context and Significance
Prior to 2021, all known good LTCs failed to simultaneously achieve constant rate, constant distance, and constant query locality. Early constructions relied on algebraic codes with high redundancy or large alphabets. The breakthrough via high-dimensional combinatorics, balanced product expanders, and the use of topological sheaf theory represents a significant advance, unifying a decade's progress in algebraic, combinatorial, and geometric coding theory (Dinur et al., 2022, Dinur et al., 2021, Panteleev et al., 2021, Lin et al., 2022).
This line of work is directly connected to the construction of quantum LDPC and LTC codes, expanding the applicability of expansion methods and opening avenues for further research in robustness, decoding, and practical implementation.
References:
- "Good Locally Testable Codes" (Dinur et al., 2022).
- "Locally Testable Codes with constant rate, distance, and locality" (Dinur et al., 2021).
- "Asymptotically Good Quantum and Locally Testable Classical LDPC Codes" (Panteleev et al., 2021).
- "c³-Locally Testable Codes from Lossless Expanders" (Lin et al., 2022).
- "Dense locally testable codes cannot have constant rate and distance" (Dinur et al., 2010).
- "Lower bounds for constant query affine-invariant LCCs and LTCs" (Bhattacharyya et al., 2015).
- "Good Locally Testable Codes with Small Alphabet and Small Query Size" (First et al., 18 Dec 2025).
- "Cosystolic Expansion of Sheaves on Posets with Applications to Good 2-Query Locally Testable Codes and Lifted Codes" (First et al., 28 Mar 2024).
- "On Good $2$-Query Locally Testable Codes from Sheaves on High Dimensional Expanders" (First et al., 2022).