arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1404.4693cs.DS
收藏

一致子集抽样

Consistent Subset Sampling

Konstantin Kutzkov, Rasmus Pagh

摘要:

一致采样是一种用于在小空间中指定潜在的大总体$U$的子集$S$的技术,使得$S$中的元素满足适当选择的采样条件。给定子集$\mathcal{I}\subseteq U$,应该可以快速计算$\mathcal{I}\cap S$,即,$\mathcal{I}$中的元素满足采样条件。一致性抽样在相似性估计和数据流中不同项目的数量估计中有重要的应用。在本文中,我们推广一致的采样设置,我们感兴趣的采样大小- $k$子集发生在某个集合中的一组有界大小$b$,其中$k$是一个小整数的集合。这可以通过对每个集合的$k$子集应用标准一致采样来完成,但是该方法需要时间$Θ(b^k)$。使用一个精心设计的哈希函数,对于给定的采样概率$p \in (0,1]$,我们展示了如何提高时间复杂度到$Θ(b^{\lceil k/2\rceil}\log \log b + pb^k)$的预期,同时保持强浓度范围的样本。我们的方法的空间使用是$Θ(b^{\lceil k/4\rceil})$。我们证明了我们的技术的实用性,将其应用到几个研究良好的数据挖掘问题。我们展示了如何有效地估计频繁的$k$ -项目集的交易流和在一个图中的发病率流的二分团的数量。此外,在Campagna等人最近的工作基础上,我们表明,我们的方法可以适用于频繁项集挖掘在并行或分布式设置。我们还提出了在图流挖掘中的应用。

英文摘要:

Consistent sampling is a technique for specifying, in small space, a subset $S$ of a potentially large universe $U$ such that the elements in $S$ satisfy a suitably chosen sampling condition. Given a subset $\mathcal{I}\subseteq U$ it should be possible to quickly compute $\mathcal{I}\cap S$, i.e., the elements in $\mathcal{I}$ satisfying the sampling condition. Consistent sampling has important applications in similarity estimation, and estimation of the number of distinct items in a data stream. In this paper we generalize consistent sampling to the setting where we are interested in sampling size-$k$ subsets occurring in some set in a collection of sets of bounded size $b$, where $k$ is a small integer. This can be done by applying standard consistent sampling to the $k$-subsets of each set, but that approach requires time $Θ(b^k)$. Using a carefully designed hash function, for a given sampling probability $p \in (0,1]$, we show how to improve the time complexity to $Θ(b^{\lceil k/2\rceil}\log \log b + pb^k)$ in expectation, while maintaining strong concentration bounds for the sample. The space usage of our method is $Θ(b^{\lceil k/4\rceil})$. We demonstrate the utility of our technique by applying it to several well-studied data mining problems. We show how to efficiently estimate the number of frequent $k$-itemsets in a stream of transactions and the number of bipartite cliques in a graph given as incidence stream. Further, building upon a recent work by Campagna et al., we show that our approach can be applied to frequent itemset mining in a parallel or distributed setting. We also present applications in graph stream mining.

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

↑