Contextual bandits with concave rewards, and an application to fair ranking

Virginie Do, Elvis Dohmatob, Matteo Pirotta, Alessandro Lazaric, Nicolas Usunier · DOI

Abstract

Standard contextual bandit algorithms are typically designed to maximize a single scalar reward, such as user clicks. However, real-world recommendation systems often face competing objectives, such as balancing user engagement with fairness of exposure for content creators. We present a general framework for Contextual Bandits with Concave Rewards (CBCR) that addresses these multi-objective challenges without restricting the policy space. By reducing the problem to a sequence of standard scalar-reward bandit tasks using the Frank-Wolfe optimization algorithm, we provide a "plug-and-play" method with provable regret guarantees. Our approach demonstrates superior performance in achieving fair exposure in recommendation tasks compared to existing baselines.

Introduction

In many digital platforms, optimizing solely for immediate user satisfaction can lead to a "winner-take-all" dynamic where only a few popular items are ever recommended. To ensure long-term ecosystem health, platforms must consider concave objectives that reward diversity or fairness. Mathematically, this involves maximizing a concave function of a reward vector. The primary challenge in the contextual setting is that the optimal strategy depends on the entire distribution of users (contexts), making traditional optimization difficult. This work removes previous limitations that restricted the policy space, allowing for any stationary policy over continuous context spaces.

Methodology: The Frank-Wolfe Reduction

The core contribution of this research is a reduction-based approach. Rather than creating a new bandit algorithm, the framework utilizes existing scalar bandit algorithms (e.g., LinUCB or SquareCB) as subroutines.

  1. Geometric Optimization: The problem is framed as optimizing over the convex set of all attainable expected rewards.
  2. Frank-Wolfe (FW) Integration: The FW algorithm is employed because it avoids computationally expensive projections. At each step, the algorithm calculates the gradient of the concave objective to determine the direction of steepest improvement.
  3. The Scalar Equivalence: A key theoretical insight is that finding the optimal direction in the reward space is mathematically equivalent to solving a standard scalar-reward contextual bandit problem, where rewards are weighted by the current gradient.
  4. Smoothing: For non-smooth objectives like the Gini coefficient, the authors apply Moreau-Yosida regularization to ensure the gradient-based approach remains effective.

Theoretical Guarantees

The framework provides strong theoretical foundations, proving that if the underlying scalar bandit algorithm achieves sublinear regret, the CBCR version will also converge to the optimal trade-off. The regret typically scales at a rate of $O(1/\sqrt{T})$.

Table 1: Regret bounds and assumptions for different algorithm variants within the FW framework.

Empirical Results

The researchers evaluated the framework using synthetic environments and the Last.fm Music Dataset. In the Last.fm simulation, the system had to recommend artists while balancing user utility against artist exposure inequality.

Key findings include:

  • Convergence: The algorithms consistently converge toward the optimal objective value across different dimensions and settings.
  • Fairness Trade-offs: On the Last.fm dataset, the proposed FW-LinUCBRank algorithm achieved higher total user utility for any given level of item inequality (Gini index) compared to the FairLearn baseline.
  • Efficiency: The ranking implementation is computationally efficient, relying on simple sorting mechanisms suitable for real-time systems.
Figure 1: Performance metrics showing convergence of objectives over time (left/center) and the utility-fairness Pareto frontier (right).

Conclusion and Future Work

This framework offers a flexible, theoretically grounded way to "upgrade" standard bandit algorithms to handle complex, multi-objective goals. While highly effective, the approach currently assumes the concave objective function is known a priori. Future research may explore preference elicitation to help stakeholders define these objectives dynamically and investigate methods for handling hard linear constraints alongside concave objectives.

Summary updated

BibTeX
@inproceedings{do2023contextual,
  author = {Virginie Do and Elvis Dohmatob and Matteo Pirotta and Alessandro Lazaric and Nicolas Usunier},
  title = {{Contextual bandits with concave rewards, and an application to fair ranking}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=UT-_SVOyD1H},
}
Figure