Counterfactual Debugging the World Model Transfer Gap
Abstract
Policies achieving strong performance in simulators or learned world models can fail when deployed into the real environment. While there must be environmental differences that account for these failures, not all differences are equally responsible. A benign error of irrelevant visual details may co-exist with a failure to predict a single critical transition causing an inevitable catastrophic failure. In this paper, we introduce counterfactual debugging as an approach for world model transfer gap attribution to identify the time steps whose transition or reward errors are causally responsible for a performance degradation exhibited in a real trajectory, rather than only visually or statistically different. We develop a scalable algorithm for computing these attributions that exploits the sparsity of causal errors by recursively divide-and-conquer, significantly reducing computational costs, achieving an exponential speedup while maintaining a high attribution quality. Experiments across distinct environments with various common world model failures (observation corruption, reward misprediction, and physics violations) demonstrate that counterfactual debugging correctly identifies the errors that cause the transfer gap, providing principled, actionable insights for continual learning in world models. Project Page: mingxuan.me/debugwm.html
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI
Related papers
Diagnosing the Transfer Gap of a Physics Prior Planner for HVAC Control
Shared title terminologycs.LGHironmoy Roy Rudra, Md. Moshiur Rahman, Anik Fouzder et al.
Explaining Deep EEG Emotion Classifiers with Central Counterfactuals
Shared title terminologycs.LGVitor Inserra, Amit Chalmeti, Pranav Mucharla et al.
Inference-Time Weak-to-Strong Transfer for Efficient Distillation
Shared title terminologycs.LGYuxiao Yang, Shangzhe Li, Tianrun Yu et al.
Put the World Back: Timestamps Matter in Time Series Reasoning
Shared title terminologycs.LGTingrui Huang, Yuanyuan Deng, Qingren Yao et al.
Not all world models can doubt: how training objective and architecture shape epistemic uncertainty in JEPA and RSSM world models
Shared title terminologycs.LGSimon Baur, Wojciech Samek, Jackie Ma
Transferring Architecture as an Optimization Prior
Shared title terminologycs.LGVighnesh Subramaniam, Boris Katz, Brian Cheung