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

大型语言模型中的数字表示:与人类感知的计算平行

Number Representations in LLMs: A Computational Parallel to Human Perception

Mohamed bin Zayed University of Artificial Intelligence (MBZUAI)(穆罕默德·本·扎耶德人工智能大学(MBZUAI));Tohoku University(东北大学);RIKEN(理化学研究所)

H. V. AlquBoj, Hilal AlQuabeh, Velibor Bojkovic, Tatsuya Hiraoka, Ahmed Oumar El-Shangiti, Munachiso Nwadike, Kentaro Inui

AI总结:

本研究受人类对数数字感知启发,通过PCA和PLS降维及几何回归分析LLM内部数字编码,发现其表示呈亚线性间距,表明LLM以压缩非均匀方式编码数字。

摘要:

人类被认为在对数心理数字线上感知数字,其中较小的值以比较大的值更高的分辨率表示。这种认知偏差,得到神经科学和行为研究的支持,表明数字量级以亚线性方式处理,而非在统一的线性尺度上。受此假设启发,我们研究大型语言模型(LLMs)是否在其内部数字表示中表现出类似的对数结构。通过分析数字值如何在LLMs的不同层中编码,我们应用降维技术如PCA和PLS,随后进行几何回归,以揭示学习嵌入中的潜在结构。我们的发现表明,模型的数字表示表现出亚线性间距,值之间的距离与对数尺度一致。这表明,LLMs与人类相似,可能以压缩的非均匀方式编码数字。

英文摘要:

Humans are believed to perceive numbers on a logarithmic mental number line, where smaller values are represented with greater resolution than larger ones. This cognitive bias, supported by neuroscience and behavioral studies, suggests that numerical magnitudes are processed in a sublinear fashion rather than on a uniform linear scale. Inspired by this hypothesis, we investigate whether large language models (LLMs) exhibit a similar logarithmic-like structure in their internal numerical representations. By analyzing how numerical values are encoded across different layers of LLMs, we apply dimensionality reduction techniques such as PCA and PLS followed by geometric regression to uncover latent structures in the learned embeddings. Our findings reveal that the model's numerical representations exhibit sublinear spacing, with distances between values aligning with a logarithmic scale. This suggests that LLMs, much like humans, may encode numbers in a compressed, non-uniform manner.

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

↑