English

A Second Look at Counting Triangles in Graph Streams (revised)

Data Structures and Algorithms 2016-03-10 v2

Abstract

In this paper we present improved results on the problem of counting triangles in edge streamed graphs. For graphs with mm edges and at least TT triangles, we show that an extra look over the stream yields a two-pass treaming algorithm that uses O(m\eps2.5T\polylog(m))O(\frac{m}{\eps^{2.5}\sqrt{T}}\polylog(m)) space and outputs a (1+\eps)(1+\eps) approximation of the number of triangles in the graph. This improves upon the two-pass streaming tester of Braverman, Ostrovsky and Vilenchik, ICALP 2013, which distinguishes between triangle-free graphs and graphs with at least TT triangle using O(mT1/3)O(\frac{m}{T^{1/3}}) space. Also, in terms of dependence on TT, we show that more passes would not lead to a better space bound. In other words, we prove there is no constant pass streaming algorithm that distinguishes between triangle-free graphs from graphs with at least TT triangles using O(mT1/2+ρ)O(\frac{m}{T^{1/2+\rho}}) space for any constant ρ0\rho \ge 0.

Keywords

Cite

@article{arxiv.1401.2175,
  title  = {A Second Look at Counting Triangles in Graph Streams (revised)},
  author = {Graham Cormode and Hossein Jowhari},
  journal= {arXiv preprint arXiv:1401.2175},
  year   = {2016}
}
R2 v1 2026-06-22T02:42:30.437Z