MEKAWIRE
ExpertarXiv

Dune: A Zeroth-Order Optimizer with Time-Conditioned Historical Error Regression for VLA Test-Time Adaptation

Chengyang Dong, Ze Chen, Kai Ye, Chutian Wang, Heng Xu, Wei Mo, Maomao Li, Jiayan Xu, Jiayuan Wu, Yihao Xiao, Linhua Ye, Zhonghua Peng, Ruize Han, Jialong Sun
From the abstract

Test-Time Adaptation (TTA) enables Vision-Language-Action (VLA) models to handle distribution shifts during deployment without source-domain retraining. However, backpropagation-based adaptation incurs heavy memory overhead on resource-constrained robots, whereas zeroth-order (ZO) methods suffer from high estimation variance under limited perturbation budgets.

From the abstract. Our summary is in progress.

Full paper

Dune: A Zeroth-Order Optimizer with Time-Conditioned Historical Error Regression for VLA Test-Time Adaptation

Chengyang Dong, Ze Chen, Kai Ye, Chutian Wang, Heng Xu, Wei Mo, Maomao Li, Jiayan Xu, Jiayuan Wu, Yihao Xiao, Linhua Ye, Zhonghua Peng, Ruize Han, Jialong Sun

Published under CC BY 4.0. Reproduced with attribution; original at arXiv:2611.25400 (PDF).

Abstract

Test-Time Adaptation (TTA) enables Vision-Language-Action (VLA) models to handle distribution shifts during deployment without source-domain retraining. However, backpropagation-based adaptation incurs heavy memory overhead on resource-constrained robots, whereas zeroth-order (ZO) methods suffer from high estimation variance under limited perturbation budgets. We observe that while ZO estimation enables low-memory adaptation with rapid initial gains, it often stalls or degrades over long-horizon updates due to noisy gradient estimates. To address these limitations, we propose Dune, a zeroth-order optimizer that stabilizes long-horizon adaptation by coupling online historical error prediction with current perturbation observations. Specifically, Dune learns a lightweight, time-conditioned error predictor from past optimization dynamics and fuses its predictions with instantaneous ZO estimates, achieving effective variance reduction without backpropagation or extra forward passes. Additionally, we theoretically characterize how estimation variance restricts convergence in high-dimensional, small-population regimes, motivating the use of historical statistics. Extensive experiments on LIBERO and real-world robots demonstrate that Dune achieves superior success rates under a low memory footprint, with ablations confirming improved closed-loop stability and post-disturbance recovery.

1 Introduction

Recent vision-language-action (VLA) models translate visual observations and language instructions into effective actions across a wide range of robotic manipulation and embodied control tasks [17, 3, 5, 4, 21, 7]. In dynamic environments, agents must reason over long spatiotemporal horizons and adapt their actions as conditions change. Most VLA models rely on large-scale offline pretraining [13, 23, 29, 16, 22]. They perform well on in-distribution tasks but struggle in out-of-distribution (OOD) settings, where they encounter tasks and environmental variations that pretraining data rarely cover [3, 13, 36].

Test-time adaptation (TTA) offers a way for VLA models to respond to distribution shifts during deployment [33, 1, 30, 24]. As a robot acts, incoming visual observations and the resulting environmental feedback provide supervision without expert action labels [14]. These signals can help the model adapt its perceptual representations and action decisions while retaining knowledge acquired during pretraining. On-device fine-tuning with first-order (FO) optimization remains difficult because the memory and compute demands of backpropagation (BP) can exceed the resources available on robotic platforms, particularly those that use low-bit quantized weights for inference [9, 27].

Figure 1: Loss and task success rate in a preliminary comparison of Dust and standard first-order optimizers for VLA test-time adaptation (VLA-TTA). Dust uses a perturbation population size of K=64 and converges faster early in adaptation. After 6,000 steps, its task success rate plateaus and then declines, while the first-order optimizers continue to improve steadily.

Zeroth-order (ZO) optimization reduces the memory cost of TTA by estimating gradients from forward evaluations under perturbations [2, 38, 41, 42]. MeZO uses this approach to fine-tune large language models with near-inference memory usage and achieves performance comparable to first-order fine-tuning on several downstream tasks [27]. Dust, a state-of-the-art ZO optimizer, uses activation-space perturbations and parallel evaluations to match or exceed the performance of backpropagation at large perturbation population sizes [8]. In our preliminary VLA-TTA experiment (Figure 1), Dust quickly approaches AdamW’s task success rate [19, 26]. After 6,000 steps, Dust’s success rate plateaus and then drops substantially, eventually reaching a level comparable to that of SignSGD. We refer to this pattern of stagnation followed by decline during long-horizon ZO adaptation as the performance plateau problem.

The performance plateau problem motivates Dune (Dust Using Nodewise Error-feedback), a memory-efficient ZO optimizer that uses regression over historical statistics to recover reliable update directions when perturbation noise overwhelms the dominant error signal. At each step, Dune constructs regression features from model output residuals and time buckets that encode the stage of adaptation. It uses historical statistics with decaying weights to predict layerwise error signals from these features. Dune then forms a weighted combination of these predictions and the current ZO perturbation observations to preserve the dominant direction of the error signal and suppress high-frequency perturbation noise. Finally, it updates the historical statistics with the raw perturbation observations from the current batch, allowing the regression to track changes as adaptation proceeds. This mechanism stabilizes long-horizon VLA-TTA while retaining the memory efficiency of ZO optimization. Our paper mainly makes the following contributions:

  • Dune Paradigm. To overcome performance plateaus in VLA-TTA, Dune predicts layer-wise error signals via online ridge regression over output residuals and flow-matching time buckets, fusing them with current perturbation observations for stable updates without backpropagation or extra forward passes. Performance Plateau Theory. Under Gaussian perturbation and convex quadratic objectives, we establish a loss recursion showing how estimation variance limits convergence in high-dimensional, small-population regimes, theoretically motivating historical error regression. Extensive Experiments. Across LIBERO benchmarks and real-world robots, Dune substantially boosts long-horizon task success rates with a significantly reduced memory footprint, while ablations confirm improved closed-loop stability and post-disturbance recovery.

