Abstract
Offline Reinforcement Learning (RL) faces significant challenges due to value overestimation on out-of-distribution states. While Distribution Correction Estimation (DICE) methods theoretically provide robust state-action constraints, their practical performance has lagged behind simpler action-constrained algorithms. This paper identifies the "mystery" behind this gap: conflicting gradients between current and next-state updates lead to "catastrophic unlearning." We propose ODICE (Orthogonal-DICE), which projects the backward gradient onto the normal plane of the forward gradient. ODICE achieves state-of-the-art results on D4RL benchmarks and demonstrates superior robustness in complex navigation tasks.
Introduction: The DICE Mystery
In offline RL, agents must learn from static datasets without environment interaction. The primary hurdle is "value overestimation," where unseen actions are assigned erroneously high values. To combat this, researchers typically use action-level constraints. However, state-action-level constraints—offered by DICE methods—are theoretically superior as they account for the state distribution the agent visits.
Despite this promise, DICE methods often underperform. This paper reveals that the standard DICE update combines two potentially opposing signals: a forward gradient (on state $s$) and a backward gradient (on state $s'$). Because consecutive states in a trajectory are often highly correlated, these gradients can cancel each other out, preventing the value function from converging to a useful representation.
Methods: Orthogonal-Gradient Update
The core innovation of ODICE is the decoupling of these conflicting signals. The forward gradient acts as an action-level constraint, identifying high-reward actions within the data. The backward gradient provides the necessary state-level regularization.
Instead of a simple summation, ODICE projects the backward gradient onto the normal plane of the forward gradient. This ensures the updates are orthogonal (90-degree angle). Consequently, the backward update can provide regularization without interfering with the forward gradient's progress in action selection. This approach mitigates "feature co-adaptation," where neural networks fail to distinguish between similar states, leading to more robust value functions.
Key Results and Robustness
ODICE was evaluated on the D4RL benchmarks, including MuJoCo locomotion and AntMaze navigation tasks. It achieved state-of-the-art performance in 13 out of 15 tasks, outperforming both previous DICE variants and top-tier methods like CQL and IQL.
A standout result was in the AntMaze tasks, which require "stitching" together disparate trajectory segments. ODICE's high-quality value function allowed it to excel where other methods struggled. Furthermore, in Offline Imitation Learning with limited expert data, ODICE consistently outperformed baselines like ValueDICE.
Discussion and Future Work
By resolving the gradient conflict inherent in DICE, ODICE bridges the gap between theoretical potential and practical performance in offline RL. The method's robustness to out-of-distribution states makes it a reliable choice for real-world applications where data is limited.
Future research could explore extending orthogonal-gradient updates to Online RL to improve training stability. Additionally, addressing the "double sampling" issue in highly stochastic environments remains an open theoretical challenge for methods involving backward gradients.
Summary updated