# FLEX-WAM: Flexible Block-Causal World-Action Models for Long-Horizon Imagination and Planning

Robotics.world

> A robot needs a model that can both predict what will happen after an action and propose actions that achieve a goal. Recent work tries to unify these in a single video–action generative model, but…

**arXiv**: 2610.05483 · Preprint · not peer-reviewed

**Published**: 2026-10-04

**Authors**: R. Khorrambakht, Joseph Amigo, Félix Lebel, Leon Seetoo, Jean Ponce, Zhenzhen Li, Ludovic Righetti

## In plain words

A robot needs a model that can both predict what will happen after an action and propose actions that achieve a goal. Recent work tries to unify these in a single video–action generative model, but existing models typically use fixed-horizon, heavy video backbones that are poorly suited to streaming inference and to long open-loop rollouts.

## AI summary

## Overview

**Research area:** Robot learning / generative world models — specifically joint video–action generative models ("world–action models," WAMs) for model-based planning and control.

**Technical level:** Advanced. The paper assumes familiarity with flow matching, diffusion forcing, transformer attention masking, KV caching, and Monte Carlo Tree Search.

**Scope (one sentence):** The paper introduces FLEX-WAM, a block-causal, KV-cacheable transformer that jointly generates states and actions, together with a two-stage training procedure that keeps the model responsive to commanded actions, and evaluates it on prediction quality, latency, multi-thousand-step rollouts, in-imagination planning, and a bimanual robot deployment.

## What This Paper Is About

A robot needs a model that can both predict what will happen after an action and propose actions that achieve a goal. Recent work tries to unify these in a single video–action generative model, but existing models typically use fixed-horizon, heavy video backbones that are poorly suited to streaming inference and to long open-loop rollouts. The authors build FLEX-WAM to fix both problems: an architecture that can be rolled out indefinitely with a configurable horizon, and a training recipe that prevents the joint model from generating visually plausible futures that ignore the commanded action.

## Key Contributions

1. **A flexible block-causal world–action architecture.** FLEX-WAM accepts variable-length context histories and variable-length non-causal prediction horizons, and can generate autoregressively frame by frame (block size B = 1) or block by block (B > 1). Because it is KV-cacheable, rollouts remain stable for thousands of real-time steps, and the block size acts as a deployment-time latency–throughput knob that requires no retraining.
2. **A gradient-calibrated, feedback-regulated two-stage training procedure.** The authors numerically balance the gradient contributions of the independent state and action flow-matching losses across the state–action noise grid, and introduce **Forward-Dynamics (FD) elasticity** — a training-time proxy for action responsiveness — which is used in a closed-loop regulator to bias sampling toward world-model mode.
3. **An empirical comparison against joint video–action baselines.** FLEX-WAM is compared with UWM (393M), Cosmos-Policy (2B) and DreamZero (5B) on LIBERO generation quality and per-step inference latency.
4. **In-imagination planning and a real-robot deployment study.** Used jointly as action proposer and simulator inside MCTS, FLEX-WAM solves long-horizon PushT and all five OGBench Puzzle-4x4 tasks entirely in imagination; on a bimanual OpenArm robot, a single checkpoint serves as both play policy and expected-outcome predictor, enabling detection and collection of model–reality mismatches for future self-improvement.

## Main Findings

