Abstract
The assignment game models a housing market where buyers and sellers are matched, and transaction prices are set so that the resulting allocation is stable. Shapley and Shubik showed that every stable allocation is necessarily built on a maximum social welfare matching. In practice, however, stable allocations are rarely attainable, as matchings are often sub-optimal, particularly in online settings where agents arrive sequentially to the market. In this paper, we introduce and compare two complementary measures of instability for allocations with sub-optimal matchings, establish their connections to the optimality ratio of the underlying matching, and use this framework to study the stability performances of randomized algorithms in online assignment games.
Introduction: The Online Assignment Challenge
In a classical assignment game, such as a housing market, a stable allocation is one where no buyer and seller would prefer to trade with each other over their current partners. This concept, rooted in cooperative game theory, traditionally assumes a static market where all information is known. However, modern markets—like online ad auctions or ride-sharing platforms—operate dynamically. Agents arrive sequentially, and matching decisions must be made immediately without knowledge of future participants.
Because online matchings are often sub-optimal compared to the offline maximum social welfare, they are inherently unstable. This paper addresses the lack of continuous metrics to measure "near-stability" in such environments, moving beyond the binary stable/unstable classification.
Defining and Measuring Stability
To quantify the performance of online algorithms, we utilize three key metrics:
- Optimality Ratio ($\lambda$): The ratio of the social welfare achieved by the online algorithm to the offline optimal matching.
- Stability Index ($\mathcal{J}$): A global measure of regret for sub-coalitions, calculating the difference between their actual utility and the maximum utility they could have obtained.
- $\kappa$-approximate core: A local stability notion requiring that every pair $(i, j)$ receives at least a fraction $\kappa$ of the total utility they could generate together.
Stability is maintained when allocations are individually rational (no agent loses money) and there are no "blocking pairs" (pairs who could both improve their utility by matching with each other).
The Stability Hierarchy and Pricing Rules
A central contribution of this work is the proof of a strict hierarchy: $\kappa \le \mathcal{J} \le \lambda$. This implies that satisfying local stability ($\kappa$) is strictly more difficult than satisfying the global stability index ($\mathcal{J}$), which is itself bounded by the matching's overall optimality ($\lambda$).
To manage prices in an online setting, we introduce the "Half" Pricing Rule. When a pair is matched, the generated surplus is split equally (50/50). We demonstrate that this simple rule guarantees a stability index $\mathcal{J}$ that is at least half of the underlying matching's optimality ratio $\lambda$.
Algorithmic Performance and Results
We evaluate common algorithms—such as Ranking and Greedy—across two models: Vertex Arrival (one side of the market is fixed) and Edge Arrival (pairs arrive sequentially). We also distinguish between ex-post (worst-case), ex-ante (expected), and average (based on expected utilities) realizations.
| Setting | Metric | Ex-post | Ex-ante | Average |
|---|---|---|---|---|
| Vertex-Weighted | $\kappa$ (Local) | $1/2$ | $1/2$ | $1 - 1/e$ |
| $\mathcal{J}$ (Global) | $1/2$ | ? | $1 - 1/e$ | |
| $\lambda$ (Optimality) | $1/2$ | $1 - 1/e$ | $1 - 1/e$ | |
| Edge-Weighted | $\kappa$ (Local) | $0$ | $0$ | ? |
| (with Free Disposal) | $\mathcal{J}$ (Global) | $\ge 1/4$ | $\ge 0.268$ | $\ge 0.268$ |
| $\lambda$ (Optimality) | $1/2$ | $\ge 0.536$ | $\ge 0.536$ |
Key findings include:
- In vertex-weighted settings, the Ranking algorithm achieves an average stability of $1 - 1/e$ (~0.632), matching its optimality bound.
- Edge-arrival models present a significant challenge; no randomized algorithm can guarantee a constant local stability ($\kappa$), as dynamic "threat levels" make stability difficult to maintain.
Conclusion and Future Work
While this framework provides a robust way to measure stability in online markets, several questions remain. The ex-ante stability index for the Ranking algorithm is still an open theoretical problem. Furthermore, future research could explore "dynamic bargaining," where agents' bargaining power shifts based on their outside options as the market evolves. Finally, finding ways to improve local stability in edge-weighted models remains a priority for designing more resilient online market mechanisms.
Summary updated