语言模型学习通用数字表示及其原因
Language Models Learn Universal Representations of Numbers and Here's Why You Should Care
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分析而来,可能存在错误,请以论文正文为准。