English

Code Sparsification and its Applications

Data Structures and Algorithms 2023-11-03 v1

Abstract

We introduce a notion of code sparsification that generalizes the notion of cut sparsification in graphs. For a (linear) code CFqn\mathcal{C} \subseteq \mathbb{F}_q^n of dimension kk a (1±ϵ)(1 \pm \epsilon)-sparsification of size ss is given by a weighted set S[n]S \subseteq [n] with Ss|S| \leq s such that for every codeword cCc \in \mathcal{C} the projection cSc|_S of cc to the set SS has (weighted) hamming weight which is a (1±ϵ)(1 \pm \epsilon) approximation of the hamming weight of cc. We show that for every code there exists a (1±ϵ)(1 \pm \epsilon)-sparsification of size s=O~(klog(q)/ϵ2)s = \widetilde{O}(k \log (q) / \epsilon^2). This immediately implies known results on graph and hypergraph cut sparsification up to polylogarithmic factors (with a simple unified proof). One application of our result is near-linear size sparsifiers for constraint satisfaction problems (CSPs) over Fp\mathbb{F}_p-valued variables whose unsatisfying assignments can be expressed as the zeros of a linear equation modulo a prime pp. Building on this, we obtain a complete characterization of ternary Boolean CSPs that admit near-linear size sparsification. Finally, by connections between the eigenvalues of the Laplacians of Cayley graphs over F2k\mathbb{F}_2^k to the weights of codewords, we also give the first proof of the existence of spectral Cayley graph sparsifiers over F2k\mathbb{F}_2^k by Cayley graphs, i.e., where we sparsify the set of generators to nearly-optimal size.

Keywords

Cite

@article{arxiv.2311.00788,
  title  = {Code Sparsification and its Applications},
  author = {Sanjeev Khanna and Aaron L Putterman and Madhu Sudan},
  journal= {arXiv preprint arXiv:2311.00788},
  year   = {2023}
}
R2 v1 2026-06-28T13:09:00.089Z