Skip to main content
QUICK REVIEW

[Paper Review] Shaking the foundations: delusions in sequence models for interaction and control

Pedro A. Ortega, Markus Kunesch|arXiv (Cornell University)|Oct 20, 2021
Topic ModelingComputer Science19 citations
TL;DR

This paper identifies that sequence models used for interactive control suffer from self-delusions due to treating actions as passive observations rather than causal interventions. By training with factual (for observations) and counterfactual (for actions) error signals, the model learns to condition on interventions, resolving delusions and enabling correct causal reasoning in policy learning.

ABSTRACT

The recent phenomenal success of language models has reinvigorated machine learning research, and large sequence models such as transformers are being applied to a variety of domains. One important problem class that has remained relatively elusive however is purposeful adaptive behavior. Currently there is a common perception that sequence models "lack the understanding of the cause and effect of their actions" leading them to draw incorrect inferences due to auto-suggestive delusions. In this report we explain where this mismatch originates, and show that it can be resolved by treating actions as causal interventions. Finally, we show that in supervised learning, one can teach a system to condition or intervene on data by training with factual and counterfactual error signals respectively.

Motivation & Objective

  • To identify the root cause of self-delusions in sequence models used for interactive control.
  • To explain why standard auto-regressive prediction fails when actions are treated as passive observations in causal models.
  • To show that actions must be treated as interventions to avoid confounding and incorrect inferences.
  • To demonstrate that training with factual and counterfactual error signals enables correct causal conditioning in sequence models.
  • To provide a theoretical foundation for building adaptive, causal policies from sequence models without reward shaping.

Proposed method

  • Treat actions as do-interventions rather than passive observations in the probabilistic model to break confounding dependencies.
  • Use factual loss signals to train observation predictions conditioned on actual action histories.
  • Use counterfactual loss signals to train action predictions conditioned on intervened action histories.
  • Derive gradient flows showing that minimizing factual and counterfactual losses leads to correct conditional probabilities: P(a_t | a_{<t}, o_{<t}) = Q(a_t | do(a_{<t}), o_{<t}) and P(o_t | a_{≤t}, o_{<t}) = Q(o_t | do(a_{≤t}), o_{<t}).
  • Apply the chain rule and do-calculus to re-express joint probabilities and isolate the effect of interventions on prediction error.
  • Show that end-to-end backpropagation over the full computation graph correctly propagates gradients only when interventions are explicitly modeled.

Experimental results

Research questions

  • RQ1Why do sequence models fail to produce adaptive behavior in interactive settings despite strong predictive performance?
  • RQ2What causes self-delusions in sequence models when they generate and predict their own actions?
  • RQ3How can we distinguish between observational and interventional dependencies in sequence models?
  • RQ4Can we train a sequence model to learn causal policies using only observational demonstrations and error signals?
  • RQ5What training signal structure (factual vs. counterfactual) is required to ensure correct causal conditioning in sequence models?

Key findings

  • Self-delusions arise because models treat their own actions as passive evidence, leading to confounded inferences such as believing 'cheeseburgers are on the menu' after generating that sentence.
  • The core issue is that actions are embedded in a causal network and must be treated as interventions, not observations, to avoid spurious correlations.
  • Training with factual loss signals for observations and counterfactual loss signals for actions ensures that the model learns P(a_t | do(a_{<t}), o_{<t}) and P(o_t | do(a_{≤t}), o_{<t}) correctly.
  • Theoretical analysis shows that minimizing these loss signals leads to the correct causal conditional probabilities, as derived from do-calculus and chain rule manipulations.
  • The method enables behavior cloning and policy learning from demonstrations without reward shaping, under mild assumptions like causally sufficient MDPs.
  • The approach resolves the mismatch between passive prediction and active control by explicitly modeling interventions in the sequence model's training objective.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.