arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.02255cs.CLcs.AI
收藏

$\texttt{LM}^\texttt{2}$:一个简单的语言模型社会解决复杂推理

$\texttt{LM}^\texttt{2}$: A Simple Society of Language Models Solves Complex Reasoning

Microsoft Research, India(微软研究院(印度));IIT Delhi, India(印度德里理工学院)

Gurusha Juneja, Subhabrata Dutta, Tanmoy Chakraborty

AI总结:

针对LLM多步推理中分解与求解脱节的问题,本文提出LM2,用分解器、求解器和验证器三种语言模型经策略学习协调配合,在多个推理基准上显著超越基线。

摘要:

尽管大型语言模型(LLMS)展现出了涌现的推理能力,但它们往往会在复杂的多步推理中迷失方向。现有研究表明,通过将原始问题分解为多个子问题来提供指导,可以提升LLM推理的鲁棒性——由分解器生成子问题,再由求解器逐一解决这些子问题。然而,这些技术无法协调分解器与求解器模块之间的配合(无论是在单一模型中还是在不同的专用模型中)——分解器并不跟踪求解器遵循分解后推理的能力。在本文中,我们提出LM2以应对这些挑战。LM2将分解、求解和验证模块化到三种不同的语言模型中。分解器模块识别解决问题所需的关键概念,并根据推理要求生成逐步子问题。求解器模型生成针对子问题的解答,随后由验证器模块进行检查;根据验证器的反馈,利用子问题和解答构建推理上下文。这些模型通过策略学习进行协调训练。详尽的实验表明,LM2在域内和域外推理问题上均优于现有方法,在MATH上比最佳基线高出8.1%,在JEEBench上高出7.71%,在MedQA问题上高出9.7%(代码可在https://github.com/LCS2-IIITD/Language_Model_Multiplex获取)。

英文摘要:

Despite demonstrating emergent reasoning abilities, Large Language Models (LLMS) often lose track of complex, multi-step reasoning. Existing studies show that providing guidance via decomposing the original question into multiple subproblems elicits more robustness in LLM reasoning -- a decomposer generates the subproblems, and a solver solves each of these subproblems. However, these techniques fail to accommodate coordination between the decomposer and the solver modules (either in a single model or different specialized ones) -- the decomposer does not keep track of the ability of the solver to follow the decomposed reasoning. In this paper, we propose LM2 to address these challenges. LM2 modularizes the decomposition, solution, and verification into three different language models. The decomposer module identifies the key concepts necessary to solve the problem and generates step-by-step subquestions according to the reasoning requirement. The solver model generates the solution to the subproblems that are then checked by the verifier module; depending upon the feedback from the verifier, the reasoning context is constructed using the subproblems and the solutions. These models are trained to coordinate using policy learning. Exhaustive experimentation suggests the superiority of LM2 over existing methods on in- and out-domain reasoning problems, outperforming the best baselines by $8.1\%$ on MATH, $7.71\%$ on JEEBench, and $9.7\%$ on MedQA problems (code available at https://github.com/LCS2-IIITD/Language_Model_Multiplex).

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

↑