Evaluating the fairness of fine-tuning strategies in self-supervised learning

Jason Ramapuram, Dan Busbridge, Russ WebbarXiv 2021

Abstract

Fine-tuning self-supervised learning (SSL) models often involves freezing the "backbone" to save computational resources, but this practice can severely compromise fairness. This paper reveals that simply allowing Batch Normalization (BN) statistics to update during fine-tuning—rather than keeping them frozen—improves worst-case subgroup fairness by 36%. This simple adjustment achieves parity with fully fine-tuned models at a fraction of the computational cost, offering a "sweet spot" between efficiency and equity.

Introduction

Self-supervised learning (SSL) has become a standard for training large-scale models without extensive human labeling. These models rely heavily on Batch Normalization (BN) to stabilize training by calculating feature means and variances across data batches. However, BN tends to favor majority groups. When a pre-trained SSL model is fine-tuned on a new task with a frozen backbone, it retains the biases of the original pre-training data, leading to poor performance on under-represented subpopulations. This research explores fine-tuning strategies that balance computational efficiency with downstream fairness.

Methods and Experimental Setup

The researchers utilized the SimCLR framework with a ResNet50 backbone, pre-trained on the Celeb-A dataset (over 160,000 images). They evaluated five fine-tuning "recipes" for a 40-dimensional binary attribute prediction task:

  1. Full FT (Full Fine-Tuning): Updating every single parameter in the model.
  2. BN Stats + Skip: Freezing weights but updating BN statistics and residual skip connections.
  3. BN Stats + Affine: Freezing weights but updating BN statistics and learnable affine parameters ($\gamma$ and $\beta$).
  4. BN Stats: Updating only the running mean and variance of the BN layers.
  5. Frozen: Keeping the entire backbone (including BN stats) fixed and training only the new linear head.

Performance was measured using the $F_1^{worst}$ (score of the worst-performing subgroup) and $F_1^{gap}$ (the difference in performance between subgroups).

Results and Discussion

The study reveals a significant "Frozen Penalty": keeping the backbone completely frozen is efficient but disastrous for fairness, as it fails to adapt to the downstream task's distribution.

Trade-off between the number of updated parameters and worst-case subgroup performance ($F_1^{worst}$).

As shown in Figure 1, updating just the BN statistics (only 0.35% of parameters) closes the majority of the fairness gap. This strategy is 4.4x faster than full fine-tuning. For even better results, updating BN stats plus skip connections (12% of parameters) achieves parity with full fine-tuning while remaining 1.33x faster.

Detailed performance metrics (Gap and Worst) across various attributes for different training procedures.

The detailed results in the table above highlight that the "BN Stats" strategy reduces the mean subgroup performance gap by 25% and improves the "worst subgroup" metric by 36% compared to the frozen baseline. Notably, properly tuned SSL models can match or exceed the fairness of fully supervised models.

Conclusion and Future Work

Updating Batch Normalization statistics is a "low-hanging fruit" for improving the fairness of SSL models during fine-tuning. It provides a significant boost to subgroup performance with minimal computational cost. While this study focused on the Celeb-A dataset and SimCLR, future work should investigate if these findings generalize to other domains like NLP (using Layer Norm) or different architectures like Masked Autoencoders. Additionally, exploring how these strategies interact with explicit fairness-constrained optimization remains an open area for research.

Summary updated

BibTeX
@misc{ramapuram2021evaluating,
  author = {Jason Ramapuram and Dan Busbridge and Russ Webb},
  title = {{Evaluating the fairness of fine-tuning strategies in self-supervised learning}},
  year = {2021},
  eprint = {2110.00538},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2110.00538},
}
Figure