Transfer Learning for Text Diffusion Models

Kehang Han, Kathleen Kenealy, Aditya Barua, Noah Fiedel, Noah Constant
1/30/2024
cs.CL

No confident code implementation found for this paper. 5 possible matches can be shown below.

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 5 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{han2024transfer,
  title  = {Transfer Learning for Text Diffusion Models},
  author = {Kehang Han and Kathleen Kenealy and Aditya Barua and Noah Fiedel and Noah Constant},
  year   = {2024},
  eprint = {2401.17181},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.17181v1}
}

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

Discussion