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

使用大型语言模型学习数学规则

Learning Mathematical Rules with Large Language Models

J.P. Morgan AI Research(摩根大通人工智能研究院)

Antoine Gorceix, Bastien Le Chenadec, Ahmad Rammal, Nelson Vadori, Manuela Veloso

AI总结:

该研究提出构建含数学规则的合成数据并微调大型语言模型,实证表明模型可在一定程度上学习、泛化分配律和方程化简等规则,并迁移到应用题中。

摘要:

本文研究大型语言模型学习特定数学规则(如分配律或方程化简)的能力。我们对其泛化这些规则以及在应用题情境中复用规则的能力进行了实证分析。为此,我们提出了一套严谨的方法,用于构建纳入此类规则的合成数据,并基于这些数据对大型语言模型进行微调。实验表明,我们的模型能够在一定程度上学习并泛化这些规则,并能在应用题情境中恰当地复用它们。

英文摘要:

In this paper, we study the ability of large language models to learn specific mathematical rules such as distributivity or simplifying equations. We present an empirical analysis of their ability to generalize these rules, as well as to reuse them in the context of word problems. For this purpose, we provide a rigorous methodology to build synthetic data incorporating such rules, and perform fine-tuning of large language models on such data. Our experiments show that our model can learn and generalize these rules to some extent, as well as suitably reuse them in the context of word problems.

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

↑