On the social bias of speech self-supervised models

Yi-Cheng Lin, Tzu-Quan Lin, Hsi-Che Lin, Andy T. Liu, Hung-yi Lee

Introduction

Self-supervised learning (SSL) has fundamentally changed speech processing by enabling the creation of powerful "foundation models" like HuBERT and Wav2Vec2. These models, trained on vast quantities of unlabeled data, generate rich internal representations used for various downstream tasks. However, a critical concern has emerged: do these models inherit and amplify social biases present in their training data? This research investigates bias at the representation level, exploring how demographic attributes like gender, age, and nationality become associated with positive or negative valences within a model's internal embeddings.

Methodology

The study evaluates three prominent SSL models—HuBERT, Wav2Vec2, and MelHuBERT—using the Speech Embedding Association Test (SpEAT). SpEAT measures the "effect size" ($d$) of associations between target concepts (e.g., Male vs. Female) and attribute concepts (Positive vs. Negative valence) based on cosine similarity in the embedding space.

To identify mitigation strategies, the researchers compared two architectural configurations with similar parameter counts: "Small" models (wider and shallower: 3 layers, 640 hidden units) and "Slim" models (narrower and deeper: 12 layers, 384 hidden units). They also tracked bias evolution over 400,000 training steps and tested four model compression techniques: weight pruning, head pruning, row pruning, and knowledge distillation.

The Emergence and Evolution of Bias

A key finding is that SSL models significantly amplify bias compared to traditional acoustic features like Mel-spectrograms. This bias is not present at random initialization but is learned during the training process.

Evolution of bias over training steps for Gender, Native, and Age categories across different model architectures.

As shown in Figure 1, bias typically intensifies and converges between 30k and 60k training steps. This suggests that as models learn to extract linguistic features, they simultaneously encode social stereotypes. Notably, the "Small" (wider/shallower) architecture consistently exhibits lower bias than the "Slim" (narrower/deeper) architecture, particularly in the gender category.

Mitigation Through Architecture and Compression

The research demonstrates that architectural choices and post-training compression can serve as effective debiasing tools without requiring expensive retraining on balanced datasets.

Architectural Impact

For a fixed parameter budget, wider and shallower models are inherently fairer. In Wav2Vec2, the "Small" architecture reduced the gender bias effect size ($d$) from 0.85 in the "Slim" version to a near-negligible 0.07.

Compression as a Fairness Tool

Model compression, often used for efficiency, also impacts representation fairness. Among the techniques tested, row pruning in the Feed-Forward Networks (FFN) proved most effective at reducing bias across nearly all demographic categories.

Impact of various pruning techniques (Head, Row, and Weight) on social bias metrics for different demographic categories.

As illustrated in Figure 2, while head and weight pruning show mixed results, row pruning (panels c and d) consistently moves the bias metrics toward or even below baseline levels. Importantly, these pruned models maintain functional performance on downstream tasks like phoneme recognition, suggesting that the biased associations are redundant to the model's primary utility.

Conclusion

Social bias is a learned characteristic of speech SSL models that intensifies during training. However, this bias is not immutable. By opting for wider, shallower architectures and employing targeted compression techniques like row pruning, developers can create more equitable speech technologies. Future work remains to extend these findings to multilingual contexts and a broader range of social categories beyond gender, age, and nationality.

Summary updated

BibTeX
@inproceedings{lin2024social,
  author = {Yi-Cheng Lin and Tzu-Quan Lin and Hsi-Che Lin and Andy T. Liu and Hung-yi Lee},
  title = {{On the social bias of speech self-supervised models}},
  booktitle = {Interspeech},
  year = {2024},
  doi = {10.21437/interspeech.2024-454},
}
Figure