Space-Optimal Profile Estimation in Data Streams with Applications to Symmetric Functions
November 29, 2023 Β· Declared Dead Β· π Information Technology Convergence and Services
"No code URL or promise found in abstract"
Evidence collected by the PWNC Scanner
Authors
Justin Y. Chen, Piotr Indyk, David P. Woodruff
arXiv ID
2311.17868
Category
cs.DS: Data Structures & Algorithms
Citations
2
Venue
Information Technology Convergence and Services
Last Checked
4 months ago
Abstract
We revisit the problem of estimating the profile (also known as the rarity) in the data stream model. Given a sequence of $m$ elements from a universe of size $n$, its profile is a vector $Ο$ whose $i$-th entry $Ο_i$ represents the number of distinct elements that appear in the stream exactly $i$ times. A classic paper by Datar and Muthukrishan from 2002 gave an algorithm which estimates any entry $Ο_i$ up to an additive error of $\pm Ξ΅D$ using $O(1/Ξ΅^2 (\log n + \log m))$ bits of space, where $D$ is the number of distinct elements in the stream. In this paper, we considerably improve on this result by designing an algorithm which simultaneously estimates many coordinates of the profile vector $Ο$ up to small overall error. We give an algorithm which, with constant probability, produces an estimated profile $\hatΟ$ with the following guarantees in terms of space and estimation error: - For any constant $Ο$, with $O(1 / Ξ΅^2 + \log n)$ bits of space, $\sum_{i=1}^Ο|Ο_i - \hatΟ_i| \leq Ξ΅D$. - With $O(1/ Ξ΅^2\log (1/Ξ΅) + \log n + \log \log m)$ bits of space, $\sum_{i=1}^m |Ο_i - \hatΟ_i| \leq Ξ΅m$. In addition to bounding the error across multiple coordinates, our space bounds separate the terms that depend on $1/Ξ΅$ and those that depend on $n$ and $m$. We prove matching lower bounds on space in both regimes. Application of our profile estimation algorithm gives estimates within error $\pm Ξ΅D$ of several symmetric functions of frequencies in $O(1/Ξ΅^2 + \log n)$ bits. This generalizes space-optimal algorithms for the distinct elements problems to other problems including estimating the Huber and Tukey losses as well as frequency cap statistics.
Community Contributions
Found the code? Know the venue? Think something is wrong? Let us know!
π Similar Papers
In the same crypt β Data Structures & Algorithms
π
π
The Cartographer
R.I.P.
π»
Ghosted
Route Planning in Transportation Networks
R.I.P.
π»
Ghosted
Near-linear time approximation algorithms for optimal transport via Sinkhorn iteration
R.I.P.
π»
Ghosted
Hierarchical Clustering: Objective Functions and Algorithms
R.I.P.
π»
Ghosted
Graph Isomorphism in Quasipolynomial Time
π
π
The Cartographer
Simulation optimization: A review of algorithms and applications
Died the same way β π» Ghosted
R.I.P.
π»
Ghosted
Federated Learning: Strategies for Improving Communication Efficiency
R.I.P.
π»
Ghosted
In-Datacenter Performance Analysis of a Tensor Processing Unit
R.I.P.
π»
Ghosted
Deep Convolutional Neural Networks for Computer-Aided Detection: CNN Architectures, Dataset Characteristics and Transfer Learning
R.I.P.
π»
Ghosted