Fast Counting of Triangles in Large Real Networks without Counting: Algorithms and Laws

  • Authors:
  • Charalampos E. Tsourakakis

  • Affiliations:
  • -

  • Venue:
  • ICDM '08 Proceedings of the 2008 Eighth IEEE International Conference on Data Mining
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

Triangles are important for real world social networks, lying at the heart of the clustering coefficient and of the transitivity ratio. However, straight-forward and even approximate counting algorithms can be slow, trying to execute or approximate the equivalent of a 3-way database join. In this paper, we provide two algorithms, the Eigen Triangle for counting the total number of triangles in a graph, and the Eigen Triangle Local algorithm that gives the count of triangles that contain a desired node. Additional contributions include the following:(a) We show that both algorithms achieve excellent accuracy, with up to ~1000x faster execution time, on several, real graphs and (b) we discover two new power laws (Degree-Triangle and Triangle Participation laws) with surprising properties.