SLIM-RL: 无需轨迹切分的扩散LLM风险预算随机掩码强化学习
SLIM-RL: Risk-Budgeted Random-Masking RL for Diffusion LLMs Without Trajectory Slicing
AI总结:
提出SLIM-RL方法,通过τ预算解码器控制每步提交风险,结合无迹随机掩码目标和自适应方差缩减技术,在不重构训练轨迹的情况下匹配或超越现有轨迹感知方法,在数学和代码任务上取得显著提升。
摘要:
扩散大语言模型(dLLMs)的强化学习已转向轨迹感知方法。当前最先进的方法TraceRL认为随机掩码与模型的推理轨迹不匹配,并通过将每次展开切分为最多K/s个轨迹对齐的训练样本来重建轨迹,其成本随块大小K增长。我们证明这种不匹配可以在不重建轨迹的情况下缓解。我们的方法SLIM-RL通过τ预算解码器限制每个展开步骤的提交风险,降低训练数据中的总提交风险。在优化过程中,SLIM-RL在这些风险受控的展开上使用无迹随机掩码目标进行训练,该目标适配方差缩减工具,结合序列级重要性采样、在均值保持且单调递减的逐块掩码调度下的掩码水平确定性求积(我们引入该调度)。在SDAR-4B上,SLIM-RL在块大小16时仅用TraceRL 0.46倍的训练样本即匹配其最佳MATH500准确率,在匹配动态采样下,在MATH500上比TraceRL提升6.32%,在GSM8K上提升11.05%。在块大小4时,4B的SLIM-RL在数学任务上超越更大的LLaDA-8B和Dream-7B dLLMs,在MATH500上超过LLaDA-8B 10.76%,同时低于自回归的Qwen2.5-7B。在代码任务上,它在MBPP上比TraceRL提升4.20%,在HumanEval上提升3.65%。τ预算解码器可无训练地迁移至LLaDA、Dream和SDAR。源代码见https://this URL。
英文摘要:
Reinforcement learning for diffusion large language models (dLLMs) has largely moved to trajectory-aware methods. The current state of the art, TraceRL, holds that random masking is mismatched with the model's inference trajectory, and it reconstructs that trajectory during training by slicing each rollout into up to K/s trajectory-aligned training samples, a cost that grows with the block size K. We show that this mismatch can be mitigated without reconstructing the trajectory. Our method, SLIM-RL, bounds the commit risk of each rollout step with a tau-budget decoder, reducing aggregate commit risk in the training data. During optimization, SLIM-RL trains on these risk-controlled rollouts with a trace-free random-masking objective that adapts variance-reduction tools, combining sequence-level importance sampling, deterministic quadrature over masking levels under a mean-preserving, monotonically decreasing per-block mask schedule that we introduce. On SDAR-4B, SLIM-RL matches TraceRL's best MATH500 accuracy on only 0.46x its training samples at block size 16, improving over TraceRL by 6.32% on MATH500 and 11.05% on GSM8K under matched dynamic sampling. At block size 4, the 4B SLIM-RL surpasses the larger LLaDA-8B and Dream-7B dLLMs on math, exceeding LLaDA-8B by 10.76% on MATH500 while staying below the autoregressive Qwen2.5-7B. On code, it improves over TraceRL by 4.20% on MBPP and 3.65% on HumanEval. The tau-budget decoder transfers training-free across LLaDA, Dream, and SDAR. The source code is available at https://github.com/laolaorkkkkk/SLIM-RL .
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。