@zhiyuan_zhou_: Lately I've been thinking a lot about how to make RL training more stable and scalable. For those interested, I've just…

X AI KOLs Following Events

Summary

UC Berkeley PhD student Paul Zhou re-records his CoRL R2RL workshop talk 'To Stability And Beyond', arguing that off-policy RL instability underlies poor sample efficiency in real-world robotics and proposing Q-Guided Flow (QGF) and Advantage Guidance to replace actor updates with stable supervised learning.

Lately I've been thinking a lot about how to make RL training more stable and scalable. For those interested, I've just re-recorded my recent talk at CoRL called ✨To Stability And Beyond✨ that explains some of my recent thoughts. https://t.co/taT72IZdZT
Original Article
View Cached Full Text

Cached at: 11/28/26, 12:31 PM

Lately I’ve been thinking a lot about how to make RL training more stable and scalable. For those interested, I’ve just re-recorded my recent talk at CoRL called ✨To Stability And Beyond✨ that explains some of my recent thoughts.

https://t.co/taT72IZdZT


TL;DR: UC Berkeley PhD student Paul Zhou’s talk “To Stability and Beyond” at the CoRL R2RL workshop argues that off-policy RL instability is the root cause of low sample efficiency in real-world robot RL, and proposes two ideas—Q-Guided Flow (QGF) and Advantage Guidance—that replace actor updates with stable, supervised-learning-style training, enabling trainably stable RL while preserving sample efficiency.

Talk Overview

Hi everyone, I’m Paul Zhou, a PhD student at UC Berkeley. This is a re-recorded version of my talk “To Stability and Beyond.” I recently gave this talk at this year’s CoRL R2RL workshop, discussing the topic of: what challenges does real-world RL face, and how can we improve sample efficiency to make RL practical on real robots? This talk is my answer to that question—I’ll discuss challenges at the algorithmic level, particularly how to move toward more stable and efficient real-world RL algorithms.

An Anecdote from Three Years Ago

Let me start with an anecdote from three years ago. I had just started my PhD, and the Bridge dataset v2 had just been released. I was very excited and wanted to run offline-to-online RL on a WidowX robot, hoping to see improvements on simple pick-and-place tasks that had never been seen in any of the training datasets. But for various reasons, I couldn’t make this improvement very robust, and the result was never published.

Three years later, what still stands out in my memory is how difficult it was to tune hyperparameters to get a barely working policy. I went back through my experiment logs and found a table—basically, I had to tune the alpha parameter that controls the strength of the control constraint to over 10 different values before I got something barely usable. My notes said: when tuning this parameter, the policy’s behavior changes dramatically, so you have to get it just right to make it work. For this reason and others, I feel I didn’t get a genuinely robust policy improvement from that experiment.

WarmStart RL: What’s Still Missing

Fast forward two years, and I developed a better algorithm called WarmStart RL, which ultimately achieved pixel-based offline-to-online reinforcement learning. The idea is simple, in three steps:

  1. Offline pretraining
  2. Warm-up phase: Freeze the pretrained policy and use it to collect data
  3. Fast online error updates

Through these three phases, you can get very fast online error improvement—I can learn an insertion task in under 20 minutes of real interaction time.

So why haven’t we solved the real-world RL problem yet? (I’m only half-joking asking this—it’s a very simple insertion task.) For me, this is a good opportunity to reflect on what’s missing from this approach. I think there are three things:

  1. Still sensitive to important hyperparameters—I had to tune different versions to make the policy work.
  2. This 20 minutes of efficient real-world RL time requires very good offline pretraining, which is often difficult and more sensitive to hyperparameters or training collapse.
  3. The most disturbing point: it spends more time on stabilizing learning than on online learning itself. By “stabilizing learning,” I mean that 11-minute warm-up period—during which we just freeze the policy to collect data, without learning anything new. But this is critical: without the warm-up phase, the policy sometimes completely collapses. So you need to spend 11 minutes on warm-up before you can do 7 minutes of efficient online interaction.

If there existed an alternative world where we had stable online update algorithms that could completely eliminate this 11-minute warm-up, we could cut RL time by more than half, greatly improving sample efficiency.

Instability: The Common Problem Behind All Working Demos

The two examples above illustrate: instability is the common problem behind these working demos. The consequences of instability are that as an RL practitioner, you might observe:

  • Training divergence or sudden reward collapse
  • Some seeds performing magically much better or worse than others
  • Needing substantial hyperparameter tuning to get RL to work

Off-policy RL is especially unstable, which is very unfortunate because we want exactly off-policy methods to achieve sample efficiency in the real world.

Why Actor-Critic Is Unstable

Intuitively, actor-critic—perhaps the most popular off-policy RL method—alternates between policy evaluation and policy improvement:

  • The actor’s goal is to maximize Q values (i.e., the critic)
  • The critic’s goal is to minimize TD error through dynamic programming

The problem is the two objectives are interdependent: the actor chases a constantly changing critic, and the critic chases a constantly changing actor (the critic depends on the actor as the Q target in its updates). This interdependence makes the method very unstable—it’s essentially like a GAN—and, similar to GANs, it’s very sensitive to hyperparameters. In practice, you basically have to find the exact right hyperparameters to get stable training and achieve the theoretical performance.

Stability Is a Prerequisite for Sample Efficiency

I believe efficient real-world RL requires stability, because without stability, training can collapse, and there’s no efficiency to speak of. My goal is: very stable training, with no sudden collapses, and less sensitivity to hyperparameters so you don’t have to train all sorts of different versions to find the right thing.

Comparison with Language Model Training