2 Related Work

Vision–language–action models. Large-scale robot datasets and multimodal pretraining support the learning of general-purpose manipulation policies conditioned on vision and language [5, 4, 34, 17]. Follow-up work has explored continuous action generation and efficient deployment [3, 20, 32]. To improve planning on complex tasks, other approaches integrate intermediate reasoning into action generation through embodied chain-of-thought [40], visual subgoals [44], and latent planning [12]. These approaches strengthen policies through model architecture and training design, while adaptation at deployment addresses failures on tasks that pretraining data do not adequately cover.

Test-time adaptation for VLA models. Tent and CoTTA established approaches for online and continual adaptation, respectively [35, 37]. TPT and TDA extended TTA to vision–language models through prompt updates and dynamic caching, respectively [31, 15]. In embodied settings, fast and slow updates and feedback-driven reinforcement learning have been used for online vision–language navigation [10, 18]. TT-VLA, VANE, and PDF use task progress, future visual observations, and delayed feedback, respectively, to adapt VLA models [24, 14, 39]. Retrieve-then-Steer guides action generation by retrieving successful past experiences [43]. For methods that fine-tune the model at test time, limited on-device resources constrain the updates they can perform.

Optimization methods for test-time adaptation. FOA, FOZO, and CAZO reduce the cost of TTA by avoiding backpropagation through evolutionary strategies, ZO prompt optimization, and curvature-aware perturbations, respectively [28, 38, 41]. ZO-SVRG, MeZO-SVRG, and ZO-AdaMM explore variance reduction and the use of historical gradient information [11, 6, 25]. MeZO and Dust apply ZO optimization to language model fine-tuning and Transformer pretraining, respectively [27, 8]. In long-horizon VLA-TTA, perturbation noise can overwhelm the dominant error signal and weaken parameter updates. This motivates Dune’s approach to the performance plateau problem: combining current ZO perturbation observations with regression predictions from historical statistics to obtain more reliable estimates of layerwise error signals.

3 Motivation

The preceding results demonstrate the memory advantage and early convergence potential of ZO optimization for VLA-TTA. Maintaining stable updates over long horizons of online adaptation remains an open challenge. Two questions guide the design of Dune:

  • Why does ZO optimization degrade over long adaptation horizons in VLA-TTA?
  • How can we mitigate this degradation without backpropagation?

The mean squared error of a ZO gradient estimate depends strongly on the dimensionality of the model parameters. Lemma 3.1 quantifies this dependence for a Gaussian ZO gradient estimator.

Lemma 3.1 (MSE of ZO Gradient Estimation [2]).

Let x\in\mathbb{R}^{d} denote the model parameters, where d is the parameter dimension. Consider the linear objective f(x)=a^{\top}x, with a\in\mathbb{R}^{d}\setminus\{0\}. Given a perturbation scale \sigma>0 and a perturbation population size K\in\mathbb{N}_{+}, the Gaussian ZO gradient estimator \widehat{g}_{K}(x) constructed from independent and identically distributed Gaussian perturbations u_{1},\ldots,u_{K}\overset{\mathrm{i.i.d.}}{\sim}\mathcal{N}(0,I_{d}) satisfies:

\mathbb{E}\bigl[\|\widehat{g}_{K}(x)-\nabla f(x)\|^{2}\bigr]=\frac{d+1}{K}\|a\|^{2}.
(1)

Lemma 3.1 shows that the variance of the Gaussian ZO gradient estimate scales linearly with the parameter dimension d and inversely with the perturbation population size K. During adaptation in nonlinear deep networks, the norm of the true gradient, which provides the dominant signal for the update, decreases as the model approaches a locally optimal region. On-device memory and compute budgets typically constrain the perturbation population to be much smaller than the parameter dimension (d\gg K). In this regime, sampling variance can account for a growing share of the update as the true gradient weakens. The resulting decline in the signal-to-noise ratio (SNR) allows perturbation noise to gradually overwhelm the dominant signal. To quantify how estimation variance affects long-horizon convergence, we compare the loss recursions of first-order gradient descent (FO-GD) and ZO optimization on a convex quadratic objective in Theorem 3.2.

Assumption 1 (Convex quadratic objective).

Let x\in\mathbb{R}^{d} denote the model parameters. The objective has the quadratic form:

f(x)=\frac{1}{2}(x-x^{\star})^{\top}H(x-x^{\star}),\quad x\in\mathbb{R}^{d},
(2)

where x^{\star} is the global minimizer and H\succ 0\in\mathbb{R}^{d\times d}.

Theorem 3.2 (Loss recursions for zeroth-order optimization and first-order gradient descent).

Under Assumption 1, let g(x)=\nabla f(x) denote the true gradient. The parameter updates for FO-GD and ZO optimization are, respectively,

