arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2310.01991cs.CLcs.AIcs.LG
收藏

填空:探索并增强 LLM 在数学应用题逆向推理方面的能力

Fill in the Blank: Exploring and Enhancing LLM Capabilities for Backward Reasoning in Math Word Problems

Indian Institute of Technology Delhi(印度德里理工学院);IBM Research AI(IBM研究院人工智能部门)

Aniruddha Deb, Neeva Oza, Sarthak Singla, Dinesh Khandelwal, Dinesh Garg, Parag Singla

AI总结:

本文研究 LLM 在数学应用题中的逆向推理短板,改造三个基准并提出 Rephrase、PAL-Tools、Check your Work 及贝叶斯集成方法,显著提升缺失信息补全准确率。

摘要:

尽管正向推理(即给定问题求答案)近年来已在文献中得到广泛研究,但逆向推理仍相对未被充分探索。我们考察了 LLM 在数学应用题(MWPs)上的逆向推理能力:给定一道数学题及其答案,同时题目中省略了某些细节,LLM 能否有效地找回缺失信息?为评估该任务,我们改造了三个基准数据集:GSM8k、SVAMP 和 MultiArith;我们发现,在多个 SOTA LLM(GPT4、GPT3.5、PaLM-2 和 LLaMa)上,模型在该任务上的准确率相比正向推理出现显著下降。受逆向推理可被视为正向推理的“逆过程”这一事实启发,我们提出了三种不同正向推理策略的变体以提升性能。Rephrase 将给定问题重构为一个正向推理问题;PAL-Tools 结合 Program-Aided LLMs 的思想,生成一组可由外部求解器求解的方程;Check your Work 则利用正向方向上高准确率的自然验证器的可用性,将求解与验证步骤交替进行。最后,认识到我们的每种基础方法都能正确求解一组不同的问题,我们提出了一种新颖的贝叶斯公式,用于在这些基础方法之上构建集成,以进一步提高准确率。大量实验表明,使用我们的策略后,LLM 在逆向推理任务上的性能持续提升;与我们所改造的 SOTA 正向推理策略相比,基于集成的方法带来了显著的性能增益。

英文摘要:

While forward reasoning (i.e., find the answer given the question) has been explored extensively in recent literature, backward reasoning is relatively unexplored. We examine the backward reasoning capabilities of LLMs on Math Word Problems (MWPs): given a mathematical question and its answer, with some details omitted from the question, can LLMs effectively retrieve the missing information? On modifying three benchmark datasets for this task, to evaluate this task: GSM8k, SVAMP, and MultiArith, we find a significant drop in the accuracy of models on this task compared to forward reasoning across SOTA LLMs (GPT4, GPT3.5, PaLM-2, and LLaMa). Motivated by the fact backward reasoning can be seen as the ''inverse'' of forward reasoning, we propose variations of three different forward reasoning strategies to improve performance. Rephrase reformulates the given problem into a forward reasoning problem, PAL-Tools combines the idea of Program-Aided LLMs to produce a set of equations that can be solved by an external solver, and Check your Work exploits the availability of natural verifier of high accuracy in the forward direction, interleaving solving and verification steps. Finally, realizing that each of our base methods correctly solves a different set of problems, we propose a novel Bayesian formulation for creating an ensemble over the base methods to further boost the accuracy. Extensive experimentation demonstrates successive improvement in the performance of LLMs on the backward reasoning task, using our strategies, with our ensemble-based method resulting in significant performance gains compared to the SOTA forward reasoning strategies we adapt.

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

↑