potentialpaper

Beyond the Half Approximation: Fair and Efficient Online Class Matching

Sander Borst, Max Springer

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

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 1−1e≈0.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 (1−e−γ)(1-e^{-\gamma})-CEF and (1−eγ−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.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]—[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:44 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

This paper resolves an open question from Hosseini et al. in online bipartite matching with class envy-freeness : whether one can beat 1/2-Utilitarian Social Welfare while keeping constant-factor class envy freeness. The authors give threshold-based algorithms achieving this for divisible and indivisible settings, plus a matching upper bound.

All three reviewers recommend acceptance. They agree the paper resolves an established open problem and pairs the algorithm with a genuine upper-bound characterization, and two highlight the exponential kernel function as a novel, reusable technique.

The authors committed in rebuttal to correcting the line-135 optimality claim (which conflates CPROP with CEF), cleaning up the bibliography, adding intuition for the kernel construction, and discussing the connection to Gkatzelis et al.

Final justification

see meta review

Area Chair 9g3Z · Meta-reviewOpenReview ↗
Final justification
see meta review
Read meta-review
Meta-review

This paper resolves an open question from Hosseini et al. in online bipartite matching with class envy-freeness : whether one can beat 1/2-Utilitarian Social Welfare while keeping constant-factor class envy freeness. The authors give threshold-based algorithms achieving this for divisible and indivisible settings, plus a matching upper bound.

All three reviewers recommend acceptance. They agree the paper resolves an established open problem and pairs the algorithm with a genuine upper-bound characterization, and two highlight the exponential kernel function as a novel, reusable technique.

The authors committed in rebuttal to correcting the line-135 optimality claim (which conflates CPROP with CEF), cleaning up the bibliography, adding intuition for the kernel construction, and discussing the connection to Gkatzelis et al.

Reviewer Fza9OpenReview ↗
Rating
5/6
Confidence
4/5
Quality
4/4
Clarity
4/4
Significance
4/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper studies online bipartite matching with fairness constraints. The set of agents is fixed, and the items arrive online. Agents are partitioned into k classes, and the algorithm must balance efficiency (maximize utilitarian social welfare) with fairness among classes (in terms of envy; an allocation is α\alpha-CEF if each class receives at least an α\alpha fraction of what it could extract from any other class’s allocation). This model was introduced by Hosseini et al that also gave an algorithm that guarantees (1-1/e)-CEF and ½-USW (½ approx to utilitarian social welfare). A classic result in online algorithms is the (1-1/e)-USW algorithm of Karp, Vazirani, and Vazirani. A problem left open was whether strictly better than ½ USW is compatible with constant CEF. This paper resolves this question in the affirmative by giving an algorithm that achieves (1−exp(−γ))(1-exp(-\gamma))-CEF and (1−exp(γ−1)/(γ+1))(1-exp(\gamma-1)/(\gamma+1))-USW, for every γ∈[0,1]\gamma \in [0,1], for the divisible item case, and a similar result for the indivisible item case. The authors also give an improvement on the upper bound/negative result side.

Strengths and weaknesses

This is a well-written paper on an interesting topic. The authors make significant progress on the problem, resolving an established open problem. There are no major weaknesses; one could always nitpick on the result not being "technical enough," or that this was not a central open problem in the area (fair division), but in my opinion, this work easily passes the bar for NeurIPS.

Questions

No questions, but one point that I found interesting is that the algorithms do the "fair thing" and then switch to the "efficient thing." This is counterintuitive to me, since without the fairness constraint, one would only do something efficient. This idea has already been used in the context of online fair division [Gkatzelis et al., AAAI 2021: "Fair and Efficient Online Allocations with Normalized Valuations"]. I'd be curious if the authors have any insights about why the "intuitive" order is flipped here.

Limitations

yes

Final justification

I had no concerns, and I still have no concerns.

Formatting concerns

N/A

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for their positive feedback on our result and presentation! We especially thank the reviewer for the insightful observation concerning the Gkatzelis et al paper. To clarify our algorithm, the “switch” is performed separately for each arriving item, rather than being a single global switch over time, with the algorithm giving priority to compatible classes/agents below the threshold and then allocating any remaining opportunity using the efficiency oriented rule. The “fairness first” ordering is motivated by irrevocability. Shared items arriving early may be the only opportunities available to a disadvantaged class, so if these items are allocated efficiently at first, then the resulting fairness deficit may be impossible to repair using later items. The threshold mechanism builds only the safety margin needed for the CEF guarantee. Once no compatible low-load classes remain, further equalization would sacrifice welfare without actually strengthening the guarantee and the algorithm reverts to water-filling / RANKING.

We agree that this has a conceptual connection to the work of Gkatzelis! While the settings and guarantees differ (their work leverages normalized additive valuations, largely for divisible fair allocation), they nevertheless share the idea of “protect fairness only when necessary” which is worth making explicit. More specifically, their normalization assumption seems to allow the algorithm to infer how much value remains and delay the fairness safeguard until an agent reaches a critical point. In our adversarial matching model, there may be no future items compatible with a currently disadvantaged class. Consequently, fairness must be protected whenever a relevant opportunity arrives, before applying the efficiency rule. We will cite and include a discussion of this in the final version of our work.

Reviewer Fza9 · CommentOpenReview ↗

Thank you for your comment. I appreciate the additional insight. I have no other questions/concerns.

Reviewer UeReOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
4/4
Clarity
3/4
Significance
4/4
Originality
4/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper studies the problem of online bipartite matching, in which items are revealed sequentially and must be assigned immediately and irrevocably. The main objective of the paper is to decide if there exists a mechanism that is approximately fair (fairness considered in the paper is the class envy-freeness, which requires that envy-freeness between different "classes" of agents) and satisfies some approximation of utilitarian social welfare. Prior to this work, the best currently known mechanism achieves a constant-factor approximation of the CEF and a 1/2-factor approximation of the USW. The paper under consideration proposes a family of mechanisms parameterized by a parameter γ\gamma representing the compromise between fairness and efficiency, breaking the 1/2-USW barrier while maintaining a constant factor approximation of CEF,

Strengths and weaknesses

The paper resolves an open problem in the literature on online matching using an elegant technique/proof based on the primal/dual LP, which may also be useful in related areas. The upper bound provided by this algorithm is additionally supported by a technical matching lower bound. The writing and the presentation are mostly clear, with a minimal number of issues; see the small comments below. Therefore, I recommend this paper for acceptance.

  • line 135: "proved deterministic algorithms can achieve (1−1/e)(1-1/e)-CEF, which is optimal" -- this is a bit misleading, as Hosseini et al. proved that this is optimal only for CPROP, not for CEF.
  • line 165: here, edges are (a,o)(a,o), while they were defined as (o,a)(o,a). Since the edges are ordered pairs and not sets, the order of the elements matters.
  • line 188 and 266: there exists
  • line 253: comprised -> composed
  • The references need critical polishing. Many papers are referenced in their arxiv version, even though their conference/journal version exists. Some references are completely missing some details, such as venue names or pages.
Questions

N/A

Limitations

yes

Final justification

I am satisfied with the authors' rebuttal and still recommend the paper for acceptance.

Formatting concerns

No Formatting Concerns

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for their careful reading, positive score, and concrete corrections. We agree with all of the above noted minor fixes and have:

  • Revised line 135 to avoid claiming that 1-1/e is known to be optimal for CEF, as the cited optimality result refers to CPROP.
  • Consistently written edges as (o,a)
  • Changed “there exist” to “there exists”
  • Replaced “comprised of” by “composed of”
  • We have stepped through the bibliography to certify where original cited preprints have conference/journal versions and adapted the bibliography entries accordingly.

We appreciate the reviewer flagging these fixes which will be present for the camera-ready version of our work!

Reviewer UeRe · CommentOpenReview ↗

Thank you for your response. I don't have any further comments; I retain my score.

Reviewer uDjJOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
4/4
Clarity
4/4
Significance
3/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The authors consider the classical online (unweighted) bipartite matching problem under additional fairness constraints - there is a fixed set NN of offline agents while a stream of MM items arrive online. Valuations of items for agents are binary - the agent either 'likes' the item or not. Further, for the current setting under consideration, the agents are partitioned in to kk classes. The objective here is two fold - maintain a maximum (integral or fractional) matching between arrived items and agents while ensuring approximate class-envy-freeness. The notion of α\alpha-class-envyfree (CEF) is roughly the following - given any parameter α∈(0,1]\alpha \in (0, 1], the constraint imposes that the valuation of items assigned to a class ii is at least an α\alpha fraction of the valuation of the set of items assigned to any other class jj for the class ii - in other words, if YjY_j is the (possibly fractional) set of items assigned to the class jj, then compute the optimum matching of YjY_j and agents of class ii. Then the valuation of the current matching for class ii should be at least an α\alpha fraction of the value of the above matching of YjY_j to class ii. Previous work had shown a simultaneous 1/21/2-approximation for the value and 1/21/2-CEF, leaving open the natural question of whether it is possible to achieve the well-known 1−1/e1-1/e-approximation for the valuation along with ω(1)\omega(1)-CEF. The authors answer this question in the affirmative in this paper. In fact, they introduce a tunable parameter γ∈(0,1)\gamma\in (0,1) which can be used to trade-off the approximation factors for the value objective and the CEF objective. The authors answer this question for both the so-called divisible item case (equivalently, bb-matching) and non-divisible case (standard matching). In case of divisible item, they provide with a deterministic algorithm that achieves (1−eγ−1γ+1)(1 - \frac{e^{\gamma-1}}{\gamma + 1})-USW, (1−e−γ)(1-e^{-\gamma})-CEF , while for indivisible items , they provide a randomized algorithm with the same USW but γ/2\gamma/2-CEF.
Further, the authors also provide impossibility results on the trade-offs between approximations of value an CEF.

Strengths and weaknesses

The paper is a solid progress on a natural and important question in this domain. In particular, it is quite well-known that a 1/21/2-approximation for USW is achievable trivially by any algorithm which ensures a 'maximal matching' (it is called non-wasteful in AGT literature but I think its the same notion). To the best of my understanding, all previous work produced NW matchings while focusing on a constant factor CEF. The current authors move beyond a trivial NW matching in order to beat the 1/21/2-barrier.

The algorithms themselves are not designed by the authors from scratch - the divisible case borrows a lot from previous literature on bb-matching in the form of the so-called water-filling algorithm. However, firstly, it seems non-trivial to adapt that to the class-envy setting. Analogously, for the indivisible case, the authors of course borrow ideas from classical RANKING by KVV as well as subsequent primal-dual interpretation by Devanur, Jain and Kleinberg. However, and I think this is the central contribution of the paper - the exponential kernel functions used in the primal-dual analysis is new to the best of my knowledge and this may find future usage in related problems. In fact, the suitable choice of such functions is what makes the proofs verifiable to a large extent.

Questions
  1. I think the paper might benefit from a small 'high level idea' section. Although mathematically elegant, the choice of the kernel function looks sudden. If similar ideas have been used in literature, I would request the authors to point to them or give some intuition on where they came from.

  2. I need one small clarification - for the indivisible case, to the best of my understanding - the analysis shows that the dual constraints are δ\delta feasible 'in expectation'. Is this correct? If it is, then is it obvious that this translates directly to a δ\delta-approximation for the primal. I mean don't we need some lemma to show that this holds simultaneously for all the dual constraints. I would appreciate if the authors clarify this point (it may be also implicit in the Devanur et a. analysis)

Limitations

yes

Final justification

I am satisfied with the authors' rebuttal and fully recommend the paper for acceptance.

Formatting concerns

none

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the positive score and for highlighting the potential broader usefulness of the analysis! We here expand briefly on some of the key ideas.

| High-level intuition for the kernels.

The function is reverse-engineered from the approximate-dual invariant. For an edge whose agent ends at load z>γz > \gamma, the proof lower bounds its endpoint dual mass by 1−g(z)+∫0zg(t)dt1 - g(z) + \int_{0}^z g(t) dt. Requiring this quantity to be independent of zz gives g’(z)=g(z)g’(z) = g(z), and the normalization g(1)=1g(1) = 1 gives the exponential branch of g(z)=ez−1g(z) = e^{z-1}. Below γ\gamma, equal filling forces a constant branch. Equating the small load and saturated cases gives g(z)=eγ−1/(γ+1)g(z) = e^{\gamma-1}/(\gamma+1) for z≤γz \le \gamma and the common guarantee of δ=1−eγ−1/(γ+1)\delta = 1 - e^{\gamma-1}/(\gamma+1). These ideas extend the RANKING analysis of Kleinberg, Jain and Devanur, and we will make them more explicit to further highlight the kernel function as being useful beyond this work, in the final version of our paper.

| Dual feasibility in expectation

Yes: the immediate dual vector y’y’ is random, but the proof uses the deterministic vector y‾v=E[y’v]\overline{y}_v = \mathbb{E}[y’_v]. For every fixed edge e=(o,a)e = (o,a), the analysis shows y‾o+y‾a=E[y’o+y’a]≥δ\overline{y}_o + \overline{y}_a = \mathbb{E}[y’_o + y’_a] \ge \delta. Consequently, y‾/δ\overline{y}/\delta is one dual vector satisfying all edge constraints simultaneously. We thus do not need an event on which all random constraints hold, nor a union bound. Rather, feasibility is a componentwise property of the expected vector. Moreover, ∑vy‾v=E[∑vy’v]=E[ALG]\sum_v \overline{y}_v = \mathbb{E}[\sum_v y’_v] = \mathbb{E}[ALG] since every realized match creates one unit of dual mass. Weak duality thus gives OPT≤E[ALG]/δOPT \le \mathbb{E}[ALG] / \delta. We will make the above intuition explicit in the final version of our text.

We greatly appreciate the reviewer raising these points and feel that addressing each in the revision of our manuscript will improve the clarity overall.

Reviewer uDjJ · CommentOpenReview ↗

Thank you for your clarifications. I retain my score

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…