Core Concepts
This paper presents a novel streaming algorithm for quantile estimation with relative error that achieves near-optimal space complexity by employing a new data structure called elastic compactors, which are dynamically resizable and adapt to the input stream's characteristics.
Stats
The best known algorithms for relative error achieved space Õ(ϵ−1 log1.5(ϵn)) (Cormode, Karnin, Liberty, Thaler, Vesel`y, 2021) and Õ(ϵ−2 log(ϵn)) (Zhang, Lin, Xu, Korn, Wang, 2006).
This work presents a nearly-optimal streaming algorithm for the relative-error quantile estimation problem using Õ(ϵ−1 log(ϵn)) space, which almost matches the trivial Ω(ϵ−1 log(ϵn)) space lower bound.
Quotes
"This is particularly favorable for some practical applications, such as anomaly detection."
"To surpass the Ω(ϵ−1 log1.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."