Skip to content

Tracking the representation geometry of language models from pretraining to post-trainingTracing the Representation Geometry of Language Models from Pretraining to Post-training

arXiv· arXiv:2509.23024· Melody Zixuan Li, Kumar Krishna Agrawal, Arna Ghosh, Komal Kumar Teru, Adam Santoro, Guillaume Lajoie, Blake A. Richards·Indexed by this site · 2026-10-14· Originally publishedAlignment

Quick read

Interpretability

Based on the paper PDF (AI-generated); refer to the original

The authors use RankMe and αReQ to track LLM representations, stating that pretraining has three phases, SFT/DPO expand dimensionality, and RLVR compresses.

Questions
Training loss decreases nearly monotonically, which does not explain how LLM representations evolve, nor does it correspond to n-gram memory, long-context tasks, or post-training behavior. The authors aim to quantify representation geometry from pretraining to post-training.
Methods
Compute RankMe and αReQ on the last-token covariance of the last layer, and compare with SciQ and TriviaQA using Spearman correlation with ∞-gram. Post-training compares SFT, DPO, and RLVR on Tülu-3.1; a linear toy model tests skewed word frequencies and dimensional bottlenecks.
Experiments and results
The authors state that OLMo and Pythia pretraining have three phases. Table 2: Pythia-1B with only top-10 retained gives SciQ of 0.225 (Original 0.838). RankMe rises for SFT/DPO and falls for RLVR; on pass@256 the base model outperforms 2400-step RLVR.
Limitations and future work
The authors state that analyses go up to 12B, spectral metrics require about 10K samples, the theory is for linear extractors, and the evidence is correlational rather than causal. Phases under multilingual and non-standard objectives are unexplored. The body does not give specific pass@k scores.
Experimental setupOLMo-2-1B、OLMo-2-7B et al. · FineWeb、WikiText et al. · RankMe、αReQ et al.
Evaluated models
OLMo-2-1BOLMo-2-7BPythia-1BPythia-1.4BPythia-2.8BPythia-6.9BPythia-12BLlama-3.1-Tülu-3.1-8BGPT-2
Benchmarks
FineWebWikiTextSciQTriviaQALAMBADA OpenAIAnthropic-HHAlpacaFarmAlpacaEvalAMC-23
Metrics
RankMeαReQSpearman ρs0-shot accuracypass@kchat win ratecross-entropy loss
AI summaryThe paper uses effective rank (RankMe) and feature spectrum decay (α-ReQ) to track the representation geometry of language models during pretraining and post-training. On OLMo (1B-7B) and Pythia (160M-12B), they find that autoregressive pretraining sequentially goes through three geometric stages. The warmup stage shows rapid representation collapse; the entropy-seeking stage shows large expansion of manifold dimensionality, coinciding with n-gram memory peaks; the compression-seeking stage selectively retains variance along dominant feature directions and shrinks other directions, while downstream task performance improves significantly. The authors state these stages can arise from the interaction of cross-entropy optimization under skewed word frequencies and representation bottlenecks (d ≪ |V|). Post-training further changes geometry: SFT and DPO drive entropy-seeking dynamics, improving in-distribution performance but weakening out-of-distribution robustness; RLVR induces compression-seeking, enhancing reward alignment but reducing generation diversity.

The paper uses effective rank (RankMe) and feature spectrum decay (α-ReQ) to track the representation geometry of language models during pretraining and post-training. On OLMo (1B-7B) and Pythia (160M-12B), they find that autoregressive pretraining sequentially goes through three geometric stages. The warmup stage shows rapid representation collapse; the entropy-seeking stage shows large expansion of manifold dimensionality, coinciding with n-gram memory peaks; the compression-seeking stage selectively retains variance along dominant feature directions and shrinks other directions, while downstream task performance improves significantly. The authors state these stages can arise from the interaction of cross-entropy optimization under skewed word frequencies and representation bottlenecks (d ≪ |V|). Post-training further changes geometry: SFT and DPO drive entropy-seeking dynamics, improving in-distribution performance but weakening out-of-distribution robustness; RLVR induces compression-seeking, enhancing reward alignment but reducing generation diversity.

