Self Speculative Decoding for Diffusion Large Language Models

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Gao, Yifeng, Ji, Ziang, Wang, Yuxuan, Qi, Biqing, Xu, Hanlin, Zhang, Linfeng
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866912630147383296
author Gao, Yifeng
Ji, Ziang
Wang, Yuxuan
Qi, Biqing
Xu, Hanlin
Zhang, Linfeng
author_facet Gao, Yifeng
Ji, Ziang
Wang, Yuxuan
Qi, Biqing
Xu, Hanlin
Zhang, Linfeng
contents Diffusion-based Large Language Models (dLLMs) have emerged as a competitive alternative to autoregressive models, offering unique advantages through bidirectional attention and parallel generation paradigms. However, the generation results of current parallel decoding methods deviate from stepwise decoding, introducing potential performance degradation, which limits their practical deployment. To address this problem, we propose \textbf{S}elf \textbf{S}peculative \textbf{D}ecoding (SSD), a lossless inference acceleration method that leverages the dLLM itself as both speculative decoding drafter and verifier without auxiliary modules. SSD introduces a self-drafting mechanism where the model generates predictions for multiple positions, then verifies them through hierarchical verification trees in a single forward pass. Unlike traditional speculative decoding that requires separate draft models, SSD eliminates model redundancy and memory overhead by exploiting the dLLM's inherent parallel prediction capability for multiple positions. This self-speculative approach allows the model to progressively verify and accept multiple tokens in a single forward pass. Our experiments demonstrate that SSD achieves up to 3.46$\times$ speedup while keeping the output identical to stepwise decoding on open source models such as LLaDA and Dream. Code will be made publicly available on GitHub.
format Preprint
id arxiv_https___arxiv_org_abs_2510_04147
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Self Speculative Decoding for Diffusion Large Language Models
Gao, Yifeng
Ji, Ziang
Wang, Yuxuan
Qi, Biqing
Xu, Hanlin
Zhang, Linfeng
Computation and Language
Diffusion-based Large Language Models (dLLMs) have emerged as a competitive alternative to autoregressive models, offering unique advantages through bidirectional attention and parallel generation paradigms. However, the generation results of current parallel decoding methods deviate from stepwise decoding, introducing potential performance degradation, which limits their practical deployment. To address this problem, we propose \textbf{S}elf \textbf{S}peculative \textbf{D}ecoding (SSD), a lossless inference acceleration method that leverages the dLLM itself as both speculative decoding drafter and verifier without auxiliary modules. SSD introduces a self-drafting mechanism where the model generates predictions for multiple positions, then verifies them through hierarchical verification trees in a single forward pass. Unlike traditional speculative decoding that requires separate draft models, SSD eliminates model redundancy and memory overhead by exploiting the dLLM's inherent parallel prediction capability for multiple positions. This self-speculative approach allows the model to progressively verify and accept multiple tokens in a single forward pass. Our experiments demonstrate that SSD achieves up to 3.46$\times$ speedup while keeping the output identical to stepwise decoding on open source models such as LLaDA and Dream. Code will be made publicly available on GitHub.
title Self Speculative Decoding for Diffusion Large Language Models
topic Computation and Language
url https://arxiv.org/abs/2510.04147