Abstract
WaveGrad 2 is an end-to-end, non-autoregressive text-to-speech (TTS) model that generates high-fidelity audio directly from phonemes using iterative refinement. By applying score matching (diffusion) principles, it eliminates the need for intermediate mel-spectrograms, simplifying the TTS pipeline while achieving audio quality that rivals state-of-the-art autoregressive systems.
Introduction: The Problem with Two-Stage Pipelines
Most modern neural TTS systems rely on "two-stage" pipelines. In the first stage, a model converts text into an intermediate representation, typically a mel-spectrogram. In the second stage, a "vocoder" (such as WaveNet or HiFi-GAN) converts that spectrogram into a raw audio waveform.
While effective, this approach introduces several challenges:
- Complexity: Managing and training two separate modules increases engineering overhead.
- Feature Bias: Mel-spectrograms are hand-chosen features that may not be the optimal bridge for every voice or acoustic environment.
- Error Propagation: Imperfections in the generated spectrogram are often amplified by the vocoder, leading to audible artifacts.
Existing end-to-end models often fall into two categories: autoregressive models, which are slow due to sample-by-sample generation, or models that still rely on spectral losses, keeping them tethered to spectrogram-like constraints. WaveGrad 2 addresses these issues by providing a truly end-to-end, non-autoregressive path from phonemes to raw audio samples.
Methods: Architecture and Score Matching
WaveGrad 2 integrates the principles of the original WaveGrad vocoder into a unified TTS architecture. The system is composed of three primary components:
- The Encoder: Based on the Tacotron 2 architecture, it transforms input phoneme sequences into abstract hidden representations.
- The Resampling Layer: Because phonemes occur at a much lower frequency than audio samples (e.g., 24,000 samples per second), the model employs Gaussian upsampling to stretch the encoder's output to the temporal scale of the target audio.
- The WaveGrad Decoder: This component utilizes iterative refinement. Starting from pure Gaussian noise, the decoder uses a score matching objective to "denoise" the signal over a series of steps (ranging from 50 to 1000), gradually recovering fine-grained acoustic details.
A key innovation is the model's training objective: it estimates the gradient of the log conditional density of the waveform. This allows WaveGrad 2 to effectively navigate the "one-to-many" mapping problem inherent in speech—where a single sentence can be naturally spoken in various ways—more robustly than standard regression losses.
Experimental Setup and Datasets
The researchers evaluated WaveGrad 2 using a massive proprietary dataset comprising 385 hours of high-quality English speech from 84 professional voice talents. For the core experiments, they focused on a single female speaker subset consisting of 39 hours of audio. Performance was measured using Mean Opinion Score (MOS) tests conducted with native English speakers on a 1,000-sentence test set.
Key Insights
- Eliminating Spectrograms: WaveGrad 2 demonstrates that intermediate spectrograms are not a prerequisite for high-fidelity synthesis. The model learns internal representations optimized specifically for waveform generation.
- The Speed-Quality Tradeoff: The iterative nature of the model allows for flexibility at inference time. Users can adjust the number of refinement steps based on their needs: fewer steps (e.g., 25–50) for fast previews or more steps (up to 1000) for studio-quality output.
- Encoder Scaling: Interestingly, increasing the size of the encoder (the text-understanding component) had a more significant impact on MOS than scaling the decoder.
- Training Efficiency: To manage the memory constraints of 24kHz audio, the model was trained on small, randomly sampled windows of audio rather than entire utterances.
Results and Performance
WaveGrad 2 achieved a Mean Opinion Score (MOS) of 4.43, coming remarkably close to the Ground Truth score of 4.58.
As shown in the results, WaveGrad 2 outperformed other non-autoregressive models like MelGAN (3.95) and GAN-TTS (4.34). It also nearly matched the performance of the industry-standard Tacotron 2 + WaveRNN pipeline (4.49). Furthermore, the model proved efficient; even when reducing the refinement process to just 50 steps, it maintained a high MOS of 4.32, making it viable for real-time applications.
Conclusion and Future Work
WaveGrad 2 represents a significant advancement in end-to-end TTS. By moving away from intermediate representations and utilizing iterative refinement, it simplifies the synthesis pipeline without sacrificing quality. Future research will focus on scaling this approach to multi-speaker datasets and further reducing inference latency through model distillation.
Summary updated