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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 7855b28a-6e2f-4bbb-968f-a18c55fbdac9Cited by top-tier papers12
- 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
- Graph streaming lower bounds for parameter estimation and property testing via a streaming XOR lemmaSepehr Assadi, Vishvajeet NSTOC 2021 · 12 citations
- Optimality of Frequency Moment EstimationMark Braverman, Or ZamirSTOC 2025 · 7 citations
- A Quantum Advantage for a Natural Streaming ProblemJohn KallaugherFOCS 2021 · 6 citations
- Tight Space Complexity of the Coin ProblemMark Braverman, Sumegha Garg, Or ZamirFOCS 2021 · 5 citations
Related papers
- A New Information Complexity Measure for Multi-pass Streaming with ApplicationsMark Braverman, Sumegha Garg, Qian Li, Shuo Wang et al.STOC 2024
- Exploration with limited memory: streaming algorithms for coin tossing, noisy comparisons, and multi-armed banditsSepehr Assadi, Chen WangSTOC 2020 · 6 citations
- Streaming complexity of CSPs with randomly ordered constraintsRaghuvansh R. Saxena, Noah Singer, Madhu Sudan, Santhoshini VelusamySODA 2023 · 7 citations
- Faster Update Time for Turnstile Streaming AlgorithmsJosh Alman, Huacheng YuSODA 2020 · 4 citations
- 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
