CausalGym: Benchmarking causal interpretability methods on linguistic tasks
Aryaman Arora, Dan Jurafsky, Christopher Potts
TL;DR
CausalGym presents a scalable benchmark that repurposes SyntaxGym tasks to evaluate the causal efficacy of interpretability methods on linguistic behaviours in language models. By applying 1D interchange interventions across residual streams and comparing seven feature-finding methods (notably DAS), the work demonstrates that DAS most effectively induces intended behavioural changes, though control tasks reveal its advantages may arise from access to downstream outputs. The authors show that two difficult linguistic phenomena—negative polarity item licensing and filler–gap dependencies—emerge during training in discrete, multi-step stages rather than gradually, offering mechanistic insights into how LMs learn complex syntax. Overall, CausalGym provides a rigorous framework for causal evaluation of interpretability methods and encourages broader adoption of interventional approaches in computational psycholinguistics.
Abstract
Language models (LMs) have proven to be powerful tools for psycholinguistic research, but most prior work has focused on purely behavioural measures (e.g., surprisal comparisons). At the same time, research in model interpretability has begun to illuminate the abstract causal mechanisms shaping LM behavior. To help bring these strands of research closer together, we introduce CausalGym. We adapt and expand the SyntaxGym suite of tasks to benchmark the ability of interpretability methods to causally affect model behaviour. To illustrate how CausalGym can be used, we study the pythia models (14M--6.9B) and assess the causal efficacy of a wide range of interpretability methods, including linear probing and distributed alignment search (DAS). We find that DAS outperforms the other methods, and so we use it to study the learning trajectory of two difficult linguistic phenomena in pythia-1b: negative polarity item licensing and filler--gap dependencies. Our analysis shows that the mechanism implementing both of these tasks is learned in discrete stages, not gradually.
