2024-12-25 · 专家 · 机器学习 · 自然语言处理

Ensembling Large Language Models with Process Reward-Guided Tree Search for Better Complex Reasoning

本文提出了一种名为LE-MCTS的语言模型集成框架,通过蒙特卡洛树搜索和过程奖励引导,有效提升了复杂推理任务的表现。

更新于 2024-12-25。作者:Sungjin Park、Xiao Liu、Yeyun Gong、Edward Choi。

中文摘要

尽管大型语言模型近期取得了进展,但开源模型在复杂推理任务上往往难以持续表现出色。现有的集成方法,无论是在标记级别还是输出级别应用,都无法解决这些挑战。为此,我们提出了语言模型集成与蒙特卡洛树搜索(LE-MCTS)框架,这是一种用于语言模型过程级集成的创新框架。LE-MCTS将使用语言模型集成的逐步推理过程定义为马尔可夫决策过程。在这个框架中,状态代表中间推理路径,而动作则包括使用预定义池中选定的某个语言模型生成下一步推理步骤。在基于过程的奖励模型指导下,LE-MCTS对不同语言模型生成的推理步骤进行树搜索,识别最准确的推理链。在五个数学推理基准数据集上的实验结果表明,我们的方法优于单个语言模型解码算法和语言模型集成方法。值得注意的是,LE-MCTS在MATH和MQA数据集上分别提高了3.6%和4.3%的性能,突显了其在解决复杂推理问题上的有效性。

英文摘要

Despite recent advances in large language models, open-source models often struggle to consistently perform well on complex reasoning tasks. Existing ensemble methods, whether applied at the token or output levels, fail to address these challenges. In response, we present Language model Ensemble with Monte Carlo Tree Search (LE-MCTS), a novel framework for process-level ensembling of language models. LE-MCTS formulates step-by-step reasoning with an ensemble of language models as a Markov decision process. In this framework, states represent intermediate reasoning paths, while actions consist of generating the next reasoning step using one of the language models selected from a predefined pool. Guided by a process-based reward model, LE-MCTS performs a tree search over the reasoning steps generated by different language models, identifying the most accurate reasoning chain. Experimental results on five mathematical reasoning benchmarks demonstrate that our approach outperforms both single language model decoding algorithms and language model ensemble methods. Notably, LE-MCTS improves performance by 3.6% and 4.3% on the MATH and MQA datasets, respectively, highlighting its effectiveness in solving complex reasoning problems.

解读

一句话总结

本文提出了一种名为LE-MCTS的语言模型集成框架,通过蒙特卡洛树搜索和过程奖励引导,有效提升了复杂推理任务的表现。

问题1:这篇论文想要解决什么具体问题?

• 问题背景:尽管大型语言模型在许多任务上表现出色,但开源模型在复杂推理任务上表现不佳。 • 现有方案不足:现有的集成方法,无论是应用于标记级别还是输出级别,都无法解决这些挑战。 • 研究目标:提出一种新的语言模型集成框架,以解决复杂推理问题,并确保在各种推理问题上一致地保持高性能。

问题2:论文的核心创新点是什么?

• 技术创新:将逐步推理与语言模型集成作为马尔可夫决策过程(MDP)进行建模。 • 方法改进:使用蒙特卡洛树搜索(MCTS)进行树搜索,并利用基于过程奖励的模型(PRM)进行指导。 • 优势:与现有方法相比,LE-MCTS在解决复杂推理问题方面表现出更高的准确性。

问题3:实验结果如何验证了方法的有效性?

• 关键实验:在五个数学推理基准测试上进行了实验,包括GSM8K、MATH、SVAMP、ASDiv和MQA。 • 性能提升:在MATH和MQA数据集上分别提高了3.6%和4.3%的性能。 • 对比结果:LE-MCTS在所有任务上都优于或匹配了现有的语言模型集成方法。

问题4:这个研究的实际应用价值是什么?

• 应用场景:适用于需要复杂推理的任务,如数学问题解决。 • 实施建议:根据问题的复杂程度调整MCTS迭代次数和UCB常数C。 • 局限与展望:PRM的准确性和基模型的选取是未来改进的方向。

来源

机器可读索引:llms.txt