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

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

The Challenge of "Few Copies" in Fair Division

Imagine a food delivery platform that needs to recommend restaurants (agents) to users (items) as they log in. To keep the ecosystem healthy, the platform must be efficient—matching users to restaurants they will actually enjoy—while also remaining fair, ensuring all restaurants receive a reasonable share of exposure.

Traditional "online fair division" algorithms struggle in these environments. They typically assume there are only a few types of items with many copies, allowing the system to learn the best agent for each item type over time through repeated exposure. In the real world, however, platforms host millions of unique users who might only order a few times. It is impossible to learn a specific user's preference for every restaurant through trial and error alone.

This paper addresses this "few copies" bottleneck. Instead of relying on repeated observations of the exact same item-agent pairs, the authors propose using features (e.g., user cuisine preference, restaurant location) to predict utility, fundamentally shifting how online fair division is approached.

A Contextual Bandit Framework

To solve this, the authors introduce the Online Fair Division (OFD) framework, which treats the allocation problem as a contextual bandit. Rather than learning a static value for each agent, the algorithm observes a "context" (item features) and uses a learned function to estimate the utility of assigning that item to a specific agent.

Balancing Fairness and Efficiency

To balance fairness and efficiency, the framework employs a "goodness function," specifically focusing on the weighted Gini social-evaluation function. This function provides a central planner with a tunable parameter ($\rho$) that acts as a control knob, allowing the platform to slide between two extremes:

  • Utilitarianism: Maximizing total system utility (efficiency).
  • Egalitarianism: Maximizing the utility of the least-happy agent (fairness).

By coupling social welfare functions with feature-based learning, the system can make fair, efficient decisions for items it has never seen before.

Algorithmic Approaches

The authors adapt two classic bandit strategies for this framework:

  1. OFD-UCB (Upper Confidence Bound): Selects agents based on a combination of high estimated utility and high uncertainty, explicitly encouraging exploration.
  2. OFD-TS (Thompson Sampling): Samples from a distribution of possible utility functions to make allocation decisions.

To measure performance, the authors define a novel metric called fair regret. This measures the cumulative difference between the algorithm's choice and an "optimal" oracle choice that would have maximized the goodness function at each step. Crucially, the authors mathematically prove that their algorithms achieve sub-linear regret, meaning the rate of mistakes slows down over time as the algorithm learns to approximate the oracle's decisions.

Experimental Validation and Key Results

The researchers evaluated OFD-UCB and OFD-TS using synthetic problem instances designed to mimic the scale and complexity of real-world online platforms. Items and agents were represented by high-dimensional feature vectors, and the algorithms were tested against both linear and non-linear utility functions (using polynomial kernels) across thousands of items.

The experiments yielded several key insights:

  • Strong Performance: Both OFD-UCB and OFD-TS significantly outperformed baseline strategies like random allocation ("Uniform") and pure exploitation ("Greedy").
  • Thompson Sampling Wins: Consistent with broader contextual bandit research, OFD-TS generally achieved lower regret than its UCB counterpart.
  • Scalability and Robustness: The algorithms remained highly effective even as the number of agents and the dimensionality of the features increased. Furthermore, as the number of copies per item increased, regret dropped further, validating that the model handles the "few copies" constraint gracefully while still benefiting from additional data when available.

Limitations and Future Directions

While the OFD framework presents a significant step forward, it relies on the assumption that high-quality features for both items and agents are available upfront. In privacy-sensitive or "cold-start" scenarios, these features might be noisy or missing entirely.

Additionally, the current "fair regret" metric is calculated relative to an oracle that is constrained by the history of the current policy. Developing a "stronger" oracle that accounts for the best possible historical allocation path remains a challenging problem for future study. Finally, while the Gini function is powerful, real-world fairness often involves more complex, expressive notions like "envy-freeness" or "proportionality." Extending this contextual framework to accommodate these advanced fairness criteria is a promising next step for the field.

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