Large Language Diffusion Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Nie, Shen, Zhu, Fengqi, You, Zebin, Zhang, Xiaolu, Ou, Jingyang, Hu, Jun, Zhou, Jun, Lin, Yankai, Wen, Ji-Rong, Li, Chongxuan
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909854894915584
author Nie, Shen
Zhu, Fengqi
You, Zebin
Zhang, Xiaolu
Ou, Jingyang
Hu, Jun
Zhou, Jun
Lin, Yankai
Wen, Ji-Rong
Li, Chongxuan
author_facet Nie, Shen
Zhu, Fengqi
You, Zebin
Zhang, Xiaolu
Ou, Jingyang
Hu, Jun
Zhou, Jun
Lin, Yankai
Wen, Ji-Rong
Li, Chongxuan
contents The capabilities of large language models (LLMs) are widely regarded as relying on autoregressive models (ARMs). We challenge this notion by introducing LLaDA, a diffusion model trained from scratch under the pre-training and supervised fine-tuning (SFT) paradigm. LLaDA employs a forward data masking process and a reverse generation process, parameterized by a Transformer to predict masked tokens. It provides a principled generative approach for probabilistic inference by optimizing a likelihood lower bound. Across extensive benchmarks on general tasks, math, code, and so on, LLaDA demonstrates strong scalability and performs comparably to our self-constructed ARM baselines. Remarkably, LLaDA 8B is competitive with strong LLMs like LLaMA3 8B in in-context learning and, after SFT, exhibits impressive instruction-following abilities in case studies such as multi-turn dialogue. Moreover, LLaDA addresses the reversal curse, surpassing GPT-4o in a reversal poem completion task. Our findings show the promise of diffusion models for language modeling at scale and challenge the common assumption that core LLM capabilities discussed above inherently depend on ARMs. Project page and codes: https://ml-gsai.github.io/LLaDA-demo/.
format Preprint
id arxiv_https___arxiv_org_abs_2502_09992
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Large Language Diffusion Models
Nie, Shen
Zhu, Fengqi
You, Zebin
Zhang, Xiaolu
Ou, Jingyang
Hu, Jun
Zhou, Jun
Lin, Yankai
Wen, Ji-Rong
Li, Chongxuan
Computation and Language
Machine Learning
The capabilities of large language models (LLMs) are widely regarded as relying on autoregressive models (ARMs). We challenge this notion by introducing LLaDA, a diffusion model trained from scratch under the pre-training and supervised fine-tuning (SFT) paradigm. LLaDA employs a forward data masking process and a reverse generation process, parameterized by a Transformer to predict masked tokens. It provides a principled generative approach for probabilistic inference by optimizing a likelihood lower bound. Across extensive benchmarks on general tasks, math, code, and so on, LLaDA demonstrates strong scalability and performs comparably to our self-constructed ARM baselines. Remarkably, LLaDA 8B is competitive with strong LLMs like LLaMA3 8B in in-context learning and, after SFT, exhibits impressive instruction-following abilities in case studies such as multi-turn dialogue. Moreover, LLaDA addresses the reversal curse, surpassing GPT-4o in a reversal poem completion task. Our findings show the promise of diffusion models for language modeling at scale and challenge the common assumption that core LLM capabilities discussed above inherently depend on ARMs. Project page and codes: https://ml-gsai.github.io/LLaDA-demo/.
title Large Language Diffusion Models
topic Computation and Language
Machine Learning
url https://arxiv.org/abs/2502.09992