English

Subgraph Counting in Subquadratic Time for Bounded Degeneracy Graphs

Data Structures and Algorithms 2025-03-05 v2 Discrete Mathematics

Abstract

We study the classic problem of subgraph counting, where we wish to determine the number of occurrences of a fixed pattern graph HH in an input graph GG of nn vertices. Our focus is on bounded degeneracy inputs, a rich family of graph classes that also characterizes real-world massive networks. Building on the seminal techniques introduced by Chiba-Nishizeki (SICOMP 1985), a recent line of work has built subgraph counting algorithms for bounded degeneracy graphs. Assuming fine-grained complexity conjectures, there is a complete characterization of patterns HH for which linear time subgraph counting is possible. For every r6r \geq 6, there exists an HH with rr vertices that cannot be counted in linear time. In this paper, we initiate a study of subquadratic algorithms for subgraph counting on bounded degeneracy graphs. We prove that when HH has at most 99 vertices, subgraph counting can be done in O~(n5/3)\tilde{O}(n^{5/3}) time. As a secondary result, we give improved algorithms for counting cycles of length at most 1010. Previously, no subquadratic algorithms were known for the above problems on bounded degeneracy graphs. Our main conceptual contribution is a framework that reduces subgraph counting in bounded degeneracy graphs to counting smaller hypergraphs in arbitrary graphs. We believe that our results will help build a general theory of subgraph counting for bounded degeneracy graphs.

Keywords

Cite

@article{arxiv.2410.08376,
  title  = {Subgraph Counting in Subquadratic Time for Bounded Degeneracy Graphs},
  author = {Daniel Paul-Pena and C. Seshadhri},
  journal= {arXiv preprint arXiv:2410.08376},
  year   = {2025}
}
R2 v1 2026-06-28T19:17:09.114Z