Self-supervised Fine-tuning for Improved Content Representations by Speaker-invariant Clustering

Heng-Jui Chang, Alexander H. Liu, James R. Glass

Introduction

Self-supervised learning (SSL) models like HuBERT and WavLM have significantly advanced speech processing by leveraging vast amounts of unlabeled data. However, these models often capture redundant information, such as speaker identity and acoustic environment, which can degrade performance on content-centric tasks like Automatic Speech Recognition (ASR). Researchers from MIT CSAIL have introduced Spin (Speaker-invariant clustering), a highly efficient fine-tuning method that disentangles linguistic content from speaker characteristics in under an hour.

The Challenge: Speaker Interference in SSL

While SSL models learn robust features, they are inherently "greedy," encoding all aspects of the audio signal. For tasks requiring phonetic understanding, speaker-specific traits act as noise. Existing methods to address this, such as ContentVec, require extensive computational resources—often dozens of GPUs and many hours of training. Spin aims to provide a "compute-efficient" alternative, achieving superior speaker-invariance at less than 1% of the computational cost of previous state-of-the-art methods.

Methodology: The Spin Framework

Spin utilizes a Self-supervised Fine-tuning (SSFT) approach centered on three core components: speaker perturbation, swapped prediction, and Sinkhorn-Knopp smoothing.

Overview of the Spin fine-tuning framework, illustrating speaker perturbation and the swapped prediction mechanism.
  1. Speaker Perturbation: The model processes two views of the same audio. One is the original signal, while the other is perturbed by randomly shifting formant frequencies and pitch (F0). This preserves linguistic content while altering the speaker's voice.
  2. Swapped Prediction: Drawing inspiration from the SwAV algorithm in computer vision, Spin extracts features from both views. The model is trained to predict the cluster assignments (codewords) of the original view using features from the perturbed view, and vice versa. This forces the encoder to focus on shared linguistic information.
  3. Sinkhorn-Knopp Smoothing: To avoid mode collapse—where the model assigns all inputs to a single cluster—the Sinkhorn-Knopp algorithm is used to ensure uniform cluster distribution across the codebook.

A key efficiency of Spin is its "targeted surgery": it only fine-tunes the top two layers of the pre-trained model, where high-level phonetic information is concentrated, leaving the lower acoustic layers frozen.

Key Results and Performance

Spin demonstrates remarkable efficiency and effectiveness. Fine-tuning requires less than 45 minutes on a single NVIDIA RTX A5000 GPU, representing less than 0.5% of the computational cost of ContentVec.

Correlation between Phone-normalized Mutual Information (PNMI) and downstream error rates (PER/WER). Spin (stars) achieves the highest PNMI and lowest error rates.

Performance Benchmarks

  • Phoneme Recognition: On the SUPERB benchmark, Spin significantly reduces the Phoneme Error Rate (PER) compared to the HuBERT baseline.
  • Acoustic Unit Discovery: In ZeroSpeech 2021 ABX tests, Spin achieved a 29% relative reduction in error rate over HuBERT, outperforming state-of-the-art methods.
  • Speaker Erasure: Spin effectively "forgets" speaker identity. In identification tests, the model's ability to identify the speaker dropped to 10%, confirming successful disentanglement.

The researchers also identified a strong correlation between Phone-normalized Mutual Information (PNMI) and downstream task performance. As shown in the results, models with higher PNMI (better phonetic clustering) consistently yield lower error rates in ASR and phoneme recognition.

Conclusion and Future Work

Spin offers a scalable and efficient solution for improving the content representations of SSL speech models. By focusing on the top layers and employing speaker-invariant clustering, it achieves state-of-the-art results with minimal compute. Future research may explore applying Spin-like logic during the initial pre-training phase or incorporating more diverse data augmentations to further enhance robustness.

Summary updated

BibTeX
@inproceedings{chang2023self,
  author = {Heng-Jui Chang and Alexander H. Liu and James R. Glass},
  title = {{Self-supervised Fine-tuning for Improved Content Representations by Speaker-invariant Clustering}},
  booktitle = {Interspeech},
  year = {2023},
  doi = {10.21437/interspeech.2023-847},
}
Figure