Abstract
Deep Reinforcement Learning (DRL) has demonstrated great potentials in solving sequential decision making problems in many applications. Despite its promising performance, practical gaps exist when applying DRL to real-world scenarios where online interaction is costly or dangerous. This paper introduces Pessimistic Model Selection (PMS), a framework designed to bridge the gap in offline model selection by leveraging statistical uncertainty to prevent over-fitting.
Introduction
In standard "online" reinforcement learning (RL), evaluating a policy is straightforward: one simply executes it in a simulator or the real environment. However, in Offline RL (OffRL), we are restricted to a fixed dataset of historical trajectories. This creates a massive hurdle for model selection. Without the ability to interact with the environment, how do you choose the best neural network architecture or hyperparameters when you have no ground truth to validate against?
Existing Off-Policy Evaluation (OPE) methods try to estimate a policy's value from static data, but they often suffer from high variance and a tendency to overestimate performance. If a researcher picks the model with the highest estimated value, they often fall into an "over-fitting trap"—selecting a model that looks excellent in evaluation but fails in reality because the estimate was overly optimistic.
The PMS Framework
The authors propose a "pessimistic" approach rooted in statistical rigor. The core algorithm, Pessimistic Model Selection (PMS), works through several key steps:
- Sequential Data Splitting: The offline dataset is divided into $O$ non-overlapping chunks.
- Iterative Training and Evaluation: The model is trained on one chunk and evaluated on the next using a Doubly Robust (DR) estimator. This process repeats across chunks to build a stable estimate of the policy's value.
- Uncertainty Quantification: Leveraging asymptotic analysis, the authors derive a way to calculate the variance of these estimates. This allows them to construct a confidence interval for each candidate model.
- The Pessimistic Rule: Instead of picking the model with the highest average estimate, PMS picks the model with the highest Lower Confidence Bound (LCB). In other words, it chooses the model whose "worst-case scenario" is better than all others.
Experimental Setup
The researchers evaluated PMS across six diverse Deep Q-Network (DQN) benchmark environments, including tabular learning (FrozenLake-v0), 3D navigation (Banana Collectors), classic Atari games (Pong, Breakout), and continuous control tasks (HalfCheetah, Walker2d).
They compared PMS against standard OPE methods like Weighted Importance Sampling (WIS), Approximate Model (AM), and Fitted Q Evaluation (FQE).
Key Results and Insights
PMS demonstrates that pessimism in offline settings is a feature, not a bug. By focusing on the lower bound of performance, PMS ensures that the selected model is "provably effective."
- Breaking the Over-fitting Cycle: Standard OPE methods often have a low correlation with the true value of a policy when used for selection. PMS significantly improves the Pearson correlation ($\rho$) between estimated and true values. As shown in the comparative analysis, PMS achieved $\rho = 0.895$, significantly outperforming the AM baseline ($\rho = 0.609$).
- Lower Regret: Across all environments, PMS-selected models showed significantly lower "regret" (the gap between the selected policy and the best possible policy in the candidate set) compared to baselines.
- Tuning-Free Flexibility: One of the biggest practical wins is that PMS is largely "tuning-free," requiring only two interpretable parameters: the number of data chunks ($O$) and the confidence level ($\alpha$).
Conclusion
PMS provides a theoretically grounded method for model selection in offline RL, effectively mitigating the risks of over-optimistic evaluation. While it involves higher computational costs due to iterative training, the resulting reliability and theoretical guarantees make it a powerful tool for real-world DRL applications. Future work will focus on extending these pessimistic bounds to Actor-Critic and Transformer-based architectures.
Summary updated