Abstract
Standard offline reinforcement learning (RL) algorithms often struggle with real-world datasets characterized by heteroskedasticity—where the variability of behavior changes significantly across different states. This paper identifies that rigid distributional constraints, which force learned policies to strictly match the behavior policy, are the primary bottleneck in such scenarios. We introduce CQL (ReDS), a novel approach that shifts from distributional constraints to flexible support constraints. By allowing the agent to optimize within the data's support rather than mimicking its average distribution, CQL (ReDS) achieves substantial performance gains on complex navigation and robotic manipulation tasks.
The Challenge of Heteroskedastic Data
In offline RL, agents learn from static datasets without environment interaction. To prevent the agent from overestimating the value of unseen actions, most current methods employ distributional constraints. These constraints penalize the learned policy $\pi$ if it deviates too far from the behavior policy $\pi_\beta$ that generated the data.
However, real-world data is rarely uniform in its variability; it is heteroskedastic. For instance, in a driving task, behavior at a red light is highly consistent (low variability), whereas behavior on a wide, open highway can be highly diverse (high variability).
As illustrated in Figure 1, standard methods apply a uniform constraint strength across all states. This creates a fundamental trade-off:
- Over-conservatism: In high-variability states, the agent is forced to copy the "average" behavior, which is often suboptimal.
- Risk-taking: If the constraint is weakened to allow for optimization in high-variability states, the agent may attempt dangerous, out-of-distribution actions in critical, low-variability states.
The authors formalize this via a new metric, differential concentrability ($C^\pi_{diff}$), proving that high heteroskedasticity fundamentally limits the improvement potential of standard constrained policies.
Methodology: From Distribution to Support
To overcome these limitations, the authors propose CQL (ReDS) (Reweighting Distribution constraints to Support). The core idea is to move away from matching the shape of the behavior distribution and instead focus on staying within its support.
The ReDS algorithm involves two key steps:
- Identifying Suboptimal Actions: An auxiliary distribution $\rho$ is trained to identify "bad" actions—those that appear in the behavior data but have low predicted Q-values.
- Reweighted Regularization: ReDS modifies the Conservative Q-Learning (CQL) objective. Instead of a blanket penalty on all actions under the current policy, it applies pessimism to a mixture distribution of the current policy and the identified "bad" actions.
This mechanism effectively enforces a support constraint. It grants the agent the freedom to pick the best-performing action from the dataset, regardless of how frequently it was originally performed, as long as that action is present in the data.
Experimental Evaluation
The researchers evaluated ReDS across several challenging environments:
- Heteroskedastic AntMaze: A modified version of the D4RL benchmark where noise and bias are injected into the behavior policy based on the agent's spatial coordinates.
- Visual Robotic Manipulation: Real-world-inspired "Pick & Place" and "Bin Sorting" tasks using a WidowX robot. These tasks exhibit high variability in object placement but require high precision (low variability) during the grasp phase.
- Heteroskedastic Atari: Datasets compiled from a mixture of DQN agents at various training stages, representing highly diverse behavior.
Key Results and Insights
The experiments revealed that standard benchmarks like D4RL are largely homoskedastic, which explains why simpler constraints have been successful thus far. However, on more realistic, heteroskedastic data, the advantages of ReDS are clear:
- Navigation: In the Noisy AntMaze, CQL (ReDS) achieved a 73% success rate, significantly outperforming standard CQL (55%) and IQL (44%).
- Robotics: In the complex Bin Sorting task, ReDS outperformed standard CQL by a factor of 3.5 (23.1% vs. 6.1% success).
- Safety without Tax: ReDS maintained or slightly improved upon state-of-the-art results on standard, homoskedastic D4RL tasks, suggesting it is a robust general-purpose improvement.
Conclusion
CQL (ReDS) demonstrates that handling heteroskedasticity does not require entirely new algorithmic frameworks, but rather a shift in how we regularize policies. By focusing pessimism on the boundaries of the data support rather than the center of the distribution, ReDS enables offline RL agents to learn more optimal and robust policies from the messy, variable data typical of the real world.
Summary updated