[Paper Review] Linear Time Subgraph Counting, Graph Degeneracy, and the Chasm at Size Six
This paper establishes a sharp threshold at subgraph size six for linear-time subgraph counting in bounded degeneracy graphs. It proves that counting all k-vertex subgraphs can be done in linear time for k ≤ 5 using degeneracy-based algorithms, but for k ≥ 6, under the Triangle Detection Conjecture, no near-linear time algorithm exists, revealing a fundamental chasm at k=6.
We consider the problem of counting all $k$-vertex subgraphs in an input graph, for any constant $k$. This problem (denoted sub-cnt$_k$) has been studied extensively in both theory and practice. In a classic result, Chiba and Nishizeki (SICOMP 85) gave linear time algorithms for clique and 4-cycle counting for bounded degeneracy graphs. This is a rich class of sparse graphs that contains, for example, all minor-free families and preferential attachment graphs. The techniques from this result have inspired a number of recent practical algorithms for sub-cnt$_k$. Towards a better understanding of the limits of these techniques, we ask: for what values of $k$ can sub-cnt$_k$ be solved in linear time? We discover a chasm at $k=6$. Specifically, we prove that for $k < 6$, sub-cnt$_k$ can be solved in linear time. Assuming a standard conjecture in fine-grained complexity, we prove that for all $k \\geq 6$, sub-cnt$_k$ cannot be solved even in near-linear time.
Motivation & Objective
- To determine for which subgraph sizes k the problem of counting all k-vertex subgraphs (sub-cnt_k) can be solved in linear time on bounded degeneracy graphs.
- To understand the limits of Chiba-Nishizeki-style algorithms, which have inspired practical subgraph counting methods.
- To identify whether a theoretical barrier exists for subgraph counting beyond k=5.
- To characterize the boundary between tractable and intractable subgraph counting in bounded degeneracy graphs under fine-grained complexity assumptions.
Proposed method
- Leverages the Chiba-Nishizeki framework for subgraph counting using degeneracy-based decomposition and depth-restricted tree structures (DRTS).
- Applies a reduction from the triangle detection problem to subgraph counting problems for k ≥ 6, using graph constructions that embed triangles into larger subgraphs.
- Employs acyclic orientations of subgraphs to identify source vertices that initiate DRTS constructions, enabling efficient counting via hierarchical matching.
- Uses the Triangle Detection Conjecture as a conditional lower bound assumption to prove that no o(m^{1+γ}f(κ)) algorithm exists for k ≥ 6.
- Constructs specific subgraphs (e.g., C_k cycles, K_6, and other 6-vertex graphs) to demonstrate that the chasm is not universal but depends on subgraph structure.
- Proves that for certain 6-vertex subgraphs (e.g., cliques or graphs with a DRTS of size ≥4), linear-time counting remains possible despite the general intractability for k≥6.
Experimental results
Research questions
- RQ1For which values of k is subgraph counting (sub-cnt_k) solvable in linear time on bounded degeneracy graphs?
- RQ2Does the Chiba-Nishizeki framework extend to k ≥ 6, or is there a fundamental barrier?
- RQ3Can the conditional lower bound for k ≥ 6 be established using the Triangle Detection Conjecture?
- RQ4Are there specific 6-vertex subgraphs for which linear-time counting remains feasible despite the general intractability?
- RQ5What structural properties of a subgraph determine whether sub-cnt_H admits a linear-time algorithm in bounded degeneracy graphs?
Key findings
- For all k ≤ 5, sub-cnt_k can be solved in expected O(mκ^{k-2}) time on bounded degeneracy graphs, which is linear when κ is constant.
- For all k ≥ 6, assuming the Triangle Detection Conjecture, no o(m^{1+γ}f(κ)) algorithm exists for sub-cnt_k, implying that near-linear time is unlikely.
- The chasm at k=6 is sharp: the problem transitions from tractable to intractable precisely at size six.
- The conditional lower bound does not apply to all 6-vertex subgraphs; some (e.g., K_6 or graphs with a DRTS of size ≥4) still admit linear-time counting.
- The construction fails for k=8 due to structural ambiguities, showing that the lower bound does not extend uniformly to all k≥6.
- There exist non-clique 6-vertex subgraphs for which linear-time counting is still possible, indicating that the chasm is not absolute but depends on subgraph structure.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.