cs.AINov 25, 2026

WhatIf: Counterfactual World Models over Action-Grounded Causal Graphs for Robotic Manipulation

Authors: Xu Yang, Kailai Sun, Qianchuan Zhao

Organizations: Center for Intelligent and Networked Systems, Department of Automation, BNRist, Tsinghua University, Beijing 100084, China · Singapore-MIT Alliance for Research and Technology Centre (SMART), Massachusetts Institute of Technology, 138602, Singapore · Urban Mobility Lab, Massachusetts Institute of Technology, Cambridge, MA 02139, United States

Abstract

World models predict what happens under an action, but choosing between actions requires comparing their outcomes in the same physical situation. Factual transitions alone determine action-wise marginal futures and average effects, but not individual effects or the probability that switching actions causes harm. We introduce WhatIf, a counterfactual world model for manipulation that couples candidate futures through shared latent physics and transition noise inferred from factual history. Each candidate action induces a sparse object-factor causal graph describing the physical pathways it activates. Rolling out these graphs under the shared situation anchors predictions to observed outcomes and confines action contrasts to the objects each action reaches. Shared type-conditioned functions support varying numbers of objects, while a round-trip loss enforces action-invariant abduction without counterfactual labels. We show that replacing an individual effect with its conditional mean incurs mean-squared error equal to its conditional variance, motivating comparisons between coupled futures. Building on these comparisons, Counterfactual Advantage Planning (CAP) ranks plans by their advantage over an incumbent within shared situations and constrains the probability of harm. Paired advantages reduce estimator variance by a factor of 1−ρ1-ρ, where ρρ is the correlation between branch outcomes, and cancel model errors shared by both branches. Each executed transition provides hindsight advantages to update the physics posterior, the next plan, and an amortized policy without a learned critic. We further establish when observational transitions identify interventional dynamics. Paired simulator interventions evaluate counterfactual accuracy, graph recovery, compositional generalization, and decision quality.

Figures & tables

Explore similar work

CardsList
  1. Counterfactual World Models: JEPAs That Reason About "What If"

    Nov 18, 2026Randall Balestriero, Yann LeCun, Kerda VarakuCounterfactual PredictionCausal World Models