NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Large Language Models to Diffusion Finetuning

Edoardo Cetin, Tianyu Zhao, Yujin Tang

While modern autoregressive Large Language Models (LLMs) are incredibly capable, they often struggle with "System 2" reasoning—the slow, deliberate thinking required for complex, multi-step problems. Currently, the field attempts to solve this using Chain-of-Thought (CoT) prompting or complex search algorithms like Best-of-N. However, these methods are often tied to the length of the generated text and can be computationally inefficient or difficult to control.

In the visual domain, diffusion models excel at scaling test-time compute: the more steps you run, the better the image looks. Applying diffusion to the discrete world of language, however, has historically lagged behind autoregressive models. To bridge this gap, researchers have introduced L2D (LM to Diffusion), a finetuning method that transforms standard LLMs into diffusion models. This allows LLMs to scale their "test-time compute"—essentially enabling the model to "think harder" by increasing the number of diffusion steps during inference to achieve monotonically better performance on complex tasks.

The L2D Architecture and Methodology

The core innovation of L2D is treating a pre-trained language model as a single-step diffusion process and "unfolding" it into a multi-step process through targeted finetuning.

Architecture of the L2D method showing the parallel diffusion path.

Instead of modifying the original model weights, L2D introduces a Parallel Diffusion Path. This path is initialized with the original weights but adapted via Low-Rank Adaptation (LoRA). It processes a "diffusion token" containing partial information about the target. Crucially, L2D employs Late Integration, meaning the diffusion path only interacts with the main LM path at the very last layer. This architectural choice ensures that the model's original single-step generation capabilities remain perfectly intact.

Unlike standard image diffusion, which relies on Mean Squared Error (MSE), L2D utilizes standard cross-entropy loss, establishing a direct link between traditional language modeling and diffusion. During generation, the model uses Ordinary Differential Equation (ODE) solvers (such as Euler or Midpoint) to iteratively refine its prediction for the next token.

Key Insights and Performance Gains

The researchers trained L2D on a curated mixture of high-quality reasoning datasets (including subsets of SmolTalk like metamathqa-50k and numina-cot-100k) and evaluated it across a comprehensive suite of benchmarks including GSM8K, MATH, HumanEval, and MMLU.

Monotonic Scaling

One of the most striking findings is that accuracy increases monotonically with the number of diffusion steps. In standard language modeling, more compute usually means generating more tokens; with L2D, more compute means deeper refinement of the same token.

Average score increases monotonically with the number of L2D inference steps.

The L2D method demonstrated significant improvements across various model families. For instance, using Llama 3.2 1B Instruct, the average score across all tasks jumped from a baseline of 28.54 to 35.50—a 24% relative improvement. On the challenging MATH benchmark, the 1B model improved from 10.00 to 17.18, and on HumanEval (coding), it rose from 45.26 to 47.80.

Zero-Cost Preservation and Adaptive Compute

Because of the late integration and path weighting, at $t=0$ (the start of the process), the model behaves exactly like the original base LM. Users get the benefits of diffusion without "breaking" the base model's intuitive knowledge.

Furthermore, by utilizing adaptive ODE solvers, the model can autonomously decide to spend more steps on "hard" tokens and fewer on "easy" ones. This allowed the 1B model to outperform a fixed 127-step schedule while using fewer steps on average, proving the model can effectively "know when to think."

Task-Specific Steering

By applying Classifier-Free Guidance (CFG), the model can be steered toward specific domains like "math-mode" or "coding-mode" at inference time without any further training, significantly boosting performance on those specific tasks.

Limitations and Future Directions

While L2D offers a powerful new paradigm, it is not without limitations. It requires multiple forward passes of the diffusion path for every single token generated, introducing inference overhead compared to standard autoregressive sampling. Additionally, operating within a continuous diffusion framework means the model loses direct access to the "ground-truth" confidence scores (logits) that some traditional sampling methods rely on.

Importantly, L2D is orthogonal to search-based methods like beam search. Combining L2D with traditional search yields the highest overall scores, suggesting these two approaches to scaling compute are highly complementary. Future work may explore combining L2D with Reinforcement Learning (RL) to further enhance the model's self-correction and reasoning logic, pushing the boundaries of what small, efficient models can achieve.

Summary updated

BibTeX
@inproceedings{cetin2025large,
  author = {Edoardo Cetin and Tianyu Zhao and Yujin Tang},
  title = {{Large Language Models to Diffusion Finetuning}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=6WBca6adox},
}
Figure