Approximately Counting Triangles in Sublinear Time
Abstract
We consider the problem of estimating the number of triangles in a graph. This problem has been extensively studied in both theory and practice, but all existing algorithms read the entire graph. In this work we design a {\em sublinear-time\/} algorithm for approximating the number of triangles in a graph, where the algorithm is given query access to the graph. The allowed queries are degree queries, vertex-pair queries and neighbor queries. We show that for any given approximation parameter , the algorithm provides an estimate such that with high constant probability, , where is the number of triangles in the graph . The expected query complexity of the algorithm is , where is the number of vertices in the graph and is the number of edges, and the expected running time is . We also prove that queries are necessary, thus establishing that the query complexity of this algorithm is optimal up to polylogarithmic factors in (and the dependence on ).
Cite
@article{arxiv.1504.00954,
title = {Approximately Counting Triangles in Sublinear Time},
author = {Talya Eden and Amit Levi and Dana Ron and C. Seshadhri},
journal= {arXiv preprint arXiv:1504.00954},
year = {2016}
}
Comments
To appear in the 56th Annual IEEE Symposium on Foundations of Computer Science (FOCS 2015)