How to Count Triangles, without Seeing the Whole Graph

被引:19
作者
Bera, Suman K. [1 ]
Seshadhri, C. [1 ]
机构
[1] UC Santa Cruz, Santa Cruz, CA 95064 USA
来源
KDD '20: PROCEEDINGS OF THE 26TH ACM SIGKDD INTERNATIONAL CONFERENCE ON KNOWLEDGE DISCOVERY & DATA MINING | 2020年
关键词
Triangle counting; Graph sampling; Random walks; STREAMING ALGORITHMS;
D O I
10.1145/3394486.3403073
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Triangle counting is a fundamental problem in the analysis of large graphs. There is a rich body of work on this problem, in varying streaming and distributed models, yet all these algorithms require reading the whole input graph. In many scenarios, we do not have access to the whole graph, and can only sample a small portion of the graph (typically through crawling). In such a setting, how can we accurately estimate the triangle count of the graph? We formally study triangle counting in the random walk access model introduced by Dasgupta et al (WWW '14) and Chierichetti et al (WWW '16). We have access to an arbitrary seed vertex of the graph, and can only perform random walks. This model is restrictive in access and captures the challenges of collecting realworld graphs. Even sampling a uniform random vertex is a hard task in this model. Despite these challenges, we design a provable and practical algorithm, TETRIS, for triangle counting in this model. TETRIS is the first provably sublinear algorithm (for most natural parameter settings) that approximates the triangle count in the random walk model, for graphs with low mixing time. Our result builds on recent advances in the theory of sublinear algorithms. The final sample built by TETRIS is a careful mix of random walks and degree-biased sampling of neighborhoods. Empirically, TETRIS accurately counts triangles on a variety of large graphs, getting estimates within 5% relative error by looking at 3% of the number of edges.
引用
收藏
页码:306 / 316
页数:11
相关论文
共 56 条
  • [41] Counting and Sampling Triangles from a Graph Stream
    Pavan, A.
    Tangwongsan, Kanat
    Tirthapura, Srikanta
    Wu, Kun-Lung
    [J]. PROCEEDINGS OF THE VLDB ENDOWMENT, 2013, 6 (14): : 1870 - 1881
  • [42] Fast Generation of Large Scale Social Networks While Incorporating Transitive Closures
    Pfeiffer, Joseph J., III
    La Fond, Timothy
    Moreno, Sebastian
    Neville, Jennifer
    [J]. PROCEEDINGS OF 2012 ASE/IEEE INTERNATIONAL CONFERENCE ON PRIVACY, SECURITY, RISK AND TRUST AND 2012 ASE/IEEE INTERNATIONAL CONFERENCE ON SOCIAL COMPUTING (SOCIALCOM/PASSAT 2012), 2012, : 154 - 165
  • [43] Rahman M., 2014, P ACM CIKM, P1519
  • [44] The Power of an Example: Hidden Set Size Approximation Using Group Queries and Conditional Sampling
    Ron, Dana
    Tsur, Gilad
    [J]. ACM TRANSACTIONS ON COMPUTATION THEORY, 2016, 8 (04)
  • [45] Rossi R, 2013, NETWORK REPOSITORY
  • [46] Schank T, 2005, LECT NOTES COMPUT SC, V3503, P606
  • [47] Wedge Sampling for Computing Clustering Coefficients and Triangle Counts on Large Graphs
    Seshadhri, C.
    Pinar, Ali
    Kolda, Tamara G.
    [J]. STATISTICAL ANALYSIS AND DATA MINING, 2014, 7 (04) : 294 - 307
  • [48] Community structure and scale-free collections of Erdos-Renyi graphs
    Seshadhri, C.
    Kolda, Tamara G.
    Pinar, Ali
    [J]. PHYSICAL REVIEW E, 2012, 85 (05)
  • [49] Seshadhri C.., 2019, C WORLD WID WEB WWW
  • [50] Suri S., 2011, P 20 INT C WORLD WID, P607, DOI DOI 10.1145/1963405.1963491