arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.26285cs.CLcs.AIcs.LGcs.NE
收藏

语言模型学习通用数字表示及其原因

Language Models Learn Universal Representations of Numbers and Here's Why You Should Care

R&D Centre for Large Language Models, National Institute of Informatics, Japan(日本信息处理国家研究所大型语言模型研发中心);University of Helsinki(赫尔辛基大学);IT University of Copenhagen(哥本哈根IT大学);Kempelen Instutite of Information Technology(凯普莱恩信息科技研究所);IECL-ATILF, Université de Lorraine - ICANS Strasbourg(洛林大学IECL-ATILF - 斯特拉斯堡ICANS);MaiNLP, Center for Information and Language Processing, LMU Munich(慕尼黑技术大学MaiNLP,信息与语言处理中心);Munich Center for Machine Learning (MCML)(慕尼黑机器学习中心(MCML));University College London(伦敦大学学院)

Michal Štefánik, Timothee Mickus, Marek Kadlčík, Bertram Højer, Michal Spiegel, Raúl Vázquez, Aman Sinha, Josef Kuchař, Philipp Mondorf, Pontus Stenetorp

AI总结:

研究揭示大语言模型在数字表示上的系统性与通用性,指出其对评估模型编码能力及减少算术错误的重要性。

摘要:

先前研究表明,大型语言模型(LLMs)往往收敛到准确的数字输入嵌入,基于正弦表示。本文量化显示,这些表示实际上非常系统,几乎完美通用:不同LLM家族发展出等价的正弦结构,数字表示在大量实验设置中可互换。我们证明,正确考虑这一特征对评估LLM编码数字及其他顺序信息的准确性至关重要,且机械增强正弦性可减少LLM的算术错误。

英文摘要:

Prior work has shown that large language models (LLMs) often converge to accurate input embedding for numbers, based on sinusoidal representations. In this work, we quantify that these representations are in fact strikingly systematic, to the point of being almost perfectly universal: different LLM families develop equivalent sinusoidal structures, and number representations are broadly interchangeable in a large swathe of experimental setups. We show that properly factoring in this characteristic is crucial when it comes to assessing how accurately LLMs encode numeric and other ordinal information, and that mechanistically enhancing this sinusoidality can also lead to reductions of LLMs' arithmetic errors.

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

↑