Abstract
Contextual bandit learning is a reinforcement learning problem where the learner repeatedly receives a set of features (context), takes an action and receives a reward based on the action and context. We consider this problem under a realizability assumption: there exists a function in a (known) function class, always capable of predicting the expected reward, given the action and context. Under this assumption, we show three things. We present a new algorithm—Regressor Elimination—with a regret similar to the agnostic setting (i.e. in the absence of realizability assumption). We prove a new lower bound showing no algorithm can achieve superior performance in the worst case even with the realizability assumption. However, we do show that for any set of policies (mapping contexts to actions), there is a distribution over rewards (given context) such that our new algorithm has constant regret unlike the previous approaches.
Introduction
In the contextual bandit framework, a learner must make sequential decisions based on side information, known as context. For each context, the learner selects an action and observes a reward associated only with that specific action. The objective is to minimize cumulative regret—the difference between the total reward obtained by the learner and the reward that would have been obtained by the best fixed policy in a given class.
A central question in this field is whether the "realizability assumption"—the guarantee that the true reward function resides within the learner's hypothesis class—can significantly accelerate learning. While specific cases like linear bandits benefit from this assumption, it has remained unclear if realizability offers a general advantage over "agnostic" settings where the model might be misspecified. This paper investigates this gap, introducing a new algorithmic framework and establishing fundamental limits on what realizability can achieve.
The Regressor Elimination (RE) Algorithm
To address the contextual bandit problem under realizability, we introduce Regressor Elimination (RE). Unlike traditional "Policy Elimination" algorithms that discard entire decision-making strategies, RE focuses on the underlying reward predictors (regressors).
The algorithm proceeds in discrete rounds, utilizing three primary components:
- Exploration via Optimization: In each round, the algorithm solves a convex optimization problem to determine a distribution over actions. This distribution is designed to ensure sufficient exploration to distinguish between the remaining candidate regressors in the hypothesis set.
- Action Selection: The learner samples an action according to the calculated distribution and observes the resulting reward.
- Aggressive Elimination: RE maintains a set of active regressors. After observing a reward, it evaluates the squared error for all candidates. Because of the realizability assumption, the algorithm can employ a much stricter elimination threshold—specifically $O(1/t)$—compared to the more conservative thresholds required in agnostic settings. Any regressor failing this threshold is permanently removed.
This aggressive pruning is the technical engine of the algorithm, allowing it to narrow down the true reward function more rapidly than methods that do not assume a "perfect" model exists in the class.
Theoretical Analysis: The $\sqrt{K}$ Barrier
One of the paper's most significant contributions is a proof that realizability is not a "silver bullet" for worst-case performance. In the agnostic setting, regret typically scales with $\sqrt{KT}$, where $K$ is the number of actions and $T$ is the number of rounds.
We establish a new lower bound showing that even with the realizability assumption, no algorithm can escape a dependence on $\sqrt{K}$ in the worst case. Specifically, the lower bound is $\Omega(\sqrt{KT \ln N / \ln K})$. This suggests that the efficiency seen in linear bandits is a result of the specific geometric properties of linear functions rather than a general consequence of having a correctly specified model.
On the upper bound side, Regressor Elimination achieves $O(\sqrt{KT \ln(NT/\delta)})$, which matches the performance of the best known agnostic algorithms. This confirms that RE is robust and performs optimally in the worst-case scenario.
Achieving Constant Regret
Despite the pessimistic worst-case bounds, the paper reveals a hidden advantage of the realizability assumption: the potential for constant regret.
We prove a "nontriviality" result: for any set of policies, there exists a specific representation (a set of regressors) such that Regressor Elimination achieves a regret of $O(\ln(N/\delta))$. Crucially, this regret does not grow with the number of rounds $T$ or the number of actions $K$. This implies that if a learner can identify or be provided with a "good" representation of the reward functions, they can achieve near-perfect performance almost immediately. This constant regret property is generally unattainable in agnostic settings, marking a clear theoretical benefit of the realizability assumption.
Conclusion and Future Work
This research clarifies the role of realizability in contextual bandits. While it does not lower the worst-case complexity barrier of $\sqrt{K}$, it enables algorithms like Regressor Elimination to exploit favorable reward structures to achieve constant regret.
Future work remains to address the computational overhead of the convex optimization step required for exploration. Additionally, extending these proofs from finite regressor sets to infinite or continuous classes—such as those represented by deep neural networks—will require new developments in martingale concentration inequalities. Finally, while we provide a path for handling unknown context distributions, further refinement is needed to make these methods robust for real-world, large-scale applications.
Summary updated