arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.05771cs.CLcs.AI
收藏

fMRI证据支持语言模型中的两阶段抽象过程

Evidence from fMRI Supports a Two-Phase Abstraction Process in Language Models

Universitat Pompeu Fabra Barcelona(巴塞罗那庞培乌法布拉大学);Columbia University(哥伦比亚大学)

Emily Cheng, Richard J. Antonello

AI总结:

研究通过fMRI数据表明,语言模型中存在两阶段抽象过程,中间层在预测自然语言刺激脑响应方面表现更优,且抽象过程随训练进行自然形成,与表示的内在维度性有关。

摘要:

研究表明,大型语言模型的中间隐藏状态能预测自然语言刺激的脑响应。然而,关于使这种高预测性能得以实现的表示特性仍知之甚少。为何是中间层而非输出层在执行这一独特且高度泛化任务时表现最佳?本文通过fMRI语言编码模型的证据,支持语言模型中存在两阶段抽象过程。我们使用流形学习方法表明,这种抽象过程在训练语言模型过程中自然产生,并且抽象过程的第一阶段“组合”在训练继续时被压缩到更少的层中。最后,我们展示了逐层编码性能与LLM表示的内在维度性之间的强相关性。我们提供初步证据表明,这种相关性主要源于LLM的内在组合性,而非其下一个词预测属性。

英文摘要:

Research has repeatedly demonstrated that intermediate hidden states extracted from large language models are able to predict measured brain response to natural language stimuli. Yet, very little is known about the representation properties that enable this high prediction performance. Why is it the intermediate layers, and not the output layers, that are most capable for this unique and highly general transfer task? In this work, we show that evidence from language encoding models in fMRI supports the existence of a two-phase abstraction process within LLMs. We use manifold learning methods to show that this abstraction process naturally arises over the course of training a language model and that the first "composition" phase of this abstraction process is compressed into fewer layers as training continues. Finally, we demonstrate a strong correspondence between layerwise encoding performance and the intrinsic dimensionality of representations from LLMs. We give initial evidence that this correspondence primarily derives from the inherent compositionality of LLMs and not their next-word prediction properties.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