Observable Propagation: Uncovering Feature Vectors in Transformers
Not on the map. Why?
Abstract (arXiv)
A key goal of current mechanistic interpretability research in NLP is to find linear features (also called "feature vectors") for transformers: directions in activation space corresponding to concepts that are used by a given model in its computation. Present state-of-the-art methods for finding linear features require large amounts of labelled data -- both laborious to acquire and computationally expensive to utilize. In this work, we introduce a novel method, called "observable propagation" (in short: ObProp), for finding linear features used by transformer language models in computing a given task -- using almost no data. Our paradigm centers on the concept of "observables", linear functionals corresponding to given tasks. We then introduce a mathematical theory for the analysis of feature vectors, including a similarity metric between feature vectors called the coupling coefficient which estimates the degree to which one feature's output correlates with another's. We use ObProp to perform extensive qualitative investigations into several tasks, including gendered occupational bias, political party prediction, and programming language detection. Our results suggest that ObProp surpasses traditional approaches for finding feature vectors in the low-data regime, and that ObProp can be used to better understand the mechanisms responsible for bias in large language models.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 20 of its 40 references that are in the map. First posted on arXiv 26 Dec 2023.
Builds on
20 of 40 references.
References · 20
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,348
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2019Root Mean Square Layer Normalizationcited by 1,425
- 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,359
- 2017Interpretability Beyond Feature Attribution: Quantitative Testing with Concept Activation Vectors (TCAV)cited by 1,309
- 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
- 2023Towards Automated Circuit Discovery for Mechanistic Interpretabilitycited by 700
- 2023Finding Neurons in a Haystack: Case Studies with Sparse Probingcited by 328
8 more
- 2023Linearity of Relation Decoding in Transformer Language Modelscited by 190
- 2023Localizing Model Behavior with Path Patchingcited by 182
- 2023Linear Representations of Sentiment in Large Language Modelscited by 157
- 2021Contrastive Explanations for Model Interpretabilitycited by 75
- 2019AllenNLP Interpret: A Framework for Explaining Predictions of NLP Modelscited by 74
- 2023Characterizing Mechanisms for Factual Recall in Language Modelscited by 47
- 2023On the Expressivity Role of LayerNorm in Transformers' Attentioncited by 32
- 2023Uncovering Intermediate Variables in Transformers using Circuit Probingcited by 12
Built on by
Citing papers per year: 2024: 1.
1 paper.
- 2024Transcoders Find Interpretable LLM Feature Circuitscited by 186
- 2024Transcoders Find Interpretable LLM Feature Circuits17 Jun 2024