TL;DR
This paper provides a significant algorithmic breakthrough for the Path Contraction problem, presenting the first $O^*(2^k)$ time algorithm—a major improvement over previous exponential bounds. The authors also deliver faster algorithms for Cycle Contraction and prove that Path Contraction is solvable in polynomial time for planar graphs, while establishing fine-grained lower bounds for chordal graphs.
What Problem Does This Paper Address?
In the world of graph theory, "editing" a graph usually involves deleting or adding vertices and edges. This paper focuses on a specific operation: edge contraction. When you contract an edge, you merge its two endpoints into a single vertex that inherits all their neighbors.
The authors tackle two NP-complete problems:
- Path Contraction (PC): Can we obtain a path by contracting at most $k$ edges?
- Cycle Contraction (CC): Can we obtain a cycle by contracting at most $k$ edges?
While these problems have been studied for a decade, a significant gap remained. For Path Contraction, the best known "Fixed-Parameter Tractable" (FPT) algorithm had a runtime of $2^{k+O(\sqrt{k} \log k)}$, which is slightly worse than a clean $2^k$ exponential. The authors aimed to close this gap and explore how these problems behave on specific types of graphs, like planar or chordal graphs.
Methods
The core of their approach is the introduction of a new variant: Path Contraction With Constrained Ends. In this version, you aren't just looking for any path; you are given two sets of vertices ($X$ and $Y$) and must ensure they end up in the first and last "witness sets" (the groups of original vertices that merge into the path's endpoints).
To solve this, they use a Dynamic Programming (DP) framework. They define "potential $k$-witness sets" and "potential $k$-prefix sets" to systematically build the path from one end to the other. By carefully bounding the number of these sets, they achieve the $O^*(2^k)$ runtime.
For Cycle Contraction, they cleverly use their Path Contraction algorithm as a subroutine. Since a cycle is just a path with its ends connected, they enumerate possible "break points" in the cycle and solve the resulting constrained path problem.
Datasets
Not discussed in the paper. As a theoretical computer science paper, the work relies on mathematical proofs and complexity analysis rather than empirical testing on specific datasets.
Key Insights and Ideas
- The "Constrained Ends" Primitive: By solving a more specific version of the problem (fixing the endpoints), the authors created a building block that makes the general Path and Cycle contraction problems much easier to handle.
- Planar Graphs are "Easy": One of the most surprising findings is that Path Contraction on planar graphs can be solved in polynomial time. This is interesting because a similar problem, Tree Contraction, remains NP-hard on planar graphs. This highlights that paths are structurally "simpler" to find via contraction than general trees in a planar setting.
- Optimality on Chordal Graphs: For chordal graphs (where every cycle of four or more vertices has a "shortcut"), an $O(nm)$ algorithm was already known. The authors used a "fine-grained" reduction from the Orthogonal Vectors problem to show that this existing algorithm is essentially optimal. You cannot significantly improve the $n^2$ dependency without paying a massive exponential price in terms of the graph's treewidth.
Key Results
- Path Contraction: Achieved a runtime of $O^*(2^k)$, finally hitting the "natural" exponential bound for this parameter.
- Cycle Contraction: Developed an algorithm running in $O^*((2+\epsilon_\ell)^k)$ time, where $\epsilon_\ell \leq 0.5509$. They also provided an optimization version (finding the largest possible cycle) that runs in $O^*(2.5191^n)$ time, breaking the previous $O^*(2^n)$ barrier.
- Planar Graphs: Proved that Path Contraction is solvable in polynomial time.
- Chordal Graphs: Proved that unless the Orthogonal Vectors Conjecture fails, no algorithm can solve Path Contraction in $O(n^{2-\epsilon} \cdot 2^{o(tw)})$ time.
Limitations and Future Work
The authors identify several exciting paths forward:
- Beating $2^k$: While $O^*(2^k)$ is a major milestone for Path Contraction, can we go even faster? Breaking the $2^k$ barrier is a classic challenge in parameterized complexity.
- Cycle Contraction Parity: A natural next step is to see if Cycle Contraction can also be brought down to a clean $O^*(2^k)$ runtime.
- H-Free Graphs: The paper touches on restricted graph classes. A broader question is determining the complexity of contracting to the longest path or cycle in graphs that exclude certain subgraphs (H-free graphs).
Summary updated