arXiv cs.AI· Jiajun Bao, Zihao Qi, Toni J. B. Liu, Gurbir Arora, Rapha\"el Sarfati, Nicolas Boull\'e, Christopher J. Earls·· 10 小时前AI 评分36
从图信号处理视角看 LLM In-Context Learning 中的数值序列表示
A Graph Signal Processing Perspective on Numerical Sequence Representations in LLM In-Context Learning
AI 导读
一篇 arXiv 论文用图信号处理方法研究 LLM 在数值序列 In-Context Learning 中的内部表示组织方式:将注意力视为 token 上的加权图,隐藏状态作为图上信号。诊断结果显示,随上下文长度增加,表示按输入动态复杂度明显分化——简单输入产生全局连接更强、频谱更平滑的 token 图,复杂输入则图更局部、信号高频能量更高,且这些特征在不同模型家族间定性一致。
正文 · 原文
Abstract: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.
| Subjects: | Machine Learning (cs.LG); Artificial Intelligence (cs.AI); Signal Processing (eess.SP) |
| Cite as: | arXiv:2608.03015 [cs.LG] |
| (or arXiv:2608.03015v2 [cs.LG] for this version) | |
| https://doi.org/10.48550/arXiv.2608.03015 arXiv-issued DOI via DataCite |
Submission history
From: Jiajun Bao [view email]
[v1]
Tue, 4 Aug 2026 01:54:04 UTC (10,040 KB)
[v2]
Wed, 25 Nov 2026 05:40:39 UTC (10,338 KB)
来源:arXiv cs.AI · arxiv.org