Joint Vision-Language Social Bias Removal for CLIP

Haoyu Zhang, Yangyang Guo, Mohan S. Kankanhalli · DOI

Abstract

Vision-Language models like CLIP inherit significant social biases from large-scale web data. While existing debiasing methods often compromise model accuracy, this paper introduces a framework that aligns modality-specific biases before surgical removal. By combining a Bias Alignment module with a counterfactual debiasing objective, the proposed method effectively mitigates gender, race, and age biases while preserving CLIP's zero-shot performance.

The Problem of Misaligned Biases

CLIP's training on uncurated datasets leads to the amplification of human social biases. A critical observation of this work is that these biases are not distributed identically across image and text modalities. For example, probing experiments revealed that the image encoder may exhibit stronger "gender-career" associations, while the text encoder leans toward "gender-science" biases. Treating these as identical during debiasing often leads to "over-debiasing" and a subsequent drop in downstream task accuracy.

Comparison of effect sizes for image and text biases across different social categories, highlighting modality-specific differences.

Joint Vision-Language Debiasing Framework

To address this, the authors propose a two-stage framework designed to remove bias without breaking the delicate alignment between vision and language embeddings.

  1. Dual-Bias Alignment: A Bias Alignment (BA) module is trained to map image and text biases into a shared space. Using a moving queue mechanism (inspired by MoCo), the module estimates bias distributions for each modality and minimizes the KL-divergence between them.
  2. Counterfactual Debiasing: The framework employs "Biased Triplets" (e.g., a biased image, a matching biased text prompt, and a counterfactual prompt) to ensure that semantic concepts, such as "doctor," remain consistent regardless of sensitive attributes like gender or race.
The proposed two-stage framework featuring Bias Alignment and Counterfactual Debiasing.

The BA module is a lightweight, plug-and-play addition that "subtracts" the aligned bias from embeddings during inference. Crucially, it is trained while keeping the original CLIP encoders frozen, preserving the model's fundamental capabilities.

Key Results and Evaluation

The framework was evaluated using a new metric, ABLE (Alignment and Bias Level Evaluation), which calculates the harmonic mean of accuracy and fairness. Results across multiple ViT backbones show that the method consistently maintains CLIP’s original zero-shot performance on ImageNet-1K within 1%, whereas baseline methods like CLIP-clip often see significant drops. Furthermore, the model generalizes well from face-specific training data (FairFace) to out-of-domain full-body images (FACET), indicating it learns to remove abstract bias concepts rather than just pixel-level patterns.

Conclusion

By acknowledging and aligning the unique bias distributions of different modalities, this framework achieves a superior trade-off between fairness and utility. This "surgical" approach to debiasing demonstrates that it is possible to mitigate social harms in large-scale models without sacrificing their impressive zero-shot capabilities. Future work will focus on reducing reliance on explicit attribute labels and exploring counterfactual image generation.

Summary updated

BibTeX
@inproceedings{zhang2025joint,
  author = {Haoyu Zhang and Yangyang Guo and Mohan S. Kankanhalli},
  title = {{Joint Vision-Language Social Bias Removal for CLIP}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.00401},
}
Figure