DiffuSIA: A Spiral Interaction Architecture for Encoder-Decoder Text Diffusion

Chao-Hong Tan, Jia-Chen Gu, Zhen-Hua LingarXiv 2023 · DOI

Abstract

Conditional text diffusion models typically rely on a static encoder to provide context to an iterative decoder. This "encode once, decode many" approach creates an information bottleneck where the encoder cannot adapt to the evolving denoised state of the target text. We introduce DiffuSIA, a Spiral Interaction Architecture that interleaves encoder and decoder layers to facilitate mutual perception. By establishing reciprocal information flows—Target-aware Conditional (TaC) and Condition-aware Target (CaT)—DiffuSIA allows for deep fusion between input context and generated text. Our results show state-of-the-art performance on tasks such as paraphrasing and text simplification, outperforming both autoregressive and existing diffusion-based baselines.

Introduction

Diffusion models have emerged as a powerful alternative to autoregressive models for generative tasks. However, applying them to discrete text sequences presents unique structural challenges. Current conditional text diffusion models generally adopt one of two architectures: single-encoder models (e.g., DiffuSeq) that concatenate input and target, or standard encoder-decoder models.

The primary limitation of standard encoder-decoder diffusion is that the encoding process is "blind" to the target text. While the decoder undergoes hundreds of denoising iterations, the encoder remains static. We argue that for complex sequence-to-sequence tasks, the encoder needs to perceive the target text as it evolves to provide more precise guidance.

Methods: Spiral Interaction Architecture

The core of DiffuSIA is the Spiral Interaction Architecture (SIA). Unlike linear architectures, SIA interleaves encoder and decoder layers to create a "spiral" of information exchange.

Reciprocal Information Flows

  1. Target-aware Conditional (TaC) flow: Encoder layers utilize cross-attention mechanisms to observe the current state of the target text within the decoder.
  2. Condition-aware Target (CaT) flow: Decoder layers utilize cross-attention to incorporate the updated, target-aware representations from the encoder.

This iterative exchange allows the model to refine its understanding of the relationship between the source and the noisy target at every layer.

The Spiral Interaction Architecture (SIA) interleaves encoder (CACE) and decoder (TD) layers to enable mutual perception between condition and target flows.

Additionally, the model employs Self-Conditioning, where the model's prediction of the clean text ($x_0$) from the previous timestep is fed back into the current step to stabilize and accelerate the denoising process.

Experimental Results

We evaluated DiffuSIA across four diverse datasets: QQP (paraphrasing), Wiki-Auto (text simplification), Quasar-T (question generation), and CCD (dialogue generation).

Performance Comparison

DiffuSIA achieved state-of-the-art results on several benchmarks. On the Wiki-Auto simplification task, it reached 37.03 BLEU, a significant improvement over the 36.22 achieved by DiffuSeq and nearly 10 points higher than standard Transformer models.

Main experimental results comparing DiffuSIA against autoregressive (GPT2, Transformer) and non-autoregressive (LevT, DiffuSeq) baselines across multiple metrics.

Key Insights

  • Ablation of Spiral Interaction: Removing the SI component led to a consistent performance drop (e.g., BLEU on QQP fell from 24.95 to 24.48), confirming that mutual perception is critical for high-quality generation.
  • Layer Symmetry: Optimal performance was observed when the number of encoder and decoder layers were balanced (e.g., 6 layers each).
  • The Pre-training Paradox: Initializing the encoder with pre-trained models like BERT or Sentence-BERT surprisingly degraded performance. This suggests a "representation gap" where standard discriminative embeddings do not align well with the specific requirements of the diffusion denoising process.

Conclusion

DiffuSIA demonstrates that breaking the static encoder bottleneck through spiral interaction significantly enhances text diffusion models. While the model excels at structured tasks like paraphrasing and simplification, challenges remain in open-domain dialogue and training efficiency. Future research will focus on bridging the representation gap with pre-trained knowledge and optimizing the computational cost of the iterative interaction.

Summary updated

BibTeX
@misc{tan2023diffusia,
  author = {Chao-Hong Tan and Jia-Chen Gu and Zhen-Hua Ling},
  title = {{DiffuSIA: A Spiral Interaction Architecture for Encoder-Decoder Text Diffusion}},
  year = {2023},
  eprint = {2305.11517},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.11517},
}
Figure