Exact and Approximate Pattern Counting in Degenerate Graphs: New Algorithms, Hardness Results, and Complexity Dichotomies

03/09/2021
โˆ™
by   Marco Bressan, et al.
โˆ™
0
โˆ™

We study the problems of counting the homomorphisms, counting the copies, and counting the induced copies of a k-vertex graph H in a d-degenerate n-vertex graph G. Our main result establishes exhaustive and explicit complexity classifications for counting subgraphs and induced subgraphs. We show that the (not necessarily induced) copies of H in G can be counted in time f(k,d)ยท n^max(๐—‚๐—†๐—‡(H),1)ยทlog n, where f is some computable function and ๐—‚๐—†๐—‡(H) is the size of the largest induced matching of H. Whenever the class of allowed patterns has unbounded induced matching number, this algorithm is essentially optimal: Unless the Exponential Time Hypothesis (ETH) fails, there is no algorithm running in time f(k,d)ยท n^o(๐—‚๐—†๐—‡(H)/log๐—‚๐—†๐—‡(H)) for any function f. In case of counting induced subgraphs, we obtain a similar classification along the independence number ฮฑ: we can count the induced copies of H in G in time f(k,d)ยท n^ฮฑ(H)ยทlog n, and if the class of allowed patterns has unbounded independence number, an algorithm running in time f(k,d)ยท n^o(ฮฑ(H)/logฮฑ(H)) is impossible, unless ETH fails. In the language of parameterized complexity, our results yield dichotomies in fixed-parameter tractable and #๐–ถ[1]-hard cases if we parameterize by the size of the pattern and the degeneracy of the host graph. Our results imply that several patterns cannot be counted in time f(k,d)ยท n^o(k/log k), including k-matchings, k-independent sets, (induced) k-paths, (induced) k-cycles, and induced (k,k)-bicliques, unless ETH fails. Those lower bounds for exact counting are complemented with new algorithms for approximate counting of subgraphs and induced subgraphs in degenerate graphs.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
โˆ™ 09/07/2022

Counting Subgraphs in Somewhere Dense Graphs

We study the problems of counting copies and induced copies of a small p...
research
โˆ™ 11/03/2022

The Complexity of Pattern Counting in Directed Graphs, Parameterised by the Outdegree

We study the fixed-parameter tractability of the following fundamental p...
research
โˆ™ 05/05/2018

On degeneracy and the parameterized complexity of subgraph counting

We study the complexity of counting the (induced) occurrences of a k-nod...
research
โˆ™ 11/06/2020

Detecting and Counting Small Subgraphs, and Evaluating a Parameterized Tutte Polynomial: Lower Bounds via Toroidal Grids and Cayley Graph Expanders

Given a graph property ฮฆ, we consider the problem ๐™ด๐š๐š๐šŽ๐š‚๐šž๐š‹(ฮฆ), where the ...
research
โˆ™ 11/03/2021

Counting Small Induced Subgraphs with Hereditary Properties

We study the computational complexity of the problem #IndSub(ฮฆ) of count...
research
โˆ™ 09/23/2020

Counting five-node subgraphs

We propose exact count formulae for the 21 topologically distinct non-in...
research
โˆ™ 10/24/2017

Counting small subgraphs in multi-layer networks

Motivated by the prevalence of multi-layer network structures in biologi...

Please sign up or login with your details

Forgot password? Click here to reset