Stefan Heimersheim. Mechanistic interpretability & AI safety researcher, previously at FAR.AI and Apollo Research. The opinions expressed here are my own and do not necessarily reflect the views of my employer.
StefanHex
Takes on Nick Cammarata’s Neural Networks Are Already Clean essay, quickly written. Overall I think the essay makes valuable contributions to interpretability. But I am also worried that the community vastly overestimates the state of the field, and quite a lot of second-hand discussion I’ve seen online seems over-optimistic.
I’m not convinced by the big claims (at this time), but the post makes multiple valuable contributions. I’m looking forward to see the technical paper and might change my mind in either direction.
Important contribution: Neurons that we previously thought were polysemantic (multiple meanings, e.g. cars and dogs) are actually monosemantic (single meaning, e.g. V shaped pictures). Both Nick’s essay and Transluce’s work (Choi et al.) suggest that neurons in Image and Language models may be more monosemantic that previously thought, we just have to do a better job interpreting them.
Main disagreement: I don’t believe the optimistic version that I’d term “neurons is all we need”. I expect the neuron basis to be not good enough for understanding LLMs, e.g. I expect that LLM computation will be distributed across neurons, and I still think the superposition* hypothesis is true more likely that not. I expect neuron-based interpretability will be insufficient to understand LLMs; I think this disagrees with Nick’s essay, and also with Tranluce’s paper Arora et al.. The reason for my scepticism is mainly: (a) LLMs still seem to perform more independent computations (incl. fact lookups) than they have neurons; I don’t think there’s a way to implement this with only monosemantic neurons. I expect something like Comp-in-Sup is what the network does. (b) The evidence (e.g. consider the essay’s Christmas neuron) so far seems not sufficient to conclude we understand what neurons do; specifically I worry that maximum-activating examples tell a plausible but incomplete story. However, I’m somewhat withholding judgement until I see the technical report; the essay claims that weaker activations of neurons are less important. (“Do Weak Activations Matter?”)
Superposition disagreement: I find the evidence against superposition less convincing because many experiments are doing extreme compressions (retraining a layer down to 10 neurons), and take the absence of superposition as evidence against superposition in realistic settings. However, it is quite established that superposition (and computation in superposition) only really works in high dimensions / for large numbers of neurons, so I wouldn’t have expected superposition in their the very-low dimension experiment.
Another cool contribution: I like the essay’s “recursive generalization” hypothesis (albeit I find the name confusing). I consider it a nice learning-theoretic explanation for why neurons may end up representing related concepts for “historical” reasons. From the example in the post: A neuron may initially represent meadows. Later, when the network learns finer concepts (dogs, tennis balls, flowers, grass, mountains), this neuron may be involved in representing those finer concepts just because it was already correlated with those concepts (dogs are often photographed on meadows). While I don’t buy the essay’s learning learning-principle story, I like this ideas as a motif we might see again.
*superposition is used to mean different things, and I don’t have time for a proper discussion at the moment. For this shortform I think the essay’s definition is close enough. I want to note though that Representation in Superposition (a la Elhage et al. 2022, storing exponentially many concepts in high dimensional vector space) and Computation in Superposition (a la Hänni et al. 2024, computing polynomially many functions with fewer non-linearities than functions) are different things, and at least for Transformers it’s worth distinguishing these.
When writing papers, optimise for the easiest to explain plot or result.
If your results are sufficiently strong that basically all ways of presenting them hold up (and they should be), then the most important quality is often “how easy-to-explain are your axes”.
When I wrote papers during my PhD I often wanted to get all the data I had into my plots, and was keen to show all the nuances. I’ve seen similar tends in various of my mentees. That’s usually not optimal, especially for your Figure 1. You want to optimise helping someone understand, at a glance, whether they should read the rest of your paper. You can and should provide all the glorious detail in appendices, data supplements, online resources. And when you have secondary nuances that are interesting, dedicate a section to them!
Of course this does not mean you should cherry-pick your most favourable result. You should (a) not do that, and (b) actually, optimising for simplicity makes cherry-picking harder! When I see a paper with a highly-convoluted metric, I may ask myself: Did they pick this metric because the obvious choice didn’t work? Sometimes convoluted metrics are necessary, but often they can be avoided.
Activation Oracles significantly underperform without a safe base model
Fundamental interpretability methods probably won’t suddenly break as you scale your model.
When discussing mech interp research directions, I advocated for solving fundamental mech interp on existing models. For example, developing methods that identify the concepts and abstractions the model uses in it’s computation (“true features”).
Someone asked: If you develop an interp method that works on GPT-2/3/4/5, how do you know that it will keep working on the next model? Especially when the next model starts using alien (non-human) concepts & abstractions?
My answer: I’m asking for unsupervised interp methods that don’t take any human concepts as input. This includes my recent activation plateau work, but also includes classics like Sparse Autoencoders run on the full dataset. These methods rely on some mathematical structure in the model, e.g.
Assuming that the computational feature directions of neural networks are local optima of sensitivity
Assuming that the dataset of activations are best compressed as sparse combinations of features
It’s possible that those mathematical assumptions break someday. However, if these properties were to hold on GPT-2/3/4/5 then I argue that it’s unlikely that the method breaks with GPT-6. I don’t see a reason why the larger model developing alien concepts would be correlated with it’s mathematical structure and mechanistic working changing. This would be a coincidence.
Other failure modes of interp I’m not arguing against: 1) Methods that rely on human concepts (e.g. many supervised methods) will likely break exactly when the model develops non-human features; that’s bad. 2) Methods that suffer from complexity (e.g. full circuit analysis) will gradually get worse as you scale the model (though you’ll probably notice this gradually as you scale).
Thanks to Nicolas Martorell for prompting this discussion!
I view my activation perturbation agenda as attempting a shortcut: It may be easier to “just” list the active features than to actually understand the circuits. And listing the currently-active true features (where we have theory-based confidence that it’s the right abstraction, and that our list is complete) seems close enough to mind-reading that it could give us substantial confidence in alignment.
That being said I’m a fan circuit-sparse transformers! Even in the near term I think there’s many benefits to creating a fully-interpretable working language-model (e.g. proof of concept for understandable language modelling, interp ground truths via bridge models).
Thanks for the comments Daniel, I appreciate the pushback!
More generally I feel like I’m missing why I should expect this class of approaches to work at all. True features may not live in the activation space, or even if they do, they may be very pathological c.f. https://www.lesswrong.com/posts/gYfpPbww3wQRaxAFD/activation-space-interpretability-may-be-doomed
I agree with ajskateboarder that the arguments mostly cut against dataset-based methods rather than activation space per se.
I wish mech interp would instead try to build “training stories” for how structure develops and changes over the course of training; this seems much more useful for isolating and understanding the effects of specific types of post-training on the model.
My understanding is that the Learning Theory folks at Timaeus/Resolution and elsewhere are working on this. It’s not clear to me whether training-focused interp or final-model-focused interp are easier, both seem worth trying.
Lastly, a tangent: I believe that mech interp historically focuses too much on explaining structure within a single checkpoint, which may not be “clean” and might often be “spurious” / “vestigial”. Even if theory predicts the ‘ideal’ features within a model, real representations may not yet have converged to this ideal. (Extreme example: randomly initialised NN)
I agree that no NN will be “clean”; I think this may be just fine, or may be a major issue, but we don’t know yet. I recall Dmitry Vaintrob thinking about how to separate that noise from the functional part but don’t remember the specific post.
I’m very keen for parallel progress on this direction (I think we can make progress on both in parallel).
I believe that mechanistic interpretability should attempt to find the “true features” (in the sense of computational units, abstractions the model uses, see here for discussion).
I think a promising area is observing the response of a model to activation perturbations into various directions. Why? Because this is close to data-free (we want to know what features the model learned, not which ones are in the data) and just asks does the model priviledge this direction?
I’ll write more about this soon, but for now I want to shout out my mentee Francisco’s work which I consider a proof of concept of this idea: LLMs do somewhat priviledge known feature-ish directions (steering directions, SAE decoder directions) and don’t priviledge baselines (PCA, random directions). We measure this with a L_p norm fit (p=2 means non-priviledged) and find a significant p=2.3. However we suspect (based on toy models) a even-higher p for “true features”. Our metric isn’t perfect, notably it’s not Goodhart-proof: if we brute-force optimize for p we find pathological directions.
I’m very excited about work in this area: Can we find some properties of models (like perturbation sensitivity) that tell us about its representations?
The Model Organism Lottery: Model Organism Interpretability Strongly Depends on Training Methodology
Compressed Computation under L⁴ Loss is likely Computation in Superposition
Evidence for feature-specific error correction in LLMs
Oh yes, in my head I was just thinking of something like constant fixed steering as the MVP
Nice post! I like the “happy accident “ explanation, and I’m impressed by the way in which the components help you control generalisation (preserving not only English but also other languages).
In my mind is the question of “how should I update on VPD/paramerer decomposition”: Is this result surprising, or would the same have happened with something like an SAE? (An SAE has the same advantage of having seen lots of German / languages tokens, and having done the autointerp work.) Would it be easy for you to test this?
I expect VPD to beat SAEs (they seem more principled + did pretty well in your paper when compared to SAEs there), but seeing how much better would help me judge how impressive the German-abliteration is.
I think we were fairly confident it was going to be the MLP blocks, but attention also has a non-linearity via the softmax.
Prospective AI safety mentees: Consider applying to the Pivotal fellowship, a 9-week full-time research programme. June 29 to August 28, London. Deadline May 3rd.
I will be one of the mentors, mentoring two projects on fundamental or pragmatic interpretability. To get an idea of the kind of projects, see my recent LessWrong posts.
Guideline for applicants to me (other mentors will have different requirements): I expect most mentees to have experience with Transformer models and interpretability projects (you should have worked on related projects for > 40 hours). However, if you are a researcher or engineer from a different field (e.g. a postdoc in neuroscience) I encourage you to apply even without much interpretability experience!
Finding features in Transformers: Contrastive directions elicit stronger low-level perturbation responses than baselines
I think I agree with your statement once a significant amount of capabilities is learned in RL.
I’m confused about how much current models have learned via RL.
The persona selection model argues that post-training mostly selects an existing persona that was learned in pre-training (though maybe this is mostly related to character, and somewhat orthogonal to capabilities learned by post-training RL)
Venhoff et al. seems to suggest that reasoning training only affects somewhat specific parts of the model (though maybe those parts are just super important)
Do you have an intuition for how hard it would be to keep the multiple token outputs human-understandable? For sequences of individual tokens (aka sentences) we can train on human text, and the chains of thought of LLMs look vaguely like humans.
For sequences of groups of tokens (and eventually sequences of essays) I’m uncertain how much the results are human-understandable. An argument against it might be: sequences of groups of tokens (parallel sentences?) are a novel modality and LLMs will make up some language, but it may not be very human-like because there is no human “parallel sentence” language.
Crossposting from my Shortform, quickly written. Overall I think the essay makes valuable contributions to interpretability. But I am also worried that the community vastly overestimates the state of the field, and quite a lot of second-hand discussion I’ve seen online seems over-optimistic.
I’m not convinced by the big claims (at this time), but the post makes multiple valuable contributions. I’m looking forward to see the technical paper and might change my mind in either direction.
Important contribution: Neurons that we previously thought were polysemantic (multiple meanings, e.g. cars and dogs) are actually monosemantic (single meaning, e.g. V shaped pictures). Both Nick’s essay and Transluce’s work (Choi et al.) suggest that neurons in Image and Language models may be more monosemantic that previously thought, we just have to do a better job interpreting them.
Main disagreement: I don’t believe the optimistic version that I’d term “neurons is all we need”. I expect the neuron basis to be not good enough for understanding LLMs, e.g. I expect that LLM computation will be distributed across neurons, and I still think the superposition* hypothesis is true more likely that not. I expect neuron-based interpretability will be insufficient to understand LLMs; I think this disagrees with Nick’s essay, and also with Tranluce’s paper Arora et al.. The reason for my scepticism is mainly: (a) LLMs still seem to perform more independent computations (incl. fact lookups) than they have neurons; I don’t think there’s a way to implement this with only monosemantic neurons. I expect something like Comp-in-Sup is what the network does. (b) The evidence (e.g. consider the essay’s Christmas neuron) so far seems not sufficient to conclude we understand what neurons do; specifically I worry that maximum-activating examples tell a plausible but incomplete story. However, I’m somewhat withholding judgement until I see the technical report; the essay claims that weaker activations of neurons are less important. (“Do Weak Activations Matter?”)
Superposition disagreement: I find the evidence against superposition less convincing because many experiments are doing extreme compressions (retraining a layer down to 10 neurons), and take the absence of superposition as evidence against superposition in realistic settings. However, it is quite established that superposition (and computation in superposition) only really works in high dimensions / for large numbers of neurons, so I wouldn’t have expected superposition in their the very-low dimension experiment.
Another cool contribution: I like the essay’s “recursive generalization” hypothesis (albeit I find the name confusing). I consider it a nice learning-theoretic explanation for why neurons may end up representing related concepts for “historical” reasons. From the example in the post: A neuron may initially represent meadows. Later, when the network learns finer concepts (dogs, tennis balls, flowers, grass, mountains), this neuron may be involved in representing those finer concepts just because it was already correlated with those concepts (dogs are often photographed on meadows). While I don’t buy the essay’s learning learning-principle story, I like this ideas as a motif we might see again.
*superposition is used to mean different things, and I don’t have time for a proper discussion at the moment. For this shortform I think the essay’s definition is close enough. I want to note though that Representation in Superposition (a la Elhage et al. 2022, storing exponentially many concepts in high dimensional vector space) and Computation in Superposition (a la Hänni et al. 2024, computing polynomially many functions with fewer non-linearities than functions) are different things, and at least for Transformers it’s worth distinguishing these.