arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.11932cs.CL
收藏

论大型语言模型中语言与算术的表征分离

On Representational Dissociation of Language and Arithmetic in Large Language Models

Nagoya University(名古屋大学);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学)

Riku Kisako, Tatsuki Kuribayashi, Ryohei Sasano

AI总结:

本文以简单算术为切入点,通过线性分类器与聚类可分性检验,发现 LLM 各层中算术与一般语言输入的内部表征完全分离,呼应人脑神经科学观察。

摘要:

人类语言与(非语言)思维能力之间的关联长期以来一直存在争议,近来,脑活动模式的神经科学证据也被纳入考量。这一科学背景自然引出一个跨学科问题——大型语言模型(LLM)中的这种语言—思维分离情况如何?作为初步探索,本文聚焦于简单算术技能(例如 $1+2=$?)作为一种思维能力,并分析其在 LLM 表征空间中的编码几何结构。我们使用线性分类器和聚类可分性检验进行的实验表明,在所有层中,简单算术等式和一般语言输入都被编码在 LLM 内部表征空间中完全分离的区域;更受控的刺激(例如拼写出来的等式)也支持这一点。这些结果初步表明,算术推理被映射到与一般语言输入不同的区域,这与人脑激活的神经科学观察一致;同时,我们也指出其在认知上略显不合理的几何特性。

英文摘要:

The association between language and (non-linguistic) thinking ability in humans has long been debated, and recently, neuroscientific evidence of brain activity patterns has been considered. Such a scientific context naturally raises an interdisciplinary question -- what about such a language-thought dissociation in large language models (LLMs)? In this paper, as an initial foray, we explore this question by focusing on simple arithmetic skills (e.g., $1+2=$ ?) as a thinking ability and analyzing the geometry of their encoding in LLMs' representation space. Our experiments with linear classifiers and cluster separability tests demonstrate that simple arithmetic equations and general language input are encoded in completely separated regions in LLMs' internal representation space across all the layers, which is also supported with more controlled stimuli (e.g., spelled-out equations). These tentatively suggest that arithmetic reasoning is mapped into a distinct region from general language input, which is in line with the neuroscientific observations of human brain activations, while we also point out their somewhat cognitively implausible geometric properties.

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

↑