NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Variation of Gender Biases in Visual Recognition Models Before and After Finetuning

Jaspreet Ranjit, Tianlu Wang, Baishakhi Ray, Vicente OrdonezarXiv 2023 · DOI

Abstract

This paper introduces a framework to audit how gender biases in large-scale visual recognition models evolve during the transfer learning process. The researchers found that while finetuning changes a model's internal representations, pre-existing biases—especially in large supervised models like CLIP and BiT—are remarkably "sticky" and often persist or even amplify in the downstream task.

Introduction

In modern computer vision, practitioners rarely train models from scratch. Instead, they utilize "pretrained" models and finetune them on specific datasets. While these massive models encode societal biases from their training data, the dynamics of these biases during transfer learning have been poorly understood. This paper investigates whether finetuning on a clean, smaller dataset "washes away" original biases or if the model carries its "pre-existing conditions" into every new task it learns by measuring representational bias in the latent embedding space.

Methodology

The authors developed a framework to measure bias at the feature level (the embeddings) using several primary metrics:

  1. Intra-Class Similarity: Measures how tightly a model clusters images of the same category.
  2. Inter-Class Similarity: Measures the association between different concepts (e.g., is the "surfboard" embedding closer to the "man" embedding or the "woman" embedding?).
  3. Bias Transfer Score (BTS): A novel metric using Spearman’s correlation to compare similarity measurements before and after finetuning. A high BTS indicates that the model has retained its original representational structure and biases.
  4. Image Association Tests (iEAT): Adapted from the Word Embedding Association Test (WEAT) used in NLP, this measures differential associations between concept pairs (e.g., Fashion/Car vs. Woman/Man).

Experimental Setup and Datasets

The study evaluates several popular architectures (ResNet, BiT, CLIP, MoCo, SimCLR) across different training regimes. Analysis is performed on curated "analysis sets" from MS-COCO and Open Images v4. The curation strategy specifically selects images of objects in isolation and objects co-occurring with people of a perceived gender to observe if the model's representation of an object shifts toward one gender.

Examples of curated analysis sets from OpenImages and COCO used to measure representational bias.

Key Insights

  • The "Stickiness" of Scale: Models trained on massive supervised datasets (like BiT or CLIP) are much more likely to retain their pretraining biases regardless of the target dataset. Their internal "worldview" is so well-established that finetuning barely budges it.
  • Finetuning as a Source of Bias: Finetuning isn't just a neutral process. When models are finetuned on larger, noisier datasets, they are significantly more likely to adopt new biased associations that weren't present in the pretrained version.
  • Self-Supervision vs. Supervision: Self-supervised models (like MoCo) generally showed lower bias retention and fewer biased associations than their supervised counterparts, suggesting the training objective plays a huge role in how bias is encoded.
  • Representational vs. Prediction Bias: A model might not show bias in its final label prediction, but the bias often remains "hidden" in the latent space, which is a crucial distinction for building safety-critical systems.

Key Results

Quantitative analysis revealed that BiT and CLIP showed the highest Bias Transfer Scores (BTS), often exceeding 0.90 for intra-class similarity on COCO. This confirms that these models are highly resistant to representational changes during finetuning. In contrast, smaller models like ResNet18 showed much lower BTS (around 0.71), indicating they are more "malleable."

Comparison of Inter-class Similarity between pretrained and finetuned models across various object-gender pairs.

In Image Association Tests, models like CLIP and BiT showed statistically significant stereotypical associations (e.g., associating "fashion" more strongly with "woman" and "surfboard" with "man") both before and after finetuning. As seen in the Inter-class Similarity results, finetuning often maintains or even increases the similarity between objects and specific gendered contexts.

Limitations and Future Work

The authors acknowledge several limitations: the use of "perceived gender" as a binary variable fails to capture non-binary expressions, and the manual curation of analysis sets may introduce researcher bias. Future work is needed to determine if specific finetuning techniques, such as freezing certain layers or using fairness-aware loss functions, can effectively break the "stickiness" of these pretrained biases.

Summary updated

BibTeX
@misc{ranjit2023variation,
  author = {Jaspreet Ranjit and Tianlu Wang and Baishakhi Ray and Vicente Ordonez},
  title = {{Variation of Gender Biases in Visual Recognition Models Before and After Finetuning}},
  year = {2023},
  eprint = {2303.07615},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2303.07615},
}
Figure