[Paper Review] SeqDiffuSeq: Text Diffusion with Encoder-Decoder Transformers
SeqDiffuSeq extends diffusion models to sequence-to-sequence text generation using an encoder-decoder Transformer, enhanced with self-conditioning and a token-level adaptive noise schedule, achieving competitive quality and faster inference than DiffuSeq across multiple tasks.
Diffusion model, a new generative modelling paradigm, has achieved great success in image, audio, and video generation. However, considering the discrete categorical nature of text, it is not trivial to extend continuous diffusion models to natural language, and text diffusion models are less studied. Sequence-to-sequence text generation is one of the essential natural language processing topics. In this work, we apply diffusion models to approach sequence-to-sequence text generation, and explore whether the superiority generation performance of diffusion model can transfer to natural language domain. We propose SeqDiffuSeq, a text diffusion model for sequence-to-sequence generation. SeqDiffuSeq uses an encoder-decoder Transformers architecture to model denoising function. In order to improve generation quality, SeqDiffuSeq combines the self-conditioning technique and a newly proposed adaptive noise schedule technique. The adaptive noise schedule has the difficulty of denoising evenly distributed across time steps, and considers exclusive noise schedules for tokens at different positional order. Experiment results illustrate the good performance on sequence-to-sequence generation in terms of text quality and inference time.
Motivation & Objective
- Extend continuous diffusion to sequence-to-sequence text generation with an encoder-decoder Transformer architecture.
- Improve generation quality via self-conditioning and a token-level adaptive noise schedule.
- Demonstrate competitive performance against AR/NAR baselines and DiffuSeq on multiple tasks.
- Show gains in inference speed and analyze the impact of proposed techniques.
Proposed method
- Model the forward diffusion of the output sequence tokens into continuous embeddings, independent of the input, using a Gaussian diffusion step with parameters from DiffusionLM.
- Use an encoder-decoder Transformer for the denoising function, where the encoder processes the input sequence and the decoder models the noisy output sequence with time-step conditioning.
- Incorporate self-conditioning by feeding previous denoised outputs into the current denoising step to reuse information from earlier predictions.
- Introduce an adaptive token-level noise schedule that maps per-token denoising difficulty (measured by training losses) to time-step noise levels via linear interpolation.
- Train with a variational bound objective; derive a simple loss that encourages the denoising prediction to recover the original embeddings, while promoting accurate decoding.
- Explore MBR-based decoding during inference to boost generation quality and analyze the trade-off with diversity.
Experimental results
Research questions
- RQ1Can a diffusion-based seq-to-seq model with encoder-decoder structure achieve competitive quality for text generation tasks against AR and NAR baselines?
- RQ2Does self-conditioning improve utilization of prior predictions during diffusion-based text generation?
- RQ3Does a token-level adaptive noise schedule yield better denoising difficulty alignment and generation quality than fixed schedules?
- RQ4How does SeqDiffuSeq compare in speed and diversity to DiffuSeq and other diffusion-based or non-diffusion baselines across multiple tasks?
Key findings
- SeqDiffuSeq yields competitive generation quality and diversity compared with AR and NAR baselines across five seq-to-seq tasks.
- Self-conditioning and the adaptive noise schedule both improve performance, and are complementary to each other.
- SeqDiffuSeq achieves substantially faster inference than DiffuSeq due to encoder reuse and sequence-level denoising, reducing runtime significantly.
- With MBR inference, SeqDiffuSeq can further improve quality on several tasks, though with trade-offs in diversity.
- Across translation tasks, SeqDiffuSeq generally lags behind autoregressive Transformers but surpasses several non-autoregressive methods, while showing favorable performance relative to DiffuSeq.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.