In this work, CausalVAE is introduced as a plug-in structural module for latent world models and is attached to diverse encoder-transition backbones. Across the reported benchmarks, competitive factual prediction is preserved and intervention-aware counterfactual retrieval is improved after the plug-in is added, suggesting stronger robustness under distribution shift and interventions. The largest gains are observed on the Physics benchmark: when averaged over 8 paired baselines, CF-H@1 is improved by +102.5%. In a representative GNN-NLL setting on Physics, CF-H@1 is increased from 11.0 to 41.0 (+272.7%). Through causal analysis, learned structural dependencies are shown to recover meaningful first-order physical interaction trends, supporting the interpretability of the learned latent causal structure.
Figures & tables
Figure 1: Overview of our framework. Top: ot→zt→z~tatz^t+1 . Bottom: the CausalVAE branch imposes DAG-structured causal constraints in latent space before decoding back to z~t .
Figure 2: Three-stage training strategy.
Figure 3: Counterfactual task construction and evaluation pipeline. From factual tuples (ot,at,ot+1) , we apply interventions do(st(i,j)):=st(i,j)+Δ , re-simulate to obtain ot+1cf , and evaluate retrieval on paired factual/counterfactual futures using H@1, MRR, CF-H@1, and CF-MRR (factual H@1/MRR at 1/5/10-step horizons).
1 Step
5 Steps
10 Steps
Benchmark
Method
H@1 ↑
MRR ↑
H@1 ↑
MRR ↑
H@1 ↑
MRR ↑
Physics 3-body
AE_Contrastive
89.00 / 98.00
94.25 / 99.00
10.00 / 9.00
27.91 / 25.72
1.00 / 3.00
6.59 / 9.31
AE_NLL
92.00 / 94.00
95.67 / 96.83
4.00 / 4.00
16.58 / 16.39
0.00 / 1.00
8.93 / 9.04
VAE_Contrastive
70.00 / 91.00
83.09 / 95.33
1.00 / 3.00
4.96 / 10.44
2.00 / 2.00
5.74 / 5.73
VAE_NLL
92.00 / 94.00
95.83 / 97.00
1.00 / 2.00
10.19 / 9.46
0.00 / 0.00
3.61 / 3.64
Modular_Contrastive
90.00 / 86.00
94.42 / 92.33
20.00 / 8.00
36.31 / 21.23
3.00 / 2.00
10.44 / 6.37
Table 1: Comparison on factual retrieval metrics. Each cell reports Baseline/+CausalVAE. Bold indicates the best value in each column.
Benchmark
Method
CF-H@1 ↑
Δ H@1 ↑
CF-MRR ↑
Δ MRR ↑
Physics 3-body
AE_Contrastive
10.00/24.00
+14.00
49.33/51.77
+2.44
AE_NLL
10.50/41.00
+30.50
52.25/66.92
+14.67
VAE_Contrastive
8.50/8.50
–
46.00/45.40
–
VAE_NLL
10.50/13.00
+2.50
51.75/51.00
–
Modular_Contrastive
22.50/25.00
+2.50
59.83/50.62
–
Modular_NLL
14.50/22.00
+7.50
55.83/57.50
+1.67
Table 2: Comparison on counterfactual retrieval metrics. Each cell reports Baseline/+CausalVAE. Δ indicates the absolute improvement over the baseline.
Figure 4: Comparison between learned structure and first-order physical template. The physical reference matrix is defined as AGT=∣J−I∣ from local linearization. The alignment indicates that the model recovers physically meaningful interaction trends in latent space, while remaining a first-order approximation rather than an exact nonlinear law.
Variant
H@1 ↑
MRR ↑
CF-H@1 ↑
CF-MRR ↑
three-stage training (ours)
91.00
95.16
31.00
52.15
joint training (w/o stage split)
90.33
94.75
28.00
51.05
Baseline (GNN_Contrastive)
88.00
93.37
11.50
52.96
w/o CausalVAE branch
80.00
89.55
27.67
50.06
w/o state align loss
9.00
28.02
26.67
50.57
single-step rollout
90.67
94.91
30.67
52.31
Table 3: Ablations of training strategy, module removal, and hyperparameter sensitivity in the Physics benchmark.
The central challenge of world modeling is to learn representations that capture how the world evolves. However, existing world models predominantly represent future states without explicitly capturing the latent causes underlying their evolution, limiting their ability to reason about why and how the world changes. To address this limitation, we propose Abductive World Modeling (AWM), a framework that learns structured causal representations by abductively inferring latent causes from predicted futures. Specifically, we realize AWM through the Hierarchical Abductive State Pyramid (HASP), which organizes the inferred world state into three complementary components - Entity, Dynamic, and Relation - capturing what exists, how it changes, and how entities interact, respectively. By jointly reasoning over the current observation and its predicted future, HASP abductively infers these latent factors and integrates them into a structured state representation for downstream reasoning. To the best of our knowledge, AWM is the first framework to introduce abductive state inference into latent-space world modeling for learning structured representations of world dynamics. Experiments across physical prediction, causal reasoning, and action understanding demonstrate the effectiveness of our approach. Compared with V-JEPA, a state-of-the-art latent-space world model, AWM improves physical prediction AUROC by 10.7%, causal reasoning accuracy by 16.8%, and action Top-1 accuracy by 68.0%.
Latent world models are trained to predict what happens next, so nothing in their objective separates what an action caused from what merely co-occurred with it. Object-masking models such as C-JEPA intervene on what the predictor can see; we intervene on what physically happens. From one saved simulator state we run the dynamics under an action a and under a reference action a∅, and train the model to predict the difference Δz=za−za∅ between the two latent futures. The resulting objective, Do-JEPA, has an effect loss, a support loss (where the action enters), a propagation loss (where its effect travels) and invariance losses (what must not change). In a synthetic system with object-aligned variables, support supervision finds the directly intervened object in 99.95% of test cases, where a sparse action mask sends the action to a nuisance slot in every case, and response-onset supervision recovers the ring-shaped propagation graph (edge AUROC 0.975 vs. 0.624). From pixels, the effect loss beats a control trained on exactly the same data: it lowers latent effect error by 28.4% on an end-to-end LeWM model and physical effect error by 13.5% when trained and tested on natural action sequences, and on three independently generated CausalWorld benchmarks it lowers responsive effect error by about 20% under physics shifts and the latent context sensitivity of predicted effects by 66%. Trained from scratch it costs factual accuracy; fine-tuning an existing model with it removes this cost. Together, these results show that intervening on the world, rather than on what the model sees, helps latent world models predict what their actions cause.
Hossein Resani, Javen Qinfeng Shi
Australian Institute for Machine Learning, Adelaide University · Responsible AI Research Centre
Counterfactual prediction estimates an individual's outcome under an alternative intervention given their factual observations. Such outcomes are generally not identifiable from observational data without additional assumptions. Even within the class of fully observed additive noise models (ANMs), different causal graphs can generate the same observational distribution yet imply different individual counterfactual outcomes. Predictions based on a single estimated graph ignore this structural uncertainty. We therefore target a Bayesian counterfactual posterior predictive distribution that combines predictions from plausible SCMs. We introduce CAFE (CounterfActual Prediction via Fast Posterior Estimation), an amortized inference framework that directly approximates the Bayesian counterfactual posterior predictive distribution. We pretrain a transformer-based model on synthetic counterfactual tasks generated from a diverse prior over ANMs. Given an observational dataset, an individual's factual observations, and an intervention, CAFE approximates the corresponding posterior predictive distribution in a single forward pass. Experiments show that CAFE accurately predicts individual counterfactual outcomes in identifiable settings and approximates the posterior predictive distribution when structural uncertainty induced by observationally indistinguishable causal graphs exists. Strong performance in realistic manufacturing and viticulture settings further demonstrates its empirical robustness beyond the assumptions of the training prior.