OnlineWM: Causality-Aware Active Online Learning for Effective World Modeling

Yikun Miao, Fangqi Zhu, Quanxin Shou, Xiaoyi Pang, Zhengyang Yan, Junhao Li, Haodong Wang, Zicong Hong, Song GuoarXiv 2026

TL;DR

OnlineWM is a novel online training framework for generative world models that significantly improves action controllability and out-of-domain generalization. By combining Active Online Learning (AOL) to target the model's evolving predictive weaknesses with Causality-Aware Fine-Tuning (CFT) via counterfactual scenarios, it prevents the model from relying on spurious visual correlations and forces it to learn true action-effect mechanics.

What Problem Does This Paper Address?

Generative world models aim to predict future environmental states conditioned on an agent's actions, serving as a foundational component for autonomous driving, robotics, and game development. However, current state-of-the-art world models frequently suffer from poor action controllability—for instance, a model might completely ignore a "look up" command because its training data predominantly features horizontal walking trajectories.

The authors identify two structural bottlenecks in traditional "collect-then-train" offline pipelines:

  1. Distribution Misalignment: Static offline datasets cannot adapt to a model's shifting error patterns, leaving critical, long-tail scenarios undersampled.
  2. Causal Ambiguity: Standard visual loss functions (like minimizing pixel discrepancy) encourage models to exploit shortcuts and ambient environmental motion patterns rather than learning the actual causal relationship between an action and its visual consequence.
Offline vs. online training paradigms for action-controllable world models.

Methods

To establish a closed-loop refinement process, OnlineWM introduces two synergistic components that interact dynamically with a simulator:

The OnlineWM training framework, featuring active sample selection and counterfactual pair construction.

1. Active Online Learning (AOL)

Instead of using fixed datasets, OnlineWM actively queries parallel simulators for high-utility interaction sequences. To prevent the model from getting stuck on unlearnable noise or overly simple scenes, the framework introduces a difficulty decomposition strategy. It separates predictive errors into:

  • Scene-level difficulty: The complexity of the environment context.
  • Action-level difficulty: The complexity of the transition dynamics.

AOL pairs visually demanding scenes with easier actions, and simpler scenes with harder actions. This rank-inverted selection ensures the acquired data is always novel yet learnable.

2. Causality-Aware Fine-Tuning (CFT)

To enforce rigorous causal grounding, CFT implements a counterfactual learning strategy. For any chosen action sequence (the positive branch, $z_+$), the framework identifies the most visually similar alternative action sequence from the exact same initial state (the negative branch, $z_-$).

Using a forward-process post-training objective (DiffusionNFT), the model's latent state is counterfactually perturbed by tilting the noise toward the negative sample. The model is then optimized to recover the positive trajectory while repelling the negative one, forcing it to disentangle action-induced changes from ambient environmental evolution.

Datasets

  • Base Model & Environment: The framework was implemented on the 8-billion parameter HY-World 1.5 Diffusion Transformer (DiT) backbone. Simulators were managed via MineStudio (built on MineRL), running 32 parallel Minecraft worlds.
  • Evaluation Set: A manually curated, held-out Minecraft dataset consisting of 61-frame challenging scenes with highly frequent action changes.
  • Generalization Testing: To test out-of-distribution (OOD) capabilities, the Minecraft-trained model was evaluated directly on general-domain real-world images using WorldMirror for 3D Gaussian Splatting camera trajectory reconstruction.

Key Insights and Ideas

  • The "Hardest" Isn't the Best: Simply selecting the highest-error samples for online training causes severe instability. Decomposing and balancing scene vs. action difficulty is essential for stable online gradient updates.
  • Disentangling Causal Factors: By contrasting divergent outcomes from identical states, the latent space learns to separate what the agent did from what the environment was already doing.
  • Cross-Domain Causal Transfer: Causal mechanisms (like camera rotation physics) are fundamentally invariant across visual domains. Grounding a model in causality allows it to generalize its action control to entirely unseen visual styles (e.g., real-world rooms) without fine-tuning.

Key Results

OnlineWM demonstrates substantial improvements in both visual quality and action precision over standard random offline data collection.

Quantitative Performance

As shown in the paper's evaluation tables, OnlineWM outperforms baseline methods across the board:

  • Action Accuracy: Combined action accuracy jumped from 0.356 (Random) to 0.425 (Full Model), while fine-grained accuracy reached 0.640 (see figure:art_d354116ed270489b9eee78fa5eec6547).
  • Trajectory Error Reduction: Relative Pose Error for rotation ($\text{RPE}_{\text{rot}}$) dropped by 36.3% and translation ($\text{RPE}_{\text{trans}}$) dropped by 20.1% compared to the random baseline.
  • Visual Fidelity: Perceptual metrics like LPIPS consistently improved, achieving the best overall score of 0.812 on the VBench suite (see figure:art_e3b7ce24c2b54644bd7f078a2da50715).

Qualitative Impact

When navigating complex scenarios—such as colliding with tree leaves—OnlineWM accurately preserves spatial geometry and follows the commanded action, whereas variants without AOL or CFT suffer from trajectory collapse or ignore the control inputs entirely.

Qualitative comparison showing OnlineWM successfully navigating an environmental collision compared to ablated variants.

Limitations and Future Work

While Minecraft provides an excellent, flexible sandbox for validating causal dynamics, it lacks photorealism. The authors note that scaling OnlineWM to modern, high-fidelity engines like Unity or Unreal Engine 5 is a crucial next step, though it will require highly efficient engineering to handle the online training infrastructure.

Additionally, they propose extending this framework to embodied robotic manipulation, where an active online loop could allow a physical robot to autonomously probe its workspace to differentiate between complex contact dynamics (e.g., grasping vs. pushing).

Summary updated

BibTeX
@misc{miao2026onlinewm,
  author = {Yikun Miao and Fangqi Zhu and Quanxin Shou and Xiaoyi Pang and Zhengyang Yan and Junhao Li and Haodong Wang and Zicong Hong and Song Guo},
  title = {{OnlineWM: Causality-Aware Active Online Learning for Effective World Modeling}},
  year = {2026},
  eprint = {2609.23753},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.23753},
}
Figure