Lune

SODA2025顶会

Near-Optimal Relative Error Streaming Quantile Estimation via Elastic Compactors

Elena Gribelyuk, Pachara Sawettamalya, Hongxun Wu, Huacheng Yu

摘要

Computing the approximate quantiles or ranks of a stream is a fundamental task in data monitoring. Given a stream of elements x 1 , x 2 , . . . , x n and a query x, a relative-error quantile estimation algorithm can estimate the rank of x with respect to the stream, up to a multiplicative ±ϵ • rank(x) error. Notably, this requires the sketch to obtain more precise estimates for the ranks of elements on the tails of the distribution, as compared to the additive ±ϵn error regime. This is particularly favorable for some practical applications, such as anomaly detection.

Previously, the best known algorithms for relative error achieved space Õ(ϵ -1 log 1.5 (ϵn)) (Cormode, Karnin, Liberty, Thaler, Veselỳ, 2021) and Õ(ϵ -2 log(ϵn)) (Zhang, Lin, Xu, Korn, Wang, 2006). In this work, we present a nearly-optimal streaming algorithm for the relativeerror quantile estimation problem using Õ(ϵ -1 log(ϵn)) space, which almost matches the trivial Ω(ϵ -1 log(ϵn)) space lower bound.

To surpass the Ω(ϵ -1 log 1.5 (ϵn)) barrier of the previous approach, our algorithm crucially relies on a new data structure, called an elastic compactor, which can be dynamically resized over the course of the stream. Interestingly, we design a space allocation scheme which adaptively allocates space to each compactor based on the "hardness" of the input stream. This approach allows us to avoid using the maximal space simultaneously for every compactor and facilitates the improvement in the total space complexity.

Along the way, we also propose and study a new problem called the Top Quantiles Problem, which only requires the sketch to provide estimates for the ranks of elements in a fixed-length tail of the distribution. This problem serves as an important subproblem in our algorithm, though it is also an interesting problem of its own right.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Private Mechanism Design via Quantile Estimation 引用了 Optimal Quantile Estimation: Beyond the Comparison Model
  • SplineSketch: Even More Accurate Quantiles with Error Guarantees 引用了 Optimal Quantile Estimation: Beyond the Comparison Model
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper2

  1. SplineSketch: Even More Accurate Quantiles with Error GuaranteesAleksander Lukasiewicz, Jakub Tetek, Pavel VeselýSIGMOD 2026 · 1 次引用
  2. Private Mechanism Design via Quantile EstimationYuanyuan Yang, Tao Xiao, Bhuvesh Kumar, Jamie H. MorgensternICLR 2025

它引用的 Paper2

  1. InfiniFilter: Expanding Filters to Infinity and BeyondNiv Dayan, Ioana O. Bercea, Pedro Reviriego, Rasmus PaghSIGMOD 2023 · 27 次引用
  2. Optimal Quantile Estimation: Beyond the Comparison ModelMeghal Gupta, Mihir Singhal, Hongxun WuFOCS 2024 · 3 次引用

相关 Paper

  1. Quantile Estimation with DuplicatesTianrui Xia, Ziling Chen, Shaoxu SongSIGMOD 2026
  2. Cooled-KLL: Enhancing Quantile Estimation by Filtering Hot ItemQilong Shi, Wei Zhou, Yizhuo Zheng, Xinye Xu 等KDD 2025
  3. SketchPolymer: Estimate Per-item Tail Quantile Using One SketchJiarui Guo, Yisen Hong, Yuhan Wu, Yunfei Liu 等KDD 2023 · 13 次引用
  4. Together is Better: Heavy Hitters Quantile EstimationRana Shahout, Roy Friedman, Ran Ben BasatSIGMOD 2023 · 15 次引用
  5. M4: A Framework for Per-Flow Quantile EstimationSiyuan Dong, Zhuochen Fan, Tianyu Bai, Tong Yang 等ICDE 2024 · 7 次引用
黄昏的海面,两侧是细线勾勒的悬崖