arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1011.1263cs.DScs.CG
收藏

基于精确采样的流算法

Streaming Algorithms from Precision Sampling

Alexandr Andoni, Robert Krauthgamer, Krzysztof Onak

摘要:

Indyk和Woodruff [STOC 2005]介绍的一种技术激发了数据流算法的一些最新进展。我们表明,这些结果很容易遵循一个单一的概率方法称为精密抽样的应用程序。使用这种方法,我们得到简单的数据流算法,保持一个随机草图的输入向量$x=(x_1,...x_n)$,这是有用的以下应用程序。1)估计$F_k$-$x$的矩,用于$k>2$。2)估计$x$的$\ell_p$ -范数,对于$p\in[1,2]$,具有小的更新时间。3)估计所有PDMATHAMT的级联范数$\ell_p(\ell_q)$。4)$\ell_1$采样,其中目标是产生具有概率(近似)$|x_i|/\|x\|_1$的元素$i$。它扩展到$p\in [1,2]$的类似定义的$\ell_p$采样。对于所有这些应用,算法本质上是相同的:通过精心选择的随机向量按条目方式缩放向量x,并对结果向量运行重量级估计算法。我们的草图是x的线性函数,因此允许对向量x进行一般更新。精确采样本身解决了从每个实数$a_i\in[0,1]$的弱估计值估计总和$\sum_{i=1}^n a_i$的问题。更准确地说,估计器首先为每个$i\in[n]$选择期望的精度$u_i\in(0,1]$,然后它接收加性$u_i$内的每个$a_i$的估计。它的目标是提供一个很好的$\sum a_i$近似,同时保持对“近似成本”$\sum_i (1/u_i)$的标签。在这里,我们改进了以前的工作[Andoni,Krauthgamer和Onak,FOCS 2010],这表明只要$\sum a_i=Ω(1)$,就可以使用仅$O(n\log n)$的总精度实现良好的乘法近似。

英文摘要:

A technique introduced by Indyk and Woodruff [STOC 2005] has inspired several recent advances in data-stream algorithms. We show that a number of these results follow easily from the application of a single probabilistic method called Precision Sampling. Using this method, we obtain simple data-stream algorithms that maintain a randomized sketch of an input vector $x=(x_1,...x_n)$, which is useful for the following applications. 1) Estimating the $F_k$-moment of $x$, for $k>2$. 2) Estimating the $\ell_p$-norm of $x$, for $p\in[1,2]$, with small update time. 3) Estimating cascaded norms $\ell_p(\ell_q)$ for all $p,q>0$. 4) $\ell_1$ sampling, where the goal is to produce an element $i$ with probability (approximately) $|x_i|/\|x\|_1$. It extends to similarly defined $\ell_p$-sampling, for $p\in [1,2]$. For all these applications the algorithm is essentially the same: scale the vector x entry-wise by a well-chosen random vector, and run a heavy-hitter estimation algorithm on the resulting vector. Our sketch is a linear function of x, thereby allowing general updates to the vector x. Precision Sampling itself addresses the problem of estimating a sum $\sum_{i=1}^n a_i$ from weak estimates of each real $a_i\in[0,1]$. More precisely, the estimator first chooses a desired precision $u_i\in(0,1]$ for each $i\in[n]$, and then it receives an estimate of every $a_i$ within additive $u_i$. Its goal is to provide a good approximation to $\sum a_i$ while keeping a tab on the "approximation cost" $\sum_i (1/u_i)$. Here we refine previous work [Andoni, Krauthgamer, and Onak, FOCS 2010] which shows that as long as $\sum a_i=Ω(1)$, a good multiplicative approximation can be achieved using total precision of only $O(n\log n)$.

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

↑