Learned Interpolation for Better Streaming Quantile Approximation with Worst-Case Guarantees

04/15/2023
by   Nicholas Schiefer, et al.
0

An ε-approximate quantile sketch over a stream of n inputs approximates the rank of any query point q - that is, the number of input points less than q - up to an additive error of ε n, generally with some probability of at least 1 - 1/poly(n), while consuming o(n) space. While the celebrated KLL sketch of Karnin, Lang, and Liberty achieves a provably optimal quantile approximation algorithm over worst-case streams, the approximations it achieves in practice are often far from optimal. Indeed, the most commonly used technique in practice is Dunning's t-digest, which often achieves much better approximations than KLL on real-world data but is known to have arbitrarily large errors in the worst case. We apply interpolation techniques to the streaming quantiles problem to attempt to achieve better approximations on real-world data sets than KLL while maintaining similar guarantees in the worst case.

READ FULL TEXT
research
08/28/2019

DDSketch: A fast and fully-mergeable quantile sketch with relative-error guarantees

Summary statistics such as the mean and variance are easily maintained f...
research
06/29/2019

Streaming Quantiles Algorithms with Small Space and Update Time

Approximating quantiles and distributions over streaming data has been s...
research
02/18/2021

Theory meets Practice at the Median: a worst case comparison of relative error quantile algorithms

Estimating the distribution and quantiles of data is a foundational task...
research
04/27/2018

Detecting and modeling worst-case dependence structures between random inputs of computational reliability models

Uncertain information on input parameters of reliability models is usual...
research
04/03/2020

Relative Error Streaming Quantiles

Approximating ranks, quantiles, and distributions over streaming data is...
research
07/20/2020

On Learned Sketches for Randomized Numerical Linear Algebra

We study "learning-based" sketching approaches for diverse tasks in nume...
research
06/09/2021

Pattern-defeating Quicksort

A new solution for the Dutch national flag problem is proposed, requirin...

Please sign up or login with your details

Forgot password? Click here to reset