用中间奖励提前淘汰差解,让大模型推理更快更省算力
Accelerating LLM Reasoning via Early Rejection with Partial Reward Modeling
- 在生成中途用部分奖励预测最终质量,提前淘汰劣解
- 数学推理任务中算力降低1.4到9倍,结果不变
- 适合追求高效推理的部署场景或资源受限设备
大型语言模型在数学、逻辑和多步问答等复杂推理任务中应用日益广泛。现有方法通过过程奖励模型(PRM)提升推理质量,但显著增加计算开销,尤其在并行生成大量解时。本文提出,PRM可作为部分奖励模型,其对未完成推理步骤的评分能预示最终输出质量。基于此,我们设计了基于中间标记级信号的早期拒绝机制。理论证明:丢弃最优路径的风险随生成长度指数下降;实证显示多个奖励模型下,部分奖励与最终奖励高度相关。在数学推理基准上,该方法实现1.4×至9×的推理浮点运算量(FLOPs)减少,且不影响最终性能,表明早期拒绝是提升大模型推理效率的有效手段。
原文摘要 · Abstract (English)
Large Language Models (LLMs) are increasingly relied upon for solving complex reasoning tasks in domains such as mathematics, logic, and multi-step question answering. A growing line of work seeks to improve reasoning quality by scaling inference time compute particularly through Process Reward Models (PRMs), used to reward the reasoning at intermediate steps. While effective, these methods introduce substantial computational overhead, especially when generating large numbers of solutions in parallel. In this paper, we investigate whether PRMs can be used mid-generation to provide early signals that enable the rejection of suboptimal candidates before full generation of step is complete. We introduce the hypothesis that PRMs are also Partial Reward Models, meaning that the scores they assign to partially completed reasoning step are predictive of final output quality. This allows for principled early rejection based on intermediate token-level signals. We support this hypothesis both theoretically, by proving that the risk of discarding optimal beams decreases exponentially with generation length and empirically, by demonstrating a strong correlation between partial and final rewards across multiple reward models. On math reasoning benchmarks, our method achieves up to 1.4$\times$-9$\times$ reduction in inference FLOPs without degrading final performance. These results suggest that early rejection is a powerful mechanism for improving the compute-efficiency of reasoning in LLMs.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。