Exact and Parallel Triangle Counting in Dynamic Graphs

被引:15
|
作者
Makkar, Devavret [1 ]
Bader, David A. [1 ]
Green, Oded [1 ]
机构
[1] Georgia Inst Technol, Coll Comp, Atlanta, GA 30332 USA
基金
美国国家科学基金会;
关键词
D O I
10.1109/HiPC.2017.00011
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Triangle counting is an important building block for finding key players in a graph. It is an integral part of the popular clustering coefficient analytic and can be used for pattern matching in social networks. A triangle, which is also a 3-clique, represents a strong connection between three players that are all connected. While counting triangles is not overly expensive from a computational standpoint, especially in comparison to centrality metrics (such as betweenness centrality and closeness centrality), it can still prove to be prohibitive for large scale networks, especially for those with a power-law distribution. This problem only deepens for dynamic graphs where the network is constantly changing, requiring constant updating of the graph and the analytic. In this paper, we present a new dynamic graph algorithm for counting triangles that is based on an inclusion-exclusion formulation. While our algorithm is independent of the computing platform, we show performance results on an NVIDIA GPU. Our approach handles 32 million updates per second, or up to 11 million updates per second if the graph data structure is also updated. In past approaches, when a vertex was affected due to an edge insertion or deletion, it was necessary to find the triangles from scratch for that given vertex. Our new formulation does not need this and only requires considering the affected edges. As such our algorithm is typically several hundred times faster than the past approach - in some cases up to 819X faster.
引用
收藏
页码:2 / 12
页数:11
相关论文
共 50 条
  • [1] Parallel Triangle Counting in Massive Streaming Graphs
    Tangwongsan, Kanat
    Pavan, A.
    Tirthapura, Srikanta
    [J]. PROCEEDINGS OF THE 22ND ACM INTERNATIONAL CONFERENCE ON INFORMATION & KNOWLEDGE MANAGEMENT (CIKM'13), 2013, : 781 - 786
  • [2] Exact counting of Euler tours for generalized series-parallel graphs
    Chebolu, Prasad
    Cryan, Mary
    Martin, Russell
    [J]. JOURNAL OF DISCRETE ALGORITHMS, 2012, 10 (01) : 110 - 122
  • [3] TRICORE: Parallel Triangle Counting on GPUs
    Hu, Yang
    Liu, Hang
    Huang, H. Howie
    [J]. PROCEEDINGS OF THE INTERNATIONAL CONFERENCE FOR HIGH PERFORMANCE COMPUTING, NETWORKING, STORAGE, AND ANALYSIS (SC'18), 2018,
  • [4] DPTL plus : Efficient Parallel Triangle Listing on Batch -Dynamic Graphs
    Yu, Michael
    Qin, Lu
    Zhang, Ying
    Zhang, Wenjie
    Lin, Xuemin
    [J]. 2021 IEEE 37TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE 2021), 2021, : 1332 - 1343
  • [5] High Performance Exact Triangle Counting on GPUs
    Bisson, Mauro
    Fatica, Massimiliano
    [J]. IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2017, 28 (12) : 3501 - 3510
  • [6] Differentially Private Triangle Counting in Large Graphs
    Ding, Xiaofeng
    Sheng, Shujun
    Zhou, Huajian
    Zhang, Xiaodong
    Bao, Zhifeng
    Zhou, Pan
    Jin, Hai
    [J]. IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2022, 34 (11) : 5278 - 5292
  • [7] Counting colorings of triangle-free graphs
    Bernshteyn, Anton
    Brazelton, Tyler
    Cao, Ruijia
    Kang, Akum
    [J]. JOURNAL OF COMBINATORIAL THEORY SERIES B, 2023, 161 : 86 - 108
  • [8] A Comparative Study on Exact Triangle Counting Algorithms on the GPU
    Wang, Leyuan
    Wang, Yangzihao
    Yang, Carl
    Owens, John D.
    [J]. PROCEEDINGS OF THE ACM WORKSHOP ON HIGH PERFORMANCE GRAPH PROCESSING (HPGP'16), 2016, : 1 - 8
  • [9] Triangle Counting in Dynamic Graph Streams
    Laurent Bulteau
    Vincent Froese
    Konstantin Kutzkov
    Rasmus Pagh
    [J]. Algorithmica, 2016, 76 : 259 - 278
  • [10] Triangle Counting in Dynamic Graph Streams
    Kutzkov, Konstantin
    Pagh, Rasmus
    [J]. ALGORITHM THEORY - SWAT 2014, 2014, 8503 : 306 - 318