计算机科学 > 机器学习
[提交于 2026年8月4日 (v1),最后修订于 2026年11月25日 (此版本, v2)]
标题:A Graph Signal Processing Perspective on Numerical Sequence Representations in LLM In-Context Learning
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Pretrained large language models (LLMs) have demonstrated in-context learning (ICL) capabilities for numerical inference over sequences serialized as text. Prior work has identified and characterized this form of numerical inference primarily through output-level evaluations such as prediction error. However, how numerical information is organized within LLM representations remains much less understood. To study this internal organization, we adopt a graph signal processing perspective in which attention induces a weighted graph over tokens, while token hidden states define signals on its nodes. Quantitative graph-spectral diagnostics and qualitative token-graph visualizations reveal that representations become more clearly differentiated by input dynamical complexity as context length increases. Simpler inputs produce attention-induced token graphs with stronger global connectivity and smoother, spectrally concentrated hidden-state signals, whereas more complex inputs produce more localized graphs and hidden-state signals with broader spectral support and greater high-frequency energy. These diagnostics and visualizations offer an interpretable view of the internal structure associated with numerical ICL, beyond what output-level prediction error alone reveals. Together, these findings point to systematic, context-dependent internal signatures associated with numerical ICL that are qualitatively conserved across model families.
提交历史
来自:Jiajun Bao[v1] 2026年8月4日 星期二 01:54:04 UTC (10,039 KB)
[v2] 2026年11月25日 星期三 05:40:39 UTC (10,337 KB)