arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2401.17181cs.CL
收藏

面向文本扩散模型的迁移学习

Transfer Learning for Text Diffusion Models

Google DeepMind(谷歌DeepMind);Google(谷歌)

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

AI总结:

本研究探索文本扩散替代大语言模型自回归解码的潜力,提出AR2Diff轻量适配方法,验证了前缀LM目标训练仅解码器模型的基线优势,证实扩散模型在代码合成等任务的性能提升与长文本生成速度优势。

摘要:

在本报告中,我们探究了文本扩散替代自回归(AR)解码以用于大语言模型(LLM)训练与部署的潜力。我们尤其关注预训练AR模型能否通过一种我们称为“AR2Diff”的轻量适配流程被转换为文本扩散模型。我们首先为文本扩散模型的训练建立了强基线设置。通过对比多种架构与预训练目标,我们发现采用前缀LM目标训练仅解码器模型在多项任务上表现最优或接近最优。基于这一发现,我们测试了文本扩散模型的多种迁移学习设置。在机器翻译任务上,我们发现文本扩散的表现不及标准AR方法。但在代码合成与抽取式QA任务上,我们发现从头训练的扩散模型在多数情况下优于AR模型。我们还观察到AR2Diff——即适配AR模型以使用扩散解码——带来了质量提升。鉴于文本扩散相关研究仍相对不足,且在长文本生成上可比AR解码快得多,这些结果颇具前景。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