atlas

Research map / Vision-language and multimodal / CLIP and zero-shot

Contrasting Intra-Modal and Ranking Cross-Modal Hard Negatives to Enhance Visio-Linguistic Compositional Understanding

CVPR 2024 · Vision-language and multimodal › CLIP and zero-shot · approach: CLIP training recipes and data curation · 14 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes CE-CLIP, which fine-tunes CLIP (and X-VLM) with intra-modal contrast and an adaptive-threshold cross-modal ranking loss over automatically generated POS-based hard negatives, improving visio-linguistic compositional reasoning without extra parameters or annotations.

Problem

Vision-language models such as CLIP have weak compositional reasoning (relations, attributes, actions, objects), behaving like bag-of-words, because standard image-text contrastive learning does not exploit hard negative captions well.

Approach

Generate four types of hard negative captions (relation, attribute, action, object) via spaCy POS parsing and RoBERTa infilling, then add an intra-modal contrastive loss among positive and hard-negative texts and a cross-modal ranking hinge loss with per-type adaptive thresholds that grow as training progresses (curriculum-like).

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Train CLIP with intra-modal contrast and cross-modal rank on featured hard negativesCLIP · ARO Relationaccuracy: 59.3 -> 83.6Helped
Train CLIP with intra-modal contrast and cross-modal rank on featured hard negativesCLIP · ARO Attributeaccuracy: 62.9 -> 77.1Helped
Train CLIP with intra-modal contrast and cross-modal rank on featured hard negativesCLIP · VALSE Avg.accuracy: 65.3 -> 76.7Helped
Train CLIP with intra-modal contrast and cross-modal rank on featured hard negativesCLIP · VL-CheckList Avg.accuracy: 69.2 -> 78.4Helped
Train CLIP with intra-modal contrast and cross-modal rank on featured hard negativesCLIP · SugarCrepe REPLACE Avgaccuracy: 85.0 -> 89.3Helped
Add intra-modal contrast to hard-negative image-text contrastive training (ablation)CE-CLIP+ · ARO Relationaccuracy: 81.6 -> 82.6Helped
Add cross-modal rank to hard-negative image-text contrastive training (ablation)CE-CLIP+ · ARO Relationaccuracy: 81.6 -> 82.3Helped
Combine intra-modal contrast and cross-modal rank (ablation)CE-CLIP+ · ARO Relationaccuracy: 82.6 -> 83.6Helped
Use adaptive rather than fixed thresholds for cross-modal rank (ablation)CE-CLIP+ · Five compositional benchmarksaccuracyHelped
Set the cross-modal rank threshold upper bound to 10 (ablation)CE-CLIP+ · Compositional benchmarksaccuracyHelped
Add object, attribute, relation, and action hard-negative types (ablation)CE-CLIP+ · Compositional benchmarksaccuracyHelped
Increase training data from COCO to COCO, CC3M, and Visual Genome (ablation)CE-CLIP · ARO Relationaccuracy: 83 -> 83.6Helped

Surprising findings

Limitations

Experimental setup

Datasets: COCO CC3M Visual Genome

Benchmarks: ARO VALSE VL-CheckList SugarCrepe COCO image-text retrieval ImageNet1K CIFAR10 CIFAR100 VQAv2

Metrics: accuracy recall@5

Baselines: NegCLIP CLIP-SVLC CLIP CyCLIP X-VLM DAC syn-CLIP CLIP-SGVL BLIP BLIP2 BEIT3 MiniGPT-4

Builds on: CLIP NegCLIP X-VLM hinge loss SLVC

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy