[论文解读] Debiasing Vision-Language Models via Biased Prompts
本论文提出一种用于视觉-语言模型的零-shot 去偏方法,通过校准一个投影以去除文本嵌入中的偏向方向,在不需要额外数据或微调的情况下提升判别和生成任务的鲁棒性。
Machine learning models have been shown to inherit biases from their training datasets. This can be particularly problematic for vision-language foundation models trained on uncurated datasets scraped from the internet. The biases can be amplified and propagated to downstream applications like zero-shot classifiers and text-to-image generative models. In this study, we propose a general approach for debiasing vision-language foundation models by projecting out biased directions in the text embedding. In particular, we show that debiasing only the text embedding with a calibrated projection matrix suffices to yield robust classifiers and fair generative models. The proposed closed-form solution enables easy integration into large-scale pipelines, and empirical results demonstrate that our approach effectively reduces social bias and spurious correlation in both discriminative and generative vision-language models without the need for additional data or training.
研究动机与目标
- 动机并解决在未经筛选的互联网上数据上训练的视觉-语言基础模型中的偏见。
- 提出一种无需数据、无需训练的去偏方法,通过对文本嵌入应用一个经过校准的投影来实现。
- 证明仅对文本嵌入进行去偏就足以实现鲁棒的零样本分类器与公平的文本到图像生成。
- 提供一个封闭形式解,便于在大规模管线中集成。
提出的方法
- 使用描述偏见的提示来定义文本嵌入中的偏向方向(例如,“一张男人/女人的照片”)。
- 计算一个正交投影 P0,以从嵌入中去除这些偏向方向。
- 在提示嵌入上引入一个标定损失,使用描述同一类别但具有不同偏置的正样本对,封闭形式求解(P* = P0(I + (lambda/|S|) sum (zi - zj)(zi - zj)^T)^{-1})。
- 表明该标定矩阵可被解释为一种通过 Zdiff 和 SVD 下调虚假方向的标定项(ZdiffZdiff^T = U Sigma^2 U^T)。
- 建立与等化损失的等价性,从而得到相同的最优解形式 (z* 形式)。
- 通过学习一个通用的去偏矩阵作为对提示嵌入的预处理,扩展该方法到生成模型(在整个过程中的 lambda = 500)。
![Figure 2: Improving Gender Diversity of Stable Diffusion. We fix the random seed of initial latent noise of Stable Diffusion [ 36 ] and generate the images with the training / testing prompt “a photo of a doctor / firefighter”. The results demonstrate that applying the calibration matrix to the prom](https://ar5iv.labs.arxiv.org/html/2302.00070/assets/x2.png)
实验结果
研究问题
- RQ1是否能够仅从描述偏见的提示来识别视觉‑语言嵌入中的偏向方向?
- RQ2通过经过校准的投影去偏文本嵌入是否在不需要数据或标签的情况下提升零样本判别的组公平性?
- RQ3同样的去偏方法是否能泛化到像 Stable Diffusion 这样的生成模型,用于公平的图像生成?
- RQ4是否存在一个简单计算、封闭形式的投影标定解,且无需训练和数据?
- RQ5在公平性指标(组鲁棒性、MaxSkew)和输出多样性方面,所提方法与数据驱动的去偏方法相比如何?
主要发现
- 经过标定的投影(Orth-Cali)显著提升了 Waterbird 与 CelebA 基准上基于 CLIP 的零样本分类器的最差组鲁棒性。
- 该标定方法在不需要任何数据或标签的情况下,获得与最先进数据驱动适配器相媲美甚至更好的公平性提升。
- 在 FairFace 上,通过去偏在不同骨干和提示下提升了 MaxSkew 检索公平性。
- 在使用 Stable Diffusion 进行生成时,该方法降低了性别与种族差异并提高输出多样性(人类评估支持多样性提升)。
- 标定矩阵对未见的提示和职业具有泛化能力,显示对测试提示和未见类别的鲁棒迁移。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。