DiffusionBERT: Improving Generative Masked Language Models with Diffusion Models

13Citations
Citations of this article
86Readers
Mendeley users who have this article in their library.

Abstract

We present DiffusionBERT, a new generative masked language model based on discrete diffusion models. Diffusion models and many pre-trained language models have a shared training objective, i.e., denoising, making it possible to combine the two powerful models and enjoy the best of both worlds. On the one hand, diffusion models offer a promising training strategy that helps improve the generation quality. On the other hand, pre-trained denoising language models (e.g., BERT) can be used as a good initialization that accelerates convergence. We explore training BERT to learn the reverse process of a discrete diffusion process with an absorbing state and elucidate several designs to improve it. First, we propose a new noise schedule for the forward diffusion process that controls the degree of noise added at each step based on the information of each token. Second, we investigate several designs of incorporating the time step into BERT. Experiments on unconditional text generation demonstrate that DiffusionBERT achieves significant improvement over existing diffusion models for text (e.g., D3PM and Diffusion-LM) and previous generative masked language models in terms of perplexity and BLEU score. Promising results in conditional generation tasks show that DiffusionBERT can generate texts of comparable quality and more diverse than a series of established baselines.

Cite

CITATION STYLE

APA

He, Z., Sun, T., Tang, Q., Wang, K., Huang, X., & Qiu, X. (2023). DiffusionBERT: Improving Generative Masked Language Models with Diffusion Models. In Proceedings of the Annual Meeting of the Association for Computational Linguistics (Vol. 1, pp. 4521–4534). Association for Computational Linguistics (ACL). https://doi.org/10.18653/v1/2023.acl-long.248

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free