A Multi-Stage Multi-Codebook VQ-VAE Approach to High-Performance Neural TTS

Haohan Guo, Feng-Long Xie, Frank K. Soong, Xixin Wu, Helen Meng

Abstract

We propose a Multi-Stage, Multi-Codebook (MSMC) approach to high performance neural TTS synthesis. A vector-quantized, variational autoencoder (VQ-VAE) based feature analyzer is used to encode Mel spectrograms of speech training data by down-sampling progressively in multiple stages into MSMC Representations (MSMCRs) with different time resolutions, and quantizing them with multiple VQ codebooks, respectively. Multi-stage predictors are trained to map the input text sequence to MSMCRs progressively by minimizing a combined loss of the reconstruction Mean Square Error (MSE) and "triplet loss”. In synthesis, the neural vocoder converts the predicted MSMCRs into final speech waveforms. The proposed approach is trained and tested with an English TTS database of 16 hours by a female speaker. The proposed TTS achieves an MOS score of 4.41, which outperforms the baseline with an MOS of 3.62. Compact versions of the proposed TTS with much less parameters can still preserve high MOS scores. Ablation studies show that both multiple stages and multiple codebooks are effective for achieving high TTS performance.

Introduction

In modern neural Text-to-Speech (TTS), the acoustic model typically predicts Mel spectrograms from text, which are then converted into audio by a vocoder. However, a significant gap often exists between predicted and ground-truth features, leading to artifacts or robotic-sounding speech. This paper addresses the fundamental trade-off between completeness (capturing all nuances for high-quality reconstruction) and compactness (ease of learning and prediction without overfitting).

While standard Mel spectrograms are complete, their high dimensionality makes them difficult to predict perfectly. Conversely, discrete representations like standard VQ-VAE are compact but often suffer from the "Cask Effect," where over-compression of a single attribute (like prosody) causes the overall audio quality to collapse.

Methodology: MSMC-VQ-VAE

The authors introduce the MSMC-VQ-VAE, a framework designed to balance these requirements through two primary components.

The Feature Analyzer

The feature analyzer encodes speech into multiple sequences at varying time resolutions. This hierarchical approach ensures that slow-moving prosodic features and rapid phonetic transitions are captured at appropriate scales.

The MSMC-VQ-VAE architecture for feature analysis.

Key innovations include:

  • Multi-Head Vector Quantization (MHVQ): Inspired by multi-head attention, this technique splits hidden vectors into sub-vectors, each quantized by its own codebook. This enables a richer representation without the training difficulties associated with a single, massive codebook.
  • Multi-Stage Architecture: By down-sampling progressively, the model avoids forcing disparate speech elements into a single temporal resolution.

The Multi-Stage Predictor

The acoustic model, based on FastSpeech, maps text to these discrete codes. To enhance robustness, the authors employ a combined loss function:

  • MSE Loss: Minimizes the distance between predicted vectors and target codebook vectors.
  • Triplet Loss: Pushes predicted vectors toward the correct codebook entry and away from incorrect ones, improving the reliability of discrete selection.

Experimental Setup

The system was evaluated using the Nancy dataset, a standard English single-speaker benchmark containing 16 hours of professional recordings. Audio was sampled at 16kHz and processed into 80-dimensional Mel spectrograms for VQ-VAE training.

Results and Discussion

The MSMC-TTS approach demonstrates significant improvements in both quality and efficiency.

Superior Quality and Robustness

The proposed model achieved a Mean Opinion Score (MOS) of 4.41, significantly outperforming the FastSpeech baseline (3.62) and nearing the quality of original recordings (4.50).

Performance comparison of MSMC-TTS vs. Mel-FS across varying model sizes.

A standout finding is the model's performance in "Lightweight TTS" scenarios. When the model size was reduced from 72.5 MB (M1) to just 3.12 MB (M3), the MSMC-TTS maintained a high MOS of 4.47. In contrast, the standard Mel-spectrogram baseline (Mel-FS) saw its quality plummet to 1.86 at its smallest size, rendering it nearly unintelligible. This suggests that discrete codes provide a much more stable target for small-scale models than continuous spectrograms.

Key Insights

  • Resolution Hierarchies: Multi-stage modeling mirrors human speech production and perception by separating fine details from broad intonation.
  • Codebook Efficiency: Multi-head quantization effectively increases representation richness without a proportional increase in parameters.
  • Ablation Success: Removing either the multi-stage structure or multi-head quantization resulted in noticeable degradation in prosody and pronunciation, validating the necessity of both components.

Conclusion and Future Work

The MSMC approach offers a robust path toward high-fidelity, efficient neural TTS. While currently focused on single-speaker English data, future work will explore scaling to multi-speaker environments and tonal languages. Additionally, integrating end-to-end duration prediction within the multi-stage framework could further streamline the synthesis process.

Summary updated

BibTeX
@inproceedings{guo2022multi,
  author = {Haohan Guo and Feng-Long Xie and Frank K. Soong and Xixin Wu and Helen Meng},
  title = {{A Multi-Stage Multi-Codebook VQ-VAE Approach to High-Performance Neural TTS}},
  booktitle = {Interspeech},
  year = {2022},
  url = {https://openreview.net/forum?id=xwbfWMWEh4l},
}
Figure