Recurrent-DLLM

zhongzero

Code for a paper showing that carrying the final hidden state forward between denoising steps improves masked diffusion language models, a technique the authors call cross-step recurrent refinement.

PythonCreated

What is zhongzero/Recurrent-DLLM?

This repository is the training and evaluation code for Cross-Step Recurrent Refinement, or CSRR, a method for diffusion language models. The README says CSRR carries the final transformer block's hidden state from one denoising step to the next, so each step builds on what the previous step learned rather than starting again. The release covers LLaDA-8B-Base and LLaDA-8B-Instruct, and the project website presents the paper's experiments on the Dream model.

The README gives instructions for evaluating a trained model, and the code is organised around those two models. The method is a change to how the denoising steps pass information forward, which is why the README describes it in terms of the hidden state rather than the training data.

It suits researchers working on diffusion language models who want to reproduce the CSRR results, and engineers comparing refinement methods across denoising steps.