Charles Explorer logo
🇨🇿

Relative error streaming quantiles

Publikace na Matematicko-fyzikální fakulta |
2021

Tento text není v aktuálním jazyce dostupný. Zobrazuje se verze "en".Abstrakt

Approximating ranks, quantiles, and distributions over streaming data is a central task in data analysis and monitoring. Given a stream of n items from a data universe U equipped with a total order, the task is to compute a sketch (data structure) of size poly (log(n), 1/ϵ).

Given the sketch and a query item y in U, one should be able to approximate its rank in the stream, i.e., the number of stream elements smaller than or equal to y. Most works to date focused on additive ϵ n error approximation, culminating in the KLL sketch that achieved optimal asymptotic behavior.

This paper investigates multiplicative (1+-ϵ)-error approximations to the rank. Practical motivation for multiplicative error stems from demands to understand the tails of distributions, and hence for sketches to be more accurate near extreme values.

The most space-efficient algorithms due to prior work store either O(log(ϵ^2 n) / ϵ^2) or O(log^3(ϵ n) / ϵ) universe items. This paper presents a randomized algorithm storing O(log^{1.5} (ϵ n)/ϵ) items, which is within an O(sqrt{log(ϵ n)}) factor of optimal.

The algorithm does not require prior knowledge of the stream length and is fully mergeable, rendering it suitable for parallel and distributed computing environments. (C) 2021 ACM.