TL;DR
This paper introduces Policy-Agnostic RL (PA-RL), a novel approach that allows Reinforcement Learning (RL) to effectively fine-tune a wide variety of policy architectures and classes, including diffusion and transformer-based models, which were previously difficult to train with standard RL methods. PA-RL achieves state-of-the-art results in both simulated and real-world robotic tasks, demonstrating significant performance improvements and sample efficiency.
What Problem Does This Paper Address?
Training advanced decision-making policies, especially in robotics, often relies on large-scale imitation learning with expressive models. However, simply freezing these policies is insufficient for real-world deployment where adaptation is crucial. Reinforcement learning (RL) offers a path for adaptation using non-expert data, but existing RL algorithms are often tightly coupled with specific policy classes (e.g., Gaussian policies for Soft Actor-Critic). This coupling leads to instability and poor performance when trying to adapt other policy types, such as diffusion or autoregressive models. The challenge is to develop a unified RL approach that can effectively fine-tune diverse policy architectures without requiring specialized algorithms for each.
Methods
PA-RL tackles this by decoupling policy improvement from policy training. Instead of directly backpropagating critic gradients through the policy parameters, PA-RL first optimizes actions sampled from a base policy. This optimization involves two stages:
- Global Optimization: Sampling multiple actions and then re-ranking them based on Q-function values to select the best candidates.
- Local Optimization: Applying gradient ascent directly on the selected action samples to further refine them.
These "optimized" actions are then used to train the policy via a standard supervised learning loss (e.g., behavior cloning or diffusion model objectives). This approach makes the policy improvement step universal and applicable to any policy class, as it relies on optimizing actions rather than policy parameters directly. PA-RL can be integrated with existing actor-critic RL algorithms like Cal-QL and IQL.
Datasets
The paper evaluates PA-RL on several benchmark datasets:
- D4RL (Datasets for Deep Data-Driven Reinforcement Learning): Specifically, AntMaze (various layouts), FrankaKitchen (kitchen-complete, kitchen-partial, kitchen-mixed), and CALVIN (image-based, with distractor objects).
- Real-world robotic tasks: Three manipulation tasks on a WidowX-250 arm: "cup to drying rack," "pot to sink," and "vegetable to sink."
Key Insights and Ideas
- Policy-agnosticism is achievable: The core idea that policy improvement can be done by optimizing actions, rather than directly optimizing policy parameters, is key to making RL adaptable to diverse policy architectures.
- Supervised learning as a universal policy improvement tool: By using optimized actions, PA-RL leverages the simplicity and robustness of supervised learning losses for policy distillation, bypassing the complexities and instabilities of direct policy gradients for certain policy classes.
- Global and local action optimization are complementary: The combination of global re-ranking and local gradient ascent on actions effectively finds good actions while staying close to the data manifold, preventing issues with out-of-distribution actions.
- Diffusion and transformer policies benefit greatly: PA-RL unlocks the potential of expressive diffusion and transformer policies in RL fine-tuning, achieving significant gains where previous methods struggled.
- Real-world adaptation is efficient: PA-RL demonstrates rapid and effective fine-tuning of complex policies on real robots, achieving substantial performance improvements in under an hour.
Key Results
- State-of-the-art performance: PA-RL + Cal-QL consistently outperforms prior methods on simulated benchmarks, achieving up to a 13% aggregate improvement and a 69% improvement on the challenging CALVIN task.
- Diffusion policy improvement: PA-RL improves diffusion policies by 80-100% on real-robot tasks within 1-2 hours of online fine-tuning.
- OpenVLA fine-tuning: PA-RL successfully fine-tunes OpenVLA, a 7B-parameter generalist robot policy, achieving a 70% success rate on a real-world manipulation task after just 40 minutes of online fine-tuning, a significant jump from its 40% zero-shot performance.
- Autoregressive transformer policy improvement: PA-RL also effectively fine-tunes autoregressive transformer policies, showing a 224% improvement in one setting.
- Efficiency: PA-RL achieves these improvements with significantly fewer training hours compared to some baselines.
Limitations and Future Work
- Computational cost for large policies: PA-RL requires sampling multiple actions, which can be computationally expensive for very large foundation models. Future work could explore caching actions or more efficient sampling strategies.
- Interplay of global and local optimization: Further understanding the optimal balance and interaction between global and local optimization steps could be beneficial.
- Generalist critic models: The current approach often uses non-generalist critics. Developing approaches to train generalist critic models would be a valuable direction.
Summary updated