arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2504.07237cs.DS
收藏

超越小矩的十字转门流中的完美采样

Perfect Sampling in Turnstile Streams Beyond Small Moments

David P. Woodruff, Shenghao Xie, Samson Zhou

AI总结:

本文针对十字转门流中 p>2 的完美 L_p 采样问题,提出采样-拒绝方法,以近最优空间复杂度实现完美采样,并将技术推广到非尺度不变的多项式采样器及对数、截断函数,同时应用于数据流处理后的子集范数/矩估计。

摘要:

给定由十字转门流 S 诱导的向量 x ∈ R^n,以及一个非负函数 G: R → R,一个完美的 G-采样器以概率 G(x_i) / ∑_{j∈[n]} G(x_j) + 1/poly(n) 输出索引 i。Jayaram 和 Woodruff(FOCS 2018)针对 p ∈ (0,2] 引入了完美 L_p-采样器,其中 G(z)=|z|^p。在本文中,我们通过采样-拒绝方法解决了 p>2 时的这一问题。我们的算法使用 n^{1-2/p} · polylog(n) 比特的空间运行,这在 n 的多对数因子范围内是紧的。我们的算法还以高概率提供对被采样项 x_i 的 (1+ε)-近似,额外使用 ε^{-2} n^{1-2/p} · polylog(n) 比特的空间。有趣的是,我们展示了我们的技术可以推广到十字转门流上的完美多项式采样器,这是一类不具有尺度不变性的函数,与现有的完美 L_p 采样器形成对比。我们还为对数函数 G(z)=log(1+|z|) 和截断函数 G(z)=min(T,|z|^p) 实现了完美采样器。最后,我们将结果应用于向量坐标子集 Q 的范数/矩估计问题,该子集仅在数据流处理完毕后才被揭示,例如,当集合 Q 表示一个范围查询时,或者当集合 n\Q 表示一组希望其信息从数据集中被删除的实体时。

英文摘要:

Given a vector $x \in \mathbb{R}^n$ induced by a turnstile stream $S$, a non-negative function $G: \mathbb{R} \to \mathbb{R}$, a perfect $G$-sampler outputs an index $i$ with probability $\frac{G(x_i)}{\sum_{j\in[n]} G(x_j)}+\frac{1}{\text{poly}(n)}$. Jayaram and Woodruff (FOCS 2018) introduced a perfect $L_p$-sampler, where $G(z)=|z|^p$, for $p\in(0,2]$. In this paper, we solve this problem for $p>2$ by a sampling-and-rejection method. Our algorithm runs in $n^{1-2/p} \cdot \text{polylog}(n)$ bits of space, which is tight up to polylogarithmic factors in $n$. Our algorithm also provides a $(1+\varepsilon)$-approximation to the sampled item $x_i$ with high probability using an additional $\varepsilon^{-2} n^{1-2/p} \cdot \text{polylog}(n)$ bits of space. Interestingly, we show our techniques can be generalized to perfect polynomial samplers on turnstile streams, which is a class of functions that is not scale-invariant, in contrast to the existing perfect $L_p$ samplers. We also achieve perfect samplers for the logarithmic function $G(z)=\log(1+|z|)$ and the cap function $G(z)=\min(T,|z|^p)$. Finally, we give an application of our results to the problem of norm/moment estimation for a subset $\mathcal{Q}$ of coordinates of a vector, revealed only after the data stream is processed, e.g., when the set $\mathcal{Q}$ represents a range query, or the set $n\setminus\mathcal{Q}$ represents a collection of entities who wish for their information to be expunged from the dataset.

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

↑