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

滑动窗口上的近似最优不同元素与频繁项

Nearly Optimal Distinct Elements and Heavy Hitters on Sliding Windows

Vladimir Braverman, Elena Grigorescu, Harry Lang, David P. Woodruff, Samson Zhou

AI总结:

本文研究滑动窗口模型下的不同元素与 $\ell_p$-heavy hitters 问题,提出可组合直方图框架结合现有技术追踪特定项,获得了在空间复杂度上近似最优的算法,并改进了已有结果且给出了相应的空间下界。

摘要:

我们研究滑动窗口模型中的不同元素和 $\ell_p$-heavy hitters 问题,其中仅数据流中最近的 $n$ 个元素构成底层集合。我们首先引入了可组合直方图,这是对指数直方图(Datar 等人,SODA 2002)和平滑直方图(Braverman 和 Ostrovsky,FOCS 2007)的一个简单改进,可能具有独立的研究价值。随后我们证明,将可组合直方图与现有技术仔细结合,以追踪少数特定项的身份或频率,足以获得在 $n$ 和 $\epsilon$ 上均近似最优的不同元素和 $\ell_p$-heavy hitters 算法。应用我们新的可组合直方图框架,我们提供了一种算法,该算法在滑动窗口模型中输出不同元素数量的 $(1+\epsilon)$-近似,并使用 $\mathcal{O}\left(\frac{1}{\epsilon^2}\log n\log\frac{1}\epsilon\log\log n+\frac{1}\epsilon\log^2 n\right)$ 比特的空间。对于 $\ell_p$-heavy hitters,我们提供了一种使用 $\mathcal{O}\left(\frac{1}{\epsilon^p}\log^3 n\left(\log\log n+\log\frac{1}\epsilon\right)\right)$ 空间的算法(适用于 $0<p\le 2$),改进了 $\ell_2$-heavy hitters 的已知最佳算法(Braverman 等人,COCOON 2014),其空间复杂度为 $\mathcal{O}\left(\frac{1}{\epsilon^4}\log^3 n\right)$。我们还证明了不同元素的下界为 $\Omega\left(\frac{1}\epsilon\log^2 n+\frac{1}{\epsilon^2}\log n\right)$,$\ell_p$-heavy hitters 的下界为 $\Omega\left(\frac{1}{\epsilon^p}\log^2 n\right)$。

英文摘要:

We study the distinct elements and $\ell_p$-heavy hitters problems in the sliding window model, where only the most recent $n$ elements in the data stream form the underlying set. We first introduce the composable histogram, a simple twist on the exponential (Datar et al., SODA 2002) and smooth histograms (Braverman and Ostrovsky, FOCS 2007) that may be of independent interest. We then show that the composable histogram along with a careful combination of existing techniques to track either the identity or frequency of a few specific items suffices to obtain algorithms for both distinct elements and $\ell_p$-heavy hitters that are nearly optimal in both $n$ and $ε$. Applying our new composable histogram framework, we provide an algorithm that outputs a $(1+ε)$-approximation to the number of distinct elements in the sliding window model and uses $\mathcal{O}\left(\frac{1}{ε^2}\log n\log\frac{1}ε\log\log n+\frac{1}ε\log^2 n\right)$ bits of space. For $\ell_p$-heavy hitters, we provide an algorithm using space $\mathcal{O}\left(\frac{1}{ε^p}\log^3 n\left(\log\log n+\log\frac{1}ε\right)\right)$ for $0<p\le 2$, improving upon the best-known algorithm for $\ell_2$-heavy hitters (Braverman et al., COCOON 2014), which has space complexity $\mathcal{O}\left(\frac{1}{ε^4}\log^3 n\right)$. We also show lower bounds of $Ω\left(\frac{1}ε\log^2 n+\frac{1}{ε^2}\log n\right)$ for distinct elements and $Ω\left(\frac{1}{ε^p}\log^2 n\right)$ for $\ell_p$-heavy hitters.

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

↑