跳到正文
arXiv (Robotics + Hardware + Signal)· Jiajun Bao, Zihao Qi, Toni J. B. Liu, Gurbir Arora, Rapha\"el Sarfati, Nicolas Boull\'e, Christopher J. Earls·· 4 小时前AI 评分22

从图信号处理视角看LLM上下文学习中的数值序列表示

A Graph Signal Processing Perspective on Numerical Sequence Representations in LLM In-Context Learning

AI 导读

研究采用图信号处理视角分析LLM数值上下文学习的内部表示:注意力在token上诱导加权图,token隐藏状态构成节点信号。图谱诊断与token图可视化显示,随上下文长度增加,表示按输入动力学复杂度分化更明显——简单输入产生全局连通性更强、谱更集中的平滑信号,复杂输入则图更局部化、高频能量更高。这些内部特征在模型家族间定性保持一致。

正文 · 原文

arXiv:2608.03015v2 Announce Type: replace-cross 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.

来源:arXiv (Robotics + Hardware + Signal) · arxiv.org