English

How the Degeneracy Helps for Triangle Counting in Graph Streams

Data Structures and Algorithms 2020-03-31 v1

Abstract

We revisit the well-studied problem of triangle count estimation in graph streams. Given a graph represented as a stream of mm edges, our aim is to compute a (1±ε)(1\pm\varepsilon)-approximation to the triangle count TT, using a small space algorithm. For arbitrary order and a constant number of passes, the space complexity is known to be essentially Θ(min(m3/2/T,m/T))\Theta(\min(m^{3/2}/T, m/\sqrt{T})) (McGregor et al., PODS 2016, Bera et al., STACS 2017). We give a (constant pass, arbitrary order) streaming algorithm that can circumvent this lower bound for \emph{low degeneracy graphs}. The degeneracy, κ\kappa, is a nuanced measure of density, and the class of constant degeneracy graphs is immensely rich (containing planar graphs, minor-closed families, and preferential attachment graphs). We design a streaming algorithm with space complexity O~(mκ/T)\widetilde{O}(m\kappa/T). For constant degeneracy graphs, this bound is O~(m/T)\widetilde{O}(m/T), which is significantly smaller than both m3/2/Tm^{3/2}/T and m/Tm/\sqrt{T}. We complement our algorithmic result with a nearly matching lower bound of Ω(mκ/T)\Omega(m\kappa/T).

Keywords

Cite

@article{arxiv.2003.13151,
  title  = {How the Degeneracy Helps for Triangle Counting in Graph Streams},
  author = {Suman K. Bera and C. Seshadhri},
  journal= {arXiv preprint arXiv:2003.13151},
  year   = {2020}
}

Comments

Accepted for publication in PODS'2020

R2 v1 2026-06-23T14:31:10.041Z