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

超越模式匹配的学习?评估大语言模型中的数学理解

Learning Beyond Pattern Matching? Assaying Mathematical Understanding in LLMs

University of Cambridge(剑桥大学);Max Planck Institute for Intelligent Systems(马克斯·普朗克智能系统研究所);Mila, University of Montreal(蒙特利尔大学Mila研究所);Google DeepMind(谷歌DeepMind)

Siyuan Guo, Aniket Didolkar, Nan Rosemary Ke, Anirudh Goyal, Ferenc Huszár, Bernhard Schölkopf

AI总结:

本文提出NTKEval方法,通过分析大语言模型在不同数学数据训练下的概率分布变化,评估其数学领域理解,发现上下文学习体现领域理解而指令微调缺乏。

摘要:

我们开始看到语言模型辅助科学发现的进展。受将大语言模型用作通用科学助手的启发,本文通过评估大语言模型对解决数学问题所需的不同数学技能的理解来评估其领域知识。具体而言,我们不仅关注预训练模型已知的内容,还关注它如何通过利用数学中复杂的知识结构,在上下文学习或指令微调期间从信息中学习。受神经正切核(NTK)的启发,我们提出了NTKEval,通过在不同类型的数学数据上训练来评估大语言模型概率分布的变化。我们的系统分析发现了上下文学习期间领域理解的证据。相比之下,某些指令微调导致无论在不同数据上训练,性能变化都相似,这表明不同技能之间缺乏领域理解。

英文摘要:

We are beginning to see progress in language model assisted scientific discovery. Motivated by the use of LLMs as a general scientific assistant, this paper assesses the domain knowledge of LLMs through its understanding of different mathematical skills required to solve problems. In particular, we look at not just what the pre-trained model already knows, but how it learned to learn from information during in-context learning or instruction-tuning through exploiting the complex knowledge structure within mathematics. Motivated by the Neural Tangent Kernel (NTK), we propose \textit{NTKEval} to assess changes in LLM's probability distribution via training on different kinds of math data. Our systematic analysis finds evidence of domain understanding during in-context learning. By contrast, certain instruction-tuning leads to similar performance changes irrespective of training on different data, suggesting a lack of domain understanding across different skills.

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

↑