Latent Dynamics · 2026-11-24

Look Back: Reinforcement Learning with Counterfactual World Models

Jinwoo Kim, Toghrul Abbasov, Lucius E. J. Bynum, Aahlad Puli, Stephanie Milani, Hyunwoo Ryu, Seunghoon Hong, Kyunghyun Cho, Rajesh Ranganath

arXiv:2611.29259PDFCode

AI-assisted summary based on the paper. Consult the linked source for methods and limitations. Benchmark numbers appear after editor verification.

TL;DR

The authors propose counterfactual world models (CWMs) that condition on an observed trajectory and predict alternative outcomes under the same underlying environmental randomness. They introduce REINFORCE Look Back (RLB), using counterfactual returns as baselines to separate action effects from environmental luck, with proofs of unbiasedness and variance reduction. They report that CWMs are easier to learn and support better policy learning than ordinary world models when action-induced changes are more predictable than environmental evolution.

Why it matters

This work targets a key limitation of world-model-based RL in stochastic settings: imagined returns can be dominated by environmental randomness, increasing policy-gradient variance and masking action effects. By reusing observed environmental unfoldings to generate counterfactual branches, RLB aims to reduce variance and improve learning, including in sequential credit assignment settings where naive branching can be inefficient.

Method

  • Define counterfactual world models pω(xi+1 | xi, ai, oi) that condition on factual observation oi = (x̂i, âi, x̂i+1) and reuse underlying environmental randomness to predict alternative outcomes.
  • Train CWMs either from paired factual/counterfactual transitions with shared environmental noise (maximum likelihood) or via diffusion counterfactual inference from an unpaired diffusion world model (invert latent noise, then generate with altered conditioning).
  • Introduce REINFORCE Look Back (RLB): generate multiple counterfactual trajectories and use their predicted returns as baselines; the paper proves conditions for unbiasedness and variance reduction.

Limitation

The paper notes that diffusion inversion is not exact in practice, which can allow information about the factual action to leak into the baseline and introduce bias (Proposition 10).

Abstract (from arXiv)

Agents in complex, stochastic environments must contend with dynamics that can exceed their world models' predictive capacity and randomness that obscure the consequences of their actions. We hypothesize that, compared to imagining entirely new trajectories in such complex environments, it can be easier to transform observed trajectories with alternative actions. Counterfactual world models condition on observations to predict alternative outcomes under the same underlying environmental randomness, using experience as a reference for predicting action-dependent changes. We present a policy gradient estimator, REINFORCE Look Back (RLB), that uses counterfactual returns as baselines to distinguish action effects from environmental luck, and prove conditions for unbiasedness and variance reduction. In settings where environmental evolution is harder to predict than action-induced changes, we show that counterfactual world models are easier to learn and support better policy learning than ordinary world models. Our findings suggest that counterfactual thinking can help agents learn effective behavior without independently reproducing the full complexity of their worlds.

Related papers

Publication record

Bibliographic evidence describes where and when a record appeared. It does not validate scientific claims.

First announced by arXiv: 2026-11-24 · Indexed by Pub-AI: 2026-11-24 UTC

preprint

Look Back: Reinforcement Learning with Counterfactual World Models

Jinwoo Kim, Toghrul Abbasov, Lucius E. J. Bynum, Aahlad Puli, Stephanie Milani, Hyunwoo Ryu, Seunghoon Hong, Kyunghyun Cho, Rajesh Ranganath

First announced by arXiv: 2026-11-24 · Original record ↗

arxiv
2611.29259
Explicit source versions (1)
  • v1 · Date not supplied
  1. Preprint available

    Source date: 2026-11-24 · First detected: 2026-11-24 UTC · Historical baseline

    Source evidence (1)
    • Official evidence ↗ · RSS guid=oai:arXiv.org:2611.29259v1; arxiv:announce_type=new; item pubDate (official metadata)
Abstract · arxiv

Agents in complex, stochastic environments must contend with dynamics that can exceed their world models' predictive capacity and randomness that obscure the consequences of their actions. We hypothesize that, compared to imagining entirely new trajectories in such complex environments, it can be easier to transform observed trajectories with alternative actions. Counterfactual world models condition on observations to predict alternative outcomes under the same underlying environmental randomness, using experience as a reference for predicting action-dependent changes. We present a policy gradient estimator, REINFORCE Look Back (RLB), that uses counterfactual returns as baselines to distinguish action effects from environmental luck, and prove conditions for unbiasedness and variance reduction. In settings where environmental evolution is harder to predict than action-induced changes, we show that counterfactual world models are easier to learn and support better policy learning than ordinary world models. Our findings suggest that counterfactual thinking can help agents learn effective behavior without independently reproducing the full complexity of their worlds.