Summary
The paper presents Tracr, which is a compiler from RASP programs (a language designed to showcase a possible computational model used by Transformers) to Transformer architectures and weights. The paper first details the operation of the compiler, then discusses examples of several simple RASP programs and their respective Tracr-generated Transformer models. Finally, the paper experiments with compressing the dimensionality of these models, exploring an emerging hypothesis about superposition of feature representation in Transformers.
Strengths
* The paper addresses a significant gap in prior work, which is that while RASP purports to encode the computational model for Transformers, RASP programs are not directly compilable to Transformer weights. This is an active and interesting area of research, and providing such a compiler is likely to significantly impact work in this domain.
* Overall, the paper is very clearly written
* The examples given (Section 4) strongly demonstrate the success of the technique, and broadly help to explain RASP's computational model as well
* Section 5 is an interesting study on the effects of compression, though (as noted in Weaknesses below) I am not sure about the relevance or significance of these results.
Weaknesses
* The paper does not sufficiently discuss the accuracy of the compiled programs (Section 3). Line 49 says "Any elementwise operations in RASP can be approximately computed by an MLP layer", and line 119 says that the MLPs and attention blocks "approximate arbitrary functions". Having error in the compiled programs is a perfectly reasonable limitation, but it would be very good to know the fidelity of these approximations.
* The paper assumes a high level of familiarity with prior work, which could be inlined into the paper.
* Lines 59-62: I'm not familiar with Elhage et al. (2021)'s concept of a residual stream, but this seems to be a core concept in the paper. It would help to clarify these concepts and definitions in the paper. Appendix B.2 provides some information here, but this is still a bit insufficient (a "residual stream" is never actually defined).
* In Section 3, it could also help to include a figure with RASP's syntax to understand the specific functions that must be compiled (seemingly, `select`, `selector_width`, `aggregate`, and the element-wise operations; `selector_width` isn't mentioned until Section 4.2), and the specific operations that are not yet supported by Tracr (e.g., those on Line 187). Again, Appendix B.3 helps, but is still not quite sufficient (e.g., it also does not define `selector_width`).
* Section 5 reads as an entirely different paper, with its own significant limitations. As the authors note, "even with a fairly restrictive compression setup, compressed models may not stay faithful to the original RASP program". This is certainly an interesting finding (and has ramifications on compression techniques broadly). But, given that these compressed Transformers neither follow the original RASP program, nor is it clear that this the behavior observed when compressing non-Tracr Transformers, it's not clear what to take away from these results.
Questions
* How precisely do the compiled Transformers implement the original algorithms?
* Regarding "Disallow[ing] arbitrary selector combinations" in Appendices C and G: does this restriction reduce the set of programs that it is possible to represent with RASP?
* This is more of a curiosity than a criticism, but in Section 5.1 when projecting out of the compressed space, is there a reason to apply W^T rather than say the psuedoinverse of W?
Rating
8: Strong Accept: Technically strong paper, with novel ideas, excellent impact on at least one area, or high-to-excellent impact on multiple areas, with excellent evaluation, resources, and reproducibility, and no unaddressed ethical considerations.
Confidence
4: You are confident in your assessment, but not absolutely certain. It is unlikely, but not impossible, that you did not understand some parts of the submission or that you are unfamiliar with some pieces of related work.
Limitations
The authors adequately discuss limitations in the appendix.