\displaystyle\textbf{FO-GD:}\quad x^{g}_{t+1}=x^{g}_{t}-\eta_{t}^{g}g(x_{t}^{g}), \\ \displaystyle\textbf{ZO:}\quad x^{z}_{t+1}=x^{z}_{t}-\eta_{t}^{z}\widehat{g}_{K}(x_{t}^{z}),

where \eta_{t}^{g},\eta_{t}^{z}>0 are the corresponding learning rates. The one-step loss recursions are:

\displaystyle f(x_{t+1}^{g}) \\ \displaystyle=f(x_{t}^{g})-\eta_{t}^{g}\|g(x_{t}^{g})\|^{2}+\frac{(\eta_{t}^{g})^{2}}{2}g(x_{t}^{g})^{\top}Hg(x_{t}^{g}), \\ \displaystyle\mathbb{E}_{t}[f(x_{t+1}^{z})] \\ \displaystyle=f(x_{t}^{z})-\eta_{t}^{z}\|g(x_{t}^{z})\|^{2}+\frac{(\eta_{t}^{z})^{2}}{2}g(x_{t}^{z})^{\top}Hg(x_{t}^{z}) \\ \displaystyle+\underbrace{\frac{(\eta_{t}^{z})^{2}}{2K}\left[g(x_{t}^{z})^{\top}Hg(x_{t}^{z})+\operatorname{tr}(H)\|g(x_{t}^{z})\|^{2}\right]}_{\text{ZO estimation variance term}}.

In the isotropic case (H=\mu I_{d}, \mu>0), if each method uses its optimal learning rate at every step, the losses after T>2 iterations satisfy:

\displaystyle\textbf{FO-GD:}\quad f(x_{T}^{g})=0, \\ \displaystyle\textbf{ZO:}\quad\mathbb{E}[f(x_{T}^{z})]=\left(\frac{d+1}{K+d+1}\right)^{T}f(x_{0}).

The proof of Theorem 3.2 refers to Appendix.

Remark 1: Theorem 3.2 shows that FO-GD rapidly drives the loss to zero with the optimal step size, whereas the convergence of ZO optimization is governed by the dimension-dependent factor \frac{d+1}{K+d+1}. In online VLA adaptation, the parameter dimension d is large, while inference latency and memory budgets keep the per-step perturbation population size K small. When d\gg K, the factor \frac{d+1}{K+d+1} is close to one, so the additional variance term limits how much the loss can decrease within a finite TTA budget of T steps. Combined with the accumulation of nonstationary noise under online distribution shifts, this slowdown helps explain the performance plateau problem observed in long-horizon VLA-TTA.

When the deployment budget limits K, we turn to historical observations to recover the dominant signal. During VLA-TTA on a continuous video stream, neighboring observations are closely related in space and time, and model parameters change gradually. Local error signals can therefore share structure across batches. Simply averaging past update directions gives limited ability to track changes in current output residuals and flow-matching timesteps. Dune instead uses conditional historical regression. It conditions on output residuals and flow-matching time buckets, uses historical decay and ridge regularization to fit a mapping from these features to each layer’s local error signal online, and forms a weighted combination of the historical regression predictions and the current ZO perturbation observations. This mechanism reduces estimation variance without additional forward evaluations for perturbations, yielding a higher-SNR update signal for long-horizon adaptation.

4 Method

Figure 2: Overview of Dune. The left panel shows the target layers in the Transformer, and the right panel illustrates activation perturbation, conditional historical regression, and error fusion. The upper inset depicts the residual between the current zeroth-order perturbation observation and the historical regression prediction, and shows how weighted fusion corrects the prediction.

We propose Dune, which extends Dust’s activation perturbation estimator with conditional historical regression. Dune combines historical regression predictions with current zeroth-order (ZO) perturbation observations to update model parameters. Figure 2 summarizes the method. During adaptation, Dune freezes the vision-language backbone and fine-tunes only the action expert and its associated projection layers. The procedure requires no global backpropagation.

4.1 Dust Activation Perturbation Estimation

Given the vision-language condition c and target action a, we sample Gaussian noise \epsilon and a flow-matching timestep \tau\in[0,1] to construct the interpolated state x_{\tau}=(1-\tau)a+\tau\epsilon. With the target velocity field u=\epsilon-a, we minimize the mean squared error (MSE) between the model prediction v=f_{\theta}(c,x_{\tau},\tau) and u.

Algorithm 1 Dune

Following Dust [8], we first run an unperturbed forward pass and cache the activations at each layer. We then inject a Gaussian perturbation \delta_{s}\xi_{s}^{(i)} into target layer s, where \delta_{s}=\sigma_{s}\operatorname{RMS}(h_{s}^{(0)}) is the perturbation scale and \xi_{s}^{(i)} is standard Gaussian noise. We compute the within-group centered reward \widetilde{c}_{bt}^{(i)} from the reduction in loss under perturbation and obtain the current ZO perturbation observation as:

\widehat{e}_{s,bt}^{\mathrm{D}}=-\frac{1}{K_{s}\delta_{s}}\sum_{i=1}^{K_{s}}\widetilde{c}_{bt}^{(i)}\xi_{s,bt}^{(i)},
(6)

where (b,t) indexes samples and action tokens, and K_{s} is the perturbation population size. Perturbation evaluation reuses cached upstream activations and recomputes only the affected downstream layers. Perturbations to the Q/K/V projections are scored using the local error at the attention output. For the action output head, we perturb the cached predictions directly and evaluate the resulting loss.

4.2 Time-Conditioned Error Prediction

