All-Distances Sketches, Revisited: HIP Estimators for Massive Graphs Analysis

被引:17
作者
Cohen, Edith [1 ]
机构
[1] Microsoft Res SVC, Mountain View, CA 94043 USA
来源
PODS'14: PROCEEDINGS OF THE 33RD ACM SIGMOD-SIGACT-SIGART SYMPOSIUM ON PRINCIPLES OF DATABASE SYSTEMS | 2014年
关键词
D O I
10.1145/2594538.2594546
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Graph datasets with billions of edges, such as social and Web graphs, are prevalent. To be feasible, computation on such large graphs should scale linearly with graph size. All-distances sketches (ADSs) are emerging as a powerful tool for scalable computation of some basic properties of individual nodes or the whole graph. ADSs were first proposed two decades ago (Cohen 1994) and more recent algorithms include ANF (Palmer, Gibbons, and Faloutsos 2002) and hyperANF (Boldi, Rosa, and Vigna 2011). A sketch of logarithmic size is computed for each node in the graph and the computation in total requires only a near linear number of edge relaxations. From the ADS of a node, we can estimate neighborhood cardinalities (the number of nodes within some query distance) and closeness centrality. More generally we can estimate the distance distribution, effective diameter, similarities, and other parameters of the full graph. We make several contributions which facilitate a more effective use of ADSs for scalable analysis of massive graphs. We provide, for the first time, a unified exposition of ADS algorithms and applications. We present the Historic Inverse Probability (HIP) estimators which are applied to the ADS of a node to estimate a large natural class of queries including neighborhood cardinalities and closeness centralities. We show that our HIP estimators have at most half the variance of previous neighborhood cardinality estimators and that this is essentially optimal. Moreover, HIP obtains a polynomial improvement over state of the art for more general domain queries and the estimators are simple, flexible, unbiased, and elegant. The ADS generalizes Min-Hash sketches, used for approximating cardinality (distinct count) on data streams. We obtain lower bounds on Min-Hash cardinality estimation using classic estimation theory. We illustrate the power of HIP, both in terms of ease of application and estimation quality, by comparing it to the HyperLogLog algorithm (Flajolet et al. 2007), demonstrating a significant improvement over this state-of-the-art practical algorithm. We also study the quality of ADS estimation of distance ranges, generalizing the near-linear time factor-2 approximation of the diameter.
引用
收藏
页码:88 / 99
页数:12
相关论文
共 44 条
[1]   Fast estimation of diameter and shortest paths (without matrix multiplication) [J].
Aingworth, D ;
Chekuri, C ;
Indyk, P ;
Motwani, R .
SIAM JOURNAL ON COMPUTING, 1999, 28 (04) :1167-1181
[2]   The space complexity of approximating the frequency moments [J].
Alon, N ;
Matias, Y ;
Szegedy, M .
JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1999, 58 (01) :137-147
[3]  
[Anonymous], 1948, HUMAN ORG
[4]  
[Anonymous], 2012, NIPS
[5]  
[Anonymous], SEQUENCES, DOI DOI 10.1109/SEQUEN.1997.666900
[6]  
[Anonymous], 2013, P ACM SIGMOD INT C M, DOI DOI 10.1145/2463676.2465315
[7]  
Backstrom L, 2012, PROCEEDINGS OF THE 3RD ANNUAL ACM WEB SCIENCE CONFERENCE, 2012, P33
[8]  
Bar-Yossef Z., 2002, RANDOM ACM
[9]   CONDITIONAL EXPECTATION AND UNBIASED SEQUENTIAL ESTIMATION [J].
BLACKWELL, D .
ANNALS OF MATHEMATICAL STATISTICS, 1947, 18 (01) :105-110
[10]  
Boldi P., 2011, WWW