Optimally detecting uniformly-distributed $\ell_2$ heavy hitters in data streams
University of Waterloo(滑铁卢大学);Princeton University(普林斯顿大学)
Santhoshini Velusamy, Huacheng Yu
备注:
In this version, we remove our previous result for random-order streams after becoming aware that it had already appeared in prior work by Braverman, Garg, and Woodruff [2020]. We now properly cite their result and present only our new contribution concerning partially random-order streams
Given a stream $x_1,x_2,\dots,x_n$ of items from a Universe $U$ of size poly$(n)$, and a parameter $ε>0$, an item $i\in U$ is said to be an $\ell_2$ heavy hitter if its frequency $f_i$ in the stream is at least $\sqrt{εF_2}$, where $F_2={\sum_{i\in U} f_i^2}$. Efficiently detecting such heavy hitters is a fundamental problem in data streams and has several applications in both theory and in practice. The classical $\mathsf{CountSketch}$ algorithm due to Charikar, Chen, and Farach-Colton [2004], was the first algorithm to detect $\ell_2$ heavy hitters using $O\left(\frac{\log^2 n}ε\right)$ bits of space, and their algorithm is optimal for streams with deletions. A work due to Braverman, Chestnut, Ivkin, Nelson, Wang, and Woodruff [2017] gave the $\mathsf{BPTree}$ algorithm which detects $\ell_2$ heavy hitters in insertion-only streams using only $O\left(\frac{\log(1/ε)}ε\log n \right)$ space. Note that any algorithm requires at least $Ω\left(\frac{1}ε \log n\right)$ space to output $O(1/ε)$ heavy hitters in the worst case. While $\mathsf{BPTree}$ achieves optimal space bound for constant $ε$, their bound could be sub-optimal for $ε=o(1)$. For $\textit{random order}$ streams, where the stream elements can be adversarial but their order of arrival is uniformly random, Braverman, Garg, and Woodruff [2020] showed that it is possible to achieve the optimal space bound of $O\left(\frac{1}ε \log n\right)$ for every $ε= Ω\left(\frac{1}{2^{\sqrt{\log n}}}\right)$. In this work, we generalize their result to $\textit{partially random order}$ streams where only the heavy hitters are required to be uniformly distributed in the stream. We show that it is possible to achieve the same space bound, but with an additional assumption that the algorithm is given a constant approximation to $F_2$ in advance.
Deterministic Heavy Hitters with Sublinear Query Time
本文研究了旋转栅门流模型中的经典问题--重打击者发现问题。我们给出了第一个具有$O(ε^{-2} \log n \cdot \log^*(ε^{-1}))$行并在次线性时间内回答查询的确定性线性草图。行数仅是$\log^*(ε^{-1})$的一个因子,比我们的论文之前的最先进的算法所使用的多,由于Nelson,Nguyen和Woodruff(随机'12)。他们的算法在时间上运行至少在宇宙大小$n$中是线性的,这在流应用中是非常不期望的。我们的方法是基于一个迭代过程,其中大多数未恢复的重量级选手在每次迭代中确定。虽然这种技术已被广泛采用的稀疏恢复的相关问题,这是第一次,据我们所知,它已被用于在$\ell_1$重打击的上下文中。一路上,我们还给出了次线性时间算法的组合组测试和$\ell_1/\ell_1$压缩感知密切相关的问题,匹配以前的空间使用(超)线性时间算法。
A Simple Proof of a New Set Disjointness with Applications to Data Streams
多层承诺集的不相交性是通信复杂性在应用中应用最广泛的问题之一。在这个问题中,有$k$参与者的子集$S^1, \ldots, S^k$,每个都从$\{1, 2, \ldots, n\}$中抽取,并且我们被保证要么这些集合是(1)成对不相交的,要么(2)在所有集合中存在唯一的元素$j$,否则它们是成对不相交的。在黑板模型中求解该问题的总通信量为$Ω(n/k)$。我们观察到,对于大多数应用程序来说,只要看看我们称之为“大多数”的集合不相交性问题就足够了,它改变了情况(2),即至少有一半的集合中出现了唯一的元素$j$,否则这些集合是不相交的。这种变化给了我们一个更简单的证明一个$Ω(n/k)$随机总通信下界,避免了Hellinger距离和庞加莱不等式。利用这一点,我们展示了数据流的几个新结果:\begin{itemize} \item for $\ell_2$-Heavy Hitters, any $O(1)$-pass streaming algorithm in the insertion-only model for detecting if an $\eps$-$\ell_2$-heavy hitter exists requires $\min(\frac{1}{\eps^2}\log \frac{\eps^2n}δ, \frac{1}{\eps}n^{1/2})$ bits o…