Elaboration on the difficulty of input-invariant circuit analysis of MLPs
Some further thoughts on your first question that we hope may be helpful:
In circuit analysis work, a key goal is to decompose layers, large and complex objects, into independent components, so we can find a sparse set of components that matter for a given task. For attention layers, the layer naturally breaks down into independently varying attention heads. In prior work finding circuits, researchers often analyse individual heads, eg induction heads [1] or name mover heads [2]. Crucially, this works because attention heads often seem to be interpretable, at least in the context of a given task.
In MLP layers, however, things are harder. Though MLP layers decompose into independently varying neurons, these neurons are much harder to work with for circuit analysis than heads, as neurons are often polysemantic [3], i.e. activate for many seemingly unrelated things, and often many neurons seem relevant for a given task [4]. Prior work on circuit analysis that looks at MLPs [5, 6] has largely failed to find more granular decompositions just studying an entire MLP layer (though some works have made some progress [7]). Thus, by default, circuit analysis needs to either include or exclude an entire MLP layer, rather than being able to zoom in further. MLPs represent at least 60% of the parameters in models like GPT-2, so this lack of fine-grained analysis is a major roadblock to circuit analysis.
SAEs help by decomposing the *output* of the MLP layer, which can help causal intervention based circuit analysis [8], but SAE features are often dense combinations of many neurons [9], so we must still consider many neurons in the MLP layer, whose behaviour will vary depending on the input, preventing input-invariant circuit analysis.
Transcoders solve this problem by *replacing* the MLP layer with a sparser and more interpretable replacement layer. Transcoders features are easier to work with for circuit analysis, because they break the MLP layer down into fine-grained computations that do *not* depend on MLP neurons, which are often interpretable and can be studied independently as part of a circuit analysis. Transcoder features are computed directly from the MLP input (projecting the MLP input onto the encoder vector followed by a bias and a ReLU), allowing us to decompose the MLP layer better for circuit analysis in an input-invariant way.
Please let us know if there is anything further that we can clarify. If we have successfully addressed your concerns, we hope that you may consider raising your score.
[1] In-context Learning and Induction Heads. Olsson et al. https://arxiv.org/abs/2209.11895
[2] Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 small. Wang et al. https://arxiv.org/abs/2211.00593
[3] Softmax Linear Units. Elhage et al. https://transformer-circuits.pub/2022/solu/index.html
[4] Finding Neurons in a Haystack: Case Studies with Sparse Probing. Gurnee et al. https://arxiv.org/abs/2305.01610
[5] Does Circuit Analysis Interpretability Scale? Evidence from Multiple Choice Capabilities in Chinchilla. Lieberum et al. https://arxiv.org/abs/2307.09458
[6] Fact Finding: Attempting to Reverse-Engineer Factual Recall on the Neuron Level. Nanda et al. https://www.alignmentforum.org/posts/iGuwZTHWb6DFY3sKB/fact-finding-attempting-to-reverse-engineer-factual-recall
[7] How does GPT-2 compute greater-than? Hanna et al. https://arxiv.org/abs/2305.00586
[8] Sparse Feature Circuits: Discovering and Editing Interpretable Causal Graphs in Language Models. Marks et al. https://arxiv.org/abs/2403.19647
[9] Open Source Replication & Commentary on Anthropic's Dictionary Learning Paper. Neel Nanda. https://www.alignmentforum.org/posts/fKuugaxt2XLTkASkk/open-source-replication-and-commentary-on-anthropic-s