Lune

FOCS2020Top-tier venue

The Coin Problem with Applications to Data Streams

Mark Braverman, Sumegha Garg, David P. Woodruff

Abstract

Consider the problem of computing the majority of a stream of n i.i.d. uniformly random bits. This problem, known as the coin problem, is central to a number of counting problems in different data stream models. We show that any streaming algorithm for solving this problem with large constant advantage must use Ω(log n) bits of space. We extend our lower bound to proving tight lower bounds for solving multiple, randomly interleaved copies of the coin problem, as well as for solving the OR of multiple copies of a variant of the coin problem. Our proofs involve new measures of information complexity that are well-suited for data streams. We use these lower bounds to obtain a number of new results for data streams. In each case there is an underlying d dimensional vector x with additive updates to its coordinates given in a stream of length m. The input streams arising from our coin lower bound have nice distributional properties, and consequently for many problems for which we only had lower bounds in general turnstile streams, we now obtain the same lower bounds in more natural models, such as the bounded deletion model, in which ||x||2never drops by a constant fraction of what it was earlier, or in the random order model, in which the updates are ordered randomly. In particular, in the bounded deletion model, we obtain nearly tight lower bounds for approximating ||x||∞up to additive error [1/(√k)]||x||2, approximating ||x||2up to a multiplicative ( 1+ε) factor (resolving a question of Jayaram and Woodruff in PODS 2018), and solving the Point Query and ℓ2-Heavy Hitters Problems. In the random order model, we also obtain new lower bounds for the Point Query and ℓ2-Heavy Hitters Problems. We also give new algorithms complementing our lower bounds and illustrating the tightness of the models we consider, including an algorithm for approximating ||x||∞up to additive error [1/(√k)]||x||2 in turnstile streams (resolving a question of Cormode in a 2006 IITK Workshop), and an algorithm for finding ℓ2-heavy hitters in randomly ordered insertion streams (which for random order streams, resolves a question of Nelson in a 2018 Warwick Workshop).

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

12 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers12

  1. SpaceSaving± An Optimal Algorithm for Frequency Estimation and Frequent items in the Bounded Deletion ModelFuheng Zhao, Divy Agrawal, Amr El Abbadi, Ahmed MetwallyVLDB 2022 · 22 citations
  2. Graph streaming lower bounds for parameter estimation and property testing via a streaming XOR lemmaSepehr Assadi, Vishvajeet NSTOC 2021 · 12 citations
  3. Optimality of Frequency Moment EstimationMark Braverman, Or ZamirSTOC 2025 · 7 citations
  4. A Quantum Advantage for a Natural Streaming ProblemJohn KallaugherFOCS 2021 · 6 citations
  5. Tight Space Complexity of the Coin ProblemMark Braverman, Sumegha Garg, Or ZamirFOCS 2021 · 5 citations

Related papers

  1. A New Information Complexity Measure for Multi-pass Streaming with ApplicationsMark Braverman, Sumegha Garg, Qian Li, Shuo Wang et al.STOC 2024
  2. Exploration with limited memory: streaming algorithms for coin tossing, noisy comparisons, and multi-armed banditsSepehr Assadi, Chen WangSTOC 2020 · 6 citations
  3. Streaming complexity of CSPs with randomly ordered constraintsRaghuvansh R. Saxena, Noah Singer, Madhu Sudan, Santhoshini VelusamySODA 2023 · 7 citations
  4. Faster Update Time for Turnstile Streaming AlgorithmsJosh Alman, Huacheng YuSODA 2020 · 4 citations
  5. A Universal Sketch for Estimating Heavy Hitters and Per-Element Frequency Moments in Data Streams with Bounded DeletionsLiang Zheng, Qingjun Xiao, Xuyuan CaiSIGMOD 2025 · 7 citations
Dusk over the sea between two cliffs drawn in fine vertical lines