A Vector Quantized Approach for Text to Speech Synthesis on Real-World Spontaneous Speech

Li-Wei Chen, Shinji Watanabe, Alexander Rudnicky

Introduction

Most state-of-the-art Text-to-Speech (TTS) systems are developed using pristine, lab-controlled datasets like LJSpeech or VCTK. While these models perform well on scripted speech, they often struggle with "in-the-wild" data—such as podcasts and YouTube videos—which contain background noise, filler words, and complex prosodic variations. Standard autoregressive models like Tacotron 2 frequently suffer from alignment failures when trained on such messy data, leading to unintelligible output or catastrophic silence during inference.

This paper introduces MQTTS (Multi-codebook Vector Quantized Text-to-Speech), a framework designed to bridge the gap between controlled-environment TTS and diverse, real-world spontaneous speech.

Methodology

MQTTS utilizes a two-stage generative process to handle the complexities of spontaneous audio:

1. Speech Quantization via VQ-VAE

Instead of predicting continuous mel-spectrograms, the model represents raw audio as a sequence of discrete tokens. The architecture employs a modified HiFi-GAN acting as a Vector Quantized Variational Autoencoder (VQ-VAE). To capture the rich nuances of human prosody, the authors utilize multiple codebook groups ($N=4$) rather than a single codebook, which was found insufficient for non-scripted speech.

Overview of the MQTTS architecture, illustrating the Encoder, multiple codebook groups, and the HiFi-GAN based decoder/discriminator.

2. Conditional Synthesis with Transformers

A transformer model predicts these discrete codes from phoneme sequences. Key components include:

  • Sub-decoder: A specialized module that models the joint distribution of multiple codes at each time step.
  • Monotonic Alignment: By enforcing a strict left-to-right attention mechanism, the model avoids the common pitfalls of skipping words or looping, which are prevalent when training on noisy data.
  • Clean Silence Prompting: During inference, prepending "clean silence" frames acts as a style prompt, encouraging the model to generate higher-quality speech despite its noisy training corpus.

Experimental Setup and Datasets

The model was trained on the GigaSpeech dataset, specifically the Podcast and YouTube subsets totaling 896 hours of diverse, "raw" audio. Evaluation was conducted using VoxCeleb to test the system's ability to handle a wide variety of speaker characteristics.

Results and Discussion

Alignment Stability

The primary advantage of MQTTS is its stability. While standard Transformer TTS models often fail to maintain a coherent relationship between text and speech during inference on noisy data, MQTTS maintains a clear, monotonic alignment.

The attention alignment map for MQTTS demonstrates a clear, monotonic diagonal, indicating stable speech synthesis compared to the failures seen in traditional models.

Performance Metrics

  • Intelligibility: MQTTS achieved a Word Error Rate (WER) of 22.2%, significantly outperforming VITS (24.8%) and standard Transformer TTS (82.6%).
  • Prosodic Diversity: Using the P-FID metric, MQTTS scored 6.21, nearly doubling the performance of VITS (12.04), indicating much more human-like variation in delivery.
  • Speaker Similarity: The model demonstrated superior zero-shot speaker transferability, effectively mimicking target voices from short reference clips.

Conclusion

MQTTS demonstrates that discrete representations act as a natural filter for noise, making them more resilient than continuous mel-spectrograms for real-world applications. While the model occasionally suffers from deletion errors in the presence of unannotated pauses, it represents a significant step forward in synthesizing spontaneous speech. Future work will explore integrating self-supervised representations like HuBERT and leveraging larger datasets via direct ASR integration.

Summary updated

BibTeX
@inproceedings{chen2023vector,
  author = {Li-Wei Chen and Shinji Watanabe and Alexander Rudnicky},
  title = {{A Vector Quantized Approach for Text to Speech Synthesis on Real-World Spontaneous Speech}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i11.26488},
}
Figure