Self-Improving World Modelling with Latent Actions

Yifu Qiu, Zheng Zhao, Waylon Li, Yftah Ziser, Anna Korhonen +2 more
2/5/2026
cs.LGcs.AIcs.CL

No official code found. Best implementation: yfqiu-nlp/swirl (20 stars, MIT, last commit 2026-02-05).

Abstract

Internal modelling of the world -- predicting transitions between previous states $X$ and next states $Y$ under actions $Z$ -- is essential to reasoning and planning for LLMs and VLMs. Learning such models typically requires costly action-labelled trajectories. We propose SWIRL, a self-improvement framework that learns from state-only sequences by treating actions as a latent variable and alternating between Forward World Modelling (FWM) $P_θ(Y|X,Z)$ and an Inverse Dynamics Modelling (IDM) $Q_φ(Z|X,Y)$. SWIRL iterates two phases: (1) Variational Information Maximisation, which updates the FWM to generate next states that maximise conditional mutual information with latent actions given prior states, encouraging identifiable consistency; and (2) ELBO Maximisation, which updates the IDM to explain observed transitions, effectively performing coordinate ascent. Both models are trained with reinforcement learning (specifically, GRPO) with the opposite frozen model's log-probability as a reward signal. We provide theoretical learnability guarantees for both updates, and evaluate SWIRL on LLMs and VLMs across multiple environments: single-turn and multi-turn open-world visual dynamics and synthetic textual environments for physics, web, and tool calling. SWIRL achieves gains of 16% on AURORABench, 28% on ByteMorph, 16% on WorldPredictionBench, and 14% on StableToolBench.

View on arXivView PDF

Code Implementations(1)

yfqiu-nlp/swirlCommunity75%
MIT

Materials for paper "Self-improving World Modelling with Latent Actions"

203Shell, PythonFeb 5, 20268 months agoMIT

Similar Papers

Cite this paper

@article{qiu2026selfimproving,
  title  = {Self-Improving World Modelling with Latent Actions},
  author = {Yifu Qiu and Zheng Zhao and Waylon Li and Yftah Ziser and Anna Korhonen and Shay B. Cohen and Edoardo M. Ponti},
  year   = {2026},
  eprint = {2602.06130},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.06130v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2602.06130.svg)](https://codeofpaper.com/paper/2602.06130)

Discussion