Manuscript Offprint

arXiv:2609.05834

Learning Counterfactual World Models for Embodied Reasoning under Partial Observability

Todd Y. Zhou, Daniel Zhang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

World models promise a general route to embodied intelligence: learn predictive dynamics once, then reason, plan, and act with them. Increasingly, the representations beneath such models are pretrained on large-scale video, interaction, and multimodal corpora, which raises a question prediction quality alone cannot answer: when is a learned representation actually actionable? We identify a failure mode we call counterfactual collapse: a model predicts visually plausible futures while failing to distinguish interventions with different behavioral consequences. This arises whenever a representation is optimized for perceptual similarity rather than intervention structure—precisely the objective under which most large-scale pretrained encoders are learned. We introduce Counterfactual Latent World Models (CLWM), which combine a recurrent belief-state encoder, action-conditioned latent dynamics, and a contrastive counterfactual objective that separates futures induced by distinct interventions even when their observations look alike. Across occluded manipulation, aliased navigation, and long-horizon manipulation, CLWM improves planning success over the strongest baseline (65.1% → 74.6% on Occluded Push and 67.3% → 78.9% on Aliased Maze) and reduces exploitative planning failures (18.4% → 9.7% on Deferred Kitchen), with ablations attributing the gains to hard counterfactual negatives, especially perceptual-alias negatives. Finally, our counterfactual separability metric—which tracks planning success across the five baseline model classes (r≥0.94r \geq 0.94)—is representation-agnostic: given intervention-outcome labels, it can audit any encoder—pretrained or trained from scratch—before a planner trusts it. We do not yet measure it on large-scale pretrained encoders (Section 8). Here we establish the metric and its relationship to planning success for world models trained from scratch.

1 Introduction

World models have become one of the most compelling paradigms for embodied intelligence. If an agent can learn how the world evolves, it can evaluate possible actions in imagination, plan before acting, and reuse the same learned dynamics across tasks. This idea underlies a broad family of model-based reinforcement learning systems, from latent-space planning from pixels to large-scale world-model agents that improve behavior by imagining future trajectories [Ha and Schmidhuber, 2018, Hafner et al., 2019, 2020, 2023, Hansen et al., 2024]. In robotics, world models are especially attractive because real-world interaction is expensive, dangerous, and difficult to reset [Wu et al., 2022].

However, embodied reasoning demands more than plausible prediction: an agent needs to know which aspects of the future would change under a different action. A model trained to reconstruct or predict observations can be excellent at perceptual forecasting yet insufficient for decision-making. In a corridor with aliased landmarks, moving left or right produces nearly identical short-horizon images while placing the agent in different regions of the map. In occluded manipulation, a push may

Preprint.

leave the visible pixels unchanged while determining whether a hidden object becomes reachable several steps later. We therefore argue that the next step for embodied world models is counterfactual sufficiency: the learned latent state should preserve the consequences of alternative interventions that are relevant to control. A model is counterfactually insufficient when two histories are close in representation because they predict similar observations even though the agent should act differently in them, or when two candidate actions remain close in imagined latent space because their near-term images look alike even though their long-horizon outcomes diverge. Such failures are particularly common under partial observability, where the current observation is not a Markov state.

This framing has a consequence beyond our own method. Counterfactual sufficiency is a property of any representation used for control, including representations pretrained on large-scale video, image-text, or interaction corpora and then adapted for decision making. Those corpora are fit with reconstruction, contrastive instance discrimination, or language alignment—objectives that reward perceptual and semantic similarity and contain no pressure to separate two futures that look alike but behave differently. There is thus no reason to expect a pretrained encoder to arrive counterfactually sufficient, and considerable reason to expect the opposite in exactly the settings—occlusion, aliasing, delayed contact—where embodied agents are deployed. We return to this in Section 7. Our counterfactual separability metric is intended to be usable as a standalone audit of an inherited representation, independent of the CLWM training objective.

We introduce Counterfactual Latent World Models (CLWM), which retain the strengths of modern latent world models—a recurrent belief encoder, stochastic latent dynamics, and imagination-based planning—but add a contrastive counterfactual objective over action-conditioned futures. The key idea is simple: when two interventions from the same belief state induce different downstream consequences, the model should separate their predicted latent futures even if their pixels are similar. Conversely, when different trajectories lead to the same intervention outcome, the representation should align them despite nuisance-level visual variation.

We make four contributions. First, we formalize counterfactual collapse as a failure mode of latent world models under partial observability. Second, we propose CLWM, which augments latent dynamics learning with contrastive counterfactual supervision over intervention-conditioned futures. Third, we introduce diagnostics for whether a world model preserves action-sensitive structure: counterfactual separability, intervention-outcome prediction, and model-exploitation rate. Fourth, we show empirically that CLWM improves planning by up to 11.6 success points and nearly halves exploitative planning failures across occluded manipulation, aliased navigation, and long-horizon manipulation, with ablations confirming that hard counterfactual negatives are the key source of the improvement.

References (20)