papers / circuits2020
Next task →
Research Papers/Interpretability and evaluation/Zoom In: An Introduction to Circuits
Interpretability and evaluation · #1 · seminal

Zoom In: An Introduction to Circuits

Chris Olah, Nick Cammarata, Ludwig Schubert, Gabriel Goh, Michael Petrov et al. · 2020 · Distill
reproduction difficulty: mediumInterpretabilityDeep LearningVisualization

1. Research problem

Neural network representations are distributed and opaque, so it is unclear how to give a mechanistic explanation of a learned computation.

2. Motivation

The authors wanted a practical methodology for describing a network in terms of human-understandable features and the circuits that connect them.

3. Previous approaches

Feature visualization and saliency maps showed what units respond to, but did not explain how units are wired together to perform a computation.

4. Core contribution

Defined the circuits program: identify meaningful features, understand their algebraic structure, and decompose network computation into small subgraphs connecting them.

5. Mathematical formulation

A circuit is a subgraph of a network whose components and connections implement a recognizable function, studied by intervening on features and observing behavior.

6. Methodology

Use feature visualization, ablation, and carefully chosen inputs to propose and test circuit hypotheses in small vision and language models.

7. Architecture

Studied small convolutional vision networks and toy language models rather than introducing a new architecture.

8. Experimental setup

Case studies of feature families and simple circuits, with interactive visualizations.

9. Datasets

ImageNet-trained small CNNs and synthetic language examples.

10. Results

Provided a concrete research agenda and vocabulary for mechanistic interpretability, influencing later circuit analyses.

11. Limitations

Most demonstrations are on small models; manual circuit discovery does not scale; feature definitions remain somewhat subjective.

12. Critical analysis

More a methodological manifesto with worked examples than an experimental result, but it defined much of the mechanistic interpretability field.

13. Implementation tasks

  • 1.Visualize features of a small CNN and group them into hypothesized feature families.
  • 2.Perform ablation of a hypothesized circuit and verify the predicted behavioral change.
  • 3.Write a short mechanistic explanation of a one-layer model's computation.

14. Follow-up work

  • 1.In-context Learning and Induction Heads (Olsson et al., 2022)
  • 2.Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 small (Wang et al., 2022)

15. Open research questions

  • 1.Can circuits be discovered automatically at scale?
  • 2.What counts as a human-understandable feature?
16. Reproduce it. Record the hypothesis, configuration, dataset, metrics and discrepancies in the Experiment Tracker. A reproduction is not complete until you have run the experiments, performed at least one ablation and documented the differences from the reported numbers.