Mergeable Summaries

被引:99
作者
Agarwal, Pankaj K. [1 ]
Cormode, Graham [2 ,3 ]
Huang, Zengfeng [4 ,7 ]
Phillips, Jeff M. [5 ]
Wei, Zhewei [4 ,7 ]
Yi, Ke [6 ,7 ]
机构
[1] Duke Univ, Durham, NC USA
[2] Univ Warwick, Coventry CV4 7AL, W Midlands, England
[3] AT&T Labs Res, Middletown, NJ 07748 USA
[4] Aarhus Univ, Aarhus, Denmark
[5] Univ Utah, Salt Lake City, UT USA
[6] Tsinghua Univ, Beijing 100084, Peoples R China
[7] HKUST, Hong Kong, Hong Kong, Peoples R China
来源
ACM TRANSACTIONS ON DATABASE SYSTEMS | 2013年 / 38卷 / 04期
基金
美国国家科学基金会;
关键词
Algorithms; Data summarization; heavy hitters; quantiles; BOUNDS; COMPLEXITY; FREQUENT;
D O I
10.1145/2500128
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
We study the mergeability of data summaries. Informally speaking, mergeability requires that, given two summaries on two datasets, there is a way to merge the two summaries into a single summary on the two datasets combined together, while preserving the error and size guarantees. This property means that the summaries can be merged in a way akin to other algebraic operators such as sum and max, which is especially useful for computing summaries on massive distributed data. Several data summaries are trivially mergeable by construction, most notably all the sketches that are linear functions of the datasets. But some other fundamental ones, like those for heavy hitters and quantiles, are not (known to be) mergeable. In this article, we demonstrate that these summaries are indeed mergeable or can be made mergeable after appropriatemodifications. Specifically, we show that for epsilon-approximate heavy hitters, there is a deterministic mergeable summary of size O(1/epsilon); for epsilon-approximate quantiles, there is a deterministic summary of size O((1/epsilon) log(epsilon n)) that has a restricted form of mergeability, and a randomized one of size O((1/epsilon) log(3/2)(1/epsilon)) with full mergeability. We also extend our results to geometric summaries such as epsilon-approximations which permit approximate multidimensional range counting queries. While most of the results in this article are theoretical in nature, some of the algorithms are actually very simple and even perform better than the previously best known algorithms, which we demonstrate through experiments in a simulated sensor network. We also achieve two results of independent interest: (1) we provide the best known randomized streaming bound for epsilon-approximate quantiles that depends only on epsilon, of size O((1/epsilon) log(3/2)(1/epsilon)), and (2) we demonstrate that the MG and the SpaceSaving summaries for heavy hitters are isomorphic.
引用
收藏
页数:28
相关论文
共 40 条
[11]  
Chazelle B., 2001, The discrepancy method: randomness and complexity
[12]   An improved data stream summary: the count-min sketch and its applications [J].
Cormode, G ;
Muthukrishnan, S .
JOURNAL OF ALGORITHMS-COGNITION INFORMATICS AND LOGIC, 2005, 55 (01) :58-75
[13]  
Cormode G., 2008, P INT C VER LARG DAT
[14]   Finding Frequent Items in Data Streams [J].
Cormode, Graham ;
Hadjieleftheriou, Marios .
PROCEEDINGS OF THE VLDB ENDOWMENT, 2008, 1 (02) :1530-1541
[15]  
Feigenbaum J, 2003, SIAM J COMPUT, V32, P131, DOI 10.1137/S0097539799361701
[16]  
Feldman J., 2008, P ACM SIAM S DISCR A
[17]  
Gilbert A.C., 2002, P INT C VER LARG DAT
[18]  
Greenwald M., 2001, P ACM SIGMOD INT C M
[19]   Clustering data streams [J].
Guha, S ;
Mishra, N ;
Motwani, R ;
O'Callaghan, L .
41ST ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE, PROCEEDINGS, 2000, :359-366
[20]  
Guha S., 2009, P 12 INT C DAT THEOR, P268, DOI DOI 10.1145/1514894.1514926