arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.08441cs.LGcs.AI
收藏

DUET:基于可验证奖励的强化学习中优化令牌预算分配

DUET: Optimize Token-Budget Allocation for Reinforcement Learning with Verifiable Rewards

Cornell University(康奈尔大学);University of California, Berkeley(加州大学伯克利分校);Columbia University(哥伦比亚大学)

Haoyu Hu, Xuandong Zhao, Xuhai "Orson'' Xu, Nori Jacoby

AI总结:

DUET通过联合调整令牌预算分配的两个维度,提升强化学习的推理质量和训练效率,同时在多个基准测试中表现优异,且在预算减少时性能优势扩大。

摘要:

可验证奖励的强化学习(RLVR)在每个训练步骤生成数以万计的令牌,其中回放生成是计算成本的主要来源。整体令牌预算可以沿两个主要维度控制:(i)决定将回放分配给哪些提示,以及(ii)决定每个回放的长度。先前工作通常只控制其中一个维度。我们证明,在共享计算预算下联合调整这两个决策可以同时提高推理质量和训练时间。我们将其观点实例化为DUET,一种计算高效的GRPO上层,使用轻量级的预回放代理来设置每个提示的回放数量,并使用标记门控中止规则和重要性重加权来设置何时停止回放。在Qwen3-1.7B上训练的MATH数据集上,DUET优于全预算GRPO和其他三种预算感知基线方法。DUET的优势进一步扩展到其他基准测试,包括数学和编程领域,并在科学问答领域与最佳基线相当,同时实现了1.62倍的训练时间加速。更值得注意的是,使用仅50%的令牌预算,DUET仍优于所有基线方法在全预算下的表现,实现了2.51倍的全预算GRPO加速。我们验证了DUET在其他基础LLM上的高性能,包括Qwen3-4B和Llama-3.2-3B-Instruct。值得注意的是,随着预算的收紧,DUET与最强基线之间的差距扩大,这与通常的模式相反,即高效方法在计算减少时会牺牲质量。更广泛地说,这些结果表明,DUET的预算感知控制策略不仅有助于加速训练,还能提高学习信号的质量。

英文摘要:

Reinforcement learning with verifiable rewards (RLVR) generates hundreds of thousands of tokens per training step, with rollout generation dominating the computational cost. The overall token budget can be controlled along two main dimensions: (i) deciding which prompts to allocate rollouts to, and (ii) deciding how long each rollout should be. Prior work has generally controlled only one of these dimensions at a time. We show that jointly tuning both decisions under a shared compute budget improves both reasoning quality and wall-clock training time. We instantiate this view as \textbf{DU}al-controlled tok\textbf{E}n alloca\textbf{T}ion (DUET), a computationally efficient layer over GRPO that uses a lightweight pre-rollout surrogate of prompt informativeness to set how many rollouts each prompt receives, and a marker-gated abort rule with importance reweighting to set when to stop them. On Qwen3-1.7B trained on MATH, DUET outperforms full-budget GRPO and the other three budget-aware baseline methods. DUET's advantage further generalizes to other benchmarks across math and coding, and is on par with the best baseline on the scientific Q\&A domain, while also achieving a $1.62\times$ wall-clock speedup. More notably, using only 50\% of the token budget, DUET still outperforms all baseline methods at their full budget, achieving an even higher $2.51\times$ speedup over full-budget GRPO. We verify the high performance of DUET on other backbone LLMs, including Qwen3-4B to 14B and Llama-3.2-3B-Instruct. Notably, the gap between DUET and the strongest baseline \emph{widens} as the budget tightens, contrary to the usual pattern in which efficient methods trade off quality as compute decreases. More broadly, these results suggest that DUET budget-aware control strategies are valuable not only for accelerating training, but also for improving the quality of the learning signal.

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

↑