Revolutionizing Reinforcement Learning Framework for Diffusion Large Language Models

Yinjie Wang, Ling Yang, Bowen Li, Ye Tian, Ke Shen +1 more
9/8/2025
cs.CL

Official code: Gen-Verse/dLLM-RL (510 stars, Apache-2.0, last commit 2026-01-28).

Abstract

We propose TraceRL, a trajectory-aware reinforcement learning framework for diffusion language models (DLMs) that incorporates preferred inference trajectory into post-training, and is applicable across different architectures. Equipped with a diffusion-based value model that enhances training stability, we demonstrate improved reasoning performance on complex math and coding tasks. Besides, it can also be applied to adapt block-specific models to larger blocks, which improves sampling flexibility. Employing TraceRL, we derive a series of state-of-the-art diffusion language models, namely TraDo. Although smaller than 7B-scale AR models, TraDo-4B-Instruct still consistently outperforms them across complex math reasoning tasks. TraDo-8B-Instruct achieves relative accuracy improvements of 6.1% over Qwen2.5-7B-Instruct and 51.3% over Llama3.1-8B-Instruct on mathematical reasoning benchmarks. Through curriculum learning, we also derive the first long-CoT DLM, outperforming Qwen2.5-7B-Instruct on MATH500 with an 18.1% relative accuracy gain. To facilitate reproducible research and practical applications, we release a comprehensive open-source framework for building, training, and deploying diffusion LLMs across diverse architectures. The framework integrates accelerated KV-cache techniques and inference engines for both inference and reinforcement learning, and includes implementations of various supervised fine-tuning and RL methods for mathematics, coding, and general tasks. Code and Models: https://github.com/Gen-Verse/dLLM-RL

View on arXivView PDF

Code Implementations(1)

Gen-Verse/dLLM-RLOfficial100%
Apache-2.0

[ICLR 2026] Official code for TraceRL: Revolutionizing post-training for Diffusion LLMs, powering the SOTA TraDo series.

51043Python, Jupyter NotebookAug 26, 20258 months agoApache-2.0
code-generationdiffusion-language-modelslarge-language-modelsllm-reasoningmathmatical-reasoning+2 more

Similar Papers

Cite this paper

@article{wang2025revolutionizing,
  title  = {Revolutionizing Reinforcement Learning Framework for Diffusion Large Language Models},
  author = {Yinjie Wang and Ling Yang and Bowen Li and Ye Tian and Ke Shen and Mengdi Wang},
  year   = {2025},
  eprint = {2509.06949},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.06949v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.06949.svg)](https://codeofpaper.com/paper/2509.06949)

Discussion