SpaceSaving± An Optimal Algorithm for Frequency Estimation and Frequent items in the Bounded Deletion Model
Fuheng Zhao, Divy Agrawal, Amr El Abbadi, Ahmed Metwally
Abstract
In this paper, we propose the first deterministic algorithms to solve the frequency estimation and frequent item problems in the bounded deletion model. We establish the space lower bound for solving the deterministic frequent items problem in the bounded deletion model, and propose the Lazy SpaceSaving ± and SpaceSaving ± algorithms with optimal space bound. We develop an efficient implementation of the SpaceSaving ± algorithm that minimizes the latency of update operations using novel data structures. The experimental evaluations testify that SpaceSaving ± has accurate frequency estimations and achieves very high recall and precision across different data distributions while using minimal space. Our analysis and experiments clearly demonstrate that SpaceSaving ± provides more accurate estimations using the same space as the state of the art protocols for applications with up to 𝑙𝑜𝑔𝑈 -1 𝑙𝑜𝑔𝑈 of items deleted, where 𝑈 is the input universe size. Moreover, motivated by prior work, we propose Dyadic SpaceSaving ± , the first deterministic quantile approximation sketch in the bounded deletion model.
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 fad15888-6bc9-456f-a48e-9fbc09c09770Cited by top-tier papers5
- Differentially Private Linear Sketches: Efficient Implementations and ApplicationsFuheng Zhao, Dan Qiao, Rachel Redberg, Divyakant Agrawal et al.NeurIPS 2022 · 40 citations
- Panakos: Chasing the Tails for Multidimensional Data StreamsFuheng Zhao, Punnal Ismail Khan, Divyakant Agrawal, Amr El Abbadi et al.VLDB 2023 · 18 citations
- PrvTel: Lightweight Models for Private and Accurate Telemetry Data RetentionYajie Zhou, Fuheng Zhao, Eric S. Wang, Ayse K. Coskun et al.NSDI 2026 · 1 citation
- The SpaceSaving± Family of Algorithms for Data Streams with Bounded DeletionsFuheng Zhao, Divyakant Agrawal, Amr El Abbadi, Claire Mathieu et al.ICDE 2025
- CrocSort: Resource-Efficient, Skew-Resilient Parallel External Merge SortRiki Otaki, Charles Benello, Fuheng Zhao, Aaron J. Elmore et al.VLDB 2026
Builds on4
- CocoSketch: high-performance sketch-based measurement over arbitrary partial key queryYinda Zhang, Zaoxing Liu, Ruixin Wang, Tong Yang et al.SIGCOMM 2021 · 146 citations
- KLL±: Approximate Quantile Sketches over Dynamic DatasetsFuheng Zhao, Sujaya Maiyya, Ryan Weiner, Divy Agrawal et al.VLDB 2021 · 36 citations
- The Coin Problem with Applications to Data StreamsMark Braverman, Sumegha Garg, David P. WoodruffFOCS 2020 · 14 citations
- Separations and equivalences between turnstile streaming and linear sketchingJohn Kallaugher, Eric PriceSTOC 2020 · 1 citation
Related papers
- Frequency Estimation with One-Sided ErrorPiotr Indyk, Shyam Narayanan, David P. WoodruffSODA 2022 · 1 citation
- Optimal Quantile Estimation: Beyond the Comparison ModelMeghal Gupta, Mihir Singhal, Hongxun WuFOCS 2024 · 3 citations
- WavingSketch: An Unbiased and Generic Sketch for Finding Top-k Items in Data StreamsJizhou Li, Zikun Li, Yifei Xu, Shiqi Jiang et al.KDD 2020 · 96 citations
- BFES: Towards Optimal Bayesian Frequency Estimation Sketches in Data-StreamsFrancesco Da Dalt, Adrian PerrigICDE 2025
- XY-Sketch: on Sketching Data Streams at Web ScaleYongqiang Liu, Xike XieWWW 2021 · 12 citations
