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

ReFusion: A Diffusion Large Language Model with Parallel Autoregressive Decoding

Jia-Nan Li, Jian Guan, Wei Wu, Chongxuan Li

Abstract

Autoregressive models (ARMs) are the standard for Large Language Models (LLMs), but their sequential left-to-right generation creates a significant bottleneck for inference speed. While Masked Diffusion Models (MDMs) offer a parallelized alternative, they have historically suffered from high computational overhead—due to their inability to use Key-Value (KV) caching—and incoherent text generation.

To address these limitations, researchers have introduced ReFusion, a novel masked diffusion model that integrates sequence reorganization into a causal attention framework. By elevating parallel decoding from individual tokens to multi-token "slots" and reordering the sequence during generation, ReFusion achieves full KV cache reuse and superior coherence. It outperforms previous diffusion models by 34% in accuracy and 18× in speed, while also running 2.33× faster than state-of-the-art autoregressive models.

The Problem: The Autoregressive vs. Diffusion Trade-off

Traditionally, LLM inference relies on Autoregressive Models (ARMs). ARMs generate text one token at a time, ensuring high coherence and logical flow. However, this sequential process is inherently slow and difficult to parallelize.

Masked Diffusion Models (MDMs) were proposed to break this bottleneck by predicting multiple tokens simultaneously. Despite their theoretical speed, MDMs face two critical hurdles in practice:

  1. Architectural Bottlenecks: MDMs typically require bidirectional attention to look at both past and future tokens. This breaks compatibility with Key-Value (KV) caching, a crucial optimization used in ARMs to avoid recalculating hidden states for previously generated tokens. Without KV caching, MDMs often end up slower than ARMs.
  2. Intractable Learning Complexity: Predicting many independent tokens at once often leads to incoherence. If a model independently predicts "right" and "once" because both have high marginal probabilities, it might output the disjointed phrase "right once" instead of "at once" or "right now."

Methodology: Bridging the Gap with ReFusion

ReFusion bridges the gap between diffusion flexibility and autoregressive speed through two primary innovations: Slot Partitioning and Sequence Reorganization.

Slot Partitioning

Instead of treating every token as an independent unit, ReFusion groups consecutive tokens into slots. The model uses a diffusion-based selection process to decide which slots to fill next, but relies on autoregressive infilling within each slot. This hybrid approach captures critical local dependencies (ensuring coherent phrasing) while using diffusion to jump between larger semantic chunks in parallel.

Sequence Reorganization

The "secret sauce" of ReFusion is how it handles the generation buffer. During inference, as soon as a slot is generated, ReFusion moves it to the front of the sequence, ahead of the remaining masked tokens.

Sequence Reorganization and Causal Attention

Because the newly generated tokens now physically appear "in the past" relative to the masks, the model can utilize standard causal attention. The original sequence order is preserved using Rotary Position Embeddings (RoPE). This simple but profound reorganization allows ReFusion to unlock full KV cache reuse, drastically reducing computational overhead.

Hybrid Training Objective

ReFusion is trained to perform two tasks simultaneously: a standard autoregressive loss on permuted "clean" slots and a denoising loss on masked slots. This dual objective ensures the model is highly data-efficient and capable of both parallel selection and sequential infilling.

Experimental Setup

The model was initialized from a Qwen3-8B checkpoint and fine-tuned on a diverse 3.7M-sample dataset (~1.22B tokens) covering mathematics (MAmmoTH, OpenMathInstruct-2), coding (OpenCoder), and general instruction/reasoning (SmolLM 2, Tulu 3). Evaluation spanned seven rigorous benchmarks: MMLU-Pro, ARC-C, GSM8K, MATH, GPQA, HumanEval, and MBPP.

Key Results and Insights

ReFusion establishes a new state-of-the-art for non-autoregressive generation, proving that the traditional trade-off between ARM quality and MDM speed is a false dichotomy.

Performance vs. Throughput Comparison
  • Shattering Prior MDM Limits: ReFusion achieves a 34% average performance gain and is 18× faster than previous leading diffusion models like LLaDA and Dream.
  • Rivaling Strong ARMs: It surpasses its own strong baseline (Qwen3-8B) on math and coding tasks (e.g., scoring +3.68 points higher on GSM8K and MBPP) while maintaining an average 2.33× speedup.
  • Peak Efficiency: On the MBPP coding benchmark, ReFusion reached an impressive throughput of 92.09 tokens/sec, significantly outpacing both standard ARMs and accelerated diffusion variants.

Limitations and Future Work

While ReFusion marks a massive leap forward, it has limitations. Currently, the model suffers from Slot Immutability; once a slot is generated and finalized, it cannot be revised in later iterations. If the model makes an early mistake, the error propagates.

Future work will likely focus on "re-masking" or sub-slot refinement mechanisms to allow the model to dynamically correct its own errors. Additionally, scaling the ReFusion framework from the current 8B parameter count to much larger scales (70B+) remains an exciting open research direction.

Summary updated

BibTeX
@inproceedings{li2026refusion,
  author = {Jia-Nan Li and Jian Guan and Wei Wu and Chongxuan Li},
  title = {{ReFusion: A Diffusion Large Language Model with Parallel Autoregressive Decoding}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=LBtWaUc7FE},
}
Figure