Abstract
In reinforcement learning (RL) research, it is common to assume access to direct online interactions with the environment. However in many real-world applications, access to the environment is limited to a fixed offline dataset of logged experience. In such settings, standard RL algorithms have been shown to diverge or otherwise yield poor performance. Accordingly, recent work has suggested a number of remedies to these issues. In this work, we introduce a general framework, behavior regularized actor critic (BRAC), to empirically evaluate recently proposed methods as well as a number of simple baselines across a variety of offline continuous control tasks. Surprisingly, we find that many of the technical complexities introduced in recent methods are unnecessary to achieve strong performance. Additional ablations provide insights into which design choices matter most in the offline RL setting.
Introduction
Standard reinforcement learning (RL) relies on an agent's ability to learn through active exploration. However, in high-stakes domains like healthcare or autonomous driving, online exploration is often impractical or dangerous. Offline RL (or Batch RL) addresses this by learning policies from fixed, pre-collected datasets. The primary obstacle in this setting is distribution shift: agents may overestimate the value of actions not present in the training data, leading to "hallucinated" performance and eventual failure. While many complex solutions have been proposed, identifying the specific mechanisms that drive success has remained difficult.
The BRAC Framework
To systematically evaluate offline RL strategies, we introduce the Behavior Regularized Actor Critic (BRAC) framework. BRAC decomposes offline RL algorithms into modular components, allowing for a controlled comparison of design choices:
- Regularization Target: Penalizing the value function (Value Penalty) versus penalizing the policy optimization step (Policy Regularization).
- Divergence Measures: Evaluating different ways to measure the distance between the learned policy and the behavior policy, including Kullback-Leibler (KL) divergence, Maximum Mean Discrepancy (MMD), and Wasserstein distance.
- Q-Ensemble Strategies: Comparing standard target value estimation (e.g., minimum of two Q-networks) against more complex ensembles.
- Regularization Weighting: Comparing fixed regularization weights ($\alpha$) against adaptive weights tuned via dual-gradient ascent.
Experimental Setup
We evaluated BRAC across four MuJoCo continuous control environments: Ant, HalfCheetah, Hopper, and Walker2d. To test robustness, we generated five dataset types for each environment, ranging from "no-noise" data from mediocre policies to datasets heavily corrupted by Gaussian or epsilon-greedy noise.
Key Findings
Our empirical evaluation yielded several surprising insights that challenge the necessity of complex algorithmic additions:
- Fixed Regularization Outperforms Adaptive Tuning: Contrary to expectations, using a fixed regularization weight ($\alpha$) consistently yielded better results than adaptive methods used in previous state-of-the-art algorithms like BEAR.
- Value Penalty is More Robust: Incorporating the behavior penalty directly into the Q-function (Value Penalty) generally provided more stable and higher-performing policies than applying it only during policy updates.
- Divergence Choice is Secondary: The specific choice of divergence measure (KL, MMD, or Wasserstein) had less impact on performance than the careful tuning of hyperparameters for that measure.
Results and Comparison
Simplified variants of BRAC, particularly those using KL divergence with a value penalty (kl_vp), matched or exceeded the performance of established SOTA methods like BCQ and BEAR. For instance, in the Ant-v2 environment, the MMD_vp variant achieved a score of 2839, significantly outperforming BEAR (2100) and BCQ (1921). These results suggest that many technical complexities in recent literature may be unnecessary.
Conclusion and Future Work
While BRAC simplifies the offline RL landscape, hyperparameter sensitivity remains a significant challenge. Performance is highly dependent on the choice of learning rate and regularization strength. In a purely offline setting, selecting these parameters is difficult because internal Q-values are often poor predictors of true performance. Future research must focus on reliable Off-Policy Evaluation (OPE) to enable the deployment of these models in real-world scenarios where environment interaction is impossible.
Summary updated