Social Network Analysis and Mining

, Volume 1, Issue 2, pp 75–81

Spectral counting of triangles via element-wise sparsification and triangle-based link recommendation


    • School of Computer ScienceCarnegie Mellon University
  • Petros Drineas
    • Department of Computer ScienceRensselaer Polytechnic Institute
  • Eirinaios Michelakis
    • EECS University of California, Berkeley
  • Ioannis Koutis
    • School of Computer ScienceCarnegie Mellon University
  • Christos Faloutsos
    • School of Computer ScienceCarnegie Mellon University
Original Article

DOI: 10.1007/s13278-010-0001-9

Cite this article as:
Tsourakakis, C.E., Drineas, P., Michelakis, E. et al. Soc. Netw. Anal. Min. (2011) 1: 75. doi:10.1007/s13278-010-0001-9


Triangle counting is an important problem in graph mining. The clustering coefficient and the transitivity ratio, two commonly used measures effectively quantify the triangle density in order to quantify the fact that friends of friends tend to be friends themselves. Furthermore, several successful graph-mining applications rely on the number of triangles in the graph. In this paper, we study the problem of counting triangles in large, power-law networks. Our algorithm, SparsifyingEigenTriangle, relies on the spectral properties of power-law networks and the Achlioptas–McSherry sparsification process. SparsifyingEigenTriangle is easy to parallelize, fast, and accurate. We verify the validity of our approach with several experiments in real-world graphs, where we achieve at the same time high accuracy and considerable speedup versus a straight-forward exact counting competitor. Finally, our contributions include a simple method for making link recommendations in online social networks based on the number of triangles as well as a procedure for estimating triangles using sketches.

Copyright information

© Springer-Verlag 2010