arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1603.05346cs.DS
收藏

流中的最优分位数逼近

Optimal Quantile Approximation in Streams

Zohar Karnin, Kevin Lang, Edo Liberty

摘要:

本文解决了流计算模型中一个长期存在的基本问题。即分位数草图的优化构造。$\varepsilon$近似分位数草图接收项目流$x_1,\ldots,x_n$,并允许以至少$1-δ$的概率近似任何查询的等级,直到加性误差$\varepsilon n$。查询$x$的秩是使得$x_i \le x$.此任务所需的最小草图大小至少为$1/\varepsilon$。Felber和Ostrovsky获得了一个固定$δ$的$O((1/\varepsilon)\log(1/\varepsilon))$空间草图。迄今为止,甚至对于随机排列的流或对于近似特定分位数(例如,\中位数。本文得到了一个$O((1/\varepsilon)\log \log (1/δ))$空间简图和一个匹配下界。这解决了开放的问题,并证明了随机和确定性分位数草图之间的定性差距。我们的贡献之一是广泛使用的合并和减少建设的一种新的表示和修改。这种微妙的修改使得分析既紧凑又非常简单。类似的技术应该是有用的,以改善其他素描目标和几何核心建设。

英文摘要:

This paper resolves one of the longest standing basic problems in the streaming computational model. Namely, optimal construction of quantile sketches. An $\varepsilon$ approximate quantile sketch receives a stream of items $x_1,\ldots,x_n$ and allows one to approximate the rank of any query up to additive error $\varepsilon n$ with probability at least $1-δ$. The rank of a query $x$ is the number of stream items such that $x_i \le x$. The minimal sketch size required for this task is trivially at least $1/\varepsilon$. Felber and Ostrovsky obtain a $O((1/\varepsilon)\log(1/\varepsilon))$ space sketch for a fixed $δ$. To date, no better upper or lower bounds were known even for randomly permuted streams or for approximating a specific quantile, e.g.,\ the median. This paper obtains an $O((1/\varepsilon)\log \log (1/δ))$ space sketch and a matching lower bound. This resolves the open problem and proves a qualitative gap between randomized and deterministic quantile sketching. One of our contributions is a novel representation and modification of the widely used merge-and-reduce construction. This subtle modification allows for an analysis which is both tight and extremely simple. Similar techniques should be useful for improving other sketching objectives and geometric coreset constructions.

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

↑