English

A Dichotomy Hierarchy Characterizing Linear Time Subgraph Counting in Bounded Degeneracy Graphs

Data Structures and Algorithms 2023-11-17 v1 Discrete Mathematics

Abstract

Subgraph and homomorphism counting are fundamental algorithmic problems. Given a constant-sized pattern graph HH and a large input graph GG, we wish to count the number of HH-homomorphisms/subgraphs in GG. Given the massive sizes of real-world graphs and the practical importance of counting problems, we focus on when (near) linear time algorithms are possible. The seminal work of Chiba-Nishizeki (SICOMP 1985) shows that for bounded degeneracy graphs GG, clique and 44-cycle counting can be done linear time. Recent works (Bera et al, SODA 2021, JACM 2022) show a dichotomy theorem characterizing the patterns HH for which HH-homomorphism counting is possible in linear time, for bounded degeneracy inputs GG. At the other end, Ne\v{s}et\v{r}il and Ossona de Mendez used their deep theory of "sparsity" to define bounded expansion graphs. They prove that, for all HH, HH-homomorphism counting can be done in linear time for bounded expansion inputs. What lies between? For a specific HH, can we characterize input classes where HH-homomorphism counting is possible in linear time? We discover a hierarchy of dichotomy theorems that precisely answer the above questions. We show the existence of an infinite sequence of graph classes G0\mathcal{G}_0 \supseteq G1\mathcal{G}_1 \supseteq ... \supseteq G\mathcal{G}_\infty where G0\mathcal{G}_0 is the class of bounded degeneracy graphs, and G\mathcal{G}_\infty is the class of bounded expansion graphs. Fix any constant sized pattern graph HH. Let LICL(H)LICL(H) denote the length of the longest induced cycle in HH. We prove the following. If LICL(H)<3(r+2)LICL(H) < 3(r+2), then HH-homomorphisms can be counted in linear time for inputs in Gr\mathcal{G}_r. If LICL(H)3(r+2)LICL(H) \geq 3(r+2), then HH-homomorphism counting on inputs from Gr\mathcal{G}_r takes Ω(m1+γ)\Omega(m^{1+\gamma}) time. We prove similar dichotomy theorems for subgraph counting.

Keywords

Cite

@article{arxiv.2311.09584,
  title  = {A Dichotomy Hierarchy Characterizing Linear Time Subgraph Counting in Bounded Degeneracy Graphs},
  author = {Daniel Paul-Pena and C. Seshadhri},
  journal= {arXiv preprint arXiv:2311.09584},
  year   = {2023}
}
R2 v1 2026-06-28T13:22:58.203Z