English

Adversarial Robustness on Insertion-Deletion Streams

Data Structures and Algorithms 2026-04-08 v2

Abstract

We study adversarially robust algorithms for insertion-deletion (turnstile) streams, where future updates may depend on past algorithm outputs. While robust algorithms exist for insertion-only streams with only a polylogarithmic overhead in memory over non-robust algorithms, it was widely conjectured that turnstile streams of length polynomial in the universe size nn require space linear in nn. We refute this conjecture, showing that robustness can be achieved using space which is significantly sublinear in nn. Our framework combines multiple linear sketches in a novel estimator-corrector-learner framework, yielding the first insertion-deletion algorithms that approximate: (1) the second moment F2F_2 up to a (1+ε)(1+\varepsilon)-factor in polylogarithmic space, (2) any symmetric function F\cal{F} with an O(1)\mathcal{O}(1)-approximate triangle inequality up to a 2O(C)2^{\mathcal{O}(C)} factor in O~(n1/C)S(n)\tilde{\mathcal{O}}(n^{1/C}) \cdot S(n) bits of space, where SS is the space required to approximate F\cal{F} non-robustly; this includes a broad class of functions such as the L1L_1-norm, the support size F0F_0, and non-normed losses such as the MM-estimators, and (3) L2L_2 heavy hitters. For the F2F_2 moment, our algorithm is optimal up to poly((logn)/ε)\textrm{poly}((\log n)/\varepsilon) factors. Given the recent results of Gribelyuk et al. (STOC, 2025), this shows an exponential separation between linear sketches and non-linear sketches for achieving adversarial robustness in turnstile streams.

Keywords

Cite

@article{arxiv.2602.20854,
  title  = {Adversarial Robustness on Insertion-Deletion Streams},
  author = {Elena Gribelyuk and Honghao Lin and David P. Woodruff and Huacheng Yu and Samson Zhou},
  journal= {arXiv preprint arXiv:2602.20854},
  year   = {2026}
}
R2 v1 2026-07-01T10:49:49.682Z