Unveiling the "Fairness Seesaw": Discovering and Mitigating Gender and Race Bias in Vision-Language Models

Jian Lan, Yifei Fu, Udo Schlegel, S. Zenz, Tanveer Hannan, Haokun Chen · DOI

Abstract

Although Vision-Language Models (VLMs) have achieved remarkable success, the knowledge mechanisms underlying their social biases remain a black box, where fairness- and ethics-related problems harm certain groups of people in society. It is unknown to what extent VLMs yield gender and race bias in generative responses. In this paper, we conduct a systematic discovery of gender and race bias in state-of-the-art VLMs, focusing not only on surface-level responses but also on the internal probability distributions and hidden state dynamics. Our empirical analysis reveals three critical findings: 1) The Fairness Paradox: Models often generate fair text labels while maintaining highly skewed confidence scores (mis-calibration) toward specific social groups. 2) Layer-wise Fluctuation: Fairness knowledge is not uniformly distributed; it peaks in intermediate layers and undergoes substantial knowledge erosion in the final layers. 3) Residual Discrepancy: Within a single hidden layer, different residual streams carry conflicting social knowledge - some reinforcing fairness while others amplifying bias. Leveraging these insights, we propose RES-FAIR (RESidual Flow Adjustment for Inference Recalibration), a post-hoc framework that mitigates bias by localizing and projecting hidden states away from biased residual directions while amplifying fair components. Evaluations on PAIRS and SocialCounterfactuals datasets demonstrate that our discovery-based approach significantly improves response fairness and confidence calibration without compromising general reasoning abilities.

Introduction: The Fairness Paradox

While Vision-Language Models (VLMs) like LLaVA and Qwen are incredibly capable, they often inherit societal biases regarding gender and race from their training data. Most existing research focuses on "surface-level" bias—simply checking if the model's final text output is biased.

However, this research argues that surface-level checks are insufficient. A model might output a "fair" answer (e.g., "Both men and women can be scientists") while internally remaining highly confident in a stereotype (e.g., assigning a 75% probability to "male"). This "Fairness Paradox" means a model can look fair on the outside while remaining biased under the hood.

The Fairness Paradox: A model can generate a fair text response while maintaining biased internal confidence scores.

Methodology and Datasets

The researchers propose a two-pronged approach: a new diagnostic framework and a mitigation strategy called RES-FAIR (RESidual Flow Adjustment for Inference Recalibration).

Diagnostic Framework

Instead of simple classification, the framework analyzes the model's internal probability distributions (logits) and hidden state dynamics across different layers. This revealed that fairness knowledge is not static; it fluctuates throughout the model's architecture.

RES-FAIR Mitigation

RES-FAIR is a post-hoc intervention that works by identifying "fair" and "biased" directions in the model's high-dimensional latent space. Using orthogonal projection, it "nudges" the hidden states to subtract biased components and amplify fair ones. Because it is post-hoc, it can be applied to existing models at inference time without expensive retraining.

Experimental Setup

The study utilized two primary datasets: PAIRS (parallel images for gender/race bias) and SocialCounterfactuals (SCF) (intersectional social biases). The authors used specific system prompts and multiple-choice selection (MCS) inputs to probe the models' internal worldviews, treating images as societal references rather than absolute evidence.

The System Prompt and MCS input format used to evaluate VLM bias.

Key Insights and Results

The "Fairness Seesaw"

Internal representations fluctuate between biased and fair states. Fairness knowledge often peaks in the middle layers but undergoes "erosion" in the final layers. Furthermore, within the same hidden layer, different residual streams can carry conflicting social knowledge—some reinforcing fairness while others amplify bias.

Performance Gains

RES-FAIR consistently outperformed standard fine-tuning (LoRA) and alignment (DPO) techniques:

  • Improved Fairness: On LLaVA-NeXT-13B, the gender fairness score on PAIRS improved from 0.77 to 0.84.
  • Better Calibration: For Qwen2.5-VL-32B, the KL divergence (measuring confidence skew) dropped from 0.116 to a more balanced 0.027.
  • Preserved Reasoning: Crucially, general VQA accuracy remained stable (e.g., Qwen2.5-VL-32B only shifted from 80.12% to 80.01%), proving that bias can be mitigated without compromising general intelligence.

Conclusion

This work unveils the complex internal dynamics of bias in VLMs. By identifying the "Fairness Paradox" and the layer-wise fluctuations of social knowledge, the authors developed RES-FAIR to effectively recalibrate models. Future work will expand these techniques to a wider range of intersectional social identities and more nuanced benchmarks.

Summary updated

BibTeX
@misc{lan2025unveiling,
  author = {Jian Lan and Yifei Fu and Udo Schlegel and S. Zenz and Tanveer Hannan and Haokun Chen},
  title = {{Unveiling the "Fairness Seesaw": Discovering and Mitigating Gender and Race Bias in Vision-Language Models}},
  year = {2025},
  eprint = {2505.23798},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.23798},
}
Figure