Manuscript Offprint

arXiv:2610.31859

Full-Weight VLA Fine-Tuning Without an fp32 Master Copy Silently Erases Most Updates

Shubham Singh

Shubham Singh

singh281@utexas.edu

Abstract—When a vision-language-action (VLA) model is fine-tuned with its trainable weights in bfloat16 (bf16) and no fp32 master copy, AdamW writes each update straight into bf16, silently rounding away any update smaller than 1/512 of a weight. In 9 of 12 open VLA codebases a default or documented recipe trains this way, 4 on full weight matrices, including LeRobot's SmolVLA default and its π0/π0.5\pi_{0}/\pi_{0.5} guides. In our LIBERO runs without the copy, a probe every 100 steps finds at least 79% of updates to bf16 weights erased. On the Hugging Face Hub, 99% of sampled full-weight SmolVLA fine-tunes store the action expert in bf16, and 84% of recent π0.5\pi_{0.5} fine-tunes with a training configuration set the bf16 flag. On LIBERO-Object, with rules fixed in advance, an fp32 copy raises success over LeRobot's storage from 4.3% to 49.3% for SmolVLA and from 5.1% to 80.9% for π0.5\pi_{0.5} at a ten-times lower learning rate, where both models are undertrained, and from 89.0% to 97.7% for π0.5\pi_{0.5} at its default rate. For SmolVLA at its default rate it adds 10.2 points with open-loop 50-action chunks but only 4.2 when re-planning every 10 actions. In these five comparisons and two more against SmolVLA with every trainable weight in bf16, every run with the copy beats every run without it ( p<0.05p < 0.05); all gaps but the 8.7- and 4.2-point ones clear our 10-point threshold. The fix is to keep the trainable weights in fp32 during training, a one-line change for SmolVLA in LeRobot.

Am I affected? Yes, if you fine-tune full weight matrices that are bf16 when the optimizer is built (p.dtype for p in model.parameters() if p.requires_grad) shows torch.bfloat16) and the optimizer, like PyTorch's AdamW, keeps no fp32 copy, as in LeRobot's SmolVLA default and the --policy.dtype=bfloat16 of its π0/π0.5\pi_0/\pi_{0.5} guides, openpi's PyTorch trainer and RLinf (Table I). LoRA adapters stored in bf16 keep updates of learning-rate size at their default rates of 2−5×10−42-5\times10^{-4}; we did not measure smaller ones.

Fix: keep those weights in fp32 and compute in bf16 under autocast. In LeRobot, for π0/π0.5\pi_0/\pi_{0.5}, set --policy.dtype=float32 and add --accelerator.mixed_precision=bf16; for SmolVLA, which by default trains only its action expert, pass dtype=torch.float32 where smolvlm_with_expert.py builds the expert, and add the same flag. Memory and learning rate: Section VI.

I. INTRODUCTION

Fine-tuning a pretrained VLA on a new task is now routine, done with a few open codebases: LeRobot [1], [2] for SmolVLA [3] and π0/π0.5\pi_{0}/\pi_{0.5} [4], [5], openpi [6], the OpenVLA family [7], [8], [9], and RL frameworks such as RLinf [10]. To save memory, several cast the trainable weights to bfloat16 (bf16) before building the optimizer. Compute in bf16 is intended, but PyTorch's AdamW then also keeps its moments in bf16 and adds each update directly to the bf16 weight, which mixed-precision training avoids by keeping an fp32 master copy of the weights and rounding only the copy used for compute [11]. Without the copy, an update smaller than 0.2–0.4% of the weight is rounded away [12]. Fine-tuning learning rates are 10−510^{-5} to 10−410^{-4} and most AdamW steps are smaller still, so for weights of typical size a large share of updates is silently lost, with no error and a falling loss.

We first state when a statistic E, computed from the weights alone [13], [14], is a lower bound on the share of weights an AdamW step leaves unchanged, and check it with a per-step probe (Section II). We then audit 12 open VLA codebases and sample fine-tunes on the Hugging Face Hub (Section III). Finally, on LIBERO-Object [15], with rules fixed in advance, we compare three ways to store the trainable weights (Section IV). Two keep no fp32 copy: all-bf16 stores them all in bf16, and LeRobot's recipe stores most of them in bf16 (SmolVLA's default, or the bf16 flag of LeRobot's π0.5\pi_{0.5} guide). The third, the fp32 copy, stores them all in fp32.

References (44)