[Paper Review] Tell me why! Explanations support learning relational and causal structure
This paper demonstrates that training deep reinforcement learning agents to predict natural language explanations—rather than just observing them—significantly improves their ability to learn relational and causal structure in complex environments. By predicting explanations, agents generalize better out-of-distribution, avoid spurious correlations, and even learn to perform causal interventions, outperforming baseline models on odd-one-out and confounded causal tasks.
Inferring the abstract relational and causal structure of the world is a major challenge for reinforcement-learning (RL) agents. For humans, language--particularly in the form of explanations--plays a considerable role in overcoming this challenge. Here, we show that language can play a similar role for deep RL agents in complex environments. While agents typically struggle to acquire relational and causal knowledge, augmenting their experience by training them to predict language descriptions and explanations can overcome these limitations. We show that language can help agents learn challenging relational tasks, and examine which aspects of language contribute to its benefits. We then show that explanations can help agents to infer not only relational but also causal structure. Language can shape the way that agents to generalize out-of-distribution from ambiguous, causally-confounded training, and explanations even allow agents to learn to perform experimental interventions to identify causal relationships. Our results suggest that language description and explanation may be powerful tools for improving agent learning and generalization.
Motivation & Objective
- To investigate whether language explanations can help deep reinforcement learning agents learn abstract relational and causal structure in complex environments.
- To examine whether predicting explanations (rather than just observing them) enhances learning and generalization.
- To determine how explanations help agents overcome biases toward spurious, easy-to-learn features in confounded training environments.
- To evaluate whether explanations enable agents to learn experimental interventions to identify causal structure.
- To explore the contribution of different aspects of explanations (e.g., abstraction, causal links) to improved performance.
Proposed method
- Agents are trained in 2D and 3D environments using deep reinforcement learning with a policy network and value function.
- A language head is trained to predict natural language explanations describing the relationship between actions, observations, and task structure.
- Explanations are defined as language strings that link agent behavior to abstract task goals, such as 'turning on the oven heats it up to prepare for baking'.
- The model is trained to predict explanations via supervised learning on human-annotated or synthetic explanation data, using cross-entropy loss.
- Generalization is evaluated on deconfounded, out-of-distribution test sets where causal features are dissociated from spurious ones.
- Causal intervention tasks require agents to select and execute actions that probe causal structure, such as manipulating variables to test dependencies.
Experimental results
Research questions
- RQ1Can training agents to predict language explanations improve their learning of relational structure in reinforcement learning tasks?
- RQ2Does predicting explanations lead to better out-of-distribution generalization compared to observing explanations or no language supervision?
- RQ3How do different components of explanations (e.g., causal links, abstract descriptions) contribute to improved learning and generalization?
- RQ4Can agents learn to perform experimental interventions to identify causal structure when trained with explanation prediction?
- RQ5To what extent do explanations help agents avoid learning spurious correlations in causally confounded environments?
Key findings
- Agents trained to predict explanations generalized significantly better than baseline agents on deconfounded, out-of-distribution evaluations, especially in causally confounded tasks.
- Prediction-based explanation training reduced reliance on spurious, easy-to-learn features that perfectly predicted reward during training but failed in evaluation.
- Agents that predicted explanations learned to perform experimental interventions to identify causal structure, demonstrating meta-learning of causal reasoning.
- The benefit of explanations was most pronounced when agents predicted them rather than merely observed them, suggesting predictive learning shapes internal representations.
- Explanations enabled agents to disentangle confounded features and form more robust, generalizable policies across diverse relational and causal tasks.
- Even in the absence of ground-truth causal structure, explanation prediction helped agents form abstractions that improved performance on ambiguous and complex tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.