Exact and Parallel Triangle Counting in Dynamic Graphs
Authors:
- Devavret MakkarDMDevavret Makkar
- David A. BaderDBDavid A. Bader
- Oded GreenOGOded Green
- 1 December 2017
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 2-12
Abstract
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.Keywords
This publication has 33 references indexed in Scilit:
- Static graph challenge: Subgraph isomorphism2017
- GraphIn: An Online High Performance Incremental Graph Processing Framework2016
- A Comparative Study on Exact Triangle Counting Algorithms on the GPU2016
- Multicore triangle computations without tuning2015
- Shaping communities out of triangles2012
- Merge Path - Parallel Merging Made Simple2012
- Truss decomposition in massive networksProceedings of the VLDB Endowment, 2012
- Massive streaming data analytics: A case study with clustering coefficients2010
- DOULION2009
- Finding, Counting and Listing All Triangles in Large Graphs, an Experimental Study2005