A Dichotomy Hierarchy Characterizing Linear Time Subgraph Counting in Bounded Degeneracy Graphs
Abstract
Subgraph and homomorphism counting are fundamental algorithmic problems. Given a constant-sized pattern graph and a large input graph , we wish to count the number of -homomorphisms/subgraphs in . 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 , clique and -cycle counting can be done linear time. Recent works (Bera et al, SODA 2021, JACM 2022) show a dichotomy theorem characterizing the patterns for which -homomorphism counting is possible in linear time, for bounded degeneracy inputs . 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 , -homomorphism counting can be done in linear time for bounded expansion inputs. What lies between? For a specific , can we characterize input classes where -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 ... where is the class of bounded degeneracy graphs, and is the class of bounded expansion graphs. Fix any constant sized pattern graph . Let denote the length of the longest induced cycle in . We prove the following. If , then -homomorphisms can be counted in linear time for inputs in . If , then -homomorphism counting on inputs from takes 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}
}