Abstract
We present a novel high-fidelity real-time neural vocoder called VocGAN. A recently developed GAN-based vocoder, MelGAN, produces speech waveforms in real-time. However, it often produces a waveform that is insufficient in quality or inconsistent with acoustic characteristics of the input mel spectrogram. VocGAN is nearly as fast as MelGAN, but it significantly improves the quality and consistency of the output waveform. VocGAN applies a multi-scale waveform generator and a hierarchically-nested discriminator to learn multiple levels of acoustic properties in a balanced way. It also applies the joint conditional and unconditional objective, which has shown successful results in high-resolution image synthesis. In experiments, VocGAN synthesizes speech waveforms 416.7x faster on a GTX 1080Ti GPU and 3.24x faster on a CPU than real-time. Compared with MelGAN, it also exhibits significantly improved quality in multiple evaluation metrics including mean opinion score (MOS) with minimal additional overhead. Additionally, compared with Parallel WaveGAN, another recently developed high-fidelity vocoder, VocGAN is 6.98x faster on a CPU and exhibits higher MOS.
Introduction
In Text-to-Speech (TTS) systems, the vocoder is responsible for converting abstract acoustic features, such as mel spectrograms, into audible waveforms. While autoregressive models like WaveNet achieve high naturalness, their sequential generation process is too slow for real-time use. Recent GAN-based models like MelGAN and Parallel WaveGAN have addressed speed concerns but often suffer from "metallic" artifacts or poor acoustic consistency with the input spectrogram.
VocGAN addresses these limitations by providing a high-fidelity solution that remains efficient enough for real-time performance on standard CPUs. It achieves this through a novel hierarchically-nested adversarial network that ensures both high-quality audio and strict adherence to input acoustic features.
Architecture and Methodology
VocGAN builds upon the lightweight foundation of MelGAN but introduces several structural innovations to enhance fidelity and consistency.
Multi-scale Waveform Generator
Unlike standard generators that only produce a final high-resolution output, VocGAN’s generator produces "side outputs" at multiple lower resolutions (1/2, 1/4, 1/8, and 1/16 of the target sampling rate). This hierarchical approach forces the model to learn acoustic properties at various levels of granularity, balancing high-frequency details with low-frequency structures.
Hierarchically-nested JCU Discriminator
The model employs a suite of discriminators, each operating at a different resolution. A key innovation is the Joint Conditional and Unconditional (JCU) loss. The discriminator evaluates not only the realism of the audio (unconditional) but also its alignment with the input mel spectrogram (conditional).
Additional Enhancements
- Skip Connections: Mel spectrogram features are fed directly into intermediate up-sampling blocks to maintain input fidelity.
- Multi-resolution STFT Loss: This auxiliary loss stabilizes training by measuring spectral differences across multiple window sizes.
Experimental Results
The researchers evaluated VocGAN on the KSS (Korean) and LJSpeech (English) datasets.
Performance and Quality
VocGAN demonstrates exceptional efficiency, running 416.7x faster than real-time on a GPU and 3.24x faster than real-time on a single CPU core. In subjective Mean Opinion Score (MOS) tests, VocGAN achieved a score of 4.20, significantly outperforming MelGAN (3.89) and Parallel WaveGAN (4.09).
Acoustic Consistency
Objective metrics confirm that VocGAN drastically reduces pitch error (F0 RMSE) and spectral distortion (MCD) compared to MelGAN. The JCU loss acts as a critical mechanism for preventing the generator from "drifting" away from the input pitch and characteristics.
Conclusion
VocGAN represents a significant step forward in real-time speech synthesis. By improving objective functions and structural hierarchy rather than simply increasing model size, it achieves superior quality to Parallel WaveGAN while remaining fast enough for CPU-based production environments. Future work includes integrating VocGAN with feed-forward acoustic models like FastSpeech for fully end-to-end, high-speed TTS pipelines.
Summary updated