ArXiv

Reinforcement Learning without Ground-Truth Solutions can Improve LLMs

Authors
Yingyu Lin, Qiyue Gao, Nikki Lijing Kuang...
Categories
cs.LG
arXiv
https://arxiv.org/abs/2606.27369v1
PDF
https://arxiv.org/pdf/2606.27369v1

Brief

RiVER (Ranking-induced VERifiable) uses deterministic execution scores as continuous supervision and a calibrated, instance-wise reward shaping that emphasizes top-ranked candidates to avoid scale and frequency dominance. Trained on 12 AtCoder Heuristic Contest tasks, RiVER raises ALE rating ranks for Qwen3-8B and GLM-Z1-9B-0414 by 8.9% and 9.4% and yields 2.4%/3.5% absolute gains on LiveCodeBench/USACO, despite no ground-truth solutions.

Why it matters

RiVER (Ranking-induced VERifiable) trains LLMs using deterministic execution feedback as continuous rewards on score-based tasks, addressing 'scale dominance' and 'frequency dominance' via instance-wise calibrated reward shaping that emphasizes top-ranked solvers while keeping bounded feedback for other valid solutions; training used 12 AtCoder Heuristic Contest tasks.

Key details

  • On benchmark ratings, RiVER improves ALE rating rank for Qwen3-8B by 8.9% and for GLM-Z1-9B-0414 by 9.4% compared to baselines.
  • RiVER—trained exclusively on score-based (no ground-truth) tasks—also transfers to exact-solution benchmarks, boosting backbones on LiveCodeBench and USACO by absolute average improvements of 2.4% and 3.5%; by contrast, models trained on raw execution scores improved ALE but failed to transfer.
Source evidence

Abstract

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.