Policy Agnostic RL: Offline RL and Online RL Fine-Tuning of Any Class and Backbone
Max Sobol Mark, Tian Gao, Georgia Gabriela Sampaio, Mohan Kumar Srirama, Archit Sharma, Chelsea Finn, Aviral Kumar
TL;DR
This work introduces Policy-Agnostic RL (PA-RL), a universal actor-critic framework that enables offline RL and online fine-tuning across diverse policy classes and backbones, including diffusion and autoregressive transformer policies. By decoupling policy improvement from policy parameter updates through a two-stage process—global action re-ranking plus local action optimization, followed by distillation of optimized actions via supervised learning—PA-RL achieves state-of-the-art performance in simulated benchmarks and real-world robotics. It demonstrates robust improvements in both offline-to-online settings and pure online fine-tuning, including successful autonomous fine-tuning of a 7B OpenVLA policy in real-world manipulation tasks. The approach broadens the practical applicability of RL by allowing a single method to train multiple policy architectures, significantly reducing the need for policy-class-specific algorithm design.
Abstract
Recent advances in learning decision-making policies can largely be attributed to training expressive policy models, largely via imitation learning. While imitation learning discards non-expert data, reinforcement learning (RL) can still learn from suboptimal data. However, instantiating RL training of a new policy class often presents a different challenge: most deep RL machinery is co-developed with assumptions on the policy class and backbone, resulting in poor performance when the policy class changes. For instance, SAC utilizes a low-variance reparameterization policy gradient for Gaussian policies, but this is unstable for diffusion policies and intractable for autoregressive categorical policies. To address this issue, we develop an offline RL and online fine-tuning approach called policy-agnostic RL (PA-RL) that can effectively train multiple policy classes, with varying architectures and sizes. We build off the basic idea that a universal supervised learning loss can replace the policy improvement step in RL, as long as it is applied on "optimized" actions. To obtain these optimized actions, we first sample multiple actions from a base policy, and run global optimization (i.e., re-ranking multiple action samples using the Q-function) and local optimization (i.e., running gradient steps on an action sample) to maximize the critic on these candidates. PA-RL enables fine-tuning diffusion and transformer policies with either autoregressive tokens or continuous action outputs, at different sizes, entirely via actor-critic RL. Moreover, PA-RL improves the performance and sample-efficiency by up to 2 times compared to existing offline RL and online fine-tuning methods. We show the first result that successfully fine-tunes OpenVLA, a 7B generalist robot policy, autonomously with Cal-QL, an online RL fine-tuning algorithm, improving from 40% to 70% in the real world in 40 minutes.