Related events and news

0 events · 1 news mentions

News that mentions this paper

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Training loss decreases nearly monotonically; the authors use spectral geometry to correspond to memory, downstream tasks, and post-training.

    Training loss is nearly monotonically decreasing and cannot correspond to the non-monotonic evolution of LLM representation geometry, nor explain how this evolution relates to memorization, downstream capability, and post-training behavior.

    • Scenario: The authors note that training loss can decrease monotonically in scaling-law work (Kaplan et al., 2020; Hoffmann et al., 2022), but capabilities and internal structure undergo qualitative changes (Wei et al., 2022; Ganguli et al., 2022; Singh et al., 2023; Brown et al., 2023; Singh et al., 2024). The question is how high-dimensional distributed representations evolve during training and how this corresponds to emergent capabilities.
    • Existing metrics: Loss and gradient norms commonly used to identify optimization instability are nearly monotonically decreasing. The authors state that they carry limited information about model capability and downstream behavior.
    • Observation: The effective rank RankMe and eigenvalue decay αReQ of the last-layer last-token representation covariance do not change smoothly but follow a fixed-order three-phase pattern: warmup collapse, entropy-seeking expansion, compression-seeking anisotropic compression.
    • Approach: Measure these two spectral metrics on OLMo-2 and Pythia pretraining checkpoints, and on Tülu-3.1 SFT, DPO, RLVR; use ∞-gram alignment to distinguish short-context distributional memorization; use a linear cross-entropy model to examine skewed word frequencies and the representation bottleneck d ≪ |V|.
  2. What related research exists?

    Related work covers phase-like learning, simplicity bias, grokking, and post-training alignment.

    The authors group related work by knowledge acquisition dynamics and post-training alignment, and describe spectral geometry as a complementary description of these phenomena.

    Training curves and spectral measures

    • Loss and capabilities: Wei et al. (2022), Ganguli et al. (2022), Singh et al. (2023), Brown et al. (2023), Singh et al. (2024) discuss qualitative changes in capabilities or internal structure; Kaplan et al. (2020), Hoffmann et al. (2022) describe loss scaling. The introduction uses these works to show that loss curves are incomplete, without criticizing each individually.
    • Effective rank and spectral decay: RankMe is taken from Garrido et al. (2023) (effective rank from Roy and Vetterli, 2007), αReQ from Agrawal et al. (2022). Bartlett et al. (2020), Thilak et al. (2023) link spectral properties to downstream generalization. The authors adopt these measures without claiming to replace them.

    Phase-like knowledge acquisition

    • Facts and circuits: Zucchet et al. (2025) divide LLM learning of factual information into phases and write that performance plateaus form internal structures such as attention circuits.
    • Simple statistics learned first: Refinetti et al. (2023), Belrose et al. (2024) propose Distributional Simplicity Bias, arguing that networks first learn simpler statistical properties, such as low-order moments.
    • Quanta and grokking: Michaud et al. (2023) use discrete knowledge quanta to explain scaling laws and emergent abilities. DeMoss et al. (2024) use algorithmic information theory to describe grokking (Power et al., 2022) as a transition from high-complexity memorization to low-complexity generalization. The authors state that spectral phases are a complementary perspective that may correspond to these performance jumps.

    Post-training alignment

    • Fine-tuning impact decomposition: Ren and Sutherland (2024) use empirical NTK to decompose fine-tuning updates, discussing hallucination amplification in SFT and the squeezing effect of DPO: confidence in expected outputs may decrease.
    • Overtraining: Springer et al. (2025) propose catastrophic overtraining, where excessive pretraining makes models more sensitive to parameter changes, leading to worse performance after SFT. The authors state that this paper adds that SFT, DPO, and RLVR induce different geometric transformations, correlated with capabilities.
    • Verifiable rewards: The results section cites Yue et al. (2025) and Zhao et al. (2025), stating that RLVR constrains base exploration and amplifies behaviors already present in pretraining. This is a behavioral comparison, not a critique of methods in Section 4.

    Baselines and data

    • Memory baseline: ∞-gram LM (Liu et al., 2024) backs off from n=∞ to the longest prefix with non-zero counts in the corpus. Distributional memory is the Spearman ρs between LLM and ∞-gram on target sequences (Wang et al., 2025; Eq. 2). The authors state that Table 1 shows it mainly uses short to medium suffixes on TriviaQA, suitable as a short-context memory reference.
    • Evaluation data: Spectral measures mainly use FineWeb; memory and QA use TriviaQA; multiple-choice uses SciQ; self-SFT uses Anthropic-HH and AlpacaFarm, chat comparison uses AlpacaEval; RLVR uses AMC-23 pass@k.

    The authors state in Section 4 that different post-training strategies induce different representation geometries and affect capabilities. In the discussion, they map entropy-seeking to short-context patterns (including n-gram memory) and compression-seeking to more structured manifolds that may support long-range understanding.

  3. How does the paper address this problem?

    Track pretraining three phases and post-training with RankMe and αReQ of the last-token covariance.

    The overall approach is to perform spectral analysis on the empirical covariance of the last-layer last-token hidden states of a causal model, track geometry with RankMe and αReQ, and then compare phases against ∞-gram memorization, downstream accuracy, and SFT, DPO, RLVR.

    Spectral metrics

    • A sequence s=(t1,…,tN) passes through L layers to produce conditional representations. The authors select the last token yN of the last layer: it parameterizes the next-token distribution, summarizes t≤N, and is often connected to downstream layers.
    • For M sequences forming a feature matrix, after centering the empirical covariance is Σ̂=(1/M)F^T F. Fast eigenvalue decay indicates variance concentrated in a low-dimensional subspace; slow decay indicates use of a higher-dimensional subspace.
    • Let pi be the proportion of total variance accounted for by the i-th eigenvalue. The effective rank is defined as RankMe=exp(−∑i piln pi), taking values in (0,d]. Low entropy corresponds to anisotropy; high entropy corresponds to a more uniform spectrum.
    • The authors state that activation matrices exhibit heavy-tailed spectra, written as σi∝ i−αReQ. Smaller αReQ means variance is more spread out and RankMe is higher; it does not change with feature dimension d. The main setting of Table 5 is FineWeb sample-10BT, maximum length 512, 15000 sequences, batch 16.

    Three pretraining phases and toy model

    • warmup: coincides with learning rate ramp-up; representations rapidly collapse along the main directions of the data manifold. The authors state that early checkpoints show repetitive, non-contextual outputs, called echolalia in appendix Figure 7.
    • entropy-seeking: expansion in multiple directions, RankMe rises and αReQ falls, coinciding with increased n-gram distribution memorization. The abstract writes dimension expansion substantially; the Figure 1 caption writes 2-3× expansion.
    • compression-seeking: anisotropic consolidation along principal eigenvectors, RankMe falls and αReQ rises. The authors state that long-range dependency learning improves. In Figure 2C, OLMo-2 7B may also show further expansion and compression later. Figure 3 shows that intermediate layers also have three phases, so the authors use the last layer to track global dynamics.
    • In the toy model fθ(x)=θx∈R^d, logits are W fθ(x), followed by softmax and cross-entropy. The authors extend Pezeshki et al. (2021), writing primacy bias (high-frequency tokens are learned earlier) and selection bias (Δσi∝σi, main directions more easily encode new information). Reproducing the three phases requires a non-uniform class distribution and an information bottleneck: the body writes d<|V|,要点框写 d≪|V|,Figure 5 图注写 d<n。附录 B 在线性化交叉熵和批次行正交的 i.i.d. 假设下给出形式结果;作者称该假设不现实,但认为结论不严格依赖它,非 i.i.d. 与架构偏置留待以后。

    分布记忆

    • ∞-gram 从最长前缀回退,直到该 n-gram 在预训练语料中的计数非零。Mem∞ 是目标答案 y 上,∞-gram 与 LLM 逐 token 条件概率之联合似然的 Spearman ρs(式 2)。
    • Table 1 在 TriviaQA 上统计后缀长度:≤3 为 25.41%,4 为 46.61%,5 为 16.71%,>8 as 1.34%. The authors therefore treat it as a reference for short-to-medium context statistics, not long-context capability itself.

    Post-training and evaluation

    • Tülu-3.1 sequentially performs SFT, DPO, RLVR on LLaMA-3.1-8B. SFT minimizes negative log-likelihood of instruction-response pairs. The authors additionally perform SFT on OLMo-2-1B checkpoints with Anthropic-HH: maximum sequence length 4096, batch 16, gradient accumulation 16, learning rate 1e-5, linear decay with 10% warmup, 2 epochs, seeds 0, 7, 8, 42, 420 (Table 6). ID is held-out examples from D_SFT; OOD is related data differing in task, style, or complexity.
    • DPO uses static preferences (x,yw,yl), minimizing the logistic loss on the implicit reward difference over preference pairs. The implicit reward is the log-probability ratio relative to the reference policy, multiplied by β. The authors write it as single-negative NCE. The paper does not give the β used in this experiment. Appendix A.4 states that reproducing Tülu-3-8B SFT and DPO checkpoints required no hyperparameter changes.
    • RLVR maximizes expected discounted cumulative reward for verifiable rewards; reward examples include mathematical correctness and passing unit tests, and optimization is usually written as policy gradient methods such as PPO. pass@k uses an unbiased estimator: N samples generated per problem, ci is the number correct; here N=512, k≤256. A problem counts as solved when at least one sample is verifiably correct.
  4. What experiments did the paper conduct?

    In Table 2, Pythia-1B SciQ is 0.225 when retaining only the top-10, and 0.838 for Original.

    Experimental setup

    • Models: OLMo-2 1B and 7B, checkpoints covering about 4T tokens of training; Section 3 states the family also has 13B, but experiments focus on 1B and 7B. Pythia in Figure 4 and Table 9 is 1B, 1.4B, 2.8B, 6.9B, 12B; Appendix Figure 11 is below 1B. The limitations section states phases appear from 160M to 12B. Post-training analyzes Tülu-3.1 on LLaMA-3.1-8B, with Figure 6 writing Llama-3.1-Tülu-3.1-8B.
    • Data and training corpora: Pythia is trained on the Pile, OLMo-2 on OLMoStack (Table 3 writes 4T tokens). The main spectral protocol is FineWeb sample-10BT, 15000 sequences, length 512, batch 16 (Table 5). Memory and QA use TriviaQA, SciQ. Self-SFT uses Anthropic-HH (about 161K) and AlpacaFarm (about 17.7K), chat comparison uses AlpacaEval. RLVR evaluation uses AMC-23. The appendix also lists WikiText and LAMBADA OpenAI, for early spectral measures and text understanding evaluation, respectively.
    • Comparisons: The short-context reference is ∞-gram. The eigen-direction ablation compares Original, removing or retaining top-10 and top-50. Post-training comparisons are stage checkpoints along the same training trajectory, not another alignment algorithm.
    • Metrics: RankMe, αReQ, Mem∞ (Spearman ρs), 0-shot accuracy on SciQ and TriviaQA, ID/OOD cross-entropy, AlpacaEval chat winrate, pass@k.
    • Evaluation: AlpacaEval's LM judge is Cohere Command A (Table 8). The paper does not specify a winrate threshold. SciQ and TriviaQA report 0-shot accuracy without additional judge models.
    • Replication: SFT uses 5 seeds; Figure 14 shading is the standard deviation across these 5 seeds. Figure 8 spectral measure shading is standard error; the paper does not state the number of repetitions.

    Main results

    Table 2 reports SciQ accuracy. Column order follows the header: Original, and Top-10, Top-50 Removed and Retained. Pythia-12B is not in this table.

    Swipe horizontally to read the table

    ModelOriginalTop-10 RemovedTop-10 RetainedTop-50 RemovedTop-50 Retained
    Pythia-1B0.8380.8490.2250.8350.318
    Pythia-1.4B0.8660.8550.2320.8590.324
    Pythia-2.8B0.8840.8800.2190.8730.317
    Pythia-6.9B0.8960.8930.2020.9060.327
    OLMo-2-1B0.9530.9430.1990.9540.326
    OLMo-2-7B0.9700.9660.1550.9700.308
    • The authors state that retaining only the top eigen-directions reduces SciQ, while removing the top directions has little effect, so information is distributed across the full spectrum, not just principal directions.
    • Table 2's Removed columns are sometimes higher and sometimes lower than Original, not all lower. The authors use this to justify RankMe and αReQ rather than top-k proxies.
    • The discussion uses Pythia-1B and OLMo-2-7B top-10 retained results as examples, stating this is consistent with compression-seeking still maintaining distributed representations.

    Pretraining phases and tasks

    • Figure 2: OLMo-2 7B cross-entropy and gradient norm change nearly monotonically, with learning rate following a schedule; RankMe and αReQ are non-monotonic. The authors label warmup, entropy-seeking, and compression-seeking, and state the same is visible across Pythia scales. The main text does not give endpoint readings for these curves.
    • Figure 4: Across five Pythia scales from 1B to 12B, distributional memory peaks in late entropy-seeking and plateaus or slightly declines during compression-seeking. The authors state SciQ improves in both phases; TriviaQA rises sharply near memory metric saturation, with main improvements in compression-seeking. The main text does not give accuracy values for Figure 4 points.
    • Figure 3: Intermediate layers also show three phases in RankMe and αReQ. The authors state geometric evolution is not limited to the last layer, and the last layer suffices to track global dynamics.

    Post-training geometry and behavior

    • Figure 6A: Llama-3.1-Tülu-3.1-8B RankMe increases with SFT and DPO, decreases with RLVR. The authors map these to entropy-seeking and compression-seeking, respectively. The main text does not give RankMe values for these checkpoints.
    • When OLMo-2-1B is SFT on Anthropic-HH, the main text states that longer pretraining monotonically improves ID loss, while OOD loss on Alpaca farm increases. Figure 6 caption states OOD generalization saturates; Figure 14 caption states OOD loss saturates or slightly worsens. The abstract states SFT/DPO improve in-distribution performance and reduce out-of-distribution robustness. Winrate drops from 14% to 9%. The authors state the judge can better distinguish two instruction-tuned models, and that overtrained bases are more sensitive to SFT distribution shift.
    • On AMC-23, RLVR trained for 2400 steps outperforms the DPO-then-base at pass@16; the base and intermediate checkpoints outperform that RLVR model at pass@256. The authors state high-k exploration narrows, consistent with Yue et al. (2025) and Zhao et al. (2025). The paper does not report these pass@k scores.

    Other ablations and analyses

    • Table 9: SciQ is positively correlated with αReQ and negatively with RankMe; for example, Pythia-6.9B RankMe correlation is -0.885 (p=2.19e-7), OLMo2-1B αReQ correlation is 0.540 (p=4.920e-7). The paper states the correlations in the table are statistically significant.
    • Table 1: On TriviaQA, ∞-gram suffix length 4 accounts for 46.61%, >8 for 1.34%.
    • Figure 5D: In the toy model, after about 200 steps σ1 grows faster than σ2, and RankMe rises then falls.
    • Figures 12–13: Removing skewed labels or the information bottleneck eliminates compression-seeking; replacing cross-entropy with MSE makes effective rank increase monotonically and saturate.
    • Figures 8–11: Three phases remain visible across sample counts, sequence lengths, datasets, and Pythia below 1B; the main text does not give endpoint values for these figures.
    • Appendix Figure 7: OLMo-2-7B step-1000 generates repetitive, non-contextual text, while step-920000 produces coherent output. The authors state the former corresponds to warmup.
  5. What are some points that can be further explored?

    The authors state that the evidence is mainly correlational, analysis goes up to 12B, and the theory uses a linear extractor.

    Limitations and future directions noted by the authors

    • Computational constraints limit analysis to 12B; the authors also write that phases persist from 160M to 12B (Section 5).
    • Spectral measures require about 10K samples and grow quadratically with hidden dimension (Section 5). Table 5's main setting uses 15000 sequences.
    • Theoretical analysis assumes a simplified linear feature extractor; extension to full Transformers is marked as future work (Section 5). Appendix B also states that the i.i.d. batch assumption is unrealistic, leaving non-i.i.d. samples and architectural inductive biases for later.
    • The work focuses on English, standard objective-trained models; whether similar phases appear in multilingual or alternative training regimes is unexplored (Section 5).
    • Findings are mainly correlational; causal links between geometric dynamics and emergent abilities require further study (Section 5).
    • The authors suggest that distinguishing entropy-seeking from compression-seeking could inform checkpoint selection for fine-tuning or designing training strategies that intentionally pass through these phases (Section 5, phrased as could inform).

    Experimental coverage

    • Pretraining spectral analysis uses OLMo-2 1B and 7B (about 4T tokens) and Pythia 1B, 1.4B, 2.8B, 6.9B, 12B; Appendix Figure 11 also includes Pythia below 1B. Section 3 mentions OLMo 13B checkpoints are available, but main experiments focus on 1B and 7B.
    • The main spectral protocol is FineWeb sample-10BT, 15000 sequences, length 512 (Table 5). Figure 3 covers intermediate layers; Figures 8–10 vary sample count, sequence length, and dataset, with captions not listing all dataset names.
    • Behavioral numbers come from ∞-gram Spearman on TriviaQA and 0-shot SciQ and TriviaQA on Pythia (Figure 4). Table 2's SciQ eigen-direction ablation includes four Pythia scales and OLMo-2 1B, 7B, excluding Pythia-12B. Table 9 includes correlations and p-values for Pythia-12B and OLMo2-1B.
    • Post-training covers Tülu-3.1-8B SFT, DPO, and RLVR checkpoints (Figure 6), and OLMo-2-1B SFT on Anthropic-HH and AlpacaFarm. AlpacaEval is judged by Cohere Command A, with winrate using 5 seeds (Table 6, Table 8, Figure 14).
    • AMC-23 pass@k uses N=512, k≤256, comparing DPO-then-base with RLVR at 1200 and 2400 steps. The paper does not report accuracy readings from Figure 4 curves, nor specific pass@16 and pass@256 scores.
  6. Summarize the main content of the paper

    Spectral metrics divide pretraining into three phases, corresponding to memorization, long-context tasks, and post-training expansion or compression.

    The authors use RankMe and αReQ of the last-token covariance of the last layer to describe the representation geometry of autoregressive LLMs from pretraining to post-training, rather than relying only on monotonically decreasing loss.

    • Problem: Loss and gradient norms change nearly monotonically, failing to distinguish representation collapse, expansion, and compression, and failing to separate short-context statistics from long-context tasks.
    • Pretraining: The authors identify three phases across OLMo-2 1B, 7B, and Pythia at multiple scales. Warmup coincides with learning rate ramp-up and rapid collapse; entropy-seeking expands dimensionality and coincides with the rise of ∞-gram distributional memory; compression-seeking concentrates variance more into principal directions. Figure 1 caption describes expansion as 2–3×, while the abstract says substantially. The authors state that the main improvement on TriviaQA falls in the compression phase, while SciQ improves in both phases.
    • Mechanism setting: In a linear cross-entropy model, the authors state that skewed class frequencies and a bottleneck with d smaller than the vocabulary are sufficient to produce expansion followed by compression; with uniform labels, without the bottleneck, or with MSE, the compression phase does not appear (Figures 12–13).
    • Full spectrum: In Table 2, Pythia-1B SciQ is 0.838 for Original and 0.225 when retaining only the top-10 directions; OLMo-2-7B is 0.970 and 0.155, respectively. The authors state that removing the top directions has little effect, so they use full-spectrum measures.
    • Post-training: On Tülu-3.1-8B, RankMe increases with SFT and DPO and decreases with RLVR. On OLMo-2-1B, AlpacaEval winrate drops from 14% to 9% after longer pretraining. On AMC-23, 2400 steps of RLVR outperform the DPO-then-base model at pass@16, while the base and intermediate checkpoints are better at pass@256; the paper does not report specific scores.
    • Authors' conclusion: Cross-entropy, skewed word frequencies, and representation bottlenecks can produce non-monotonic geometry; SFT/DPO expansion improves in-distribution fit and increases sensitivity to data characteristics, while RLVR compression strengthens reward alignment and narrows high-k exploration. The authors label these connections as correlations, with causality still to be studied.
Read originalarxiv.org