Presented at NeurIPS 2023, ARMOR (Adversarial Model for Offline Reinforcement Learning) introduces a framework designed to make offline reinforcement learning (RL) safer and more practical for real-world deployment. By utilizing a principle of "relative pessimism," ARMOR ensures that a learned policy will not perform worse than a pre-defined reference baseline, even when the data coverage is limited.
Introduction
Offline RL enables the training of agents using logged datasets without requiring further interaction with the environment. This is critical for domains like healthcare, robotics, and industrial control, where exploration is expensive or dangerous. However, the primary challenge in this field is distribution shift: when a learned policy selects an action not well-represented in the training data, the outcome becomes highly uncertain.
Standard offline RL algorithms typically address this through absolute pessimism, assuming the worst possible outcomes for unknown actions. While this prevents the agent from taking dangerous, unknown actions, it often fails to guarantee that the new policy will actually outperform an existing baseline—especially if that baseline itself ventures into regions of the state space where data is sparse.
The Problem: Performance Degradation
Most existing algorithms measure success by comparing their performance against the "behavior policy" (the policy that originally collected the data). In industrial applications, however, practitioners often have a "reference policy"—such as a hand-coded heuristic or an existing autonomous system—that they wish to improve.
If a reference policy takes actions the dataset hasn't seen, standard pessimistic algorithms might produce a policy that is significantly worse than that baseline. ARMOR was developed to provide Robust Policy Improvement (RPI): a theoretical and practical guarantee that the learner will perform at least as well as the reference policy, regardless of data coverage.
The ARMOR Framework
ARMOR approaches offline RL as a two-player minimax game centered on the concept of relative pessimism.
1. The Adversarial Model
Instead of learning a single "best-fit" model or a computationally expensive ensemble of models, ARMOR trains a Markov Decision Process (MDP) model to act as an adversary. This adversary searches within a "version space" (a set of models consistent with the observed data) to find a model that makes the reference policy look as favorable as possible relative to the learner.
2. The Learner
The policy player (the learner) then attempts to maximize its performance relative to the reference policy under this adversarial model.
3. Relative vs. Absolute Pessimism
While standard methods minimize the predicted return (absolute pessimism), ARMOR minimizes the difference in performance between the learner and the reference. This ensures that if the data is insufficient to prove the learner is superior, the algorithm naturally defaults to mimicking the reference policy. This "safety via mimicry" allows the agent to remain robust in high-uncertainty regions.
4. Scalable Implementation
To ensure compatibility with deep learning, the authors implemented ARMOR using a model-based actor-critic approach. A significant advantage of this adversarial training is that it allows the use of a single neural network model. This is a major departure from previous state-of-the-art model-based methods like MOPO or MoREL, which often require ensembles of 10 or more models to estimate uncertainty.
Experimental Evaluation
The authors evaluated ARMOR on the D4RL benchmark, the industry standard for offline RL, focusing on two main categories:
- Locomotion Tasks: Hopper, Walker2d, and HalfCheetah across various data quality levels (medium, replay, and expert).
- Adroit Tasks: High-dimensional robotic manipulation tasks (Pen, Hammer, Door, Relocate). These are notoriously difficult because the data distributions are extremely narrow.
Key Results
- State-of-the-Art Performance: ARMOR matched or exceeded the performance of top-tier model-free (CQL, IQL, ATAC) and model-based (RAMBO, COMBO) algorithms.
- Success on Adroit: ARMOR showed significant gains in the difficult "Hammer," "Door," and "Relocate" tasks, where many previous algorithms failed to show any progress over the baseline.
- Hyperparameter Robustness: Empirical tests demonstrated that ARMOR consistently improved upon the reference policy across a wide range of pessimism hyperparameters (β). Even when the reference policy was near-expert level, ARMOR rarely degraded performance.
Insights and Future Directions
ARMOR’s primary contribution is the shift from return maximization to regret minimization relative to a baseline. This allows designers to communicate specific learning goals (e.g., "be better than this specific heuristic") rather than just "be as good as possible."
While the minimax game is non-convex and requires careful optimization, the removal of model ensembles makes ARMOR more compatible with high-capacity "world models" (like DreamerV3). Future work may involve integrating ARMOR with these large-scale models to tackle complex, vision-based offline RL challenges in even more demanding environments.
Summary updated