TL;DR
This paper resolves the parameterized complexity of the General Factor problem (finding a subgraph where each vertex's degree falls into a prescribed set $B$) under treewidth and cutwidth. The authors design an optimal $(M + 1)^{\mathrm{tw}} n^{O(1)}$ dynamic programming algorithm using fast convolution (where $M = \max B$), prove matching SETH-based conditional lower bounds of $(\max B + 1 - \epsilon)^{\mathrm{tw}} n^{O(1)}$, and show that when parameterizing by cutwidth, the complexity drops sharply to a set-independent $2^{\mathrm{cutw}} n^{O(1)}$.
What Problem Does This Paper Address?
In the General Factor ($\mathrm{GenFac}$) problem, we are given an undirected graph $G = (V, E)$ and a target degree set $B_v \subseteq \mathbb{N}$ for every vertex $v$. The goal is to find an edge subset $S \subseteq E$ such that each vertex's degree in $S$ satisfies $\mathrm{deg}_S(v) \in B_v$. This generalizes fundamental graph problems like:
- Perfect Matching ($B_v = \{1\}$),
- $k$-Factor ($B_v = \{k\}$), and
- Degree-constrained subgraph problems.
Classic results by Cornuéjols (1988) established that when the maximum gap between consecutive integers in every $B_v$ is at most 1, the decision problem is polynomial-time solvable; otherwise, it is NP-hard. Prior parameterized algorithms for treewidth ($\mathrm{tw}$) ran in $(M + 1)^{3\mathrm{tw}} n^{O(1)}$ time. This paper investigates:
- Can the treewidth base be improved to match the natural state space of $(M+1)^\mathrm{tw}$?
- Is that running time unconditionally optimal under the Strong Exponential Time Hypothesis (SETH)?
- How do related structural graph metrics—specifically cutwidth ($\mathrm{cutw}$)—affect the problem's fine-grained complexity?
Methods
The paper establishes tight upper and lower bounds through several algorithmic and reduction techniques:
-
Fast Subset Convolutions for DP Upper Bounds:
Standard dynamic programming on tree decompositions requires tracking the partial degree of each vertex in a bag, leading to $(M + 1)^{\mathrm{tw}}$ states. Joining bags naively incurs a cubic $(M + 1)^{3\mathrm{tw}}$ penalty. The authors eliminate this bottleneck using fast convolution techniques developed by van Rooij (2020), counting solutions of a target size in $(M + 1)^{\mathrm{tw}} n^{O(1)}$ time. -
SETH-based Reductions to Intermediate Graph Problems:
To prove tight lower bounds, the authors introduce $B$-Factor with Relations ($B\text{-}\mathrm{Factor}^R$), encoding groups of $q$ SAT variables into weight-balanced vectors in $[0, M]^g$. -
Gadget Realizations & Parity Tracking:
Complex relational constraints are simulated by $B$-homogeneous gadgets. For the maximization version ($0 \in B$), the authors design penalty gadgets based on Erdős–Sachs high-girth regular graphs, ensuring substantial solution deficits whenever constraints are violated. -
Holant Framework & Polynomial Interpolation:
For the counting version ($\#B\text{-}\mathrm{Factor}$), the authors translate relations to signature gates within the Holant framework, eliminating fractional and polynomial edge weights via algebraic interpolation techniques originally pioneered by Valiant.
Datasets
Not discussed in the paper. (This is a purely theoretical computer science work evaluating worst-case computational complexity and algorithms; no empirical datasets or benchmarks were used.)
Key Insights and Ideas
-
Treewidth complexity is strictly governed by $\max B$:
The base of exponentiation is dictated entirely by $\max B + 1$, regardless of how sparse the allowed set $B$ is. Assuming SETH, no algorithm can achieve $(\max B + 1 - \epsilon)^{\mathrm{tw}} n^{O(1)}$ for any $\epsilon > 0$ on NP-hard cases. -
Cutwidth collapses the problem's dependence on $M$:
While $\mathrm{tw} \le \mathrm{pw} \le \mathrm{cutw}$, cutwidth only requires tracking whether individual cut edges are included or excluded (a binary choice per edge cut). Hence, the problem can be solved in $2^{\mathrm{cutw}} n^{O(1)}$ time, completely independent of $\max B$. The authors prove a matching lower bound of $(2 - \epsilon)^{\mathrm{cutw}} n^{O(1)}$ under SETH. -
Counting is everywhere hard:
While the decision version is polynomial-time solvable whenever $\max\text{-gap } B \le 1$, the counting variant $\#B\text{-}\mathrm{Factor}$ is hard for every non-trivial fixed finite set ($B \ne \{0\}$ and $B \ne \emptyset$). Under $\#\mathrm{SETH}$, it cannot be solved faster than $(\max B + 1 - \epsilon)^{\mathrm{pw}} n^{O(1)}$.
Key Results
- Treewidth Upper Bound: Counting solutions of size $s$ takes $(M + 1)^{\mathrm{tw}} n^{O(1)}$ time, where $M = \max_{v} \max B_v$, improving from $(M + 1)^{3\mathrm{tw}} n^{O(1)}$.
- Decision & Maximization Lower Bounds: For any fixed finite set $B$ where the problem is NP-hard, solving $B\text{-}\mathrm{Factor}$ or $\mathrm{Max}\text{-}B\text{-}\mathrm{Factor}$ in time $(\max B + 1 - \epsilon)^{\mathrm{pw}} n^{O(1)}$ contradicts SETH, even on graphs of bounded maximum degree ($2 \max B$).
- Counting Lower Bound: For every fixed finite $B \not\in \{\emptyset, \{0\}\}$, solving $\#B\text{-}\mathrm{Factor}$ in time $(\max B + 1 - \epsilon)^{\mathrm{pw}} n^{O(1)}$ contradicts $\#\mathrm{SETH}$ on graphs with degree at most $2 \max B + 6$.
- Cutwidth Equivalence: An algorithm running in $2^{\mathrm{cutw}} n^{O(1)}$ time is presented, alongside a matching lower bound showing that $(2 - \epsilon)^{\mathrm{cutw}} n^{O(1)}$ refutes SETH (or $\#\mathrm{SETH}$).
Limitations and Future Work
- Minimization Lower Bound: The authors explicitly leave open the exact tight lower bound for the minimization version ($\mathrm{Min}\text{-}B\text{-}\mathrm{Factor}$) when $0 \in B$.
- Fixed Sets vs. General Instances: The tight lower bounds apply to $B$-homogeneous graphs where $B$ is a fixed, identical set for all vertices; general instances where each vertex chooses an arbitrary set are already $\mathrm{W}[1]$-hard parameterized by treewidth alone.
Summary updated