- **Action responsiveness collapses without regulation.** Using a synthetic counterfactual "stop command" probe on PushT and measuring distance to the expected final state with DINOv2 features, the authors show three training variants diverge: a world-model-only model rises and converges to a stable baseline; a WAM trained without feedback rises to a peak *below* the WM-only baseline and then declines; the feedback-regulated model holds sensitivity near its setpoint while gradually admitting non-world-model modes. The WM-mode sampling bias starts near 1 and converges to approximately 0.2.
- **Bidirectionality within a horizon improves temporal consistency.** Denoising a fixed horizon of 16 frames in parallel while sweeping the attention block width from 1 (fully causal) to 16 (fully bidirectional) on the G1 dataset, FVD (256 generated vs 256 ground-truth clips) and normalized consecutive-frame LPIPS and action L2 all improve as bidirectionality increases.
- **Better generation quality at every tested horizon.** SSIM/PSNR (dB) at T = 16/32/48/64: FLEX-WAM with B = 8 reaches 0.843/24.8, 0.812/22.5, 0.788/21.1, 0.778/20.5, versus Cosmos-Policy 0.682/20.4, 0.626/18.3, 0.604/17.2, 0.587/16.5 and UWM 0.652/18.3, 0.624/17.1, 0.610/16.4, 0.599/15.6. B = 8 gives the strongest overall quality, with B = 16 comparable at longer horizons.
- **Competitive but not the lowest latency.** Per-step latency in Table II: FLEX-WAM (690M) 71.5 ± 1.0 (policy), 72.7 ± 0.3 (world model), 71.5 ± 1.0 (joint); UWM (393M) 34.1 ± 0.2, 34.4 ± 0.4, 34.6 ± 0.1; Cosmos-Policy (2B) 330.5 ± 3.9, 47.0 ± 1.0 (with a footnote that its reduced world-model latency comes from using a single denoising step), 480.6 ± 7.1; DreamZero (5B) 801.4 ± 102.0 for policy and joint, with no world-model entry.
- **Stable very long rollouts.** Decoded dream states remain visually coherent over 1024 autoregressive steps in joint state–action mode across real-world and simulated domains, with no obvious catastrophic accumulation artifacts; an open-loop 4.5-second comparison against a DreamZero model trained under identical world-model-only settings shows less hallucination and object deformation.
- **Planning succeeds entirely in imagination.** MCTS using FLEX-WAM as both simulator and action sampler solves the real-world PushT task and all five OGBench Puzzle-4x4 tasks, including sequences of intermediate steps that give no immediate reward improvement.
- **A single checkpoint can flag its own failures on hardware.** On the OpenArm bimanual station, the same model acts and predicts expected outcomes, allowing real-time model–reality mismatch identification and counterfactual data collection.

## Methodology in Plain English

**Backbone.** The model builds on the DreamerV4 world model. A tokenizer compresses each camera view into one set of latents per frame; views never attend to each other, so the latents are the only channel between them. The dynamics model then works on a frame × token grid, where each layer attends along only one axis (space or time). This axial scheme costs O(T·S² + S·T²) instead of O((TS)²) for full spatiotemporal attention.

**Per-frame token layout.** Each timestep holds 256 state latents, 4 "register" scratchpad tokens, the two noise levels, and the action — 263 tokens in total. The state and action noise levels are discrete inputs with 128 possible values each, sampled independently on a 128 × 128 grid, so the same network can be run as a world model (action clean, state noisy), an inverse-dynamics model, a video generator, or a joint generator.

**Block-causal attention.** Frames are grouped into contiguous blocks of B frames. Attention is bidirectional inside a block and strictly causal across blocks. During training, B is drawn once per forward pass from {1, 2, 4, 8, 16}, so the model sees many context/horizon configurations and becomes robust to feeding its own predictions back in.

**Blockwise diffusion forcing.** Instead of sampling an independent noise level per frame (128 × 128 × T settings per sequence), the authors sample one noise level per modality per block. States are trained with x-prediction and actions with v-prediction.

**Balancing the two losses.** Two tricks keep state and action learning from fighting over the shared trunk. First, weights are set from the other modality's cleanness, Φ_act = (τ_s + ε)/(τ_s + τ_a + 2ε) and Φ_obs = (τ_a + ε)/(τ_s + τ_a + 2ε) with ε = 10⁻³, plus a ramp on each loss's own cleanness (β_obs = 0.2). Second, the losses are rescaled by a measured trunk-gradient norm S_m and an EMA of the unweighted loss, re-measured every 500 training steps, so the two channels push with equal force.

**Preserving action sensitivity.** Training starts in pure world-model mode. A Hutchinson estimator measures how sensitive the predicted latents are to action perturbations (the FD-elasticity sensor). Once that metric converges, a feedback controller uses the fraction of world-model-mode samples as its control input to hold sensitivity at 90 percent of the world-model-only value while non-world-model modes are gradually phased in.

**Training scale.** Three model sizes are used: 690M for G1, LIBERO and OpenArm, 512M for OGBench, and 400M for PushT. All are randomly initialized (no large-scale video pretraining), trained with DDP on 8 NVIDIA H100 GPUs for roughly 150k gradient steps (about 4 days) each, with effective batch size 64 and context length 32. Inference uses up to 4 NVIDIA RTX6000 Pro MaxQ cards, with a single card sufficient for real-time batch-size-1 inference, in bfloat16 with torch.compile.

## Why This Matters

