Abstract
We study the Reaching Stable Marriage via Divorces (DivorceSM) problem of deciding, given a Stable Marriage instance and an initial matching $M$, whether there exists a stable matching which is reachable from $M$ by divorce operations as introduced by Knuth. Towards answering an open question of Manlove and Cechlárová et al., we show that for incomplete preferences without ties, DivorceSM is NP-hard. Our hardness reduction also implies that the problem remains parameterized intractable for the number $\kappa$ of allowed divorce operations. It remains NP-hard even if the maximum length $d$ of the preferences is a constant. For the combined parameter ($\kappa$, $d$), the problem is fixed-parameter tractable.
Introduction
In the classic Stable Marriage (SM) problem, we seek a matching where no "blocking pair" exists—that is, no man and woman would both prefer each other over their current partners. While the famous Gale-Shapley algorithm finds such a matching from scratch, real-world scenarios often start with an existing, albeit unstable, matching.
Donald Knuth proposed a dynamic approach to reach stability: find a blocking pair, match them, and then match their "divorcees" (their former partners) together. This is called a divorce operation. Knuth asked two fundamental questions:
- Can we always reach a stable matching from any initial state using these operations?
- If so, is there a short sequence of operations to get there?
Previous research answered the first question with a resounding "no"—some matchings are stuck in cycles or dead ends. This paper tackles the computational complexity of the second question: given an initial matching, how hard is it to decide if a stable one is reachable via divorces?
Methodology
The author employs the tools of computational complexity theory and parameterized complexity to analyze the DivorceSM problem.
Hardness Reductions
To prove the problem is NP-hard, the author constructs a sophisticated reduction from the CLIQUE problem. They design "gadgets" (specific sets of agents and preferences) that mimic the behavior of vertices and edges in a graph, forcing a stable matching to exist if and only if the original graph contains a clique of a certain size.
Parameterized Analysis and Algorithm Design
The paper examines the problem through the lens of specific parameters: the maximum number of allowed divorces ($\kappa$) and the maximum length of preference lists ($d$). The author provides a branching algorithm to show that the problem is Fixed-Parameter Tractable (FPT) when both $\kappa$ and $d$ are small. As a theoretical computer science paper, no empirical datasets were used; the "data" consists of mathematical proofs and reductions from known NP-complete problems like CLIQUE and R3SAT.
Key Insights and Ideas
- The "Forced Pairing" Constraint: The core difficulty stems from Knuth’s specific rule: when a blocking pair matches, their former partners must match with each other. In other models where divorcees can remain unmatched, stability is always reachable. Knuth’s "divorce" rule makes the state space much more restrictive and harder to navigate.
- Short Lists Don't Help: A surprising insight is that the problem remains NP-hard even if every person only has a very short list of acceptable partners (constant length $d$). Local simplicity does not lead to global ease.
- The Parameterized Sweet Spot: While the problem is "hard" in general, it becomes solvable in polynomial time if we bound both the number of steps we are willing to take and the number of choices each agent has. This identifies exactly where the "hardness" lives.
Key Results
- NP-Hardness: The problem (DivorceSM) is NP-hard for instances with incomplete and strict preferences.
- W[1]-Hardness: Even if we only care about finding a short sequence of divorces (parameterized by $\kappa$), the problem remains intractable.
- FPT Result: The paper provides an algorithm that solves the problem in $O((4d)^\kappa \cdot \kappa! \cdot n^2)$ time. This means if $\kappa$ and $d$ are small constants, the problem can be solved efficiently even for a very large number of agents ($n$).
- Space Complexity: The paper confirms the problem is contained within PSPACE, as we can iteratively guess blocking pairs using polynomial space.
Limitations and Future Work
- Complete Preferences: The current hardness proofs rely on "incomplete" preferences (where agents find some people unacceptable). Whether the problem remains NP-hard when everyone ranks everyone else remains an open and "intriguing" question.
- Membership in NP: It is currently unknown if the problem is in NP. This would require proving that if a stable matching is reachable, it is reachable in a "short" (polynomial) number of steps.
- Approximation: Since finding an exact path is hard, future work could explore whether we can efficiently find a path to a "nearly stable" matching.
Summary updated