A Closed-Form Solution for Debiasing Vision-Language Models with Utility Guarantees Across Modalities and Tasks

Tangzheng Lian, Guanyu Hu, Yijing Ren, Dimitrios Kollias, Oya Celiktutan

TL;DR

This paper introduces a training-free, data-free debiasing method for Vision-Language Models (VLMs) that provides a mathematically proven, closed-form solution to achieve Pareto-optimal fairness. By operating directly in the cross-modal embedding space, it successfully mitigates social biases across both image and text modalities while providing strict theoretical guarantees that model utility (task performance) is preserved.

What Problem Does This Paper Address?

Vision-Language Models (VLMs) like CLIP are incredibly powerful, but because they are trained on massive, uncurated datasets scraped from the web, they inherently absorb and propagate harmful societal stereotypes. For example, a VLM might implicitly associate "nurse" with female or "doctor" with male.

While several debiasing techniques exist, they suffer from major drawbacks:

  1. High Computational Cost: Many require training auxiliary networks or fine-tuning the VLM.
  2. Data Dependency: They often rely on specialized datasets meticulously annotated with sensitive attributes (e.g., race, gender, age), which are difficult and ethically sensitive to collect.
  3. The Fairness-Utility Trade-off: Removing bias often inadvertently destroys the model's primary semantic capabilities, degrading downstream task performance without any theoretical bounds on this loss.
  4. Single-Modality/Single-Task Focus: Most existing methods only debias one modality (usually text) or focus on a single task (like zero-shot classification), failing to address intersectional biases (e.g., combinations of gender and age).

The authors tackle these gaps by proposing a unified framework that requires zero training, zero extra data annotations, and guarantees a bounded utility loss across multiple tasks.

Methods

The proposed method consists of two main components:

1. LLM-Guided Group Prototype Construction

To define what "bias" looks like in the embedding space without using annotated datasets, the method leverages a Large Language Model (LLM). Given a neutral prompt (e.g., "a photo of a doctor"), the LLM generates diverse phrasing variants for different demographic groups (e.g., "a photo of a male doctor", "a photo of a man doctor"). These variants are encoded by the VLM's text encoder and averaged to create robust group prototypes ($\vec{p}_g$).

Instead of projecting embeddings completely orthogonal to these group prototypes—which would accidentally erase the core concept of "doctor"—the authors define an attribute subspace ($\mathcal{A}$) spanned only by the differences between these prototypes (the attribute directions).

Figure 1. (a) Previous methods such as PRISM-mini [31] and Orth-Proj [5] debias through an orthogonal projection to the sub- space S spanned by the embeddings of group-explicit prompts (group prototypes) such as “a photo of a female/male doctor.” However, the subspace S contains not only attribute-related in- formation but also essential semantic content (e.g., “doctor”) that we wish to preserve. (b) We instead debias through an orthogo- nal projection to the attribute subspace A so that ⃗u can effectively removes bias while maintaining content-related semantics.

2. Searching the Debiased Embedding via a Closed-Form Solution

The core mathematical breakthrough of the paper is formulating the search for a debiased embedding ($\vec{u}$) as a weighted-sum minimization problem on a unit hypersphere. The objective balances two things: minimizing attribute leakage (fairness) and minimizing self-utility loss (preserving original semantic content).

The authors prove that the search space can be drastically reduced from a high-dimensional hypersphere to a simple 2D unit circle. Using Chebyshev scalarization to protect against the worst-case trade-offs between fairness and utility, they derive a closed-form solution ($\alpha^\star$) that yields the Pareto-optimal debiased embedding instantly, without any iterative optimization or hyperparameter tuning.

Datasets

The method was evaluated across three distinct downstream tasks using several standard benchmarks:

  • Zero-Shot Image Classification: Evaluated on CelebA (focusing on hair color classification with intersectional gender $\times$ age biases) and FACET (multi-class, full-body human images evaluating gender bias).
  • Text-to-Image Retrieval: Evaluated on Flickr30K (gender bias) and COCO2017 (intersectional gender $\times$ skin tone biases).
  • Text-to-Image Generation: Evaluated using Stable Diffusion v2.1 across a custom set of 34 occupation terms to measure gender distribution balance.

Key Insights and Ideas

  • Content Preservation via Subspace Differences: Previous projection methods often wiped out task-relevant semantics because group-explicit prompts contain both the bias attribute and the core concept. Shifting the focus to the difference vectors isolates the bias dimension perfectly.
  • Multi-Modal Debiasing is Mandatory: The authors demonstrate that because VLMs align text and vision spaces during pre-training, biases are deeply intertwined. Debiasing only text or only images yields subpar fairness metrics; both must be adjusted jointly.
  • Training-Free is Competitive: The generalizable representations inside frozen VLMs are rich enough that geometric post-processing can outperform complex, training-based alignment networks.

Key Results

The proposed method consistently outperformed existing state-of-the-art debiasing techniques across all tasks while maintaining or even improving baseline utility.

  • Zero-Shot Classification (CelebA): The method achieved the highest utility (56.5% F1 score, beating the baseline's 54.0%) while significantly reducing Equal Opportunity (EO) violations for intersectional groups ($\Delta E O_{\text{Avg}}$ dropped from 25.1 to 23.6).
  • Text-to-Image Retrieval (COCO2017): It achieved a Recall@5 of 81.1% (much higher than other debiasing methods like FairerCLIP at 76.8%) while reducing the intersectional gender $\times$ skin tone bias metric (MaxSkew@1000 dropped from 13.4 to 10.1).
  • Text-to-Image Generation: When prompting Stable Diffusion for neutral terms like "doctor", the method generated significantly more gender-balanced image sets without sacrificing the visual quality or text alignment of gender-explicit prompts.
Figure 4. Illustrative examples for o = “doctor”. We randomly sample ten generated images for each method. Female-looking samples are marked in red and numbered. On the left, a more balanced ratio of female- and male-looking samples indicates lower bias, while on the right, fewer female-looking samples reflect better preservation of self-utility (see Appendix G for more examples with other occupations).

Limitations and Future Work

  • Geometric vs. Task Metrics: The mathematical utility guarantees are defined within the cross-modal geometric embedding space (ensuring semantic consistency). They do not directly guarantee downstream task-specific metrics like exact F1 scores or Recall@K, even though empirical results show they align well.
  • Decoder Limitations: The framework currently operates on the VLM encoders. Extending this debiasing framework directly into the image or text decoders used in generative models remains an open area for future research.
  • Dataset Constraints: The evaluation is bound by existing fairness benchmarks, which do not fully capture the entire spectrum or fluid nature of human sensitive attributes.

Summary updated

BibTeX
@inproceedings{lian2026closed,
  author = {Tangzheng Lian and Guanyu Hu and Yijing Ren and Dimitrios Kollias and Oya Celiktutan},
  title = {{A Closed-Form Solution for Debiasing Vision-Language Models with Utility Guarantees Across Modalities and Tasks}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=AgI2HTwslM},
}
Figure