Skip to main content
Open In Colab In BC versus RL on a claw machine, PPO fine-tuned a cloned MiniVLA with nothing but the delivery reward, and the policy learned to center its grabs. The fine-tuning in that section fixed one setting for each design choice: the discount, the temperature at which rollouts sample the policy, how the critic attaches to the network, when an update stops, and how many passes each batch of experience gets. This section changes those choices one at a time, always starting from the same cloned policy, and measures what each one does. The general algorithm is on the PPO page. What changes for a VLA is the policy. It is an autoregressive model that emits several action tokens per step, and it was pretrained by imitation, so RL has to improve it without destroying the features that imitation built.
The machine, MiniVLA, BC and the evaluation are those of the claw-machine section.

The token-level ratio

MiniVLA emits three tokens per step: the Δx\Delta x bin, the Δz\Delta z bin and the grip. Each token is conditioned on the observation summary hth_t and on the tokens before it. The probability of the whole action is the product of the token probabilities, so its log is a sum: log⁡πθ(at∣ot,ℓ)=∑j=13log⁡pθ(zt,j∣ht,zt,<j).\log \pi_\theta(a_t \mid o_t, \ell) = \sum_{j=1}^{3} \log p_\theta(z_{t,j} \mid h_t, z_{t,<j}). PPO’s probability ratio between the current policy and the rollout policy is the exponential of the difference of these sums: ρt(θ)=exp⁡(log⁡πθ(at∣ot,ℓ)−log⁡πθold(at∣ot,ℓ)),L(θ)=Et[min⁡(ρtA^t, clip(ρt,1−ϵ,1+ϵ) A^t)],\begin{aligned} \rho_t(\theta) &= \exp\big(\log \pi_\theta(a_t \mid o_t, \ell) - \log \pi_{\theta_{old}}(a_t \mid o_t, \ell)\big), \\ L(\theta) &= \mathbb E_t\big[\min\big(\rho_t \hat A_t,\ \mathrm{clip}(\rho_t, 1 - \epsilon, 1 + \epsilon)\,\hat A_t\big)\big], \end{aligned} with ϵ=0.2\epsilon = 0.2 and advantages A^t\hat A_t from generalized advantage estimation (GAE). The ratio covers the whole action, so one clip limits all three tokens together. OpenVLA as a stochastic policy writes the same sum for OpenVLA’s seven action tokens, and PPO fine-tuning of OpenVLA uses it in the same way (Liu et al., 2025). The PPO loop below is the one from the claw-machine section with two switches added: whether the value loss can send gradient into the shared network, and a seed for the machines and the sampling.

One cloned policy, many fine-tuning runs

BC is trained once on the operator’s successful episodes, and its weights are saved. Every variant below loads those weights, runs 60 PPO iterations of 128 machines for 64 steps each, and is scored by its greedy delivery rate on 500 new machines. The baseline is the claw-machine section’s setting: γ=0.99\gamma = 0.99, GAE λ=0.95\lambda = 0.95, rollout temperature 0.5, a critic on detached features, five iterations of critic warm-up, four passes over each batch, and an early stop once the approximate KL divergence from the rollout policy exceeds 0.01. Each variant changes one of these settings.
The cloned policy delivers 73% when it always takes its most likely tokens. PPO, however, learns from sampled actions, so what matters at the start of RL is how often the sampled policy succeeds. The next cell samples the same cloned policy at three temperatures, where temperature τ\tau samples from softmax(logits/τ)\mathrm{softmax}(\text{logits}/\tau).
At temperature 1 the cloned policy delivers only 7%. At 0.5 it delivers 77%, and at 0.3 75%. The cloned distribution is wide because the operator’s demonstrations vary from one attempt to the next. Sampled at full width, the token noise is large enough that almost every episode fails. Each variant goes through the same function, which copies the saved weights, fine-tunes them and records the greedy delivery every ten iterations.

The discount factor

