In the world of offline reinforcement learning (RL), we lack the luxury of a simulator to test every new idea; instead, we must learn from logged data. To decide which learned policy is actually effective, researchers rely on Off-Policy Evaluation (OPE). However, OPE methods have their own hyperparameters and configuration "knobs." If we use OPE to select a policy, how do we select the best OPE method?
This paper tackles this "chicken-and-egg" problem by introducing LSTD-Tournament, a hyperparameter-free algorithm for selecting the best value function or dynamics model to evaluate an offline RL policy. Alongside this algorithm, the authors introduce a more stable experimental protocol that uses "lazy" Monte-Carlo rollouts to generate candidate models, demonstrating that their model-free selector is surprisingly robust and often outperforms complex model-based alternatives.
The Challenge of OPE Model Selection
In supervised learning, hyperparameter tuning is straightforward using a holdout validation set. In offline RL, this is notoriously difficult. We use OPE to estimate the return of a target policy using data collected from a different behavior policy. Unfortunately, popular OPE methods like Fitted-Q Evaluation (FQE) are highly sensitive to neural network architectures and learning rates.
This creates a meta-selection problem: Model Selection for OPE. Given a pool of candidate value functions (model-free) or dynamics models (model-based), we must pick the one that most accurately reflects the target policy's performance. Existing selectors often struggle with the "double sampling" problem—a technical hurdle where squaring the Bellman error leads to biased estimates in stochastic environments—or they introduce even more hyperparameters, restarting the tuning cycle.
Proposed Methods and a New Experimental Protocol
The authors propose several new selectors, focusing primarily on the model-free setting, and introduce a novel way to evaluate them.
- LSTD-Tournament: This model-free selector evaluates candidate value functions by checking how well they satisfy the Bellman equation. To bypass the double sampling problem without needing extra function approximation, it uses a pairwise comparison inspired by Least-Squares Temporal Difference (LSTD). It achieves a statistical convergence rate of $n^{-1/2}$, a significant improvement over the $n^{-1/4}$ rate of previous state-of-the-art methods like BVFT.
- Model-Based Selectors: The authors also developed regression-based and "sign-flip" selectors that leverage additional information from dynamics models.
- A New Experimental Protocol: Traditionally, researchers used FQE to generate candidate models for testing selectors, but FQE is notoriously unstable. The authors propose varying environment parameters (like gravity or noise) to create a "grid" of candidate models. They then use lazy evaluation—Monte-Carlo rollouts from the ground-truth simulator—to compute the exact Q-values for these variations, providing a stable and controllable benchmark.
Experimental Setup: Gym-Hopper Grids
The researchers instantiated their protocol using Gym-Hopper (Hopper-v4). They created two primary testbeds to simulate "inaccurate" models in a highly controllable way, avoiding the randomness of simply training neural networks with different seeds:
- MF.G (Gravity Grid): 15 environments with gravity constants ranging from -51 to -9.
- MF.N (Noise Grid): 15 environments with varying levels of stochastic transition noise.
Key Insights and Results
- The Robustness of Model-Free Selection: One of the most surprising findings was that the model-free LSTD-Tournament often outperformed more "sophisticated" model-based selectors, despite the latter having access to more information. This suggests that simpler, Bellman-consistency-based checks are more robust to environment shifts.
- Superior Convergence and Stability: LSTD-Tournament demonstrated a clear advantage in statistical efficiency, matching its theoretical $n^{-1/2}$ rate. In the Gym-Hopper experiments, it consistently stayed near the top of the leaderboard across different gravity and noise settings.
- The "Naive" Trap: The paper highlights why "naive" model-based selection (picking the model with the lowest next-state prediction error) is dangerous. In stochastic environments, these naive methods are biased toward deterministic models, leading to catastrophic evaluation failures. LSTD-Tournament successfully avoided these failure modes.
- Bypassing Double Sampling: By framing the selection as a tournament and using the LSTD closed-form matrix approach, the authors successfully measured Bellman violations rigorously without needing to tune a "helper" function class.
Limitations and Future Work
The authors acknowledge that while their experimental protocol is highly stable, it relies on "structured" errors (like shifting gravity). These might differ from the "unstructured" errors typically produced by actual neural network training. Future work could involve generating more complex, state-dependent error patterns to further validate the selectors.
Additionally, the theoretical guarantees for LSTD-Tournament rely on a "coverage" assumption ($\sigma_{min}(A)$) that is standard in the literature but still poorly understood in off-policy settings. Exploring instrumental variable regression could be a promising path to further strengthen the theoretical foundations of OPE model selection.
Summary updated