Abstract
Spectrogram inversion is a critical yet computationally demanding task in audio synthesis. Traditional iterative methods like Griffin-Lim are slow, while high-quality autoregressive models like WaveNet suffer from sequential bottlenecks. This paper presents the Multi-head Convolutional Neural Network (MCNN), a non-autoregressive architecture designed for high-speed, high-quality audio reconstruction. By employing parallel transposed convolutional heads and a suite of perceptually-motivated loss functions, MCNN achieves synthesis speeds exceeding 300x real-time while outperforming traditional benchmarks in subjective quality.
Introduction
Converting a waveform into a magnitude spectrogram is a straightforward process, but the inverse operation is fundamentally ill-posed because phase information is discarded. Historically, the Griffin-Lim (GL) algorithm has been the standard for phase retrieval. However, GL is an iterative, sequential process that does not leverage the parallel processing power of modern GPUs and TPUs. While autoregressive neural networks have set new standards for audio quality, their sample-by-sample generation makes them computationally expensive for real-time deployment.
To address these challenges, we propose the Multi-head Convolutional Neural Network (MCNN). MCNN is designed for high "compute intensity"—maximizing operations per byte of data moved—allowing it to generate entire waveforms in a single forward pass without the latency of autoregression or the overhead of iterative refinement.
Architecture and Methodology
The core of the MCNN architecture is a set of parallel "heads" that process the input spectrogram simultaneously. Each head consists of a stack of transposed convolutional layers that perform nonlinear upsampling to reach the target waveform resolution.
Parallel Heads and Ensemble Learning
Rather than using a single deep network, MCNN utilizes multiple heads that learn to cooperate. This ensemble approach helps mitigate "checkerboard artifacts" often associated with transposed convolutions. Different heads specialize in capturing distinct frequency bands or temporal features, and their outputs are summed and passed through a scaled softsign activation function to produce the final waveform. This design yields a compute intensity of 61 FLOPs/byte, significantly higher than the 1.9 FLOPs/byte of Griffin-Lim, ensuring efficient hardware utilization.
Training Objectives
To ensure phase coherence and spectral accuracy, the model is trained using a combination of four specialized loss functions:
- Spectral Convergence: Focuses on reconstructing large-scale spectral components.
- Log-scale STFT-magnitude: Ensures the model fits small-amplitude details and nuances.
- Instantaneous Frequency: A smooth, phase-dependent metric that facilitates learning phase relationships.
- Weighted Phase Loss: Prioritizes phase accuracy in high-energy regions of the signal.
As shown in Figure 3, the inclusion of all four losses is vital for capturing the intricate harmonic structures of human speech, which are often blurred when using simpler loss functions.
Experimental Results
Speed and Efficiency
MCNN demonstrates massive performance gains over traditional methods. It generates audio at approximately 5.2 million samples per second, which is over 300x real-time. This represents a 20x to 60x speedup compared to Griffin-Lim, depending on the number of iterations required for convergence.
Quality and Generalization
In Mean Opinion Score (MOS) evaluations, MCNN achieved a score of 3.50, surpassing Griffin-Lim (150 iterations) at 3.41. The model also shows strong generalization capabilities. When tested on the LibriSpeech dataset (960 hours of speech), it maintained high speaker classification accuracy (76.8%), indicating that it successfully preserves the unique vocal characteristics, pitch, and accent of the original speakers. When fine-tuned on a single high-quality speaker, the MOS improved to 3.91, nearing the ground truth score of 4.28.
Conclusion
The Multi-head Convolutional Neural Network provides a highly efficient alternative to iterative and autoregressive spectrogram inversion. By leveraging parallel architectures and perceptually-motivated training, it achieves superior speed and quality. Future work will focus on improving performance in very high-frequency bands and integrating MCNN as a standard vocoder in end-to-end text-to-speech systems.
Summary updated