[Paper Review] DiffuSeq-v2: Bridging Discrete and Continuous Text Spaces for Accelerated Seq2Seq Diffusion Models
DiffuSeq-v2 accelerates sequence-to-sequence text generation by introducing a learned soft absorbing state that bridges discrete and continuous text spaces, enabling faster training convergence and 800x faster sampling via DPM-solver++ without sacrificing quality. The method aligns training and inference through discrete noise injection, eliminating the need for MBR decoding.
Diffusion models have gained prominence in generating high-quality sequences of text. Nevertheless, current approaches predominantly represent discrete text within a continuous diffusion space, which incurs substantial computational overhead during training and results in slower sampling speeds. In this paper, we introduce a soft absorbing state that facilitates the diffusion model in learning to reconstruct discrete mutations based on the underlying Gaussian space, thereby enhancing its capacity to recover conditional signals. During the sampling phase, we employ state-of-the-art ODE solvers within the continuous space to expedite the sampling process. Comprehensive experimental evaluations reveal that our proposed method effectively accelerates the training convergence by 4x and generates samples of similar quality 800x faster, rendering it significantly closer to practical application. \footnote{The code is released at \url{https://github.com/Shark-NLP/DiffuSeq}
Motivation & Objective
- To address the slow training and sampling speeds of continuous diffusion models in text generation.
- To close the distribution gap between training and inference stages in diffusion-based Seq2Seq models.
- To accelerate sampling without relying on MBR decoding by aligning discrete and continuous diffusion processes.
- To integrate state-of-the-art ODE solvers like DPM-solver++ into text diffusion models for faster inference.
- To improve model convergence and generation quality through joint denoising of continuous and discrete noise sources.
Proposed method
- Introduces a learned soft absorbing state that is injected into the sequence during training to simulate discrete token changes.
- Uses a time-dependent ratio to randomly replace continuous token embeddings with the soft absorbing state, creating a hybrid noise schedule.
- Employs joint denoising of both Gaussian noise and discrete absorbing state perturbations during training to enhance reconstruction of discrete signals.
- Adapts DPM-solver++ for text generation, enabling high-quality sampling in as few as 2 steps.
- Removes the clamp operation during inference by aligning training and sampling via discrete noise injection, reducing rounding errors.
- Uses FP16 mixed-precision training to accelerate convergence and reduce total training time by over 4x.
Experimental results
Research questions
- RQ1Can a learned soft absorbing state effectively bridge the gap between discrete and continuous text spaces in diffusion models?
- RQ2Does injecting discrete noise during training improve alignment between training and inference, reducing the need for MBR decoding?
- RQ3Can state-of-the-art ODE solvers like DPM-solver++ be effectively applied to text diffusion models to accelerate sampling?
- RQ4To what extent does joint denoising of continuous and discrete noise improve training convergence and generation quality?
- RQ5How does the hyperparameter governing the absorbing state ratio affect model performance and stability?
Key findings
- DiffuSeq-v2 achieves 4x faster training convergence compared to the original DiffuSeq by using joint denoising and FP16 training.
- The method generates high-quality samples 800x faster than DiffuSeq with MBR decoding, achieving comparable BLEU scores in just 2 sampling steps.
- Sampling with DPM-solver++ at 2 steps outperforms DiffuSeq with MBR decoding (10x sampling) in both speed and quality.
- Removing the clamp operation during inference has minimal impact on performance due to improved training-inference alignment via the soft absorbing state.
- The ablation study confirms that the soft absorbing state is critical—removing it during inference causes a 14.9% BLEU drop, demonstrating its role in alignment.
- The optimal absorbing state ratio γ = 0.5 balances performance, as extreme values degrade generation quality.
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.