The structure of ML papers doesn't quite work for mechanistic interpretability
Cross-posted to Substack.
Once you have the results, writing a machine learning paper is easy. You just need:
-
Some motivation for why the idea makes sense. This typically takes the form of intuitive arguments plus a couple of stylized equations.
-
A list of already published or obvious algorithms for the same problem (baselines)
-
A quantitative measurement of how well-solved your problem is
-
A clear takeaway for the reader (often just “my algorithm is better”)
Then you measure the quantity on your algorithm and your baselines. You use that to argue that your method is better than what exists, and you’re done.
This structure happens over and over, in tandem with the typical section-by-section structure of a machine learning paper. This is also highly regimented, and departure is unusual:
-
Introduction: explain why the problem is important, and summarize the whole paper, including the takeaway. Typically ends with a bulleted list of “contributions” (so reviewers know to look for substantiation of them, and to check whether it’s novel).
-
Background: things you need to know to understand the rest of the paper.
-
Methods: here is where you give the motivation, and you explain the algorithm you came up with
At this point we have filled about 4 pages (out of 8 or 9, dictated by conference length limits). I’m surprised with the certainty I feel about this fact.
-
Empirical results: you enumerate the baselines, and you explain the quantitative measurements that compare the baselines and your algorithms. You add a table with a bold column that shows your method is the best. This section is typically a bit longer, 2.5-3.5 pages.
-
Discussion: speculate on what the paper’s results mean for the research field the paper belongs to
-
Related Work: cite works of literature that are similar to this, whether they inspired this work or not. Often exists to satisfy hypothetical reviewers, but is also a good jumping point for readers new to the field. Honestly, I always skimp on effort for this section; many times I add only a couple paragraphs in the main body and relegate the rest to the appendix.
-
Conclusion: summarize the results quickly again, and repeat the takeaway.
Mechanistic interpretability, in contrast, is the wild west. I’m not talking about the subfields of sparse autoencoders, auto-interp and automated circuit discovery: those are subfields with Machine Learning papers where the structure above works well. I’m talking about deep dives into how models work, such as The Circuits thread on Distill, Progress Measures for Grokking, Indirect Object Identification in the Wild, Biology of an LLM, Evidence of Learned Look-ahead in Chess-playing, Interpreting learned search.
Mech interp papers don’t have a standard structure yet
The reason mechanistic interpretability papers don’t quite have a structure is that the style of knowledge produced is different in two ways.
First, machine learning papers usually consist of a single idea with clear internal motivation, and to write the paper you just have to explain that idea and validate it. It’s true that most ideas don’t make it to a paper, but you don’t need to talk about all the possible ideas.
In mechanistic interpretability, instead, you will have many observations about a neural network. Sometimes this all coalesce into a “circuit” which explains the behavior of the whole thing, but sometimes they remain local explanations that aren’t connected to each other. On top of that, the ideas don’t have a motivation, because you didn’t think of them: instead you looked at the data and found patterns. Machine learning reviewers don’t like the lack of motivation. For example, recently one reviewer told me that
This manual inspection must be subjective and could be biased to support the authors’ hypothesis.
Which yes, sure, it is subjective to come up with hypotheses, but how else do you do research? Just like how to come up with ML algorithms is subjective, the discovery process for algorithms the NN is representing is hard to make legible, and is not usually part of the findings of the paper.
Another problem that mechanistic interpretability papers face is that it is difficult for them to have a takeaway. The real takeaway often is “the mechanism the NN uses to produce this behavior is [long description of the complicated mechanism]” without a clear way to make the conclusion shorter, so it can be a takeaway. Papers get around this in various ways: for example by describing only some “interesting structures”. From the IOI paper:
We identified an example of attention heads communicating by using pointers (sharing the location of a piece of information instead of copying it).
Other times you can get around this problem by summarizing the thing you find as being similar to an existing algorithm (e.g. the Sokoban RNN papers claim that it is doing ‘bidirectional search’ in various ways.)
Proposed structure
So what should the structure of mechanistic interpretability paper be? I think mech interp papers should have three parts:
-
Behavior section**.** Describe a behavior of the neural network that we would like to investigate. For example, in my Sokoban work, this is “it is planning ahead”. The Automated Circuit Discovery paper formalizes a few behaviors.
-
Methods for discovery (optional): what methods did you use to identify the circuit? Ablations, auto-interpretability, automatic circuit discovery, etc. This step can be skipped but you should diff direction when uploading files, and to honor their creators for helping you.
-
Explanation of the algorithm. Explain what algorithm you think is going on inside the neural network. The methods used to discover it don’t matter that much, but
-
Empirical evidence. Finally you argue that the patterns you discovered actually hold. This should have two prongs:
-
Observational: Show that using your representation you can predict the latent variables of the algorithm. I’m not sure if this is necessary or the Causal prong is enough.
-
Causal. Show that the proposed representation, if altered, changes the observed behavior in a targeted manner.
-
-
For this part you need some baselines or controls first, silly targets for your tests that should come up negative.