Abstract
In order to efficiently transmit and store speech signals, speech codecs create a minimally redundant representation of the input signal which is then decoded at the receiver with the best possible perceptual quality. In this work we demonstrate that a neural network architecture based on VQ-VAE with a WaveNet decoder can be used to perform very low bit-rate speech coding with high reconstruction quality. A prosody-transparent and speaker-independent model trained on the LibriSpeech corpus coding audio at 1.6 kbps exhibits perceptual quality which is around halfway between the MELP codec at 2.4 kbps and AMR-WB codec at 23.05 kbps. In addition, when training on high-quality recorded speech with the test speaker included in the training set, a model coding speech at 1.6 kbps produces output of similar perceptual quality to that generated by AMR-WB at 23.05 kbps.
Introduction
Traditional speech codecs, such as those used in cellular networks and VoIP, typically rely on hand-engineered pipelines that model the physical properties of human speech production. While effective, these systems often struggle at very low bit-rates (below 3 kbps), resulting in audio that sounds "robotic" or muffled.
Information theory suggests that the "true" information rate of speech is less than 100 bps, yet modern high-quality systems typically require 10,000 to 20,000 bps. This massive gap suggests significant room for more efficient compression. This work aims to bridge this gap using deep generative models that learn redundancies in speech directly from raw data, rather than relying on human-designed rules.
Architecture and Methodology
The proposed system builds upon the Vector-Quantized Variational Autoencoder (VQ-VAE) architecture. This autoencoder compresses input into a discrete "bottleneck"—a series of codes from a learned dictionary—before a WaveNet decoder reconstructs the audio. To adapt this for speech coding, two key architectural innovations were introduced:
- Speaker Identity Separation: To ensure speaker-independence, explicit speaker labels were removed. Instead, a "global" latent code is generated by mean-pooling the encoder's output over the entire utterance. This captures static characteristics like the speaker's voice, while time-varying codes capture the linguistic content.
- Prosody Constraining: To prevent the loss of speech "melody" (pitch and timing), a secondary decoder is added in parallel during training. This decoder predicts the $f_0$ (fundamental frequency) track, forcing the latent representation to carry essential prosodic information used by the WaveNet decoder to generate natural-sounding speech.
Experimental Setup
The study utilized two primary datasets:
- LibriSpeech: A standard large-scale corpus containing ~1,000 hours of read English speech from over 2,300 speakers, used to test generalization to unseen voices.
- Studio Corpus: A proprietary dataset of 10 speakers recorded in high-quality studio conditions (~300 hours), used to evaluate performance under ideal conditions where the speaker might be known to the system.
Results and Analysis
The performance was evaluated using MUSHRA (Multiple Stimuli with Hidden Reference and Anchor) tests, where human listeners rate audio quality from 0 to 100.
Performance vs. Bit-rate
A VQ-VAE model at 1.6 kbps achieved a MUSHRA score roughly halfway between the MELP codec (2.4 kbps) and the high-end AMR-WB codec (23.05 kbps). The system remains effective down to 800 bps, though quality degrades significantly at 400 bps. By forcing the latent space to be discrete, the model naturally learns to ignore low-level noise and focus on high-level phonetic and prosodic structures.
Impact of Training Data and Speaker Knowledge
When the test speaker was included in the training set using high-quality studio data, the 1.6 kbps VQ-VAE produced audio nearly indistinguishable in quality from AMR-WB at 23.05 kbps—representing a 14x improvement in compression efficiency. This highlights the power of generative models like WaveNet to "imagine" fine details based on sparse instructions.
Speaker Similarity
Using Mean Opinion Scores (MOS), the results showed that the VQ-VAE model preserved speaker identity significantly better than existing low-bit-rate alternatives like MELP or Speex. This suggests that the latent representation successfully captures the nuances of individual voices through the global latent code.
Discussion and Future Work
While the results demonstrate the power of generative models in speech coding, several challenges remain:
- Computational Complexity: WaveNet decoders are computationally expensive, which may limit real-time deployment on mobile devices without further optimization.
- Speaker Variability: Although the model is speaker-independent, there is still variability in how well it preserves the identity of certain voices.
- Bit-rate Floor: The current architecture struggles to maintain high quality below 800 bps, suggesting that reaching the theoretical 100 bps limit will require even more efficient representations or different training objectives.
Summary updated