Counterfactual World Models: JEPAs That Reason About "What If"
Abstract
World models operate in a world they cannot fully observe. When a hidden disturbance, such as a current pushing a boat, changes the outcome of an action, a counterfactual question follows: what would have happened under a different action, subject to the same disturbance? Its answer separates bad decisions from bad luck. We prove that world models trained on factual transitions cannot answer it on their own, whatever their data or capacity. For many physical systems, the observed outcome and a simple property of the dynamics suffice: natura non facit saltus, nature makes no leaps. When actions and disturbances act as separate forces, their interaction is second-order in time, so the counterfactual outcome is, to first order, the observed outcome plus the difference between the world model's predictions under the alternative and factual actions. This yields a counterfactual world model with no counterfactual data, extra parameters, or retraining. For transitions of duration $h$, we prove an $O(h^2)$ bound on the counterfactual error relative to the disturbance variance, establish a matching minimax lower bound from unpaired factual data, and characterize failures at discontinuities, coordinate folds, and disturbances that scale the command. We validate these predictions from pixels with JEPA world models on frozen DINOv2 and masked autoencoder (MAE) encoders. On four rendered simulators, our approach improves counterfactual $R^2$ from $38$--$46\%$ to $86$--$96\%$ with the same world models; on a fifth, an underwater vehicle, it reaches $90$--$94\%$ with sixteen times more factual data. Four further frozen encoders, DINOv3, SigLIP~2, CLIP and EVA-02, give $81$--$95\%$ on the same simulators. In hindsight planning, it finds the action that would have reached the goal in $35$--$69\%$ of events, against $14$--$23\%$ for an oracle planner that knows the simulator but not the outcome.
The following analysis is generated by AI and may contain errors. It is separate from the authors’ abstract and is not peer review.
Research summary
The paper introduces a theoretically grounded method for counterfactual reasoning in world models by exploiting the short-time structure of physical dynamics. It provides a rigorous analysis of the limitations of factual world models and offers a simple, effective correction rule that significantly improves counterfactual prediction accuracy in physical simulators.
Methodology
The paper proposes a "counterfactual world model" that leverages the physical principle that nature makes no leaps (natura non facit saltus). It proves that standard world models trained on factual transitions cannot identify individual counterfactuals due to a gauge ambiguity in the latent space. The authors derive a simple correction rule: the counterfactual outcome is the observed outcome plus the difference between the world model's predictions under the alternative and factual actions. This relies on the assumption that action and disturbance enter through separate force-like channels, making their interaction second-order in time. The method requires no retraining, extra parameters, or paired counterfactual data.
Results & evaluation
The authors validate their approach using JEPA world models on frozen DINOv2 and MAE encoders across four rendered simulators and one underwater vehicle simulator. They report significant improvements in counterfactual $R^2$ (from 38-46% to 86-96%) and demonstrate effectiveness in hindsight planning tasks. The experiments include stress tests on violations of the assumptions (e.g., discontinuities, coordinate folds).
Reproducibility
The paper provides detailed theoretical proofs and specifies the use of standard frozen encoders (DINOv2, MAE, etc.) and simulators. However, specific hyperparameters for the world model training and the exact simulator configurations are not fully detailed in the provided text, though the use of standard components suggests high reproducibility.
Limitations
The method relies on the assumption of separate action and disturbance channels, which may not hold in all physical systems (e.g., worn actuators). It also assumes smooth dynamics and short transition durations. The paper acknowledges failures at discontinuities and coordinate folds.
Broader impact
This work bridges causal inference, control theory, and world modeling, offering a practical way to perform counterfactual reasoning in physical systems without explicit causal models. It has implications for robotics, autonomous driving, and any domain where agents must reason about alternative actions under hidden disturbances. The paper introduces a theoretically grounded method for counterfactual reasoning in world models by exploiting the short-time structure of physical dynamics. It provides a rigorous analysis of the limitations of factual world models and offers a simple, effective correction rule that significantly improves counterfactual prediction accuracy in physical simulators.
Author of this paper? Send a correction.