Dune uses historical perturbation observations to learn an online mapping from model output residuals to local error signals at each target layer. Let r_{bt}=2M_{bt}(v_{bt}-u_{bt}) denote the output residual, where M_{bt} is the valid-token mask. We use quantiles of the flow-matching timesteps in the first batch to define B fixed flow-matching time buckets that capture differences in dynamics across denoising stages. We define the conditional regression features and error predictions as:

\phi_{bt}=\operatorname{onehot}(q(\tau_{b}))\otimes r_{bt},\qquad e_{s,bt}^{\mathrm{F}}=C_{s}^{\top}\phi_{bt},
(7)

where q(\tau_{b}) is the flow-matching time bucket index for sample b and C_{s}\in\mathbb{R}^{p\times d_{s}} is the mapping matrix. Here, p=Bm, m is the action dimension, and d_{s} is the activation width of layer s. This construction gives each time bucket its own residual-to-error mapping.

For batch k, we stack the conditional features and ZO perturbation observations row-wise into \Phi_{k} and \widehat{E}_{s,k}^{\mathrm{D}}, respectively. The batched historical regression prediction is then E_{s,k}^{\mathrm{F}}=\Phi_{k}C_{s,k}. Dune uses \widehat{E}_{s,k}^{\mathrm{D}} directly as the regression target, so fitting the mapping requires no explicit computation of the network Jacobian.

4.3 Historical Regression and Fusion Updates

Dune estimates the mapping matrix online using ridge regression with historical decay. It maintains shared feature statistics G and layer-specific cross-statistics H_{s}. For the current batch, it solves for the mapping using statistics accumulated through the previous batch:

(G_{k-1}+\lambda_{k-1}I)C_{s,k}=H_{s,k-1},\lambda_{k-1}=\rho\frac{\operatorname{tr}(G_{k-1})}{p},
(8)

where \rho>0 controls the regularization strength. If the historical statistics are zero, Dune sets the historical regression prediction to zero and skips the solve.

During the first T_{\mathrm{w}} adaptation steps, Dune updates the parameters using only the ZO perturbation observations while accumulating historical statistics. After this warm-up period, it combines the historical regression prediction with the current ZO perturbation observation:

E_{s,k}^{\mathrm{U}}=\begin{cases}\widehat{E}_{s,k}^{\mathrm{D}},&k\leq T_{\mathrm{w}},\\
(1-\alpha)E_{s,k}^{\mathrm{F}}+\alpha\widehat{E}_{s,k}^{\mathrm{D}},&k>T_{\mathrm{w}}.\end{cases}
(9)

The historical regression prediction E_{s,k}^{\mathrm{F}} captures the structure of the dominant error signal across batches, while the current ZO perturbation observation \widehat{E}_{s,k}^{\mathrm{D}} keeps the update responsive to the latest model state. After forming the fused error for the current batch, Dune updates the historical statistics online:

\displaystyle G_{k} \\ \displaystyle=\beta G_{k-1}+\Phi_{k}^{\top}\Phi_{k}, \\ \displaystyle H_{s,k} \\ \displaystyle=\beta H_{s,k-1}+\Phi_{k}^{\top}\widehat{E}_{s,k}^{\mathrm{D}}.

We initialize G_{0}=H_{s,0}=0. The historical decay coefficient \beta progressively downweights older observations. The regression always uses raw ZO perturbation observations as targets, and the statistics can be updated without storing previous samples.

Building on the three main components described above, we detail Dune in Algorithm 1.

5 Experiments

To verify the effectiveness of Dune for VLA-TTA, we will examine it from the following four perspectives:

  • Adaptation Performance: Can Dune effectively fine-tune VLA models and overcome performance plateaus during long-horizon test-time adaptation? In Section 5.2, we evaluate Dune on the LIBERO simulation benchmark and real-world robotic platforms against FO and zeroth-order ZO baselines.
  • Ablation Study: How does time-conditioned historical regression improve adaptation? In Section 5.3, we compare policies fine-tuned with and without time-conditioned historical regression to examine its effect on closed-loop trajectory stability and task recovery under external disturbances.
  • Computational Cost: Does Dune maintain a low memory footprint during adaptation? In Section 5.4, we measure the peak memory consumption and runtime overhead of Dune, demonstrating substantial memory savings over backpropagation-based methods with negligible overhead relative to pure zeroth-order baselines.
  • Interpretability: Does Dune exhibit favorable optimization dynamics? In Section 5.5, we inspect the curvature structures of Adam, Dust, and Dune throughout training to understand how historical error prediction preserves block-diagonal update patterns.
Table 1: Task success rates (SR, %) on LIBERO after 24,000 steps of fine-tuning from the pretrained SmolVLA checkpoint. For Dust, we report task success rates at step 12,000, during the performance plateau. All zeroth-order methods use a perturbation population size of K=8. Bold values indicate the best reported results. Underlined values indicate the second-best reported results.
  • SGD
    Type
    FO
    Spatial
    24.0
    Object
    34.0
    Goal
    31.6
    Long
    7.2
    Mean SR (%)
    24.2
  • SignSGD
    Type
    FO
    Spatial
    62.0
    Object
    58.2
    Goal
    63.0
    Long
    24.8
    Mean SR (%)
    52.0
  • AdamW
    Type
    FO
    Spatial
    74.6
    Object
    85.4
    Goal
    88.8
    Long
    64.4
    Mean SR (%)
    78.3
  • MeZO
    Type
    ZO
    Spatial
    0.0
    Object
    0.0
    Goal
    0.0
    Long
    0.0
    Mean SR (%)
    0.0
  • n-SPSA
    Type
    ZO
    Spatial
    0.0
    Object
    0.0
    Goal
    0.0
    Long
    0.0
    Mean SR (%)
    0.0
  • Dust
    Type
    ZO
    Spatial
    46.4
    Object
    59.4
    Goal
    57.2
    Long
    26.8
    Mean SR (%)
    47.5
  • Dune
    Type
    ZO
    Spatial
    64.2
    Object
    77.2
    Goal
    69.0
    Long
    35.2
    Mean SR (%)
    61.4
