Skip to main content
SEEED STUDIO · PAPER DEEP-DIVE

Long-WAM: Making Visual History Useful for Prediction and Control

Long-WAM: Scaling the Context of World-Action Models

arXivRead the paper

A cup moves left on a conveyor. One image locates it; several images reveal its motion. In another task, a robot has already removed a cup from a cabinet, but the current view resembles the starting scene. History identifies the next phase. Does accepting more history automatically make a policy use it?

Prerequisites: History, Prediction, and Execution​

History contains observations before a decision; prediction covers the future; execution determines when the robot replans. At 20 Hz, 48 past control ticks span 2.4 seconds and 10 executed actions span 0.5 seconds. Neither determines the prediction horizon, and video frames can be sampled with a separate stride.

Observed history, predicted future, and real execution feedback
Observed history, predicted future, and real execution feedback. AI-generated teaching illustration of the inverse dynamics modeling (IDM) variant. Observed video history and partially denoised future video latents jointly condition actions. Future video denoising stops at a nonzero noise level, without pixel decoding. Language and robot-state conditioning are omitted for clarity. Only new observations from real execution enter observed history; predicted futures are not past observations.

Abstract and Reading Guide​

Abstract in brief. Long-WAM learns history-to-future dependencies through autoregressive video pretraining, then preserves that causal structure during action adaptation. Actions use both observed history and predicted future latents. Streaming encoding, asynchronous execution, and hardware optimizations reduce runtime cost.

Reading note. A longer input window and an ability to exploit history are different. Likewise, the original deployment system and a synchronous LeRobot adapter have different validated capabilities.

Why Video Initialization Matters​

Bidirectional video generation can read both earlier and later frames. Robot control must infer what comes next from observations already available. Adding history only during action fine-tuning does not necessarily teach effective temporal dependence.

Unlike standard Fast-WAM, Long-WAM retains predicted future conditions. Unlike simply extending a context buffer, it learns temporal causality during video pretraining.

Video Pretraining: Predicting Change from the Past​

LongLive2.0-Robot continues from an autoregressive LongLive-2.0 checkpoint using robot and egocentric video without requiring a common action space. Block-causal attention allows each target chunk to read its genuine earlier context.

Teacher forcing supervises multiple chunks in parallel. Buffered-error perturbations teach recovery from history errors resembling rollout conditions. History supplies the condition; future video supplies supervision. The clean condition image is excluded from the denoising target.

Architecture: How Past and Future Reach the Controller​

Video queries read their own and earlier visual blocks, never actions. Action queries read history, partially denoised future latents, and the whole action chunk.

IDM stageInputResult
Predict future latentsHistory, instruction, and state conditionAnticipated dynamics
Visual prefillObserved and predicted latentsLayer-wise visual keys and values
Action denoisingVisual cache, state, and action noiseContinuous action chunk
FeedbackNewly observed executionUpdated genuine history

IDM infers actions after predicting visual change. No future RGB decoding is needed. The paper's V4 setting stops video denoising at σ⋆=0.9\sigma_\star=0.9 and reuses the resulting visual cache during action generation.

From causal video pretraining to history-conditioned actions
From causal video pretraining to history-conditioned actions. Source: the Long-WAM paper. The lower pipeline distinguishes observed history, imagined futures, and the action expert; KV caching preserves historical context. Deployment still needs new real observations rather than treating predictions as events that already happened.

Training Futures and Deployment Futures​

Training first optimizes video flow matching, then conditions action training on forward-noised ground-truth future latents. Deployment substitutes predicted futures. The action pass detaches the visual cache, updating the action expert and proprioceptive adapter while the video objective trains the predictor.

This gradient choice differs from the forward mask that prevents video from reading actions. Predicted future information must also remain distinct from real observations in the next control cycle.

Runtime: Reducing the Cost of History​

A streaming VAE encodes incoming observations incrementally rather than recomputing the full history. Asynchronous execution prepares another chunk while the robot consumes the current one.

With an overlap of OO ticks and tick duration Δt\Delta t, timely handoff requires

Tready≤OΔt.T_{\mathrm{ready}}\leq O\Delta t.

An occasional missed deadline can cause waiting even when average inference is fast. The reported 107.4 ms on RTX 5090 includes future-latent prediction under the paper's optimized configuration; it is not a universal device or adapter latency.

Asynchronous handoff with streaming and full-window encoding
Asynchronous handoff with streaming and full-window encoding. Source: the Long-WAM paper. Streaming encodes arriving observations, whereas full-window encoding delays handoffs. Both schedules use the same nominal trigger stride and overlap. The diagram illustrates reduced scheduling waits, not a separately measured success-rate gain.

Experiments: Separating History, Future, and Systems Effects​

Initialization and Context​

The paper compares bidirectional, general autoregressive, and robot-domain autoregressive video initialization. Long-context RoboCasa GR-1 performance reaches 78.7%; autoregressive initialization benefits more from history, while the bidirectional initialization lacks the same net improvement. Useful history length depends on the task.

Context scaling under different video initializations
Context scaling under different video initializations. Source: the Long-WAM paper. Discrete context settings are plotted at equal spacing. Robot causal initialization peaks at 2.4 seconds on LIBERO-Long and 19.2 seconds on RoboCasa. Longer windows do not keep improving success, and bidirectional initialization does not obtain the same gains.

Future Conditioning and Dynamic Tasks​

Paper configurationLIBERO meanLIBERO-LongRoboTwin mean
Without future prediction97.3%94.5%92.0%
Joint co-denoising97.8%95.8%93.6%
IDM99.5%99.5%94.4%

These are success rates on distinct benchmarks. After dynamic-data fine-tuning, DOMINO success is 34.9%, substantially below static manipulation scores. Near-saturated LIBERO results do not imply that dynamic control is solved.

On physical Unitree G1 and YAM platforms, the paper studies both dynamic and long-horizon tasks. Dynamic cup stacking succeeds in 19 of 20 Long-WAM trials, versus zero for π0.5 and Fast-WAM in that setup. Composite-task experiments additionally use a separate high-level planner; their results belong to the combined system.

LeRobot Integration and Result Boundaries​

Version 0.7.0 supports native IDM/CoD checkpoints, fine-tuning, and synchronous inference. The LIBERO release uses two 224×224 cameras, 7D actions, 8D state, and P48 history. Supply fresh observations every control tick, even while actions remain queued.

The documented IDM checkpoint scores 99.4%, 99.8%, 97.8%, and 99.0%, with 500 episodes per suite: 99.00% overall. CoD averages 98.45%. These are adapter results, separate from the paper's 99.5%. Original model.pt bundles are not native LeRobot checkpoint directories.

reset() clears both history and queued actions. Changing past_obs_steps alone does not constitute context-scaling training. Generic async/RTC is not validated in this adapter; the original project's optimized execution remains a separate capability.

Conclusion​

Long-WAM learns to predict from history before connecting that prediction to actions. Streaming and asynchronous execution make this path more practical. Its gains depend on initialization, task memory requirements, future conditioning, and the deployment system used.

Loading Comments...