LoCo-WAM: Test-Time Training as Long Context for World-Action Models
World-action models guide robot actions by predicting what happens next, but typically condition on a short observation history. Extending this history increases computation at every decision and can require a separately trained model.
From the abstract. Our summary is in progress.
Full paper
LoCo-WAM: Test-Time Training as Long Context for World-Action Models
Published under CC BY-NC-SA 4.0. Reproduced with attribution; original at arXiv:2611.26853 (PDF).
Abstract
World-action models guide robot actions by predicting what happens next, but typically condition on a short observation history. Extending this history increases computation at every decision and can require a separately trained model. We introduce LoCo-WAM, which learns from the outcomes of its actions through test-time training while keeping the same short history length. It uses newly observed frames to update a low-rank adapter in the video expert, whose adapted predictions guide subsequent actions. The updates accumulate within each episode and are reset between episodes, allowing past observations to influence decisions after they leave the input window. LoCo-WAM thus learns from a longer stream of experience without expert action labels, additional data or meta-training. Experiments on two world-action models show improved task success across four simulation benchmarks. On RoboCasa GR-1, a model with 2.4 s of history matches one trained with 9.6 s, while a model with 4.8 s exceeds it by 4.8 percentage points. Our analysis shows that the updates improve prediction of upcoming frames, affect the action mainly through adaptation of the imagined future, and have an increasing effect on actions as the episode unfolds.
1 Introduction
Human behavior combines knowledge acquired over time with rapid learning from new experience, as described by complementary learning systems theory [35]. In motor control, discrepancies between predicted and observed sensory outcomes can drive adaptation during action [43]. These findings motivate learning during robot execution, where the outcomes of actions provide feedback for the predictions that guide subsequent behavior [37].
World-action models [13, 31, 24, 30, 21] provide a natural setting for such learning. They predict future frames together with actions, drawing on video pretraining to learn how scenes evolve. In the models we study, the imagined future guides action generation. After the robot acts, the observed frames provide targets for the model’s own video loss. As interactions within a task share objects, surroundings and dynamics, learning from these frames may improve predictions of what happens next. The updated predictions can then guide subsequent actions.
This learning allows experience to influence behavior beyond a fixed observation window. Most world-action models condition on a short history, which limits the past observations available at each decision. Extending the history [21, 30] increases computation and can require a separately trained model. Selecting or compressing the history requires components that are trained together with the policy [49, 54, 46]. Updating the model on the observed frames provides another way to use the past observations. These updates are a form of test-time training, a family of methods that update a model on each test input with a self-supervised loss [40], which has been extended to language and video generation models [50, 17, 42, 41, 12].
We introduce LoCo-WAM, a test-time training method for world-action models, which trains the video expert during execution with its video loss on the observed frames. At every decision, LoCo-WAM takes one gradient step on a low-rank adapter [18] of the video expert to predict the most recently observed frames from the history that preceded them. It keeps the action expert unchanged and resets the adapter at the start of every episode. Since the adapter accumulates these updates over the episode, the video expert is trained on frames that have already left its history. The action expert then generates the next action from the imagined future and the features of the adapted video expert. LoCo-WAM thereby requires no labels, rewards, additional data, new layers or meta-training, keeps the history length of the model, and can run its update while the robot executes the current action chunk.
We evaluate LoCo-WAM on two world-action models, Long-WAM [21] and LingBot-VA [30], and four simulation benchmarks: RoboCasa GR-1 [4], RoboCasa365 [36], LIBERO-Mem [11] and RoboTwin 2.0 [8]. LoCo-WAM improves the base model on all four benchmarks. On RoboCasa GR-1, Long-WAM with 2.4 s of history reaches 73.6% with LoCo-WAM, on par with the base model trained with 9.6 s of history, at 0.76 s per decision compared with 0.67 s and without training a separate model. With 4.8 s of history, it reaches 78.3%, 4.8 points above the 9.6 s model (Fig. 1). On LIBERO-Mem, LingBot-VA with an 8-chunk history matches its default 30-chunk history. On both benchmarks, LoCo-WAM also outperforms test-time methods for robot policies, including AdaWorldPolicy [55], which adapts the world model across the episodes of a task, and RoboTTT [23], which meta-trains fast-weight layers.
Our analysis on RoboCasa GR-1 examines what an update of the video expert learns from the observed frames, how it reaches the action, and how its effect develops over the episode. The update improves the prediction of upcoming frames before they are used for training, with larger reductions in video loss for shorter histories. Using the model’s own predictions as targets in place of the observed frames removes the gain in success rate. The update affects the action mainly through the imagined future, since applying it only when the video expert predicts this future recovers most of the gain. We further show that updating only the video expert performs better than also updating the action expert with the action loss. Over the episode, the change of the action accumulates, and stopping the updates early removes most of the gain.
In summary, our contributions are:
- We introduce LoCo-WAM, test-time training as long context for world-action models: the video expert is trained during execution with its video loss on the observed frames, without labels, additional data or meta-training.
- On two world-action models and four simulation benchmarks, LoCo-WAM improves the base model on all four benchmarks, enables a model with a short history to match or exceed the base model with a longer history, and outperforms prior test-time methods for robot policies.
- We analyze how the update of the video expert reaches the action: it improves the prediction of upcoming frames from the observed frames, affects the action mainly through the imagined future, and the change of the action it causes accumulates over the episode.
2 Related Work
World-action models.
World-action models predict future frames together with actions, which enables them to benefit from large-scale video pretraining and to use the predicted future to choose actions [13, 27, 26, 37, 9]. Examples include UniPi [13], GR-1 [52], VPP [19], UVA [31], UWM [62], Cosmos Policy [24], OpenWAM [51], Fast-WAM [56] and LingBot-VA [30], many of which pair a pretrained video model that predicts the future frames with an action model that generates the actions from this prediction.
Many manipulation tasks are long-horizon, and the information needed to act, such as which steps have already been completed, is often no longer visible in the current observation, so a policy has to rely on its history. Most world-action models, however, condition on a single frame or a short history. Some methods train the model with longer histories, with a separate model for each history length in Long-WAM [21] and with long video-action sequences in LingBot-VA [30]. Others select or compress the history, with a downsampled history stream in HiLo-WAM [49], anchor frames and gist tokens in MemoryWAM [54], event memory banks in DiM-WAM [46], and the first observation next to the recent history in ReCAP [53]. LoCo-WAM keeps the short-history model and trains it at test time on the observed frames, which enables it to reach the performance of a longer history.
Test-time training.
Test-time training updates a model on each test input with a self-supervised loss and was introduced to handle distribution shift [40, 45, 15, 47]. For long context, dynamic evaluation [28], Temp-LoRA [50], TTT-E2E [42] and SlowFast-VGen [17] update the weights of the model, or a temporary LoRA, on the context during inference, and TTT layers [41], Titans [2], LaCT [59] and One-Minute Video Generation [12] build such updates into the architecture as fast-weight layers. LoCo-WAM belongs to the first group and trains a low-rank adapter of a world-action model with its own video loss. In a world-action model, the self-supervised task, video prediction, shares the video expert with the main task, the prediction of the action.
In robotics, PAD [16] adapts a visuomotor policy during deployment with a self-supervised loss. AdaWorldPolicy [55], WorldAgen [44] and T3VF [38] adapt a world model with its prediction loss, mainly to handle distribution shift, and SALT [29] adapts the action side under visual disruptions. RoboTTT [23] and WAM-TTT [14] meta-train fast-weight layers, to extend the context of a policy and to learn from human videos, respectively. Test-time reinforcement learning [1, 32] updates a policy with a reward signal. LoCo-WAM updates the video expert with its own video loss on the observed frames and resets the adapter after every episode, without meta-training or rewards.
3 Method
This section presents LoCo-WAM. We first describe how a world-action model acts from a fixed history (Sec. 3.1). We then introduce LoCo-WAM, which trains a world-action model at test time on the current episode with its pretraining losses (Sec. 3.2). Finally, we describe the setting used in our experiments, which updates only the video expert, and how the update reaches the action (Sec. 3.3).
3.1 World-action models with a fixed history
A world-action model consists of a video expert with parameters \Phi_{v} and an action expert with parameters \Phi_{a}. At decision t, it receives the recent observation history H_{t} of a fixed length P, together with the language instruction and the proprioceptive state. The video expert first predicts the latents of the upcoming frames from the history, independently of the action tokens of the current chunk, and the action expert then samples the next action chunk conditioned on the history and this prediction:
\displaystyle\hat{z}_{t} \\ \displaystyle=\operatorname{Rollout}_{\Phi_{v}}\big(\epsilon^{v}\mid H_{t}\big), \\ \displaystyle a_{t} \\ \displaystyle=\operatorname{Denoise}_{\Phi_{a}}\big(\epsilon^{a}\mid H_{t},\hat{z}_{t};\,\Phi_{v}\big),where \operatorname{Rollout} and \operatorname{Denoise} are multi-step denoising processes, \epsilon^{v} and \epsilon^{a} are independent Gaussian noise, and \hat{z}_{t} denotes the predicted latents of the imagined future. In this predict-then-act structure, the action expert acts as an inverse dynamics model that infers the action from the observation history and the predicted future. The video expert thus not only produces the imagined future in \operatorname{Rollout} but also computes the features of the history and the imagined future that the action expert reads in \operatorname{Denoise}. The executed action chunk then produces the next observations, which enter the history H_{t+1} of the next decision.
Both experts are trained with flow matching. For a noise level \sigma\in[0,1], distinct from the decision index t, a clean target x is mixed with Gaussian noise \epsilon as x^{\sigma}=(1-\sigma)\,x+\sigma\,\epsilon, and the model predicts the velocity \epsilon-x:
\displaystyle\mathcal{L}_{\text{video}}(\Phi_{v}) \\ \displaystyle=\mathbb{E}\big\|v_{\Phi_{v}}(z^{\sigma},\sigma\mid H)-(\epsilon-z)\big\|_{2}^{2}, \\ \displaystyle\mathcal{L}_{\text{action}}(\Phi_{a}) \\ \displaystyle=\mathbb{E}\big\|u_{\Phi_{a}}(a^{\sigma},\sigma\mid H,\tilde{z};\Phi_{v})-(\epsilon-a)\big\|_{2}^{2},where H is the history of a training window, z the ground-truth latents of the frames that follow it, and \tilde{z} the corresponding noisy latents. The total objective is \mathcal{L}=\mathcal{L}_{\text{video}}+\lambda\,\mathcal{L}_{\text{action}}. Because the history length P is fixed during training, information older than P frames is not available to the model. Using a longer history requires training a model with a longer context, which also processes more tokens at every decision.
3.2 Test-time training of world-action models
LoCo-WAM trains a world-action model at test time on the current episode, without changing its pretrained weights or its history length. LoCo-WAM parameterizes the test-time update with a low-rank adapter [18] in each expert, so that each adapted linear layer computes
W^{\prime}=W+\frac{\alpha}{r}BA,where W is the frozen pretrained weight, A and B are matrices of rank r, \alpha is a scaling factor, and B is initialized to zero, so that the adapted model equals the pretrained model at the start of every episode.
We denote the adapters of the video and action experts by \Theta_{v} and \Theta_{a}. At every decision t, LoCo-WAM forms a training sample from the most recent window of the episode whose future frames have all been observed. Its input is the history H preceding the window, and its targets are the latents z of the frames observed in it and the action chunk a executed at its start. Each loss updates the adapter of the expert it supervises:
\displaystyle\Theta_{v} \\ \displaystyle\leftarrow\Theta_{v}-\eta_{v}\,\operatorname{clip}\big(\nabla_{\Theta_{v}}\mathcal{L}_{\text{video}}(\Phi_{v}+\Theta_{v})\big), \\ \displaystyle\Theta_{a} \\ \displaystyle\leftarrow\Theta_{a}-\eta_{a}\,\operatorname{clip}\big(\nabla_{\Theta_{a}}\mathcal{L}_{\text{action}}(\Phi_{a}+\Theta_{a})\big),where \operatorname{clip} denotes gradient clipping, and at every decision Eq. 6 and Eq. 7 are applied for S_{v} and S_{a} steps, with learning rates and step counts chosen independently for the two experts. The adapters persist across the decisions of an episode and are reset at the beginning of each episode. LoCo-WAM therefore requires no labels, no additional data and no meta-training, since its targets are the observations and actions of the episode and its losses are those of pretraining.
3.3 From the video update to the action
In our design, LoCo-WAM updates only the video expert with Eq. 6. The targets of the video loss are frames produced by the environment, which the model could not observe when it made its prediction, and updating the video expert thus corrects its prediction with information from the episode. Algorithm 1 summarizes the procedure.
At inference, the adapted video expert \Phi_{v}+\Theta_{t}, with \Theta_{t} the adapter after the update at decision t, replaces \Phi_{v} in both Eq. 1 and Eq. 2, while the action expert is unchanged:
\displaystyle\hat{z}_{t} \\ \displaystyle=\operatorname{Rollout}_{\Phi_{v}+\Theta_{t}}\big(\epsilon^{v}\mid H_{t}\big), \\ \displaystyle a_{t} \\ \displaystyle=\operatorname{Denoise}_{\Phi_{a}}\big(\epsilon^{a}\mid H_{t},\hat{z}_{t};\,\Phi_{v}+\Theta_{t}\big).Equation 8 describes the effect of the update on the video. Since \Theta_{t} is trained on the frames observed in the episode, it adapts the imagined future to the dynamics of this episode. Equation 9 describes its effect on the action, which arises in two ways, through the imagined future \hat{z}_{t} and through the features of the history and the imagined future that the adapted video expert computes in \operatorname{Denoise}. Section 4.5 analyzes both effects empirically.
Asynchronous update. In the synchronous form, the S_{v} update steps of each decision, each requiring one forward and one backward pass through the adapted layers of the video expert, add to the latency from observation to action. To reduce this latency, the update can run asynchronously. Since the robot executes the current action chunk before the next decision, the update runs concurrently with execution, and \Theta_{t} in Eqs. 8 and 9 is replaced by \Theta_{t-1}, the adapter obtained after all S_{v} steps of the previous decision. This requires the S_{v} steps to finish within the execution of one action chunk. Unless marked as asynchronous, results use the synchronous update.
4 Experiments
4.1 Setup
Evaluation benchmarks.
We apply LoCo-WAM to Long-WAM [21] and LingBot-VA [30], two world-action models that condition on a fixed history. We evaluate each base model on two closed-loop simulation benchmarks under the official protocols, run each setting three times, and report the mean and standard deviation of the success rate in percent.
RoboCasa GR-1. RoboCasa GR-1 [4] consists of 24 tabletop tasks for a GR-1 humanoid, 18 pick-and-place and 6 articulated tasks, whose demonstrations last 10 to 18 s on average. Long-WAM provides models trained with 0, 2.4, 4.8 and 9.6 s of history, which serve as our short- and long-context models, and each evaluation runs 10 trials per task.
RoboCasa365. RoboCasa365 [36] contains atomic and composite household tasks in simulated kitchens. Following Long-WAM, we evaluate its released model with 2.4 s of history on the 50 target tasks with 50 trials per task.
LIBERO-Mem. LIBERO-Mem [11] consists of 10 tabletop tasks in which a Franka arm repeatedly manipulates the same objects, so that the progress of the task cannot be inferred from the current observation. We fine-tune LingBot-VA on its demonstrations and evaluate it on 20 held-out initial states per task with an 8-chunk history, using the default 30-chunk history as the long-history reference, and report the success rate and the subgoal completion rate.
RoboTwin 2.0. RoboTwin 2.0 [8] is a bimanual benchmark with 50 tasks, on which LingBot-VA with its default 72-chunk history already reaches 91.5% average success. We therefore select the 8 tasks with the lowest success rate and split them into the 4 tasks on which the 72-chunk history clearly outperforms a 16-chunk history in the full-benchmark evaluation and the remaining 4, with 100 trials per task in scenes without domain randomization.
- Prior methods
- Fast-WAM (reproduced) [25]
- 33.8
- 53.7
- 38.8
- GR00T-N1.5 [34]
- 41.2
- 44.0
- 41.8
- GR00T-N1.6 [25]
- 55.4
- 24.2
- 47.6
- DiT4DiT [25]
- 50.9
- 50.3
- 50.8
- Cosmos3-Nano (reproduced) [25]
- 48.3
- 64.3
- 52.3
- ABot-M0 [57]
- 57.1
- 61.7
- 58.3
- OpenWAM-\alpha [51]
- –
- –
- 60.5
- MoGAP [25]
- 60.8
- 66.7
- 62.3
- JoyAI-RA [57]
- 60.3
- 71.7
- 63.2
- Fast-WAM [57]
- 73.6
- 67.3
- 72.0
- WALA [57]
- 73.4
- 80.3
- 75.2
- CF-WAM (+EgoDex data) [57]
- 85.0
- 75.0
- 82.5
- Long-WAM, 0 s history
- Base model
- 68.7
- 49.4
- 63.9\pm2.5 (63.3)
- 0.57
- 13.6
- LoCo-WAM
- 69.4
- 56.7
- 66.2\pm1.1
- +2.3
- 0.73
- 14.6
- Long-WAM, 2.4 s history
- Base model
- 70.9
- 58.9
- 67.9\pm0.8 (66.3)
- 0.57
- 13.7
- AdaWorldPolicy [55]
- 75.4
- 55.6
- 70.4\pm1.1
- +2.5
- 0.90
- 15.4
- RoboTTT [23]
- 76.3
- 57.8
- 71.7\pm2.7
- +3.8
- 1.06
- 14.4
- RoboTTT w/o memory
- 75.7
- 60.0
- 71.8\pm3.8
- +3.9
- 0.92
- 14.4
- LoCo-WAM
- 78.3
- 59.4
- 73.6\pm0.5
- +5.7
- 0.76
- 14.6
- LoCo-WAM (async)
- 78.3
- 64.4
- 74.9\pm1.7
- +7.0
- 0.62
- 14.6
- Long-WAM, 4.8 s history
- Base model
- 74.8
- 60.0
- 71.1\pm3.5 (71.2)
- 0.60
- 13.8
- LoCo-WAM
- 83.3
- 63.4
- 78.3\pm1.9
- +7.2
- 0.77
- 14.5
- LoCo-WAM (async)
- 81.9
- 62.2
- 76.9\pm2.3
- +5.8
- 0.64
- 14.5
- Long-WAM, 9.6 s history
- Base model
- 79.8
- 54.5
- 73.5\pm2.7 (74.5)
- 0.67
- 14.0
- LoCo-WAM
- 77.9
- 63.3
- 74.3\pm1.7
- +0.8
- 0.89
- 15.9
Baselines.
We compare LoCo-WAM with three kinds of baselines, namely prior methods with the results reported in the literature, the base model without test-time updates, and test-time methods that we reimplement on the same base models. The base model is evaluated both with the same history as LoCo-WAM and with a longer history, up to 9.6 s for Long-WAM and 30 and 72 chunks for LingBot-VA on LIBERO-Mem and RoboTwin 2.0.
- AdaWorldPolicy [55] updates a LoRA with the prediction loss of the world model and accumulates the adaptation across the episodes of a task.
- RoboTTT [23] adds fast-weight layers to the action expert, meta-trains them on the benchmark demonstrations and updates them at every decision. We also evaluate it without the memory update.
- Future Consensus [39] samples several candidate futures at every decision and executes the one closest to their mean, which increases the inference cost by the number of candidates.
- ReCAP [53] keeps the first observation as an anchor next to the most recent history and thus extends the input of the model.
Experiment setting.
Unless stated otherwise, LoCo-WAM adds a LoRA of rank 32 to the self-attention and feed-forward layers of the video expert and takes one update step per decision, S_{v}=1, with a learning rate that depends on the base model and the benchmark.
4.2 Main results
Long-WAM on RoboCasa GR-1.
Table 1 shows that LoCo-WAM enables Long-WAM with a short history to reach the performance of a longer history. It improves the base model by 2.3, 5.7 and 7.2 points with 0, 2.4 and 4.8 s of history, and by 0.8 points with 9.6 s. With 2.4 s of history, it matches the 9.6 s base model, 73.6% compared with 73.5%, and with 4.8 s of history, it reaches 78.3%, 4.8 points above the 9.6 s base model and the best result among all prior methods trained on the same data.
With 2.4 s of history, LoCo-WAM also improves the base model more than the other test-time methods, by 5.7 points compared with 2.5 points for AdaWorldPolicy and 3.8 and 3.9 points for RoboTTT with and without memory.
On the 18 pick-and-place tasks, LoCo-WAM improves the 4.8 s model by 8.5 points to 83.3%, above the 9.6 s base model at 79.8% and all prior methods trained on the same data. On the 6 articulated tasks, a longer history does not help the base model, which drops from 60.0% at 4.8 s to 54.5% at 9.6 s, whereas LoCo-WAM improves it at every history length, by 7.3, 0.5, 3.4 and 8.8 points.
- Prior methods
- Diffusion Policy [10]
- 15.7
- 0.2
- 1.3
- 6.1
- \pi_{0} [5]
- 34.6
- 6.1
- 1.1
- 14.8
- \pi_{0.5} [22]
- 39.6
- 7.1
- 1.2
- 16.9
- GR00T-N1.6
- 51.1
- 9.4
- 1.7
- 21.9
- GR00T-N1.5
- 50.7
- 14.8
- 2.7
- 23.9
- Qwen-RobotManip [21]
- 68.6
- 20.1
- 14.9
- 35.9
- ABot-M0.5
- 75.6
- 37.7
- 3.3
- 40.3
- PatchWAM [48]
- 78.7
- 46.4
- 13.8
- 47.6
- Long-WAM, 2.4 s history
- Base model
- 68.0
- 14.9
- 5.1
- 30.9\pm0.0 (31.4)
- AdaWorldPolicy
- 67.8
- 15.2
- 5.2
- 30.9\pm0.1
- +0.0
- LoCo-WAM
- 69.2
- 16.2
- 6.7
- 32.2\pm0.2
- +1.4
Long-WAM on RoboCasa365.
Table 2 shows that LoCo-WAM also improves Long-WAM on RoboCasa365. With 2.4 s of history, it improves the base model by 1.4 points, with gains on all three task categories, by 1.2 points on atomic tasks, 1.3 points on seen composite tasks and 1.6 points on unseen composite tasks, whereas AdaWorldPolicy leaves the success rate unchanged.
- Prior methods
- \pi_{0} [20]
- 12.3
- 70.8
- 2AM [20]
- 11.8
- 76.3
- LingBot-VA, 30-chunk history
- Base model
- 32.2\pm1.8
- 85.8\pm2.1
- LingBot-VA, 8-chunk history
- Base model
- 27.5\pm2.0
- 82.7\pm1.2
- AdaWorldPolicy [55]
- 27.7\pm3.3
- +0.2
- 82.9\pm0.8
- +0.2
- ReCAP [53]
- 24.7\pm1.5
- -2.8
- 84.8\pm0.6
- +2.1
- RoboTTT [23]
- 27.8\pm1.0
- +0.3
- 83.1\pm2.3
- +0.4
- RoboTTT w/o memory
- 29.2\pm1.0
- +1.7
- 84.5\pm1.2
- +1.7
- Future Consensus [39]
- 30.3\pm3.3
- +2.8
- 85.5\pm2.0
- +2.8
- LoCo-WAM
- 32.2\pm0.3
- +4.7
- 85.8\pm1.0
- +3.1
LingBot-VA on LIBERO-Mem.
Table 3 shows that LoCo-WAM closes the gap between a short and a long history for LingBot-VA. With an 8-chunk history, it improves the base model by 4.7 points in success rate and 3.1 points in subgoal completion, matching the default 30-chunk history on both metrics. LoCo-WAM also improves the base model more than the other test-time methods, by 4.7 points in success rate compared with at most 2.8 points for Future Consensus.
- Prior methods
- \pi_{0}, from [30]
- 25.8
- 59.5
- 42.6
- \pi_{0.5}, from [30]
- 50.3
- 69.8
- 60.0
- X-VLA [60], from [3]
- 58.5
- 69.3
- 63.9
- Fast-WAM [56]
- 67.8
- 80.8
- 74.3
- AHA-WAM [6]
- 73.3
- 82.8
- 78.0
- Motus [3]
- 77.5
- 81.0
- 79.3
- HiLo-WAM-k8 [49]
- 80.5
- 79.0
- 79.8
- GeoMem-VLA [58]
- 76.5
- 85.0
- 80.8
- Rolling-WAM [61]
- 79.5
- 84.5
- 82.0
- StageWAM [33]
- 79.5
- 86.3
- 82.9
- LingBot-VA (reported) [30]
- 62.8
- 86.3
- 74.5
- LingBot-VA (re-eval.) [7]
- 53.3
- 78.3
- 65.8
- LingBot-VA, 72-chunk history (default)
- Base model
- 54.2
- 77.7
- 66.0\pm0.8
- AdaWorldPolicy
- 54.1
- 78.3
- 66.2\pm0.6
- LoCo-WAM
- 55.1
- 79.1
- 67.1\pm3.0
- LingBot-VA, 16-chunk history
- Base model
- 51.8
- 77.3
- 64.5\pm1.2
- LoCo-WAM
- 53.3
- 77.3
- 65.3\pm1.7
LingBot-VA on RoboTwin 2.0.
Table 4 shows that LoCo-WAM also improves LingBot-VA on RoboTwin 2.0. On the 8 tasks with the lowest success rate, it improves LingBot-VA with the default 72-chunk history by 1.1 points, compared with 0.2 points for AdaWorldPolicy. With a 16-chunk history, it improves the base model from 51.8% to 53.3% on the 4 tasks that benefit most from a long history, compared with 54.2% for the 72-chunk history. In contrast, on the other 4 tasks, where the two histories perform alike, it leaves the 16-chunk model unchanged at 77.3%. The gain of LoCo-WAM with a short history is thus concentrated on the tasks that benefit from a long history.
4.3 Compute cost
LoCo-WAM substitutes for a longer history at a moderate cost in latency. With the synchronous update, a decision of LoCo-WAM with 2.4 s of history takes 0.76 s, compared with 0.67 s for the base model with 9.6 s of history, whose success rate it matches, as the latency column of Tab. 1 shows. The asynchronous update of Sec. 3.3 removes the update from the time between observation and action, since it runs while the robot executes the current action chunk. With it, a decision takes 0.62 s with 2.4 s of history and 0.64 s with 4.8 s, less than the 0.67 s of the 9.6 s base model, at success rates of 74.9% and 76.9%, the latter 3.4 points above the 9.6 s base model. The update still runs at every decision, so the compute per decision remains 0.81 s. LoCo-WAM increases the peak GPU memory in Tab. 1 from 13.7 to 14.6 GB with 2.4 s of history, for the adapter and its backward pass, compared with 14.0 GB for the base model with 9.6 s and 15.4 GB for AdaWorldPolicy. LoCo-WAM also needs no additional offline training, whereas the 9.6 s model is a separately trained model, and RoboTTT requires about 136 GPU-hours of meta-training and takes 1.06 s per decision.
4.4 Ablations
- LoRA rank r (8 / 16 / 64)
- 73.2 / 73.4 / 74.1
- Updates per decision S_{v} (2 / 4)
- 73.6 / 73.9
- Learning rate \eta_{v} (\times 1/3 / \times 5/3)
- 72.8 / 77.7
- LoRA placement (SA only / FFN only)
- 71.4 / 72.8
- None, base model
- 67.9\pm0.8
- 71.1\pm3.5
- \mathcal{L}_{\text{action}}, Eq. 4
- 72.2\pm2.1
- 73.3\pm0.4
- \mathcal{L}_{\text{video}}+\mathcal{L}_{\text{action}}, Eq. 3 + Eq. 4
- 72.6\pm1.5
- 73.7\pm2.2
- \mathcal{L}_{\text{video}}, Eq. 3, LoCo-WAM
- 73.6\pm0.5
- 78.3\pm1.9
We ablate LoCo-WAM on Long-WAM on RoboCasa GR-1 in two parts, the configuration of the adapter and its update in Tab. 5, and the loss used for the update in Tab. 6. With 4.8 s of history, the default configuration of Sec. 4.1 reaches 78.3%, and Tab. 5 changes one of its components at a time. A sufficiently large learning rate \eta_{v} is needed, since a three times smaller one lowers the success rate to 72.8%, whereas a larger one keeps it at 77.7%. More update steps on the same training sample do not help, however, as S_{v}=2 and S_{v}=4 lower the success rate to 73.6% and 73.9%. The adapter needs both the self-attention and the feed-forward layers of the video expert, since either part alone loses most of the gain, with 71.4% and 72.8%. The rank shows no clear trend, and the default r=32 performs best. All variants in Tab. 5 remain at or above the base model at 71.1%.
Table 6 updates with the video loss, as in LoCo-WAM, with the action loss, or with both, each training an adapter on the expert it supervises with its own learning rate. Every update improves the base model, but the video loss alone performs best with both history lengths, and adding the action loss to it lowers the success rate from 78.3% to 73.7% with 4.8 s of history. The video update changes the action in two ways in Eq. 9, through the imagined future \hat{z}_{t} and through the features of the history and the imagined future that the adapted video expert computes, and it thus adapts the action without training the action expert. The action update, in contrast, changes only the action expert, and it affects later decisions only through the executed actions, which change the observed frames in their history.
4.5 Analysis of LoCo-WAM
This section analyzes how test-time training of the video expert improves the action. In a world-action model, the update changes the prediction of the video expert in Eq. 8, and the action expert reads this prediction in Eq. 9. We examine what the update learns from the observed frames, how it affects the action, and how this effect develops over an episode. Unless stated otherwise, we use Long-WAM with 4.8 s of history on RoboCasa GR-1, and the appendix reports further analysis.
The update improves the prediction of upcoming frames from the observed frames.
The update of Eq. 6 trains the video expert on the prediction that \operatorname{Rollout} performs in Eq. 8, and we first examine whether it improves this prediction on frames that it has not been trained on. At every decision t, we measure the relative reduction of the video loss on the next chunk, 1-\mathcal{L}_{\text{video}}(\Phi_{v}+\Theta_{t})/\mathcal{L}_{\text{video}}(\Phi_{v}), before this chunk is used for the update. In Fig. 2a, the reduction is close to zero at the start of an episode and increases toward its end, reaching 4.9%, 2.5%, 1.2% and 1.0% in the last tenth for 0, 2.4, 4.8 and 9.6 s of history, which confirms such an improvement. We then determine whether the gain originates from the observed frames or from the update itself, by replacing the targets z of Eq. 3, the latents of these frames, with the prediction of the video expert from the same history H. With these targets, the success rate is 70.8%, the level of the base model at 71.1%, which indicates that the gain requires the observed frames.
- Base model
- \Phi_{v}
- \Phi_{v}
- 71.1\pm3.5
- Rollout only
- \Phi_{v}+\Theta_{t}
- \Phi_{v}
- 77.6\pm1.7
- Denoise only
- \Phi_{v}
- \Phi_{v}+\Theta_{t}
- 75.4\pm1.9
- LoCo-WAM
- \Phi_{v}+\Theta_{t}
- \Phi_{v}+\Theta_{t}
- 78.3\pm1.9
The update affects the action through the imagined future and the features.
In Eq. 9, the adapted video expert enters \operatorname{Denoise} twice, as the source of the imagined future \hat{z}_{t} and as the network that computes the features of the history and this future, which the action expert reads. We separate the two by applying \Theta_{t} at inference only in \operatorname{Rollout} or only in \operatorname{Denoise}, with the update trained as in LoCo-WAM and \Phi_{a} unchanged. Table 7 reports a success rate of 77.6% with \Theta_{t} in \operatorname{Rollout} alone and 75.4% with \Theta_{t} in \operatorname{Denoise} alone, against 71.1% for the base model and 78.3% with \Theta_{t} in both. Both therefore contribute to the gain, the imagined future more than the features.
The gain depends on updating throughout the episode.
The improvement of the prediction in Fig. 2a increases over an episode, and we study whether the change of the action also increases as the updates accumulate. At every decision t, we measure this change as the L2 distance between the action chunks a_{t} sampled with \Phi_{v}+\Theta_{t} and with \Phi_{v} for the same history and noise. In Fig. 2b, this distance increases toward the end of the episode for every history length, whereas a random direction with the norm of \Theta_{t}, averaged over the history lengths, keeps it at its initial value, which shows that the change of the action accumulates with the learned updates. Since such a random direction leaves the action nearly unchanged, we scale it to match the change of the imagined future under \Theta_{t} and evaluate whether, at this size, a random change also yields the gain. The scaled random direction reaches 71.1%, the level of the base model, which indicates that the gain requires the change learned by the update. Finally, we examine whether an adapter learned early in the episode suffices, by stopping the update after 4, 12 or 24 decisions and keeping \Theta_{t} fixed afterward. The success rate then decreases to 72.9%, 71.9% and 71.7%, and the gain therefore depends on updating throughout the episode. Figure 3 shows two episodes from the same initial state in which the trajectories separate after a few seconds and only LoCo-WAM completes the task.
5 Conclusion
We presented LoCo-WAM, which trains the video expert of a world-action model at test time with its own video loss on the observed frames, while keeping the architecture and the history length of the model. On two world-action models and four simulation benchmarks, LoCo-WAM improves the base model on all of them, and on RoboCasa GR-1, a model with 2.4 s of history matches the base model with 9.6 s, and a model with 4.8 s exceeds it by 4.8 points. Our analysis shows that the update learns from the observed frames to predict upcoming frames, and that it affects the action mainly through the imagined future. This change of the action accumulates over the episode and depends on updating throughout it. In a world-action model, the environment provides the targets of the video loss at every decision, and LoCo-WAM shows that training on these targets at test time enables a short history to reach the performance of a longer one.
References
Appendix
Appendix A Additional results
More visualization results.
Figures 4 and 5 show six further pairs of episodes from the same initial state without and with LoCo-WAM.
Appendix B Additional analysis
Resetting the adapter at every episode.
LoCo-WAM resets the adapter at the start of every episode, so that each episode is adapted only to its own observed frames. A natural alternative keeps the adapter across the episodes of a task, as AdaWorldPolicy does with its world model. On LingBot-VA with LIBERO-Mem, this alternative lowers the success rate by 3.7 points and the subgoal completion rate by 4.0 points relative to the base model in the same runs, and all three runs fall below the base model. The adaptation to one episode therefore does not carry over to later episodes, which is why LoCo-WAM resets the adapter.
A larger step does not help the action update.
In Tab. 6, updating the action expert alone improves the base model less than updating the video expert, and it also takes much smaller steps, changing the adapter by 0.002 in norm per update compared with 0.059 and 0.035 for the video update with 2.4 and 4.8 s of history. When we scale its learning rate to match these steps, the action update reaches 63.2% and 69.3% on RoboCasa GR-1, against 71.0% and 69.6% for the base model in the same runs, and thus no longer improves the base model. The smaller step therefore does not account for the lower success rate of the action update, which supports updating the video expert in LoCo-WAM.