发现CLIP模型中关键注意力头既提升性能又放大偏见
Pruning the Paradox: How CLIP's Most Informative Heads Enhance Performance While Amplifying Bias
- 提出概念一致性得分CCS,量化注意力头对特定概念的稳定关联
- 高CCS头被剪枝后性能下降更显著,且影响跨域检测与视频理解
- 高CCS头会学习虚假关联,加剧社会偏见,揭示性能与偏见的矛盾
CLIP作为主流基础模型,在视觉语言任务中广泛应用,但其内部机制仍不清晰。随着其在现实场景中的部署增加,理解其局限性与嵌入的社会偏见变得至关重要。本文提出概念一致性得分(CCS),用于衡量CLIP类模型中注意力头对特定概念的一致性对齐。软剪枝实验表明,高CCS头对模型性能至关重要:剪枝它们导致的性能下降远大于随机或低CCS头。高CCS头在跨域检测、概念特定推理和视频-语言理解中起关键作用。更重要的是,这些头学习到虚假相关性,放大社会偏见。结果表明,CCS是揭示CLIP模型性能与偏见双重特性的有力可解释性工具。
原文摘要 · Abstract (English)
CLIP is one of the most popular foundation models and is heavily used for many vision-language tasks, yet little is known about its inner workings. As CLIP is increasingly deployed in real-world applications, it is becoming even more critical to understand its limitations and embedded social biases to mitigate potentially harmful downstream consequences. However, the question of what internal mechanisms drive both the impressive capabilities as well as problematic shortcomings of CLIP has largely remained unanswered. To bridge this gap, we study the conceptual consistency of text descriptions for attention heads in CLIP-like models. Specifically, we propose Concept Consistency Score (CCS), a novel interpretability metric that measures how consistently individual attention heads in CLIP models align with specific concepts. Our soft-pruning experiments reveal that high CCS heads are critical for preserving model performance, as pruning them leads to a significantly larger performance drop than pruning random or low CCS heads. Notably, we find that high CCS heads capture essential concepts and play a key role in out-of-domain detection, concept-specific reasoning, and video-language understanding. Moreover, we prove that high CCS heads learn spurious correlations which amplify social biases. These results position CCS as a powerful interpretability metric exposing the paradox of performance and social biases in CLIP models.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。