Abstract
In this report, we explore the potential for text diffusion to replace autoregressive (AR) decoding for the training and deployment of large language models (LLMs). We are particularly interested to see whether pretrained AR models can be transformed into text diffusion models through a lightweight adaptation procedure we call ``AR2Diff''. We begin by establishing a strong baseline setup for training text diffusion models. Comparing across multiple architectures and pretraining objectives, we find that training a decoder-only model with a prefix LM objective is best or near-best across several tasks. Building on this finding, we test various transfer learning setups for text diffusion models. On machine translation, we find that text diffusion underperforms the standard AR approach. However, on code synthesis and extractive QA, we find diffusion models trained from scratch outperform AR models in many cases. We also observe quality gains from AR2Diff -- adapting AR models to use diffusion decoding. These results are promising given that text diffusion is relatively underexplored and can be significantly faster than AR decoding for long text generation.
Community
I get so excited thinking abouting the possibility of diffusion based long-context code generation. It seems like it could be a match made in heaven, with error detection built in to the denoising stages. Now add a control net in to the mix to add new features 🙏 Imagine how fast we could build software when this is a reality. The average programmer could build an entire operating system and a full stack from scratch in a few hours
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
- SpacTor-T5: Pre-training T5 Models with Span Corruption and Replaced Token Detection (2024)
- Do Not (Always) Look Right: Investigating the Capabilities of Decoder-Based Large Language Models for Sequence Labeling (2024)
- DrBERT: Unveiling the Potential of Masked Language Modeling Decoder in BERT pretraining (2024)
- On the importance of Data Scale in Pretraining Arabic Language Models (2024)
- Tuning Language Models by Proxy (2024)
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
Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper