Introduction
Offline Reinforcement Learning (RL) presents a unique challenge: an agent must learn an optimal policy from a static, pre-collected dataset without any further environment interaction. The primary obstacle in this setting is distributional shift. When an agent evaluates actions outside the training distribution, it often overestimates their value—a phenomenon known as "hallucination"—leading to catastrophic failure during deployment.
To mitigate this, researchers typically employ regularization to keep the learned policy close to the data-generating behavior. While standard methods use $f$-divergences like KL divergence, these metrics ignore the underlying geometry of the action space and can become mathematically unstable. The Wasserstein distance offers a geometrically aware alternative but traditionally requires adversarial training (similar to GANs), which is notoriously difficult to stabilize in RL contexts.
The Q-DOT Framework
This paper introduces Q-DOT (Q-learning regularized by Direct Optimal Transport modeling), a novel algorithm that leverages the benefits of Wasserstein regularization while bypassing the instabilities of adversarial training.
Direct Optimal Transport Modeling
Q-DOT's core innovation lies in its use of Brenier’s Theorem, which states that the optimal transport map between two distributions is the gradient of a convex function. By utilizing Input-Convex Neural Networks (ICNNs), the authors can directly model this transport map. This approach transforms the complex minimax problem of adversarial Wasserstein estimation into a stable, direct minimization problem. The Wasserstein distance is then simplified to the $L_2$ distance between the original dataset actions and the transformed actions produced by the ICNN.
Integration
Q-DOT integrates this transport-based regularization with Implicit Q-Learning (IQL) for robust value estimation and Advantage Weighted Regression (AWR) for policy extraction. This combination ensures that the agent stays grounded in the data while effectively pursuing high-reward behaviors.
Experimental Evaluation
The researchers evaluated Q-DOT on the D4RL benchmark, covering a variety of challenging domains:
- Locomotion: Simulated robotic tasks (HalfCheetah, Hopper, Walker2d).
- Antmaze: Navigation tasks requiring the "stitching" of trajectories to reach a goal.
- Adroit Kitchen: Complex robotic manipulation tasks involving multi-step sequences.
Results and Analysis
Q-DOT demonstrates state-of-the-art performance across several benchmarks, particularly in environments where precise action regularization is critical.
Key Findings
- Stability and Robustness: Unlike adversarial Wasserstein methods (e.g., AdvW in Table 1), which often fail to converge, Q-DOT remains stable across all tested tasks due to its discriminator-free optimization.
- Selective Regularization: Analysis of the transport maps reveals that Q-DOT primarily modifies "low-quality" trajectories. High-reward trajectories require very little transport distance, meaning the algorithm naturally prioritizes staying close to the most successful behaviors in the dataset.
- Geometric Awareness: By accounting for the distance between actions rather than just density ratios, Q-DOT effectively generalizes to "near-data" actions that are likely to be safe and high-performing.
Conclusion and Future Work
Q-DOT provides a stable and effective method for incorporating Wasserstein regularization into offline RL. By replacing adversarial training with direct optimal transport modeling via ICNNs, it achieves superior performance on complex robotic tasks. While the method excels at regularization, future work may explore how to better integrate these transport maps into tasks requiring complex logical stitching, such as large-scale maze navigation. Additionally, the ICNN-based transport approach holds promise for broader applications in domain adaptation and multi-agent reinforcement learning.
Summary updated