The Challenge of Offline Policy Evaluation
In reinforcement learning (RL), Offline Policy Evaluation (OPE) is the critical task of estimating how well a target policy will perform using only a static, pre-collected dataset. This process is notoriously difficult due to the "deadly triad": the combination of off-policy updates, function approximation, and bootstrapping. When these three elements interact, value function learning often becomes unstable or diverges entirely.
While previous research has primarily focused on regularizing the weights of neural networks to prevent this divergence, this paper argues that the root of the problem often lies in the representations (or features) of state-action pairs. If the learned features do not respect the underlying dynamics of the environment, the value function learner is essentially trying to solve an impossible puzzle. To address this, the authors propose explicitly shaping these representations to guarantee stability.
Introducing KROPE: Kernel Representations for OPE
The authors introduce KROPE (Kernel Representations for Offline Policy Evaluation), a novel representation learning algorithm designed to stabilize OPE. The core idea is to learn an encoder, $\phi$, such that the similarity between two state-action pairs—measured by their dot product—matches a $\pi$-bisimulation kernel.
Key Innovations
- Bisimulation-based Kernel: KROPE forces state-action pairs to have similar representations if they yield similar immediate rewards and lead to similar future state-action pairs under the target policy. By grouping state-action pairs with similar long-term outcomes, it creates a "smooth" landscape for the value function to converge.
- Theoretical Stability: The authors mathematically prove that KROPE representations are stable for Least-Squares Policy Evaluation (LSPE). Specifically, they show that the spectral radius of the LSPE update operator remains less than 1, which theoretically prevents the value function from blowing up.
- Bellman Completeness: KROPE induces a representation space that is "Bellman complete." This means that applying the Bellman operator to a function within this space results in a function that remains within the space—a crucial property for accurate and efficient learning.
- Auxiliary Task Integration: In practice, KROPE is implemented as an auxiliary loss function alongside standard Fitted Q-Evaluation (FQE). This dual approach helps the network learn "value-friendly" features while still optimizing for the specific evaluation task.
Experimental Validation
The authors evaluated KROPE across three distinct types of environments to test its robustness and accuracy:
- Garnet MDPs: Small, synthetic tabular Markov Decision Processes used to analyze fundamental properties like spectral radius, orthogonality, and realizability.
- DeepMind Control (DMC) Suite: Continuous control tasks including CartPoleSwingUp, CheetahRun, FingerEasy, and WalkerStand.
- D4RL Benchmarks: A standard offline RL suite, specifically focusing on the Cheetah, Hopper, and Walker datasets.
Key Results
KROPE demonstrated remarkable robustness compared to traditional regularization methods. Unlike baselines such as DR3 or BCRL that require delicate hyperparameter tuning, KROPE reliably produced accurate estimates across a wide range of settings.
- Superior Stability: In the Garnet MDP experiments, KROPE maintained 100% stability (a spectral radius strictly less than 1) even as the latent dimension increased. In contrast, standard FQE and other baselines quickly became unstable.
- Lower Error: KROPE achieved the lowest Mean Squared Value Error (MSVE) on 10 out of 13 benchmark datasets, frequently outperforming the previous state-of-the-art bisimulation method, ROPE.
- Hyperparameter Insensitivity: Performance profiles revealed that KROPE maintains high accuracy across nearly all hyperparameter configurations, whereas baselines exhibited high variance and frequent divergence.
The authors suggest that learning the representation via KROPE might actually be an easier learning task than learning the value function itself. KROPE's divergence depends on sampling "bad" pairs of transitions, which is statistically less likely than sampling a single "bad" transition that causes standard TD-learning to diverge.
Limitations and Future Directions
While highly effective, KROPE is still a semi-gradient method. Because it lacks a global objective function, it could theoretically still diverge in extreme deep-learning scenarios, although this was rare in empirical tests. Additionally, the theoretical distance bound in KROPE includes an additive constant due to how next-state distributions are coupled; eliminating this constant could further improve accuracy.
A promising future direction is to combine KROPE with minimax optimization techniques (such as Legendre-Fenchel transforms) to create a version of the algorithm with a true objective function and guaranteed, provable convergence.
Summary updated