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

使用催化空间在数据流上进行计算

Computing over Data Streams using Catalytic Space

University of Nebraska–Lincoln(内布拉斯加大学林肯分校);Indian Statistical Institute, Kolkata(印度统计学院,加尔各答);Iowa State University(爱荷华州立大学)

Ripley Becker, Sourav Chakraborty, Debarshi Chanda, A. Pavan, N. V. Vinodchandran

AI总结:

研究使用催化空间在数据流上计算,给出计算频率矩的多遍算法,如计算\(\mathbb{F}_{k}\)的四遍算法等,还能用于图流中固定图诱导出现次数计数,同时证明催化内存单遍设置无额外能力。

摘要:

我们引入了一种具有催化内存的流模型,这是一个辅助工作区,在计算结束时必须恢复到初始状态。我们表明,催化空间可为数据流算法带来显著的空间节省。首先研究仅插入数据流中频率矩的精确计算。对于每个\(k\geq1\),给出一种精确的四遍算法,使用\(O(k\log m)\)的干净空间来计算\(\mathbb{F}_{k}\),其中\(m\)是流长度。还提出了一种\((k + 1)\)遍算法,具有相同的干净空间复杂度,但使用的催化空间比四遍算法少\(k\)倍。对于小矩,得到了更强的结果。特别地,表明\(\mathbb{F}_{2}\)和\(\mathbb{F}_{3}\)可分别在两遍和三遍中精确计算,仅使用\(O(\log m)\)的干净空间。此外,表明精确计算\(\mathbb{F}_{0}\)可归结为计算适当大的\(k\)值的\(\mathbb{F}_{k}\),从而得到一种仅使用\(O(\log m)\)干净空间的精确四遍算法用于\(\mathbb{F}_{0}\)。进一步展示了频率矩算法可用于精确计数图流中任何固定图\(H\)的诱导出现次数,得到一种使用\(O_H(\log n)\)干净空间的四遍算法,其中\(n\)是图中的顶点数。作为特殊情况,得到一种使用\(O(\log n)\)干净空间的精确三遍算法用于三角形计数。所有算法都是多遍的。用一个匹配的限制补充这些算法结果,表明催化内存在单遍设置中不提供额外的能力。具体来说,证明了每个使用\(s\)位干净内存和催化空间的随机或确定性单遍流算法都可以在没有催化内存的标准流模型中使用\(O(s)\)空间进行模拟。

英文摘要:

We introduce a streaming model with \emph{catalytic memory}, an auxiliary workspace that must be returned to its initial state at the end of the computation. We show that catalytic space yields dramatic space savings for data stream algorithms. We first study the exact computation of frequency moments in insertion-only data streams. For every $k\ge1$, we give an exact four-pass algorithm for computing $\mathbb{F}_{k}$ using $O(k\log m)$ clean space, where $m$ is the stream length. We also present a $(k+1)$-pass algorithm with the same clean-space complexity that uses a factor of $k$ less catalytic space than the four-pass algorithm. For small moments, we obtain stronger results. In particular, we show that $\mathbb{F}_{2}$ and $\mathbb{F}_{3}$ can be computed exactly in two and three passes, respectively, using only $O(\log m)$ clean space. Additionally, we show that exact $\mathbb{F}_{0}$ computation reduces to computing $\mathbb{F}_{k}$ for a suitably chosen large value of $k$, resulting in an exact four-pass algorithm for $\mathbb{F}_{0}$ using only $O(\log m)$ clean space. We further show how our frequency-moment algorithms can be used to exactly count induced occurrences of any fixed graph $H$ in a graph stream, yielding a four-pass algorithm that uses $O_H(\log n)$ clean space, where $n$ is the number of vertices in the graph. As a special case, we obtain an exact three-pass algorithm for triangle counting using $O(\log n)$ clean space. All of our algorithms are multi-pass. We complement these algorithmic results with a matching limitation showing that catalytic memory does not provide additional power in the single-pass setting. Specifically, we prove that every randomized or deterministic single-pass streaming algorithm using $s$ bits of clean memory and catalytic space can be simulated in the standard streaming model, without catalytic memory, using $O(s)$ space.

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

↑