arXiv:2511.16527cs.CVcs.LG2025-11

提出新损失函数,让视觉语言模型同时理解句子改写和否定。

Contrastive vision-language learning with paraphrasing and negation

  • 用大模型生成原句、改写句和否定句构成训练三元组
  • 在保持原有性能基础上,同时提升对改写和否定的识别能力
  • 适合需要鲁棒性零样本推理的应用场景

对比式视觉-语言模型仍是图像-文本检索的主流方法。对比语言-图像预训练(CLIP)通过训练两个神经网络,使图像与文本嵌入在共享潜在空间中对齐。然而,当面对否定或改写后的文本时,现有模型表现不一,因这些语义变化难以形式化定义。否定通常仅通过少量词汇变更实现相反含义,而改写则使用完全不同表达传递相同意义。因此,同时学习改写与否定面临语法变化与语义意图不匹配的挑战。本文提出一种新对比损失函数——SemCLIP,利用多个大语言模型生成原句、改写句和否定句构成训练三元组。该方法旨在学习语义相关且简洁的嵌入表示:将改写句拉近原图像嵌入,同时推远否定句。实验表明,SemCLIP在保留与增强任一类型(否定或改写)的性能水平的同时,显著提升了在五个下游数据集上对原始与否定句间准确率差异(平均准确率差)的鲁棒性,证明其具备零样本迁移的稳定性。

原文摘要 · Abstract (English)

Contrastive vision-language models continue to be the dominant approach for image-text retrieval. Contrastive Language-Image Pre-training (CLIP) trains two neural networks to align their image and text embeddings in a shared latent space. As a challenging case-study for neurosymbolic AI, recent results evaluating CLIP on negated or paraphrased text have shown mixed performance as these are difficult to define formally for text data. Negation produces the opposite meaning using various possible but small lexical changes. Paraphrasing may use very different textual expressions to denote essentially the same thing. As a result, learning of paraphrasing and negation together poses a significant challenge because of the above mismatch between changes in syntax and intended meaning expected to be captured by distances in embedding space. This paper proposes a new CLIP contrastive loss function capable of balancing the requirements of having both paraphrasing and negation. It applies training triplets consisting of original, paraphrased and negated text generated by multiple large language models to the evaluation of CLIP models. The approach, called SemCLIP, aims to learn semantically-relevant and simple embeddings, placing paraphrased captions nearer to the original image embeddings while at the same time pushing negated captions farther away. Empirically, SemCLIP is shown to be capable of preserving roughly the same performance as CLIP augmented with either negation or paraphrasing. Although direct comparisons are difficult to make because the problem of learning with both negation and paraphrasing is different, an expected benefit of SemCLIP should be robustness when applied zero-shot to downstream image classification tasks. Our experiments confirm such robustness as measured by difference in accuracy (mean-accuracy delta) between original and negated captions on five downstream datasets.

视觉语言模型语义对齐零样本学习

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。