Table 2: Task success rate (SR) and mean completion time after fine-tuning on the real-world bimanual task with the AgileX PiPER-X robot.
  • AdamW
    SR (%)
    32.0
    Mean completion time (s)
    102
  • Dune
    SR (%)
    26.0
    Mean completion time (s)
    144
Figure 3: Simulation and real-world task settings. (a) Workspace crops from the external camera show one training demonstration per LIBERO suite. (b) A recorded PiperX box transfer: the left arm moves the box to the center handoff zone, and the right arm places it in the goal zone.
Figure 4: Recovery from an external disturbance in the stove task (initial state 1), using the same policies fine-tuned for 12,000 steps as in Figure 6. After each policy first completes the task, we manually reset the knob at t=70 for Dune and at t=73 for the policy without historical regression. Dune adjusts its actions and turns the stove back on at t=86. The policy without historical regression stalls at the knob until the 200-step recovery budget is exhausted. In the evaluation covering 10 initial states, the reported recovery counts are 9/10 for Dune and 4/8 for the policy without historical regression.

5.1 Experimental Setting

Model and simulation benchmark. In the main experiments, we fine-tune SmolVLA, a 240M-parameter VLA model, during test-time adaptation. We freeze the SmolVLM2 vision-language backbone and update only the action expert and its associated projection layers. We train and evaluate on all four task suites of the LIBERO benchmark, which comprise 40 manipulation tasks, 1,693 expert demonstration trajectories, and 273,465 image frames. At each timestep, the model receives 256\times 256 RGB images from two viewpoints, the robot’s proprioceptive state, and a natural language instruction. Figure 3 shows representative simulation scenes from the four suites. We use task success rate (SR) as the primary metric across all benchmarks. In LIBERO, each rollout receives a score of 1 if the task succeeds and 0 otherwise.

Real-world robot task. We evaluate deployment on an AgileX PiPER-X bimanual robot equipped with three RGB cameras. An inference node with a single NVIDIA GeForce RTX 4090 GPU runs the policy at a target control frequency of 40 Hz. We design a bimanual box transfer task in which the robot alternates between its left and right arms to move a box from the left side of the workbench, through an intermediate handoff point, to a target area on the right. Figure 3 shows the three interaction locations marked with tape.

Baselines. To evaluate Dune, we compare three FO optimizers and three ZO optimizers that operate without backpropagation. We fine-tune SmolVLA with each optimizer under the same test-time adaptation protocol.

  • SGD (FO). Standard stochastic gradient descent updates parameters using FO gradients computed by backpropagation.
  • SignSGD (FO). This sign-based optimizer uses only the signs of the backpropagated gradients to take fixed-size steps. Sign-based updates are commonly used to reduce the cost of communicating and quantizing gradients.
  • AdamW (FO). This adaptive optimizer uses decoupled weight decay and serves as the performance reference for backpropagation-based fine-tuning.
  • n-SPSA (ZO). This multi-sample simultaneous perturbation stochastic approximation method estimates gradients from forward-pass loss differences across multiple random perturbations in parameter space.
  • MeZO (ZO). This memory-efficient optimizer uses in-place random perturbations and two forward passes to estimate gradients.
  • Dust (ZO). This state-of-the-art optimizer uses activation-space perturbations to estimate error signals.

5.2 Evaluation of Dune

Simulation results. Table 1 reports task success rates after 24,000 steps of test-time fine-tuning from the pretrained SmolVLA checkpoint. MeZO and n-SPSA achieve a 0% success rate in every suite. Dust makes initial progress with activation-space perturbations, but its performance degrades over long adaptation horizons. Dune achieves a mean success rate of 61.4% without global backpropagation. It outperforms SGD (24.2%) and SignSGD (52.0%) on all four suites and narrows the gap to AdamW (78.3%). These results support the use of conditional historical regression to suppress estimation variance in high-dimensional settings.

Real-world results. We collect 99 teleoperated demonstration trajectories on the physical robot, totaling 90,904 image frames, to fine-tune SmolVLA. A trial succeeds if the robot completes the bimanual box transfer within 200 s. As shown in Table 2, Dune achieves a 26% success rate without global backpropagation, within 6 percentage points of AdamW (32%). This result supports the feasibility of deploying Dune on a physical robot.

Figure 5: Evolution of block-diagonal curvature structure in Adam, Dust, and Dune during training.
Figure 6: Closed-loop end-effector trajectories after independently fine-tuning the pretrained SmolVLA model for 12,000 steps in each setting. Each task starts from a fixed initial state (state 1 for the drawer task and state 6 for the stove task). We evaluate each policy with 16 samples of flow-matching initial noise per task. Green and red trajectories indicate successful and failed trials, respectively. Dots mark trajectory endpoints. The top row shows the full Dune model. The bottom row shows the ablation without time-conditioned historical regression.

