arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.13223cs.LG
收藏

数据最为关键:审计对比视觉语言模型中的社会偏见

Data Matters Most: Auditing Social Bias in Contrastive Vision Language Models

Queen Mary University of London(伦敦女王学院);Institut Jožef Stefan(Jožef Stefan研究所)

Zahraa Al Sahili, Ioannis Patras, Matthew Purver

AI总结:

研究通过对比CLIP和OpenCLIP模型,发现数据来源是偏见的主要驱动因素,不同去偏策略在不同模型和数据规模下效果各异。

摘要:

视觉语言模型(VLMs)在零样本识别方面表现强劲,但经常从训练数据中继承社会偏见。我们通过比较CLIP和OpenCLIP两个模型,系统地解构了三个设计因素——模型大小、训练数据规模和训练数据来源。这两个模型具有相同的对比目标,但编码器宽度和预训练的图像-文本语料库不同(400M专有配对 vs. 400M/2B LAION)。在平衡的面部分析基准测试中,扩大编码器可减少CLIP中的性别偏见,但会放大OpenCLIP中的性别和种族偏见;将LAION语料库从400M增加到2B进一步增加OpenCLIP的偏见。在匹配的模型和数据预算下,用LAION数据替代专有数据可提高性别公平性,但增加种族偏见,凸显数据来源是偏见模式的主要驱动因素。我们还评估了三种事后测试时去偏策略——偏见提示、提示数组和SANER。去偏减少了但并未消除危害,其效果取决于来源和大小:偏见提示在较小的模型大小上最有效地减少CLIP的性别偏见,而提示数组和SANER更可靠地减少OpenCLIP的种族偏见;扩大LAION语料库会重新配置哪种方法最公平。这些发现挑战了更大模型或数据集自动更公平的假设,并将训练数据来源作为偏见和缓解效果的关键决定因素。我们发布了代码和评估脚本来实现未来VLMs的透明、可重复的审计。

英文摘要:

Vision-language models (VLMs) deliver strong zero-shot recognition but frequently inherit social biases from their training data. We systematically disentangle three design factors -- model size, training-data scale, and training-data source -- by comparing CLIP and OpenCLIP, two models that share an identical contrastive objective yet differ in encoder width and in the image-text corpora on which they are pre-trained (400M proprietary pairs vs. 400M/2B LAION). Across balanced face-analysis benchmarks, enlarging the encoder reduces gender skew in CLIP but amplifies both gender and racial skew in OpenCLIP; increasing the LAION corpus from 400M to 2B further increases OpenCLIP bias. At matched model and data budgets, substituting proprietary data with LAION improves gender fairness while increasing racial skew, underscoring data source as the primary driver of bias patterns. We also evaluate three post-hoc, test-time debiasing strategies -- Bias Prompts, Prompt Array, and SANER. Debiasing reduces but does not eliminate harm, and its effectiveness is source- and size-dependent: Bias Prompts most effectively reduce gender skew in CLIP at smaller model sizes, whereas Prompt Array and SANER more reliably reduce racial skew in OpenCLIP; scaling LAION reconfigures which method is most fair. Taken together, these findings challenge the assumption that bigger models or datasets are automatically fairer and foreground training data source as the key determinant of both bias and mitigation efficacy. We release code and evaluation scripts to enable transparent, reproducible auditing of future VLMs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