Papers
arxiv:2502.09992

Large Language Diffusion Models

Published on Feb 14
· Submitted by akhaliq on Feb 17
#1 Paper of the day
Authors:
,
,
,
,
,
,

Abstract

Autoregressive models (ARMs) are widely regarded as the cornerstone of large language models (LLMs). We challenge this notion by introducing LLaDA, a diffusion model trained from scratch under the pre-training and supervised fine-tuning (SFT) paradigm. LLaDA models distributions through a forward data masking process and a reverse process, parameterized by a vanilla Transformer to predict masked tokens. By optimizing a likelihood bound, it provides a principled generative approach for probabilistic inference. Across extensive benchmarks, LLaDA demonstrates strong scalability, outperforming 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 establish diffusion models as a viable and promising alternative to ARMs, challenging the assumption that key LLM capabilities discussed above are inherently tied to ARMs.

Community

Question for the authors, how does this technique compare to Discrete Diffusion with Planned Denoising (https://arxiv.org/abs/2410.06264)?

·

Thank you for your question! The paper you mentioned, DDPO, requires training both the planner and the denoiser simultaneously, while LLaDA only needs to train a denoiser. This leads to differences in both the training and sampling processes of DDPO and LLaDA.

Will you release the pre training dataset in future as it will allow to reproduce and maybe help the community to train different ablations for comparisons ? Anyway thanks for wonderful work 🥳

·

Thank you for your attention. We have no plan to open-source the pre-training data of LLaDA. We have previously open-sourced the data, training code, and checkpoint for a work (https://arxiv.org/abs/2410.18514) related to masked diffusion models. However, in this work, the number of model parameters is smaller (just 1B), and the data quality is also relatively poor.

This is an automated message from the Librarian Bot. I found the following papers similar to this paper.

The following papers were recommended by the Semantic Scholar API

Please give a thumbs up to this comment if you found it helpful!

If you want recommendations for any Paper on Hugging Face checkout this Space

You can directly ask Librarian Bot for paper recommendations by tagging it in a comment: @librarian-bot recommend

Sign up or log in to comment

Models citing this paper 0

No model linking this paper

Cite arxiv.org/abs/2502.09992 in a model README.md to link it from this page.

Datasets citing this paper 0

No dataset linking this paper

Cite arxiv.org/abs/2502.09992 in a dataset README.md to link it from this page.

Spaces citing this paper 0

No Space linking this paper

Cite arxiv.org/abs/2502.09992 in a Space README.md to link it from this page.

Collections including this paper 13