StructLens: A Structural Lens for Language Models via Maximum Spanning Trees
Haruki Sakajo, Frederikus Hudi, Yusuke Sakai, Hidetaka Kamigaito, Taro Watanabe
NeurIPS 2026
TL;DR. We introduce StructLens, an analytical frame- work designed to reveal the holistic relationship among internal structures based on their inter-token relationships within a layer.
Abstract. Language exhibits inherent structures, a property that explains both language acquisition and language change. Given this characteristic, we expect language models to manifest their own internal structures as well. While interpretability research has investigated how models compute representations mechanistically through attention patterns and Sparse AutoEncoders, the organization of the resulting representations is overlooked. To address this gap, we introduce StructLens, a framework to analyze representations through a holistic structural view. StructLens constructs maximum spanning trees based on the semantic representations in residual streams, inspired by tree representation in dependency parsing, and provides summaries of token relationships in representation space. We analyze how contiguous tokens are also nearby in representation space and find that middle layers show the strongest local-span organization. Moreover, analysis of pre-training checkpoints reveals that smaller local units become detectable earlier in pre-training, and larger units later. Our findings demonstrate that StructLens provides insights into how models organize token representations across layers and training.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:43 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
The authors present an interpretability method entitled StructLens which constructs trees to describe structure in different layers in neural networks–each location in the sequence being linked to the most similar-by-representation previous location.
Then, the authors conduct analyses on neural networks focused on these trees: a) analyzing how middle layers are more likely to group nearby nodes together in the structure tree, b) showing how and when this middle-layer property develops over training, and c) showing that layer-similarity metrics which leverage these trees can produce better pruning results than baseline layer-similarity metrics.
The authors claim that “StructLens provides insights into how models organize token representations across layers and training.”
Strengths
- Reviewers agree that a real structural discovery has been made and that it is novel.
- All reviewers rank clarity well (although some suggestions are made for mild improvements or notational clean-ups).
- Reviewers tend to agree with the natural formulation of the method, although some ablations are suggested.
Weaknesses
- Reviewer o6Me is unconvinced by the pruning application, highlighting that gains are heavily model-dependent–and reviewer GH9m finds the pruning application to be insufficient as demonstration of the utility of the approach.
- Reviewer S6hL finds that the authors make undefended claims about “meaningful properties” and “insightful patterns” in the structural analyses and requests additional detail.
- Several reviewers take issue with claims about structure emergence during LM pre- and mid-training. Reviewer S6hL finds the wording to suggest that CTR/CSR development is linked to the downstream task performance, a claim this reviewer finds to be too strong. Reviewer o6Me finds claims about LM training behavior to be too strong given the observational evidence. Reviewer GH9m, in particular, is unconvinced by the claims regarding the development of local structure during training–focusing on the authors’ use of “emergent” which seems to contradict the gradual, steady development of the local structure effect. It’s worth noting that “emergence” in machine learning tends to represent sudden development of new abilities or properties, not gradual. This reviewer also claims there is insufficient statistical evidence to conclude that different scales of local structure develop at different points in training, and the effect is not obvious from the presented charts.
- Reviewer S6hL points out that extra care should be taken to isolate the neighborhood effect from the intuitive neighborhood effect present between tokens in the same word.
While additional pruning experiments or applications might strengthen the impact of this work, perhaps the chief focus of the authors in the rebuttal should be to ensure that every claim present is well-defended, and that all analyses present are well-explored, justified, and examined. There is perhaps a missing layer of truly deep, insightful analysis on top of the bones of this method.
Final Justification:
GH9m's concern about evidence to support the "qualitative difference between contiguous subtree ratio and contiguous token ratio" is not fully met (due to some oddities surrounding the implementation of statistical tests provided in rebuttals). The absence of a useful similarity-metric ablation and the lack of clear empirical evidence suggesting superiority over CKA/cosine seem unmet in the rebuttal to o6Me, but this reviewer finds the paper very strong otherwise. Finally, all of S6hL's concerns are met. Accordingly, I move to accept.
Final justification
I find a bit odd the firm reject score by GH9m, paired with the willingness to be non-blocking. It seems to me it would make more sense for this reviewer to use the score 3 in this case. This reviewer's main outstanding concern is that the test introduced in the rebuttal to support the "qualitative difference between contiguous subtree ratio and contiguous token ratio" (wording by GH9m) is poorly explained and oddly set up. I actually agree with this claim; I do not like the way the test is explained and find it tests an odd quantity. However, since the reviewer accepts that the evidence presented informally supports the conclusion, I think this result should not be blocking--although it should be corrected before camera-ready.
The other oddity is that one of the positive reviews (o6Me) claims that the rebuttal is unsatisfactory, choosing to stay at score 4, but then in active discussion AC-reviewer period, claims that "this paper is really strong to be accepted."
Therefore I recommend acceptance, regarding GH9m's complaint small and the other two reviewers' opinions positive, but I tap in the SAC to weigh in on these oddities.
Read meta-review
Meta-review
The authors present an interpretability method entitled StructLens which constructs trees to describe structure in different layers in neural networks–each location in the sequence being linked to the most similar-by-representation previous location.
Then, the authors conduct analyses on neural networks focused on these trees: a) analyzing how middle layers are more likely to group nearby nodes together in the structure tree, b) showing how and when this middle-layer property develops over training, and c) showing that layer-similarity metrics which leverage these trees can produce better pruning results than baseline layer-similarity metrics.
The authors claim that “StructLens provides insights into how models organize token representations across layers and training.”
Strengths
- Reviewers agree that a real structural discovery has been made and that it is novel.
- All reviewers rank clarity well (although some suggestions are made for mild improvements or notational clean-ups).
- Reviewers tend to agree with the natural formulation of the method, although some ablations are suggested.
Weaknesses
- Reviewer o6Me is unconvinced by the pruning application, highlighting that gains are heavily model-dependent–and reviewer GH9m finds the pruning application to be insufficient as demonstration of the utility of the approach.
- Reviewer S6hL finds that the authors make undefended claims about “meaningful properties” and “insightful patterns” in the structural analyses and requests additional detail.
- Several reviewers take issue with claims about structure emergence during LM pre- and mid-training. Reviewer S6hL finds the wording to suggest that CTR/CSR development is linked to the downstream task performance, a claim this reviewer finds to be too strong. Reviewer o6Me finds claims about LM training behavior to be too strong given the observational evidence. Reviewer GH9m, in particular, is unconvinced by the claims regarding the development of local structure during training–focusing on the authors’ use of “emergent” which seems to contradict the gradual, steady development of the local structure effect. It’s worth noting that “emergence” in machine learning tends to represent sudden development of new abilities or properties, not gradual. This reviewer also claims there is insufficient statistical evidence to conclude that different scales of local structure develop at different points in training, and the effect is not obvious from the presented charts.
- Reviewer S6hL points out that extra care should be taken to isolate the neighborhood effect from the intuitive neighborhood effect present between tokens in the same word.
While additional pruning experiments or applications might strengthen the impact of this work, perhaps the chief focus of the authors in the rebuttal should be to ensure that every claim present is well-defended, and that all analyses present are well-explored, justified, and examined. There is perhaps a missing layer of truly deep, insightful analysis on top of the bones of this method.
Final Justification:
GH9m's concern about evidence to support the "qualitative difference between contiguous subtree ratio and contiguous token ratio" is not fully met (due to some oddities surrounding the implementation of statistical tests provided in rebuttals). The absence of a useful similarity-metric ablation and the lack of clear empirical evidence suggesting superiority over CKA/cosine seem unmet in the rebuttal to o6Me, but this reviewer finds the paper very strong otherwise. Finally, all of S6hL's concerns are met. Accordingly, I move to accept.
Final justification
I find a bit odd the firm reject score by GH9m, paired with the willingness to be non-blocking. It seems to me it would make more sense for this reviewer to use the score 3 in this case. This reviewer's main outstanding concern is that the test introduced in the rebuttal to support the "qualitative difference between contiguous subtree ratio and contiguous token ratio" (wording by GH9m) is poorly explained and oddly set up. I actually agree with this claim; I do not like the way the test is explained and find it tests an odd quantity. However, since the reviewer accepts that the evidence presented informally supports the conclusion, I think this result should not be blocking--although it should be corrected before camera-ready.
The other oddity is that one of the positive reviews (o6Me) claims that the rebuttal is unsatisfactory, choosing to stay at score 4, but then in active discussion AC-reviewer period, claims that "this paper is really strong to be accepted."
Therefore I recommend acceptance, regarding GH9m's complaint small and the other two reviewers' opinions positive, but I tap in the SAC to weigh in on these oddities.
1 comment
- Rating
- 2/6
- Confidence
- 4/5
- Quality
- 2/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
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.
Final justification
Some critical issues regarding significance and soundness have not been addressed properly by the rebuttal in my opinion.
Formatting concerns
None
3 comments
Rebuttal
Thank you for your constructive comments. We address your main concerns and questions below.
In terms of applications, only layer pruning is mentioned (Section 5.4).
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.
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.
Can you provide a statistically sound analysis to back the conclusions of Section 4.3?
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.
| Interval | Subtree Ratio | Token Ratio | Diff |
|---|---|---|---|
| 1k->10k | +5.8% +/- 1.8 | +30.7% +/- 3.8 | -24.9% +/- 3.0 |
| 10k->101k | -10.2% +/- 1.9 | +13.9% +/- 4.1 | -24.0% +/- 3.5 |
| 101k->500k | +2.6% +/- 0.9 | -5.9% +/- 3.2 | +8.5% +/- 2.8 |
| 500k->750k | +37.6% +/- 4.0 | +30.2% +/- 4.7 | +7.4% +/- 4.0 |
| 750k->928k | +56.2% +/- 5.7 | +22.4% +/- 3.9 | +33.8% +/- 4.1 |
| 928k->stage2_1k | -9.1% +/- 3.5 | +4.9% +/- 3.0 | -13.9% +/- 2.0 |
| stage2_1k->final | +12.8% +/- 3.6 | +3.9% +/- 3.2 | +8.8% +/- 2.2 |
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.
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.
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?
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.
Thank you for the reply.
My concerns are still largely unresolved (especially those concerning Section 4). For instance, there isn't a statistical test backing the claim of a "two-stage process during pre-training".
Therefore, the paper's significance and soundness are still, in my opinion, below bar. I will keep my score.
Response by Authors
Thank you for your response to our rebuttal.
We have already performed the Wilcoxon signed-rank test on the difference between the contiguous subtree ratio and the contiguous token ratio in Table A for each interval and confirmed that these differences are statistically significant under p<0.05. Furthermore, the standard deviations in Table A demonstrate that the growth and differences between the contiguous subtree ratio and contiguous token ratio for each interval are stable. These results indicate that the contiguous subtree ratio shows a sharp increase in the later steps (500k to 928k) during pre-training and that the contiguous token ratio exhibits it in both the earlier (1k to 10k) and later (500k to 928k) steps, suggesting the two-stage process during pre-training as we explained in Section 4.3.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
StructLens is an interpretability/analysis framework that summarizes the geometry of a language model's residual stream as a per-layer tree. For each layer it builds a complete graph whose edge weights are reciprocal-L2 similarities between token representations, applies a forward (causal) constraint so each token connects only to preceding tokens, and extracts a single-root order-respecting maximum spanning tree (under the constraint, each token selects its most-similar predecessor). It then defines a contiguous subtree ratio and contiguous token ratio to quantify local-span organization. Main findings: (1) a middle-layer local-span signature, contiguous structure peaks in the middle layers and is sharply reduced under token shuffling, indicating dependence on natural token order; (2) training dynamics (Olmo2 checkpoints) show smaller local units become detectable earlier in pre-training and larger units later; (3) three structure-aware inter-layer similarity metrics (Cos-Struct, Tree-Edit, Edge-Edit) reveal block-diagonal "islands" of similar adjacent layers; and (4) a pilot showing structure-aware metrics can help layer pruning in some settings. Experiments span Llama3.1-8B/70B, Qwen2.5-7B/72B, and Olmo2-7B over MMLU, CMMLU, Multinews, and VCSUM, with code provided.
Strengths and weaknesses
Strengths
- A genuinely novel analysis lens. Treating each layer's residual-stream geometry as an order-constrained tree and measuring local-span connectivity is a fresh, global complement to logit lens, SAEs, attention analysis, and CKA. The contiguous-subtree metrics are intuitive and well-defined (Section 4.1, Figure 3).
- Careful controls. The shuffled-token baseline (three seeds, BOS held fixed) directly tests whether the observed structure is an artifact of position versus natural order, exactly the right control, and it changes the conclusion in the intended direction.
- Strong empirical hygiene. Error bars on every curve (Figures 4–5, 8–9), multiple model families and two scales each (8B/70B, 7B/72B), pre-training-checkpoint dynamics, 3/4/5-node subtree variants, and McNemar/bootstrap significance tests on the pruning table (Table 1). I verified the Avg columns in Tables 1 and 7 reconcile exactly; I found no numerical inconsistencies across the tables.
- Reproducibility and honesty. Code is in the supplement (to be released as a library), HF model/checkpoint IDs and prompts are tabulated (Table 2, Appendix C), compute is disclosed, and Appendix A states real limitations (no comparison to linguistic chunks; single similarity metric; forward-constraint effect on the root; inconsistent pruning).
- Convergent evidence. Frequent-subtree mining (Appendix G) and a logit-lens analysis correlating "islands" with prediction transitions (Appendix H) triangulate the main narrative rather than resting on a single measurement.
Weaknesses
W1. The "MST" framing is looser than the method (Clarity/Originality). Under the forward constraint (Eq. 3) every non-root token has exactly one incoming edge, its single most-similar predecessor, so the object is a unique-predecessor functional graph, not a maximum spanning tree over an unconstrained graph; the authors concede this ("for simplicity we refer to this as an MST," line 116). Consequently the Chu–Liu/Edmonds arborescence algorithm (lines 110–111) is unnecessary (argmax-predecessor per node is O(n²) directly), and the analysis effectively reduces to "each token's nearest predecessor in residual-stream space." It would strengthen the paper to either (a) drop the MST framing in favor of the nearest-predecessor description, or (b) show that the tree structure adds analytical power a nearest-predecessor graph lacks.
W2. Core design choices are asserted, not ablated (Quality). Why reciprocal L2
1/(1+‖·‖) rather than cosine, an RBF kernel, or raw distance? Why the specific forward
constraint? The similarity choice is defended only on numerical-underflow grounds (Appendix
B), and magnitude-vs-direction matters for what "local span" means. A small sensitivity
study (does the middle-layer signature survive under cosine or RBF similarity?) would show
the finding is a property of the model rather than of the metric.
W3. Findings are largely confirmatory; the practical payoff is unproven (Significance). The middle-layer signature re-confirms the well-documented middle-layer abstraction phase ([34, 51, 52], cited), and the "islands" of redundant adjacent layers overlap with known block-diagonal layer-similarity structure (ShortGPT [8], LaCo [29]). The one actionable application, structure-aware layer pruning, is explicitly inconsistent: tree-aware metrics help Llama3.1-8B-Instruct but give "inconsistent results across datasets" for Qwen2.5-7B (lines 311–313), and the section is framed as a "pilot study." The paper would be much stronger with one decision-relevant result that StructLens delivers and existing metrics (CKA, cosine) do not.
W4. Causal/organizational language exceeds the correlational evidence (Clarity). Statements such as "LMs organize token representations into contiguous structures in intermediate layers" (line 182) are framed as model behavior, but the evidence is a geometric property of representations. Shuffling removes both positional regularity and semantic coherence, so "original > shuffled" does not isolate which one drives the signal. The body is mostly careful, but the abstract/intro lean toward an organizational interpretation the experiments do not fully license.
W5. Inter-layer metrics are incremental (Originality, minor). Cos-Struct, Tree-Edit, and Edge-Edit apply standard tree/edit-distance machinery to the constructed trees. Their advantage over CKA/cosine is shown qualitatively (Figure 6) and via ARI/conductance (Table 3), but it is not demonstrated that they reveal a decision-relevant property the existing metrics miss.
W6. Checklist Theory answer is technically wrong, but immaterial (minor). Proposition 3.1 with a proof is present, yet checklist item 3 answers "N/A, no theoretical results." Since Proposition 3.1 is a one-line observation (W symmetric ⇒ A + Aᵀ = W), this is harmless under-claiming; the answer should be "Yes," and the proposition itself slightly oversells a trivial fact by calling it a Proposition.
Questions
- W1: Does the tree structure provide analytical value beyond a nearest-predecessor graph? For example, do higher-order tree statistics (depth, branching) carry signal that the per-token nearest-predecessor edges alone do not?
- W2: Does the middle-layer contiguous-span signature persist under cosine similarity and an RBF kernel? If the pattern is metric-dependent, that should be stated.
- W3: Can you provide one setting where StructLens-based pruning (or another downstream use) reliably beats CKA/cosine across models and datasets, rather than the model-specific result in Table 1?
- W4: Can the shuffling control be supplemented to separate positional regularity from semantic coherence (e.g., block-shuffling that preserves local n-grams)?
- The contiguous-token ratio and contiguous-subtree ratio sometimes trend differently (Figure 4); what does a divergence between them indicate about representation geometry?
Limitations
The authors include a candid limitations section (Appendix A) covering the absence of a comparison to linguistic chunks, the single L2-based similarity metric, the forward constraint's effect on the root node, and the inconsistent pruning results. The two limitations I would add are: (i) the MST framing reduces to nearest-predecessor selection under the forward constraint and the added value of the tree structure is not isolated (W1); and (ii) the core findings largely reconfirm known middle-layer and layer-redundancy phenomena, so the marginal insight over existing geometry/CKA analyses should be stated explicitly (W3, W5). Broader-impact and ethics answers are appropriate for an analysis paper.
Final justification
A similarity-metric ablation and one consistent downstream win over CKA or cosine remain the changes that would move this to a clear accept.
Formatting concerns
I have not noticed any formatting violation.
3 comments
Rebuttal
Thank you for recognizing the novelty of our proposed analysis framework and for your comments. We address your main concerns and questions below.
W1. The "MST" framing is looser than the method (Clarity/Originality).
Thank you for this insightful comment. The nearest-predecessor selection is how the tree is constructed, while our analyses operate on properties of its resulting holistic structure in Sections 4 and 5. This comment helps simplify tree construction. We will note this point in the camera-ready version.
W2. Core design choices are asserted, not ablated (Quality).
Our goal is to obtain holistic representations of each Transformer layer in models’ representation space, so the L2 distance-based metric is the simple choice. Furthermore, since the norm of token representations is informative [1], we consider the norm to measure the token similarity. Regarding the RBF kernel and raw L2 distance, as discussed in Section 3 and Appendix B, we use the reciprocal L2 for numerical stability.
[1] Oyama et al. 2023. Norm of Word Embedding Encodes Information Gain. EMNLP 2023.
W3. Findings are largely confirmatory; the practical payoff is unproven (Significance)
Can you provide one setting where StructLens-based pruning (or another downstream use) reliably beats CKA/cosine across models and datasets, rather than the model-specific result in Table 1?
We would like to clarify the aim of the layer pruning experiments. The layer pruning is an exploratory pilot study to show one potential 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 state the Table 1 result more precisely. In Table 1, 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.
W4. Causal/organizational language exceeds the correlational evidence (Clarity).
We conducted additional experiments on different shuffling settings. We shuffle tokens at the token or word n-gram levels and measure the contiguous subtree ratio at Layer 16 of OLMo 2 7B, which is the middle layer. As shown in Table A, all shuffling conditions reduce the contiguous subtree ratio relative to the original order. Preserving word boundaries recovers only a small fraction of this gap, and the recovery grows with block size mainly because larger blocks preserve longer contiguous spans. This indicates that subword tokenization is not the main driver of the observed contiguous subtrees. We will report this in the camera-ready version.
Table A. Contiguous 4-node subtree ratio at Layer 16 of OLMo 2 7B on MMLU, averaged over three seeds {0, 1, 2}.
| condition | ratio | Δ vs original |
|---|---|---|
| original | 0.0135 | -- |
| token_ngram=1 | 0.0031 | -0.0104 |
| token_ngram=2 | 0.0031 | -0.0104 |
| token_ngram=4 | 0.0037 | -0.0098 |
| token_ngram=8 | 0.0066 | -0.0069 |
| word_ngram=1 | 0.0036 | -0.0099 |
| word_ngram=2 | 0.0044 | -0.0091 |
| word_ngram=4 | 0.0054 | -0.0081 |
W5. Inter-layer metrics are incremental (Originality, minor).
StructLens provides features of layer representation for analysis through its tree properties and can complement existing methods, as in Strength 1 of the review. Furthermore, the layer pruning experiments in Section 5.4 demonstrate that structure-aware metrics are more stable than the other metrics, e.g., CKA.
W6. Checklist Theory answer is technically wrong, but immaterial (minor).
Thank you for pointing this out. We will fix it in the camera-ready version.
The contiguous-token ratio and contiguous-subtree ratio sometimes trend differently (Figure 4); what does a divergence between them indicate about representation geometry?
Following the example in Figure 3 in Section 4.1, a star-like tree yields a lower contiguous subtree ratio than a chain tree and a higher contiguous tree ratio. Therefore, the early layer divergence of Qwen on MMLU can be consistent with more hub-like structures. We will add this explanation in the camera-ready version.
Thank you again for your comments. We welcome any further feedback and are committed to addressing any remaining concerns.
Follow-up
Thank you again for reviewing our manuscript and for your valuable comments. As the Author-Reviewer-AC Discussion period closes in a few days (August 3, AoE), we would greatly appreciate it if you could let us know whether our response has addressed your concerns.
Reviewer,
I echo the comment of the authors. Have your concerns been addressed?
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 4/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The authors propose novel tree-based metrics to analyze inter- and intra-layer relationships between activations: contiguous sub-tree ratio (CSR) and contiguous token ratio (CTR). By counting how many tokens belong to contiguous trees and the number of such trees w.r.t. the total number of tokens/trees, they measure the amount of local structure induced by the model along the sequence. They show that this structure is most prevalent in the middle layers of Llama3.1 8B and Qwen2.5 7B. Using Olmo2 7B, they show this behavior emerges gradually over pre-training. Based on CSR and CTR, they derive various similarity measures which they use on activations between layers: Cosine Similarity for StructLens (Cos-Struct), Tree Edit Distance, and Edge Edit Distance. They use these similarity measures to select layers for pruning, showing better performance retention on QA and summarization benchmarks, compared to non-structural metrics such as cosine similarity and centered kernel alignment (CKA).
Strengths and weaknesses
Strengths:
The paper is clear and well written, despite some grammatical issues here and there. The authors propose novel metrics to describe intra- and inter-layer relations between activations. The results provided in Figure 4 and Figure 5 are convincing in showing that there is indeed some structural behavior emerging in the analyzed LMs, based on the proposed metrics. The authors also show that their metrics have some significance in terms of downstream performance. They do so by pruning based on their metrics, which often provides better performance than using raw cosine similarity and CKA.
Weaknesses:
The analysis provided by the authors is shallow or vague at times:
-
lines 128-133: The analysis does not consider word boundaries and sub-word tokenization, meaning that sub-trees can be built within words, across sub-word tokens. To verify whether the metrics proposed by the authors match linguistically informed structure, these statistics could be provided also based on word-level pooling among tokens, or just considering the first/last token of each word.
-
On the point above, I believe it would make sense to also include a shuffling scheme where groups of tokens belonging to words are shuffled, so that sentences are shuffled at the word level. This would act as a control to check whether considering or ignoring word boundaries has any influence on the results.
-
line 174-175: "supporting that the structures derived by StructLens reflect meaningful properties of layer-wise representations" Could the authors provide an example of such meaningful properties?
-
lines 189-195: It would be useful to provide some more information on what exactly is the difference between stage 1 and 2. The motivation for including stage 2 up to just 1000 steps is also not clear to me, it seems like a rather arbitrary checkpoint.
-
lines 748-749: "Figure 10 shows that Edge-Edit exhibits diagonal clustering patterns that we refer to as islands, as well as Llama3.1 8B, while CKA and Cos-Struct show different patterns. This suggests that Edge-Edit provides potentially insightful patterns of inter-layer similarity across models." Can the authors provide an example of such insightful patterns?
-
Figure 12: In sub-figure c layers L25-L30 are quite similar to successive for 30 or 40 layers, which is unlike sub-figures a, b, and d. Can the authors provide any explanation as to why?
-
lines 756-761: After stage1-1k the sub-figures all look very similar. The trend mentioned by the authors ("the model reduces their size and increases similarity between adjacent layers as training progresses") is also broken by sub-figure c, which does not show any clear islands, while d, e, and f go back to having bigger islands.
While the pruning experiment shows some connection between CSR/CTR and downstream performance, the relationship is not very well characterized in general across the paper, and especially as regards the lines discussed below:
-
lines 185-188: I do not think I understand the connection between downstream task performance and the CSR and CTR metrics proposed by the authors. I can see from Figure 5 that the model's behavior of encoding local contiguity structure emerges in the middle layers; however, the authors say that mid-training provides a spike in performance boost in downstream performance, and stage2-1k (mid-training) looks exactly like stage1-928k (end of pre-training) in Figure 5. Thus, while there is a substantial difference in downstream performance between stage1-928k and stage2-1k (https://wandb.ai/ai2-llm/OLMo-2-1124-7B/reports/OLMo-2-7B-Nov-2024--VmlldzoxMDUzMzE1OA, as linked by the authors in footnote 1), there does not seem to be a noticeable difference between these checkpoints in CSR/CTR as shown by Figure 5. Since CSR/CTR does not seem to track downstream performance based on this data, I think that the paper should avoid implying a connection between CSR/CTR and downstream performance. More specifically, the juxtaposition between the two sentences in lines 185-188 should be dropped.
-
lines 205-207: "Notably, this emergence is unobserved in training, optimizer, or downstream metrics. Comparing the structural signal with loss, optimizer, and downstream metrics can be an important direction of future work." It is unclear why one would expect a per-layer representation-geometry signal to surface in these wandb metrics in the first place. More importantly, the comparison being deferred to future work is precisely what would establish the significance of CSR/CTR. Doing this should be feasible, since the OLMo 2 report the authors link in footnote 1 already logs checkpoint-wise downstream accuracy over the same training steps at which CSR/CTR is measured. Since overlaying the two series requires no new training, such an important analysis should not be deferred to future work. Also see my comment on lines 185-188 on this issue.
Minor issues/suggestions:
-
I would kindly ask that the authors give a pass for grammatical correctness to the paper for the camera-ready, if accepted. There is a large number of issues of this kind, and I was not able to flag all of them to avoid making this review too long.
-
in Figure 1 it is not clear what 'exhibits' are
-
line 50: "and this signature emerged during later steps of pre-training" --> should use present tense 'emerges'
-
line 60: Determiner missing, e.g. A Transformer / The Transformer architecture
-
lines 62 - 65: fix grammar. theta applied to just the block is overloaded notation. d is not the "hidden dimension", it's the dimensionality of the hidden state, a d-dimensional hidden state has d dimensions.
-
line 88: determiner missing for Transformer
-
line 91: could add to
-
line 91: determiner missing "for the l-th layer"
-
line 95: determiner missing, 'the reciprocal'
-
line 96: a distance into a similarity
-
lines 101-102: "it makes the directed MST equivalent to selecting the most similar preceding token for each non-root token under a unique-predecessor assumption" The authors could make explicit why this property is useful.
-
lines 103-105: I do not think this needs to be written as a proof. Line 102 could just continue and add: "The forward constraint is lossless with respect to the pairwise similarities, since W = A + A.T."
-
line 110: determiner: the "highest-weight predecessor"
-
lines 120-123: "Inspired by context-dependent units seen in linguistic structures for humans, i.e., chunks, we study whether STRUCTLENS trees exhibit local-span connectivity, where connected subtrees whose token indices form contiguous intervals." This sentence is ungrammatical because the "where" clause has no main verb.
-
line 136: could do vs , otherwise doesn't specify
-
lines 138-139: "Let denote the set of tokens in the contiguous subtrees of ." This could be stated more formally, e.g. "Let be the set of contiguous -node subtrees of . Let be the set of node positions appearing in any such subtree, where returns 's nodes." (Unfortunately this does not render nicely on OpenReview markdown.)
-
Figure 3 caption: The authors could indicate .
-
line 173: space missing: "across tokens.In higher layers,"
-
line 179: "this middle-layer pattern is not only for 4-node subtrees" --> "this middle-layer pattern is not only present for 4-node subtrees"
Questions
-
"If LMs exhibit contiguous subtrees only when the input is ordered as in the original order, this indicates that they are sensitive to natural token order beyond the tested shuffled baseline." I am wondering if shuffling can generate valid topological orders in this case? For example given the binary tree in Figure 3, is the only correct order [1, 2, 3, 4, 5, 6, 7], or would [1, 2, 4, 5, 3, 6, 7] also work, since we are respecting the partial order of the DAG?
-
"If LMs exhibit contiguous subtrees only when the input is ordered as in the original order, this indicates that they are sensitive to natural token order beyond the tested shuffled baseline." So here the authors mean that token representations encode dependencies through position rather than through semantics, if the LM does not produce a tree from shuffled tokens, correct?
-
What is the number of nodes in Figure 9 in Appendix D.2?
-
lines 179-180: "another local-span pattern" If the authors tested for 3-node and 5-node subtrees, then this would have to be "other local-span patterns", or am I misreading?
-
Figure 5: It is not clear what the "final" checkpoint is, since it is not mentioned in Section 4.2.
Limitations
Appropriate limitations, but found in Appendix A, not in the body.
Final justification
The rebuttal resolves most of my concerns and I am raising my score to 5.
Resolved: the new shuffling experiments (Table A) show that preserving word boundaries recovers only a small part of the gap, addressing my concern that contiguous subtrees are an artifact of subword tokenization; this carried the most weight. The authors also clarified stage 1 vs stage 2 and the stage2-1k checkpoint, conceded the non-monotonic trend in Figure 13, and clarified that lines 185-188 motivate checkpoint selection rather than claim a correspondence with downstream performance.
Unresolved: the comparison between CSR/CTR and checkpoint-wise downstream metrics (lines 205-207) is still unaddressed, despite the fact that the OLMo 2 logs linked in footnote 1 make the comparison a matter of overlaying two existing series. With the implication at lines 185-188 withdrawn, the contiguity statistics have no demonstrated link to model behavior anywhere in the paper.
Weighting: the paper is clear, novel, and methodologically sound, and the rebuttal addressed the technical concerns I raised, hence acceptance. What keeps me at 5 is that the middle-layer local-span emergence is well documented as a phenomenon but not shown to relate to model behavior.
Formatting concerns
No issues.
3 comments
Rebuttal
Thank you for recognizing the novelty of our proposed analysis framework and for your comments. We address your main concerns and questions below.
The analysis does not consider word boundaries and sub-word tokenization
I believe it would make sense to also include a shuffling scheme where groups of tokens belonging to words are shuffled
Thank you for the valuable suggestion. Given the detokenization of LLMs [1], these experiments help deepen the analysis of contiguous subtrees. Therefore, we conducted additional experiments on different shuffling settings. We shuffle tokens at the token or word n-gram levels and measure the contiguous subtree ratio at Layer 16 of OLMo 2 7B, which is the middle layer. As shown in Table A, all shuffling conditions reduce the contiguous subtree ratio relative to the original order. Preserving word boundaries recovers only a small fraction of this gap, and the recovery grows with block size mainly because larger blocks preserve longer contiguous spans. This indicates that subword tokenization is not the main driver of the observed contiguous subtrees. We will report this in the camera-ready version.
Table A. Contiguous 4-node subtree ratio at Layer 16 of OLMo 2 7B on MMLU, averaged over three seeds {0, 1, 2}.
| condition | ratio | Δ vs original |
|---|---|---|
| original | 0.0135 | -- |
| token_ngram=1 | 0.0031 | -0.0104 |
| token_ngram=2 | 0.0031 | -0.0104 |
| token_ngram=4 | 0.0037 | -0.0098 |
| token_ngram=8 | 0.0066 | -0.0069 |
| word_ngram=1 | 0.0036 | -0.0099 |
| word_ngram=2 | 0.0044 | -0.0091 |
| word_ngram=4 | 0.0054 | -0.0081 |
[1] Kaplan et al. 2025. From Tokens to Words: On the Inner Lexicon of LLMs. ICLR 2025.
line 174-175: "supporting that the structures derived by StructLens reflect meaningful properties of layer-wise representations" Could the authors provide an example of such meaningful properties?
By “meaningful properties,” we mean that the middle-layer pattern coincides with the intermediate-layer phenomena reported independently of StructLens, such as embedding task performance, as noted in Section 4.1.
It would be useful to provide some more information on what exactly is the difference between stage 1 and 2. The motivation for including stage 2 up to just 1000 steps is also not clear to me, it seems like a rather arbitrary checkpoint.
OLMo 2’s stage 1 is the typical pre-training, and stage 2 is referred to as mid-training, which aims to improve performance by training on high-quality data after pre-training. Since downstream task performance in W&B shows that even early steps in mid-training drastically improve performance, we choose the earliest mid-training checkpoint served on HuggingFace to investigate its effect.
"Figure 10 shows that Edge-Edit exhibits diagonal clustering patterns that we refer to as islands, as well as Llama3.1 8B, while CKA and Cos-Struct show different patterns. This suggests that Edge-Edit provides potentially insightful patterns of inter-layer similarity across models." Can the authors provide an example of such insightful patterns?
In Appendix H, we find that the island pattern of Edge-Edit can be related to token-prediction transitions through the logit lens. This finding implies the relationship between structural transitions and the models’ behavioral phases.
Figure 12: In sub-figure c layers L25-L30 are quite similar to successive for 30 or 40 layers, which is unlike sub-figures a, b, and d. Can the authors provide any explanation as to why?
This is an interesting phenomenon. This suggests redundancy in these layers, but we do not have any further analysis of it. We will discuss it as a direction for further layer analysis.
After stage1-1k the sub-figures all look very similar. The trend mentioned by the authors ("the model reduces their size and increases similarity between adjacent layers as training progresses") is also broken by sub-figure c, which does not show any clear islands, while d, e, and f go back to having bigger islands.
Thank you for pointing this out. Since this non-monotonic phenomenon needs further investigation, we will note this and fix the claim in the camera-ready version.
While the pruning experiment shows some connection between CSR/CTR and downstream performance, the relationship is not very well characterized in general across the paper
Thank you for this careful reading. Lines 185-188 were intended to motivate which checkpoints to measure, not to claim a correspondence between contiguous subtree/token ratio and downstream performance. The layer pruning experiment in Section 5.4 aims to demonstrate an application of inter-layer similarity measurement via StructLens in Section 5 and is not intended to connect contiguous subtree/token ratios with downstream performance. In this study, we use contiguous subtree/token ratios to investigate the representational evolution across layers, while we use structural similarity to compare layers from a holistic perspective. We will revise lines 185-188 to emphasize this motivation.
"If LMs exhibit contiguous subtrees only when the input is ordered as in the original order, this indicates that they are sensitive to natural token order beyond the tested shuffled baseline." I am wondering if shuffling can generate valid topological orders in this case? For example given the binary tree in Figure 3, is the only correct order [1, 2, 3, 4, 5, 6, 7], or would [1, 2, 4, 5, 3, 6, 7] also work, since we are respecting the partial order of the DAG?
The correct (natural) order is only [1, 2, 3, 4, 5, 6, 7] since contiguity is defined on token indices in the input sequence.
"If LMs exhibit contiguous subtrees only when the input is ordered as in the original order, this indicates that they are sensitive to natural token order beyond the tested shuffled baseline." So here the authors mean that token representations encode dependencies through position rather than through semantics, if the LM does not produce a tree from shuffled tokens, correct?
Thank you for this interesting question, which lets us state the argument more precisely. If shuffling reduces the contiguous subtree, we can conclude that they depend on natural token order, not positional encoding. Since representations of adjacent tokens reflect both relative position and local context, we do not claim a full separation between them. We will clarify this in the camera-ready version.
What is the number of nodes in Figure 9 in Appendix D.2?
. We will add this in the camera-ready version.
lines 179-180: "another local-span pattern" If the authors tested for 3-node and 5-node subtrees, then this would have to be "other local-span patterns", or am I misreading?
Thank you for pointing this out. Yes, this phrase should be “other local-span patterns.” We will fix this in the camera-ready version.
Figure 5: It is not clear what the "final" checkpoint is, since it is not mentioned in Section 4.2.
The final checkpoint refers to the last checkpoint of mid-training of OLMo 2 7B. We will clarify this in the camera-ready version.
Thank you again for your comments. Regarding the minor issues and your suggestions, we will carefully fix them in the camera-ready version. We welcome any further feedback and are happy to discuss any remaining points.
Thank you for the thorough rebuttal. The additional shuffling experiments in Table A directly address my concern about word boundaries and subword tokenization, and the result that preserving word boundaries recovers only a small part of the gap is convincing. The clarifications on stage 1 vs stage 2, the choice of the stage2-1k checkpoint, the topological order question, the "final" checkpoint, and the various minor points are all satisfactory, and I appreciate the concession on the non-monotonic trend in Figure 13. I am raising my score.
On the relationship between the structural analysis and downstream performance: my phrasing was imprecise, and I should have distinguished the trees from the statistics computed over them. My point was that the pruning experiment does establish a link between the StructLens trees and downstream performance via the inter-layer similarity metrics, but no comparable link exists for CSR/CTR. Your clarification confirms this separation. The OLMo 2 report linked in footnote 1 already logs checkpoint-wise downstream accuracy over the same training steps at which CSR/CTR is measured, so overlaying the two series requires no new training. This analysis would establish the significance of CSR/CTR, which currently remains an observation detached from model behavior. I would encourage the authors to include this comparison in the camera-ready version.
Response by Authors
Thank you for your response and for raising the score. We are grateful to hear that our response has addressed the concerns.
Regarding the relationship between structural analysis and downstream performance, we will add a figure overlaying CSR/CTR in the middle layers with the downstream performance.
Thank you again for your insightful comments and suggestions, which have helped us further improve our manuscript.
Comments on the paper
1 comment
Summary of Discussion
We thank all reviewers and the Area Chair for their valuable comments and discussion. Below, we summarize the strengths highlighted by them and the discussion regarding concerns:
Strengths
-
The proposed method is novel to describe intra- and inter-layer relationships between representations (GH9m, o6Me, S6hL).
-
The results show that some structures emerge in intermediate layers during pre-training (GH9m, S6hL)
-
The experiments are carefully controlled (o6Me)
-
This paper is written clearly (GH9m, o6Me, S6hL).
Concerns and Our Responses
The pruning results are inconsistent across models and datasets (o6Me)
In Table 1, 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.
The emergence of intermediate layer patterns appears to be gradual (GH9m)
We first 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. We also performed the Wilcoxon signed-rank test on the difference between the contiguous subtree ratio and the contiguous token ratio in Table A for each interval and confirmed that these differences are statistically significant under p<0.05.
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.
| Interval | Subtree Ratio | Token Ratio | Diff |
|---|---|---|---|
| 1k->10k | +5.8% +/- 1.8 | +30.7% +/- 3.8 | -24.9% +/- 3.0 |
| 10k->101k | -10.2% +/- 1.9 | +13.9% +/- 4.1 | -24.0% +/- 3.5 |
| 101k->500k | +2.6% +/- 0.9 | -5.9% +/- 3.2 | +8.5% +/- 2.8 |
| 500k->750k | +37.6% +/- 4.0 | +30.2% +/- 4.7 | +7.4% +/- 4.0 |
| 750k->928k | +56.2% +/- 5.7 | +22.4% +/- 3.9 | +33.8% +/- 4.1 |
| 928k->stage2_1k | -9.1% +/- 3.5 | +4.9% +/- 3.0 | -13.9% +/- 2.0 |
| stage2_1k->final | +12.8% +/- 3.6 | +3.9% +/- 3.2 | +8.8% +/- 2.2 |
The additional shuffling experiments at word or n-gram levels would reveal whether models consider or ignore word boundaries and semantic coherence (o6Me, S6hL)
We conducted additional experiments on different shuffling settings. We shuffle tokens at the token or word n-gram levels and measure the contiguous subtree ratio at Layer 16 of OLMo 2 7B, which is the middle layer. As shown in Table B, all shuffling conditions reduce the contiguous subtree ratio relative to the original order. Preserving word boundaries recovers only a small fraction of this gap, and the recovery grows with block size mainly because larger blocks preserve longer contiguous spans. This indicates that subword tokenization is not the main driver of the observed contiguous subtrees.
Reviewer S6hL acknowledges the additional experiments and raised the score.
Table B. Contiguous 4-node subtree ratio at Layer 16 of OLMo 2 7B on MMLU, averaged over three seeds {0, 1, 2}.
| condition | ratio | Δ vs original |
|---|---|---|
| original | 0.0135 | -- |
| token_ngram=1 | 0.0031 | -0.0104 |
| token_ngram=2 | 0.0031 | -0.0104 |
| token_ngram=4 | 0.0037 | -0.0098 |
| token_ngram=8 | 0.0066 | -0.0069 |
| word_ngram=1 | 0.0036 | -0.0099 |
| word_ngram=2 | 0.0044 | -0.0091 |
| word_ngram=4 | 0.0054 | -0.0081 |
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Response to Initial Meta Review
Thank you for managing the review process and for your initial meta review. We address the reviewers’ main concerns below.
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 Table 1, 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.
By “meaningful properties,” we mean that the middle-layer pattern coincides with the intermediate-layer phenomena reported independently of StructLens, such as embedding task performance, as noted in Section 4.1.
Regarding “insightful patterns,” we find that the island pattern of Edge-Edit can be related to token-prediction transitions through the logit lens in Appendix H. This finding implies the relationship between structural transitions and the models’ behavioral phases.
We first 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. We also performed the Wilcoxon signed-rank test on the difference between the contiguous subtree ratio and the contiguous token ratio in Table A for each interval and confirmed that these differences are statistically significant under p<0.05.
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 conducted additional experiments on different shuffling settings. We shuffle tokens at the token or word n-gram levels and measure the contiguous subtree ratio at Layer 16 of OLMo 2 7B, which is the middle layer. As shown in Table B, all shuffling conditions reduce the contiguous subtree ratio relative to the original order. Preserving word boundaries recovers only a small fraction of this gap, and the recovery grows with block size mainly because larger blocks preserve longer contiguous spans. This indicates that subword tokenization is not the main driver of the observed contiguous subtrees.
Table B. Contiguous 4-node subtree ratio at Layer 16 of OLMo 2 7B on MMLU, averaged over three seeds {0, 1, 2}.