Abstract
Stable matching is a cornerstone of algorithmic economics, yet real-world applications often require adapting existing solutions to new constraints. This paper investigates the "incremental" stable matching problem: given an initial stable matching, how can we find a new one that incorporates forced or forbidden pairs while minimizing disruption? We present a comprehensive complexity map, identifying polynomial-time algorithms for bipartite settings and establishing NP-hardness for non-bipartite cases with forbidden pairs. We further provide fixed-parameter tractable (FPT) algorithms to navigate these hard instances.
Introduction
The classic stable matching problem, exemplified by the Gale-Shapley algorithm, ensures that no two individuals prefer each other over their assigned partners. However, matchings are rarely static. In practical scenarios—such as medical residency assignments or roommate allocations—administrators may need to enforce specific pairings (forced pairs) or prevent others (forbidden pairs) after an initial matching has been established.
The challenge lies in finding a new stable matching $M_2$ that satisfies these new constraints while remaining as close as possible to the original matching $M_1$. This "minimal change" objective is crucial for maintaining system stability and minimizing administrative overhead.
Problem Settings and Methodology
The authors explore four primary dimensions of the problem:
- Stable Marriage (SM): The bipartite case (e.g., matching doctors to hospitals).
- Stable Roommates (SR): The non-bipartite case (any two individuals can be paired).
- Strict Preferences: Agents have a linear ordering of preferences.
- Ties: Agents may be indifferent between certain partners, leading to "Weak" or "Strong" stability criteria.
Algorithmic Approaches
The research employs a variety of techniques tailored to these settings:
- Weighting Reductions: For bipartite matchings with strict preferences, the problem is reduced to finding a minimum-weight stable matching. By assigning weights to forced, forbidden, and existing pairs, the closest stable matching can be found in polynomial time.
- Rotation Theory: In the non-bipartite "Roommates" setting, the authors utilize the theory of rotations. Rotations represent cyclic sequences of partner swaps that transition one stable matching to another. These rotations form a partially ordered set (poset), allowing for structured navigation of the stable matching space.
- FPT Algorithms: To address NP-hard variants, the authors develop Fixed-Parameter Tractable (FPT) algorithms. These are efficient when the number of "problematic" pairs (e.g., forbidden pairs present in the initial matching) is small.
Complexity Landscape and Key Results
A central contribution of this work is the complete dichotomy of the problem's complexity across different preference structures and constraints.
Key Insights
- The Forced-Forbidden Gap: A striking result is the asymmetry in the Stable Roommates (SR) setting. While finding a matching with forced pairs is solvable in polynomial time, the introduction of forbidden pairs renders the problem NP-hard. This represents a rare tractability gap between these two types of constraints.
- The Impact of Ties: Introducing indifference (ties) significantly complicates the problem. Under "Weak Stability," even a single forced or forbidden pair makes the problem NP-hard and W[1]-hard.
- Strong Stability Tractability: Interestingly, the rotation-based approach can be extended to handle ties under "Strong Stability," preserving the FPT results found in the strict preference case.
Conclusion and Future Directions
While the bipartite and strict preference cases are largely tractable, the presence of ties under weak stability remains a significant hurdle due to the breakdown of standard structural properties like the Rural Hospitals Theorem.
Future research may extend these "minimal change" techniques to incorporate group fairness or diversity constraints. Additionally, exploring these problems within the framework of "popular matchings" could offer new insights into stable resource allocation.
Summary updated