Multi-component Causal Tracing in Large Language Models
Not on the map. Why?
Abstract (arXiv)
Causal tracing systematically intervenes on a large language model's (LLM's) internal representations to uncover and quantify the causal pathways linking specific inputs or computations to specific metrics of interest, quantifying the LLM's behavior. Building on previous single-component or single-layer studies, this paper presents a unified framework for causally tracing multiple components simultaneously. This framework systematically identifies the subsets of components (e.g., attention heads and multi-layer perceptron neurons) most critical to a desired target performance metric (e.g., accuracy and fairness). This is achieved by incorporating flexible interventions applied to a wide range of desired metrics. To address the combinatorial complexity of the multi-component problem, an efficient algorithm is designed that leverages soft interventions and a carefully designed metric transformation, converting the combinatorial search problem into a continuous one that can be solved efficiently under proper constraints, thereby generating proper binary decisions for selecting components. Experimental results demonstrate that the proposed method efficiently identifies subsets of the model's components that have a high impact on the target metric, outperforming existing baseline approaches. Our code is available at https://github.com/ZiruiYan/multi-component-causal-tracing.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 39 of its 51 references that are in the map. First posted on arXiv 2 Jun 2026.
Builds on
39 of 51 references.
References · 39
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
- 2019Language Models as Knowledge Bases?cited by 1,922
- 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,422
- 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,359
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
- 2016Man is to Computer Programmer as Woman is to Homemaker? Debiasing Word Embeddingscited by 1,304
- 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,259
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,130
- 2017Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPRcited by 1,086
27 more
- 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
- 2022Mass-Editing Memory in a Transformercited by 976
- 2022In-context Learning and Induction Headscited by 930
- 2023Towards Automated Circuit Discovery for Mechanistic Interpretabilitycited by 700
- 2018Gender Bias in Coreference Resolution: Evaluation and Debiasing Methodscited by 657
- 2017Learning Sparse Neural Networks through L0 Regularizationcited by 571
- 2022Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Spacecited by 522
- 2018Gender Bias in Coreference Resolutioncited by 438
- 2021Causal Abstractions of Neural Networkscited by 401
- 2023Towards Best Practices of Activation Patching in Language Models: Metrics and Methodscited by 328
- 2013Direct and Indirect Effectscited by 276
- 2023Prompting Large Language Model for Machine Translation: A Case Studycited by 247
- 2023Adapted Large Language Models Can Outperform Medical Experts in Clinical Text Summarizationcited by 244
- 2023Does Localization Inform Editing? Surprising Differences in Causality-Based Localization vs. Knowledge Editing in Language Modelscited by 237
- 2018Gender Bias in Neural Natural Language Processingcited by 210
- 2021Societal Biases in Language Generation: Progress and Challengescited by 201
- 2023Attribution Patching Outperforms Automated Circuit Discoverycited by 196
- 2020Causal Mediation Analysis for Interpreting Neural NLP: The Case of Gender Biascited by 183
- 2024Have Faith in Faithfulness: Going Beyond Circuit Overlap When Finding Model Mechanismscited by 144
- 2023A Toy Model of Universality: Reverse Engineering How Networks Learn Group Operationscited by 141
- 2024Fine-Tuning Enhances Existing Mechanisms: A Case Study on Entity Trackingcited by 140
- 2023Factuality Challenges in the Era of Large Language Modelscited by 125
- 2020Generating Hierarchical Explanations on Text Classification via Feature Interaction Detectioncited by 57
- 2022GlobEnc: Quantifying Global Token Attribution by Incorporating the Whole Encoder Layer in Transformerscited by 44
- 2023Quantifying Context Mixing in Transformerscited by 43
- 2023Discovering Variable Binding Circuitry with Desideratacited by 32
- 2024Decomposing and Editing Predictions by Modeling Model Computationcited by 19
Built on by
Not cited yet.