2025-12-02 · 专家 · 自然语言处理 · 机器学习

Rectifying LLM Thought from Lens of Optimization

本文提出了一种名为RePro的方法,通过优化视角对大型语言模型(LLM)的推理过程进行优化,从而提高推理性能并减少不合理的推理行为。

更新于 2025-12-02。作者:Junnan Liu、Hongwei Liu、Songyang Zhang、Kai Chen。

中文摘要

近期大型语言模型(LLMs)的进步主要得益于其涌现的推理能力,特别是通过长链式思考(CoT)提示,这允许深入探索和深思熟虑。尽管取得了这些进步,长链式思考LLMs往往表现出次优的推理行为,如过度思考和过分拖延的推理链条,这可能会损害其性能。在这篇论文中,我们通过优化视角分析推理过程,将CoT视为一种梯度下降程序,其中每个推理步骤都是一个向问题解决的更新。在此基础上,我们引入了RePro(过程级奖励校正),这是一种在训练后微调LLM推理的新方法。RePro定义了一个代理目标函数来评估CoT背后的优化过程,利用双重评分机制来量化其强度和稳定性。这些分数被汇总成一个综合的过程级奖励,无缝集成到具有可验证奖励(RLVR)的强化学习管道中,以优化LLMs。在多个强化学习算法和不同LLMs上的广泛实验,评估了涵盖数学、科学和编码的基准测试,表明RePro一致地提升了推理性能并减轻了次优推理行为。

英文摘要

Recent advancements in large language models (LLMs) have been driven by their emergent reasoning capabilities, particularly through long chain-of-thought (CoT) prompting, which enables thorough exploration and deliberation. Despite these advances, long-CoT LLMs often exhibit suboptimal reasoning behaviors, such as overthinking and excessively protracted reasoning chains, which can impair performance. In this paper, we analyze reasoning processes through an optimization lens, framing CoT as a gradient descent procedure where each reasoning step constitutes an update toward problem resolution. Building on this perspective, we introduce RePro (Rectifying Process-level Reward), a novel approach to refine LLM reasoning during post-training. RePro defines a surrogate objective function to assess the optimization process underlying CoT, utilizing a dual scoring mechanism to quantify its intensity and stability. These scores are aggregated into a composite process-level reward, seamlessly integrated into reinforcement learning with verifiable rewards (RLVR) pipelines to optimize LLMs. Extensive experiments across multiple reinforcement learning algorithms and diverse LLMs, evaluated on benchmarks spanning mathematics, science, and coding, demonstrate that RePro consistently enhances reasoning performance and mitigates suboptimal reasoning behaviors.

解读

一句话总结

本文提出了一种名为RePro的方法,通过优化视角对大型语言模型(LLM)的推理过程进行优化,从而提高推理性能并减少不合理的推理行为。

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

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

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

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

来源