发现现有模型对相似正例不鲁棒,提出新训练法提升语义组合能力。
The Hard Positive Truth about Vision-Language Compositionality
- 用硬正例与硬负例共同训练,提升模型对相似语义的区分能力。
- 加入硬正例使CLIP性能下降12.9%,而人类准确率达99%。
- 新数据集含177万图文对,兼顾正负例,推动更真实评估。
多个基准测试表明,当前最优的视觉语言模型(如CLIP)在组合性上存在不足。这些测试通过给定图像,考察模型从一组组合性干扰项中识别出正确描述的能力。为此,近期许多研究尝试通过引入干扰项作为硬负例微调CLIP,取得进展。然而,我们发现这些改进被显著夸大——因为现有基准未检验微调后的模型是否仍对硬正例保持不变性。我们构建了一个包含112,382个硬负例和硬正例的评估数据集,结果发现:加入硬正例会使CLIP性能下降12.9%,而人类表现近乎完美(99%)。经硬负例微调后,性能下降更达38.7%。基于此,我们构建了1,775,259条图像-文本对的训练集,同时包含硬负例与硬正例。在该数据集上训练后,模型在原有基准上表现提升,同时在硬正例上的性能也得到改善,表明其组合性理解更具鲁棒性。本工作呼吁未来研究应严格评估并增强CLIP对相关‘正例’概念间语义关系的理解。
原文摘要 · Abstract (English)
Several benchmarks have concluded that our best vision-language models (e.g., CLIP) are lacking in compositionality. Given an image, these benchmarks probe a model's ability to identify its associated caption amongst a set of compositional distractors. In response, a surge of recent proposals show improvements by finetuning CLIP with distractors as hard negatives. Our investigations reveal that these improvements have, in fact, been significantly overstated -- because existing benchmarks do not probe whether finetuned vision-language models remain invariant to hard positives. By curating an evaluation dataset with 112,382 hard negatives and hard positives, we uncover that including hard positives decreases CLIP's performance by 12.9%, while humans perform effortlessly at 99%. CLIP finetuned with hard negatives results in an even larger decrease, up to 38.7%. With this finding, we then produce a 1,775,259 image-text training set with both hard negative and hard positive captions. By training with both, we see improvements on existing benchmarks while simultaneously improving performance on hard positives, indicating a more robust improvement in compositionality. Our work suggests the need for future research to rigorously test and improve CLIP's understanding of semantic relationships between related "positive" concepts.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。