I like comparing language model training to robot RL training:

  • Left side (LM training): The loss curve decreases very stably—even such very sparse loss spikes would cause huge concern when training language models.
  • Right side (robot RL training): There’s no concept of loss spikes at all, because everything is a loss spike—whether it’s the Q function or the policy. Different curves represent different random seeds, and the dark line is the aggregated result. You can see that even with the exact same configuration, different random seeds lead to drastically different outcomes.

What’s even more concerning is that this robot RL training uses a four-layer MLP. If we want to scale this up to SO-DA robot models and make it work in the real world, this instability problem will become much more prominent. So we really need a way to make RL stable, to move closer to the left side’s domain, so that RL is practical in the real world even on state-of-the-art large models.

The Core Question: Can We Make Off-Policy RL More Stable While Preserving Sample Efficiency and Performance?

One idea is: what if we made reinforcement learning more like supervised learning? Because we know supervised learning training is stable and can scale to large models. Below I’ll introduce two ideas from my research to illustrate what such an approach might look like—though this is by no means the only way.

Idea One: Q-Guided Flow (QGF)

QGF does not train an actor—instead, it trains the policy using very stable supervised learning/behavior cloning, and performs RL at test time through Q-gradient guidance.

Training phase: Train a flow matching policy with a very stable, standard flow matching loss.

Inference phase: The goal is to sample from the RL solution π*. π* is the closed-form solution to the KL-constrained reward maximization problem, which is essentially π̂ (the BC distribution) exponentially tilted by Q.

To sample from π*, the basic idea is to modify each denoising step when sampling from π̂:

  1. At each denoising step, first approximate the clean action with a one-step Euler integration—take a large integration step from the current noisy action  to the clean action Â₁
  2. Once you have the clean action, query the gradient of the Q function (the Q function is trained in the clean action space)
  3. Use this to shift the denoising velocity, steering actions toward high Q values

The overall intuition is: you will sample exactly the RL solution, because the actions now also maximize your Q function. Overall, you can train with very stable supervised learning losses while still exactly sampling the RL solution—good performance with very stable training.

I found some results from the community (these are not my own): I searched arXiv papers from the past few months and found that with the exact same idea—training a stable BC policy and guiding it with critic gradients—you can efficiently and stably perform RL in the real world at test time.

Idea Two: Advantage Guidance

Advantage Guidance goes further: instead of training an unconditional BC policy, train a conditional policy conditioned on advantage.

The policy no longer takes only state as input—it additionally takes an advantage scalar indicating how good your action is at state s. The policy, conditioned on the state and scalar advantage value, produces an action. This can also be trained with stable supervised learning.

Two Key Architectural Details

To train such a conditional velocity, two important details must be handled correctly, otherwise the policy won’t pay attention to the conditioned advantage input:

  1. Action imagination: Instead of only training on dataset actions, for each state also sample reference actions from some reference policy, and label all imagined actions with their advantage. The conditional policy is trained on all of these actions. This way the policy sees more actions at the same state, knows what low-advantage actions and high-advantage actions look like, and gets more counterfactual supervision to output low and high advantage actions.

  2. Residual parameterization: Parameterize the conditional velocity as an unconditional component v_π̂ and a conditional component v_θ, forcing the conditional velocity to attend to the conditional input.

Contrastive Guidance Sampling

Once you have the conditional policy, the intuition is that it outperforms the BC policy in QGF because the policy natively knows what actions are good and what actions are bad, and you can instruct it to output good actions.

On top of this, use contrastive guidance sampling: at each denoising step, modify the denoising velocity using a contrastive formula—query the difference between the conditional velocity at the high-advantage action a⁺ and the conditional velocity at the low-advantage action a⁻. A theorem in the paper proves that this also produces the tilted distribution, i.e., the RL solution that maximizes advantage.

In summary: it can be trained with very stable supervised learning losses (conditioned on advantage), making the policy superior to an unconditional policy, and it can sample the exact RL answer to guarantee performance.

Example: PiStar6

I built a simpler version to demonstrate that this class of ideas can work on robots—this is PiStar6, a binary advantage-conditioned policy I trained during my internship at Physical Intelligence.

In a standard VLA diagram, in addition to the normal image and language description inputs, a binary advantage indicator is fed in as an additional input:

  • Train a VLM value function and use it to compute advantage
  • Binarize the advantage into a positive or negative binary indicator

The essential difference between PiStar6 and Advantage Guidance: PiStar6 uses binary advantage inputs, whereas Advantage Guidance goes further and uses continuous advantage, basically leveraging more information from the advantage function. Doing this allows very stable pretraining and lets the robot perform very difficult dexterous tasks. As it sees more and more online experience, the same algorithm can be used for iterative RL improvement—conditioning on binary advantage as it encounters new experience.

Conclusion: Stability Is Necessary for Sample Efficiency

These three past works show: we can stabilize off-policy RL methods by making them more like supervised learning—training more stably while still sampling the exact same RL solution.

Stepping back to the bigger picture, I believe we need more stable off-policy RL algorithms because:

  1. They provide more stable online training that doesn’t collapse midway
  2. They enable us to do more stable, better pretraining as initialization—we see time and again that better initialization leads to more efficient online learning afterward
  3. They make us less sensitive to hyperparameters, so we don’t have to train over 10 different policy versions like I did three years ago

I believe this is a necessary but not sufficient condition for achieving sample-efficient real-world reinforcement learning.

I sincerely thank all the collaborators who made the work I described possible.

Source: https://youtu.be/kvhvs_9fRnM

Similar Articles

Z.ai's Stable Asynchronous RL (13 minute read)

TLDR AI

The paper introduces Single-rollout Asynchronous Optimization (SAO) to address stability and off-policy challenges in asynchronous RL for LLM post-training, and demonstrates that SAO consistently outperforms GRPO on agentic coding and reasoning benchmarks.