Introduction
Discrete speech units learned through self-supervised learning (SSL) are typically optimized for speech recognition. This research demonstrates that these same units can be repurposed for high-quality speech synthesis. By disentangling speech into three independent streams—content, pitch, and speaker identity—the authors develop a controllable resynthesis engine and an ultra-lightweight speech codec. This codec achieves superior quality at just 365 bits per second (bps), outperforming standard codecs like Opus at significantly higher bitrates.
Problem Statement
While SSL models like wav2vec 2.0 and HuBERT excel at extracting meaningful features from raw audio for Automatic Speech Recognition (ASR), their utility for speech synthesis remains under-explored. Specifically, the researchers investigate whether these discrete units can represent speech "content" while remaining "disentangled" from speaker identity and pitch (F0). Successful disentanglement enables controllable speech generation, voice conversion, and extreme audio compression.
Methodology
The proposed modular architecture consists of three parallel encoders and a single neural decoder:
- Content Encoder: Compares three SSL models: CPC, HuBERT, and VQ-VAE. Continuous outputs are discretized using k-means clustering.
- F0 (Pitch) Encoder: A dedicated VQ-VAE extracts and quantizes the fundamental frequency for fine-grained prosody control.
- Speaker Encoder: A pre-trained model extracts a "d-vector" global embedding to capture unique voice characteristics.
- Decoder: A modified HiFi-GAN generates raw waveforms directly from the concatenated discrete units and embeddings, bypassing traditional intermediate Mel-spectrograms.
Datasets
The models were trained and evaluated on several standard corpora:
- LibriLight / LibriSpeech: Up to 6,000 hours of unlabelled speech for pre-training SSL content encoders.
- LJ Speech: A single-speaker dataset for benchmarking basic resynthesis quality.
- VCTK: A multi-speaker dataset for evaluating voice conversion and codec performance.
Key Insights
- Disentanglement Trade-off: VQ-VAE excels at reconstruction but "leaks" speaker information into content units. Conversely, HuBERT and CPC provide superior disentanglement, making them better suited for tasks like voice conversion.
- HuBERT as the Optimal Model: The 50-unit version of HuBERT offers the best balance between intelligibility (low Word Error Rate) and bitrate efficiency.
- Direct Waveform Synthesis: High-quality speech can be generated by feeding discrete SSL units directly into a GAN-based decoder, proving that intermediate Mel-spectrograms are not strictly necessary.
Results
The study yields significant improvements in both compression and intelligibility:
- Extreme Compression: The HuBERT-based codec reaches a bitrate of 365 bps. Subjective MUSHRA tests show this model outperforms the Opus codec at 9,000 bps and LPCNet at 1,600 bps.
- Intelligibility: HuBERT-based resynthesis achieves Word Error Rates (WER) close to ground-truth recordings (e.g., 11.44% vs 4.32% on VCTK), significantly outperforming VQ-VAE (19.80%).
- Voice Conversion: Effective disentanglement allows for seamless voice conversion by swapping speaker embeddings during the decoding process.
Limitations and Future Work
While promising, the system has areas for improvement. The lookup-table method for speaker embeddings currently outperforms d-vectors but is limited to known speakers. Additionally, the model primarily relies on F0 for prosody; future iterations could incorporate features like duration and energy for more expressive speech. Finally, while 365 bps is highly efficient, a quality gap remains compared to uncompressed signals, which might be bridged by scaling the number of discrete units.
Summary updated