Lune

FOCS2024Top-tier venue

Optimal Quantile Estimation: Beyond the Comparison Model

Meghal Gupta, Mihir Singhal, Hongxun Wu

2024Year
3Citations
4Top-tier citations

Abstract

Estimating quantiles is one of the foundational problems of data sketching. Givennnelementsx1,x2,…,xnx_{1},x_{2}, \ldots, x_{n}from some universe of sizeUUarriving in a data stream, a quantile sketch estimates the rank of any element with additive error at mostεn\varepsilon n. 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) usingO(ε−1log⁡n)O(\varepsilon^{-1}\log n)words (deterministic) and the KLL sketch (Karnin, Lang, and Liberty 2016) usingO(>εO (>\varepsilonlog log(1/δ)(1/\delta)) words (ran-domized, with failure probabilityδ\delta). 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 ofO(ε−1log⁡U)O(\varepsilon^{-1}\log U)words, which is incomparable to the previously-mentioned sketches. It has long been asked whether there is a quantile sketch usingO(ϵ−1)O(\epsilon^{-1})words of space (which is optimal as long asn≤n\leqpoly(U)(U)). In this work, we present a deterministic algorithm usingO(ε−1)O(\varepsilon^{-1})words, 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.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 5b2ef4f3-7c7e-4b36-9ebe-42a4618a17b5

Cited by top-tier papers4

Ask how each one uses it

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines