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

广义转门模型中的概率计数

Probabilistic Counting in Generalized Turnstile Models

Dingyu Wang

AI总结:

本文定义了有限域转门模型,并提出了适用于任意有限域的去重计数算法 $F$-PCSA,该算法占用 $m\log(n)\log(|F|)$ 比特内存,以 $O(1/\sqrt{m})$ 相对误差估计非零元素数量,使带删除的去重计数变得简单。

摘要:

传统上,在数据流的转门模型中,存在一个状态向量 $x=(x_1,x_2,\ldots,x_n)$,它通过一系列对 $(i,k)$ 的流进行更新,其中 $i\in [n]$ 且 $k\in \Z$。接收到 $(i,k)$ 时,执行 $x_i\gets x_i + k$。转门模型中的去重计数算法对流进行一次遍历,然后估计 $\norm{x}_0 = |\{i\in[n]\mid x_i\neq 0\}|$(即 $L_0$,汉明范数)。\n 在本文中,我们定义了转门模型的有限域版本。设 $F$ 为任意有限域。在 $F$-turnstile 模型中,对于每个 $i\in [n]$,$x_i\in F$;对于每个更新 $(i,k)$,$k\in F$。更新 $x_i\gets x_i+k$ 随后在域 $F$ 中进行计算。$F$-turnstile 模型中的去重计数算法对流进行一次遍历并估计 $\norm{x}_{0;F} = |\{i\in[n]\mid x_i\neq 0_F\}|$。\n 我们提出了一种简单的去重计数算法,称为 $F$-\pcsa{},适用于任意有限域 $F$ 的 $F$-turnstile 模型。新的 $F$-\pcsa{} 算法占用 $m\log(n)\log (|F|)$ 比特内存,并以 $O(\frac{1}{\sqrt{m}})$ 的相对误差估计 $\norm{x}_{0;F}$,其中隐藏常数取决于域的阶。\n $F$-\pcsa{} 实现简单,并在现实世界中通过选择不同的 $F$ 具有多种应用。最显著的是,它使得带删除的去重计数与不带删除的去重计数一样简单。

英文摘要:

Traditionally in the turnstile model of data streams, there is a state vector $x=(x_1,x_2,\ldots,x_n)$ which is updated through a stream of pairs $(i,k)$ where $i\in [n]$ and $k\in \Z$. Upon receiving $(i,k)$, $x_i\gets x_i + k$. A distinct count algorithm in the turnstile model takes one pass of the stream and then estimates $\norm{x}_0 = |\{i\in[n]\mid x_i\neq 0\}|$ (aka $L_0$, the Hamming norm). In this paper, we define a finite-field version of the turnstile model. Let $F$ be any finite field. Then in the $F$-turnstile model, for each $i\in [n]$, $x_i\in F$; for each update $(i,k)$, $k\in F$. The update $x_i\gets x_i+k$ is then computed in the field $F$. A distinct count algorithm in the $F$-turnstile model takes one pass of the stream and estimates $\norm{x}_{0;F} = |\{i\in[n]\mid x_i\neq 0_F\}|$. We present a simple distinct count algorithm, called $F$-\pcsa{}, in the $F$-turnstile model for any finite field $F$. The new $F$-\pcsa{} algorithm takes $m\log(n)\log (|F|)$ bits of memory and estimates $\norm{x}_{0;F}$ with $O(\frac{1}{\sqrt{m}})$ relative error where the hidden constant depends on the order of the field. $F$-\pcsa{} is straightforward to implement and has several applications in the real world with different choices of $F$. Most notably, it makes distinct count with deletions as simple as distinct count without deletions.

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

↑