Lune

SODA2021Top-tier venue

Near-Linear Time Homomorphism Counting in Bounded Degeneracy Graphs: The Barrier of Long Induced Cycles

Suman K. Bera, Noujan Pashanasangi, C. Seshadhri

Abstract

Counting homomorphisms of a constant sized pattern graph H in an input graph G is a fundamental computational problem. There is a rich history of studying the complexity of this problem, under various constraints on the input G and the pattern H. Given the significance of this problem and the large sizes of modern inputs, we investigate when near-linear time algorithms are possible. We focus on the case when the input graph has bounded degeneracy, a commonly studied and practically relevant class for homomorphism counting. It is known from previous work that for certain classes of H, H-homomorphisms can be counted exactly in near-linear time in bounded degeneracy graphs. Can we precisely characterize the patterns H for which near-linear time algorithms are possible?

We completely resolve this problem, discovering a clean dichotomy using fine-grained complexity. Let m denote the number of edges in G. We prove the following: if the largest induced cycle in H has length at most 5, then there is an O(m log m) algorithm for counting H-homomorphisms in bounded degeneracy graphs. If the largest induced cycle in H has length at least 6, then (assuming standard fine-grained complexity conjectures) there is a constant γ > 0, such that there is no o(m 1+γ ) time algorithm for counting H-homomorphisms.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Near-linear time subhypergraph counting in bounded degeneracy hypergraphs cites Exact and Approximate Pattern Counting in Degenerate Graphs: New Algorithms, Hardness Results, and Complexity Dichotomies
  • The Complexity of Pattern Counting in Directed Graphs, Parameterised by the Outdegree cites Exact and Approximate Pattern Counting in Degenerate Graphs: New Algorithms, Hardness Results, and Complexity Dichotomies
  • The Complexity of Pattern Counting in Directed Graphs, Parameterised by the Outdegree cites Counting Homomorphic Cycles in Degenerate Graphs
  • Exact and Approximate Pattern Counting in Degenerate Graphs: New Algorithms, Hardness Results, and Complexity Dichotomies cites Counting and Finding Homomorphisms is Universal for Parameterized Complexity Theory
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. The Complexity of Pattern Counting in Directed Graphs, Parameterised by the OutdegreeMarco Bressan, Matthias Lanzinger, Marc RothSTOC 2023 · 9 citations
  2. Exact and Approximate Pattern Counting in Degenerate Graphs: New Algorithms, Hardness Results, and Complexity DichotomiesMarco Bressan, Marc RothFOCS 2021 · 8 citations
  3. Counting Homomorphic Cycles in Degenerate GraphsLior Gishboliner, Yevgeny Levanzov, Asaf Shapira, Raphael YusterSODA 2022 · 1 citation
  4. Near-linear time subhypergraph counting in bounded degeneracy hypergraphsDaniel Paul-Pena, C. SeshadhriSODA 2026

Builds on1

  1. Counting and Finding Homomorphisms is Universal for Parameterized Complexity TheoryMarc Roth, Philip WellnitzSODA 2020 · 8 citations

Related papers

  1. A Dichotomy Hierarchy for Linear Time Subgraph Counting in Bounded Degeneracy GraphsDaniel Paul-Pena, C. SeshadhriSODA 2025 · 1 citation
  2. Fine-grained complexity of graph homomorphism problem for bounded-treewidth graphsKarolina Okrasa, Pawel RzazewskiSODA 2020 · 2 citations
  3. Counting Small Induced Subgraphs Satisfying Monotone PropertiesMarc Roth, Johannes Schmitt, Philip WellnitzFOCS 2020 · 4 citations
  4. Counting Homomorphisms to K4-minor-free Graphs, modulo 2Jacob Focke, Leslie Ann Goldberg, Marc Roth, Stanislav ZivnýSODA 2021 · 2 citations
  5. The Complexity of Counting Planar Graph Homomorphisms of Domain Size 3Jin-Yi Cai, Ashwin MaranSTOC 2023 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines