Lune

STOC2025Top-tier venue

A Fine-Grained Classification of Subquadratic Patterns for Subgraph Listing and Friends

Karl Bringmann, Egor Gorbachev

Abstract

In an m-edge host graph G, all triangles can be listed in time O(m1.5) [Itai, Rodeh ’78], and all k-cycles can be listed in time O(m2−1/⌈ k/2 ⌉ + t) where t is the output size [Alon, Yuster, Zwick ’97]. These classic results also hold for the colored problem variant, where the nodes of the host graph G are colored by nodes in the pattern graph H, and we are only interested in subgraphs of G that are isomorphic to the pattern H and respect the colors. We study the problem of listing all H-subgraphs in the colored setting, for fixed pattern graphs H. As our main result, we determine all pattern graphs H such that all H-subgraphs can be listed in subquadratic time O(m2−ε + t), where t is the output size. Moreover, for each such subquadratic pattern H we determine the smallest exponent c(H) such that all H-subgraphs can be listed in time O(mc(H) + t). This is a vast generalization of the classic results on triangles and cycles. In particular, it answers an open problem from the database community [Joglekar, Ré ’18]. We also show the same results for two related problems: finding an H-subgraph of minimum total edge-weight in time O(mc(H)), and enumerating all H-subgraphs in O(mc(H)) preprocessing time and constant delay. Again we determine all pattern graphs H that have complexity c(H) < 2, and for each such subquadratic pattern we determine the optimal complexity c(H). To prove these results, we design new algorithms and prove conditional lower bounds based on standard hypotheses from fine-grained complexity theory. For our algorithms we introduce a new ingredient that we call hyper-degree splitting, where we split tuples of nodes into high degree and low degree depending on their number of common neighbors. This technique generalizes the classic high-degree-low-degree approach (which only splits along degrees of single nodes) and is crucial to obtain optimal algorithms. Furthermore, we contribute the simple but fundamental insight that to determine the optimal complexity of some natural families of algorithms and lower bounds it suffices to study graphs without clique separators (i.e., cliques whose removal disconnects the pattern graph). This insight immediately implies some existing results in the area and is crucial to obtain a complete classification.

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.

1 top-tier paper has 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

  • Removing Additive Structure in 3SUM-Based Reductions cites Monochromatic Triangles, Triangle Listing and APSP
  • Removing Additive Structure in 3SUM-Based Reductions cites Stronger 3-SUM Lower Bounds for Approximate Distance Oracles via Additive Combinatorics
  • Stronger 3-SUM Lower Bounds for Approximate Distance Oracles via Additive Combinatorics cites Removing Additive Structure in 3SUM-Based Reductions
  • Removing Additive Structure in 3SUM-Based Reductions cites Hardness of approximation in p via short cycle removal: cycle detection, distance oracles, and beyond
  • Stronger 3-SUM Lower Bounds for Approximate Distance Oracles via Additive Combinatorics cites Monochromatic Triangles, Triangle Listing and APSP
  • Stronger 3-SUM Lower Bounds for Approximate Distance Oracles via Additive Combinatorics cites Hardness of approximation in p via short cycle removal: cycle detection, distance oracles, and beyond
  • Hardness of approximation in p via short cycle removal: cycle detection, distance oracles, and beyond cites Monochromatic Triangles, Triangle Listing and APSP
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Quantum Algorithms for Triangle Cut SparsificationShan Jiang, Pan PengICML 2026

Builds on8

  1. Monochromatic Triangles, Triangle Listing and APSPVirginia Vassilevska Williams, Yinzhan XuFOCS 2020 · 15 citations
  2. A Fine-Grained Perspective on Approximating Subset Sum and PartitionKarl Bringmann, Vasileios NakosSODA 2021 · 14 citations
  3. Hardness of approximation in p via short cycle removal: cycle detection, distance oracles, and beyondAmir Abboud, Karl Bringmann, Seri Khoury, Or ZamirSTOC 2022 · 11 citations
  4. Stronger 3-SUM Lower Bounds for Approximate Distance Oracles via Additive CombinatoricsAmir Abboud, Karl Bringmann, Nick FischerSTOC 2023 · 10 citations
  5. Removing Additive Structure in 3SUM-Based ReductionsCe Jin, Yinzhan XuSTOC 2023 · 9 citations

Related papers

  1. Tight Distributed Listing of CliquesKeren Censor-Hillel, Yi-Jun Chang, François Le Gall, Dean LeitersdorfSODA 2021 · 16 citations
  2. Pattern-Sparse Tree Decompositions in H-Minor-Free GraphsDániel Marx, Marcin Pilipczuk, Michal PilipczukSTOC 2026
  3. Subgraph Enumeration: Beyond Tree DecompositionQiyan Li, Jeffrey Xu Yu, Zongyan HeVLDB 2026
  4. Near-linear time subhypergraph counting in bounded degeneracy hypergraphsDaniel Paul-Pena, C. SeshadhriSODA 2026
  5. Subexponential Parameterized Algorithms for Cut and Cycle Hitting Problems on H<-Minor-Free GraphsSayan Bandyapadhyay, William Lochet, Daniel Lokshtanov, Saket Saurabh et al.SODA 2022 · 5 citations
Dusk over the sea between two cliffs drawn in fine vertical lines