Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

AR-Diffusion: Auto-Regressive Diffusion Model for Text Generation

About

Diffusion models have gained significant attention in the realm of image generation due to their exceptional performance. Their success has been recently expanded to text generation via generating all tokens within a sequence concurrently. However, natural language exhibits a far more pronounced sequential dependency in comparison to images, and the majority of existing language models are trained with a left-to-right auto-regressive approach. To account for the inherent sequential characteristic of natural language, we introduce Auto-Regressive Diffusion (AR-Diffusion). AR-Diffusion ensures that the generation of tokens on the right depends on the generated ones on the left, a mechanism achieved through employing a dynamic number of denoising steps that vary based on token position. This results in tokens on the left undergoing fewer denoising steps than those on the right, thereby enabling them to generate earlier and subsequently influence the generation of tokens on the right. In a series of experiments on various text generation tasks, including text summarization, machine translation, and common sense generation, AR-Diffusion clearly demonstrated its superiority over existing diffusion language models and that it can be $100\times\sim600\times$ faster when achieving comparable results. Our code is available at https://github.com/microsoft/ProphetNet/tree/master/AR-diffusion.

Tong Wu, Zhihao Fan, Xiao Liu, Yeyun Gong, Yelong Shen, Jian Jiao, Hai-Tao Zheng, Juntao Li, Zhongyu Wei, Jian Guo, Nan Duan, Weizhu Chen• 2023

Related benchmarks

TaskDatasetResultRank
Commonsense ReasoningHellaSwag
Accuracy75.6
1891
Commonsense ReasoningWinoGrande
Accuracy72.2
1085
Code GenerationHumanEval--
1036
Question AnsweringARC Challenge
Accuracy46.7
906
Language UnderstandingMMLU
Accuracy48.9
825
ReasoningBBH
Accuracy36.9
672
Physical Commonsense ReasoningPIQA
Accuracy79.4
572
Common Sense ReasoningHellaSwag
Accuracy50.2
213
Scientific ReasoningGPQA
Accuracy24.2
75
Question AnsweringMMLU
Accuracy46.2
46
Showing 10 of 22 rows

Other info

Follow for update