Abstract
We study the offline policy learning problem in a contextual framework. Specifically, we focus on the issue of overfitting which is especially important in a modern context where we often use overparameterized models that can interpolate the data. Our first contribution is to introduce a regret decomposition into approximation, estimation, and errors that emphasizes the distinction between the policy learning and supervised learning problems. The error measures the error from overfitting to the single action observed at each context, which we call bandit overfitting. Our second contribution is to show both in theory and experiments how overfitting is different for policy-based versus value-based algorithms when we use overparameterized models. We find that overfitting can become a severe problem for policy-based algorithms, but value-based algorithms effectively reduce the policy learning problem to regression and thus avoid the worst problems of overfitting.
Introduction
In the era of deep learning, overparameterized models—neural networks with enough capacity to perfectly interpolate training data—have become the standard. While this capacity is a boon for supervised tasks like image recognition, recent research by Brandfonbrener et al. demonstrates that it introduces a significant vulnerability in offline policy learning: a phenomenon they term "bandit overfitting."
The Challenge of Offline Policy Learning
Offline policy learning involves training an agent on a fixed dataset of historical decisions, known as a "behavior policy." Unlike standard supervised learning, we only observe the reward for the action actually taken, leaving the "counterfactual" rewards for alternative actions unknown.
When using flexible models that can interpolate, a strange behavior emerges: the agent may achieve a perfect training score by simply assigning a probability of 1.0 to any action that yielded a positive reward in the logs. This leads to "behavioral cloning"—where the model mimics the behavior policy—rather than finding an optimal strategy based on underlying reward dynamics.
Methodology: Regret Decomposition and Bandit Error
The authors propose a novel regret decomposition that separates error into three distinct components:
- Approximation Error: The fundamental limits of the chosen model class.
- Estimation Error: Noise resulting from finite data samples.
- Bandit Error: Error specifically arising from the partial observability of rewards (only seeing the behavior policy's chosen actions).
Theoretical analysis reveals that any model capable of interpolating data (such as large ReLU networks or 1-Nearest Neighbor models) will suffer from persistent bandit error in policy optimization, even as data volume increases.
Key Insights: The "Cloning" Trap
The core issue lies in the normalization constraint inherent to policy-based methods. Because action probabilities must sum to one, the model is forced into a "competition" between actions at every context point. If rewards are positive, the optimizer pushes the probability of the observed action toward 1.0, effectively turning the policy into a behavioral cloner.
In contrast, value-based methods (like Q-learning) predict rewards for each action independently. By treating the problem as a regression task without the normalization constraint, they avoid this forced competition and benefit from the "benign overfitting" properties observed in modern deep learning theory.
Experimental Results
The researchers validated their findings across several environments, including a toy 1D problem, a Bandit version of the CIFAR-10 image dataset, and the World3 simulator.
On the CIFAR-10 task, Value-based learning achieved a regret of 0.080, vastly outperforming vanilla PO (0.846). Even with a carefully tuned baseline, PO only reached 0.095. In the World3 simulator, the authors observed a clear signature of bandit overfitting: as the model's estimated value increased during training, its true test performance actually declined.
Discussion and Limitations
While value-based methods show superior robustness to bandit overfitting, several challenges remain. The current analysis assumes "strict positivity" (the behavior policy must have a non-zero chance of taking every action) and focuses on one-step contextual bandits. Extending these insights to multi-step reinforcement learning and addressing the "common support" problem—where some actions are never observed—are critical next steps for making offline learning more reliable in practice.
Summary updated