Adversarial Robustness for Small Frequency Moments and a Weak Equivalence Theorem for Turnstile Streams
Abstract
We study adversarially robust algorithms for insertion-deletion (turnstile) streams, where future updates may depend on past algorithm outputs. While recent work achieved a robust (1+ε)-approximation for the second moment F2 in polylogarithmic space, achieving high accuracy for other frequency moments remained a major open question; for p∈[0,2), including the fundamental distinct elements problem (F0), only constant-factor approximations were known in sublinear space. We close this gap, showing that (1+ε)-approximate robustness can be achieved in polylogarithmic space for all p∈[0,2]. Our approach generalizes the estimator-corrector-learner framework to non-Hilbert spaces by dynamically maintaining implicit isometric embeddings into L2 and performing regularized kernel ridge regression over adaptively discovered hard queries, yielding the first insertion-deletion algorithms that approximate: (1) the p-th frequency moment Fp up to a (1+ε)-factor in poly(1/ε, n) space for all p∈[0,2], including the support size F0, (2) metric and information-theoretic quantities, including the Earth Mover Distance (EMD) and k-median clustering cost over [Δ]d up to an O(d Δ)-factor, and the Shannon entropy up to an ε-additive error, and (3) non-normed symmetric losses defined by Bernstein functions up to a (1+ε)-factor. For the Fp moments, our algorithm is optimal up to poly(1/ε, n) factors. Furthermore, we establish a weak equivalence between classical oblivious sketching and adversarial robustness. We prove that for any sub-multiplicative norm, the existence of an efficient classical linear sketch is equivalent to the existence of an efficient robust turnstile algorithm, up to polynomial factors, formalizing L1 embeddability as the fundamental mechanism governing both models.
Turn this paper into a full lesson
ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.