Farther the Shift, Sparser the Representation: Analyzing OOD Mechanisms in LLMs
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 20:36 UTC · ffca3defc23d ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,31 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "cXF3Nd4vQs"- }- ],- "title": "Farther the Shift, Sparser the Representation: Analyzing OOD Mechanisms in LLMs",- "authors": [- "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}.",- "year": 2026,- "venue": "NeurIPS 2026",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "428bbe04-63a4-458c-ad48-f7a6ff0b738d"}
paper.json added
+++ b/paper.json@@ -0,0 +1,21 @@+{+ "title": "Farther the Shift, Sparser the Representation: Analyzing OOD Mechanisms in LLMs",+ "authors": [+ "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}.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}