arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2102.09299cs.DSstat.CO
收藏

理论与实践在中位数:相对误差分位数算法的最坏情况比较

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

Graham Cormode, Abhinav Mishra, Joseph Ross, Pavel Veselý

摘要:

估计数据的分布和分位数是数据采掘和数据科学中的一项基本任务。我们研究的算法,提供准确的结果,极端分位数查询使用少量的空间,从而有助于了解输入分布的尾部。也就是说,我们专注于两个最新的国家的最先进的解决方案:$t$ -digest和ReqSketch。虽然$t$ -digest是一种流行的紧凑摘要,在各种设置中都能很好地工作,但ReqSketch具有形式上的准确性保证,其代价是随着新观察的插入而增加。在这项工作中,我们提供了洞察哪些条件使一个比另一个更可取。也就是说,我们将展示如何构建输入$t$摘要,引起几乎任意大的错误,并证明它无法提供准确的结果,即使在i.i.d.。来自高度非均匀分布的样本。我们对ReqSketch提出了实际的改进,使其比$t$ -digest更快,而其错误在任何实例上都保持有界。尽管如此,我们的研究结果证实,$t$ -digest在实践中遇到的“非对抗性”数据上仍然更准确。

英文摘要:

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: $t$-digest and ReqSketch. While $t$-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 $t$-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 practical improvements to ReqSketch, making it faster than $t$-digest, while its error stays bounded on any instance. Still, our results confirm that $t$-digest remains more accurate on the ``non-adversarial'' data encountered in practice.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