Improving Self-Supervised Speech Representations by Disentangling Speakers

Kaizhi Qian, Yang Zhang, Heting Gao, Junrui Ni, Cheng-I Lai, David D. Cox, Mark Hasegawa-Johnson, Shiyu Chang · DOI

Introduction

Self-supervised learning (SSL) frameworks like HuBERT and wav2vec 2.0 have revolutionized speech processing by learning robust representations from unlabeled audio. However, these representations typically suffer from "entanglement," where phonetic content (what is being said) and speaker identity (who is saying it) are fused into the same vector. For downstream tasks like Automatic Speech Recognition (ASR), speaker identity acts as noise. ContentVec addresses this by explicitly disentangling these components, aiming to strip away speaker information while preserving linguistic integrity.

Methodology: The ContentVec Framework

ContentVec builds upon the HuBERT architecture, which utilizes a teacher-student paradigm. To achieve disentanglement, the authors introduce three primary mechanisms across the pipeline:

  1. Disentanglement in Teachers: To ensure teacher labels are not speaker-biased, training audio is processed through a voice converter to a single "canonical" speaker before k-means clustering.
  2. Disentanglement in Students: The framework employs a contrastive learning approach. A single utterance undergoes random transformations (pitch and formant scaling) to create two versions with different perceived speakers but identical content. The student network is trained to produce consistent representations for both.
  3. Speaker Conditioning: To prevent the student from inadvertently learning speaker traces from teacher labels, a pre-trained speaker embedding is fed directly into the predictor module. This allows the representation network to focus exclusively on content, as the predictor already has access to speaker identity from an external source.
The ContentVec architecture: (a) Student disentanglement via contrastive learning, (b) Speaker-conditioned predictor, and (c) Teacher disentanglement via voice conversion.

Experimental Setup

The model was trained on the LibriSpeech 960h corpus. Evaluation spanned several benchmarks, including the Zero-Resource Speech Challenge for phonetic probing, the SUPERB benchmark for general SSL tasks (ASR, Phone Recognition, Keyword Spotting), and L2-ARCTIC for accent classification.

Results and Discussion

ContentVec demonstrates that disentanglement leads to superior content extraction. On the Zero-shot ABX phonetic task, it outperformed baseline models, particularly in across-speaker scenarios where speaker interference is most prevalent. In ASR tasks on the SUPERB benchmark, ContentVec achieved a Word Error Rate (WER) of 5.7%, a notable improvement over HuBERT's 6.4%.

Crucially, the success of the disentanglement is evidenced by the model's performance on Speaker Identification (SID) tests. While a standard HuBERT model achieves 73.7% accuracy on SID, ContentVec's accuracy drops to 37.7%. In this context, a lower SID score is a metric of success, confirming that speaker-specific information has been effectively removed from the content representations.

Performance comparison showing ContentVec's significant reduction in Speaker Identification accuracy, indicating successful disentanglement compared to HuBERT baselines.

Key Insights

  • The Student Surpasses the Teacher: Despite potential phonetic loss in voice-converted teacher labels, the student network recovers linguistic detail through the masked prediction task, suggesting the framework acts as a content-preserving regularizer.
  • Information Bottleneck: By injecting speaker information at the predictor stage rather than the representation stage, the authors create a bottleneck that forces the encoder to prioritize content.

Conclusion

ContentVec provides a robust method for purifying speech representations. By stripping away speaker identity, the model achieves state-of-the-art performance on content-heavy tasks and provides a cleaner backbone for applications like voice conversion. Future work will focus on minimizing minor linguistic detail loss and automating hyperparameter selection for diverse datasets.

Summary updated

BibTeX
@inproceedings{qian2022improving,
  author = {Kaizhi Qian and Yang Zhang and Heting Gao and Junrui Ni and Cheng-I Lai and David D. Cox and Mark Hasegawa-Johnson and Shiyu Chang},
  title = {{Improving Self-Supervised Speech Representations by Disentangling Speakers}},
  booktitle = {International Conference on Machine Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=DIOjycwBYkZ},
}
Figure