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

具有多项式对数更新时间的完美 $L_p$ 抽样

Perfect $L_p$ Sampling with Polylogarithmic Update Time

Carnegie Mellon University(卡内基梅隆大学);Google Research(谷歌研究院);Texas A&M University(德克萨斯农工大学)

William Swartworth, David P. Woodruff, Samson Zhou

AI总结:

本文提出了一种具有多项式对数更新时间的完美 $L_p$ 抽样器,实现了最优空间和高效更新时间。

摘要:

在数据流中引入了完美的 $L_p$ 抽样,由 Jayaram 和 Woodruff(FOCS 2018)作为流式处理的基本原语。该方法在给定数据流中的 turnstile 更新(即向向量 $x \in \{-\text{poly}(n), \ldots, \text{poly}(n)\}^n$ 添加或删除元素)时,输出一个索引 $i^* \in \{1, 2, \ldots, n\}$,使得返回索引 $i$ 的概率为 $\Pr[i^* = i] = \frac{|x_i|^p}{\|x\|_p^p} \pm \frac{1}{n^C}$,其中 $C > 0$ 是任意大的常数。Jayaram 和 Woodruff 实现了对于 $0 < p < 2$ 的最优 $\tilde{O}(\log^2 n)$ 位内存,但他们的更新时间至少为 $n^C$ 每个流更新。因此,一个重要开放问题是如何在保持最优空间的同时实现高效的更新时间。对于 $0 < p < 2$,我们给出了第一个具有相同最优内存但仅需 $\text{poly}(\log n)$ 更新时间的完美 $L_p$-抽样器。我们的结果的关键在于通过近似其特征函数来高效模拟一个和的倒数的幂次截断指数随机变量的和,使用 Gil-Pelaez 反转公式,并应用梯形公式的变化来快速近似它。

英文摘要:

Perfect $L_p$ sampling in a stream was introduced by Jayaram and Woodruff (FOCS 2018) as a streaming primitive which, given turnstile updates to a vector $x \in \{-\text{poly}(n), \ldots, \text{poly}(n)\}^n$, outputs an index $i^* \in \{1, 2, \ldots, n\}$ such that the probability of returning index $i$ is exactly \[\Pr[i^* = i] = \frac{|x_i|^p}{\|x\|_p^p} \pm \frac{1}{n^C},\] where $C > 0$ is an arbitrarily large constant. Jayaram and Woodruff achieved the optimal $\tilde{O}(\log^2 n)$ bits of memory for $0 < p < 2$, but their update time is at least $n^C$ per stream update. Thus an important open question is to achieve efficient update time while maintaining optimal space. For $0 < p < 2$, we give the first perfect $L_p$-sampler with the same optimal amount of memory but with only $\text{poly}(\log n)$ update time. Crucial to our result is an efficient simulation of a sum of reciprocals of powers of truncated exponential random variables by approximating its characteristic function, using the Gil-Pelaez inversion formula, and applying variants of the trapezoid formula to quickly approximate it.

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

↑