TL;DR
This paper compares two state-of-the-art algorithms, t-digest and ReqSketch, for estimating extreme quantiles, revealing their strengths and weaknesses through worst-case analysis and practical improvements.
Contribution
It provides a worst-case comparison of t-digest and ReqSketch, including constructions that induce large errors in t-digest and enhancements to ReqSketch for better performance.
Findings
t-digest can have arbitrarily large errors on certain inputs
ReqSketch with improvements is faster and maintains bounded error
t-digest is more accurate on typical non-adversarial data
Abstract
Estimating the distribution and quantiles of data is a foundational task in data mining and data science. We study algorithms which provide accurate results for extreme quantile queries using a small amount of space, thus helping to understand the tails of the input distribution. Namely, we focus on two recent state-of-the-art solutions: -digest and ReqSketch. While -digest is a popular compact summary which works well in a variety of settings, ReqSketch comes with formal accuracy guarantees at the cost of its size growing as new observations are inserted. In this work, we provide insight into which conditions make one preferable to the other. Namely, we show how to construct inputs for -digest that induce an almost arbitrarily large error and demonstrate that it fails to provide accurate results even on i.i.d. samples from a highly non-uniform distribution. We propose…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
