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

在分析数据流中发现子立方体重打击者

Finding Subcube Heavy Hitters in Analytics Data Streams

Branislav Kveton, S. Muthukrishnan, Hoa T. Vu, Yikun Xian

摘要:

数据流通常具有大量维度的项。我们在这种情况下研究基本的重量级选手问题。形式上,数据流由$d$ -维项$x_1,\ldots,x_m \in [n]^d$组成。$k$维子立方体$T$是不同坐标$\{ T_1,\cdots,T_k \} \subseteq [d]$的子集.子立方体重命中查询${\rm Query}(T,v)$,$v \in [n]^k$,如果是$f_T(v) \geq γ$,则输出YES,如果是$f_T(v) < γ/4$,则输出NO,其中$f_T$是其坐标$T$具有联合值$v$的流项目的数目的比率。所有子立方体重命中者查询${\rm AllQuery}(T)$输出对${\rm Query}(T,v)$返回YES的所有关节值$v$。这个问题的一维版本$d=1$在数据流理论,数据库,网络和信号处理方面进行了大量研究。子立方体重打击者问题适用于所有这些情况。针对$\tilde{O}(kd/γ)$空间中的子立方体重打击者问题,提出了一种简单的基于水库采样的单程流算法。这是最佳的多对数因子给定的下限。在最坏的情况下,这是$Θ(d^2/γ)$,这是禁止大型$d$,我们的目标是绕过这个二次瓶颈。我们的主要贡献是一个基于模型的方法子立方体重打击者问题。特别地,我们假设维度通过朴素贝叶斯模型彼此相关,有或没有潜在维度。在这个假设下,我们提出了一个新的两遍,$\tilde{O}(d/γ)$空间算法为我们的问题,并回答${\rm AllQuery}(T)$在$O(k/γ^2)$时间的快速算法。我们的工作发展了基于模型的数据流分析的方向,还有很多东西有待探索。

英文摘要:

Data streams typically have items of large number of dimensions. We study the fundamental heavy-hitters problem in this setting. Formally, the data stream consists of $d$-dimensional items $x_1,\ldots,x_m \in [n]^d$. A $k$-dimensional subcube $T$ is a subset of distinct coordinates $\{ T_1,\cdots,T_k \} \subseteq [d]$. A subcube heavy hitter query ${\rm Query}(T,v)$, $v \in [n]^k$, outputs YES if $f_T(v) \geq γ$ and NO if $f_T(v) < γ/4$, where $f_T$ is the ratio of number of stream items whose coordinates $T$ have joint values $v$. The all subcube heavy hitters query ${\rm AllQuery}(T)$ outputs all joint values $v$ that return YES to ${\rm Query}(T,v)$. The one dimensional version of this problem where $d=1$ was heavily studied in data stream theory, databases, networking and signal processing. The subcube heavy hitters problem is applicable in all these cases. We present a simple reservoir sampling based one-pass streaming algorithm to solve the subcube heavy hitters problem in $\tilde{O}(kd/γ)$ space. This is optimal up to poly-logarithmic factors given the established lower bound. In the worst case, this is $Θ(d^2/γ)$ which is prohibitive for large $d$, and our goal is to circumvent this quadratic bottleneck. Our main contribution is a model-based approach to the subcube heavy hitters problem. In particular, we assume that the dimensions are related to each other via the Naive Bayes model, with or without a latent dimension. Under this assumption, we present a new two-pass, $\tilde{O}(d/γ)$-space algorithm for our problem, and a fast algorithm for answering ${\rm AllQuery}(T)$ in $O(k/γ^2)$ time. Our work develops the direction of model-based data stream analysis, with much that remains to be explored.

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

↑