TL;DR
This paper applies the "algorithms with predictions" framework to the classic stable matching problem, addressing the real-world reality where participants cannot rank every option. The authors show that while truncating preference lists based on predictions can destabilize markets if the wrong side proposes, a resident-proposing approach with pruned lists dramatically improves efficiency while guaranteeing market stability.
What Problem Does This Paper Address?
The classic Gale-Shapley Deferred Acceptance (DA) algorithm assumes all participants submit complete preference lists ranking every single agent on the other side of the market. In massive real-world markets like the National Resident Matching Program (NRMP), this is completely infeasible—hospitals simply do not have the time or resources to interview and rank 50,000 applicants. Instead, participants naturally truncate their lists based on historical data and expectations of where they are likely to match.
This paper bridges the gap between theory and practice by asking two core questions:
- Market Dynamics (Descriptive): Does this heuristic truncation behavior threaten the stability of the market?
- Algorithmic Efficiency (Prescriptive): Can we exploit these predictions to design faster algorithms that bypass the standard quadratic ($O(n^2)$) runtime bottleneck?
Methods
The authors analyze stable matching through the lens of learning-augmented algorithms (algorithms with predictions). They introduce two novel variants of the DA algorithm that operate on pruned preference lists:
- Window-Truncated DA (WDA): Designed for when hospitals have a predicted match rank ($\rho_i$) and a known error bound ($\eta_i$). Hospitals prune their lists to a tight, contiguous window around the prediction: $[\rho_i - \eta_i : \rho_i + \eta_i]$.
- Prefix-Truncated DA (PDA): Designed for when error bounds are unknown. Hospitals simply keep the prefix of their list up to the predicted rank: $[1 : \rho_i]$. If the algorithm leaves some hospitals unmatched, it iteratively extends their lists and reruns until a perfect matching is found.
Crucially, both algorithms use a resident-proposing mechanism on the pruned instance, which proves vital for maintaining stability.
Datasets
The algorithms were evaluated using simulations across three distinct market distributions:
- Mallows Markets: A widely used probabilistic model where preferences are centered around a common underlying quality ranking but perturbed by random noise (controlled by a dispersion parameter $\phi$).
- Real-World Dating Markets: Preference lists generated from a dataset of an online dating platform, capturing realistic popularity adjustments and frequent ties.
- Tiered Markets: Markets partitioned into distinct tiers (e.g., elite vs. mid-tier) with specific weights and fractions, mimicking realistic structural regularities.
Key Insights and Ideas
- The Asymmetry of Truncation: A naive approach where the proposing side truncates its lists can completely break stability. The authors provide a clear counterexample showing how hospital-proposing DA with truncated lists yields an unstable matching with blocking pairs. Flipping the mechanism to resident-proposing completely restores stability.
- The "No Free Lunch" Lower Bound: The authors prove a worst-case lower bound of $\Omega(n^2)$ time if there is no promise that a stable matching survives the pruning. This reveals a fundamental bottleneck: verifying whether a prediction preserves a stable solution is just as hard as solving the problem from scratch without any advice.
- PDA as an Error Certificate: In PDA, if a hospital ends up unmatched, it serves as a mathematical certificate that its prediction was an under-prediction. This allows the algorithm to selectively fix errors by extending only the necessary lists rather than restarting blindly.
Key Results
- Theoretical Efficiency: Resident-proposing WDA reduces the number of proposals to $O(\sum \eta_i)$, meaning the runtime scales with the prediction error rather than the total market size.
- Empirical Speedups: In Mallows markets with correlated preferences, both WDA and PDA cut down proposal counts by an order of magnitude or more compared to classic DA.
- Instance Size Reduction: While both algorithms drastically reduce proposals, WDA achieves significantly smaller instance sizes (preference list lengths) than PDA. This makes WDA an incredibly powerful heuristic for markets where submitting long lists is costly or restricted.
- High Robustness: Even when predictions were learned empirically without any theoretical guarantees of correctness, WDA still recovered a stable matching in the vast majority of experimental trials (often over 90–98% of the time).
Limitations and Future Work
- The Survival Promise: The strongest theoretical guarantees for WDA rely on the assumption that at least one stable matching is contained within the pruned windows.
- Adversarial Worst-Cases: The lower bound highlights that worst-case, highly adversarial instances can still force quadratic time if predictions are completely wrong and unverified.
- Strategic Behavior: Future work could explore how these prediction-augmented mechanisms interact with strategic, incentive-compatible behavior from participants who might try to manipulate their reported predictions or truncated lists.
Summary updated