Counting large patterns in degenerate graphs
Abstract
The problem of subgraph counting asks for the number of occurrences of a pattern graph as a subgraph of a host graph and is known to be computationally challenging: it is -hard even when is restricted to simple structures such as cliques or paths. Curticapean and Marx (FOCS'14) show that if the graph has vertex cover number , subgraph counting has time complexity . This raises the question of whether this upper bound can be improved for input graphs from a restricted family of graphs. Earlier work by Eppstein~(IPL'94) shows that this is indeed possible, by proving that when is a -degenerate graph and is a biclique of arbitrary size, subgraph counting has time complexity . We show that if the input is restricted to -degenerate graphs, the upper bound of Curticapean and Marx can be improved for a family of graphs that includes all bicliques and satisfies a property we call -locatable. Importantly, our algorithm's running time only has a polynomial dependence on the size of~. A key feature of -locatable graphs is that they admit a vertex cover of size at most . We further characterize -locatable graphs, for which our algorithms achieve a linear running time dependence on , and we establish a lower bound showing that counting graphs which are barely not -locatable is already -hard. We note that the restriction to -degenerate graphs has been a fruitful line of research leading to two very general results (FOCS'21, SODA'25) and this creates the impression that we largely understand the complexity of counting substructures in degenerate graphs. However, all aforementioned results have an exponential dependency on the size of the pattern graph .
Keywords
Cite
@article{arxiv.2511.20385,
title = {Counting large patterns in degenerate graphs},
author = {Christine Awofeso and Patrick Greaves and Oded Lachish and Felix Reidl},
journal= {arXiv preprint arXiv:2511.20385},
year = {2026}
}