ReFusion: A Diffusion Large Language Model with Parallel Autoregressive Decoding

Jia-Nan Li, Jian Guan, Wei Wu, Chongxuan Li
12/15/2025
cs.CLcs.AIcs.LG

No official code found. Best implementation: ML-GSAI/ReFusion (63 stars, last commit 2025-12-26).

Abstract

Autoregressive models (ARMs) are hindered by slow sequential inference. While masked diffusion models (MDMs) offer a parallel alternative, they suffer from critical drawbacks: high computational overhead from precluding Key-Value (KV) caching, and incoherent generation arising from learning dependencies over an intractable space of token combinations. To address these limitations, we introduce ReFusion, a novel masked diffusion model that achieves superior performance and efficiency by elevating parallel decoding from the token level to a higher slot level, where each slot is a fixed-length, contiguous sub-sequence. This is achieved through an iterative ``plan-and-infill'' decoding process: a diffusion-based planning step first identifies a set of weakly dependent slots, and an autoregressive infilling step then decodes these selected slots in parallel. The slot-based design simultaneously unlocks full KV cache reuse with a unified causal framework and reduces the learning complexity from the token combination space to a manageable slot-level permutation space. Extensive experiments on seven diverse benchmarks show that ReFusion not only overwhelmingly surpasses prior MDMs with 34% performance gains and an over 18$\times$ speedup on average, but also bridges the performance gap to strong ARMs while maintaining a 2.33$\times$ average speedup.

View on arXivView PDF

Code Implementations(1)

ML-GSAI/ReFusionCommunity65%

[ICLR 2026] Official PyTorch implementation for "ReFusion: A Diffusion Large Language Model with Parallel Autoregressive Decoding"

636Shell, PythonDec 12, 20259 months ago

Similar Papers

Cite this paper

@article{li2025refusion,
  title  = {ReFusion: A Diffusion Large Language Model with Parallel Autoregressive Decoding},
  author = {Jia-Nan Li and Jian Guan and Wei Wu and Chongxuan Li},
  year   = {2025},
  eprint = {2512.13586},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.13586v1}
}

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/2512.13586.svg)](https://codeofpaper.com/paper/2512.13586)

Discussion