求解L1-Difference的一个近优算法
A Near-Optimal Algorithm for L1-Difference
摘要:
我们给出了第一个整数向量的L_1-草绘算法,该算法在近似线性时间内产生近似最优尺寸的草绘。这回答了2006年IITK数据流算法研讨会的开放问题列表中的第一个开放问题。具体地,假设Alice接收到{-M,.,并且Bob在{-M,...,M}^n,并且双方共享随机性。每一方都必须输出其向量的简短草图,以便第三方稍后可以快速恢复(1 +/- eps)近似,||X-Y||_1的概率为2/3,只给出草图。我们给出了一个草图绘制算法,该算法在O(n*log^2(nM))时间内生成O(eps^{-2}log(1/eps)log(nM))位草图,与eps无关。以前最著名的L_1草图算法是由Feigenbaum等人,SICOMP 2002],它实现了O(eps^{-2}log(nM))位的最佳草图长度,但运行时间为O(n*log(nM)/eps^2)。请注意,我们的运行时间对于每个eps都是近似线性的,而对于足够小的eps值,前面算法的运行时间可以像二次方一样大。像他们的算法一样,我们的素描过程也产生了一个小空间,一次通过的流算法,即使x,y的条目以任意顺序给出也有效。
英文摘要:
We give the first L_1-sketching algorithm for integer vectors which produces nearly optimal sized sketches in nearly linear time. This answers the first open problem in the list of open problems from the 2006 IITK Workshop on Algorithms for Data Streams. Specifically, suppose Alice receives a vector x in {-M,...,M}^n and Bob receives y in {-M,...,M}^n, and the two parties share randomness. Each party must output a short sketch of their vector such that a third party can later quickly recover a (1 +/- eps)-approximation to ||x-y||_1 with 2/3 probability given only the sketches. We give a sketching algorithm which produces O(eps^{-2}log(1/eps)log(nM))-bit sketches in O(n*log^2(nM)) time, independent of eps. The previous best known sketching algorithm for L_1 is due to [Feigenbaum et al., SICOMP 2002], which achieved the optimal sketch length of O(eps^{-2}log(nM)) bits but had a running time of O(n*log(nM)/eps^2). Notice that our running time is near-linear for every eps, whereas for sufficiently small values of eps, the running time of the previous algorithm can be as large as quadratic. Like their algorithm, our sketching procedure also yields a small-space, one-pass streaming algorithm which works even if the entries of x,y are given in arbitrary order.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。