Lp Sampling in Distributed Data Streams with Applications to Adversarial Robustness

Abstract

In the distributed monitoring model, a data stream over a universe of size n is distributed over k servers, who must continuously provide certain statistics of the overall dataset, while minimizing communication with a central coordinator. In such settings, the ability to efficiently collect a random sample from the global stream is a powerful primitive, enabling a wide array of downstream tasks such as estimating frequency moments, detecting heavy hitters, or performing sparse recovery. Of particular interest is the task of producing a perfect Lp sample, which given a frequency vector f ∈ Rn, outputs an index i with probability fip\|f\|pp+1poly(n). In this paper, we resolve the problem of perfect Lp sampling for all p 1 in the distributed monitoring model. Specifically, our algorithm runs in kp-1 · polylog(n) bits of communication, which is optimal up to polylogarithmic factors. Utilizing our perfect Lp sampler, we achieve adversarially-robust distributed monitoring protocols for the Fp moment estimation problem, where the goal is to provide a (1+)-approximation to f1p+…+fnp. Our algorithm uses kp-12·polylog(n) bits of communication for all p 2 and achieves optimal bounds up to polylogarithmic factors, matching lower bounds by Woodruff and Zhang (STOC 2012) in the non-robust setting. Finally, we apply our framework to achieve near-optimal adversarially robust distributed protocols for central problems such as counting, frequency estimation, heavy-hitters, and distinct element estimation.

0

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.

Discussion (0)

Sign in to join the discussion.

Loading comments…