Generalized Policy Elimination: an efficient algorithm for Nonparametric Contextual Bandits

Aurélien F. Bibaut, Antoine Chambaz, Mark J. van der Laan

Abstract

We propose the Generalized Policy Elimination (GPE) algorithm, an oracle-efficient contextual bandit (CB) algorithm inspired by the Policy Elimination algorithm of \cite{dudik2011}. We prove the first regret optimality guarantee theorem for an oracle-efficient CB algorithm competing against a nonparametric class with infinite VC-dimension. Specifically, we show that GPE is regret-optimal (up to logarithmic factors) for policy classes with integrable entropy. For classes with larger entropy, we show that the core techniques used to analyze GPE can be used to design an $\varepsilon$-greedy algorithm with regret bound matching that of the best algorithms to date. We illustrate the applicability of our algorithms and theorems with examples of large nonparametric policy classes, for which the relevant optimization oracles can be efficiently implemented.

Introduction

Contextual bandits (CB) are essential for personalized decision-making in fields ranging from digital marketing to healthcare. The objective is to learn a policy that maps contexts to actions to maximize cumulative rewards. While algorithms for finite or simple policy classes are well-understood, a significant gap has long existed for nonparametric policy classes—complex, infinite-dimensional sets of rules that better reflect real-world complexity.

Historically, researchers faced a trade-off: use computationally tractable "oracle-efficient" algorithms that might be suboptimal for complex classes, or use "regret-optimal" algorithms that are computationally intractable. In "Generalized Policy Elimination: an efficient algorithm for Nonparametric Contextual Bandits," Bibaut et al. introduce GPE, the first algorithm to achieve both oracle efficiency and theoretical optimality for these massive policy classes.

The Challenge of Nonparametric Contextual Bandits

Most CB algorithms are designed for classes with finite VC-dimension. However, nonparametric classes often have infinite VC-dimension, making them too complex for standard tools like Epoch-greedy. Previous approaches for these classes were either computationally intractable (requiring exhaustive searches over infinite spaces) or achieved suboptimal regret, where the difference between the algorithm's performance and the optimal policy grows too quickly over time.

The GPE Algorithm

Generalized Policy Elimination (GPE) adapts the classic Policy Elimination framework to handle the entropy (complexity) of nonparametric spaces.

Key Innovations

  • Pruning the Search Space: GPE maintains a candidate set of policies and uses a sophisticated statistical threshold to eliminate those that are demonstrably suboptimal.
  • Smart Exploration: Instead of simple random exploration, GPE solves a feasibility problem to find an exploration policy that minimizes the variance of reward estimates.
  • Oracle Efficiency: GPE reduces the bandit problem into a series of standard optimization problems (e.g., least-squares or cost-sensitive classification) that can be solved using existing efficient software.
  • Mathematical Foundation: The authors developed a new maximal inequality for martingale processes, ensuring the algorithm does not prematurely eliminate the optimal policy in complex spaces.

Theoretical Performance and Regret Bounds

The performance of GPE is tied to the "entropy" of the policy class, characterized by an exponent $p$.

Regret exponent $f(p)$ as a function of entropy exponent $p$. GPE achieves the optimal exponent of 0.5 for integrable entropy ($p < 1$).

As shown in the figure above, GPE exhibits distinct behaviors based on the complexity of the policy class:

  • Integrable Entropy ($p < 1$): GPE achieves the gold-standard regret bound of $O(\sqrt{t})$, matching the performance of "full information" settings. This is the first such result for an efficient algorithm in this regime.
  • High Complexity ($p > 1$): For more complex classes, the algorithm achieves a regret of $O(t^{\frac{p-1/2}{p}})$, matching the theoretical lower bounds for these problems.
  • Computational Efficiency: The exploration policy search is performed in $O((Kt)^2 \log t)$ calls to optimization oracles, confirming its practical feasibility.

Conclusion and Future Work

GPE bridges the gap between theory and practice for nonparametric contextual bandits. While the algorithm is "unforgiving" (once a policy is eliminated, it cannot return) and requires pre-specified confidence parameters, it represents a major step forward. Future research may focus on extending these techniques to even higher entropy classes and further optimizing the $O(t^2)$ computational complexity for large-scale real-time systems.

Summary updated

BibTeX
@inproceedings{bibaut2020generalized,
  author = {Aurélien F. Bibaut and Antoine Chambaz and Mark J. van der Laan},
  title = {{Generalized Policy Elimination: an efficient algorithm for Nonparametric Contextual Bandits}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2020},
  url = {https://openreview.net/forum?id=qbcA1hf4MgZ},
}
Figure