5.3 The Robustness of Dune

Effectiveness of Time-Conditioned Historical Regression. The dynamics of flow-matching action generation vary across timesteps. To evaluate the contribution of time-conditioned historical regression to Dune, we fine-tune the pretrained SmolVLA model with and without this historical regression module. Removing historical regression yields a baseline that relies solely on current zeroth-order perturbation observations. As shown in Figure 6, historical regression exploits the structure in past residuals across flow-matching time buckets to produce more stable closed-loop trajectories, with fewer divergent motions and task failures. These results suggest that historical regression provides reliable update guidance without global backpropagation.

Task recovery under external disturbances. We also evaluate how the policies respond to sudden changes in the environment. After the robot first completes the task, we manually reset the environment state, for example by turning the knob back to its original position. The policy then has 200 additional interaction steps to complete the task again. As shown in Figure 4, the policy fine-tuned with historical regression adjusts smoothly to the abrupt state change and completes the task again. In contrast, the policy trained without historical regression stalls after the disturbance, consistent with a noisier update signal during adaptation.

5.4 The GPU Memory of Dune

ZO optimization drastically reduces memory consumption on resource-constrained devices by eliminating the storage of intermediate activation graphs required by BP. As shown in Table 3, Dune incurs a negligible overhead of only 150 MiB over Dust for maintaining the compact historical statistics . Its peak GPU memory footprint of 10,898 MiB represents a 41.3% reduction compared to BP-based AdamW (18,578 MiB), enabling full online TTA fine-tuning on consumer-grade 11 GB GPUs (e.g., NVIDIA GTX 1080 Ti or GTX TITAN X) without auxiliary memory-saving techniques such as gradient checkpointing or parameter offloading.

Table 3: Comparison of peak GPU memory footprint and minimum hardware requirements during SmolVLA fine-tuning (perturbation population size K=4, batch size 64).
  • AdamW
    GPU Memory
    18,578MiB
    Minimum Compatible GPU
    RTX 3090 (24 GB)
  • Dust
    GPU Memory
    10,748MiB
    Minimum Compatible GPU
    GTX 1080 Ti / GTX TITAN X
  • Dune
    GPU Memory
    10,898MiB
    Minimum Compatible GPU
    GTX 1080 Ti / GTX TITAN X

5.5 Interpretability Analysis of Dune

Curvature structure. To examine how Dune’s design affects optimization dynamics, we compare the curvature structures of Adam, Dust, and Dune in Figure 5. Ideally, second-order or adaptively preconditioned updates exhibit a clear block-diagonal structure. Adam maintains a pronounced block-diagonal pattern across the matrix throughout training. In contrast, Dust only briefly displays a local block-diagonal structure early in training before its diagonal blocks rapidly fade, which aligns with the observed performance plateau. Dune preserves this block-diagonal structure much more clearly than Dust, yielding a curvature pattern that closely resembles Adam’s.

Furthermore, Figure 7 tracks the evolution of Hessian spectral properties—specifically the smallest eigenvalue and spectral radius—across training steps (2k to 18k). Over long-horizon updates, Dune closely tracks Adam’s smooth, nearly monotonic progression in both metrics, gradually mitigating negative curvature while keeping the spectral radius tightly bounded. Conversely, Dust suffers from severe, erratic fluctuations, exhibiting sharp spikes in spectral radius and deep drops into negative eigenvalues, which explains its optimization instability and performance degradation.

Figure 7: Evolution of Hessian spectral properties across training steps (2k–18k) for Adam, Dust, and Dune.

6 Limitations

The time–memory trade-off in ZO optimization illustrates the “no free lunch” principle. Substantial savings in GPU memory come at the cost of additional forward computation. As a result, ZO methods typically take longer to converge in wall-clock time than FO methods. Dune substantially reduces the GPU memory needed to store optimizer states, but running the same training workload with Dune takes several times as long as with Adam. This runtime gap is a key limitation of Dune and motivates further work on accelerating ZO gradient estimation in high-dimensional parameter spaces.

7 Conclusion

We propose Dune, a zeroth-order optimizer that fuses online historical error regression with current perturbation observations to mitigate performance plateaus during long-horizon VLA test-time adaptation. Conditioned on flow-matching time buckets, Dune estimates local error signals via decayed ridge regression without global backpropagation or additional forward passes, grounded in our theoretical analysis of variance-induced convergence bottlenecks. Experiments across LIBERO benchmarks and real-world robots show that Dune improves task success rates, closed-loop stability, and post-disturbance recovery under a low memory budget, demonstrating the strong potential of zeroth-order optimization for scalable, backpropagation-free adaptation in embodied AI.

LLM Usage Statement

OpenAI services were used to assist with coding, and the accuracy of the resulting code was checked by the two co-first authors. Gemini was used to assist with language polishing, and the accuracy of the revised text was checked by the corresponding author.

