Fine-Grained Complexity of Computing Degree-Constrained Spanning Trees

Narek Bojikian, Alexander Firbas, Robert Ganian, Hung P. Hoang, Krisztina Szilágyi · DOI

Introduction

The Minimum Spanning Tree (MST) problem is a cornerstone of combinatorial optimization, efficiently solvable using classic algorithms like Prim’s or Kruskal’s. However, practical applications often introduce constraints that complicate this simplicity. In network design, for instance, a router might have a physical limit on the number of connections it can support. When vertex degree constraints are added—such as requiring a vertex $v$ to have a degree within a specific range—the problem transitions from polynomial-time solvable to NP-hard.

This research explores the fine-grained complexity of degree-constrained MST problems. By analyzing graph parameters like treewidth ($tw$), pathwidth ($pw$), cutwidth ($ctw$), and cliquewidth ($cw$), the authors establish tight algorithmic upper bounds and corresponding lower bounds under the Strong Exponential Time Hypothesis (SETH).

Problem Variants

The study focuses on three primary variants of the degree-constrained MST problem:

  1. Set of Degrees MST: Vertex degrees must belong to a pre-specified set of integers.
  2. Bounded Degree MST: Vertex degrees are subject to an upper bound.
  3. Specified Degree MST: Each vertex is assigned an exact required degree.

The goal is to determine the optimal running time for these problems when the input graph possesses a "simple" structure as defined by various structural parameters.

Algorithmic Frameworks

To navigate these complexity landscapes, the authors utilize several advanced algorithmic techniques:

  • Cut&Count and the Isolation Lemma: For parameters like treewidth and pathwidth, the "Cut&Count" method is employed. This involves counting "relaxed" solutions (which may contain cycles) and using inclusion-exclusion to isolate valid spanning trees. The Isolation Lemma ensures that a unique minimum-cost solution exists with high probability, reducing the optimization problem to a counting one.
  • Lazy Coloring: A novel "lazy" state-tracking mechanism is introduced for dynamic programming on pathwidth and cutwidth. This technique helps bypass previous efficiency bottlenecks, leading to tighter bounds.
  • NLC-width and Representation Reduction: For dense graphs characterized by cliquewidth, the authors work with Node-Label-Controlled (NLC) width. They implement a "representation reduction" rule to prevent the state space in dynamic programming from exploding, resulting in an XP algorithm ($n^{O(cw)}$).

Key Results and Complexity Taxonomy

The core contribution of this work is a comprehensive map of the computational limits for these problems. The authors demonstrate that their algorithms are essentially the fastest possible; any significant improvement would contradict SETH.

Summary of lower and upper bounds for degree-constrained MST problems across various graph parameters.

As shown in the table above, the results for Pathwidth and Cutwidth are SETH-tight, meaning the base of the exponent in the running time is optimal. For instance, the cutwidth algorithm runs in $O^*(3^k)$, and the authors prove that an $O^*((3 - \epsilon)^k)$ algorithm cannot exist unless SETH is false. Similarly, for pathwidth, the complexity is tightly bound to $(2r)^{pw}$, where $r$ is the maximum degree requirement.

Discussion and Future Directions

While the paper provides a nearly complete taxonomy, a small gap remains for Treewidth. There is a slight discrepancy between the upper bound of $O^*((2r+2)^{tw})$ and the pathwidth-derived lower bound of $O^*((2r)^{pw})$. Closing this gap remains an open theoretical challenge.

Furthermore, the "representation reduction" techniques developed for cliquewidth offer a promising path for other "graph factoring" problems—tasks where one seeks a subgraph satisfying specific local properties. This work bridges the gap between sparse and dense graph parameters, providing a rigorous foundation for understanding the inherent hardness of degree constraints in network optimization.

Summary updated

BibTeX
@misc{bojikian2025fine,
  author = {Narek Bojikian and Alexander Firbas and Robert Ganian and Hung P. Hoang and Krisztina Szilágyi},
  title = {{Fine-Grained Complexity of Computing Degree-Constrained Spanning Trees}},
  year = {2025},
  eprint = {2503.15226},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.15226},
}
Figure