通过扭曲序列蒙特卡罗方法解决数学问题的逐步推理
Step-by-Step Reasoning for Math Problems via Twisted Sequential Monte Carlo
AI总结:
针对大型语言模型多步推理验证方法采样效率低且依赖昂贵过程监督的问题,提出基于扭曲序列蒙特卡罗(TSMC)的新颖验证方法,通过估计部分解的预期未来奖励优化采样并消除逐步标注需求,在多个数学基准上展现显著优势。
摘要:
增强大型语言模型(LLMs)的多步推理能力一直是一个持续的挑战。最近,验证方法在通过评估生成输出来提高解决方案一致性方面展现出了潜力。然而,当前的验证方法存在采样效率低下的问题,需要大量样本才能达到令人满意的性能。此外,训练有效的验证器通常依赖于广泛的过程监督,获取成本高昂。在本文中,我们通过引入一种基于扭曲序列蒙特卡罗(TSMC)的新颖验证方法来解决这些局限性。TSMC 逐步细化其采样工作,将探索集中在有希望的候选方案上,从而更高效地生成高质量解决方案。我们通过估计部分解决方案的预期未来奖励,将 TSMC 应用于 LLMs。这种方法产生了一个更直接的训练目标,消除了对逐步人工注释的需求。我们在多个数学基准上实证证明了我们方法的优势,并验证了我们对我们的方法和现有验证方法的理论分析。
英文摘要:
Augmenting the multi-step reasoning abilities of Large Language Models (LLMs) has been a persistent challenge. Recently, verification has shown promise in improving solution consistency by evaluating generated outputs. However, current verification approaches suffer from sampling inefficiencies, requiring a large number of samples to achieve satisfactory performance. Additionally, training an effective verifier often depends on extensive process supervision, which is costly to acquire. In this paper, we address these limitations by introducing a novel verification method based on Twisted Sequential Monte Carlo (TSMC). TSMC sequentially refines its sampling effort to focus exploration on promising candidates, resulting in more efficient generation of high-quality solutions. We apply TSMC to LLMs by estimating the expected future rewards at partial solutions. This approach results in a more straightforward training target that eliminates the need for step-wise human annotations. We empirically demonstrate the advantages of our method across multiple math benchmarks, and also validate our theoretical analysis of both our approach and existing verification methods.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。