从词元因果视角揭示CLIP在组合推理上的脆弱性根源
Understanding Hardness of Vision-Language Compositionality from A Token-level Causal Lens
- 构建词元级因果模型,解析文本与图像对齐机制
- 发现伪最优编码器可完美对齐却无视概念替换等操作
- 解释了提示敏感性和难负样本失败的内在成因
对比语言-图像预训练(CLIP)通过共享嵌入空间对齐图像与文本,实现了强大的跨模态泛化能力,但在对象、属性和关系的组合推理上持续失效,常表现为词袋匹配器。以往因果分析将文本建模为单一向量,忽视了词元级结构,无法解释提示敏感性和难负样本失败等现象。本文提出一种词元感知的因果表示学习框架,基于序列化语言词元结构因果模型(SCM),将块可辨识性扩展至词元级别,证明在句子级与词元级SCM下,CLIP的对比目标仍能恢复模态不变潜在变量。关键发现:词元粒度揭示了组合不可辨识性——存在伪最优文本编码器,可在保持模态不变对齐的同时,对原子概念的交换(SWAP)、替换(REPLACE)和添加(ADD)操作完全无感,导致无法区分正确描述与难负样本,尽管其优化目标与真最优编码器一致。分析进一步揭示语言侧不可辨识性通过模态差距传导至视觉侧,并表明迭代组合操作会加剧难度,由此启发更优的负样本挖掘策略。
原文摘要 · Abstract (English)
Contrastive Language-Image Pre-training (CLIP) delivers strong cross modal generalization by aligning images and texts in a shared embedding space, yet it persistently fails at compositional reasoning over objects, attributes, and relations often behaving like a bag-of-words matcher. Prior causal accounts typically model text as a single vector, obscuring token-level structure and leaving core phenomena-such as prompt sensitivity and failures on hard negatives unexplained. We address this gap with a token-aware causal representation learning (CRL) framework grounded in a sequential, language-token SCM. Our theory extends block identifiability to tokenized text, proving that CLIP's contrastive objective can recover the modal-invariant latent variable under both sentence-level and token-level SCMs. Crucially, token granularity yields the first principled explanation of CLIP's compositional brittleness: composition nonidentifiability. We show the existence of pseudo-optimal text encoders that achieve perfect modal-invariant alignment yet are provably insensitive to SWAP, REPLACE, and ADD operations over atomic concepts, thereby failing to distinguish correct captions from hard negatives despite optimizing the same training objective as true-optimal encoders. The analysis further links language-side nonidentifiability to visual-side failures via the modality gap and shows how iterated composition operators compound hardness, motivating improved negative mining strategies.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。