Summary
Building upon prior work in Transformer circuits (Elhage et al., 2021; Wang et al., 2022), the paper identifies novel, low-rank communication channels between attention heads across layers via the Composition Score (a generalized cosine between the read-out weights of a lower-level layer and the read-in weights of an upper-level layer) between _low-rank_ factorizations of the weight matrices (obtained by SVD). The low-rank decomposition is critical, resolving the known issue of the vanilla Composition Score being very noisy.
Generally focusing on the role of inhibition heads, which are known to prevent the copying of certain tokens in the prompt, the paper identifies a low-rank communication channel for inhibition and validates its role on a synthetic "Laundry List" task. The task requires recalling an item from a list of items specified in the prompt. It is shown that, when the identified (rank-1) inhibition channel is zeroed out (intervention), the model effectively stops passing the "inhibition signal." The role of the channel is validated for indirect object identification (IOI) and token indexing tasks in the GPT2-small model.
Strengths
- Using the SVD as a remedy for fixing the noisy Composition Score is an intuitive and seemingly effective strategy.
- The paper’s main contributions, including the method and the new synthetic dataset, are reasonably well-motivated.
- The empirical results make sense (for the most part) and support the claim of low-rank communication channels for inhibition heads. It is interesting to see that the inhibition channels are content-independent (just pointing at names in the IOI task) or that it affects the accuracy on the laundry list task.
Weaknesses
- Overall, while the paper is well-motivated and includes potentially interesting results, its presentation significantly hinders the reader from understanding the main takeaways of the paper.
- First, a key piece of related work is the composition analysis of two-layer, attention-only models by Elhage et al. (2021), but the review of the relevant background work is simply too terse and unorganized. Terms like inhibition heads, inhibitor-mover subcircuit, value composition, and the QK/OV circuits (e.g., which weight matrices are we talking about exactly? why are they “low-rank”, especially when it’s not as low-rank as the subspaces we’re discussing here?), are not formally defined. Even things like why the composition score looks the way it is (why is it a matrix multiplication?) or the basic shapes of the weight matrices ($d$ by $d_h$ or $d_h$ by $d$?) involved are not written out in the “background” section. Without these in place, I think the paper is borderline incomprehensible to anyone outside the mech interp community.
- Second, all the overclaims in the paper really hurt the overall message. The paper’s main thesis could simply have been something like “using the SVD in the Composition Score allows us to identify low-rank communication channels, as showcased by the identification of inhibition head channels,” which would be clear and interesting. But instead, the paper keeps trying to convey a broader, unsubstantiated message that their methods and experiments somehow are more novel and general than they should be.
- “Understanding Inter-Layer Communication”: Exactly what is the scope of this inter-layer communication? Is it primarily/always from layer $l-1$ to $l$, or something more?
- ”… using subspaces we call communication channels” (Intro): this terminology already existed in Elhage et al. (2021), but this phrasing makes it sound like the current paper came up with it.
- “model components like attention heads” (what other components does this paper cover?)
- “Three types of composition”: It appears that most of the focus in the paper, including the dataset itself, is on inhibition heads.
- “Composition Score”: It should be clear to the reader that the score was first developed by Elhage et al. (2021), especially in Section 3.1. More generally, the intro should do a better job of clearly disambiguating what was introduced already in the literature and what this paper is adding to it.
- Lastly, the writing is simply not well polished, and there are many typos and unnatural sentence structures that make it even more difficult to understand the overall paper. Just to name some of them:
- Abstract, line 3 & line 11
- Intro, line 34 (\citep)
- Page 4, line 114
- Page 4, line 128 (d \times d)
- Figure 2 caption, second sentence
- Page 5, lines 170—172 (broken parallelism)
- Figure 3 caption, second sentence
- Page 9, line 276
There’s also a related issue of overusing informal analogies unnecessarily (attention heads “talking” to each other).
- Aside from the presentation, the biggest confusion for me is: generally, what implications do we have about inter-layer communication in Transformers from these findings? Besides inhibitions, what compositions do we expect to be represented as low-rank subspaces according to the paper’s approach? How far across layers can the channels be? Do we have any sense of what the rank tells us about the feature? The discussion section should be expanded substantially to at least mention or address some of these points.
- In terms of the proposed Laundry List task, a possible caveat is that models more recent (and larger) than GPT2-Small may actually do a good enough job of solving them. I am sympathetic to the fact that it is challenging to redo many of the analyses on larger models, but I think it is worth, at least, to test the accuracy (Fig. 1, left) on more recent, open-weight models, to see how much the motivation in the introduction is still relevant.
- The related work on SVD seems terse, knowing that SVD is arguably one of the most basic linear algebra tools in ML (any method based on PCA would also be relevant, for example).
- In the intervention experiments, the choices of the exact subspace (the number of components) and the intervention method (e.g., scaling diagonally for 2D) appear a bit heuristic and need better justification.
Questions
- Are there other baseline methods to be considered beyond the vanilla and SVD-based Composition Scores for identifying communication channels?
- Page 6, lines 217--218: How exactly is the 2D duplicate token head found?
- Page 7, line 227: In what sense are these results “strong”? Is there a baseline?
- Page 7, lines 228--232: any quantitative results for this claim?
- Page 8, line 266: why is it top-3 this time? how should someone replicating your experiments choose this number?
- I think the talking heads analogy makes sense, but it’s one that was already used before by [Shazeer et al. (2020)](https://arxiv.org/abs/2003.02436) in a not-so-unrelated context (the paper is fully referenced in the circuits paper, for example). I would suggest changing the title or at least adding a footnote of disambiguation from that paper.