Non-Attentive Tacotron: Robust and Controllable Neural TTS Synthesis Including Unsupervised Duration Modeling

Jonathan Shen, Ye Jia, Mike Chrzanowski, Yu Zhang, Isaac Elias, Heiga Zen, Yonghui Wu

TL;DR

Non-Attentive Tacotron eliminates the fragile attention mechanism typically found in autoregressive text-to-speech (TTS) models, replacing it with an explicit duration predictor and a novel, differentiable "Gaussian upsampling" module. This architecture drastically improves speech synthesis robustness—virtually eliminating word skipping, loops, and babbling—while matching or exceeding the naturalness of traditional attention-based models. Furthermore, it enables fine-grained control over speech pace and can be trained completely unsupervised without explicit duration labels.

What Problem Does This Paper Address?

State-of-the-art autoregressive TTS models like Tacotron 2 generate highly natural speech, but they suffer from a critical flaw: fragile attention mechanisms. Because these models predict speech frame-by-frame and use attention to align text with audio, a single misprediction can cause catastrophic failures. These manifest as words being skipped, phrases repeating indefinitely, or the model failing to stop (babbling). While these failures are rare enough to miss during small-scale subjective listening tests, even a one-in-a-million failure rate is unacceptable for consumer-facing products.

Non-autoregressive models (like FastSpeech) solve this robustness issue by using explicit duration predictors to determine speech length ahead of time. However, they often suffer a drop in speech quality because they discard the autoregressive decoder, losing the frame-to-frame context needed to resolve acoustic ambiguities. This paper addresses the gap by combining the best of both worlds: the flawless robustness of an explicit duration predictor and the high fidelity of an autoregressive decoder.

Methods

The authors introduce Non-Attentive Tacotron, which modifies Tacotron 2 by swapping out its location-sensitive attention mechanism for a duration-based alignment framework.

Figure 1. Architecture of Non-Attentive Tacotron.

Key components include:

  • Explicit Duration Prediction: A module consisting of bi-directional LSTM layers that predicts the numeric duration (in seconds) for each input token/phoneme.
  • Gaussian Upsampling: Instead of simply repeating encoder frames to match the predicted duration (vanilla upsampling), this novel approach places a Gaussian distribution over the predicted center of each token. The decoder then takes a weighted sum of the encoder outputs based on these distributions. Because this process is fully differentiable, gradients from the spectrogram loss can flow directly back into the duration predictor.
  • Fine-Grained Variational Auto-Encoder (FVAE): To train the model when explicit phoneme-level duration labels are missing or scarce, the authors introduce an unsupervised/semi-supervised variant. The FVAE captures latent duration and prosody information directly from the target spectrogram during training, allowing the model to learn alignments without external supervision.

Datasets

  • Training Data: A large proprietary dataset containing 354 hours of speech across 66 speakers and 4 English accents (US, British, Australian, Nigerian).
  • Robustness Evaluation Sets: To properly test edge cases, the authors bypassed small standard test sets and evaluated their model on two massive corpora:
  • LibriTTS: 354K sentences from the LibriTTS training subsets.
  • web-long: 100K long, complex sentences mined from the web, including irregular text like programming code.
  • New Metrics: The paper introduces two automated, large-scale robustness metrics leveraging a pre-trained Automatic Speech Recognition (ASR) system:
  • Unaligned Duration Ratio (UDR): Measures over-generation (e.g., long pauses, babbling, repetitions).
  • ASR Word Deletion Rate (WDR): Measures under-generation (e.g., word skipping, early cut-offs).

Key Insights and Ideas

  • Differentiability Unlocks Unsupervised Learning: Moving from discrete frame repetition to a continuous, soft Gaussian upsampling mechanism is what makes unsupervised duration modeling possible. It allows the network to optimize alignments using only the final mel-spectrogram reconstruction loss.
  • Autoregressive Decoders are Essential for Quality: Through an ablation study replacing their autoregressive decoder with a non-autoregressive Transformer decoder, the authors proved that frame-level context is critical. Without it, naturalness scores dropped significantly.
  • Exposing the "One-in-a-Million" Failure: By evaluating on the grueling web-long dataset, the authors demonstrated that standard attention mechanisms break down frequently on irregular text, whereas duration-based architectures remain completely stable.

Key Results

Naturalness (MOS)

In subjective Mean Opinion Score (MOS) evaluations (where 5.0 is perfectly natural), Non-Attentive Tacotron outperformed the baselines and nearly matched human ground truth:

  • Ground Truth: 4.42 ± 0.04
  • Non-Attentive Tacotron (Gaussian Upsampling): 4.41 ± 0.04
  • Tacotron 2 (with GMM Attention): 4.37 ± 0.04
  • Non-Attentive Tacotron (Vanilla Upsampling): 4.13 ± 0.05

Robustness

On the difficult web-long dataset, the traditional Tacotron 2 model failed spectacularly, while the Non-Attentive Tacotron remained rock-solid:

  • Tacotron 2 (LSA attention): Suffered a massive 46.04% UDR (meaning nearly half the audio was unaligned babbling or silence) and a 4.4% WDR (word deletion).
  • Non-Attentive Tacotron (Supervised): Achieved a near-flawless 0.011% UDR and a 1.0% WDR.
  • Non-Attentive Tacotron (Unsupervised): Even without any training duration labels, it maintained a tiny 0.291% UDR and 1.9% WDR.

Pace Control

Because durations are explicitly predicted, users can scale the output globally or modify specific words. For example, a single word can be stretched to 1.5x its length to add emphasis without degrading the surrounding audio quality.

Limitations and Future Work

While the unsupervised and semi-supervised FVAE models perform remarkably well, manual inspection revealed they still carry a small risk of minor errors, such as slightly unclear pronunciations or unnatural pauses. Additionally, fine-grained pace control (word-by-word adjustments) is less natural in the unsupervised variant than in the fully supervised model due to less precise alignment boundaries. Future work will likely focus on tightening these unsupervised alignments.

Summary updated

BibTeX
@misc{shen2020non,
  author = {Jonathan Shen and Ye Jia and Mike Chrzanowski and Yu Zhang and Isaac Elias and Heiga Zen and Yonghui Wu},
  title = {{Non-Attentive Tacotron: Robust and Controllable Neural TTS Synthesis Including Unsupervised Duration Modeling}},
  year = {2020},
  eprint = {2010.04301},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2010.04301},
}
Figure