BRiTE:引导强化思维过程以增强语言模型推理
BRiTE: Bootstrapping Reinforced Thinking Process to Enhance Language Model Reasoning
AI总结:
提出统一概率框架与 BRiTE 算法,通过奖励塑造强化学习生成高质量理据并联合优化基础 LLM,在数学和编程任务上无需人工思维标注即可稳定提升推理。
摘要:
大型语言模型(LLM)在复杂推理任务中展现出卓越能力,但生成可靠的推理过程仍是一项重大挑战。我们提出一个统一概率框架,通过融合潜在思维过程与评估信号的新型图模型,将 LLM 推理形式化。在该框架内,我们引入 Bootstrapping Reinforced Thinking Process(BRiTE)算法,其工作分为两步:首先,利用一种新颖的奖励塑造机制,通过强化学习近似最优思维过程,从而生成高质量理据;其次,通过关于模型参数最大化理据生成的联合概率来增强基础 LLM。理论上,我们证明 BRiTE 以 $1/T$ 的速率收敛,其中 $T$ 表示迭代次数。在数学和编程基准上的实证评估表明,我们的方法在不同基础模型上均持续提升性能,且无需人工标注的思维过程。此外,与采用拒绝采样等替代方法来引导思维过程的现有算法相比,BRiTE 表现出更优性能,甚至能够匹敌或超过使用人工标注数据进行监督微调所取得的结果。
英文摘要:
Large Language Models (LLMs) have demonstrated remarkable capabilities in complex reasoning tasks, yet generating reliable reasoning processes remains a significant challenge. We present a unified probabilistic framework that formalizes LLM reasoning through a novel graphical model incorporating latent thinking processes and evaluation signals. Within this framework, we introduce the Bootstrapping Reinforced Thinking Process (BRiTE) algorithm, which works in two steps. First, it generates high-quality rationales by approximating the optimal thinking process through reinforcement learning, using a novel reward shaping mechanism. Second, it enhances the base LLM by maximizing the joint probability of rationale generation with respect to the model's parameters. Theoretically, we demonstrate BRiTE's convergence at a rate of $1/T$ with $T$ representing the number of iterations. Empirical evaluations on math and coding benchmarks demonstrate that our approach consistently improves performance across different base models without requiring human-annotated thinking processes. In addition, BRiTE demonstrates superior performance compared to existing algorithms that bootstrap thinking processes use alternative methods such as rejection sampling, and can even match or exceed the results achieved through supervised fine-tuning with human-annotated data.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。