References

  1. [1] Z. Bai, C. Gao, and M. Z. Shou (2025) Evolve-vla: test-time training from environment feedback for vision-language-action models. arXiv preprint arXiv:2512.14666.
  2. [2] A. S. Berahas, L. Cao, K. Choromanski, and K. Scheinberg (2021) A theoretical and empirical comparison of gradient approximations in derivative-free optimization. External Links: 1905.01332, Link
  3. [3] K. Black, N. Brown, D. Driess, A. Esmail, M. Equi, C. Finn, N. Fusai, L. Groom, K. Hausman, B. Ichter, et al. (2024) pi_{0}: A vision-language-action flow model for general robot control. arXiv preprint arXiv:2410.24164.
  4. [4] A. Brohan, N. Brown, J. Carbajal, Y. Chebotar, X. Chen, K. Choromanski, T. Ding, D. Driess, A. Dubey, C. Finn, et al. (2023) Rt-2: vision-language-action models transfer web knowledge to robotic control. arXiv preprint arXiv:2307.15818.
  5. [5] A. Brohan, N. Brown, J. Carbajal, Y. Chebotar, J. Dabis, C. Finn, K. Gopalakrishnan, K. Hausman, A. Herzog, J. Hsu, et al. (2022) Rt-1: robotics transformer for real-world control at scale. arXiv preprint arXiv:2212.06817.
  6. [6] X. Chen, S. Liu, K. Xu, X. Li, X. Lin, M. Hong, and D. Cox (2019) Zo-adamm: zeroth-order adaptive momentum method for black-box optimization. Advances in neural information processing systems 32.
  7. [7] Z. Chen, Y. Gao, L. Wang, Y. Zhao, Y. Liu, J. Li, X. Zheng, Z. Wu, C. Wang, X. Ma, and Y. Jiang (2026) HazardArena: evaluating semantic safety in vision-language-action models. External Links: 2604.12447, Link
  8. [8] S. Dahal, B. Mandal, S. Gülbahar, and A. Vegesna (2026) Dust: pretraining transformers without backpropagation. External Links: Link
  9. [9] T. Dettmers, A. Pagnoni, A. Holtzman, and L. Zettlemoyer (2023) Qlora: efficient finetuning of quantized llms. Advances in neural information processing systems 36, pp. 10088–10115.
  10. [10] J. Gao, X. Yao, and C. Xu (2023) Fast-slow test-time adaptation for online vision-and-language navigation. arXiv preprint arXiv:2311.13209.
  11. [11] T. Gautam, Y. Park, H. Zhou, P. Raman, and W. Ha (2024) Variance-reduced zeroth-order methods for fine-tuning language models. arXiv preprint arXiv:2404.08080.
  12. [12] C. Huang, Y. Wu, M. Chen, F. Wang, and F. Yang (2026) Thinkact: vision-language-action reasoning via reinforced visual latent planning. Advances in Neural Information Processing Systems 38, pp. 82782–82802.
  13. [13] P. Intelligence, K. Black, N. Brown, J. Darpinian, K. Dhabalia, D. Driess, A. Esmail, M. Equi, C. Finn, N. Fusai, et al. (2025) pi_{0.5} : A vision-language-action model with open-world generalization. arXiv preprint arXiv:2504.16054.
  14. [14] H. Ji, G. Xia, L. Sun, F. Feng, and L. Ren (2026) Vane: reliable test-time training for vision-language-action models via future visual representation prediction. arXiv preprint arXiv:2608.09448.
  15. [15] A. Karmanov, D. Guan, S. Lu, A. El Saddik, and E. Xing (2024) Efficient test-time adaptation of vision-language models. In 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 14162–14171.
  16. [16] A. Khazatsky, K. Pertsch, S. Nair, A. Balakrishna, S. Dasari, S. Karamcheti, S. Nasiriany, M. K. Srirama, L. Y. Chen, K. Ellis, et al. (2024) Droid: a large-scale in-the-wild robot manipulation dataset. arXiv preprint arXiv:2403.12945.
  17. [17] M. J. Kim, K. Pertsch, S. Karamcheti, T. Xiao, A. Balakrishna, S. Nair, R. Rafailov, E. Foster, G. Lam, P. Sanketi, et al. (2024) Openvla: an open-source vision-language-action model. arXiv preprint arXiv:2406.09246.
  18. [18] S. Kim, G. Oh, H. Ko, D. Ji, D. Lee, B. Lee, S. Jang, and S. Kim (2025) Test-time adaptation for online vision-language navigation with feedback-based reinforcement learning. In Forty-second International Conference on Machine Learning,
  19. [19] D. P. Kingma and J. Ba (2014) Adam: a method for stochastic optimization. arXiv preprint arXiv:1412.6980.
  20. [20] Q. Li, Y. Liang, Z. Wang, L. Luo, X. Chen, M. Liao, F. Wei, Y. Deng, S. Xu, Y. Zhang, et al. (2024) Cogact: a foundational vision-language-action model for synergizing cognition and action in robotic manipulation. arXiv preprint arXiv:2411.19650.
  21. [21] X. Li, X. Zheng, Y. Gao, X. Xia, Y. Wang, X. Wang, Y. Sun, Y. Zhao, M. Wen, J. Li, Z. Chen, X. Gong, Y. Liu, Y. Li, Y. Wu, C. Wang, J. Sun, Y. Cao, Z. Chen, J. Chen, T. Gui, Q. Zhang, Z. Wu, X. Qiu, X. Huang, T. Zhang, Z. Wei, K. Wang, X. Li, H. Huang, S. Erfani, J. Bailey, J. Wang, C. Xiao, R. He, B. Li, X. Ma, and Y. Jiang (2026) Safety in embodied ai: a survey of risks, attacks, and defenses. External Links: 2605.02900, Link
  22. [22] T. Lin, Y. Du, J. Liu, N. Zhu, Y. Li, Y. Fu, Y. Chen, H. Cai, Z. Ye, B. Cheng, K. Ye, Y. Mao, Y. Zhong, M. Dong, J. Yan, G. Li, and B. Zhao (2026) Evo-depth: a lightweight depth-enhanced vision-language-action model. External Links: 2605.14950, Link
  23. [23] B. Liu, Y. Zhu, C. Gao, Y. Feng, Q. Liu, Y. Zhu, and P. Stone (2023) Libero: benchmarking knowledge transfer for lifelong robot learning. Advances in Neural Information Processing Systems 36, pp. 44776–44791.
  24. [24] C. Liu, Y. Liu, T. Wang, Q. Zhuang, J. C. Liang, W. Yang, R. Xu, Q. Wang, D. Liu, and C. Han (2026) On-the-fly vla adaptation via test-time reinforcement learning. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 40107–40125.
  25. [25] S. Liu, B. Kailkhura, P. Chen, P. Ting, S. Chang, and L. Amini (2018) Zeroth-order stochastic variance reduction for nonconvex optimization. Advances in neural information processing systems 31.
  26. [26] I. Loshchilov and F. Hutter (2017) Decoupled weight decay regularization. arXiv preprint arXiv:1711.05101.
  27. [27] S. Malladi, T. Gao, E. Nichani, A. Damian, J. D. Lee, D. Chen, and S. Arora (2023) Fine-tuning language models with just forward passes. Advances in Neural Information Processing Systems 36, pp. 53038–53075.
  28. [28] S. Niu, C. Miao, G. Chen, P. Wu, and P. Zhao (2024) Test-time model adaptation with only forward passes. arXiv preprint arXiv:2404.01650.
  29. [29] A. O’Neill, A. Rehman, A. Maddukuri, A. Gupta, A. Padalkar, A. Lee, A. Pooley, A. Gupta, A. Mandlekar, A. Jain, et al. (2024) Open x-embodiment: robotic learning datasets and rt-x models: open x-embodiment collaboration 0. In 2024 IEEE International Conference on Robotics and Automation (ICRA), pp. 6892–6903.
  30. [30] S. Park, W. Kim, Y. In, S. Kim, H. Kang, and C. Park (2026) Test-time training for visual foresight vision-language-action models. arXiv preprint arXiv:2605.08215.
  31. [31] M. Shu, W. Nie, D. Huang, Z. Yu, T. Goldstein, A. Anandkumar, and C. Xiao (2022) Test-time prompt tuning for zero-shot generalization in vision-language models. Advances in Neural Information Processing Systems 35, pp. 14274–14289.
  32. [32] M. Shukor, D. Aubakirova, F. Capuano, P. Kooijmans, S. Palma, A. Zouitine, M. Aractingi, C. Pascal, M. Russi, A. Marafioti, et al. (2025) Smolvla: a vision-language-action model for affordable and efficient robotics. arXiv preprint arXiv:2506.01844.
  33. [33] Y. Sun, X. Wang, Z. Liu, J. Miller, A. Efros, and M. Hardt (2020) Test-time training with self-supervision for generalization under distribution shifts. In International conference on machine learning, pp. 9229–9248.
  34. [34] O. M. Team, D. Ghosh, H. Walke, K. Pertsch, K. Black, O. Mees, S. Dasari, J. Hejna, T. Kreiman, C. Xu, et al. (2024) Octo: an open-source generalist robot policy. arXiv preprint arXiv:2405.12213.
  35. [35] D. Wang, E. Shelhamer, S. Liu, B. Olshausen, and T. Darrell (2020) Tent: fully test-time adaptation by entropy minimization. arXiv preprint arXiv:2006.10726.
  36. [36] G. Wang, C. Zhang, Q. Liu, J. Zhang, J. Cai, J. Liu, and X. Liu (2026) LIBERO-x: robustness litmus for vision-language-action models. arXiv preprint arXiv:2602.06556.
  37. [37] Q. Wang, O. Fink, L. Van Gool, and D. Dai (2022) Continual test-time domain adaptation. In 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 7191–7201.
  38. [38] X. Wang and T. Wang (2026) FOZO: forward-only zeroth-order prompt optimization for test-time adaptation. arXiv preprint arXiv:2603.04733.
  39. [39] Z. Zang, X. Wang, F. Sun, X. Xu, L. Lium, J. Zhou, and J. Li (2026) Test-time perturbation learning with delayed feedback for vision-language-action models. arXiv preprint arXiv:2604.18107.
  40. [40] M. Zawalski, W. Chen, K. Pertsch, O. Mees, C. Finn, and S. Levine (2024) Robotic control via embodied chain-of-thought reasoning. arXiv preprint arXiv:2407.08693.
  41. [41] J. Zhang, S. Yin, P. Liu, R. Ying, and F. Wen (2026) Curvature-aware zeroth-order optimization for memory-efficient test-time adaptation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 836–846.
  42. [42] R. Zhang, S. Niu, Q. Deng, Y. Dong, J. Chen, and R. Zeng (2026) ZOTTA: test-time adaptation with gradient-free zeroth-order optimization. arXiv preprint arXiv:2603.14254.
  43. [43] J. Zhao, H. Yang, Y. Hu, Y. Gao, Q. Ou, C. Wan, S. Dong, Z. Ma, and Y. Gong (2026) Retrieve-then-steer: online success memory for test-time adaptation of generative vlas. arXiv preprint arXiv:2605.10094.
  44. [44] Q. Zhao, Y. Lu, M. J. Kim, Z. Fu, Z. Zhang, Y. Wu, Z. Li, Q. Ma, S. Han, C. Finn, et al. (2025) Cot-vla: visual chain-of-thought reasoning for vision-language-action models. In 2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 1702–1713.