- Rating
- 2
- Clarity
- 3
- Confidence
- 4
- Originality
- 2
- Quality
- 2
- Significance
- 2
Read review
Summary
This paper introduces StructLens, a method to interpret the activations in an LLM. Specifically, for each Transformer layer, StructLens computes the maximum spanning tree of the (weighted) complete graph whose vertices are the tokens and whose edges are weighted by a decreasing function of the distance between the activations of the two tokens. The paper then studies the appearance of subtrees of contiguous tokens across layers and during training: in particular, such contiguous structures are found to be most frequent in middle layers compared to early or late layers. The insights are used to perform inter-layer similarity analysis and layer pruning experiments.
Strengths and weaknesses
The paper presents a relatively simple type of analysis of Tranformer LLM activations. It does so in a clear way and doing a reasonable job of explaining the motivation behind the design choices (e.g., the definition of contiguous subtree ratio and contiguous token ratio).
The most significant result appears to be the empirical trend of contiguous subtree/token ratio across layers (Section 4.1). It is interesting that a similar pattern where intermediate layers behave differently from early or late layers was observed in other works.
The rest of the paper is less significant. In terms of applications, only layer pruning is mentioned (Section 5.4). At times, results feel overstated. For instance, the training dynamics experiment (Section 4.2) yields a predictable result: during training, the most obvious guess is that subtree/token ratios smoothly interpolate between initial close-to-zero values and the final values observed in Figure 4. From Figure 5, I don’t see any indication of an emergence behavior.
As for soundness, I believe there is room for improvement. For instance, Section 4.3 reports a qualitative difference between contiguous subtree ratio and contiguous token ratio (with the latter observed to have a sharper increase at later checkpoints). However, this is not evident from Figure 5, and in any case, it is unclear to what extent it should be attributed to interpretation and/or randomness. A rigorous statistical analysis is required to draw trustworthy conclusions.
Some other minor points:
- From the abstract, it is difficult to understand what the paper does exactly.
- “StructLens finds that LMs exhibit a middle-layer local-span signature”: this sentence is very compressed; it would be better to expand it to make it more clear.
- The introduction should expand on the results of the paper; right now their description is quite vague.
- It is confusing to use and to indicate things other than natural or complex numbers.
Questions
- Why are the results of Section 4.2 interesting, surprising, or useful?
- More specifically, why do you claim that the appearance of contiguous structures is emergent during training, as opposed to simply appear gradually?
- Can you provide a statistically sound analysis to back the conclusions of Section 4.3?
Clarifying all of these might improve soundness or significance of the paper.
Limitations
No: limitations are discussed in the appendix.
Paper formatting concerns
None
Final justification
Some critical issues regarding significance and soundness have not been addressed properly by the rebuttal in my opinion.
Thank you for your constructive comments. We address your main concerns and questions below.
We would like to clarify the aim of the layer pruning experiments. The layer pruning is an exploratory pilot showing one downstream application. Our main contributions are introducing an analytical framework, StructLens, and investigating Transformer layers and training dynamics using it; we believe that applying this framework to broader applications can be done in future work.
However, we would also like to clarify the Table 1 result more precisely. In Table1, CosStruct-BI stably performs for both Llama and Qwen, while CosBase-BI and CKA-BI sometimes degrade performance in generation tasks (i.e., Multinews and VCSUM). This trend suggests that structure-aware metrics are more stable than the other metrics.
We report the growth of the contiguous subtree ratio and the contiguous token ratio per checkpoint interval in the middle layers (Layers 11-18). We report the mean growth over layers in Table A.
In Figure 5 and Table A, while the contiguous subtree ratio in middle layers shows a relatively small increase until 500k steps in stage 1, it suddenly rises between 500k and 928k, which is the last checkpoint of stage 1. Specifically, in the 5-node result, a sharper increase is shown between 750k and 928k, suggesting that the middle layer pattern appears in later steps during pre-training, and this tendency is not a linear relation to the training steps.
Table A. Percent of each metric's total growth realized in each checkpoint interval (mean +/- standard deviation across samples) and the difference between them.
We would like to clarify that the manuscript reports that the contiguous token ratio rises during earlier steps, while the contiguous subtree ratio shows a sharper increase at later steps. We apologize if the current phrasing made this hard to follow.
Table A reports the qualitative difference between them, supporting our observations.
A unique phenomenon shown in Figure 5 is a sharper increase in the contiguous subtree ratio in middle layers between 500k and 928k steps, which are later steps of pre-training, because this emergence is unobserved in training, optimizer, or downstream metrics of OLMo 2 7B, as discussed in Section 4.2.
Another distinctive result is that smaller contiguous subtrees (i.e., 3-node subtrees) in middle layers are observed earlier, whereas larger ones (i.e., 5-node subtrees) emerge later, showing that the model expands the length of contiguous subtrees gradually in later steps during pre-training.
We will emphasize them in the camera-ready version.
Thank you again for your comments. Regarding the minor points, we will revise and clarify these points in the camera-ready version. We welcome any further feedback and are committed to addressing any remaining concerns.