BEATS:利用反向验证与自适应消歧的高效树搜索优化大语言模型数学能力
BEATS: Optimizing LLM Mathematical Capabilities with BackVerify and Adaptive Disambiguate based Efficient Tree Search
AI总结:
BEATS通过迭代提示、反向验证和剪枝树搜索提升大语言模型数学推理能力,在MATH基准上使Qwen2-7b-Instruct得分从36.94提升至61.52,超过GPT4。
摘要:
大语言模型(LLMs)在广泛的任务和领域中展现出卓越的性能。然而,由于数学具有严谨性和逻辑性,它们在解决数学问题时仍然面临困难。以往的研究采用了监督微调(SFT)、提示工程和基于搜索的方法来提高大语言模型的数学问题求解能力。尽管做出了这些努力,其性能仍然不够理想,并且需要大量的计算资源。为了解决这一问题,我们提出了一种新方法 BEATS,以增强数学问题求解能力。我们的方法利用新设计的提示,引导模型迭代地重写、前进一步,并基于之前的步骤生成答案。此外,我们引入了一种新的反向验证技术,利用大语言模型来验证所生成答案的正确性。我们还采用了剪枝树搜索,在实现强劲性能的同时优化搜索时间。值得注意的是,我们的方法将 Qwen2-7b-Instruct 在 MATH 基准上的得分从 36.94 提高到 61.52,超过了 GPT4 的 42.5。
英文摘要:
Large Language Models (LLMs) have exhibited exceptional performance across a broad range of tasks and domains. However, they still encounter difficulties in solving mathematical problems due to the rigorous and logical nature of mathematics. Previous studies have employed techniques such as supervised fine-tuning (SFT), prompt engineering, and search-based methods to improve the mathematical problem-solving abilities of LLMs. Despite these efforts, their performance remains suboptimal and demands substantial computational resources. To address this issue, we propose a novel approach, BEATS, to enhance mathematical problem-solving abilities. Our method leverages newly designed prompts that guide the model to iteratively rewrite, advance by one step, and generate answers based on previous steps. Additionally, we introduce a new back-verification technique that uses LLMs to validate the correctness of the generated answers. Furthermore, we employ a pruning tree search to optimize search time while achieving strong performance. Notably, our method improves Qwen2-7b-Instruct's score from 36.94 to 61.52, outperforming GPT4's 42.5 on the MATH benchmark.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。