TL;DR
When estimating the maximum value of massive optimization problems (like Max-Cut or Max-SAT) in a single pass with tiny memory, classical algorithms hit brutal mathematical walls. This paper shows that if you give a streaming algorithm access to a machine learning oracle whose guesses are barely better than a coin flip, you can shatter those walls completely. Instead of settling for rough estimates, you can get arbitrarily close to the exact optimal value using almost no memory.
What Problem Does This Paper Address?
Constraint Satisfaction Problems (CSPs)—assigning values to variables to satisfy as many rules as possible—sit at the heart of computer science, powering everything from circuit design to graphical models in machine learning. Here, the authors look at Boolean Max-$k$CSPs (where variables are $+1$ or $-1$, and each rule involves $k$ variables) in the streaming model. Imagine millions of constraints flying by one at a time, and your computer only has enough RAM to store a tiny fraction of them. Because outputting the actual variable assignments takes too much memory, the goal is simply to estimate the value of the best possible assignment.
Without outside help, streaming algorithms face bleak, unconditional limits. For instance, in problems like Max-DiCut (splitting a directed graph to maximize edges going left-to-right), getting better than a $4/9$-approximation requires memory that grows with $\sqrt{n}$ (where $n$ is the number of variables).
To bypass worst-case limits, researchers study learning-augmented algorithms, equipping them with a noisy ML "oracle" that predicts each variable's optimal state correctly with probability $1/2 + \varepsilon$ (just slightly better than random guessing). Prior work on Max-Cut showed such hints could beat the $1/2$-approximation barrier, yielding $1/2 + \Omega(\varepsilon^2)$. The authors ask: can we push this much further—to any Boolean CSP, and to near-perfect accuracy?
Methods
Prior learning-augmented approaches essentially "followed the predictions"—evaluating the cut suggested by the noisy oracle and counting how many optimal edges survived the noise. Because noise flips variables nearly half the time, that strategy hits a hard ceiling.
The authors flip the script: instead of measuring what survives the noise, they mathematically invert the noise. 1. Linear Noise Inversion: Viewing the oracle as a binary symmetric channel, any constraint's predicted outcome falls into specific buckets (e.g., for Max-DiCut: predicted left-to-right, same-side, or right-to-left). The expected counts of these buckets form an invertible linear system of the true, hidden optimal counts. Using Gaussian elimination, the authors build an unbiased linear decoder for the optimal value. 2. Low/High-Degree Split: Unbiased doesn't automatically mean accurate—if one "hub" variable appears in thousands of constraints, a single bad oracle guess creates massive variance. To tame this, the authors split variables into low-degree ($L$) and high-degree ($H$) sets. Inside $L$, dependencies are weak, so counts concentrate nicely. Meanwhile, $H$ is tiny, allowing the algorithm to track individual statistics for each hub against $L$ and greedily pick each hub's best assignment at the end.
To run this in a single streaming pass without knowing variable degrees upfront, they use standard streaming sketches (reservoir sampling for insertion-only streams; $\ell_0$-sampling for dynamic streams with deletions) to catch all high-degree variables on the fly. Finally, they extend from 2-variable rules to general Boolean Max-$k$CSPs via a black-box reduction to Max-$k$AND.
Datasets
Not discussed in the paper. (This is a purely theoretical work proving worst-case mathematical guarantees.)
Key Insights and Ideas
- Don't trust the noisy cut; decode it: Treating ML predictions as a noisy communication channel lets you undo the corruption via linear algebra. Even if $\varepsilon = 0.01$ (51% accuracy), the transition matrix has full rank, meaning the true optimal value is recoverable given enough constraints.
- A "non-realizable" estimator: Intriguingly, the final number the algorithm outputs doesn't correspond to any explicit assignment the algorithm actually constructs. It is a decoded statistical estimate of the optimum—yet the authors prove it is tightly sandwiched within $(1-\eta)$ of the true optimal score.
- Moving thresholds for higher arity ($k \ge 3$): When constraints link 3 or more variables, hub interactions get messy. The authors introduce a clever moving threshold to grow the high-degree set $H$, balancing the size of $H$ (via a harmonic series bound) against the variance needed to union-bound over all $2^{|H|}$ possible hub assignments.
Key Results
Given an $\varepsilon$-accurate oracle (and a highly accurate estimate of $\varepsilon$), for any desired error $\eta \in (0, 1)$, the single-pass algorithm achieves a $(1-\eta)$-approximation with probability $1-\delta$:
- For Boolean Max-2CSPs: Uses $\operatorname{poly}(1/\varepsilon, 1/\delta, 1/\eta)$ words of space in insertion-only streams—completely independent of the number of variables $n$! In dynamic streams (insertions and deletions), it uses $\operatorname{poly}(1/\varepsilon, 1/\delta, 1/\eta, \log n)$ space.
- For Boolean Max-$k$CSPs ($k \ge 3$): Uses $\exp(\operatorname{poly}(k, 1/\varepsilon^k, 1/\eta, \log(1/\delta)))$ space in insertion-only streams (and an extra $\operatorname{poly}(\log n)$ factor in dynamic streams).
- Shattering classical barriers: Classical $o(\sqrt{n})$-space algorithms cannot beat $4/9$ for Max-2AND or $1/\sqrt{2}$ for Max-$k$SAT, and $o(n)$-space algorithms cannot beat $2^{-(k-1)}$ for Max-$k$AND. With weak predictions, this algorithm gets arbitrarily close to $1$ (e.g., $0.999$-approximation) in constant or polylogarithmic space.
Limitations and Future Work
- Knowing the noise rate $\varepsilon$: Because the algorithm explicitly inverts a matrix built from $\varepsilon$, it requires knowing $\varepsilon$ in advance to high accuracy—specifically within a $(1 \pm O(\eta))$ factor. In contrast, prior $1/2 + \Omega(\varepsilon^2)$ Max-Cut work only needed a rough constant-factor estimate of $\varepsilon$. Relaxing this requirement (or proving it's impossible to relax) is a primary open question.
- Beyond Boolean: The current framework relies on binary $\{-1, +1\}$ labels. Generalizing both the noisy prediction model and the algebraic decoding techniques to larger $q$-ary alphabets remains an open direction for future research.
Summary updated