Introduction
Self-supervised learning (SSL) has revolutionized speech processing by enabling models to learn from massive amounts of unannotated audio. Models like HuBERT learn by predicting "hidden units" (teacher labels) for masked portions of an audio signal. However, these models suffer from a "speaker leakage" problem: their representations often retain significant information about who is speaking, even when downstream tasks only require what is being said.
While this might seem harmless, speaker leakage can hinder performance on content-centric downstream tasks like phone classification or automatic speech recognition (ASR), especially when the model encounters unseen speakers. Previous attempts to strip speaker information often accidentally destroyed linguistic content as well. ContentVec is a self-supervised speech representation model that explicitly disentangles speaker identity from linguistic content without sacrificing content integrity.
Methodology: Three Pillars of Disentanglement
ContentVec builds upon the HuBERT framework but introduces three novel disentanglement mechanisms to control the flow of information:
- Disentanglement in Teachers: To prevent the model from learning speaker patterns from its labels, the authors use an unsupervised voice conversion (VC) system. This system converts all training audio into the voice of a single "canonical" speaker before generating the teacher labels.
- Disentanglement in Students: The model employs a contrastive loss (inspired by SimCLR) to force the student network to produce similar representations for two different "views" of the same utterance. These views are created using random transformations—such as scaling formant frequencies and pitch (F0)—that alter speaker characteristics while preserving linguistic content.
- Speaker Conditioning: To further relieve the student network from encoding speaker information, a pre-trained speaker embedding is fed directly into the final predictor. This allows the predictor to use external speaker data to satisfy the teacher's requirements, freeing the main backbone to focus purely on content.
Datasets and Evaluation
The model was pre-trained on the standard LibriSpeech-960h corpus. Evaluation was conducted across several benchmarks:
- Zero-Resource Speech Challenges: For zero-shot content probing (ABX tests, lexical, and syntactic tasks).
- SUPERB Benchmark: A standard suite for evaluating speech representations across tasks like Phoneme Recognition (PR), Automatic Speech Recognition (ASR), and Keyword Spotting (KS).
- L2-ARCTIC: Specifically utilized for accent classification.
Key Insights and Results
A core hypothesis of ContentVec is the "Information Flow Perspective": speaker information should reach a minimum at the output of the representation network before being "re-injected" at the predictor stage to match the teacher labels. Ablation studies confirmed that removing any of the three modules (VC teachers, contrastive student loss, or speaker conditioning) significantly degraded performance, proving they work synergistically to squeeze speaker info out of the core representations.
Empirical results demonstrate that explicit disentanglement is highly effective:
- Drastic Speaker Suppression: ContentVec reduced Speaker Identification (SID) accuracy on the SUPERB benchmark from 73.7% (HuBERT) to just 37.7%. It similarly suppressed accent information.
- Superior Content Extraction: On the ABX (across-speaker) phonetic task, ContentVec achieved an error rate of 6.32, significantly outperforming HuBERT-iter (7.20) and Wav2Vec 2.0 (10.34).
- Downstream Gains: In the SUPERB benchmark, ContentVec outperformed all baselines in almost every content-related category, including Phoneme Recognition (PER of 0.049 vs. 0.054 for HuBERT) and ASR (WER of 5.7 vs. 6.4).
- Better Voice Conversion: When used as a backbone for voice conversion, ContentVec produced speech with higher speaker similarity to the target than baseline models. The decoder no longer had to "fight" against residual source speaker info in the content embedding.
Limitations and Future Work
While ContentVec represents a significant step forward, the authors note a very slight loss of content information during the disentanglement process. Additionally, the model requires careful hyperparameter tuning, particularly regarding the contrastive loss weight and the specific layer at which it is applied. Future work will focus on finding more robust hyperparameter selection methods and refining the voice conversion teachers to minimize artifacts that might confuse the student network.
Summary updated