Skip to main content
QUICK REVIEW

[Paper Review] Passive learning of active causal strategies in agents and language models

Andrew K. Lampinen, Stephanie C. Y. Chan|arXiv (Cornell University)|May 25, 2023
Topic ModelingComputer Science10 citations
TL;DR

The paper shows that agents and language models can learn generalizable causal experimentation and intervention strategies from purely passive data, especially when provided with explanations, and can extend these strategies to novel structures and high-dimensional environments.

ABSTRACT

What can be learned about causality and experimentation from passive data? This question is salient given recent successes of passively-trained language models in interactive domains such as tool use. Passive learning is inherently limited. However, we show that purely passive learning can in fact allow an agent to learn generalizable strategies for determining and using causal structures, as long as the agent can intervene at test time. We formally illustrate that learning a strategy of first experimenting, then seeking goals, can allow generalization from passive learning in principle. We then show empirically that agents trained via imitation on expert data can indeed generalize at test time to infer and use causal links which are never present in the training data; these agents can also generalize experimentation strategies to novel variable sets never observed in training. We then show that strategies for causal intervention and exploitation can be generalized from passive data even in a more complex environment with high-dimensional observations, with the support of natural language explanations. Explanations can even allow passive learners to generalize out-of-distribution from perfectly-confounded training data. Finally, we show that language models, trained only on passive next-word prediction, can generalize causal intervention strategies from a few-shot prompt containing examples of experimentation, together with explanations and reasoning. These results highlight the surprising power of passive learning of active causal strategies, and may help to understand the behaviors and capabilities of language models.

Motivation & Objective

  • Demonstrate that passive, offline data can support learning of generalizable active causal strategies.
  • Show that imitation on expert data can enable extrapolation to unseen causal structures.
  • Examine how explanations aid passive learners in learning and generalization, including out-of-distribution cases.
  • Assess whether language models can acquire causal intervention strategies from passive next-word prediction with few-shot prompts.

Proposed method

  • Use a Transformer-based agent with memory to imitate expert demonstrations in simple causal DAG and odd-one-out environments.
  • Train with behavioral cloning on expert data where exploration identifies causal structure, followed by exploitation using the learned structure.
  • Evaluate generalization to DAGs with unseen causal links and to high-dimensional, pixel-based observations.
  • Incorporate natural language explanations as auxiliary loss to facilitate learning and generalization.
  • Test a 70B-parameter Chinchilla language model on few-shot prompts with explanations to assess causal strategy generalization.

Experimental results

Research questions

  • RQ1Can an agent learn generalizable strategies for discovering and exploiting causal structure from passive data if it can intervene at test time?
  • RQ2To what extent can passive imitation generalize to unseen causal links and variable sets?
  • RQ3Do natural language explanations enhance passive learners’ ability to generalize, including out-of-distribution cases?
  • RQ4Can a pretrained language model generalize causal intervention strategies from few-shot prompts with explanations?

Key findings

  • Agents trained via imitation on expert data can infer and use causal links not present in training data.
  • Agents generalize exploration strategies to novel variable sets and test structures.
  • Explanations enable passive learners to generalize from confounded data and support learning in high-dimensional environments.
  • Language models can generalize causal intervention strategies from few-shot prompts when explanations and reasoning traces are included.
  • Passively trained agents and LMs benefit from explanations to improve generalization beyond purely observational learning.

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.