再论数据流中的范数估计
Revisiting Norm Estimation in Data Streams
摘要:
估计数据流中的p阶矩F_p(p非负且为实数)的问题如下。有一个从0开始的向量x,许多形式为x_i <-- x_i + v的更新在流中顺序出现。该算法还接收误差参数0 < eps < 1。然后,目标是输出相对误差最多为eps的近似值到F_p =| |x||以前,已知多对数空间(在向量长度n中)是可实现的,当且仅当p <= 2。我们在这方面做出了一些新的贡献,包括:(*)一个0 < p < 2的最优空间算法,与以前的算法不同,它对1/eps有最优依赖性,但对n有次优依赖性,不依赖于一般的伪随机发生器。(*)p = 0时具有最优更新和查询时间的近似最优空间算法。(*)一个近似最优空间算法,用于“不同元素”问题(p = 0,所有更新都有v = 1),具有最优更新和查询时间。(*)改进的流中的L_2 --> L_2降维。(*)新的1-pass下界,以显示我们的算法的最优性和近最优性,以及一些以前的算法(p = 2的“AMS草图”,以及Feigenbaum等人的L_1-差分算法)。作为我们工作的推论,我们还得到了矩估计问题复杂性的一些分离:1遍与2遍的F_0,p = 0与p > 0,以及严格正更新与任意更新的F_0。
英文摘要:
The problem of estimating the pth moment F_p (p nonnegative and real) in data streams is as follows. There is a vector x which starts at 0, and many updates of the form x_i <-- x_i + v come sequentially in a stream. The algorithm also receives an error parameter 0 < eps < 1. The goal is then to output an approximation with relative error at most eps to F_p = ||x||_p^p. Previously, it was known that polylogarithmic space (in the vector length n) was achievable if and only if p <= 2. We make several new contributions in this regime, including: (*) An optimal space algorithm for 0 < p < 2, which, unlike previous algorithms which had optimal dependence on 1/eps but sub-optimal dependence on n, does not rely on a generic pseudorandom generator. (*) A near-optimal space algorithm for p = 0 with optimal update and query time. (*) A near-optimal space algorithm for the "distinct elements" problem (p = 0 and all updates have v = 1) with optimal update and query time. (*) Improved L_2 --> L_2 dimensionality reduction in a stream. (*) New 1-pass lower bounds to show optimality and near-optimality of our algorithms, as well as of some previous algorithms (the "AMS sketch" for p = 2, and the L_1-difference algorithm of Feigenbaum et al.). As corollaries of our work, we also obtain a few separations in the complexity of moment estimation problems: F_0 in 1 pass vs. 2 passes, p = 0 vs. p > 0, and F_0 with strictly positive updates vs. arbitrary updates.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。