Count-Min: Optimal Estimation and Tight Error Bounds using Empirical Error Distributions
Not on the map. Why?
Abstract (arXiv)
The Count-Min sketch is an important and well-studied data summarization method. It allows one to estimate the count of any item in a stream using a small, fixed size data sketch. However, the accuracy of the sketch depends on characteristics of the underlying data. This has led to a number of count estimation procedures which work well in one scenario but perform poorly in others. A practitioner is faced with two basic, unanswered questions. Which variant should be chosen when the data is unknown? Given an estimate, is its error sufficiently small to be trustworthy? We provide answers to these questions. We derive new count estimators, including a provably optimal estimator, which best or match previous estimators in all scenarios. We also provide practical, tight error bounds at query time for both new and existing estimators. These error estimates also yield procedures to choose the sketch tuning parameters optimally, as they can extrapolate the error to different choices of sketch width and depth. The key observation is that the distribution of errors in each counter can be empirically estimated from the sketch itself. By first estimating this distribution, count estimation becomes a statistical estimation and inference problem with a known error distribution. This provides both a principled way to derive new and optimal estimators as well as a way to study the error and properties of existing estimators.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). First posted on arXiv 9 Nov 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 2; 2023: 1; 2024: 0; 2025: 1.
5 papers.
- 2022Conformal Frequency Estimation using Discrete Sketched Data with Coverage for Distinct Queriescited by 10
- 2022Conformal Frequency Estimation with Sketched Datacited by 4
- 2021Learning-augmented count-min sketches via Bayesian nonparametricscited by 2
- 2023NeuKron: Constant-Size Lossy Compression of Sparse Reorderable Matrices and Tensorscited by 1
- 2025Lego Sketch: A Scalable Memory-augmented Neural Network for Sketching Data Streamscited by 1
- 2025Lego Sketch: A Scalable Memory-augmented Neural Network for Sketching Data Streams26 May 2025
- 2023NeuKron: Constant-Size Lossy Compression of Sparse Reorderable Matrices and Tensors9 Feb 2023
- 2022Conformal Frequency Estimation using Discrete Sketched Data with Coverage for Distinct Queries9 Nov 2022
- 2022Conformal Frequency Estimation with Sketched Data8 Apr 2022
- 2021Learning-augmented count-min sketches via Bayesian nonparametrics8 Feb 2021