Optimal Quantile Estimation: Beyond the Comparison Model
Meghal Gupta, Mihir Singhal, Hongxun Wu
Abstract
Estimating quantiles is one of the foundational problems of data sketching. Givenelementsfrom some universe of sizearriving in a data stream, a quantile sketch estimates the rank of any element with additive error at most. A low-space algorithm solving this task has applications in database systems, network measurement, load balancing, and many other practical scenarios. Current quantile estimation algorithms described as optimal include the GK sketch (Greenwald and Khanna 2001) usingwords (deterministic) and the KLL sketch (Karnin, Lang, and Liberty 2016) usinglog log) words (ran-domized, with failure probability). However, both algorithms are only optimal in the comparison-based model, whereas many typical applications involve streams of integers that the sketch can use aside from making comparisons. If we go beyond the comparison-based model, the deterministic q-digest sketch (Shrivastava, Buragohain, Agrawal, and Suri 2004) achieves a space complexity ofwords, which is incomparable to the previously-mentioned sketches. It has long been asked whether there is a quantile sketch usingwords of space (which is optimal as long aspoly). In this work, we present a deterministic algorithm usingwords, resolving this line of work.
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 5b2ef4f3-7c7e-4b36-9ebe-42a4618a17b5Cited by top-tier papers4
- SplineSketch: Even More Accurate Quantiles with Error GuaranteesAleksander Lukasiewicz, Jakub Tetek, Pavel VeselýSIGMOD 2026 · 1 citation
- Near-Optimal Relative Error Streaming Quantile Estimation via Elastic CompactorsElena Gribelyuk, Pachara Sawettamalya, Hongxun Wu, Huacheng YuSODA 2025 · 1 citation
- Tight Streaming Lower Bounds for Deterministic Approximate CountingYichuan WangSODA 2025
- Private Mechanism Design via Quantile EstimationYuanyuan Yang, Tao Xiao, Bhuvesh Kumar, Jamie H. MorgensternICLR 2025
Related papers
- KLL±: Approximate Quantile Sketches over Dynamic DatasetsFuheng Zhao, Sujaya Maiyya, Ryan Weiner, Divy Agrawal et al.VLDB 2021 · 36 citations
- Cooled-KLL: Enhancing Quantile Estimation by Filtering Hot ItemQilong Shi, Wei Zhou, Yizhuo Zheng, Xinye Xu et al.KDD 2025
- Determining Exact Quantiles with Randomized SummariesZiling Chen, Haoquan Guan, Shaoxu Song, Xiangdong Huang et al.SIGMOD 2024 · 3 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
- M4: A Framework for Per-Flow Quantile EstimationSiyuan Dong, Zhuochen Fan, Tianyu Bai, Tong Yang et al.ICDE 2024 · 7 citations
