Diffusion Language Models Can Perform Many Tasks with Scaling and Instruction-Finetuning

Jiasheng Ye, Zaixiang Zheng, Yu Bao, Lihua Qian, Quanquan Gu
8/23/2023
cs.CLcs.AIcs.LG

No official code found. Best implementation: yegcjs/DiffusionLLM (84 stars, last commit 2024-01-24).

Abstract

The recent surge of generative AI has been fueled by the generative power of diffusion probabilistic models and the scalable capabilities of large language models. Despite their potential, it remains elusive whether diffusion language models can solve general language tasks comparable to their autoregressive counterparts. This paper demonstrates that scaling diffusion models w.r.t. data, sizes, and tasks can effectively make them strong language learners. We build competent diffusion language models at scale by first acquiring knowledge from massive data via masked language modeling pretraining thanks to their intrinsic connections. We then reprogram pretrained masked language models into diffusion language models via diffusive adaptation, wherein task-specific finetuning and instruction finetuning are explored to unlock their versatility in solving general language tasks. Experiments show that scaling diffusion language models consistently improves performance across downstream language tasks. We further discover that instruction finetuning can elicit zero-shot and few-shot in-context learning abilities that help tackle many unseen tasks by following natural language instructions, and show promise in advanced and challenging abilities such as reasoning.

View on arXivView PDF

Code Implementations(1)

yegcjs/DiffusionLLMCommunity100%

Code for paper "Diffusion Language Models Can Perform Many Tasks with Scaling and Instruction-Finetuning"

844C, C++Aug 18, 20232 years ago

Similar Papers

Cite this paper

@article{ye2023diffusion,
  title  = {Diffusion Language Models Can Perform Many Tasks with Scaling and Instruction-Finetuning},
  author = {Jiasheng Ye and Zaixiang Zheng and Yu Bao and Lihua Qian and Quanquan Gu},
  year   = {2023},
  eprint = {2308.12219},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.12219v3}
}

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

Discussion