- The paper disproves the conjectured Ω(n)-space barrier by achieving adversarially robust (1+ε)-approximation of F2 with poly(1/ε, log n) space for polynomial-length insertion-deletion streams.
- The estimator-corrector-learner framework combines recursively organized sketches with fresh randomness, limiting adaptive interactions and achieving approximately Õ(ε⁻⁴ log⁸ n) space for robust F2 estimation.
- The framework also supports robust L2 heavy hitters and broad approximate-triangle-inequality functions, while leaving open tighter logarithmic bounds, p>2 moments, and implementation efficiency.
This paper refutes a long-standing conjecture that adversarially robust constant-factor approximation of frequency moments on insertion-deletion (turnstile) streams requires Ω(n) space. The authors construct the first adversarially robust turnstile algorithms that achieve sublinear-in-n space for F2 moment estimation, L2 heavy hitters, and a broad class of symmetric functions satisfying an approximate triangle inequality. The key conceptual contribution is a non-linear algorithmic framework—termed the estimator-corrector-learner framework—that composes many linear sketches, each of which is only required to withstand a small number of adaptive queries, thereby circumventing known lower bounds against linear sketches.
Background and motivation
In the adversarially robust streaming model of Ben-Eliezer, Jayaram, Woodruff, and Yogev, updates to an implicit frequency vector $\bx \in \mathbb{R}^n$ may be chosen adaptively based on the full transcript of prior updates and algorithm outputs; the algorithm must produce accurate estimates at every one of $m = \poly(n)$ time steps. For insertion-only streams, robustness is now achievable for many problems with only polylogarithmic overhead over non-robust algorithms. For turnstile streams, however, the situation was far less understood: differential-privacy-based approaches yield space sublinear in the stream length m, but become linear in n when $m = \poly(n)$.
The negative results are sharp for linear sketches: Hardt and Woodruff, followed by Gribelyuk et al. (FOCS 2024, STOC 2025), showed adaptive attacks demonstrating that any linear sketch achieving constant-factor approximation to Fp moments on adversarial insertion-deletion streams requires sketching dimension n0. Since all previously known large-length turnstile algorithms are linear sketches, and since optimal non-adaptive turnstile algorithms were characterized by linear sketching, it was conjectured that any robust constant-factor n1 algorithm needs n2 space. This paper shows the conjecture is false.
The main result for F2 estimation
Theorem 1.1: For any n3, there exists an adversarially robust insertion-deletion streaming algorithm that outputs n4-approximations to the n5 moment at all times using n6 bits of space for n7.
Because Braverman and Zamir's lower bound implies even non-adaptive n8 estimation requires n9 space, this bound is optimal up to F20 factors. Combined with the linear-sketch lower bounds of Gribelyuk et al., the result establishes an exponential separation between linear and non-linear sketches for adversarial robustness on turnstile streams—a strong claim that directly contradicts the intuition that optimal turnstile algorithms "might as well be linear sketches," which holds in the oblivious setting but breaks under adaptivity.
The estimator-corrector-learner framework
The core difficulty is that linear sketches draw their randomness once at initialization and behave deterministically thereafter; an adaptive adversary can extract the random bits over F21 queries and then construct a breaking input. The paper's remedy is to inject fresh randomness during execution by initializing new independent sketches mid-stream.
The simplified setting assumes a prefix vector F22 is already sketched by a matrix F23, while a suffix F24 arrives online and can additionally be sketched by a fresh matrix F25. Three components operate jointly:
- Estimator: outputs F26 as an estimate of F27, where F28 is the learner's current approximation of F29. When L20 is uncorrelated with L21 relative to L22, near-orthogonality makes this accurate.
- Corrector: uses the sketch L23 to detect incorrect estimates, returning its own estimate whenever the estimator fails.
- Learner: maintains L24 as a linear combination of queries on which the estimate was incorrect, updating via L25.
The analysis hinges on a progress argument: an incorrect estimate forces L26, so choosing the step size L27 yields L28. Since L29, the iterate converges within $\bx \in \mathbb{R}^n$0 updates—hence the corrector interacts with the adversary only $\bx \in \mathbb{R}^n$1 times per block.
Robustness then follows from the bounded computation paths technique: a deterministic adversary can generate at most $\bx \in \mathbb{R}^n$2 distinct output patterns, so setting the failure probability to roughly $\bx \in \mathbb{R}^n$3 and applying a union bound protects every sketch. Space scales linearly in $\bx \in \mathbb{R}^n$4 (where $\bx \in \mathbb{R}^n$5 is the block count), giving a direct quantitative trade-off between how often the estimator errs and total memory.
Recursion via a tree structure
To handle the fact that lower-level sketches themselves face many adaptive queries, the algorithm recurses: estimating $\bx \in \mathbb{R}^n$6 given a rounded sketch of $\bx \in \mathbb{R}^n$7 is structurally identical to the original problem but on a shorter stream. Concretely, the stream is partitioned into a $\bx \in \mathbb{R}^n$8-ary tree of height $\bx \in \mathbb{R}^n$9 with $m = \poly(n)$0. Setting $m = \poly(n)$1 and $m = \poly(n)$2 ensures each sketch handles at most $m = \poly(n)$3 adaptive interactions, and only one active sketch per level is maintained at any time. The total space works out to $m = \poly(n)$4 bits, dominated by $m = \poly(n)$5 levels each holding $m = \poly(n)$6 sketches of dimension $m = \poly(n)$7. Correctness is established through a level-wise invariant showing each output lies within a $m = \poly(n)$8-factor band around $m = \poly(n)$9, with errors telescoping across at most m0 levels.
L2 heavy hitters
Building on the robust m1 estimator, the paper gives the first adversarially robust turnstile algorithm for m2 heavy hitters in m3 space. Given an approximate norm bound m4, the algorithm deterministically probes each coordinate by injecting mass m5 and recomputing the norm in both directions. A clean analytic separation shows that heavy coordinates (m6) increase the squared norm by at least m7-scale amounts, whereas non-heavy coordinates increase it by at most m8-scale amounts—a constant gap distinguishable by a m9-approximation. Since n0 heavy hitters for n1 are contained in the n2 set, this yields robust n3 heavy hitters for all n4, essentially matching the best classical (non-adaptive) bounds up to polynomial factors in n5.
Generalization to approximate triangle inequality functions
The framework extends to symmetric functions n6 satisfying a n7-approximate triangle inequality, provided a non-adaptive turnstile sketch using n8 bits achieving n9-approximation exists for some constant $m = \poly(n)$0. The resulting robust algorithm uses $m = \poly(n)$1 bits and outputs a $m = \poly(n)$2-approximation for any constant $m = \poly(n)$3.
The progress mechanism changes: the estimator $m = \poly(n)$4 is always an overestimate by triangle inequality, and if it exceeds $m = \poly(n)$5, then $m = \poly(n)$6, so resetting the iterate to $m = \poly(n)$7 reduces $m = \poly(n)$8 by a constant factor. Combined with the assumption that $m = \poly(n)$9 takes values in Fp0, this bounds the number of updates per level to Fp1.
A notable application class arises from Bernstein functions Fp2: for Fp3 with Fp4, concavity and subadditivity give Fp5, i.e., Fp6. The paper further verifies that such Fp7 satisfies the slow-jumping, slow-dropping, and predictable conditions of the Braverman–Chestnut–Woodruff–Yang zero-one law, guaranteeing non-robust sketches exist. This covers the Fp8 norm, support size Fp9, n00 norms for n01, and robust-statistical losses including pseudo-Huber, Cauchy/Lorentzian, generalized Charbonnier, Welsch/Leclerc, and Geman–McClure losses. Notably, these include non-normed objectives outside the reach of standard moment machinery.
Limitations and open questions
Several caveats qualify the results. First, the general triangle-inequality theorem degrades the approximation ratio from the non-robust n02 to n03, and requires n04 values to lie in a polynomial range—an assumption that excludes functions with extreme dynamic ranges. Second, the n05 result achieves optimality only up to n06 factors; tightening these exponents (e.g., removing the n07 overhead from the tree structure) remains open. Third, for n08 no sublinear-space robust algorithm is known, and whether the exponential separation between linear and non-linear sketches extends beyond constant-factor approximations or to other function classes is unresolved. Finally, the paper does not address update time or the practicality of maintaining the full tree structure, leaving implementation cost as an open consideration.
Conclusion
This paper disproves the conjectured n09 barrier for adversarially robust turnstile streaming by introducing a non-linear composition of linear sketches in which each component faces only a bounded number of adaptive interactions. The framework delivers near-optimal polylogarithmic-space robust n10 estimation, matching robust n11 heavy hitters, and a generic reduction for approximate-triangle-inequality functions down to n12 space. Its principal conceptual lesson is that the equivalence between turnstile streaming and linear sketching, valid in the oblivious setting, does not survive adaptivity: robustness demands fresh randomness injected throughout execution rather than fixed upfront.