arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2410.01428cs.CL
收藏

我们能否进一步激发 LLM 的推理能力?用于解决挑战性任务的带有检索增强的批评者引导规划

Can We Further Elicit Reasoning in LLMs? Critic-Guided Planning with Retrieval-Augmentation for Solving Challenging Tasks

DAMO Academy, Alibaba Group(达摩院(阿里巴巴集团));Nanyang Technological University(南洋理工大学);Salesforce Research(Salesforce研究院)

Xingxuan Li, Weiwen Xu, Ruochen Zhao, Fangkai Jiao, Shafiq Joty, Lidong Bing

AI总结:

本文提出 CR-Planner 框架,用微调批评者模型结合蒙特卡洛树搜索引导子目标规划、推理与检索,在竞赛编程、数学推理等困难任务上显著优于基线。

摘要:

最先进的大型语言模型(LLM)展现出令人印象深刻的问题解决能力,但在复杂推理和事实正确性方面可能存在困难。现有方法利用思维链和检索增强生成(RAG)的优势,将复杂问题分解为更简单的步骤,并应用检索来提高事实正确性。这些方法在直接的推理任务上效果良好,但由于频繁的推理错误和不相关的知识检索,在竞赛编程和数学等挑战性任务上往往表现不佳。为了解决这一问题,我们提出了带有检索增强的批评者引导规划 CR-Planner,这是一种新颖框架,利用微调的批评者模型通过规划来引导推理和检索过程。CR-Planner 通过迭代选择和执行子目标来解决问题。首先,在名为子目标批评者的批评者模型给出的奖励引导下,它从推理、查询生成和检索中识别出最有希望的子目标。然后,它通过采样并根据另一个名为执行批评者的批评者模型的评估选择最优输出来执行该子目标。这一由检索信息和批评者模型提供依据的迭代过程,使 CR-Planner 能够有效地在解空间中导航,直至得到最终答案。我们采用蒙特卡洛树搜索来收集训练批评者模型的数据,从而能够系统地探索动作序列及其长期影响。我们在具有挑战性的领域知识密集型和重推理任务上验证了 CR-Planner,包括竞赛编程、定理驱动的数学推理和复杂领域检索问题。实验表明,CR-Planner 显著优于基线方法,凸显了其通过同时改进推理和检索来解决挑战性问题的有效性。

英文摘要:

State-of-the-art large language models (LLMs) exhibit impressive problem-solving capabilities but may struggle with complex reasoning and factual correctness. Existing methods harness the strengths of chain-of-thought and retrieval-augmented generation (RAG) to decompose a complex problem into simpler steps and apply retrieval to improve factual correctness. These methods work well on straightforward reasoning tasks but often falter on challenging tasks such as competitive programming and mathematics, due to frequent reasoning errors and irrelevant knowledge retrieval. To address this, we introduce Critic-guided planning with Retrieval-augmentation, CR-Planner, a novel framework that leverages fine-tuned critic models to guide both reasoning and retrieval processes through planning. CR-Planner solves a problem by iteratively selecting and executing sub-goals. Initially, it identifies the most promising sub-goal from reasoning, query generation, and retrieval, guided by rewards given by a critic model named sub-goal critic. It then executes this sub-goal through sampling and selecting the optimal output based on evaluations from another critic model named execution critic. This iterative process, informed by retrieved information and critic models, enables CR-Planner to effectively navigate the solution space towards the final answer. We employ Monte Carlo Tree Search to collect the data for training the critic models, allowing for a systematic exploration of action sequences and their long-term impacts. We validate CR-Planner on challenging domain-knowledge-intensive and reasoning-heavy tasks, including competitive programming, theorem-driven math reasoning, and complex domain retrieval problems. Our experiments demonstrate that CR-Planner significantly outperforms baselines, highlighting its effectiveness in addressing challenging problems by improving both reasoning and retrieval.

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

↑