Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Gong, Shansan, Agarwal, Shivam, Zhang, Yizhe, Ye, Jiacheng, Zheng, Lin, Li, Mukai, An, Chenxin, Zhao, Peilin, Bi, Wei, Han, Jiawei, Peng, Hao, Kong, Lingpeng
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:https://arxiv.org/abs/2410.17891
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866908387104522240
author Gong, Shansan
Agarwal, Shivam
Zhang, Yizhe
Ye, Jiacheng
Zheng, Lin
Li, Mukai
An, Chenxin
Zhao, Peilin
Bi, Wei
Han, Jiawei
Peng, Hao
Kong, Lingpeng
author_facet Gong, Shansan
Agarwal, Shivam
Zhang, Yizhe
Ye, Jiacheng
Zheng, Lin
Li, Mukai
An, Chenxin
Zhao, Peilin
Bi, Wei
Han, Jiawei
Peng, Hao
Kong, Lingpeng
contents Diffusion Language Models (DLMs) have emerged as a promising new paradigm for text generative modeling, potentially addressing limitations of autoregressive (AR) models. However, current DLMs have been studied at a smaller scale compared to their AR counterparts and lack fair comparison on language modeling benchmarks. Additionally, training diffusion models from scratch at scale remains challenging. Given the prevalence of open-source AR language models, we propose adapting these models to build text diffusion models. We demonstrate connections between AR and diffusion modeling objectives and introduce a simple continual pre-training approach for training diffusion models. Through systematic evaluation on language modeling, reasoning, and commonsense benchmarks, we show that we can convert AR models ranging from 127M to 7B parameters (GPT2 and LLaMA) into diffusion models DiffuGPT and DiffuLLaMA, using less than 200B tokens for training. Our experimental results reveal that these models outperform earlier DLMs and are competitive with their AR counterparts. We release a suite of DLMs (127M-355M-7B) capable of generating fluent text, performing in-context learning, filling in the middle without prompt re-ordering, and following instructions https://github.com/HKUNLP/DiffuLLaMA.
format Preprint
id arxiv_https___arxiv_org_abs_2410_17891
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Scaling Diffusion Language Models via Adaptation from Autoregressive Models
Gong, Shansan
Agarwal, Shivam
Zhang, Yizhe
Ye, Jiacheng
Zheng, Lin
Li, Mukai
An, Chenxin
Zhao, Peilin
Bi, Wei
Han, Jiawei
Peng, Hao
Kong, Lingpeng
Computation and Language
Diffusion Language Models (DLMs) have emerged as a promising new paradigm for text generative modeling, potentially addressing limitations of autoregressive (AR) models. However, current DLMs have been studied at a smaller scale compared to their AR counterparts and lack fair comparison on language modeling benchmarks. Additionally, training diffusion models from scratch at scale remains challenging. Given the prevalence of open-source AR language models, we propose adapting these models to build text diffusion models. We demonstrate connections between AR and diffusion modeling objectives and introduce a simple continual pre-training approach for training diffusion models. Through systematic evaluation on language modeling, reasoning, and commonsense benchmarks, we show that we can convert AR models ranging from 127M to 7B parameters (GPT2 and LLaMA) into diffusion models DiffuGPT and DiffuLLaMA, using less than 200B tokens for training. Our experimental results reveal that these models outperform earlier DLMs and are competitive with their AR counterparts. We release a suite of DLMs (127M-355M-7B) capable of generating fluent text, performing in-context learning, filling in the middle without prompt re-ordering, and following instructions https://github.com/HKUNLP/DiffuLLaMA.
title Scaling Diffusion Language Models via Adaptation from Autoregressive Models
topic Computation and Language
url https://arxiv.org/abs/2410.17891