Abstract
Offline Reinforcement Learning (RL) faces a fundamental challenge: balancing the need to stay within the distribution of the provided dataset while attempting to surpass the performance of the behavior policy. Traditional methods often suffer from "unnecessary conservativeness," where the agent is forced to mimic suboptimal or noisy actions. This paper introduces Adaptive Advantage-Guided Policy Regularization (A2PR), a framework that utilizes an advantage-weighted Variational Autoencoder (VAE) to selectively regularize the policy toward high-advantage actions. By treating the dataset as a filtered set of opportunities rather than a strict script, A2PR achieves state-of-the-art performance across the D4RL benchmark and demonstrates significant robustness to low-quality data.
1. Introduction
In the offline RL paradigm, agents are trained on static, pre-collected datasets without the benefit of environment interaction. The primary obstacle is the distribution shift: when an agent selects an out-of-distribution (OOD) action, the Q-function often produces over-optimistic value estimates, leading to policy failure.
To mitigate this, existing approaches typically employ policy regularization, constraining the learned policy to remain close to the behavior policy that generated the data. However, this often leads to a "conservatism trap." If the source data is mediocre or contains significant noise, standard regularization prevents the agent from discovering optimal strategies. A2PR addresses this by introducing a mechanism that selectively mimics only the most beneficial behaviors within the dataset.
2. Methodology
A2PR builds upon the TD3+BC framework, introducing two novel components designed to refine the regularization process.
2.1 Elevating Positive Behavior Learning (EPBL)
Standard offline RL methods use generative models like VAEs to capture the entire data distribution. A2PR introduces Elevating Positive Behavior Learning (EPBL), which utilizes an advantage-weighted VAE. By incorporating the advantage function—which quantifies how much better a specific action is compared to the state's average action—the VAE prioritizes the generation of high-potential actions. This ensures that the generative "anchor" for regularization is biased toward success rather than mere imitation.
2.2 Adaptive Advantage Policy Constraint (AAPC)
The Adaptive Advantage Policy Constraint (AAPC) acts as a dynamic regulator. During training, the algorithm evaluates target actions by comparing the original dataset actions with the high-advantage actions suggested by the VAE.
- If a high-advantage action is identified, the policy is regularized toward it.
- If no high-advantage action is available, the constraint is relaxed, allowing the policy more freedom to "self-learn" and improve beyond the dataset's limitations.
This dual approach prevents the agent from being anchored to poor-quality data while providing a safe path toward high-reward regions of the state-action space.
2.3 Value Estimation
To further combat value overestimation, A2PR employs expectile regression (similar to IQL). This allows the agent to estimate the value function without querying OOD actions, providing a more stable foundation for the advantage-guided regularization.
3. Experimental Evaluation
3.1 Benchmarks and Tasks
The authors evaluated A2PR on the D4RL benchmark, focusing on:
- Gym-MuJoCo: Locomotion tasks (HalfCheetah, Hopper, Walker2d) across various data quality levels (random, medium, medium-expert).
- AntMaze: Navigation tasks requiring long-horizon reasoning and sparse reward handling.
3.2 Robustness Testing
To test the limits of the algorithm, the researchers introduced custom low-quality datasets:
- Multiple Target Maze: A 2D environment where 95% of the data leads to suboptimal targets.
- Mixed Random Policy: Datasets consisting of 99% random noise and only 1% expert demonstrations.
- Noisy State Evaluations: Assessing performance when Gaussian noise is added to state inputs during inference.
4. Results and Discussion
4.1 Performance
A2PR demonstrated superior performance, outperforming competitive baselines such as CQL, IQL, and PRDC in 16 out of 18 D4RL tasks. On Gym locomotion tasks, A2PR achieved an average normalized score of 944.27, a significant improvement over the previous state-of-the-art (PRDC) at 869.5. In the challenging antmaze-large-diverse task, A2PR scored 52.8, nearly doubling the performance of several baseline methods.
4.2 Efficiency and Robustness
Despite the inclusion of an advantage-weighted VAE, A2PR remains computationally efficient. Training 1 million steps takes approximately 4 hours, compared to roughly 9 hours for CQL. Furthermore, the advantage-guided filtering makes the agent remarkably resilient to noise; by ignoring low-advantage actions during regularization, the agent effectively filters out the 99% random data in mixed datasets to focus on the 1% expert signal.
5. Conclusion and Future Work
A2PR demonstrates that policy regularization in offline RL does not have to be a "ball-and-chain." By using the advantage function as a filter, agents can treat datasets as a menu of options, selectively mimicking high-quality behavior while maintaining the flexibility to improve.
Future research may address current limitations, such as sampling instability from the VAE. The authors suggest that replacing the VAE with more expressive generative models, such as Diffusion Models, could further enhance the framework's ability to represent complex behavior distributions and improve performance in even more diverse environments.
Summary updated