TGRL:温度分组强化学习用于LLMs中的高效探索
研究论文 · 2026/09/30
在可验证奖励强化学习(RLVR)中,高效探索常是核心瓶颈。温度控制和测试时扩展策略虽能提升大语言模型(LLM)的 rollout 多样性,但要么在 rollout 时扩大采样预算,要么未量化探索收益。为此,我们提出温度分组强化学习(TGRL),将温度诱导的多样性转化为显式训练信号。对每个 prompt,TGRL 将其 rollout 组划分为低温和高温子集,通过奖励对比估计探索增益,并利用同一 logits 诱导的相应温度缩放下一 token 分布之间的 Jensen-Shannon(JS)散度,将该组级信号分配为 token 级信用。值得注意的是,TGRL 在不扩大 rollout 预算的情况下,达到与强 RLVR 基线相当精度所需时间最多快 36%。在来自不同领域的 11 个基准上,TGRL 普遍优于强 RLVR 基线:在 32B 规模下将六基准数学平均提升 1.6%,将 CodeForces 评分提高 196.7 分、LiveCodeBench Pass@16 提高 4.4%,并将 ALFWorld/WebShop 成功率分别提升 6.3%/4.9%。全面的消融和 wall-clock 分析证实了所有提出组件的有效性。代码见 https://github.com/1229095296/TGRL/tree/main。
该工作针对 RLVR 中探索效率低的问题,提出无需增加采样预算即可将温度多样性转化为训练信号的方法,并在多个领域基准上取得一致提升,兼具效率与性能优势。
Efficient exploration often remains a central bottleneck in reinforcement learning with verifiable rewards (RLVR). Although temperature control and test-time scaling strategies can increase rollout diversity of large language models (LLMs), they either expand the sample budget at rollout time or leave the benefit of exploration unquantified. To this end, we propose Temperature-Grouped Reinforcement Learning (TGRL), which turns temperature-induced diversity into an explicit training signal. For each prompt, TGRL partitions its rollout group into low- and high-temperature subsets, estimates exploration gain through their reward contrast, and allocates this group-level signal as token-level credit using Jensen--Shannon (JS) divergence between the corresponding temperature-scaled next-token distributions induced by the same logits. Notably, TGRL reaches equivalent accuracy up to 36% faster than strong RLVR baselines without expanding the rollout budget. Across 11 benchmarks from diverse domains, TGRL broadly improves over strong RLVR baselines: it improves the six-benchmark math average by 1.6% at 32B, raises CodeForces rating by 196.7 points and LiveCodeBench Pass@16 by 4.4%, and improves ALFWorld/WebShop success rates by 6.3%/4.9%. Comprehensive ablations and wall-clock analysis confirm the efficacy of all proposed components. Code is available at https://github.com/1229095296/TGRL/tree/main.