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

学习用关系抽象进行推理

Learning to Reason With Relational Abstractions

Stanford University(斯坦福大学);NYU(纽约大学)

Andrew J. Nam, Mengye Ren, Chelsea Finn, James L. McClelland

摘要:

大语言模型最近在数学推理方面取得了可喜的进展,当与人类生成的序列进行微调时,通过一系列解决方案步骤。然而,解决方案序列没有正式结构化,并且由此产生的模型生成的序列可能无法反映我们可能期望专家人类产生的那种系统推理。本文研究了如何利用关系抽象的思想在语言模型中建立更强的推理能力。我们引入了新类型的序列,更明确地提供了一个抽象的表征过渡到目标状态的中间解决方案的步骤。我们发现,提供此类序列作为提示的模型可以以更高的准确性解决任务,并且经过训练以产生此类序列的模型比使用先前使用的人类生成的序列和其他基线训练的模型更好地解决问题。因此,我们的工作采取了几个步骤,阐明和改善语言模型如何执行需要多步数学推理的任务。

英文摘要:

Large language models have recently shown promising progress in mathematical reasoning when fine-tuned with human-generated sequences walking through a sequence of solution steps. However, the solution sequences are not formally structured and the resulting model-generated sequences may not reflect the kind of systematic reasoning we might expect an expert human to produce. In this paper, we study how to build stronger reasoning capability in language models using the idea of relational abstractions. We introduce new types of sequences that more explicitly provide an abstract characterization of the transitions through intermediate solution steps to the goal state. We find that models that are supplied with such sequences as prompts can solve tasks with a significantly higher accuracy, and models that are trained to produce such sequences solve problems better than those that are trained with previously used human-generated sequences and other baselines. Our work thus takes several steps toward elucidating and improving how language models perform on tasks requiring multi-step mathematical reasoning.

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

↑