TL;DR
ARMOR is a novel model-based offline reinforcement learning framework that guarantees a learned policy will never perform worse than an arbitrary baseline reference policy, regardless of data coverage or hyperparameter choices. By formulating offline RL as an adversarial two-player game with a single world model, it eliminates the need for expensive model ensembles while achieving state-of-the-art performance on challenging benchmarks.
What Problem Does This Paper Address?
Offline reinforcement learning (RL) holds massive promise: it allows agents to learn effective decision-making policies entirely from pre-recorded datasets, avoiding the cost and safety risks of real-world exploration. To handle gaps in the data, standard offline RL algorithms use the principle of pessimism, penalizing actions that aren't well-represented in the dataset.
However, a major barrier to deploying offline RL in the real world is the risk of performance degradation. In practice, companies and researchers usually have an existing baseline system—a "reference policy" like a hand-engineered heuristic or an autonomous driving rule—that they want to improve. If an offline RL algorithm is tuned incorrectly, it can easily output a policy that performs worse than this existing baseline. While some existing algorithms offer "safe policy improvement" guarantees, these guarantees only apply to the behavior policy (the policy that originally collected the data), not to an arbitrary reference policy that might take actions completely missing from the dataset.
Methods
The authors introduce ARMOR (Adversarial Model for Offline Reinforcement Learning), which solves this issue using the concept of relative pessimism. Instead of optimizing for the absolute worst-case outcome, ARMOR optimizes for the worst-case performance relative to the reference policy ($\pi_{ref}$).
ARMOR formulates offline RL as a zero-sum, two-player game between:
- The Learner Policy ($\pi$): Tries to maximize the performance difference between itself and the reference policy.
- The Adversary MDP Model ($M$): Tries to choose a data-consistent environment model that minimizes the learner's advantage (making the reference policy look as good as possible).
For its practical implementation, ARMOR uses a scalable model-based actor-critic approach. Crucially, unlike traditional model-based offline RL methods that rely on large, computationally expensive ensembles of neural networks to quantify uncertainty, ARMOR uses only a single world model trained adversarially against the policy and critic. To handle reference policies that take out-of-distribution actions, the authors implement a residual policy architecture, where the learner outputs an additive correction to the reference policy's actions.
Datasets
The authors evaluated ARMOR on the standard D4RL benchmark, which includes:
- MuJoCo Locomotion Tasks:
hopper,walker2d, andhalfcheetahacross various data quality levels (medium,medium-replay,medium-expert). - Adroit Hand Manipulation Tasks: High-dimensional robotic tasks (
pen,hammer,door,relocate) usinghuman,cloned, andexpertdatasets.
Key Insights and Ideas
- Adversarial Data Augmentation: Why does ARMOR work even when the reference policy takes actions not covered by the dataset? In the two-player game, the adversary intentionally constructs a model where the reference policy excels outside the data support. To remain competitive, the learner is forced to mimic the reference policy in those unknown regions, naturally preventing performance degradation.
- Ensembles are Optional: Traditional wisdom dictates that model-based offline RL requires ensembles to penalize out-of-distribution states. ARMOR proves that a single world model, if trained adversarially to minimize relative performance, is sufficient. This opens the door to using high-capacity, expensive world models (like DreamerV3) in offline RL.
- Return vs. Regret Divergence: The paper highlights a fundamental truth of offline RL: maximizing worst-case return and minimizing worst-case regret are not equivalent due to unresolvable model uncertainty. The reference policy in ARMOR acts as a tool for the user to explicitly define the learning objective.
Key Results
- Robust Policy Improvement (RPI): Across 14 different dataset/reference combinations, ARMOR never degraded the performance of the reference policy, demonstrating extreme robustness to the pessimism hyperparameter ($\beta$).
- Outperforming the Baseline: In 5 out of 14 datasets, ARMOR strictly and significantly improved upon the near-expert reference policy.
- State-of-the-Art Competitiveness: When evaluated as a standard offline RL algorithm (setting the reference policy to the data-collection policy), ARMOR outperformed or matched top-tier model-free (CQL, IQL, ATAC) and model-based (MOPO, RAMBO) baselines, showing particularly massive gains in the
walker2d-medandwalker2d-med-exptasks. - Adroit Success: ARMOR is the first purely model-based offline RL algorithm to show competitive performance on the high-dimensional Adroit environments.
Limitations and Future Work
While ARMOR provides a robust guarantee for the pessimism hyperparameter, other hyperparameters still require manual tuning. Additionally, solving the non-convex minimax optimization game can be challenging; if the neural network adversary is too weak to solve the inner minimization, the Robust Policy Improvement property can break down. Finally, because it requires simulating transitions through model rollouts, ARMOR has a slightly slower runtime than purely model-free alternatives.
Summary updated