Lune

SODA2025顶会

Near-Optimal Relative Error Streaming Quantile Estimation via Elastic Compactors

Elena Gribelyuk, Pachara Sawettamalya, Hongxun Wu, Huacheng Yu

2025年份
1被引次数
2顶会引用

摘要

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.

问问这篇 Paper

智能体会读完全文。

Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。

可以从这些问题问起

智能体调用

Luneget_paper_fulltext

在 Lune 里问

免费开始,无需绑卡

引用它的顶会 Paper2

问问它们各自怎么用它

它引用的顶会 Paper2

相关 Paper

黄昏的海面,两侧是细线勾勒的悬崖