Introduction
Offline Reinforcement Learning (RL) represents a significant frontier for industrial applications, promising the ability to train intelligent agents using only historical logs without the need for expensive or risky real-world exploration. However, the field is fundamentally challenged by "distributional shift." When an agent encounters an action not present in the training dataset, it often erroneously assigns it a high reward—a phenomenon known as "hallucination"—leading to catastrophic policy failure.
To mitigate this, standard approaches employ pessimism, constraining the agent to stay within the known data distribution. Yet, excessive pessimism can render an agent overly timid, preventing it from surpassing the performance of the mediocre behavior policy that collected the data. In the AAAI-25 paper, "Dynamic Uncertainty Estimation for Offline Reinforcement Learning," Jiesheng Wang and colleagues propose DURL, a method that dynamically tunes its pessimism to optimize offline learning.
The Challenge of Extrapolation Error
The primary hurdle in offline RL is extrapolation error. When a Q-function (the value estimator) evaluates out-of-distribution (OOD) actions, it lacks ground truth, and standard deep learning models tend to overestimate these values. Existing solutions generally fall into two categories:
- Policy Constraints: These force the agent to mimic historical data, often limiting performance to that of the data generator.
- Value Constraints: These penalize the Q-values of OOD actions. However, static, high penalties can impair generalization and lead to suboptimal policies.
The authors identify that current methods lack a precise mechanism to characterize OOD data and rely on fixed penalty coefficients that do not adapt to the agent's learning progress.
Methodology: DURL
DURL introduces two primary innovations to the model-free RL pipeline:
1. Base Density-Truncated OOD Sampling (DT)
Effective pessimism requires accurately identifying OOD actions. Random sampling often captures actions near the data distribution, leading to unnecessary penalties. DURL utilizes a Flow-GAN—a hybrid of Generative Adversarial Networks and Normalizing Flows—to estimate the density of the behavior policy.
The "truncation" mechanism filters out high-density samples from the OOD set. This ensures that penalties are only applied to truly unknown actions, preserving the Q-values of actions near the data distribution.
2. Dynamic Uncertainty Estimation (DE)
In most algorithms, the uncertainty penalty weight ($\beta$) is a static hyperparameter. DURL instead treats these weights as learnable parameters. By minimizing the error between target Q-values and estimated values, DURL adjusts the degree of pessimism dynamically. This allows the agent to be cautious early in training and more ambitious as the Q-function converges, avoiding the stifling effects of excessive static pessimism.
Experimental Results
The authors evaluated DURL on the D4RL benchmark, covering MuJoCo locomotion, Adroit robotic manipulation, and Maze2d navigation tasks.
Performance and Bias Reduction
DURL consistently outperformed state-of-the-art (SOTA) baselines such as CQL, MCQ, and PBRL. In MuJoCo tasks, DURL achieved an average score of 84.5, significantly higher than the next best method (MCQ at 78.8). It showed particular strength in "Expert" and "Medium-Expert" datasets.
Crucially, DURL’s Q-value estimates remained much closer to the "true" values (validated via online interaction) compared to other pessimistic methods, which often severely underestimated values. This lower absolute bias indicates a more accurate internal model of the environment's value landscape.
Conclusion
DURL demonstrates that pessimism in offline RL should not be a static constraint but a dynamic, learnable component. By combining precise density-truncated sampling with adaptive uncertainty estimation, DURL achieves a superior balance between conservatism and policy improvement. Future work may explore extending these dynamic partitioning methods to model-based offline RL and refining the adaptive boundaries between known and unknown action spaces.
Summary updated