Skip to main content
QUICK REVIEW

[Paper Review] AR-Diffusion: Auto-Regressive Diffusion Model for Text Generation

Tong Wu, Zhihao Fan|arXiv (Cornell University)|May 16, 2023
Topic ModelingComputer Science18 citations
TL;DR

AR-Diffusion introduces an auto-regressive diffusion process with token-position dependent denoising steps, achieving faster decoding and improved quality across summarization, translation, and common-sense generation tasks.

ABSTRACT

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 imes\sim600 imes$ faster when achieving comparable results. Our code is available at https://github.com/microsoft/ProphetNet/tree/master/AR-diffusion.

Motivation & Objective

  • Motivate diffusion models to respect the inherent sequential dependency of natural language.
  • Develop an auto-regressive diffusion mechanism where token generation speed varies by position to capture left-to-right dependencies.
  • Introduce a multi-level diffusion strategy (sentence-level and token-level) with a dynamic movement speed to enhance generation quality.
  • Reduce decoding steps with a skipping mechanism to accelerate inference while maintaining or improving performance.

Proposed method

  • Adopt a multi-level diffusion strategy that assigns a sentence-level timestep randomly and computes token-level timesteps f(n,t) based on token position.
  • Define token movement speed v(n,t_i,t_{i+1}) as the difference in token-level timesteps to create left-to-right faster denoising for left tokens.
  • Train with an objective that combines conditional diffusion likelihood with a denoising consistency term via an encoder-decoder g_θ.
  • Use a skipping inference mechanism that selects a decreasing subsequence of sentence-level timesteps to significantly reduce inference steps.
  • Provide an anchor point (n_e, t_e) to guide token-level timestep scheduling and an affine (point-slope) function to compute f(n,t).
  • Decompose the reverse diffusion across tokens so each position conditions on its own history while sharing the forward diffusion structure.

Experimental results

Research questions

  • RQ1Can an auto-regressive diffusion process improve text generation quality by reintroducing sequential dependencies during diffusion denoising?
  • RQ2Does enforcing left-to-right movement speed via token-level diffusion timesteps improve coherence and factuality compared with uniform diffusion timesteps?
  • RQ3Can a skipping mechanism substantially accelerate diffusion-based decoding without sacrificing performance?
  • RQ4How does AR-Diffusion perform on summarization, translation, and common-sense generation tasks relative to existing diffusion and AR/NAR baselines?

Key findings

  • AR-Diffusion consistently outperforms existing diffusion language models and AR baselines in quality across tasks.
  • The model achieves significantly faster decoding, with claims of up to 100x to 600x speedups in certain settings while maintaining comparable results.
  • Across text summarization, machine translation, and common-sense generation, AR-Diffusion shows superior results to GENIE and diffusion-LM baselines.
  • Skipping inference together with token-level diffusion improves efficiency, maintaining strong performance even with very few inference steps.
  • Diversity of generated samples remains competitive, with AR-Diffusion achieving higher diversity than autoregressive models and comparable diversity to GENIE under certain settings.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.