My Answer Is NOT 'Fair': Mitigating Social Bias in Vision-Language Models via Fair and Biased Residuals

Jian Lan, Yifei Fu, Udo Schlegel, Gengyuan Zhang, Tanveer Hannan, Haokun Chen, Thomas Seidl · DOI

Abstract

Vision-Language Models (VLMs) often exhibit societal biases inherited from their training data. While models may produce fair textual outputs, their internal confidence levels often remain skewed toward stereotypes—a phenomenon termed the "Fairness Paradox." This paper introduces the "Fairness Seesaw," describing how internal social knowledge fluctuates across transformer layers. We propose RES-FAIR (RESidual Flow Adjustment for Inference Recalibration), a post-hoc method that steers hidden states away from biased directions in the residual stream. RES-FAIR significantly improves fairness and confidence calibration across multiple benchmarks without requiring retraining or sacrificing general reasoning performance.

Introduction

As Vision-Language Models (VLMs) like LLaVA and Qwen-VL become more integrated into societal applications, addressing their inherent biases is critical. Current research often focuses on surface-level bias in generated text. However, this work identifies a deeper issue: even when a model provides a "fair" answer, its internal probability distribution may still be heavily biased.

The Fairness Paradox: A model may output a fair response while remaining internally biased in its confidence distribution.

The authors identify three core challenges:

  1. The Fairness Paradox: Models output fair text but remain internally "convinced" of stereotypes.
  2. Layer-wise Fluctuation: Fairness knowledge is unstable, peaking in middle layers and eroding toward the output.
  3. Residual Discrepancy: Internal data streams (residuals) within a single layer often engage in a "tug-of-war" between fair and biased signals.

Methods: RES-FAIR

To mitigate these biases, the authors propose RES-FAIR, a post-hoc intervention that adjusts the model's internal representations during inference.

Subspace and Orthogonal Projection

RES-FAIR identifies "fair" and "biased" directions within the model's high-dimensional hidden space. By applying an orthogonal projection to the residual streams, the method effectively "subtracts" biased components and "amplifies" fair ones. This steering mechanism ensures the model's internal state aligns more closely with equitable social knowledge.

Uncertainty-Enhanced Training

For comparison, a training-based approach was developed using Direct Preference Optimization (DPO) combined with a KL-divergence constraint. This ensures the model's internal confidence distribution matches its fair textual output.

Experimental Setup and Datasets

The study evaluates social bias across several enriched benchmarks:

  • PAIRS (Parallel Images for Role Stereotypes): Image pairs differing only in gender or race, used to test role-based stereotypes.
  • SocialCounterfactuals (SCF): A dataset for evaluating intersectional biases across 126 occupations and statuses.
  • VQAv2: Used as a control to ensure that debiasing does not degrade general visual question-answering accuracy.
The MCS Complete Input and System Prompt used to evaluate model bias through structured multiple-choice questions.

Key Results

Experimental results demonstrate that RES-FAIR effectively balances model outputs and internal confidence:

  • Fairness Gains: On Qwen2.5-VL-32B, the fairness score on the PAIRS gender dataset improved from 0.75 to 0.86.
  • Confidence Calibration: Internal bias, measured by KL divergence from a uniform distribution, was significantly reduced. For LLaVA-NeXT-13B, the score dropped from 0.201 to 0.096.
  • Stable Performance: General reasoning capabilities remained intact. For example, VQA accuracy for Qwen2.5-VL-32B only shifted slightly from 80.12% to 80.01%.
  • Layer-wise Stability: Unlike original models that show a fairness drop in final layers, RES-FAIR-treated models maintain a steady increase in fairness throughout the network.

Conclusion and Future Work

RES-FAIR offers a powerful, post-hoc solution for mitigating social bias in VLMs by steering internal residual flows. While currently focused on binary gender and specific racial categories, future work aims to expand this approach to a broader range of social attributes and more complex, open-ended generative tasks.

Summary updated

BibTeX
@misc{lan2025my,
  author = {Jian Lan and Yifei Fu and Udo Schlegel and Gengyuan Zhang and Tanveer Hannan and Haokun Chen and Thomas Seidl},
  title = {{My Answer Is NOT 'Fair': Mitigating Social Bias in Vision-Language Models via Fair and Biased Residuals}},
  year = {2025},
  eprint = {2505.23798},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.23798},
}
Figure