Keep Everyone Happy: Online Fair Division of Numerous Items with Few Copies

Arun Verma, Indrajit Saha, Makoto Yokoo, Bryan Kian Hsiang Low · DOI

Abstract

This paper considers a novel variant of the online fair division problem involving multiple agents in which a learner sequentially observes an indivisible item that has to be irrevocably allocated to one of the agents while satisfying a fairness and efficiency constraint. Existing algorithms assume a small number of items with a sufficiently large number of copies, which ensures a good utility estimation for all item-agent pairs from noisy bandit feedback. However, this assumption may not hold in many real-life applications, for example, an online platform that has a large number of users (items) who use the platform's service providers (agents) only a few times (a few copies of items), which makes it difficult to accurately estimate utilities for all item-agent pairs. To address this, we assume utility is an unknown function of item-agent features. We then propose algorithms that model online fair division as a contextual bandit problem, with sub-linear regret guarantees. Our experimental results further validate the effectiveness of the proposed algorithms.

Introduction

Fair division is a fundamental problem in economics and computer science, focusing on the equitable distribution of resources among competing parties. In the online setting, items arrive sequentially and must be assigned immediately and irrevocably. Traditional approaches often assume a limited set of item types that appear frequently, allowing the system to learn precise agent-item utilities over time.

However, modern online platforms—such as ride-hailing or food delivery services—face a "large item, few copy" challenge. Here, millions of unique users (items) may interact with the platform only a few times, making it impossible to estimate utilities through repeated interactions. This paper addresses this gap by modeling the problem as a contextual bandit, leveraging item and agent features to generalize utility predictions across new, unseen items.

System model of the online fair division platform.

Methodology

The core innovation lies in treating online fair division as a contextual bandit problem. Items are represented as feature vectors (contexts), and utility is modeled as an unknown function of these features. Unlike standard contextual bandits where the goal is usually just to maximize immediate reward, fair division is history-dependent: the "goodness" of giving an item to an agent depends on how much utility that agent has already received.

The Goodness Function

To balance efficiency (maximizing total utility) and fairness (equitable distribution), the authors introduce a "goodness function" $G$. A primary focus is the Weighted Gini social-evaluation function, which uses a control parameter ($\rho$) to interpolate between pure efficiency and pure fairness (maximizing the utility of the least-happy agent).

Proposed Algorithms

The paper introduces two main strategies adapted from the bandit literature:

  1. OFD-UCB (Upper Confidence Bound): Employs optimistic utility estimates to balance exploration of potentially high-value or fair allocations with exploitation of known good matches.
  2. OFD-TS (Thompson Sampling): Samples from a posterior distribution of utility parameters, providing a flexible exploration strategy that often yields better empirical performance.

The authors prove that these algorithms achieve sub-linear regret, meaning the performance gap between the algorithm and an all-knowing oracle shrinks toward zero as more items are processed.

Experimental Evaluation

The algorithms were tested using synthetic datasets with varying feature dimensions ($d=4$ to $50$) and utility functions. The experiments involved up to 10,000 items and 25 agents to simulate the "few copies" constraint common in real-world platforms.

Key Results

  • Performance: Both OFD-UCB and OFD-TS significantly outperformed baseline strategies like "Greedy" (which ignores exploration) and "Uniform" (random allocation).
  • Thompson Sampling: OFD-TS consistently achieved lower cumulative regret than OFD-UCB across most scenarios.
  • Trade-off Control: Adjusting the parameter $\rho$ effectively shifted the system's focus between total utility and fairness, as measured by the Gini coefficient.
  • Scalability: While regret increases with the number of agents and feature dimensionality, it remains sub-linear, confirming the theoretical robustness of the approach.

Discussion and Future Work

By shifting from item IDs to item features, this framework allows platforms to make informed allocation decisions for new users based on historical data from similar users. This provides a scalable solution for large-scale matching platforms.

Future research directions include exploring alternative fairness notions such as envy-freeness and proportionality, handling more complex multi-category item types, and addressing non-stationarity where agent preferences or item characteristics evolve over time.

Summary updated

BibTeX
@inproceedings{verma2026keep,
  author = {Arun Verma and Indrajit Saha and Makoto Yokoo and Bryan Kian Hsiang Low},
  title = {{Keep Everyone Happy: Online Fair Division of Numerous Items with Few Copies}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=2XMLJj67yY},
}
Figure