Abstract
Vision-Language (V-L) models like CLIP are powerful tools for cross-modal tasks but often inherit harmful social biases from uncurated web-scale training data. Existing debiasing techniques frequently suffer from "over-debiasing," where reducing bias significantly degrades the model's zero-shot performance. We introduce a Joint Vision-Language Debiasing framework that addresses this by first aligning the disparate bias distributions in image and text encoders and then performing counterfactual debiasing. Our method achieves a superior balance between fairness and accuracy, preserving CLIP's core capabilities while mitigating stereotypes.
Introduction: The Challenge of Biased Embeddings
Large-scale Vision-Language models are "born" with the prejudices of the internet. Because they are trained on massive, uncurated web scrapes, they inherit harmful stereotypes—associating certain occupations with specific genders or races. A significant hurdle in fixing these models is that social biases are often "misaligned" between modalities. For instance, a gender bias in the text encoder may manifest differently than in the image encoder.
As shown in Figure 3, the intensity and nature of bias vary significantly between the image and text encoders. Attempting to remove bias from just one side, or treating them as identical, can warp the shared embedding space and "break the bridge" between vision and language, leading to a massive drop in downstream task accuracy.
Proposed Methodology
To overcome the "over-debiasing" trap, we propose a two-stage framework that operates as a plug-and-play solution for frozen CLIP encoders.
1. Dual-Bias Alignment
Before removing bias, the model must understand the global bias landscape. We use a Bias Alignment (BA) module alongside a moving queue mechanism to estimate bias distributions for both images and text. By minimizing the KL-divergence between these two distributions, we ensure that the "bias dimensions" in both encoders are aligned before further processing.
2. Counterfactual Debiasing
Once aligned, the model is trained to ignore biased attributes while retaining neutral concepts using biased triplets. A triplet consists of an image (e.g., a male doctor), the original text prompt ("A photo of a male doctor"), and a counterfactual prompt ("A photo of a female doctor"). The training objective is to pull the debiased embeddings of the original and counterfactual prompts closer together, forcing the model to focus on the core concept (e.g., "doctor") rather than the sensitive attribute (e.g., "gender").
Key Results and Evaluation
We evaluated our framework using the Alignment and Bias Level Evaluation (ABLE) metric, which calculates the harmonic mean of accuracy and fairness.
- Preserving Performance: Unlike previous methods that saw accuracy drops of several percentage points, our method maintained ImageNet-1K top-1 accuracy within 1% of the original CLIP model.
- Generalization: The model demonstrated improved "out-of-domain" fairness on the FACET dataset, indicating that it learns generalizable debiasing rather than just memorizing training samples.
- Universal Application: The framework successfully handles multiple bias types (gender, race, age) simultaneously, providing a comprehensive fairness solution.
Conclusion
By recognizing that bias is asymmetrical across modalities, our joint debiasing approach avoids the pitfalls of previous methods. The combination of bias alignment and counterfactual training allows CLIP to remain a high-performance zero-shot classifier while becoming a more equitable and fair model for real-world applications.
Summary updated