Policy Agnostic RL: Offline RL and Online RL Fine-Tuning of Any Class and Backbone

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Mark, Max Sobol, Gao, Tian, Sampaio, Georgia Gabriela, Srirama, Mohan Kumar, Sharma, Archit, Finn, Chelsea, Kumar, Aviral
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866910735083241472
author Mark, Max Sobol
Gao, Tian
Sampaio, Georgia Gabriela
Srirama, Mohan Kumar
Sharma, Archit
Finn, Chelsea
Kumar, Aviral
author_facet Mark, Max Sobol
Gao, Tian
Sampaio, Georgia Gabriela
Srirama, Mohan Kumar
Sharma, Archit
Finn, Chelsea
Kumar, Aviral
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2412_06685
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Policy Agnostic RL: Offline RL and Online RL Fine-Tuning of Any Class and Backbone
Mark, Max Sobol
Gao, Tian
Sampaio, Georgia Gabriela
Srirama, Mohan Kumar
Sharma, Archit
Finn, Chelsea
Kumar, Aviral
Machine Learning
Artificial Intelligence
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.
title Policy Agnostic RL: Offline RL and Online RL Fine-Tuning of Any Class and Backbone
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2412.06685