With discount γ\gamma, a reward kk steps ahead enters the return with weight γk\gamma^k. The weights sum to 1/(1−γ)1/(1 - \gamma), which is the policy’s effective horizon: about 10 steps for γ=0.9\gamma = 0.9 and 100 steps for γ=0.99\gamma = 0.99. A delivery takes about 50 steps from the start. With γ=0.9\gamma = 0.9 the reward is invisible from the approach phase (0.950≈0.0050.9^{50} \approx 0.005), so the advantages of those steps are mostly noise from the critic, and PPO pushes the approach around at random.
Greedy delivery rate over 60 PPO iterations for the baseline with discount 0.99, run with two seeds, and for discount 0.9. The discount 0.9 curve falls below the baseline curves and stays lower. The baseline ends at 73%, and the same setting with a second seed ends at 75%, against 73% before fine-tuning. Within 60 iterations the baseline moves the greedy policy only a little. The PPO run in Behavioral cloning and RL on a claw machine uses the same recipe for 100 iterations: it was back at the BC level at iteration 60 and reached 80% only in the last 40 iterations. The curves here also wander by up to 4 points from one evaluation to the next. Those two numbers set the noise floor for every comparison on this page: a difference of a few points between two variants is not evidence of anything. The discount is different. With γ=0.9\gamma = 0.9 delivery falls to 44% after ten iterations and ends at 53%. That gap is several times the noise floor, and it is the failure that the effective horizon predicts.

Rollout temperature

The temperature sets how far the rollout policy explores around the cloned one. PPO’s ratio uses the same temperature, so the policy that PPO improves is the tempered one.
Greedy delivery rate over 60 PPO iterations for rollout temperature 0.5, the baseline, and for temperatures 1.0 and 0.3. The three curves end close together. At temperature 1.0 the greedy policy ends at 73%, no better than the baseline. The rollout delivery changed far more: it starts at 6% and climbs to 68% by iteration 60. Because the greedy policy barely moved, most of that work went into sharpening the token distributions around actions that the greedy policy already takes. At temperature 0.3 the greedy policy ends at 78%, within the noise of the baseline. RL fine-tuning of OpenVLA used temperature 1.0 and reported that 1.5 hinders training while 0.5 and 1.0 both work well (Liu et al., 2025). The usable temperature depends on how wide the cloned distribution is. A policy cloned from a consistent demonstrator can be sampled at its natural width. MiniVLA, cloned from varied demonstrations, has to be cooled before its samples succeed often enough to learn from.

Critic, early stopping and epochs

The last three variants change how the update is built. The first lets the value loss send gradient into the shared trunk, the second removes the KL early stop, and the third makes one pass over each batch instead of four.
Greedy delivery rate over 60 PPO iterations for the baseline, a critic that sends gradient into the shared trunk, no KL early stop, and one epoch per batch. The curve with the critic gradient drops sharply in the first iterations and then recovers, and all four curves end close together. Letting the critic train the trunk does damage before PPO changes the policy at all. During the five warm-up iterations only the value loss is active, yet the greedy delivery drops from 73% to 65% at the first evaluation and to 26% by iteration 10. The value loss reshapes the features that the action head reads. The policy then recovers and ends at 76%, within the noise of the baseline, after a long detour. RL fine-tuning of OpenVLA shares the whole transformer between actor and critic, with a three-layer value head on the hidden state of the first action token, and found that a separate critic backbone gave comparable returns while training 35% slower and using 83% more GPU memory (Liu et al., 2025). That setup trains rank-32 LoRA adapters and leaves the pretrained weights frozen, which limits how far any loss can move the pretrained features. This is a plausible reason the shared design works there and hurts here, but this section did not test it. Without the KL early stop, the approximate KL divergence per iteration reaches 0.026, the greedy delivery dips to 63% and then recovers to 79%. With one pass per batch the policy barely moves: the KL stays near 0.001, the delivery peaks at 83% around iteration 10 and drifts back to 72%. The paper above found that more than one PPO epoch brought no gain for OpenVLA and cost wall-clock time almost linearly, and it uses one epoch throughout. On this task the endpoints of all three variants fall within the noise floor. The table collects the final greedy delivery of every run.

What carries over

Only one choice separated cleanly from the noise: the discount has to give the policy a horizon at least as long as the task. A γ\gamma whose effective horizon 1/(1−γ)1/(1-\gamma) is shorter than the time to the reward turns the early steps into noise, and fine-tuning makes a working policy worse. The argument uses only the definition of the return, so it applies to any VLA policy trained against a delayed sparse reward. The other choices changed the path more than the end point. A hot rollout temperature spent the budget sharpening the sampled policy. A critic that trains the trunk damaged the policy during warm-up. Removing the KL stop produced a dip. Their final values all lie within a few points of each other, and with one seed per variant, a seed-to-seed gap of 2 points and evaluation-to-evaluation swings of up to 4 points, the ranking among them is not established. Settling it would take several seeds per variant and longer runs.

References

  • Liu, J., Gao, F., Wei, B., Chen, X., Liao, Q., et al. (2025). What can RL bring to VLA generalization? An empirical study. arXiv [cs.LG]. DOI

Found an error on this page? Report an issue.