NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Evaluating the Fairness of Discriminative Foundation Models in Computer Vision

Junaid Ali, Matthäus Kleindessner, Florian Wenzel, Kailash Budhathoki, Volkan Cevher, Chris Russell

TL;DR

This paper introduces a novel taxonomy to evaluate fairness in discriminative foundation models like CLIP, categorizing tasks based on human-centricity, subjectivity, and the intended goal (independence vs. diversity). Through extensive testing across ten datasets, the authors find that Fair PCA—a post-processing method—is remarkably effective at reducing bias in classification and retrieval tasks with minimal impact on model accuracy.

What Problem Does This Paper Address?

Foundation models (FMs) like OpenAI’s CLIP are trained on massive, uncurated datasets scraped from the web, which inherently contain societal biases. While generative models (like DALL-E) get a lot of headlines for bias, discriminative models—used for zero-shot classification, image retrieval, and captioning—can cause "insidious" harm by influencing real-world decisions like hiring or medical care.

The challenge is that "fairness" isn't a monolith. A model being "fair" when identifying a "doctor" (an objective task) looks different from being "fair" when labeling someone as "criminal" (a subjective and potentially harmful task). Furthermore, because these models are often used "zero-shot" (without further training), there is a tension between the goal of a general-purpose system and the need for task-specific fairness definitions.

Methods

The authors propose a three-axis taxonomy to determine which fairness metric to use:

  1. Human-centricity: Does the task involve people?
  2. Label Consistency (Objective vs. Subjective): Would diverse groups of people agree on the label?
  3. Purpose (Independence vs. Diversity): Should the model make decisions regardless of protected attributes (Independence), or should it ensure all groups are represented (Diversity)?

They evaluate several debiasing strategies:

  • Mutual Information (MI) / CLIP-clip: Greedily removing embedding dimensions that share high mutual information with protected attributes (gender/race).
  • Prompt Learning: Training learnable text prompts to "fool" an adversarial classifier trying to predict protected attributes.
  • Fair PCA (FPCA): A post-processing technique that projects embeddings into a space where they are uncorrelated with sensitive attributes while retaining as much information as possible.
  • Baselines (Gender/Race-BLN): Simple "affirmative action" queries that explicitly search for balanced results (e.g., searching for "female doctor" and "male doctor" separately).

Datasets

The study utilizes ten diverse datasets for evaluation:

  • FairFace & CelebA: For facial attribute classification and retrieval.
  • Flickr30K & MSCOCO: For image retrieval and captioning.
  • IdenProf: 11,000 images of professionals (chefs, doctors, etc.) used for retrieval tasks.
  • Standard Benchmarks: ImageNet, Food-101, StanfordCars, and Pascal VOC to ensure debiasing doesn't destroy general performance.

Key Insights and Ideas

  • Fairness is Task-Dependent: The authors argue that for subjective tasks (like "is this person a genius?"), we should aim for Demographic Parity (independence). For objective tasks (like "is this person wearing glasses?"), we should aim for Equal Opportunity (equal true positive rates across groups).
  • The "Aha" of Fair PCA: Unlike many complex debiasing schemes, Fair PCA works as a simple post-processing step. It consistently reduced demographic disparity (DDP) across both gender and race without requiring the model to be retrained from scratch.
  • The Cost of "Cutting": Methods that simply drop dimensions (MI-based) suffer from a steep accuracy-fairness trade-off. If you drop enough dimensions to make the model "fair," you often make it useless for complex tasks.
  • OpenCLIP vs. CLIP: The authors found that OpenCLIP (trained on the open LAION-400M dataset) generally exhibited higher baseline bias than OpenAI’s original CLIP, though the same debiasing methods remained effective.

Key Results

  • Fair PCA Dominance: In zero-shot classification on the FairFace dataset, Fair PCA reduced Demographic Disparity (DDP) significantly while maintaining high accuracy. For example, on CelebA objective tasks, FPCA reduced True Positive Rate disparity (DTPR) to near zero with almost no loss in accuracy (see Figure 6).
  • Retrieval Success: For image retrieval, Fair PCA and simple query-balancing (Gender-BLN) were the most effective. On the IdenProf dataset, Gender-BLN achieved the lowest representation bias (DDP-rep) while maintaining high precision (Table 3).
  • Captioning Nuance: Qualitative analysis showed that debiasing helped fix "misgendering" in captions (e.g., changing a woman described as "holding a blow-dryer" to "fixing a light fixture"). However, the authors noted that current automated metrics (like BLEU or CIDEr) are poor at capturing these fairness improvements.

Limitations and Future Work

  • Perceived Attributes: The study relies on third-party annotations of "perceived" race and gender, which may not reflect how individuals self-identify.
  • Binary Constraints: Due to dataset limitations, gender was treated as a binary attribute, which fails to account for non-binary identities.
  • Non-Human Bias: The authors acknowledge that bias exists in non-human tasks (e.g., religious buildings, cultural artifacts) but consider these out of scope for this specific human-centric study.
  • Future Direction: The authors suggest that future work should focus on more comprehensive evaluation of captioning models and exploring fairness in non-human-centric vision tasks.

Summary updated

BibTeX
@inproceedings{ali2023evaluating,
  author = {Junaid Ali and Matthäus Kleindessner and Florian Wenzel and Kailash Budhathoki and Volkan Cevher and Chris Russell},
  title = {{Evaluating the Fairness of Discriminative Foundation Models in Computer Vision}},
  booktitle = {AIES},
  year = {2023},
  doi = {10.1145/3600211.3604720},
}

Loading related content...

Figure