TY - JOUR
T1 - Approximately counting triangles in sublinear time
AU - Eden, Talya
AU - Levi, Amit
AU - Ron, Dana
AU - Seshadhr, C.
N1 - Publisher Copyright:
Copyright © by SIAM.
PY - 2017
Y1 - 2017
N2 - 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 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 0 < ϵ < 1, the algorithm provides an estimate t such that, with high constant probability, (1 - ϵ)· t 1/3 + min{m, m3/2/t})· poly(logn, 1/ϵ), where n is the number of vertices in the graph and m is the number of edges. The expected running time of the algorithm is (m is the number of edges. The expected running time of the algorithm is (n/t1/3 + m3/2/t)·poly (log n, 1/ϵ). We also prove that Ω(n/t1/3 + min{m, m3/2/t) queries are necessary, thus establishing that the query complexity of this algorithm is optimal up to the dependence on poly(logn, 1/ϵ).
AB - 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 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 0 < ϵ < 1, the algorithm provides an estimate t such that, with high constant probability, (1 - ϵ)· t 1/3 + min{m, m3/2/t})· poly(logn, 1/ϵ), where n is the number of vertices in the graph and m is the number of edges. The expected running time of the algorithm is (m is the number of edges. The expected running time of the algorithm is (n/t1/3 + m3/2/t)·poly (log n, 1/ϵ). We also prove that Ω(n/t1/3 + min{m, m3/2/t) queries are necessary, thus establishing that the query complexity of this algorithm is optimal up to the dependence on poly(logn, 1/ϵ).
UR - https://www.scopus.com/pages/publications/85032881942
U2 - 10.1137/15M1054389
DO - 10.1137/15M1054389
M3 - ???researchoutput.researchoutputtypes.contributiontojournal.article???
AN - SCOPUS:85032881942
SN - 0097-5397
VL - 46
SP - 1603
EP - 1646
JO - SIAM Journal on Computing
JF - SIAM Journal on Computing
IS - 5
ER -