Beyond Next-Token Prediction: A Performance Characterization of Diffusion versus Autoregressive Language Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Kim, Minseo, Hooper, Coleman, Tomar, Aditya, Xu, Chenfeng, Farajtabar, Mehrdad, Mahoney, Michael W., Keutzer, Kurt, Gholami, Amir
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911317915336704
author Kim, Minseo
Hooper, Coleman
Tomar, Aditya
Xu, Chenfeng
Farajtabar, Mehrdad
Mahoney, Michael W.
Keutzer, Kurt
Gholami, Amir
author_facet Kim, Minseo
Hooper, Coleman
Tomar, Aditya
Xu, Chenfeng
Farajtabar, Mehrdad
Mahoney, Michael W.
Keutzer, Kurt
Gholami, Amir
contents Large Language Models (LLMs) have achieved state-of-the-art performance on a broad range of Natural Language Processing (NLP) tasks, including document processing and code generation. Autoregressive Language Models (ARMs), which generate tokens sequentially conditioned on all previous tokens, have been the predominant paradigm for LLMs. While these models have achieved high accuracy across a range of downstream tasks, they exhibit low arithmetic intensity due to the inherent sequential dependency in next-token prediction. Recently, Diffusion Language Models (DLMs) have emerged as a promising alternative architecture. DLMs generate output tokens in parallel, mitigating the limitations of sequential decoding. However, the performance implications of DLMs relative to commonly deployed ARMs are not fully understood. In this work, we present a comprehensive study of the performance characteristics of ARMs and DLMs, combining theoretical analysis with empirical profiling to characterize the trade-offs between these approaches. We show that although DLMs can achieve higher arithmetic intensity than ARMs by leveraging parallelism across token positions, they fail to scale effectively with longer contexts. We then explore block-wise decoding for DLMs, which decouples arithmetic intensity from sequence length and enables better scaling to long contexts (similar to ARMs). We also examine batched inference and find that ARMs exhibit superior throughput as they benefit more from parallelism across sequences in the batch. Finally, we highlight opportunities for accelerating DLM inference, emphasizing that reducing the number of sampling steps is key for open-source DLMs to achieve lower latency relative to ARMs.
format Preprint
id arxiv_https___arxiv_org_abs_2510_04146
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Beyond Next-Token Prediction: A Performance Characterization of Diffusion versus Autoregressive Language Models
Kim, Minseo
Hooper, Coleman
Tomar, Aditya
Xu, Chenfeng
Farajtabar, Mehrdad
Mahoney, Michael W.
Keutzer, Kurt
Gholami, Amir
Machine Learning
Artificial Intelligence
Computation and Language
Large Language Models (LLMs) have achieved state-of-the-art performance on a broad range of Natural Language Processing (NLP) tasks, including document processing and code generation. Autoregressive Language Models (ARMs), which generate tokens sequentially conditioned on all previous tokens, have been the predominant paradigm for LLMs. While these models have achieved high accuracy across a range of downstream tasks, they exhibit low arithmetic intensity due to the inherent sequential dependency in next-token prediction. Recently, Diffusion Language Models (DLMs) have emerged as a promising alternative architecture. DLMs generate output tokens in parallel, mitigating the limitations of sequential decoding. However, the performance implications of DLMs relative to commonly deployed ARMs are not fully understood. In this work, we present a comprehensive study of the performance characteristics of ARMs and DLMs, combining theoretical analysis with empirical profiling to characterize the trade-offs between these approaches. We show that although DLMs can achieve higher arithmetic intensity than ARMs by leveraging parallelism across token positions, they fail to scale effectively with longer contexts. We then explore block-wise decoding for DLMs, which decouples arithmetic intensity from sequence length and enables better scaling to long contexts (similar to ARMs). We also examine batched inference and find that ARMs exhibit superior throughput as they benefit more from parallelism across sequences in the batch. Finally, we highlight opportunities for accelerating DLM inference, emphasizing that reducing the number of sampling steps is key for open-source DLMs to achieve lower latency relative to ARMs.
title Beyond Next-Token Prediction: A Performance Characterization of Diffusion versus Autoregressive Language Models
topic Machine Learning
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2510.04146