Two-Sided Matching Meets Fair Division

Rupert Freeman, Evi Micha, Nisarg Shah

Abstract: We introduce a new model for two-sided matching which allows us to borrow popular fairness notions from the fair division literature such as envy-freeness up to one good and maximin share guarantee. In our model, each agent is matched to multiple agents on the other side over whom she has additive preferences. We demand fairness for each side separately, giving rise to notions such as double envy-freeness up to one match (DEF1) and double maximin share guarantee (DMMS). We show that (a slight strengthening of) DEF1 cannot always be achieved, but in the special case where both sides have identical preferences, the round-robin algorithm with a carefully designed agent ordering achieves it. In contrast, DMMS cannot be achieved even when both sides have identical preferences.

Introduction

Traditional matching theory, exemplified by the Gale-Shapley algorithm, has historically prioritized stability—the absence of "blocking pairs" who would both prefer to be matched with each other over their current assignments. However, stability does not inherently guarantee equity; a stable matching can leave one side of the market with their least preferred options while the other side thrives. Conversely, the field of fair division focuses on equitable resource allocation among agents with preferences over passive goods.

This paper bridges these two fields by introducing a model for many-to-many two-sided matching where both sides demand fairness. This is particularly relevant in scenarios like education (students and courses) or social services (clients and providers), where both parties have preferences and deserve equitable treatment.

Defining Fairness in Two-Sided Markets

The authors adapt popular fair division concepts to this two-sided context, creating "double" fairness notions:

  • Double Envy-Freeness up to one match (DEF1): No agent on either side envies another agent's bundle of matches by more than a single match. A stronger version, SD-DEF1, uses stochastic dominance to define envy-freeness for ordinal preferences.
  • Double Maximin Share (DMMS): Every agent receives a bundle at least as good as their "maximin share"—the value they could guarantee if they were the ones partitioning the other side into bundles and receiving the least preferred one.

The Restricted-Round-Robin Algorithm

A major challenge in two-sided fairness is that a sequence that is fair for the "pickers" (e.g., standard round-robin) can be highly unfair for the "picked" items if they also have preferences. To address this, the authors propose the Restricted-Round-Robin algorithm.

This algorithm employs a sophisticated ordering strategy based on number theory. By using coprime indices and cyclic shifts, the algorithm ensures that the "load" of being picked is balanced across the agents on the other side, maintaining fairness for both sides simultaneously.

Figure 1: Example of picking sequences generated by the Restricted-Round-Robin algorithm for different parameters, ensuring balanced assignments across both sides of the market.

Key Results and Impossibility Theorems

The research reveals a fundamental tension between stability and fairness, as well as between different fairness notions:

  • Existence and Complexity: While SD-DEF1 is not always achievable for arbitrary preferences, it is guaranteed to exist and can be found in polynomial time using the Restricted-Round-Robin algorithm when both sides have identical ordinal preferences.
  • MMS Limitations: Surprisingly, even with identical preferences, the Maximin Share (MMS) guarantee is not always achievable. The authors establish a 0.89-approximation bound as a potential upper limit for DMMS.
  • Incompatibility: The paper proves that for certain degree constraints, DEF1 and DMMS cannot be satisfied simultaneously, highlighting the difficulty of balancing multiple fairness criteria.
  • Stability vs. Fairness: Through synthetic simulations, the authors demonstrate that matching can be perfectly stable but violate even the most basic fairness guarantees like EF1.

Conclusion and Future Work

By importing fairness notions into matching theory, this work provides a framework for more equitable market designs. While general existence remains an open question for arbitrary preferences, the success of the Restricted-Round-Robin algorithm in aligned markets offers a promising path forward.

Future research will explore varying capacities (e.g., different class sizes), dynamic market settings like ride-sharing, and the existence of standard DEF1 under broader conditions where preferences are more heterogeneous.

Summary updated

BibTeX
@inproceedings{freeman2021two,
  author = {Rupert Freeman and Evi Micha and Nisarg Shah},
  title = {{Two-Sided Matching Meets Fair Division}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.24963/ijcai.2021/29},
}
Figure