How to use and interpret activation patching
Authors:
- Stefan HeimersheimSHStefan Heimersheim
- Neel NandaNNNeel Nanda
Preprint
Abstract
Activation patching is a popular mechanistic interpretability technique, but has many subtleties regarding how it is applied and how one may interpret the results. We provide a summary of advice and best practices, based on our experience using this technique in practice. We include an overview of the different ways to apply activation patching and a discussion on how to interpret the results. We focus on what evidence patching experiments provide about circuits, and on the choice of metric and associated pitfalls.Keywords
All Related Versions
This publication has 6 references indexed in Scilit:
- In-Context Learning Creates Task Vectors2023
- A Mechanistic Interpretation of Arithmetic Reasoning in Language Models using Causal Mediation Analysis2023
- Dissecting Recall of Factual Associations in Auto-Regressive Language Models2023
- Causal Analysis of Syntactic Agreement Mechanisms in Neural Language Models2021
- Discovering the Compositional Structure of Vector Representations with Role Learning Networks2020
- Neural Natural Language Inference Models Partially Embed Theories of Lexical Entailment and Negation2020