Introduction
A strong outcome in reinforcement learning does not always mean the agent made a strong choice. It may have benefited from favorable environmental randomness; a poor outcome may likewise reflect bad luck rather than a bad action. When a learning algorithm cannot distinguish the two, its policy updates can be noisy. The paper “Look Back” proposes a different way to reason about alternatives: rather than imagine an entirely new trajectory, start with one that actually occurred and ask how it might have changed under another action.
The core idea: use experience as a reference
A Counterfactual World Model (CWM) conditions on an observed trajectory and predicts outcomes under alternative actions, while aiming to keep the underlying environmental randomness fixed. The goal is not to produce an unrelated possible future, but to estimate the changes attributable to changing an action within a known experience. The authors’ motivation is that, in complex environments, modeling every part of the world’s evolution may be difficult, while modeling the effects of an action can sometimes be easier.
On top of this modeling approach, the paper introduces REINFORCE Look Back (RLB). It pairs a real rollout with counterfactual branches predicted by the CWM, then uses their returns to construct baselines for policy-gradient updates. This gives the learner a way to compare the chosen action with alternatives, rather than attributing the entire observed return to the policy. The setup has a family resemblance to methods such as RLOO and GRPO, which use grouped outcomes to form baselines. Here, however, the comparison branches are tied to an observed trajectory through the counterfactual model.
What the analysis establishes—and what it does not
The paper studies conditions for unbiasedness and variance reduction. It states that RLB is unbiased under any structural causal model (SCM) consistent with the Markov decision process (MDP), so RL with this estimator does not require counterfactual identifiability. The authors also describe how a noise-invertible world model, including a diffusion model, can be turned into a CWM even if it was trained on unpaired data. These results should not be read as a guarantee that any model will predict alternatives well: the approach still depends on learning action-relevant changes accurately enough to make its counterfactual returns useful.
Why it matters
The contribution reframes what a world model may need to learn. A conventional model is often expected to reproduce the environment’s full dynamics. A CWM instead focuses on a more targeted question: given this experience, what changes if the action changes? When environmental evolution is harder to predict than action-induced differences, that narrower target may be easier to learn and may help policy learning by reducing the effect of chance outcomes. The method does not remove the need for modeling; it redirects modeling toward comparisons that support action attribution. Its practical value therefore depends on the quality of those predictions and on whether the environment fits the conditions described by the authors.
Source: Hugging Face Daily Papers
Comments
Checking sign-in status...
Loading comments...