{"id": "http://arxiv.org/abs/2607.00208v1", "title": "SLIM-RL: Risk-Budgeted Random-Masking RL for Diffusion LLMs Without Trajectory Slicing", "abstract": "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 .", "published_at": "2026-06-30T21:38:46+00:00", "source_updated_at": null, "source_url": "https://arxiv.org/abs/2607.00208v1", "source_hash": "e9fd2d8b3630481ed22bae0a56b9336e3edfd9182d338fe45a60a5bb84fc015c", "source_version": "v1", "full_text_available": true, "evidence_kind": "full_text_excerpt", "analysis_scope": "full_text_excerpt", "scope": "core", "topics": ["discrete-diffusion", "post-training"], "code_url": "https://github.com/laolaorkkkkk/SLIM-RL", "has_code": true, "indexable": true, "authors": [], "related_ids": ["http://arxiv.org/abs/2609.04531v1", "http://arxiv.org/abs/2609.04010v1", "http://arxiv.org/abs/2609.00495v1"], "related_work": {"version": "related-work-v1", "status": "not_assessed", "reason": "missing_context", "items": []}, "review": null, "explanations": {}, "full_article_summary": {"format": "research_guide_v14", "analysis_scope": "full_article_map_reduce", "source_hash": "e9fd2d8b3630481ed22bae0a56b9336e3edfd9182d338fe45a60a5bb84fc015c", "source_url": "https://arxiv.org/abs/2607.00208v1", "source_version": "v1", "revision_id": "7eb82a5078f9bb04c1c3578e5d78fc445e5ab7689af308fd57ac19e99c03942d", "canonical_text_hash": "6c66fbb6ea2f4a526ba5a4d9d7ad9df4bb5bc01420262d638ac116e79cc29f4d", "prompt_version": "full-article-research-guide-v14", "sections": {"verdict": {"ru": "SLIM-RL — убедительный trace-free RL-подход для блочно-диффузионных LLM: он повышает точность и эффективность данных относительно TraceRL при заявленных условиях. Однако преимущество уменьшается при меньшем размере блока, а ограничения для крупных блоков и длинных ответов остаются открытыми.", "en": "SLIM-RL is a credible trace-free RL method for block-wise diffusion LLMs, improving accuracy and data efficiency over TraceRL under the reported conditions. Its advantage shrinks with smaller blocks, while limits for larger blocks and longer responses remain open."}, "main_idea": {"ru": "Метод объединяет τ-бюджетное динамическое декодирование с variance-reduced RL-обучением: вместо восстановления полных траекторий он выбирает безопасный префикс токенов и оптимизирует политику по sequence-level отношениям вероятностей, детерминированной квадратуре и монотонному расписанию маскирования.", "en": "The method combines τ-budget dynamic decoding with variance-reduced RL: instead of reconstructing full trajectories, it selects a safe token prefix and optimizes the policy using sequence-level probability ratios, deterministic quadrature, and monotonic masking."}, "claims": {"ru": "Авторы сообщают, что на SDAR-4B при размере блока 16 SLIM-RL превосходит TraceRL на 6,32% на MATH500 и на 11,05% на GSM8K, используя 0,46× обучающих данных. При размере блока 4 он превосходит более крупные LLaDA-8B и Dream-7B на математических задачах и улучшает TraceRL на MBPP и HumanEval. На SDAR-4B метод достигает лучшей точности TraceRL с 0,81× данных при размере блока 4, а на SDAR-1.7B — с 0,76×.", "en": "The authors report that on SDAR-4B with block size 16, SLIM-RL exceeds TraceRL by 6.32% on MATH500 and 11.05% on GSM8K using 0.46× the training data. At block size 4, it surpasses larger LLaDA-8B and Dream-7B models on math tasks and improves over TraceRL on MBPP and HumanEval. It reaches TraceRL’s best accuracy with 0.81× the data on SDAR-4B and 0.76× on SDAR-1.7B at block size 4."}, "mechanism": {"ru": "Состояние — частично замаскированная последовательность; для каждой позиции используются уверенность/неопределённость и денойзинговые вероятности.\n\n1. TAUBUDGETDECODE отбирает кандидатов с уверенностью выше τ, сортирует их по неопределённости и фиксирует наибольший префикс, для которого сумма неопределённостей не превышает Bs=m(1−τ). Если допустимых кандидатов нет, фиксируется наиболее уверенный замаскированный токен.\n2. Для RL отношение вероятностей вычисляется на уровне последовательности как геометрическое среднее позиционных denoising ratios по замаскированным токенам.\n3. Обучение использует group-centered rewards, unnormalized advantage и clipped objective; конкретная формула clipping в записях не приведена.\n4. Случайность уровня маскирования уменьшается детерминированной Gauss–Legendre quadrature; подтверждено, что удаление третьего узла ухудшает MATH500.\n5. Маскирование распределяется по блокам монотонно убывающим cosine-расписанием: ранние блоки маскируются сильнее, но средний уровень сохраняется равным глобальному t; разброс δ ограничивается так, чтобы rates оставались в [0,1].\n6. Dynamic sampling повышает tokens-per-forward; при этом τ-декодирование может снижать throughput ради точности.\n\nПлан воспроизведения: (1) реализовать τ-бюджетное декодирование; (2) вычислять sequence-level ratios по masked corruptions; (3) заменить случайный masking-level sampling Gauss–Legendre quadrature; (4) добавить unnormalized advantage и decreasing block mask schedule; (5) сравнить с TraceRL на SDAR при размерах блоков 4 и 16.", "en": "The state is a partially masked sequence with per-position confidence/uncertainty and denoising probabilities.\n\n1. TAUBUDGETDECODE keeps candidates with confidence above τ, sorts them by uncertainty, and commits the largest prefix whose summed uncertainty is at most Bs=m(1−τ). If none is feasible, it commits the highest-confidence masked token.\n2. The RL ratio is computed at sequence level as the geometric mean of per-position denoising ratios over masked tokens.\n3. Training uses group-centered rewards, an unnormalized advantage, and a clipped objective; the exact clipping formula is not specified in the records.\n4. Random masking-level variance is reduced with deterministic Gauss–Legendre quadrature; removing the third node is reported to lower MATH500.\n5. Masking is allocated with a decreasing cosine schedule: earlier blocks receive more masking while the mean remains the global level t; the spread δ is bounded so all rates stay in [0,1].\n6. Dynamic sampling increases tokens-per-forward, while τ-budget decoding can trade throughput for accuracy.\n\nReproduction plan: (1) implement τ-budget decoding; (2) compute sequence-level ratios over masked corruptions; (3) replace random masking-level sampling with Gauss–Legendre quadrature; (4) add the unnormalized advantage and decreasing block mask schedule; (5) compare with TraceRL on SDAR at block sizes 4 and 16."}, "evidence": {"ru": "Наблюдаемые результаты: при размере блока 16 на SDAR-4B прирост над TraceRL составляет +6,32 MATH500 и +11,05 GSM8K при dynamic sampling; при размере блока 4 — только +0,33 и +0,23 соответственно. τ-декодирование снижает ожидаемые ошибочные фиксации с 0,22 до 0,17 при размере блока 16 и с 0,21 до 0,15 при размере блока 4. Для Dream-7B MBPP растёт с 36,93 до 37,33, HumanEval — с 35,57 до 36,18, одновременно увеличивается tokens-per-forward. Абляции показывают ухудшение при удалении sequence-level ratios, τ-rollouts, monotonic masking или третьего узла квадратуры. Превосходство не установлено во всех режимах: при меньшем размере блока прирост над TraceRL значительно меньше, а для Dream code tasks описана отдельная оговорка по trade-off throughput/accuracy.", "en": "Observed results: at block size 16 on SDAR-4B, the dynamic-sampling gain over TraceRL is +6.32 MATH500 and +11.05 GSM8K; at block size 4 it is only +0.33 and +0.23. τ-budget decoding reduces expected wrong commitments from 0.22 to 0.17 at block size 16 and from 0.21 to 0.15 at block size 4. For Dream-7B, MBPP rises from 36.93 to 37.33 and HumanEval from 35.57 to 36.18, with higher tokens-per-forward. Ablations report degradation when sequence-level ratios, τ-rollouts, monotonic masking, or the third quadrature node are removed. Superiority is not established in every regime: gains are much smaller at lower block size, and Dream code tasks have a stated throughput/accuracy trade-off."}, "applicability": {"ru": "Подход наиболее полезен для блочно-диффузионных LLM с динамическим размаскированием, особенно для математических и кодовых задач, где важны точность и стоимость данных. τ-декодирование переносится между LLaDA, Dream и SDAR без дополнительного обучения.", "en": "The method is most useful for block-wise diffusion LLMs with dynamic unmasking, especially on math and code tasks where accuracy and data cost matter. The τ-budget decoder transfers across LLaDA, Dream, and SDAR without additional training."}, "limitations": {"ru": "Результаты зависят от размера блока: преимущество над TraceRL резко сужается при переходе от блока 16 к блоку 4. Декодирование может снижать throughput ради точности. Записи не дают точных формул clipping objective, полного набора гиперпараметров или проверки на длинных ответах; нельзя делать выводы за пределами заявленных архитектур, задач и условий.", "en": "Results depend on block size: the advantage over TraceRL narrows sharply from block size 16 to 4. Decoding can reduce throughput in exchange for accuracy. The records do not provide the exact clipping-objective formulas, the complete hyperparameter set, or validation on long responses; conclusions should not be extended beyond the reported architectures, tasks, and conditions."}, "next_action": {"ru": "Провести контролируемую проверку масштабирования по размеру блока и длине ответа: обучить единый вариант SLIM-RL, затем сравнить с TraceRL при блоках 4, 16 и более крупных, измеряя accuracy, tokens-per-forward, throughput и expected wrong commitments.", "en": "Run a controlled scaling study over block size and response length: train one SLIM-RL variant, compare it with TraceRL at block sizes 4, 16, and larger, and measure accuracy, tokens-per-forward, throughput, and expected wrong commitments."}}, "source_coverage": {"canonical_text_hash": "6c66fbb6ea2f4a526ba5a4d9d7ad9df4bb5bc01420262d638ac116e79cc29f4d", "covered_chunks": 5, "map_input_digest": "572bc1c64c361534bbe3356b3af8031cf7d273cd68493c08180871ccb55f5d9c", "prompt_version": "full-article-research-guide-v14", "revision_id": "7eb82a5078f9bb04c1c3578e5d78fc445e5ab7689af308fd57ac19e99c03942d", "total_chunks": 5}}, "resources": {"version": "paper-resources-v1", "source_hash": "e9fd2d8b3630481ed22bae0a56b9336e3edfd9182d338fe45a60a5bb84fc015c", "evidence_kind": "full_text_excerpt", "availability": "not_checked", "limited": false, "items": [{"origin": "source_excerpt", "evidence": "d Dream-7B dLLMs on math, exceeding LLaDA-8B by 10.76%\non MATH500 while staying below the autoregressive Qwen2.5-7B. On code,\nit improves over TraceRL by 4.20% on MBPP and 3.65% on HumanEval. The\nτ-budget decoder transfers training-free across LLaDA, Dream, and SDAR.\nThe source code is available at https://github.com/laolaorkkkkk/SLIM-RL\n.\n\n### 1 Introduction\n\nDiffusion Large Language Models (dLLMs) (Nie et al., 2026; Sahoo et al., 2024; Ye et al.,\n2025) generate text by iteratively denoising a masked sequence, refining many positions at\nonce instead of strictly left to right. Block-wise variants (Arriola et al., 2025; Cheng et al.,", "url": "https://github.com/laolaorkkkkk/SLIM-RL", "kind": "code", "span": [1571, 2211], "evidence_hash": "4c9ab90019cce5b03f367f6625d3e3a3a635123b4b2c063c0080c77618f7b268"}]}, "slug": "2607.00208-slim-rl-risk-budgeted-random-masking-rl-for-diffusion-llms-without-trajectory-slicing"}