arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.27369cs.LG
收藏

无需真实解即可改进大语言模型的强化学习

Reinforcement Learning without Ground-Truth Solutions can Improve LLMs

University of California, San Diego(加州大学圣地亚哥分校);Snowflake AI Research

Yingyu Lin, Qiyue Gao, Nikki Lijing Kuang, Xunpeng Huang, Kun Zhou, Tongtong Liang, Zhewei Yao, Yi-An Ma, Yuxiong He

AI总结:

提出RiVER框架,通过校准的连续奖励信号,在无真实解的任务上训练LLM,在AtCoder和精确解基准上均取得提升。

摘要:

使用可验证奖励的强化学习(RLVR)训练大语言模型通常依赖真实答案来分配奖励,限制了其在真实解未知的任务中的适用性。我们引入了一个基于排序的可验证框架(RiVER),该框架在没有真实解的情况下,使用确定性执行反馈作为连续值监督,训练LLM处理基于分数的优化任务。当将群体相对RL应用于此类连续奖励时,我们识别出两个关键挑战:\emph{规模主导},即跨测试实例未校准的分数幅度扭曲策略更新;以及\emph{频率主导},即重复采样的次优解可能压倒罕见但更强的候选解。RiVER通过校准奖励塑造来解决这些挑战,该方法使用实例级比较并强调排名靠前的求解器,同时为其他有效解保留有界反馈。我们在12个AtCoder启发式竞赛任务上训练,并在算法工程基准(ALE-Bench)、LiveCodeBench和USACO上评估。RiVER在ALE评分排名上将Qwen3-8B和GLM-Z1-9B-0414分别提升了8.9%和9.4%。更重要的是,尽管仅在基于分数的任务上训练且没有任何真实解,RiVER在精确解基准(如LiveCodeBench和USACO)上也使骨干模型平均绝对提升了2.4%和3.5%。相比之下,使用原始执行分数训练的基线模型虽然提升了ALE评分,但未能迁移到精确解基准。这些结果表明,结合适当的奖励校准,基于分数的优化任务可以作为无需真实解的有效训练环境,提升通用编码能力。

英文摘要:

Reinforcement learning with verifiable rewards (RLVR) for training LLMs typically rely on ground-truth answers to assign rewards, limiting their applicability to tasks where the ground-truth solution is unknown. We introduce a \textbf{R}anking-\textbf{i}nduced \textbf{VER}ifiable framework (RiVER) that trains LLMs on score-based optimization tasks without ground-truth solutions, using deterministic execution feedback as continuous-valued supervision. When applying group-relative RL to such continuous rewards, we identify two key challenges: \emph{scale dominance}, where uncalibrated score magnitudes across test instances distort policy updates, and \emph{frequency dominance}, where repeatedly sampled suboptimal solutions can outweigh rare but stronger candidates. RiVER addresses these challenges with calibrated reward shaping that uses instance-wise comparisons and emphasizes top-ranked solvers while retaining bounded feedback for other valid solutions. We train on 12 AtCoder Heuristic Contest tasks and evaluate on Algorithm Engineering Benchmark (ALE-Bench), LiveCodeBench, and USACO. RiVER advances Qwen3-8B and GLM-Z1-9B-0414 by 8.9\% and 9.4\% in ALE rating rank. More importantly, despite training exclusively on score-based tasks without any ground-truth solutions, RiVER also improves the backbones across exact-solution benchmarks such as LiveCodeBench and USACO by an absolute average improvement of 2.4\% and 3.5\%. By contrast, baselines trained with raw execution scores improve ALE rating but fail to transfer to exact-solution benchmarks. These results suggest that score-based optimization tasks, combined with proper reward calibration, can serve as effective training environments for general coding ability without ground-truth solutions.

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

↑