TL;DR
Behavior cloning (BC) regularization is a staple for keeping offline reinforcement learning stable, but it introduces a strict performance ceiling when the training data is suboptimal. To break through this barrier, the authors propose Proximal Action Replacement (PAR), a plug-and-play module that dynamically swaps out suboptimal dataset actions for higher-value actions guided by the critic's gradient and bounded by value uncertainty. PAR consistently boosts the performance of various baseline offline RL algorithms, achieving state-of-the-art results with minimal computational overhead.
What Problem Does This Paper Address?
Offline reinforcement learning (RL) allows agents to learn optimal policies from pre-collected, static datasets without risking real-world trial-and-error. However, offline RL suffers from a notorious issue: distribution shift. If an agent selects an action outside the dataset's distribution, the critic network (which estimates action values) can produce wildly overoptimistic errors, causing the policy to collapse.
To prevent this, most popular offline RL methods use Behavior Cloning (BC) regularization to force the learned policy to stay close to the actions in the dataset. While this ensures stability, it creates a major bottleneck. If the dataset contains mediocre or suboptimal actions, indiscriminate imitation structurally prevents the agent from learning a truly optimal policy. The agent faces a catch-22: stick to the safe but suboptimal dataset actions, or chase higher rewards and risk instability.
The authors mathematically prove this sub-optimality ceiling and introduce a data-level intervention to solve it.
Methods
Instead of modifying the policy constraints or value functions directly, the authors propose Proximal Action Replacement (PAR), a plug-and-play training sample replacer. PAR modifies the data during the training batch phase using two core components:
- Gradient-Direction-Aware Action Replacement (GDAAR): For any given state, PAR generates a candidate action using a stable target policy. It then calculates the critic's local ascent gradient—the direction in the action space that promises the steepest increase in value. By using cosine similarity, GDAAR compares how well the dataset action and the candidate action align with this value-improving direction. If the candidate action points more "upward" in value than the dataset action, it replaces the dataset action as the new target for behavior cloning.
- Gaussian-Shaped OOD Action Weighting (GSOAW): Replacing actions can push the policy out-of-distribution (OOD), threatening critic stability. To mitigate this, PAR trains an auxiliary state-value network along with an uncertainty head to model the distribution of action values as a Gaussian. If a replaced action deviates too far from expected values relative to the learned uncertainty, GSOAW adaptively down-weights its importance in the BC loss, preserving training stability.
Datasets
The authors evaluated PAR using the standard D4RL benchmark, spanning three distinct domains:
- Gym-MuJoCo tasks (v2): Locomotion datasets (HalfCheetah, Hopper, Walker2d) across Medium, Medium-Replay, and Medium-Expert qualities.
- AntMaze tasks (v0): Sparse-reward navigation tasks requiring the stitching together of suboptimal trajectories on Medium and Large maps (Play and Diverse).
- FrankaKitchen tasks (v0): Challenging, high-dimensional robotic manipulation tasks (Mixed and Partial datasets).
No new datasets were introduced.
Key Insights and Ideas
- Data-Level Fixes Over Algorithmic Tweaks: Most offline RL research focuses on complex policy constraints or conservative value functions. PAR shows that fixing sub-optimality directly at the supervision data level within the training batch is simpler and highly effective.
- The Critic as a Local Compass: Even when a critic network cannot accurately evaluate far-OOD actions, its local gradient ($\nabla_a Q$) provides an incredibly reliable direction for local policy improvement.
- Soft Proximal Bounds: Instead of enforcing hard clipping or strict action-space boundaries, scaling the loss weight based on value uncertainty (GSOAW) provides a principled, smooth mechanism for maintaining stability.
Key Results
PAR was evaluated as a plug-and-play addition to several popular offline RL baselines, including TD3+BC, IQL, EDP, and SSAR.
- MuJoCo Locomotion: Adding PAR to the minimalist TD3+BC baseline boosted its average score from 75.3 to 87.7 (+12.4 points). When paired with the advanced SSAR baseline, it achieved a state-of-the-art average score of 90.9, outperforming highly complex trajectory-planning and flow-matching methods.
- AntMaze & FrankaKitchen: In the challenging AntMaze tasks, IQL+PAR improved performance from 57.1 to 70.8. In FrankaKitchen, TD3+BC originally failed completely (0.0 score) due to suboptimal data, but adding PAR rescued it, achieving a score of 20.0.
- Efficiency: PAR introduces very little computational overhead. The runtime increased by only 6%–8% for TD3+BC and a negligible ~2% for computationally intensive diffusion-based methods (like EDP and SSAR).
Limitations and Future Work
The authors note two primary limitations:
- Continuous Action Space Dependency: GDAAR relies on calculating action-value gradients ($\nabla_a Q$), which inherently requires a continuous action space. Adapting PAR to discrete or hybrid action spaces remains an open challenge that would require discrete advantage estimation.
- Single-Step Horizon: PAR operates strictly at the single-step transition level. It does not account for long-horizon dependencies across entire trajectories.
Future Directions: The authors suggest extending PAR to multi-step or trajectory-level replacements, potentially leveraging sequence models (like Transformers) to generate coherent, high-value action sequences.
Summary updated