跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 计算与语言

arXiv:2603.03415 (cs)
[提交于 2026年3月3日 (v1),最后修订于 2026年11月4日 (此版本, v4)]

标题:Farther the Shift, Sparser the Representation: Analyzing OOD Mechanisms in LLMs

作者:Mingyu Jin, Yutong Yin, Jingcheng Niu, Qingcheng Zeng, Wujiang Xu, Mengnan Du, Wei Cheng, Zhaoran Wang, Tianlong Chen, Dimitris N. Metaxas
查看论文《Farther the Shift, Sparser the Representation: Analyzing OOD Mechanisms in LLMs》的 PDF
查看中文 PDF 查看原文 PDF EasyResearch 阅读
摘要: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, \textbf{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. The source code is available at the URL: https://github.com/MingyuJ666/sparsityLLM.
主题: 计算与语言 (cs.CL); 人工智能 (cs.AI)
引用方式: arXiv:2603.03415 [cs.CL]
  (或者 arXiv:2603.03415v4 [cs.CL] 对于此版本)
  https://doi.org/10.48550/arXiv.2603.03415

提交历史

来自:Yutong Yin
[v1] 2026年3月3日 星期二 18:48:15 UTC (427 KB)
[v2] 2026年3月19日 星期四 17:36:27 UTC (428 KB)
[v3] 2026年9月26日 星期六 05:28:48 UTC (1,265 KB)
[v4] 2026年11月4日 星期三 05:06:30 UTC (1,257 KB)
全文链接:

访问论文:

  • 查看中文 PDF
  • 查看原文 PDF
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.AI
< 上一篇   |   下一篇 >
最新 | 近期 | 2026-11
切换浏览方式为:
cs
cs.CL

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站