Near-linear time subhypergraph counting in bounded degeneracy hypergraphs
Daniel Paul-Pena, C. Seshadhri
Abstract
Counting small patterns in a large dataset is a fundamental algorithmic task. The most common version of this task is subgraph/homomorphism counting, wherein we count the number of occurrences of a small pattern graph H in an input graph G. The study of this problem is a field in and of itself. Recently, both in theory and practice, there has been an interest in hypergraph algorithms, where G = (V, E) is a hypergraph. One can view G as a set system where hyperedges are subsets of the universe V .
Counting patterns H in hypergraphs is less studied, although there are many applications in network science and database algorithms. Inspired by advances in the graph literature, we study when linear time algorithms are possible.
We focus on input hypergraphs G that have bounded degeneracy, a well-studied concept for graph algorithms. We give a spectrum of definitions for hypergraph degeneracy that cover all existing notions. For each such definition, we give a precise characterization of the patterns H that can be counted in (near) linear time. Specifically, we discover a set of "obstruction patterns". If H does not contain an obstruction, then the number of H-subhypergraphs can be counted exactly in O(n log n) time (where n is the number of vertices in G). If H contains an obstruction, then (assuming hypergraph variants of fine-grained complexity conjectures), there is a constant γ > 0, such that there is no o(n 1+γ ) time algorithm for counting H-subhypergraphs. These sets of obstructions can be defined for all notions of hypergraph degeneracy.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Builds on6
- Exact and Approximate Pattern Counting in Degenerate Graphs: New Algorithms, Hardness Results, and Complexity DichotomiesMarco Bressan, Marc RothFOCS 2021 · 8 citations
- Near-Linear Time Homomorphism Counting in Bounded Degeneracy Graphs: The Barrier of Long Induced CyclesSuman K. Bera, Noujan Pashanasangi, C. SeshadhriSODA 2021 · 7 citations
- Minimizing Localized Ratio Cut Objectives in HypergraphsNate Veldt, Austin R. Benson, Jon M. KleinbergKDD 2020 · 3 citations
- A Dichotomy Hierarchy for Linear Time Subgraph Counting in Bounded Degeneracy GraphsDaniel Paul-Pena, C. SeshadhriSODA 2025 · 1 citation
- Counting Small Induced Subgraphs: Hardness via Fourier AnalysisRadu Curticapean, Daniel NeuenSODA 2025 · 1 citation
Related papers
- Counting Homomorphic Cycles in Degenerate GraphsLior Gishboliner, Yevgeny Levanzov, Asaf Shapira, Raphael YusterSODA 2022 · 1 citation
- The Parameterised Complexity of Counting Small Sub-HypergraphsMarco Bressan, Julian Christoph Brinkmann, Holger Dell, Marc Roth et al.SODA 2026 · 3 citations
- Distributed Subgraph Counting: A General ApproachHao Zhang, Jeffrey Xu Yu, Yikai Zhang, Kangfei Zhao et al.VLDB 2020
- A Fine-Grained Classification of Subquadratic Patterns for Subgraph Listing and FriendsKarl Bringmann, Egor GorbachevSTOC 2025 · 5 citations
- Fast Local Subgraph CountingQiyan Li, Jeffrey Xu YuVLDB 2024 · 4 citations
