KLL±: Approximate Quantile Sketches over Dynamic Datasets
Fuheng Zhao, Sujaya Maiyya, Ryan Weiner, Divy Agrawal, Amr El Abbadi
Abstract
Recently the long standing problem of optimal construction of quantile sketches was resolved by Karnin, Lang, and Liberty using the KLL sketch (FOCS 2016). The algorithm for KLL is restricted to online insert operations and no delete operations. For many real-world applications, it is necessary to support delete operations. When the data set is updated dynamically, i.e., when data elements are inserted and deleted, the quantile sketch should reflect the changes. In this paper, we propose KLL ± , the first quantile approximation algorithm to operate in the bounded deletion model to account for both inserts and deletes in a given data stream. KLL ± extends the functionality of KLL sketches to support arbitrary updates with small space overhead. The space bound for KLL ± is 𝑂 ( 𝛼 1.5 𝜖 𝑙𝑜𝑔 2 𝑙𝑜𝑔( 1 𝜖𝛿 )), where 𝜖 and 𝛿 are constants that determine precision and failure probability, and 𝛼 bounds the number of deletions with respect to insert operations. The experimental evaluation of KLL ± highlights that with minimal space overhead, KLL ± achieves comparable accuracy in quantile approximation to KLL.
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 7dd11aed-7dc4-4cd6-b654-340dffde92b6Cited by top-tier papers12
- Differentially Private Linear Sketches: Efficient Implementations and ApplicationsFuheng Zhao, Dan Qiao, Rachel Redberg, Divyakant Agrawal et al.NeurIPS 2022 · 40 citations
- 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
- Panakos: Chasing the Tails for Multidimensional Data StreamsFuheng Zhao, Punnal Ismail Khan, Divyakant Agrawal, Amr El Abbadi et al.VLDB 2023 · 18 citations
- SketchPolymer: Estimate Per-item Tail Quantile Using One SketchJiarui Guo, Yisen Hong, Yuhan Wu, Yunfei Liu et al.KDD 2023 · 13 citations
- Optimizing Data Pipelines for Machine Learning in Feature StoresRui Liu, Kwanghyun Park, Fotis Psallidas, Xiaoyong Zhu et al.VLDB 2023 · 10 citations
Related papers
- Optimal Quantile Estimation: Beyond the Comparison ModelMeghal Gupta, Mihir Singhal, Hongxun WuFOCS 2024 · 3 citations
- Cooled-KLL: Enhancing Quantile Estimation by Filtering Hot ItemQilong Shi, Wei Zhou, Yizhuo Zheng, Xinye Xu et al.KDD 2025
- Quantile Estimation with DuplicatesTianrui Xia, Ziling Chen, Shaoxu SongSIGMOD 2026
- Efficient and Stable Fully Dynamic Facility LocationSayan Bhattacharya, Silvio Lattanzi, Nikos ParotsidisNeurIPS 2022 · 13 citations
- SplineSketch: Even More Accurate Quantiles with Error GuaranteesAleksander Lukasiewicz, Jakub Tetek, Pavel VeselýSIGMOD 2026 · 1 citation
