Behavioral Priors and Dynamics Models: Improving Performance and Domain Transfer in Offline RL

Catherine Cang, Aravind Rajeswaran, Pieter Abbeel, Michael Laskin

Introduction

Offline Reinforcement Learning (RL) represents a significant frontier for real-world applications, such as robotics and industrial control, by enabling agents to learn from static, pre-collected datasets. This approach avoids the risks and costs associated with real-world trial-and-error. However, offline RL is plagued by distribution mismatch: when an agent attempts to improve its policy, it may select actions not present in the original dataset. Without a real environment to provide feedback, the agent often becomes over-optimistic about these out-of-distribution actions, leading to failure during deployment.

Traditional solutions rely on pessimism—either penalizing the agent for uncertainty in the dynamics model or forcing it to stay strictly within the data distribution. The authors argue that uncertainty estimation is notoriously difficult with deep neural networks, and excessive conservatism prevents the agent from achieving meaningful improvement.

The MABE Framework

The authors propose MABE (Offline Model-based RL with Adaptive Behavioral Priors), a framework that combines the predictive power of model-based RL with the safety of behavioral priors. MABE consists of three core components:

  1. Dynamics Model Learning: MABE learns a transition model ($\hat{T}$) and a reward function from offline data, creating a "synthetic simulator" for trajectory imagination.
  2. Adaptive Behavioral Priors: Unlike standard priors that treat all data equally, MABE utilizes an advantage-weighted prior. This prior emphasizes actions that led to higher rewards in the dataset, guiding the agent toward high-performing regions of the data distribution.
  3. Behavior Regularized Objective: While training in the synthetic simulator, the agent maximizes rewards while being constrained by a KL-divergence penalty that prevents the policy from drifting too far from the adaptive behavioral prior.
Comparison of standard offline RL (a) and the MABE framework (b).

Experimental Evaluation

MABE was evaluated on the D4RL (Datasets for Deep Data-Driven Reinforcement Learning) benchmark, focusing on locomotion tasks (HalfCheetah, Hopper, and Walker2d) across various dataset types (Medium, Mixed, and Medium-Expert). Additionally, the researchers designed a Cross-Domain Transfer task to test the framework's modularity: an agent had to learn to walk backward on grass using one dataset for dynamics (forward walking on grass) and another for the behavioral prior (backward walking on ice).

Key Insights and Results

The evaluation revealed that MABE significantly outperforms existing state-of-the-art algorithms. It achieved the top score in 7 out of 9 D4RL tasks studied, reaching an average normalized score of 77.5. This performance is substantially higher than popular baselines such as CQL (63.9) and MOPO (42.1).

MABE achieves the best score across more environments compared to other offline RL algorithms on the D4RL benchmark.

One of the most critical findings was the relative importance of behavioral priors over uncertainty estimation. Ablation studies showed that removing the uncertainty penalty resulted in only a 9% performance drop, whereas removing the behavioral prior led to a 41% decrease. This suggests that behavioral regularization is a more robust method for incorporating conservatism than traditional uncertainty-based penalties.

Furthermore, MABE demonstrated a unique "Lego-like" capability for modular RL. In cross-domain experiments, it was the only algorithm capable of zero-shot transfer, successfully combining physics from one environment with intent from another to solve tasks that existed in neither dataset alone.

Limitations and Future Work

While MABE shows great promise, it currently focuses on continuous control locomotion tasks. Future research is needed to determine how well the framework scales to high-dimensional visual inputs or discrete action spaces. Additionally, like all RL methods, MABE remains sensitive to reward function definitions and lacks inherent explainability, which is a hurdle for safety-critical deployments. The authors suggest extending MABE to language-based tasks and complex robotic manipulation in future iterations.

Summary updated

BibTeX
@inproceedings{cang2021behavioral,
  author = {Catherine Cang and Aravind Rajeswaran and Pieter Abbeel and Michael Laskin},
  title = {{Behavioral Priors and Dynamics Models: Improving Performance and Domain Transfer in Offline RL}},
  booktitle = {DeepRL @ NeurIPS},
  year = {2021},
  url = {https://openreview.net/forum?id=rOmMllKHNGD},
}
Figure