TensorX
返回文献探索

Paper · arXiv 2401.17181

Transfer Learning for Text Diffusion Models

Kehang Han, Kathleen Kenealy, Aditya Barua, Noah Fiedel, Noah Constant

17 upvotesJanuary 30, 2024arXiv 预印本
AI 摘要

Text diffusion models show promise in code synthesis and extractive QA, outperforming autoregressive models in some cases and offering faster long text generation through lightweight adaptation.

text diffusionautoregressive (AR) decodinglarge language models (LLMs)AR2Diffdecoder-only modelprefix LM objectivemachine translationcode synthesisextractive QA

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.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号