Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 small

By Kevin Wang, Alexandre Variengien, Arthur Conmy, Buck Shlegeris, Jacob Steinhardt. International Conference on Learning Representations, 2022

1,133 citations recorded by the source corpus.

Research in mechanistic interpretability seeks to explain behaviors of machine learning models in terms of their internal components. However, most previous work either focuses on simple behaviors in small models, or describes complicated behaviors in larger models with broad strokes. In this work, we bridge this gap by presenting an explanation for how GPT-2 small performs a natural language task called indirect object identification (IOI). Our explanation encompasses 26 attention heads grouped into 7 main classes, which we discovered using a combination of interpretability approaches relying on causal interventions. To our knowledge, this investigation is the largest end-to-end attempt at reverse-engineering a natural behavior"in the wild"in a language model. We evaluate the reliability of our explanation using three quantitative criteria--faithfulness, completeness and minimality. Though these criteria support our explanation, they also point to remaining gaps in our understanding. Our work provides evidence that a mechanistic understanding of large ML models is feasible, opening opportunities to scale our understanding to both larger models and more complex tasks.

Subfields: Artificial Intelligence, Materials Chemistry

View Paper: https://www.semanticscholar.org/paper/6edd112383ad494f5f2eba72b6f4ffae122ce61f

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Percy Liang
  2. Dan Hendrycks
  3. Jacob Steinhardt
  4. Tengyu Ma
  5. Luke S. Zettlemoyer
  6. Quoc V. Le
  7. Mohit Bansal
  8. Yejin Choi

In Materials Chemistry

  1. Zhiyuan Li
  2. Tengyu Ma
  3. Mor Geva
  4. Jimmy Ba
  5. Kevin M. Esvelt
  6. Yoshua Bengio
  7. Yang Liu
  8. Richard Socher

Citations in the corpus