Deliberation-Based Multi-Pass Speech Synthesis

Qingyun Dou, Xixin Wu, Moquan Wan, Yiting Lu, Mark J. F. GalesInterspeech 2021

Abstract

Sequence-to-sequence (seq2seq) models have achieved state-of-the-art performance in tasks like Neural Machine Translation (NMT) and Text-To-Speech (TTS). These models are typically trained with teacher forcing, which uses reference back-history to predict the next token. While efficient, this creates a discrepancy during inference when the model must rely on its own generated output, a phenomenon known as exposure bias. This paper investigates a deliberation-based multi-pass approach where an initial output sequence is refined in a second pass. While simple multi-pass schemes work for NMT, TTS requires a novel guided attention loss to prevent the model from ignoring the first-pass draft. Experimental results show that the proposed deliberation model significantly outperforms strong baselines in both translation quality and speech naturalness.

The Challenge of Exposure Bias

Modern seq2seq models are the backbone of technologies like virtual assistants and translation services. During training, these models benefit from teacher forcing, where the ground-truth "back-history" is provided to predict the next token. However, at inference time, the model must use its own previously generated (and potentially erroneous) outputs. This discrepancy, known as exposure bias, allows small errors to compound, leading to "drifting" or complete breakdowns in long sequences.

While techniques like scheduled sampling attempt to bridge this gap, they can be difficult to stabilize. This research explores deliberation, a process where the model generates an initial "draft" and then refines it in a subsequent pass to correct errors and improve quality.

Methodology: Two-Pass Deliberation

The authors propose a two-pass architecture designed to handle the complexities of both discrete (NMT) and continuous (TTS) sequences.

The proposed two-pass deliberation architecture for sequence-to-sequence modeling.

The system operates in two distinct stages:

  1. Pass 1: A standard single-pass seq2seq model generates a "free-running" first-pass output.
  2. Pass 2: A second model takes both the original input (text) and the first-pass output (e.g., a mel-spectrogram draft) to produce the final refined result.

Innovations for Speech Synthesis

Applying deliberation to TTS is significantly more challenging than NMT due to the high-dimensional and continuous nature of speech. To make deliberation viable for TTS, two key innovations were introduced:

  • Guided Attention Loss: Early experiments showed that the second-pass model often ignored the first-pass draft. To force the model to utilize this information, a loss term was added to encourage a diagonal alignment between the first and second-pass sequences.
  • Frame Stacking: To manage the extreme length of speech sequences, adjacent frames of the first-pass output were stacked (grouped by four). This reduces time resolution and makes it easier for the attention mechanism to learn meaningful alignments.

Experimental Results

The models were evaluated on the IWSLT 2015 English-to-French dataset for NMT and the LJ Speech dataset for TTS.

Neural Machine Translation

In NMT, the multi-pass system (referred to as FR-TF) achieved a BLEU score of 31.74, a notable improvement over the single-pass baseline of 31.10 and scheduled sampling (31.45). This confirms that the second pass effectively "deliberates" over the initial translation to fix errors.

Text-to-Speech Quality

The impact on TTS was even more pronounced. Human evaluators used the Mean Opinion Score (MOS) to rate audio naturalness.

Comparison of TTS performance across different models using MOS, GV, and DTW metrics.

As shown in the results, the deliberation model (FR-TF) achieved an MOS of 4.03, significantly higher than the baseline's 3.67. Furthermore, the model showed improved Global Variance (GV), reaching 0.0223—much closer to the reference 0.0235 than the baseline's 0.0171. This indicates that the deliberation process produces more expressive and natural-sounding speech, avoiding the "robotic" or flat prosody common in standard models.

Conclusion

This research demonstrates that deliberation-based multi-pass modeling is a powerful tool for improving seq2seq performance. By introducing Guided Attention Loss, the authors successfully adapted this technique for the challenging domain of speech synthesis. While the two-pass approach introduces some inference latency, the gains in naturalness and accuracy are substantial. Future work may involve applying these principles to non-autoregressive models to combine the quality of deliberation with the speed of parallel synthesis.

Summary updated

BibTeX
@inproceedings{dou2021deliberation,
  author = {Qingyun Dou and Xixin Wu and Moquan Wan and Yiting Lu and Mark J. F. Gales},
  title = {{Deliberation-Based Multi-Pass Speech Synthesis}},
  booktitle = {Interspeech},
  year = {2021},
  url = {https://openreview.net/forum?id=qrYpV_cMkPe},
}
Figure