Farther the Shift, Sparser the Representation: Analyzing OOD Mechanisms in LLMs
Mingyu Jin, Yutong Yin, Jingcheng Niu, Qingcheng Zeng, Wujiang Xu, Xinyuan Song, Wei Cheng, Mengnan Du, Zhaoran Wang, Tianlong Chen, Dimitris N. Metaxas
Abstract. In this work, we investigate how the internal representations of Large Language Models (LLMs) change with inputs of increasing difficulty. Although sparsity changes may not be obvious for individual samples, dataset-level results reveal a consistent statistical trend: as task difficulty increases (e.g., harder questions, longer contexts, or more answer choices), the last hidden states of LLMs become systematically sparser. In short, \emph{the harder the task, the sparser the representation}. This sparsity--difficulty relation is observable across diverse models and domains, suggesting that harder inputs drive more concentrated activation patterns in the last hidden state. Through a series of controlled analyses and learning-dynamics experiments, we show that representational density is a learned property of data familiarity: models develop rich, distributed representations for mastered patterns, while unfamiliar inputs default to sparser activations. Our finding is also actionable. We illustrate this with Sparsity-Guided Curriculum In-Context Learning (SG-ICL), which uses sparsity to select few-shot demonstrations matched to the query's difficulty, outperforming standard CoT and Auto-CoT baselines on MATH-500. Our study provides new insights into how LLM representations reflect task difficulty and how this signal can be leveraged for inference. Our code: ~\url{https://github.com/MingyuJ666/sparsityLLM}.
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) · 4 reviews · OpenReview
Updated 25 Nov 2026, 03:47 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
The paper investigates how the representational sparsity of LLM hidden states changes with task difficulty using 3 different metrics to measure sparsity and 4 different axes to measure task difficulty (reasoning complexity, answer choice size, knowledge conflict, context length) and in empirical analysis on Llama 3.2 and Qwen 2.5 model families finds that the last hidden states become sparser as task difficulty increases. Based on this insight, it proposes a sparsity-guided curriculum in-context learning which is compared against CoT and AutoCoT on Math-500.
The reviewers find this paper to be well-structured and clearly written, and initially appreciated the experimental design (four axes of difficulty, three metrics of sparsity).
However, there were also many weaknesses raised by the reviewers. Most importantly, a more thorough embedding in the existing literature was needed (ideally even an empirical comparison), as mentioned by reviewers ptPZ, xqun, MsAe. Also, reviewers 61kD and xqun raised concerns about the significance of improvements. Lastly, I agreed with reviewer 61kD that it would be beneficial to the generalizability of the finding "harder is sparser" if it was validated on at least a third model family beyond the two investigated.
Final justification
After reading the author responses, many of the concerns, especially the critical part of embedding in the existing literature, have been resolved. Still, based on the responses, some critical concerns around generalizability of findings and significance of improvements remain or have even been reinforced (1.):
- The central “harder is sparser” claim seems to not be fully supported across all models and axes: the new OLMo-2 experiments (see author answer to initial metareview) only replicate three of the four proposed difficulty axes. The context-length axis was explicitly not tested because of OLMo's context-window limitation; instead, the authors report a control where increasing context length while holding difficulty fixed makes representations denser, i.e. the opposite direction. In the answer to reviewer 61kD, the authors also conceded that “Llama is evaluated on three of the four axes,“, this time leaving out Reasoning complexity for which the additional OLMo-2 experiments also only showed a weak (spearman rho 0.18) correlation. So for 2 out of the 4 difficulty axes, the central claim is currently not fully supported by paper and rebuttal beyond a single model family (Qwen).
- Another very important point is about the significance of improvements (initially raised by reviewers 61kD and xqun). Even after rebuttal, SG-ICL remains evaluated essentially on MATH-500, with modest improvements over Auto-CoT on two model families. Importantly, when reviewer 61kD asked for a clean ablation of SG-ICL's own semantic-retrieval component, the authors agreed that this was the cleanest test but were unable to complete it during the discussion period.
I shared these concerns with the reviewers during the AC-reviewer discussion period and the 3 reviewers who engaged in the discussion all agreed, despite having raised their scores previously as some of their concerns had been addressed.
Given the various strengths of the paper and the overall positive feedback it received by the reviewers (+ the resolved concerns mentioned above), I still recommend its acceptance. However, I would strongly encourage the authors to address the above points as well as they can for the camera-ready version of the paper.
Read meta-review
Meta-review
The paper investigates how the representational sparsity of LLM hidden states changes with task difficulty using 3 different metrics to measure sparsity and 4 different axes to measure task difficulty (reasoning complexity, answer choice size, knowledge conflict, context length) and in empirical analysis on Llama 3.2 and Qwen 2.5 model families finds that the last hidden states become sparser as task difficulty increases. Based on this insight, it proposes a sparsity-guided curriculum in-context learning which is compared against CoT and AutoCoT on Math-500.
The reviewers find this paper to be well-structured and clearly written, and initially appreciated the experimental design (four axes of difficulty, three metrics of sparsity).
However, there were also many weaknesses raised by the reviewers. Most importantly, a more thorough embedding in the existing literature was needed (ideally even an empirical comparison), as mentioned by reviewers ptPZ, xqun, MsAe. Also, reviewers 61kD and xqun raised concerns about the significance of improvements. Lastly, I agreed with reviewer 61kD that it would be beneficial to the generalizability of the finding "harder is sparser" if it was validated on at least a third model family beyond the two investigated.
Final justification
After reading the author responses, many of the concerns, especially the critical part of embedding in the existing literature, have been resolved. Still, based on the responses, some critical concerns around generalizability of findings and significance of improvements remain or have even been reinforced (1.):
- The central “harder is sparser” claim seems to not be fully supported across all models and axes: the new OLMo-2 experiments (see author answer to initial metareview) only replicate three of the four proposed difficulty axes. The context-length axis was explicitly not tested because of OLMo's context-window limitation; instead, the authors report a control where increasing context length while holding difficulty fixed makes representations denser, i.e. the opposite direction. In the answer to reviewer 61kD, the authors also conceded that “Llama is evaluated on three of the four axes,“, this time leaving out Reasoning complexity for which the additional OLMo-2 experiments also only showed a weak (spearman rho 0.18) correlation. So for 2 out of the 4 difficulty axes, the central claim is currently not fully supported by paper and rebuttal beyond a single model family (Qwen).
- Another very important point is about the significance of improvements (initially raised by reviewers 61kD and xqun). Even after rebuttal, SG-ICL remains evaluated essentially on MATH-500, with modest improvements over Auto-CoT on two model families. Importantly, when reviewer 61kD asked for a clean ablation of SG-ICL's own semantic-retrieval component, the authors agreed that this was the cleanest test but were unable to complete it during the discussion period.
I shared these concerns with the reviewers during the AC-reviewer discussion period and the 3 reviewers who engaged in the discussion all agreed, despite having raised their scores previously as some of their concerns had been addressed.
Given the various strengths of the paper and the overall positive feedback it received by the reviewers (+ the resolved concerns mentioned above), I still recommend its acceptance. However, I would strongly encourage the authors to address the above points as well as they can for the camera-ready version of the paper.
1 comment
- Rating
- 5/6
- Confidence
- 3/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
This paper studies how the sparsity of final-layer representations in LLMs changes as task difficulty increases. The authors evaluate models from the Qwen2.5 family (across multiple scales) and the Llama 3.2 family, and construct tasks with varying difficulty along four axes: reasoning complexity (mathematical reasoning), answer selection difficulty (size of the candidate set), knowledge conflict (conflicts with parametric knowledge), and context length. Across these settings, the paper reports that final-layer representations become increasingly sparse as task difficulty increases.
To investigate the origins of this phenomenon, the authors train toy language models on synthetic knowledge graphs and analyze representation sparsity under varying levels of model capacity and training progress. They evaluate tail-entity prediction on seen facts/entities, unseen facts, and unseen triples, and find that sparsification emerges once models have sufficient capacity and are adequately trained. They further study the evolution of sparsity during training, observing an initial increase followed by a decrease, and argue that this behavior helps explain why in-distribution examples exhibit denser representations than out-of-distribution examples. Finally, the paper demonstrates the use of the sparsity signal for in-context learning. Using Math-500, the authors select in-context examples based on model-perceived difficulty as measured by representation sparsity. This sparsity-guided example selection outperforms vanilla chain-of-thought prompting and randomly sampled few-shot chain-of-thought demonstrations.
Strengths and weaknesses
Strengths
- Clear framing, detailed experiments
- Empirical questions are validated
- Interesting and useful study of representation sparsity on multiple LLMs
Weakness
- The paper provides limited discussion of how the observed sparsification signals relate to the broader uncertainty quantification and out-of-distribution detection literature. In particular, there is little comparison to representation-based uncertainty measures (e.g., Mahalanobis distance, density estimation in latent space) or energy-based methods that similarly exploit information contained in hidden representations and logits. As a result, it is unclear whether the proposed sparsity signal captures a fundamentally new phenomenon or is correlated with existing uncertainty indicators.
Questions
- See weakness
- Also, is the increase in sparsity driven by suppression of a consistent set of features, or by a change in the identity of active features as task difficulty increases within the same domain? This could be useful to include in the paper.
- What is AutoCoT in the ICL baseline?
Limitations
yes
Final justification
I was leaning for acceptance prior to rebuttal and would like to keep my score.
Formatting concerns
None of significance
1 comment
Rebuttal
Response to the Reviewer
We sincerely thank the reviewer for the positive assessment and thoughtful questions. We agree that the relation to uncertainty/OOD indicators and the interpretation of active features should be stated more precisely.
1. Relation to uncertainty quantification and OOD detection
We agree that the manuscript does not sufficiently position representation sparsity relative to established uncertainty and OOD scores. Our claim is not that sparsity is statistically independent of, or universally superior to, these scores, and we do not present it as a calibrated OOD detector. Our contribution is the systematic observation and learning-dynamics analysis of how hidden-representation geometry changes with task difficulty or controlled distributional shift.
The signals characterize related but different properties:
- Confidence, entropy, and conventional energy scores are functions of output probabilities or logits.
- Mahalanobis distance and latent-density methods measure where a hidden state lies relative to an estimated in-distribution reference distribution.
- Our sparsity statistics measure how activation energy is distributed across coordinates/features within the representation, without fitting an ID density.
These indicators may correlate, but they are not mathematically equivalent: one concerns location relative to a reference distribution, whereas the other concerns internal concentration. We will expand the related-work discussion on Mahalanobis-, density-, and energy-based methods and position sparsity as a complementary representation statistic, rather than claim independence from existing uncertainty measures.
We also already evaluated an output-confidence curriculum under the same MATH-500 protocol:
| Method | Selection signal | Accuracy (%) |
|---|---|---|
| Semantic-Retrieval CoT (currently labeled Auto-CoT) | Semantic similarity | 75.20 |
| Confidence-ICL | Output log-probability | 73.80 |
| Length-ICL | Reasoning length | 75.00 |
| SG-ICL | Hidden-state sparsity | 76.60 |
Here, output confidence is not a drop-in replacement for sparsity. We emphasize that this is evidence of operational non-equivalence in this application, not proof of statistical independence from every UQ/OOD score. A comprehensive detector comparison would require explicit ID/OOD labels, fitted reference distributions, and detection/calibration metrics, and is outside the scope of this mechanistic study.
2. Stable feature suppression or changing feature identity?
This is an important distinction. Our scalar metrics answer how concentrated a representation is, but not which features carry that concentration. Thus, the current evidence does not justify claiming that exactly the same feature set remains active as difficulty increases.
The controlled answer-choice and knowledge-conflict settings are consistent with selective suppression: the core question or prompt structure is largely preserved, while added distractors or conflicting information produce greater concentration. The most accurate interpretation is that harder inputs induce stronger feature selection, potentially combining suppression of weak/irrelevant features with turnover in the dominant features. Our central claim concerns increased concentration, not invariance of feature identity.
3. Clarification of the Auto-CoT baseline
In our implementation, Auto-CoT [1] performs demonstration selection based on semantic similarity. Candidate questions are first represented in a semantic embedding space and organized through semantic clustering. For each query, demonstrations are selected from the semantically similar cluster, so that the retrieved examples have meanings and problem structures similar to those of the query. The key distinction is that Auto-CoT selects demonstrations according to semantic similarity, but does not consider their representation sparsity or model-perceived difficulty. In contrast, SG-ICL additionally uses hidden-state sparsity as a model-internal difficulty signal, aiming to select demonstrations that are not only semantically relevant but also better aligned with the query in terms of difficulty.
We will clarify this implementation detail in the experimental setup to avoid ambiguity.
[1] Zhang, Z., Zhang, A., Li, M., & Smola, A. Automatic Chain of Thought Prompting in Large Language Models. In The Eleventh International Conference on Learning Representations (ICLR).
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper investigates how the internal representations of LLMs change as a function of input difficulty. The central empirical claim is that the last hidden state becomes systematically sparser as task difficulty increases -- "harder is sparser." Sparsity is measured via Top-k Energy, Effective Rank, Hoyer Sparsity, and other concentration metrics. The observation is validated along four controlled difficulty axes: reasoning complexity (MATH-500, DeepMATH-103K), answer choice expansion (a new MMLU-Robust benchmark), knowledge conflict, and context length. To explain the mechanism, the authors train a toy Transformer on a synthetic knowledge graph and observe a two-phase learning dynamic: an early feature-selection phase (increasing sparsity, attributed to weight-decay-driven feature contraction) followed by a feature-consolidation phase (decreasing sparsity for mastered patterns). A theoretical analysis under a simplified cross-entropy + weight-decay model formalizes this trajectory. Finally, the paper proposes Sparsity-Guided Curriculum In-Context Learning (SG-ICL), which matches few-shot demonstrations to query difficulty via sparsity, showing improvements over CoT and Auto-CoT baselines on MATH-500.
Strengths and weaknesses
Strengths
This work addresses the central challenge of understanding how LLM internal representations respond to varying task difficulty. The paper has several notable strengths:
- Thorough empirical validation. The experimental design is commendably broad: multiple model families (Qwen2.5, Llama 3.x), a wide range of sizes (1.5B to 70B), four distinct difficulty axes, and multiple sparsity metrics all converging on the same conclusion. This level of consistency across settings makes the core observation convincing and unlikely to be an artifact of any single benchmark or architecture.
- Clear, well-organized writing. The three-RQ structure (phenomenon -> mechanism -> application) provides a natural narrative arc. Figure 1 effectively conveys the core finding in a single glance. The 36-page appendix demonstrates thoroughness and supports reproducibility.
- MMLU-Robust benchmark. Introducing controlled difficulty by adding plausible distractors to MMLU while keeping the question stem unchanged is a clean experimental design that could be reused by others.
- Controlled toy model experiment. Training a Transformer from scratch on a synthetic knowledge graph and showing that the sparsity-difficulty pattern only emerges with sufficient model capacity and training is a well-designed control that demonstrates the pattern is learned rather than architecturally imposed.
Weaknesses
W1. The core observation is partly expected from representation learning theory, and deeper insights are needed. The finding that models develop rich, distributed representations for familiar/mastered patterns while unfamiliar inputs yield sparser activations is consistent with well-established understanding of how neural networks form distributed representations (cf. Bengio et al., 2013, "Representation Learning: A Review and New Perspectives," which discusses how models learn distributed features that are densely activated for familiar data). The authors themselves acknowledge this interpretation (page 8: "Learning Reduces Sparsity for Familiar Inputs"). While the systematic empirical validation across settings is a genuine contribution, the underlying insight does not go substantially beyond what one would predict from first principles. For a stronger contribution, deeper mechanistic analysis would be needed -- for example: among the four difficulty axes studied, which factors contribute most to increased sparsity? Is there a quantitative relationship between the degree of sparsity and actual model accuracy across different benchmarks?
W2. Restricted to implicit reasoning and the last hidden state, with insufficient analysis of CoT and intermediate layers. The paper focuses exclusively on implicit reasoning (no chain-of-thought) and the last hidden state. The authors note that CoT produces "less stable" patterns but do not quantify or analyze this instability. Given that CoT is the dominant inference paradigm for reasoning tasks, this restriction substantially limits the paper's practical relevance. Additionally, Figure 5 shows that across layers, the sparsity pattern varies considerably -- notably, at 64K context length, sparsity is not always the highest, suggesting the relationship may be layer-dependent and more nuanced than the paper's narrative implies. A thorough layer-wise analysis would strengthen the claims.
W3. No comparison with other difficulty proxies. The paper does not compare sparsity against other internal signals that may correlate with task difficulty, such as output entropy, predictive uncertainty (confidence), or hidden-state norm. Notably, recent work -- "The Tell-Tale Norm" (ICML 2026 Spotlight) -- argues that the norm of hidden states serves as an indicator of difficulty or capability. The theoretical derivation in this paper also involves norm-related quantities. Without comparing sparsity to these alternative proxies, it is unclear whether sparsity provides unique diagnostic value or is merely one of many correlated signals. A discussion of the relationship between sparsity, norm, and entropy-based measures would substantially increase confidence in the contribution's distinctiveness.
W4. SG-ICL application is insufficiently validated. The practical application is evaluated on a single benchmark (MATH-500), yielding a modest improvement of ~1.4% over Auto-CoT. The curriculum SFT experiment on GSM8K shows a similarly marginal gain (~0.9%). Curriculum learning is also a promising application direction, but the evaluation is too narrow to support a general claim. We do not know how SG-ICL performs on safety benchmarks, OOD benchmarks, code generation, or other reasoning tasks. Broadening the evaluation across diverse benchmarks and model families would strengthen the practical contribution.
W5. Conceptual conflation of "difficulty" and "out-of-distribution." The empirical sections operationalize difficulty as in-distribution variation (e.g., MATH Level 1-5, where the model was likely exposed to all difficulty levels during pretraining), while the theoretical analysis and toy model experiments explain the pattern through OOD / data unfamiliarity (rule compositions not seen during training). These are related but distinct concepts -- a Level 5 MATH problem is hard but not necessarily OOD, while a novel rule composition is OOD but not necessarily "harder" in a human sense. The paper would benefit from a clearer conceptual distinction between difficulty-as-intrinsic-complexity and difficulty-as-distributional-novelty.
Questions
-
(Re: W1) The two-phase dynamic (feature selection -> consolidation) is theoretically attributed to weight-decay-driven feature contraction in the early phase. If weight decay is the primary driver of the initial sparsification, what happens when weight decay is removed or significantly reduced? Does the harder-is-sparser pattern still emerge? Additionally, among the four difficulty axes (reasoning complexity, choice expansion, knowledge conflict, context length), which factors contribute most to sparsity increase? Can you quantify the relationship between sparsity magnitude and actual model accuracy across different benchmarks?
-
(Re: W2) The restriction to implicit reasoning and the last hidden state is a significant scope limitation. Can you quantify the "instability" of the sparsity-difficulty relationship under Chain-of-Thought, using the same correlation analysis applied to implicit reasoning? Furthermore, Figure 5 shows that the sparsity pattern varies across layers and that 64K context length does not always produce the highest sparsity. Can you provide a systematic layer-wise analysis to demonstrate whether the pattern holds at intermediate layers or is specific to the final layer?
-
(Re: W3) How does sparsity compare to other internal difficulty proxies -- specifically output-distribution entropy, predictive confidence et. al? Recent work such as "The Tell-Tale Norm" (ICML 2026 Spotlight) argues that hidden-state norm indicates capability/difficulty, and your own theoretical derivation involves norm-related quantities. Can you discuss the relationship between your sparsity measures and norm-based or entropy-based alternatives? Demonstrating that sparsity provides information beyond what simpler proxies capture would substantially increase my confidence in the contribution's novelty. I think it's meaningful.
-
(Re: W4) SG-ICL and curriculum learning are evaluated on a single benchmark (MATH-500) with a single model. Can you provide results on at least 2-3 additional benchmarks (e.g., GSM8K with ICL, MMLU-Robust, a code generation task, or a safety/OOD benchmark) and with multiple model families to establish generality? The current evidence is insufficient to support the claim that sparsity-guided methods are broadly useful.
-
(Re: W5) The paper uses "difficulty" and "OOD-ness" somewhat interchangeably, but these are conceptually distinct. MATH Level 5 problems are hard but likely in-distribution (the model saw similar problems during pretraining), while the toy model's novel rule compositions are genuinely OOD. Can you clarify which phenomenon you believe drives the sparsity increase -- intrinsic task complexity, distributional novelty, or both? If these are separable, which contributes more? A controlled experiment isolating these two factors would significantly strengthen the mechanistic narrative.
Limitations
yes
Final justification
Most of my concerns have been addressed. I have raised my score. to 5.
Formatting concerns
No
3 comments
Rebuttal
We sincerely thank the reviewer for the positive review and the exceptionally rich and constructive feedback! We would like to answer your questions below. As a summary:
- The prediction attributed to representation-learning theory is not one that literature makes, and our finding is non-monotonic in a way first principles do not anticipate;
- Promising results that the harder-is-sparser ordering also holds under Chain-of-Thought;
- Hidden-state norm and output confidence are dissociable from sparsity, and neither reproduces the SG-ICL gain;
- SG-ICL replicates on a second family at 70B (
+1.60), and we will describe it as a proof of concept rather than a general claim; - The RQ2 design already separates difficulty from distributional shift, but the paper does not make that visible, and we will fix it.
Q1. Connection to representation learning theory
This is the right literature to hold us to, but our finding is different from the prediction attributed to it. Bengio et al. (2013) treat distributed representations through a counting argument about capacity: RBMs, sparse coding, auto-encoders and multi-layer networks "can all represent up to O(2^k) input regions using only O(N) parameters (with k the number of non-zero elements in a sparse representation) ... These are all distributed or sparse representations." The contrast is with local, one-hot codes such as k-means, not with sparse ones: sparse codes are counted as distributed, and capacity is indexed by non-zero coordinates. The review separately lists sparsity among its priors for a good representation, and it does not at any point relate activation density to how familiar an input is. The step from "distributed" to "densely activated for familiar data" does not come from that review.
More importantly, and this is what the question brought out, our finding is not monotonic. The natural expectation is that representations become steadily denser as the model masters the data; what we observe is sparsity first rising, then falling. On four OLMo-2 base models, the normalized sparsity of Appendix A.1 falls to a trough at 4% to 16% of training and then rises monotonically (Welch t-test on 1,000 held-out sequences, t between 116 and 146):
| Model | Trough | Final | Rise |
|---|---|---|---|
| OLMo-2-1B | 0.6088 | 1.3563 | +123% |
| OLMo-2-7B | 0.4323 | 0.8473 | +96% |
| OLMo-2-13B | 0.2117 | 0.6117 | +189% |
| OLMo-2-32B | 0.2500 | 0.6509 | +160% |
A turning point at a consistent location across a thirty-two-fold range of model size is not something the intuition predicts; it has to be measured. The RQ2 construction points the same way (Q5).
On the specific questions. The sparsity-accuracy relation is already in Appendix A.8, Figure 10: on MATH-500 with Qwen2.5-7B, accuracy correlates with sparsity at r = 0.897 and Top-10% Energy at r = -0.915, and we will move it to the main text. The four axes cannot be ranked causally, as their effect sizes are not on a common scale. On weight decay, the reviewer identifies a real imprecision: our analysis shows it contributes to early feature selection but does not establish necessity, and we will revise "weight-decay-driven" accordingly.
Q2. Chain-of-Thought and layer-wise behavior
We ran it: the harder-is-sparser ordering holds under Chain-of-Thought too. Last hidden state after CoT generation, MATH-500 with Qwen2.5-7B:
| Level | n | Hoyer sparsity | Gini | Kurtosis | |
|---|---|---|---|---|---|
| 1 | 43 | 0.4777 | 0.4892 | 110.56 | 158.98 |
| 2 | 90 | 0.4785 | 0.4893 | 110.49 | 159.11 |
| 3 | 105 | 0.4784 | 0.4903 | 109.93 | 157.69 |
| 4 | 128 | 0.4797 | 0.4903 | 110.83 | 156.25 |
| 5 | 134 | 0.4823 | 0.4909 | 111.78 | 153.67 |
Using the same level-wise correlation the paper applies to implicit reasoning, the correlations across the five levels are +0.90 for Hoyer sparsity, +0.97 for Gini and +0.65 for kurtosis: the same direction as Figure 2a.
By "less stable under CoT" we meant that CoT has far too many configurations to control at once, not that the effect is weaker there. That is why we scoped it out rather than treating it as a controlled axis, and we leave the full space to future work. The experiment above is a simple one and not a complete treatment, but it is promising that the ordering still holds.
The effect is also layer-dependent, and we do not claim every intermediate layer shows an equally strong ordering. Raw-coordinate sparsification is most pronounced near the final readout:
| Layer | 8K | 16K | 32K | 64K |
|---|---|---|---|---|
| L24 | 0.212 | 0.210 | 0.213 | 0.214 |
| L26 | 0.246 | 0.245 | 0.247 | 0.249 |
| L28 | 0.271 | 0.272 | 0.275 | 0.283 |
Layer-20 hidden states projected into an SAE feature space show concentration at an intermediate layer too:
| Dataset | Avg. tokens | Avg. Top-1 SAE activation |
|---|---|---|
| GSM8K | 37.0 | 84.07 |
| MMLU-Math | 59.7 | 93.02 |
| MMLU-Pro-Math | 62.0 | 106.12 |
Raw-coordinate sparsification therefore peaks near the final readout, while feature-level concentration is already visible earlier.
Q3. Comparison with norm-, confidence-, and entropy-based proxies
Norm and concentration are dissociable. Our Easy-Long control holds the hidden-state norm almost fixed while concentration differs by more than eleven percentage points:
| Prompt type | Avg. tokens | Norm | Top-10% Energy |
|---|---|---|---|
| Hard MATH, Level 3 | 55.5 | 10,331 | 67.44% |
| Easy-Long narrative | approximately 150 | 10,362 | 55.89% |
Top-k Energy, Hoyer sparsity and normalized Effective Rank are invariant to global rescaling. We therefore read norm-based indicators, including the work the reviewer cites, as complementary: norm measures how large a representation is, sparsity measures how concentrated it is.
On output-side signals, we have added confidence and length curricula under the same MATH-500 protocol:
| Method | Selection signal | Accuracy |
|---|---|---|
| Auto-CoT | Semantic similarity | 75.20% |
| Confidence/PPL-ICL | Output log-probability / perplexity | 73.80% |
| Length-ICL | Reasoning length | 75.00% |
| SG-ICL | Hidden-state sparsity | 76.60% |
Perplexity is a monotonic transformation of average negative log-probability, so the confidence baseline is also a perplexity comparison, and replacing sparsity with it does not reproduce the gain.
To be precise about what this shows: operational non-equivalence, not statistical independence. Confidence, entropy, norm and sparsity all respond to difficult inputs and are expected to correlate; what the comparison shows is that they cannot be substituted for one another. That fits what each measures, since perplexity summarizes the output distribution after the unembedding whereas our metrics describe the geometry of the hidden state that produces it.
Q4. Broader validation of SG-ICL
SG-ICL replicates on a second family at 70B:
| Model and benchmark | Auto-CoT | SG-ICL | Gain |
|---|---|---|---|
| Qwen2.5-7B, MATH-500 | 75.20% | 76.60% | +1.40 |
| Llama3-70B, MATH-500 | 68.00% | 69.60% | +1.60 |
Auto-CoT here uses semantic-similarity selection and SG-ICL adds sparsity matching, so the gain isolates difficulty matching beyond semantic relevance. The same direction appears at training time:
| Setting | Standard training | Sparsity-guided curriculum |
|---|---|---|
| Qwen2.5-1.5B, GSM8K SFT | 59.74% | 60.65% |
The SFT figure is a single run and we do not claim significance for it; we will report it across seeds in the revision.
We agree on scope: SG-ICL shows the representation-level finding is actionable, not that it replaces existing prompting methods. We will describe it as a cross-model proof of concept and narrow the language accordingly.
Q5. Distinguishing task difficulty from distributional novelty
The RQ2 design already contains the controlled experiment the reviewer asks for. Its three difficulty levels are verified behaviorally by accuracy rather than assigned as labels:
| Difficulty | Actual construction |
|---|---|
| Easy, D_mem | sampled from the training triples (memorization) |
| Medium, D_ID | held-out deducible triples, long supporting rule (3+ steps) |
| Hard, D_OOD | held-out deducible triples, short supporting rule (1 to 2 steps) |
Medium and Hard are both out of distribution, both removed from the training graph before training and matched in format and sequence length; what separates them is answer-set determinacy, since short rules are broad while long rules are selective. That step therefore varies difficulty with distributional status fixed, and it runs against a distance account: Hard uses shorter, compositionally nearer rules yet is the harder and sparser split. On Trans-32-32 at step 2,500:
| Difficulty | Accuracy | Top-5 Energy | Top-10 Energy | Eff. Rank |
|---|---|---|---|---|
| Easy (in-distribution) | 81.00 | 29.60 | 45.67 | 0.463 |
| Medium (OOD-Long) | 63.00 | 29.75 | 45.86 | 0.461 |
| Hard (OOD-Short) | 38.00 | 30.11 | 46.22 | 0.457 |
All three metrics move toward sparser representations as difficulty increases, and the ordering holds at every checkpoint in Table 1.
The reviewer is right that the paper does not make this visible: the construction sits in Appendix A.12, Table 6, while the Conclusion and Appendix A.13 state the result in terms of distributional shift, which claims more than the experiments support. We will bring the construction into Section 4.1 and adopt the reviewer's distinction throughout, separating task difficulty, distributional unfamiliarity, and processing stress for settings such as knowledge conflict and long context that need not be strictly out of distribution.
Again, we would like to thank the reviewer for a great discussion.
Thanks for Authors
Thank you very much for the rebuttal; it clarified my doubts. However, there was a slight misunderstanding regarding my question. What I actually wanted to know is—following the approach in "The Tell-Tale Norm" (ICML 2026 Spotlight)—how the token-wise sparsity evolves during Chain-of-Thought (CoT) generation and which tokens exhibit sparsity, as well as whether this pattern possesses any desirable properties. I hope the authors might find time to address this. In any case, I am raising my score to 5.
Thank you very much for the clarification and for raising your score. We now understand that your question concerns the token-wise evolution of sparsity during Chain-of-Thought generation, including which reasoning tokens exhibit stronger sparsity and whether these patterns have useful properties.
We are currently conducting exactly this experiment by tracking sparsity across token positions throughout the generated reasoning trajectory. We will report the token-level dynamics and analyze how sparsity relates to different stages and types of reasoning tokens.
Thank you again for the constructive suggestion and encouragement.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper shows that increasingly difficult inputs systematically lead to higher sparsity of internal representations in the final layers of LLMs, evidenced across different datasets, model sizes and model families. Through controlled experiments using synthetic data, the authors study how the representational sparsity emerges throughout the training of an LLM and provide a theoretical explanation for this phenomenon. Lastly, they demonstrate that sparsity scores can be leveraged for few-shot example selection, yielding improvements in task performance.
Strengths and weaknesses
Strengths
- The paper studies difficulty across different dimensions (reasoning complexity, answer choice, knowledge conflict and context length) and quantifies representational sparsity using a comprehensive set of metrics such as Top-k energy, Effective Rank and Hoyer
- The paper is well-structured and easy to comprehend, making the content accessible even for people who are less familiar with the background
Weaknesses
- The observed increase in sparsity in the last layers for increasing difficulty seems relatively subtle. Furthermore, the paper does not provide a theoretical explanation for why this phenomenon is most pronounced in the last layers.
- The paper does not disentangle input difficulty from other correlated factors such as input length (for all tasks apart from knowledge conflict it seems like difficulty strongly correlates with length).
- Only the Qwen model family was evaluated on all datasets, and LLaMA only on a subset of tasks, limiting claims of generalizability.
- The controlled experiments successfully replicate the sparsity only for the largest trained model, and the effect size is small.
- The few-shot selection method combines semantic filtering and difficulty matching, but does not isolate their effects.
- Some analyses such as the controlled experiments or the few-shot selection method would benefit from a statistical significance analysis to rule out stochastic artifacts.
Questions
Most importantly:
- How does sparsity change w.r.t. the length of the input while keeping difficulty constant?
- By how much does the semantic filtering alone of few-shot examples improve task performance?
Additionally:
- For the SFT experiment in A.7, how high is the sampling variance? Are the results statistically significant?
- Were the models in Table 1 trained until convergence? Based on Figure 6, it seems like the model converges only after around 4000 steps.
- Do the hidden representations corresponding to earlier tokens in the sequence also show representational sparsity? And how does sparsity change across different model sizes?
Limitations
yes
Final justification
I have raised my rating to Borderline Accept, as the authors partially addressed several of my initial concerns. Nevertheless, a few issues remain unresolved:
- The paper does not sufficiently ablate the contribution of the semantic filtering component of SG-ICL. This omission leaves it unclear whether the reported gains stem from to the semantic filtering step or to the difficulty-matching step.
- The experimental evaluation relies on models from only two families, predominantly the Qwen series. This limited scope raises concerns about the generalizability of the findings across broader model architectures and families.
Formatting concerns
No
3 comments
Rebuttal
Thank you so much for the insightful review! We would like to answer your questions and clarify some misunderstandings. In short:
- With prompt length held exactly fixed, the difficulty effect is undiminished (five metrics, all
p < 1e-12, Cohen'sdup to0.80), so length is not what produces it; - Sparsity-based difficulty matching adds +1.40 and +1.60 on top of semantic retrieval alone, on two model families;
- We agree the Appendix A.7 SFT result is a single run, and we do not claim significance for it;
- The harder-is-sparser ordering holds at steps 4,000 and 5,000, past the point where Figure 6 flattens;
- We measure at the final prompt token because it is the only position whose receptive field covers the whole input, and the effect holds across the 1B to 70B models we evaluate.
We would also like to correct two points in the weaknesses: the effect is not subtle, reaching Cohen's d = 0.86 on the knowledge-conflict comparison and d = 0.80 when prompt length is held exactly fixed, and Llama is in fact evaluated on three of the four difficulty axes, in the appendix rather than the main text.
Q1. Separating input length from task difficulty
The effect survives exact length matching. Knowledge conflict is the setting where the control can be made exact, since conflict and non-conflict prompts are built from the same template: pairs with identical token counts can be isolated and compared directly. We ran that comparison.
Out of 3,000 pairs (20 domains, 150 each, Qwen2.5-7B-Instruct), 187 pairs have identical prompt token counts. On that subset:
| Metric | Non-conflict | Conflict | Difference | Paired t (p) | Cohen's d |
|---|---|---|---|---|---|
| Top-5% Energy | 0.6249 | 0.6865 | +0.0616 | +11.00 (5.4e-22) |
+0.80 |
| Top-10% Energy | 0.7137 | 0.7614 | +0.0476 | +10.99 (5.7e-22) |
+0.80 |
| Effective Rank | 0.0952 | 0.0696 | -0.0256 | -9.22 (6.6e-17) |
-0.67 |
| Hoyer sparsity | 0.3909 | 0.4354 | +0.0445 | +11.00 (5.3e-22) |
+0.80 |
| Norm | 2.8726 | 2.7933 | -0.0793 | -7.93 (2.0e-13) |
-0.58 |
All five metrics move toward greater sparsity under conflict, every comparison is significant at p < 1e-12, and the effect is essentially undiminished relative to the full sample: Top-10% Energy gives d = 0.86 across all 3,000 pairs and d = 0.80 with length held exactly fixed. Relaxing the match to a two-token tolerance gives 916 pairs and the same answer (Top-10% Energy +0.0470, d = 0.80).
Partialling out prompt length across all 3,000 pairs moves the conflict-sparsity correlation only from +0.566 to +0.551.
Length also fails to produce the effect when it is pushed in the opposite direction. Our Easy-Long control gives approximately 150-token easy prompts a Top-10% Energy of 55.89%, against 67.44% for approximately 55-token hard MATH prompts: the longer input is the denser one.
To be precise about what this shows: we do not claim that input length never affects sparsity, only that it is not what produces the difficulty effect, since the effect is undiminished when length is held exactly fixed and almost unchanged when it is partialled out.
Thank you for pushing this. The exact-match subset is a sharper control than any we had run, and we will emphasize it in the paper.
Q2. Isolating semantic filtering from difficulty matching
Sparsity-based difficulty matching adds +1.40 on Qwen2.5-7B and +1.60 on Llama3-70B on top of semantic retrieval alone.
In our implementation, the Auto-CoT baseline is the closest available proxy for the semantic-only component: it retrieves demonstrations from the query's semantically similar cluster, without using representation sparsity or difficulty matching. The comparison therefore isolates the additional contribution of sparsity-based matching:
| Model and benchmark | Fixed few-shot | Semantic-only Auto-CoT | SG-ICL | Gain of sparsity matching over semantic-only |
|---|---|---|---|---|
| Qwen2.5-7B, MATH-500 | 74.00 | 75.20 | 76.60 | +1.40 |
| Llama3-70B, MATH-500 | 66.40 | 68.00 | 69.60 | +1.60 |
Semantic filtering alone improves over fixed demonstrations, while sparsity-based difficulty matching provides an additional gain on both model families. Therefore, SG-ICL's improvement is not solely attributable to semantic retrieval.
We will make this decomposition explicit in the method and experiment sections.
Q3. Sampling variance of the SFT experiment in Appendix A.7
It is a single run, so it carries no variance estimate and we do not claim statistical significance for it. We will run it across seeds and report the mean and standard deviation in the revision; if the gap (59.74% -> 60.65%) does not survive, we will say so and present the experiment as a proof of concept only.
The representational claims do not rest on it, and those are significant across every sparsity definition we use. On the full set of 3,000 knowledge-conflict pairs from Q1:
| Metric | Effect | Cohen's d | Wilcoxon p |
|---|---|---|---|
| Hoyer sparsity | +0.0476 | +0.86 | 1.4e-287 |
| Top-5% Energy | +0.0663 | +0.86 | 4.2e-288 |
| Top-10% Energy | +0.0513 | +0.86 | 8.3e-288 |
| Effective Rank | -0.0274 | -0.71 | 8.8e-242 |
We report the Wilcoxon signed-rank p-values because the corresponding paired t-test statistics (|t| between 39 and 47) give p-values below double-precision underflow.
Q4. Were the models in Table 1 trained to convergence?
Yes. Accuracy has already reached its plateau at the checkpoints Table 1 reports: on Trans-32-32 the Easy split is at 78.00% by step 1,500 and stays between 78% and 83% through step 2,500, and Section 4.3 reports accuracy as stable at roughly 75% out to 5,000 steps. That is why those checkpoints were chosen.
The ordering also holds well past the point the reviewer identifies. Thank you for prompting the check; extending the Figure 6 run past where the curve flattens:
| Step | Difficulty | Accuracy | Top-5 Energy | Top-10 Energy | Eff. Rank |
|---|---|---|---|---|---|
| 4000 | Easy | 76.00 | 28.09 | 44.06 | 0.4796 |
| 4000 | Medium | 42.86 | 28.13 | 44.10 | 0.4794 |
| 4000 | Hard | 33.50 | 28.18 | 44.17 | 0.4786 |
| 5000 | Easy | 74.50 | 27.87 | 43.89 | 0.4814 |
| 5000 | Medium | 46.56 | 27.88 | 43.88 | 0.4812 |
| 5000 | Hard | 33.50 | 27.94 | 43.96 | 0.4806 |
Across all 26 checkpoints of the run, Easy versus Hard holds at 25 of 26 for Top-5% and Top-10% Energy and at 24 of 26 for Effective Rank and the Norm; the strict three-way ordering is noisier, at 15 to 19 of 26, and we will report it at that resolution. Effective Rank is shown to four decimals because the splits separate below the precision Table 1 uses.
What continues to change after 4,000 steps is the level of sparsity, not accuracy, and that drift is the Phase II consolidation of Section 4.3. Table 1 compares difficulty levels within a checkpoint, so it is unaffected by where on the trajectory it is read. We will state the stopping criterion in the caption and report these later checkpoints alongside it.
Q5. Earlier token positions, and model scale
We did not measure earlier token positions. In a causal language model the final prompt token is the only position whose receptive field covers the entire input; an earlier position sees a shorter prefix, so it is not encoding the same problem and its sparsity is not comparable. The final layer is likewise the immediate input to the unembedding, and therefore the most behaviorally relevant readout: earlier layers largely aggregate context, while later layers concentrate decision-relevant information before prediction. This is also why the raw sparsity difference is most pronounced near the output, which the reviewer notes the paper leaves unexplained.
The effect is not confined to the final layer. An SAE analysis at Layer 20 shows the same concentration at the feature level:
| Dataset | Avg. tokens | Avg. Top-1 SAE activation |
|---|---|---|
| GSM8K | 37.0 | 84.07 |
| MMLU-Math | 59.7 | 93.02 |
| MMLU-Pro-Math | 62.0 | 106.12 |
Raw-coordinate sparsification is therefore strongest at the final readout, while feature-level concentration is already visible at an intermediate layer, and we will state that distinction in the paper.
Model scale. The effect is present at every size we test: Qwen2.5 at 1.5B/3B/7B/14B/32B/70B and Llama-3.2-1B/3B and Llama-3.1-70B, a range of 1B to 70B across two families, with the largest checked in Appendix A.6.2 and the smallest in Appendix A.11.
In the toy setting the effect additionally requires sufficient capacity, appearing in Trans-32-32 and not in the smaller configurations. We would gently push back on reading that as a limitation: it is the result Table 1 is designed to produce. Reviewer xqun read it the same way, as "a well-designed control that demonstrates the pattern is learned rather than architecturally imposed."
Two points in the weaknesses we would like to correct
- "The observed increase in sparsity ... seems relatively subtle." Respectfully, we would like to disagree. On the knowledge-conflict pairs, for example, Cohen's
dis 0.86 (0.80with length held exactly fixed), a large effect under the usual convention, on per-example paired comparisons.architecture. - "Only the Qwen model family was evaluated on all datasets." Llama is evaluated on three of the four axes, in the appendix rather than the main text: knowledge conflict (Llama-3.1-70B, Figure 9a), MMLU-Robust (Llama-3.2-1B/3B, Appendix A.10.2), and context length (Llama-3.2-1B, Figure 16). Reasoning complexity is the one axis on Qwen alone, and we will add it in the revision.
We thank the reviewer for these questions, which have improved both the analysis and the way we state its scope.
I thank the authors for addressing all open questions.
Q1: The analysis sufficiently separates input length from task difficulty on one of the evaluated tasks. I would encourage the authors to add those insights to the Appendix.
Q2: While the Auto-COT baseline serves as a reasonable proxy for the semantic-only component of SG-ICL, it still does not fully isolate the effect of difficulty matching from semantic filtering alone. I would appreciate reporting numbers for the semantic-only component of SG-ICL.
Q3: For the revision, please consider both training and sampling variance (when using non-greedy sampling). Additionally, for clarity, please briefly describe the evaluation setup (e.g. the number of few-shot examples used).
Q4: Fully addressed. I recommend mentioning this in the revision for completeness.
Q5: Addressed.
I will raise my rating to "4: Borderline accept" as the authors have addressed some of my main concerns sufficiently.
Thank you so much for the thoughtful follow-up, and we are very glad the discussion has been helpful. We truly appreciate you raising your rating. On the remaining points:
- Q1: Thank you for the suggestion! The exact-length-matched analysis is already complete (the tables in our response above), and we will gladly add these results and the accompanying discussion to the Appendix.
- Q2: This is a fair point, and we agree that the cleanest isolation is an ablation of SG-ICL itself with sparsity matching removed, keeping only its semantic-retrieval component. Unfortunately we could not complete this run within the discussion period, but we will make sure to report this number in the revision.
- Q3: All reported ICL results use two few-shot demonstrations with greedy decoding (temperature 0), so there is no sampling variance at evaluation time; we will state the full evaluation setup explicitly in the experiment section. For the SFT experiment, we will report the mean and standard deviation across training seeds in the revision, as you suggest.
- Q4: The extended-checkpoint results (steps 4,000 and 5,000, and the per-checkpoint counts across all 26 checkpoints) are in the tables above, and we will happily include them in the revision for completeness.
Thank you again for the constructive and detailed engagement throughout the discussion; it has genuinely made the paper stronger. We also gently note that the rating field in the review form still appears to show the previous score, in case the update has not gone through yet.
- 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
This paper investigates how the representational sparsity of LLM hidden states changes with task difficulty. The authors measure sparsity using Top-k Energy, Effective Rank, and Hoyer Sparsity across four difficulty axes (i.e., reasoning complexity, answer choice expansion, knowledge conflict, and context length) and uncover a consistent trend: harder inputs yield sparser representations. They train a toy Transformer on a synthetic knowledge graph to study learning dynamics, revealing a two-phase trajectory of feature selection followed by consolidation. Based on these, they propose Sparsity-Guided Curriculum In-Context Learning (SG-ICL), which selects few-shot demonstrations matched to query difficulty via sparsity, outperforming CoT and Auto-CoT on the MATH-500 benchmark.
Strengths and weaknesses
Strengths:
-
The experimental design is thorough. Four difficulty axes each isolate a distinct source of model stress.
-
The RQ flow is natural, delivering a clear and solid presentation.
-
Insightful findings about the two-phase learning dynamic, connecting representational density to data familiarity in an intuitive way.
Weaknesses:
-
"Difficulty" and "distributional shift" are conflated. RQ2 attributes representational density to data familiarity, not difficulty per se. Yet the main claim is about difficulty. Since the four experimental axes do not control for one factor while varying the other, it is not clear which is the true driver. A targeted experiment disentangling the two would strengthen the paper.
-
Output-level signals such as softmax entropy or perplexity also correlate with difficulty and require no hidden-state access. A comparison against a perplexity-based baseline would help clarify whether sparsity is genuinely more informative or simply a more expensive proxy for the same signal.
-
The mechanistic analysis in RQ2 relies entirely on toy-scale Transformers (up to 1.34B parameters) trained on synthetic logical triples. The gap to real pretraining in data scale, distribution complexity, and model size is large enough that the two-phase dynamic may not hold. Validating on intermediate checkpoints of a real pretraining run would significantly strengthen the claim.
Questions
Are there specific problem types where the sparsity-difficulty trend breaks down, or is it fairly uniform across domains?
Limitations
yes
Final justification
The rebuttal addressed several concerns, but the definition of difficulty remains unclear to me. I maintain my current rating.
Formatting concerns
None
5 comments
Rebuttal
Thank you so much for your careful reading and constructive assessments. We really appreciate your suggestions and would like to clarify some of our points further.
In short, our responses to the three questions are as follows:
- The RQ2 design does separate the two factors; the construction that shows this is in the appendix and we will move it into the main text;
- We have added the suggested perplexity- and confidence-based baselines; SG-ICL's advantage holds against both, so the gain is specific to the representation-based signal;
- We have also extended the analysis to real pre-training checkpoints, where the same two-phase dynamic reproduces across four models spanning 1B to 32B parameters.
Q1 (clarification): RQ2 already separates difficulty from distributional shift
Thank you so much for pointing out the distinction between difficulty and distributional shift used in RQ2 of the paper. In fact, we do control difficulty specifically in the paper, but it was unfortunately deferred to the appendix. In particular, it is specified in Appendix A.12 Table 6. Difficulty there is not a label we assign, but is verified behaviorally: accuracy decreases monotonically across the three levels in every model and checkpoint reported in Table 1.
Specifically, we consider three difficulty levels, reported as the three column groups of Table 1. The ordering is not a distributional-shift ordering, because the last two levels share the same distributional status:
| Difficulty | Actual construction |
|---|---|
| Easy, D_mem | sampled from the training triples (memorization) |
| Medium, D_ID | held-out deducible triples with a long supporting rule (at least 3 steps) |
| Hard, D_OOD | held-out deducible triples with a short supporting rule (1 to 2 steps) |
Easy consists of triples seen during training, so it measures memorization. Medium and Hard are both out of distribution: both were removed from the training graph before training, and both are matched in format and in sequence length. What separates them is the determinacy of the answer set. Short rules are broad, so a query admits many deducible tails; long rules are selective, so the valid tail is close to unique. This runs opposite to a distributional-distance account: Hard is built from shorter rules and is therefore the compositionally nearer of the two splits, yet it is the harder and the sparser one.
The comparison between Medium and Hard therefore varies difficulty while holding distributional status fixed. Reporting all three levels on Trans-32-32:
| Step | Difficulty | Accuracy | L1 Norm | Top-5 Energy | Top-10 Energy | Eff. Rank |
|---|---|---|---|---|---|---|
| 1500 | Easy (in-distribution) | 78.00 | 1608.10 | 30.28 | 46.44 | 0.454 |
| 1500 | Medium (OOD-Long) | 57.00 | 1604.80 | 30.54 | 46.72 | 0.451 |
| 1500 | Hard (OOD-Short) | 37.00 | 1601.68 | 30.84 | 47.04 | 0.448 |
| 2000 | Easy (in-distribution) | 83.00 | 1611.36 | 30.00 | 46.11 | 0.458 |
| 2000 | Medium (OOD-Long) | 63.00 | 1608.21 | 30.23 | 46.39 | 0.455 |
| 2000 | Hard (OOD-Short) | 34.00 | 1605.29 | 30.55 | 46.70 | 0.452 |
| 2500 | Easy (in-distribution) | 81.00 | 1616.11 | 29.60 | 45.67 | 0.463 |
| 2500 | Medium (OOD-Long) | 63.00 | 1613.95 | 29.75 | 45.86 | 0.461 |
| 2500 | Hard (OOD-Short) | 38.00 | 1610.50 | 30.11 | 46.22 | 0.457 |
A representation is sparser when the L1 Norm is lower, the Top-k Energy is higher, and the Effective Rank is lower. All four sparsity metrics therefore move monotonically toward sparser representations as difficulty increases, at every checkpoint. The Medium to Hard step is the controlled one, since those two levels are matched in distributional status, and the ordering holds there as well.
Proposed revision. We will bring this construction into Section 4.1 and clarify the presentation of the three splits throughout, so that the design is visible in the main text rather than the appendix.
We also agree that distributional shift is a distinct axis worth studying in its own right. Our results suggest the two are related but not interchangeable: shift moves sparsity in the same direction, yet difficulty still orders the metrics when distributional status is held fixed. Characterizing the shift axis on its own would require the pretraining distribution to be specified, which we cannot do for these models, so we will present it as an open direction rather than as a claim.
We hope this clarifies the design of RQ2. The question prompted a change we should have made ourselves, and the section will be considerably clearer for it.
Q2 (baseline comparison): perplexity and confidence do not reproduce the gain
This is a great suggestion, and the comparison strengthens our result. Under an identical protocol on MATH-500, SG-ICL reaches 76.60%, ahead of the strongest existing baseline Auto-CoT at 75.20%, while curricula built on output log-probability and perplexity (73.80%) or on reasoning length (75.00%) do not reproduce that gain. The improvement is therefore specific to what hidden-state sparsity measures, rather than a generic benefit of ordering demonstrations by any difficulty proxy.
Under the same MATH-500 evaluation protocol and demonstration budget:
| Method | Selection signal | Accuracy | Difference from Auto-CoT |
|---|---|---|---|
| Zero-shot CoT | None | 73.20% | -2.00 |
| Few-shot CoT | Fixed demonstrations | 74.00% | -1.20 |
| Auto-CoT | Semantic-cluster retrieval | 75.20% | 0.00 |
| Confidence/PPL-ICL | Output log-probability / perplexity | 73.80% | -1.40 |
| Length-ICL | Reasoning length | 75.00% | -0.20 |
| SG-ICL | Hidden-state sparsity | 76.60% | +1.40 |
Our Confidence-ICL baseline ranks candidate demonstrations by their average token-level output log-probability. Since sequence-level perplexity is PPL = exp(- average token log-probability), ranking by average log-probability is equivalent, up to reversing the order, to ranking by perplexity, so this baseline is also a perplexity curriculum. We will rename it Confidence/PPL-ICL to make that explicit.
The reviewer asks whether sparsity is genuinely more informative than output-level signals, and we think it is, with one qualification worth stating upfront. The signals do correlate: perplexity, entropy and sparsity all respond to difficult inputs, and we make no claim of statistical independence. What the curriculum result adds is that they are not interchangeable in practice, since replacing sparsity with perplexity removes the gain entirely and places the curriculum below even fixed few-shot demonstrations. This fits what each quantity measures: perplexity summarizes the output distribution after the unembedding projection, while our metrics describe the geometry of the hidden state that produces it. Both are read from the same forward pass, so the difference between them is one of access rather than cost.
Finally, we would like to thank the reviewer for the suggestion to compare against other signals. The question generalizes well beyond perplexity: attention entropy, layer-wise sparsity, and SAE feature counts may all bear part of the same effect, and each deserves the same test. We believe our main contribution is to open that comparison rather than to settle it, by establishing that the representation side carries information the output side does not. Hidden-state sparsity may not be the only or the best signal of its kind, and we hope this work encourages others to look for better ones.
Q3 (real-pretraining evidence): the two-phase dynamic replicates on real pre-training checkpoints
We repeated our analysis on the real pre-training checkpoints from four OLMo-2 base models, from 1B to 32B parameters. Here for the sake of brevity we present the normalized sparsity across the released checkpoints of each run. All four runs trace the same U-shape as the toy models. Other measures confirm the same findings and we will include them in the camera ready version of the paper.
| Model | Initial | Trough | Trough at step | Trough at % of run | Final | Rise from trough |
|---|---|---|---|---|---|---|
| OLMo-2-1B | 0.7980 | 0.6088 | 70,000 | 4% | 1.3563 | +123% |
| OLMo-2-7B | 0.8953 | 0.4323 | 86,000 | 9% | 0.8473 | +96% |
| OLMo-2-13B | 0.7978 | 0.2117 | 97,000 | 16% | 0.6117 | +189% |
| OLMo-2-32B | 0.8017 | 0.2500 | 100,000 | 14% | 0.6509 | +160% |
The norm falls steeply early in training, which is the feature-selection phase, reaches a minimum, and then rises for the remainder of the run, which is consolidation. Every rise is monotone across the checkpoints that follow the trough and far exceeds the measurement noise (Welch t-test on 1,000 held-out sequences, t between 116 and 146). The trough also sits in a narrow band of absolute training steps, between 70K and 100K in all four runs, even though the runs themselves range from 596K to 1.9M steps.
Again, we would like to thank the reviewer for such constructive feedback. Validating on a real pretraining run was the right test to ask for, and it moves the two-phase claim from synthetic models to a real pretraining family spanning 1B to 32B parameters.
Thank you for the detailed rebuttal and additional experiments. The new Confidence/PPL baseline directly addresses my second concern, and the analysis of real OLMo-2 pre-training checkpoints substantially addresses my third concern by showing that the two-phase trajectory extends beyond the synthetic setting.
The clarification regarding my first concern is helpful, although I still view it as only partially addressed, since sharing the same OOD status does not necessarily mean that the degree or type of distributional shift is fully controlled. In addition, my question about whether the sparsity–difficulty trend breaks down for particular domains or problem types remains unanswered.
Nevertheless, the rebuttal has substantially strengthened the paper and alleviated my major concerns. I will therefore maintain my positive rating. I encourage the authors to include the new analyses and clarifications in the revised paper.
Thank you so much for acknowledging our response, and we are very pleased that our discussion has alleviated the major concerns. Certainly! We will include all the new analyses and discussions in the revised paper.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
We sincerely thank the Area Chair for the careful synthesis, and we are glad that the AC and the reviewers find the findings interesting and relevant. No review disputes the observation itself, and the reviewers find that its discovery will benefit the community. The remaining questions are about positioning, statistical strength, and generalization, and we have addressed each with new experiments during the discussion period.
1. Positioning in the literature, with empirical comparison
The three reviewers raise this from three distinct angles, and each now has a direct answer.
Across all three angles the conclusion is the same: sparsity correlates with existing uncertainty signals but cannot be substituted for them. The revision will embed this positioning in the UQ, OOD detection, and representation learning literature, presenting sparsity as a complementary representation statistic.
2. Magnitude and statistical significance
We thank the AC and the reviewers for insisting on statistical rigor, and our argument is now backed by statistical significance. We conducted the suggested tests with effect sizes, and the phenomenon is statistically strong:
3. Generalization to a third model family
We thank the AC for the extended suggestion of extending the experiments to further families. OLMo-2 is that third family. We tested the axes on OLMo-2-7B-Instruct (headline statistics on Top-5% Energy; the other metrics agree in direction):
Knowledge conflict comes out stronger on OLMo-2 than on Qwen (d = +1.33 against +0.86). We did not run the context-length axis itself, since OLMo-2's context window (4,096 tokens) is shorter than the shortest LongReason setting (8K). The last row is instead a length control within the window: length alone pushes toward denser, so the effects above are not length artifacts (61kD Q1). Due to the time limit of the rebuttal period, we only present results on the 7B model, and we will extend the results to more model sizes in the camera-ready version.
We thank the AC and the reviewers again. The discussion has made the comparisons more direct, the statistics sharper, and the scope statements more precise, and all of the above will be incorporated in the revision.