In this paper we study the problem of approximate local triangle counting in large graphs. Namely, given a large graph $G=(V,E)$ we want to estimate as accurately as possible the number of triangles incident to every node $v\in V$ in the graph. We consider the question both for undirected and directed graphs. The problem of computing the {\em global} number of triangles in a graph has been considered before, but to our knowledge this is the first contribution that addresses the problem of approximate {\em local} triangle counting with a focus on the efficiency issues arising in massive graphs and that also considers the directed case. The distribution of the local number of triangles and the related local clustering coefficient can be used in many interesting applications. For example, we show that the measures we compute can help detect the presence of spamming activity in large-scale Web graphs, as well as to provide useful features for content quality assessment in social networks. For computing the local number of triangles (undirected and directed) we propose two approximation algorithms, which are based on the idea of min-wise independent permutations (Broder et~al.~1998). Our algorithms operate in a semi-streaming fashion, using $\bigo(|V|)$ space in main memory and performing $\bigo(\log |V|)$ sequential scans over the edges of the graph. The first algorithm we describe in this paper also uses $\bigo(|E|)$ space of external memory during computation, while the second algorithm uses only main memory. We present the theoretical analysis as well as experimental results on large graphs, demonstrating the practical efficiency of our approach.

Efficient algorithms for large-scale local triangle counting / L. Becchetti, P. Boldi, C. Castillo, Ar. Gionis. - In: ACM TRANSACTIONS ON KNOWLEDGE DISCOVERY FROM DATA. - ISSN 1556-4681. - 4:3(2010), pp. 13.1-13.28. [10.1145/1839490.1839494]

Efficient algorithms for large-scale local triangle counting

P. Boldi
Secondo
;
2010

Abstract

In this paper we study the problem of approximate local triangle counting in large graphs. Namely, given a large graph $G=(V,E)$ we want to estimate as accurately as possible the number of triangles incident to every node $v\in V$ in the graph. We consider the question both for undirected and directed graphs. The problem of computing the {\em global} number of triangles in a graph has been considered before, but to our knowledge this is the first contribution that addresses the problem of approximate {\em local} triangle counting with a focus on the efficiency issues arising in massive graphs and that also considers the directed case. The distribution of the local number of triangles and the related local clustering coefficient can be used in many interesting applications. For example, we show that the measures we compute can help detect the presence of spamming activity in large-scale Web graphs, as well as to provide useful features for content quality assessment in social networks. For computing the local number of triangles (undirected and directed) we propose two approximation algorithms, which are based on the idea of min-wise independent permutations (Broder et~al.~1998). Our algorithms operate in a semi-streaming fashion, using $\bigo(|V|)$ space in main memory and performing $\bigo(\log |V|)$ sequential scans over the edges of the graph. The first algorithm we describe in this paper also uses $\bigo(|E|)$ space of external memory during computation, while the second algorithm uses only main memory. We present the theoretical analysis as well as experimental results on large graphs, demonstrating the practical efficiency of our approach.
Clustering coefficient; Massive-graph computing; Social networks; Web com- puting
Settore INF/01 - Informatica
2010
Article (author)
File in questo prodotto:
File Dimensione Formato  
a13-becchetti.pdf

accesso solo dalla rete interna

Tipologia: Publisher's version/PDF
Dimensione 873.79 kB
Formato Adobe PDF
873.79 kB Adobe PDF   Visualizza/Apri   Richiedi una copia
Pubblicazioni consigliate

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2434/154076
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 69
  • ???jsp.display-item.citation.isi??? 49
social impact