Introduction
Offline Reinforcement Learning (RL) presents a significant challenge: learning an optimal policy from a static dataset without the ability to interact with the environment. Model-based approaches address this by learning a "world model"—a predictive simulator—from the offline data. The agent is then trained using synthetic "rollouts" within this simulator.
However, these methods are plagued by extrapolation error. World models are inherently imperfect; if an agent identifies a region where the model incorrectly predicts high rewards, it will exploit this "bug," resulting in a policy that performs poorly in reality. Traditionally, researchers have mitigated this by manually tuning "rollout horizons"—limiting how far the agent can look ahead. MORAL (Model-based Offline Reinforcement learning with AdversariaL data augmentation) proposes a more robust solution: replacing manual tuning with an automated, adversarial sampling process.
Methodology: The Adversarial Game
MORAL frames data augmentation as a two-player adversarial game to generate pessimistic transitions, preventing the agent from exploiting model inaccuracies. This framework consists of three primary stages: dataset initialization, adversarial augmentation, and policy updates.
The Two-Player Framework
- Primary Player (Dynamics): Utilizing an ensemble of learned dynamics models, the primary player generates a set of $N'$ candidate next-state transitions. This ensures a diverse range of potential outcomes based on the current state and action.
- Secondary Player (Pessimistic Filter): The secondary player acts as an adversary by selecting the $k$-th minimum transition from the candidates. This forces the agent to account for "worst-case" scenarios, instilling conservatism in regions of high uncertainty.
Differential Factor (DF) Regularization
To further stabilize the learning process, MORAL integrates a "differential factor" penalty. This penalty is based on the maximum disagreement between models in the ensemble, ensuring the agent is more heavily penalized in states where the world models lack consensus. The algorithm alternates between optimizing this adversarial sampling strategy and updating the policy via an actor-critic framework, allowing the augmentation to adapt as the policy evolves.
Evaluation and Benchmarking
The researchers evaluated MORAL using the D4RL benchmark, focusing on MuJoCo locomotion tasks (HalfCheetah, Hopper, and Walker2d) across various data quality levels, from random noise to expert demonstrations.
Key Results and Stability
MORAL achieved an average normalized score of 86.3 across 15 D4RL tasks, surpassing the previous state-of-the-art model-based method, PMDB (83.5). The method proved particularly effective in "random" and "medium" datasets where model errors are most prevalent. For instance, in the Hopper-random task, MORAL scored 35.7, nearly 40% higher than competing methods.
As shown in the learning curves, MORAL reaches stable performance faster and with significantly less variance than adversarial competitors like RAMBO. This efficiency is partly due to its one-step sampling approach, which is more computationally lean than complex multi-step adversarial updates.
Conclusion
By replacing fixed rollout horizons with an adaptive adversarial process, MORAL eliminates a finicky hyperparameter and improves generalizability across diverse tasks. While challenges remain regarding generalization to completely out-of-distribution regions, MORAL represents a significant step forward in making model-based offline RL more robust and automated. Future work will explore extending this framework to model-free methods and incorporating hierarchical learning for long-horizon tasks.
Summary updated