VARA-TTS: Non-Autoregressive Text-to-Speech Synthesis based on Very Deep VAE with Residual Attention

Peng Liu, Yuewen Cao, Songxiang Liu, Na Hu, Guangzhi Li, Chao Weng, Dan Su

TL;DR

VARA-TTS is a novel non-autoregressive text-to-speech model that achieves a 16x inference speedup over traditional autoregressive models like Tacotron 2. By combining a Very Deep Variational Autoencoder (VDVAE) with a layer-wise residual attention mechanism, it iteratively refines text-to-audio alignment from coarse to fine resolutions. This approach eliminates the need for external duration labels or teacher-student distillation while significantly outperforming existing VAE-based parallel TTS systems.

What Problem Does This Paper Address?

Traditional text-to-speech (TTS) models generate acoustic features autoregressively (frame-by-frame). While this yields high-quality speech, it introduces two major bottlenecks: slow inference speeds that scale linearly with utterance length, and robustness issues like word skipping or repeating due to accumulated errors.

Non-autoregressive (non-AR) models generate audio frames in parallel, offering massive speedups. However, they struggle to learn the alignment between text tokens and acoustic frames without step-by-step guidance. Existing non-AR models typically rely on separate duration predictors trained via external forced aligners or knowledge distillation from pre-trained AR "teacher" models. This creates a training-inference mismatch and complicates the pipeline. VARA-TTS addresses this by learning parallel alignment end-to-end, directly from hierarchical latent variables.

Methods

The architecture of VARA-TTS relies on three core components:

  1. Hierarchical VDVAE: The model adopts a Very Deep VAE architecture to extract multi-resolution latent variables ($z$) from mel-spectrograms along a bottom-up path, which are then reconstructed via a top-down path.
  2. Residual Attention Module: Instead of computing alignment in a single shot, VARA-TTS uses the hierarchical latent variables as attention queries ($Q$). As shown in the overall architecture, each attention layer takes the coarse alignment from the previous layer ($A_{prev}$) as an extra input, iteratively refining the text-to-acoustic alignment from coarse to fine granularity. The very first layer uses a "nearly diagonal" matrix as an instructive bias.
  3. Joint Speaking Speed Predictor: To determine the number of acoustic frames needed at inference, the authors integrate a speed predictor that takes the mean-pooled latent variables of the coarsest VAE layer to predict an utterance-level speaking speed factor.
  4. Detailed KL Gain: Deep hierarchical VAEs often suffer from "posterior collapse," where higher layers ignore the latent variables. The authors introduce a targeted KL gain penalty to force all hierarchical layers to encode meaningful information.
Figure 1. Overall model architecture

For multi-speaker scenarios, the text encoder utilizes Feature-wise Linear Modulation (FiLM) to elegantly condition phoneme embeddings on speaker identities.

Figure 2. Network detail of text encoder

Datasets

The authors evaluated their model on two datasets:

  • LJSpeech: A standard English single-speaker dataset containing 13,100 speech samples (roughly 24 hours). The audio was up-sampled from 22.05 kHz to 24 kHz.
  • Internal Mandarin Corpus: A multi-speaker dataset containing 55 hours of high-quality speech from 7 female speakers, used to evaluate the model's multi-speaker capabilities.

Key Insights and Ideas

  • Latent Variables as Ideal Queries: Because VAE latent variables are lossy compressions of acoustic features, they are highly correlated with both the text and the final audio. This makes them far more effective queries for parallel attention than simple positional encodings.
  • Alignment as Iterative Refinement: Distributing the alignment burden across multiple attention layers—where each layer refines the last—makes parallel attention highly robust and stable.
  • End-to-End Speed Prediction: Jointly training the speaking speed predictor within the computational graph (rather than detaching it with a stop-gradient) drastically reduces speed prediction errors during inference.
  • Defeating Posterior Collapse: The proposed detailed KL gain mechanism successfully eliminates flat zones in the cumulative KL curve, ensuring that higher-level latent states actually contribute to the generation process.
Figure 3. Cumulative KL for different β and λ. The y-axis is the cumulative KL value per data point by layers and the y-axis is the layer index. Flat horizontal line segment indicates that posterior collapse occurs in the corresponding layers.

Key Results

  • 16x Speedup: Benefiting from its fully parallel architecture, VARA-TTS synthesizes audio 16 times faster than the autoregressive Tacotron 2 baseline when tested on an NVIDIA RTX 2080 Ti GPU.
  • Improved Quality over Non-AR Baselines: On the LJSpeech corpus, VARA-TTS achieved a Mean Opinion Score (MOS) of 3.88 ± 0.20, significantly outperforming its VAE-based non-AR predecessor, BVAE-TTS (3.33 ± 0.18), though still slightly trailing Tacotron 2 (4.11 ± 0.22).
  • Multi-Speaker Excellence: When trained on the larger, higher-quality Mandarin corpus, VARA-TTS achieved an excellent MOS of 4.49 ± 0.11, demonstrating its capability to scale effectively with more data.

Limitations and Future Work

  • Direct Waveform Generation Barriers: Although the architecture should theoretically support direct text-to-waveform synthesis, preliminary experiments failed to generate intelligible speech waveforms. This aligns with known difficulties in scaling VDVAEs to ultra-high-resolution spaces (like $1024 \times 1024$ images).
  • Data Hunger: The model showed a tendency to overfit on the smaller LJSpeech dataset compared to the larger Mandarin corpus, indicating that it requires substantial training data to achieve maximum naturalness.

Summary updated

BibTeX
@misc{liu2021vara,
  author = {Peng Liu and Yuewen Cao and Songxiang Liu and Na Hu and Guangzhi Li and Chao Weng and Dan Su},
  title = {{VARA-TTS: Non-Autoregressive Text-to-Speech Synthesis based on Very Deep VAE with Residual Attention}},
  year = {2021},
  eprint = {2102.06431},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2102.06431},
}
Figure