Streaming Algorithms with Large Approximation Factors
Abstract
We initiate a broad study of classical problems in the streaming model with insertions and deletions in the setting where we allow the approximation factor α to be much larger than 1. Such algorithms can use significantly less memory than the usual setting for which α = 1+ε for an ε ∈ (0,1). We study large approximations for a number of problems in sketching and streaming and the following are some of our results. For the p norm/quasinorm \|x\|p of an n-dimensional vector x, 0 < p 2, we show that obtaining a (n)-approximation requires the same amount of memory as obtaining an O(1)-approximation for any M = n(1). For estimating the p norm, p > 2, we show an upper bound of O(n1-2/p ( n M)/α2) bits for an α-approximation, and give a matching lower bound, for almost the full range of α ≥ 1 for linear sketches. For the 2-heavy hitters problem, we show that the known lower bound of (k n M) bits for identifying (1/k)-heavy hitters holds even if we are allowed to output items that are 1/(α k)-heavy, for almost the full range of α, provided the algorithm succeeds with probability 1-O(1/n). We also obtain a lower bound for linear sketches that is tight even for constant probability algorithms. For estimating the number 0 of distinct elements, we give an n1/t-approximation algorithm using O(t M) bits of space, as well as a lower bound of (t) bits, both excluding the storage of random bits.
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.