**Impact on research.** The paper isolates a failure mode that is easy to miss when judging joint video–action models by visual quality alone: a model can produce convincing futures that barely respond to the commanded action. FD elasticity and the gradient-balancing scheme give the field a measurable, training-time handle on that property rather than relying on classifier-free guidance at inference (which the authors note would need two GPUs for minimal latency). The block-size-as-deployment-knob idea also decouples architecture from horizon, which most prior joint models fix at training time.

**Real-world applications (as demonstrated or directly implied):**

- Model-based manipulation planning on real hardware, where the world model and action proposer are the same network and planning happens entirely in imagination.
- Long-horizon puzzle/assembly-style tasks such as the OGBench 4×4 light-out puzzle and the PushT pushing task.
- Real-time robot policies on a single GPU, since batch-size-1 inference fits on one card.
- Deployment-time monitoring: using the model's own expected-outcome prediction to flag when reality diverges, and logging those cases as counterfactual training data.

**Industry relevance.** A single checkpoint that acts, simulates and self-audits reduces the number of separate models a robot stack must host, and the latency–throughput trade-off can be tuned per deployment without retraining. The reliance on teleoperated "play" data rather than curated successes also matches how real robot data is actually collected.

## Future Directions

- **Replacing random initialization with pretraining.** All models here are trained from scratch; whether large-scale video pretraining composes with block-causal attention and FD-elasticity regulation is untested.
- **Closing the self-improvement loop.** The OpenArm results are described as preliminary and presented as a closed-loop case study; turning collected model–reality mismatches into measurable policy improvement remains open.
- **Understanding non-causal attention and predictive uncertainty.** The authors observe that when the model is seeded with past frames, pressure to attend to the future drops, and hypothesize that predictive uncertainty (multi-modal futures) correlates with stronger reliance on non-causal attention — explicitly left as future work.
- **Conditioning and scale.** Text/task conditioning is implemented via AdaLN but deliberately unused because text and action compete as information about the future; finding a principled way to reintroduce goal conditioning, and extending evaluation to more embodiments and benchmarks, are natural next steps.

## Target Audience

Robotics and embodied-AI researchers working on world models, video-generation backbones, or model-based planning; ML engineers interested in efficient long-context autoregressive video architectures and multi-loss balancing in shared transformers; and practitioners deploying generative models on real robot hardware who care about latency budgets, rollout stability, and detecting when a learned model has stopped listening to its actions.

## Authors’ abstract

World--action models (WAMs) promise a unified model that predicts action-conditioned futures, generates feasible actions, and supports planning in imagination. However, existing joint video--action models often use computationally heavy, fixed-horizon backbones ill-suited to streaming inference and stable long-horizon open-loop rollouts. We introduce FLEX-WAM, a Flexible and Efficient Block-Causal World--Action Model for unified simulation and policy inference. FLEX-WAM…

[The full abstract on arXiv](https://arxiv.org/abs/2610.05483)

[Read the original paper](https://arxiv.org/abs/2610.05483)

## Related papers

- [VAMPS: Visual and Motor Policies from Sampling-Based Planning](https://robotics.world/paper/vamps-visual-and-motor-policies-from-sampling-based-planning-2610.05331) 2026-10-04 · cs.RO · Also by Ludovic Righetti
- [Vector-Quantized World Model: Latent Feedback Motion Planning for Robot Manipulation](https://robotics.world/paper/vector-quantized-world-model-latent-feedback-motion-planning-for-robot-2610.25600) 2026-10-19 · cs.RO · Also by Zhenzhen Li
- [MABEL: An Open Anthropomorphic Mobile Bimanual Platform for Teleoperation and Learning](https://robotics.world/paper/mabel-an-open-anthropomorphic-mobile-bimanual-platform-for-2611.04083) 2026-11-02 · cs.RO · Also by Ludovic Righetti
- [Trusting Imagined Futures: Auditing Imagined Rewards for VLA Post-Training](https://robotics.world/paper/trusting-imagined-futures-auditing-imagined-rewards-for-vla-post-2611.04873) 2026-11-03 · cs.RO · Also by Zhenzhen Li
- [Flow Policies as Actions of Skill-Level World Models: Learned and Symbolic Abstractions for Long-Horizon Planning](https://robotics.world/paper/flow-policies-as-actions-of-skill-level-world-models-learned-and-2610.04767) 2026-10-03 · cs.RO · Key terms of the title in common

---

Canonical: https://robotics.world/paper/flex-wam-flexible-block-causal-world-action-models-for-long-horizon-2610.05483
