Fairness of Exposure in Stochastic Bandits

Lequn Wang, Yiwei Bai, Wen Sun, Thorsten Joachims

In the ecosystem of online recommendations—spanning music streaming, e-commerce, and news feeds—algorithms act as kingmakers. Most of these platforms rely on contextual bandit algorithms designed to maximize user engagement metrics like clicks, streams, or purchases. While effective for short-term user satisfaction, these algorithms often create a "winner-takes-all" dynamic. A top-performing item can monopolize attention, leaving nearly identical, high-quality alternatives in the dark.

A recent paper, "Fairness of Exposure in Stochastic Bandits," introduces a novel framework called FairX to address this imbalance. The authors argue that fairness in recommendation systems must extend beyond the end-user to protect the creators, sellers, and artists who supply the platform's content.

The Problem: The Greed of Traditional Bandits

Traditional stochastic bandits, such as Upper Confidence Bound (UCB) or Thompson Sampling (TS), are inherently greedy. Once they identify the "best" arm (or item), they exploit it almost exclusively to maximize cumulative reward.

Consider a music streaming platform: if Album A has a 5.1% click-through rate and Album B has a 5.0% rate, a standard bandit will eventually allocate 100% of its front-page exposure to Album A. This dynamic is disastrous for the creator of Album B and drives "superstar effects" that can push diverse creators out of the market. In news feeds, this same greedy behavior can fuel polarization by repeatedly showing users only what they are most likely to click, rather than a representative portfolio of their broader interests.

The central challenge is balancing two competing goals: maximizing user satisfaction while ensuring that exposure is distributed fairly based on an item's underlying merit.

The FairX Framework

To solve this, the authors propose the FairX (Fairness of Exposure) bandit problem. Instead of converging on a single "best" arm, the goal is to learn and deploy an Optimal Fair Policy ($\pi^*$).

Core Concepts

  • Merit Function ($f$): A user-defined function that maps an item’s expected reward to a "merit" score.
  • Merit-Based Fairness: A policy is considered fair if the probability of selecting an arm is strictly proportional to its merit. For instance, if Arm A has twice the merit of Arm B, it should receive exactly twice the exposure.
  • Dual Regret Metrics: The framework evaluates algorithms on two fronts:
  • Reward Regret: The loss in reward compared to the optimal fair policy.
  • Fairness Regret: The cumulative deviation of the algorithm’s actual choices from the theoretically fair distribution.

Algorithmic Solutions

The researchers adapted two classic bandit strategies for the FairX setting:

  1. FairX-UCB (and FairX-LinUCB): Utilizing "optimism in the face of uncertainty," this approach finds the most optimistic reward parameters within a confidence bound and constructs a fair policy based on those estimates.
  2. FairX-TS (and FairX-LinTS): A Thompson Sampling approach that samples from a posterior distribution of the rewards and deploys a fair policy based on that specific sample.

Key Insights and Empirical Validation

The authors evaluated FairX on synthetic and real-world datasets, including repurposed multi-label classification datasets (Yeast & Mediamill) and a massive real-world dataset of news article click logs (Yahoo! Today Module).

1. The "No Free Lunch" of Fairness

A critical theoretical contribution of the paper is proving that sub-linear fairness regret is impossible unless the merit function satisfies two conditions: Minimum Merit (every item is guaranteed a baseline level of exposure) and Lipschitz Continuity (small changes in estimated reward do not cause drastic swings in exposure). Without these constraints, the learning process itself forces the algorithm to be unfair.

2. Thompson Sampling's Practical Edge

While FairX-UCB is theoretically sound, it requires solving a complex, non-convex optimization problem at every step. FairX-TS, conversely, only requires sampling from a distribution. This makes the Thompson Sampling variant significantly more practical for real-world engineering and deployment.

3. Fairness as Implicit Exploration

Interestingly, enforcing fairness naturally aids the algorithm's exploration phase. Because the system is mandated to distribute exposure across multiple arms proportionally, it inherently gathers more data about "second-best" items than a standard, greedy bandit would.

4. Convergence and Sub-linear Regret

In experiments, standard UCB and TS quickly funneled all exposure to a single arm. The FairX algorithms successfully tracked the optimal fair distribution over millions of rounds. The authors proved mathematically and empirically that both reward and fairness regret grow at a sub-linear rate of $O(\sqrt{T})$, meaning the average unfairness per round approaches zero over time.

Limitations and Future Directions

While FairX represents a significant step forward, challenges remain:

  • Model Misspecification: In the Yahoo! news experiments, fairness regret did not perfectly converge to zero. The authors attribute this to shifting user interests over time and the inherent simplifications of linear models.
  • Computational Overhead: Calculating the optimal fair policy requires summing over all possible arms. In hyperscale systems with millions of items, this necessitates further approximations or hierarchical bandit structures.
  • Defining "Merit": The mathematical framework assumes the merit function $f$ is provided. In practice, defining what constitutes "merit" remains a complex, domain-specific question blending social values and business objectives.

Summary updated

BibTeX
@inproceedings{wang2021fairness,
  author = {Lequn Wang and Yiwei Bai and Wen Sun and Thorsten Joachims},
  title = {{Fairness of Exposure in Stochastic Bandits}},
  booktitle = {International Conference on Machine Learning},
  year = {2021},
  url = {https://openreview.net/forum?id=r8Q86iYA3h0},
}
Figure