arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2601.08468cs.CLcs.AIcs.LG
收藏

JudgeRLVR: 先判后生成以实现高效推理

JudgeRLVR: Judge First, Generate Second for Efficient Reasoning

State Key Laboratory of Multimedia Information Processing, School of Computer Science, Peking University(多媒体信息处理国家重点实验室,计算机学院,北京大学);CFCS, School of Computer Science, Peking University(计算机学院,北京大学);LLM-Core Xiaomi(小智LLM核心)

Jiangshan Duo, Hanyu Li, Hailin Zhang, Yudong Wang, Sujian Li, Liang Zhao

AI总结:

JudgeRLVR通过先判后生成的双阶段方法,提升大型语言模型在数学领域内的推理效率与准确性。

摘要:

可验证奖励的强化学习(RLVR)已成为大型语言模型中推理的标准范式。然而,仅优化最终答案的正确性往往会将模型推向无目的、冗长的探索,其中它们依赖于穷尽的试错策略而非结构化规划来达到解决方案。尽管启发式约束如长度惩罚可以减少冗余,但它们往往截断必要的推理步骤,造成效率与验证之间的艰难权衡。在本文中,我们主张判别能力是高效生成的前提:通过学习区分有效解决方案,模型可以内部化一个信号,该信号可以修剪搜索空间。我们提出了JudgeRLVR,一种先判后生成的范式。在第一阶段,我们训练模型以判断具有可验证答案的解决方案响应。在第二阶段,我们使用普通的生成RLVR对同一模型进行微调,初始化来自判别器。与使用相同数学领域训练数据的Vanilla RLVR相比,JudgeRLVR在Qwen3-30B-A3B上实现了更好的质量-效率权衡:在领域内数学上,它在平均准确率上获得约+3.7点的提升,生成长度平均减少42%;在领域外基准测试中,它在平均准确率上获得约+4.5点的提升,展示了增强的泛化能力。

英文摘要:

Reinforcement Learning with Verifiable Rewards (RLVR) has become a standard paradigm for reasoning in Large Language Models. However, optimizing solely for final-answer correctness often drives models into aimless, verbose exploration, where they rely on exhaustive trial-and-error tactics rather than structured planning to reach solutions. While heuristic constraints like length penalties can reduce verbosity, they often truncate essential reasoning steps, creating a difficult trade-off between efficiency and verification. In this paper, we argue that discriminative capability is a prerequisite for efficient generation: by learning to distinguish valid solutions, a model can internalize a guidance signal that prunes the search space. We propose JudgeRLVR, a two-stage judge-then-generate paradigm. In the first stage, we train the model to judge solution responses with verifiable answers. In the second stage, we fine-tune the same model with vanilla generating RLVR initialized from the judge. Compared to Vanilla RLVR using the same math-domain training data, JudgeRLVR achieves a better quality--efficiency trade-off for Qwen3-30B-A3B: on in-domain math, it delivers about +3.7 points average accuracy gain with -42\% average generation length; on out-of-domain benchmarks, it delivers about +4.5 points average accuracy improvement, demonstrating enhanced generalization.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