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

通过符号数学应用题研究大型语言模型的推理能力

Reasoning in Large Language Models Through Symbolic Math Word Problems

University of Pennsylvania(宾夕法尼亚大学);Aragon High School(阿拉贡高中);Princeton University(普林斯顿大学);Google Research(谷歌研究院)

Vedant Gaur, Nikunj Saunshi

AI总结:

本文通过创建SVAMP数据集的符号版本SVAMP_Sym,研究LLMs在数学应用题中的推理能力,提出自我提示方法使符号推理与数值答案对齐,提升推理可解释性并实现集成效果。

摘要:

大型语言模型(LLMs)通过在极少或无标注数据下解决下游任务,彻底改变了自然语言处理(NLP)。尽管其具备多种能力,但关于其推理能力的重大问题仍不甚明了。本文通过研究数值问题的符号版本,探讨了数学应用题(MWPs)中的推理,因为符号表达式是数值答案的“简洁解释”。我们创建并使用了SVAMP数据集的符号版本,发现GPT-3的davinci-002模型在符号MWPs上也具有良好的零样本准确率。为了评估模型推理的忠实度,我们超越了准确率指标,额外评估了最终答案与输出推理之间的对齐度,它们在MWPs中分别对应数值和符号答案。我们探索了一种自我提示方法,鼓励符号推理与数值答案对齐,从而使LLM能够提供简洁且可验证的推理,增强其可解释性。令人惊讶的是,自我提示还提高了符号准确率,使其高于数值和符号准确率,从而提供了集成效果。SVAMP_Sym数据集将发布以供未来符号数学问题研究使用。

英文摘要:

Large language models (LLMs) have revolutionized NLP by solving downstream tasks with little to no labeled data. Despite their versatile abilities, the larger question of their ability to reason remains ill-understood. This paper addresses reasoning in math word problems (MWPs) by studying symbolic versions of the numeric problems, since a symbolic expression is a "concise explanation" of the numeric answer. We create and use a symbolic version of the SVAMP dataset and find that GPT-3's davinci-002 model also has good zero-shot accuracy on symbolic MWPs. To evaluate the faithfulness of the model's reasoning, we go beyond accuracy and additionally evaluate the alignment between the final answer and the outputted reasoning, which correspond to numeric and symbolic answers respectively for MWPs. We explore a self-prompting approach to encourage the symbolic reasoning to align with the numeric answer, thus equipping the LLM with the ability to provide a concise and verifiable reasoning and making it more interpretable. Surprisingly, self-prompting also improves the symbolic accuracy to be higher than both the numeric and symbolic accuracies, thus providing an ensembling effect. The SVAMP_Sym dataset will be released for future research on symbolic math problems.

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

↑