NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Regret, stability, and fairness in matching markets with bandit learners

Sarah Huiyi Cen, Devavrat Shah

Abstract

In matching markets where participants must learn their preferences through experience (such as interns choosing companies), standard theory suggests a painful trade-off: one can achieve a stable market or happy participants, but not both simultaneously. This paper proves that by introducing simple economic mechanisms—specifically costs and transfers—platforms can simultaneously guarantee market stability, low regret for all participants, fairness, and high social welfare.

The Problem: Learning Under Competition

Traditional matching theory, pioneered by Gale and Shapley in 1962, assumes that every participant knows exactly what they want from the start. In the real world—think job markets, college admissions, or online advertising—preferences are rarely known a priori. Instead, agents are "bandit learners": they learn how much they value a match only after being paired, often through a process of trial and error.

Bandit learners discover their preferences by sequentially sampling different options over time.

The challenge is that competition disrupts learning. If a student is repeatedly denied an internship at a top firm due to competition, they may never learn if that career path was actually right for them. Recent research suggested a depressing "impossibility result": in these learning markets, it is impossible to guarantee both stability (a state where no two agents would rather ditch their current partners for each other) and low regret (a measure of long-term happiness) for everyone. Essentially, the platform would have to "sacrifice" the happiness of some agents to keep the market stable.

Methods: Economic Mechanisms for Matching

The authors bridge the gap between Two-Sided Matching and Multi-Armed Bandits (MAB). They model a centralized platform that matches "users" and "providers" at every time step $t$. The key innovation is the addition of two components to the standard matching model:

  1. Costs ($C$): Frictions like entry fees or the effort required to apply.
  2. Transfers ($T$): Payments between agents, such as salaries or referral bonuses.

Agents use an Upper Confidence Bound (UCB) strategy to report their "transient preferences" to the platform. The platform then runs the classic Gale-Shapley algorithm based on these reports, modified by specific rules such as Balanced Transfers (where agents split the difference of their mutual values) or fixed Pricing.

Key Insights and Results

The paper's core contribution is overturning the previously established impossibility result. The authors show that the "impossibility" stems from the fact that stable matchings are often not unique. Without transfers, a system can get stuck in a version that is terrible for one side of the market.

By combining learning and competition into a unified model, the authors show that costs and transfers can simultaneously guarantee stability, low regret, fairness, and high social welfare.

Theorem 2 proves that there exist cost and transfer rules that simultaneously satisfy stability, low regret ($O(\log T)$), fairness, and high social welfare. Specifically:

  • Balanced Transfers Work: Under this rule, the market always has a unique stable matching, and every agent is guaranteed to achieve low regret.
  • Proportional Costs Fail: Simply charging agents a fee proportional to their interest does not solve the problem; it leads to the same impossibility as the no-cost setting.
  • Social Welfare: The suggested mechanisms achieve at least 1/2-high social welfare compared to the theoretical maximum.

Limitations and Future Work

While this theoretical framework provides a path forward for platform design, several questions remain. The current model assumes a centralized platform and that agents report their preferences honestly. Future work could explore decentralized markets, "strategy-proofness" (ensuring agents don't gain by lying), and how shared information, like public reviews, affects these stability guarantees.

Summary updated

BibTeX
@inproceedings{cen2022regret,
  author = {Sarah Huiyi Cen and Devavrat Shah},
  title = {{Regret, stability, and fairness in matching markets with bandit learners}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2022},
}
Figure