Upper Counterfactual Confidence Bounds: a New Optimism Principle for Contextual Bandits
Yunbei Xu, Assaf Zeevi
TL;DR
This work introduces Upper Counterfactual Confidence Bounds (UCCB), a principled optimistic framework for contextual bandits with general function classes and large context spaces, using confidence bounds in policy space rather than action space. It presents two equivalent viewpoints—implicit policy-space UCB and explicit counterfactual-action bounds—and a practical algorithm with a regret of $\tilde{O}(\sqrt{KT\log|\mathcal{F}|})$ under realizability with an offline regression oracle. The authors develop a contextual potential function perspective and relaxation techniques to enable efficient computation, and extend the approach to infinite-action settings via counterfactual action divergence and average decision entropy, yielding first offline-regression-oracle solutions for several infinite-action models. They illustrate the framework across finite-action, infinite-action, and heterogeneous-action examples, including linear and generalized linear action models, and show how to generalize FALCON through optimistic subroutines. The work has potential implications for scalable, optimization-friendly reinforcement learning with rich function approximators and large or continuous action spaces.
Abstract
The principle of optimism in the face of uncertainty is one of the most widely used and successful ideas in multi-armed bandits and reinforcement learning. However, existing optimistic algorithms (primarily UCB and its variants) often struggle to deal with general function classes and large context spaces. In this paper, we study general contextual bandits with an offline regression oracle and propose a simple, generic principle to design optimistic algorithms, dubbed "Upper Counterfactual Confidence Bounds" (UCCB). The key innovation of UCCB is building confidence bounds in policy space, rather than in action space as is done in UCB. We demonstrate that these algorithms are provably optimal and computationally efficient in handling general function classes and large context spaces. Furthermore, we illustrate that the UCCB principle can be seamlessly extended to infinite-action general contextual bandits, provide the first solutions to these settings when employing an offline regression oracle.
