Linear space streaming lower bounds for approximating CSPs

Chi-Ning Chou, Alexander Golovnev, Madhu Sudan, Ameya Velingker, Santhoshini Velusamy

This paper, titled "Linear Space Streaming Lower Bounds for Approximating CSPs," is a major theoretical contribution to the field of streaming algorithms. It provides a definitive answer to a long-standing question: How much memory do you need to solve optimization problems when the data arrives in a massive, one-way stream?

TL;DR

The authors prove that for a huge class of Constraint Satisfaction Problems (CSPs), it is impossible to beat a "trivial" random-guessing strategy unless your streaming algorithm uses memory proportional to the number of variables ($\Omega(n)$ space). This effectively establishes that for problems like Max-SAT or Max-Coloring, sublinear-space streaming algorithms are no better than simple coin-flipping.

What Problem Does This Paper Address?

Constraint Satisfaction Problems (CSPs) are the bread and butter of combinatorial optimization. Think of Max-Cut (partitioning a graph to maximize edges between sides) or Max-SAT (finding an assignment to satisfy as many logic clauses as possible).

In the streaming setting, an algorithm sees these constraints one by one and must maintain a tiny "sketch" in memory to estimate the maximum number of satisfiable constraints at the end. For years, researchers wondered: Can we achieve a "non-trivial" approximation (something better than just guessing) using very little memory—say, $\sqrt{n}$ or polylogarithmic space?

While a 2019 breakthrough by Kapralov and Krachun proved that Max-Cut requires linear space, the status of more complex CSPs (with more variables per constraint or larger alphabets) remained a mystery. This paper aims to close that gap for all CSPs.

Methods

The authors use a "tour-de-force" of Communication Complexity and Fourier Analysis.

  1. Communication Games: They reduce the streaming problem to a multi-player communication game called Implicit Randomized Mask Detection (IRMD). In this game, players receive pieces of a puzzle (constraints) and must determine if there is a hidden "ground truth" assignment or if the data is just random noise.
  2. Fourier Analysis over Finite Fields: To prove that players can't distinguish signal from noise without massive communication, the authors analyze the "Fourier mass" of the players' knowledge.
  3. C-Boundedness: They employ a sophisticated property called "boundedness." They show that as long as the information a player has is "spread out" (bounded) across many Fourier coefficients, a random set of new constraints won't "leak" enough information to help the next player.
  4. Folding: They introduce a "folding" technique that simplifies complex constraints into a linear-algebraic form, allowing them to extend results from binary variables (0 or 1) to any alphabet size $q$.

Datasets

As a theoretical computer science paper, this work does not use empirical datasets or training sets. Instead, it defines and analyzes synthetic problem instances of CSPs, specifically focusing on a core problem called Max $k$-LIN-mod $q$ (systems of linear equations over $k$ variables modulo $q$).

Key Insights and Ideas

  • The "Wideness" Property: The authors identify a property called "wideness." If a CSP is "wide" (meaning its constraints are satisfied by a diverse enough set of assignments), it is approximation-resistant. You cannot beat the trivial baseline without $\Omega(n)$ space.
  • The $q$-Factor Barrier: For any CSP, the authors show that trying to improve the approximation ratio by even a factor of $q$ (the size of the variable's alphabet) forces the algorithm to use linear space.
  • Information Leakage via Matchings: A key "aha moment" is the realization that random hypermatchings (constraints that don't share variables) are incredibly poor at revealing global structure. Even if you see many of them, the "posterior distribution" of the hidden assignment remains nearly uniform unless you have enough memory to store the connections between them.

Key Results

  • Universal Hardness: For every CSP on $n$ variables with alphabet $q$, beating the trivial approximation by a factor of $q$ requires $\Omega(n)$ space.
  • Optimal Hardness for Max $k$-LIN: They prove an optimal inapproximability result for Max $k$-LIN-mod $q$, showing that achieving a ratio better than $q^{-(k-1)}$ is impossible in sublinear space.
  • Extension to Classic Problems: They show that many natural problems, including Max $q$-Coloring and Max $k$-SAT, are wide and thus require linear space for any non-trivial approximation.

Limitations and Future Work

  • The Space Gap: The authors prove lower bounds of $\Omega(n)$, but "trivial" algorithms that actually solve the problem often require $O(n \log n)$ space. Closing this logarithmic gap remains an open challenge.
  • The Boundary of Sketching: While this paper rules out sublinear space for many problems, some specific CSPs (like Max-Dicut) do allow for slightly better-than-trivial approximations in $\sqrt{n}$ space. The authors note that finding the exact boundary between problems that are "sketchable" vs. "linear-space hard" is a wide-open question.
  • Multi-pass Streaming: The results here apply to single-pass streams. Whether multiple passes over the data can significantly reduce the space requirement for these CSPs is still unknown.

Summary updated

BibTeX
@inproceedings{chou2022linear,
  author = {Chi-Ning Chou and Alexander Golovnev and Madhu Sudan and Ameya Velingker and Santhoshini Velusamy},
  title = {{Linear space streaming lower bounds for approximating CSPs}},
  booktitle = {STOC},
  year = {2022},
  doi = {10.1145/3519935.3519983},
}
Figure