English

Beyond the Half-Approximation: Fair and Efficient Online Class Matching

Computer Science and Game Theory 2026-05-25 v1 Data Structures and Algorithms

Abstract

Online bipartite matching, where agents are known in advance but items arrive sequentially and must be irrevocably assigned, is fundamental to problems ranging from ride-sharing to online advertising. When agents belong to classes such as demographic groups or geographic regions, fairness demands equitable treatment across these groups. Recent work introduced class envy-freeness (CEF), a natural extension of the classical fair division notion: an algorithm is α\alpha-CEF if each class receives value at least an α\alpha fraction of what it could extract from any other class's bundle. However, all known algorithms achieving constant-factor CEF guarantees attain utilitarian social welfare (total matching value) of at most 12\frac{1}{2} times the optimum, far below the 11e0.6321-\frac{1}{e} \approx 0.632 achievable without fairness constraints. We resolve the open question of whether fairness necessitates this efficiency loss, by introducing threshold-based algorithms parameterized by γ[0,1]\gamma \in [0,1] that equalize allocations across classes until threshold γ\gamma, then maximize efficiency. For divisible matching, this yields simultaneous (1eγ)(1-e^{-\gamma})-CEF and (1eγ1γ+1)(1 - \frac{e^{\gamma-1}}{\gamma+1})-USW guarantees; for indivisible matching, γ2\frac{\gamma}{2}-CEF with the same USW. Setting γ>0\gamma > 0 produces the first algorithms beating 12\frac{1}{2}-USW while maintaining constant CEF. We complement this with a novel upper bound construction, proving no non-wasteful α\alpha-CEF algorithm can exceed 1+αeα11+α\frac{1 +\alpha - e^{\alpha-1}}{1+\alpha}-USW and correcting prior bounds that were vacuous for α<0.58\alpha < 0.58. Our upper bound nearly matches our algorithms' performance, giving the first substantive characterization of the price of fairness in online class matching.

Keywords

Cite

@article{arxiv.2605.23408,
  title  = {Beyond the Half-Approximation: Fair and Efficient Online Class Matching},
  author = {Sander Borst and Max Springer},
  journal= {arXiv preprint arXiv:2605.23408},
  year   = {2026}
}