How the Degeneracy Helps for Triangle Counting in Graph Streams
@misc{bera2020how,
title = {How the Degeneracy Helps for Triangle Counting in Graph Streams},
author = {Suman K. Bera and C. Seshadhri},
year = {2020},
eprint = {2003.13151},
archivePrefix = {arXiv},
primaryClass = {cs.DS},
url = {https://arxiv.org/abs/2003.13151}
}
Bera, S. K., & Seshadhri, C. (2020). How the Degeneracy Helps for Triangle Counting in Graph Streams [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2003.13151
BERA SK, SESHADHRI C. How the Degeneracy Helps for Triangle Counting in Graph Streams[EB/OL]. (2020-03-29)[2026-11-29]. https://arxiv.org/abs/2003.13151.
Abstract
We revisit the well-studied problem of triangle count estimation in graph streams. Given a graph represented as a stream of m edges, our aim is to compute a (1+/-epsilon)-approximation to the triangle count T, using a small space algorithm. For arbitrary order and a constant number of passes, the space complexity is known to be essentially Theta(min(m^3/2/T, m/sqrtT)) (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 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 widetildeO(mkappa/T). For constant degeneracy graphs, this bound is widetildeO(m/T), which is significantly smaller than both m^3/2/T and m/sqrtT. We complement our algorithmic result with a nearly matching lower bound of Omega(mkappa/T).