Code Sparsification and its Applications
Sanjeev Khanna, Aaron (Louie) Putterman, Madhu Sudan
Abstract
We introduce a notion of code sparsification that generalizes the notion of cut sparsification in graphs. For a (linear) code C ⊆ F n q of dimension k a (1 ± ϵ)-sparsification of size s is given by a weighted set S ⊆ [n] with |S| ≤ s such that for every codeword c ∈ C the projection c|S of c to the set S has (weighted) hamming weight which is a (1 ± ϵ) approximation of the hamming weight of c. We show that for every code there exists a (1 ± ϵ)-sparsification of size s = O(k log(q)/ϵ 2 ). This immediately implies known results on graph and hypergraph cut sparsification up to polylogarithmic factors (with a simple unified proof) -the former follows from the well-known fact that cuts in a graph form a linear code over F2, while the latter is obtained by a simple encoding of hypergraph cuts. Further, by connections between the eigenvalues of the Laplacians of Cayley graphs over F k 2 to the weights of codewords, we also give the first proof of the existence of spectral Cayley graph sparsifiers over F k 2 by Cayley graphs, i.e., where we sparsify the set of generators to nearly-optimal size. Additionally, this work can be viewed as a continuation of a line of works on building sparsifiers for constraint satisfaction problems (CSPs); this result shows that there exist near-linear size sparsifiers for CSPs over Fp-valued variables whose unsatisfying assignments can be expressed as the zeros of a linear equation modulo a prime p. As an application we give a full characterization of ternary Boolean CSPs (CSPs where the underlying predicate acts on three Boolean variables) that allow for near-linear size sparsification. This makes progress on a question posed by Kogan and Krauthgamer (ITCS 2015) asking which CSPs allow for near-linear size sparsifiers (in the number of variables).
At the heart of our result is a codeword counting bound that we believe is of independent interest. Indeed, extending Karger's cut-counting bound (SODA 1993), we show a novel decomposition theorem of linear codes: we show that every linear code has a (relatively) small subset of coordinates such that after deleting those coordinates, the code on the remaining coordinates has a smooth upper bound on the number of codewords of small weight. Using the deleted coordinates in addition to a (weighted) random sample of the remaining coordinates now allows us to sparsify the whole code. The proof of this decomposition theorem extends Karger's proof (and the contraction method) in a clean way, while enabling the extensions listed above without any additional complexity in the proofs.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext ea386cfc-0458-4ba2-a0fc-91e6968f9184Cited by top-tier papers8
- Efficient Algorithms and New Characterizations for CSP SparsificationSanjeev Khanna, Aaron Putterman, Madhu SudanSTOC 2025 · 12 citations
- Strong Sparsification for 1-in-3-SAT via Polynomial Freiman-RuzsaBenjamin Bedert, Tamio-Vesa Nakajima, Karolina Okrasa, Stanislav ZivnýFOCS 2025 · 3 citations
- Representative set statements for delta-matroids and the Mader delta-matroidMagnus WahlströmSODA 2024 · 2 citations
- Near-Optimal Size Linear Sketches for Hypergraph Cut SparsifiersSanjeev Khanna, Aaron Putterman, Madhu SudanFOCS 2024 · 2 citations
- Redundancy Is All You NeedJoshua Brakensiek, Venkatesan GuruswamiSTOC 2025 · 1 citation
Builds on4
- Towards tight bounds for spectral sparsification of hypergraphsMichael Kapralov, Robert Krauthgamer, Jakab Tardos, Yuichi YoshidaSTOC 2021 · 18 citations
- Near-linear Size Hypergraph Cut SparsifiersYu Chen, Sanjeev Khanna, Ansh NagdaFOCS 2020 · 15 citations
- Ultrasparse Ultrasparsifiers and Faster Laplacian System SolversArun Jambulapati, Aaron SidfordSODA 2021 · 12 citations
- Sparsifying Sums of NormsArun Jambulapati, James R. Lee, Yang P. Liu, Aaron SidfordFOCS 2023 · 7 citations
Related papers
- Sparsifying Cayley Graphs on Every GroupJun-Ting Hsieh, Daniel Z. Lee, Sidhanth Mohanty, Aaron Putterman et al.SODA 2026
- Quotient sparsification for submodular functionsKent QuanrudSODA 2024 · 4 citations
- Spectral Hypergraph Sparsifiers of Nearly Linear SizeMichael Kapralov, Robert Krauthgamer, Jakab Tardos, Yuichi YoshidaFOCS 2021 · 14 citations
- Quantum Speedup for Graph Sparsification, Cut Approximation and Laplacian SolvingSimon Apers, Ronald de WolfFOCS 2020 · 17 citations
- Quantum Speedup for Hypergraph SparsificationChenghua Liu, Minbo Gao, Zhengfeng Ji, Mingsheng YingICML 2025
