Contextual Bandit Algorithms with Supervised Learning Guarantees.

Alina Beygelzimer, John Langford, Lihong Li, Lev Reyzin, Robert E. Schapire

Abstract

This paper introduces Exp4.P, the first contextual bandit algorithm to provide high-probability regret guarantees in adversarial settings. By bridging the gap between partial feedback and supervised learning, the authors demonstrate that learning with bandit feedback is only a factor of $K$ (the number of actions) harder than standard supervised learning. The algorithm utilizes variance-aware updates to ensure robust performance even in high-variance, adversarial environments.

Introduction

In a contextual bandit problem, a learner must choose one of $K$ actions based on a given context. Unlike supervised learning, the learner only observes the reward for the chosen action, creating a challenge of partial feedback. The primary objective is to minimize regret: the difference between the reward of the best fixed policy and the learner's cumulative reward.

While previous algorithms like Exp4 provided guarantees in expectation, they lacked "high-probability" bounds. In high-stakes applications like medical treatments or financial trading, average performance is insufficient; reliability across individual runs is critical. Exp4.P addresses this by providing a regret bound of $O(\sqrt{KT \ln N})$ that holds with probability $1-\delta$.

The Exp4.P Algorithm

The core innovation of Exp4.P (where "P" stands for probability) is its approach to variance control. The algorithm maintains weights over $N$ policies and incorporates several technical advancements:

  • Variance-Aware Updates: Standard importance-weighted estimates can suffer from extreme variance when action probabilities are low. Exp4.P introduces a variance-controlling term, $\hat{v}_i(t)$, directly into the exponential weight update to penalize experts with uncertain reward estimates.
  • New Martingale Inequality: To prove tighter high-probability bounds, the authors derived a Freedman-style inequality for martingales that utilizes fixed variance estimates rather than global upper bounds.
  • Efficient Exploration: The algorithm employs a refined method for setting action probabilities. Instead of uniform noise, it enforces a minimum probability threshold that minimizes distortion to the intended policy, preserving exploration efficiency.

Empirical Evaluation

The authors evaluated Exp4.P using a massive real-world dataset from the Yahoo! Front Page Today Module, consisting of 41 million user visits. The task was to recommend news articles to maximize click-through rates (CTR) among approximately 21 candidate articles per visit.

Empirical Results

The evaluation compared Exp4.P against the standard Exp4 and a simple $\epsilon$-greedy baseline. Performance was measured in two phases: a "learning bucket" (active exploration) and a "deployment bucket" (using the learned greedy policy).

Comparison of click-through rates (CTR) for Exp4.P, Exp4, and ε-greedy algorithms.

As shown in the results, Exp4.P exhibits a more conservative "learning CTR" compared to its counterparts. However, this cautious exploration pays off in the "deployment CTR," where Exp4.P significantly outperforms both Exp4 and $\epsilon$-greedy. This confirms that variance-aware updates lead to the discovery of more robust and effective policies.

Key Insights

  • The "Factor of K" Rule: A fundamental takeaway is that contextual bandit problems are solvable with roughly $K$ times more data than required for supervised learning to reach the same confidence levels.
  • Variance as the Primary Obstacle: High-probability bounds are difficult in adversarial settings because adversaries can force learners into low-probability actions. Exp4.P's explicit variance term acts as a shield against such behavior.
  • VC-Dimension Extension: For stochastic environments, the authors show that Exp4.P can compete with infinite policy sets, provided they have a finite VC-dimension $d$.

Conclusion and Future Work

Exp4.P represents a significant theoretical milestone by providing high-probability guarantees for contextual bandits. However, challenges remain regarding computational scalability, as the algorithm requires maintaining weights for every expert. While it handles infinite policy sets in stochastic settings, doing so against an online adaptive adversary remains an open challenge. Future work may focus on more computationally efficient implementations for large-scale expert classes.

Summary updated

BibTeX
@inproceedings{beygelzimer2011contextual,
  author = {Alina Beygelzimer and John Langford and Lihong Li and Lev Reyzin and Robert E. Schapire},
  title = {{Contextual Bandit Algorithms with Supervised Learning Guarantees.}},
  booktitle = {AISTATS},
  year = {2011},
  url = {https://openreview.net/forum?id=dHMR5GA0Aeq},
}
Figure