### Abstract

In this paper we study the problem of 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 ε V in the graph. The problem of computing the global number of triangles in a graph has been considered before, but to our knowledge this is the first paper that addresses the problem of local triangle counting with a focus on the efficiency issues arising in massive graphs. 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 to detect the presence of spamming activity in large-scale Web graphs, as well as to provide useful features to assess content quality in social networks. For computing the local number of triangles 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 O(|V|) space in main memory and performing O(log |V|) sequential scans over the edges of the graph. The first algorithm we describe in this paper also uses O(jEj) space in external memory during computation, while the second algorithm uses only main memory. We present the theoretical analysis as well as experimental results in massive graphs demonstrating the practical efficiency of our approach.

Original language | English |
---|---|

Title of host publication | KDD 2008 - Proceedings of the 14th ACMKDD International Conference on Knowledge Discovery and Data Mining |

Pages | 16-24 |

Number of pages | 9 |

DOIs | |

Publication status | Published - 1 Dec 2008 |

Event | 14th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, KDD 2008 - Las Vegas, NV, United States Duration: 24 Aug 2008 → 27 Aug 2008 |

### Publication series

Name | Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining |
---|

### Other

Other | 14th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, KDD 2008 |
---|---|

Country | United States |

City | Las Vegas, NV |

Period | 24/8/08 → 27/8/08 |

### Fingerprint

### Keywords

- Graph mining
- Probabilistic algorithms
- Semi-streaming

### ASJC Scopus subject areas

- Software
- Information Systems

### Cite this

*KDD 2008 - Proceedings of the 14th ACMKDD International Conference on Knowledge Discovery and Data Mining*(pp. 16-24). (Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining). https://doi.org/10.1145/1401890.1401898