NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Meta-Diffu$B$: A Contextualized Sequence-to-Sequence Text Diffusion Model with Meta-Exploration

Yunyen Chuang, Hung-Min Hsu, Kevin Lin, Chen-Sheng Gu, Ling Zhen Li, Ray-I Chang, Hung-yi Lee

TL;DR

Diffusion models for text generation typically rely on fixed, one-size-fits-all noise schedules, ignoring the fact that some sentences are semantically harder to process than others. This paper introduces Meta-Diffu$B$, a novel framework that uses a reinforcement learning-inspired "scheduler" to dynamically tailor the noise added to each specific sentence. This contextualized approach achieves state-of-the-art results on multiple sequence-to-sequence tasks and can even be plugged into existing models to boost performance without retraining.

The Problem with Fixed Noise Schedules

Diffusion models generate data by taking a sample, gradually corrupting it with Gaussian noise (the forward process), and then learning to reverse this process to generate new data from pure noise (the denoising process). The amount of noise added at each step is controlled by a "noise schedule."

Recently, diffusion models have been adapted for Sequence-to-Sequence (Seq2Seq) text generation tasks like translation and summarization (e.g., DiffuSeq). However, existing S2S-Diffusion models use fixed mathematical functions (like a square root curve) or rigid, hand-crafted rules for their noise schedules. This is a major limitation because it ignores the semantic context of the text. A complex, difficult sentence might require a completely different noise schedule to train effectively compared to a simple, short sentence. The authors tackle this gap by creating a system that learns to apply contextualized noise based on the actual content of the input text.

Methods: The Scheduler-Exploiter Framework

To solve the rigid noise problem, the authors propose a Scheduler-Exploiter framework called Meta-Diffu$B$, inspired by a reinforcement learning concept called Meta-Exploration.

Comparison of previous fixed-noise S2S-Diffusion models and the proposed Meta-Diffu$B$ framework with a contextualized noise scheduler.
  1. The Scheduler ($B_\psi$): A lightweight Seq2Seq model (an LSTM) that looks at the conditional input sentence and decides how to schedule the noise. Instead of predicting raw, continuous noise values (which is hard to optimize), it outputs a series of binary "Meta-Instructions" (True or False). A "True" tells the system to skip to the next, higher noise level; a "False" tells it to maintain the current noise level.
  2. The Exploiter ($D_\theta$): This is the actual text generation model (a standard Transformer-based S2S-Diffusion model). It trains on the data corrupted by the custom noise schedule provided by the Scheduler.
  3. Meta-Exploration Training: The Scheduler is trained via Policy Gradients. Its "reward" (the Meta-Reward) is determined by how well the Exploiter model learns. If a specific noise schedule helps the Exploiter generate better text (measured by BLEU score improvements), the Scheduler updates its weights to favor that strategy in the future.

Key Insights and Ideas

  • Context is King: Tailoring noise to the specific semantic meaning of a sentence drastically improves both the quality and diversity of generated text compared to static mathematical curves.
  • A Counter-Intuitive Noise Strategy: When analyzing how the Scheduler learned to apply noise, the authors found a fascinating pattern: it applies less noise to harder sentences and more noise to easier ones. This likely prevents the forward diffusion process from completely destroying the delicate semantic structure of complex sentences, making them easier to reconstruct.
  • Plug-and-Play Capability: The Scheduler learns generalizable noise strategies. You can take a Scheduler trained on one dataset (e.g., Wiki-Auto) and plug it into a pre-trained diffusion model on a completely different dataset (e.g., Quora Question Pairs). It will still improve the model's inference performance without requiring any fine-tuning.

Key Results

The authors evaluated Meta-Diffu$B$ on four primary Seq2Seq benchmark datasets: Commonsense Conversation (CC), Quasar-T (QT), Wiki-Auto (WA), and Quora Question Pairs (QQP), alongside machine translation benchmarks.

BLEU score comparison across different candidate sizes on the QQP and WA datasets, showing Meta-Diffu$B$'s superiority.
  • State-of-the-Art Performance: Meta-Diffu$B$ outperformed existing S2S-Diffusion models (DiffuSeq, SeqDiffuSeq, Dinoiser) and fine-tuned pre-trained language models (GPT-2 base/large, Levenshtein Transformer) across all primary datasets.
  • Quantitative Gains: On the Wiki-Auto (WA) dataset, Meta-Diffu$B$ improved the BLEU score from 0.3622 (the DiffuSeq baseline) to 0.3877, and the BERTScore from 0.8126 to 0.8233.
  • Model-Agnostic Upgrades: When the Meta-Diffu$B$ scheduler was applied to other baseline architectures (like Dinoiser), it universally improved their BLEU and BERTScore metrics, proving it isn't just a quirk of one specific architecture.
  • Low Overhead: Despite adding a second model and a reinforcement learning loop, the computational overhead is minimal. It only requires a 2.2% increase in parameters, 5% more training time, and a negligible 0.5% increase in inference time compared to the base DiffuSeq model.

Limitations and Future Work

The authors note that the Meta-Exploration training process requires running parallel "exploration epochs" to gather rewards, which does slightly increase the overall computational intensity and training time compared to standard diffusion models.

Looking forward, the authors suggest that this contextualized noise scheduling approach isn't strictly limited to text. It has the potential to be adapted for other conditional diffusion models (like text-to-image or audio generation) where the input condition's complexity varies.

Summary updated

BibTeX
@inproceedings{chuang2024meta,
  author = {Yunyen Chuang and Hung-Min Hsu and Kevin Lin and Chen-Sheng Gu and Ling Zhen Li and Ray-I Chang and Hung-yi Lee},
  title = {{Meta-Diffu$B$: A Contextualized Sequence-to-Sequence Text Diffusion Model with Meta-Exploration}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=NTWXVvIXJM},
}
Figure