atlas

Research map / Vision-language and multimodal / Cross-modal learning

How to Make Cross Encoder a Good Teacher for Efficient Image-Text Retrieval?

CVPR 2024 · Vision-language and multimodal › Cross-modal learning · approach: Probabilistic embeddings for cross-modal retrieval · 7 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 Contrastive Partial Ranking Distillation (CPRD), which distills hard-negative ranking from a cross-encoder into a dual-encoder via contrastive learning, ignoring order among easy and invalid negatives, for efficient image-text retrieval.

Problem

Dual-encoders for image-text retrieval are efficient but less accurate than cross-encoders; naive logit distillation from cross-encoder to dual-encoder is ineffective because their similarity score distributions differ substantially.

Approach

Distill only the relative order among valid hard negatives (those the cross-encoder scores above a threshold) using an InfoNCE-style contrastive partial ranking loss, so the distillation objective coordinates with the dual-encoder's contrastive training and avoids matching score distributions.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Distill cross-encoder ranking knowledge with CPRDDual-encoder · Flickr30K (1K test set)R@S: 550.7 -> 556.0Helped
Distill cross-encoder ranking knowledge with CPRDDual-encoder · MSCOCO (5K test set)R@S: 460.3 -> 474.4Helped
Distill cross-encoder ranking knowledge with CPRDDual-encoder · MSCOCO (5K) zero-shotR@S: 432.5 -> 444.7Helped
Distill cross-modal ranking knowledge with CPRDDual-encoder · CrissCrossed CaptionsSITS Spearman's R ×100: 61.8±1.4 -> 64.3±1.3Helped
Use KL-divergence score-distribution distillation instead of no distillationDual-encoder · MSCOCO (5K) fine-tunedR@S: 297.8 -> 303.3Helped
Use M3SE margin distillation instead of no distillationDual-encoder · MSCOCO (5K) fine-tunedR@S: 297.8 -> 290.4Hurt
Use normalized M3SE (R-M3SE) instead of no distillationDual-encoder · MSCOCO (5K) fine-tunedR@S: 297.8 -> 302.3Helped
Adapt the valid-negative threshold so only one hard negative is valid (ablation)CPRD · MSCOCO (5K) fine-tunedR@S: 313.2 -> 307.7Hurt
Increase cross-encoder queue size from 0 to 16384 (ablation)CPRD · MSCOCO (5K) fine-tunedR@S: 299.9 -> 313.2Helped
Increase considered hard negatives from K=2 to K=16 (ablation)CPRD · MSCOCO (5K) fine-tunedR@S: 300.5 -> 312.4Helped
Set valid hard-negative threshold m to 0 instead of 0.75 (ablation)CPRD · MSCOCO (5K) fine-tunedR@S: 313.2 -> 290.4Hurt
Set valid hard-negative threshold m to 1.0 instead of 0.75 (ablation)CPRD · MSCOCO (5K) fine-tunedR@S: 313.2 -> 297.8Hurt

Surprising findings

Limitations

Experimental setup

Datasets: CC4M CC3M MSCOCO Flickr30K CrissCrossed Captions

Benchmarks: MSCOCO Flickr30K CrissCrossed Captions

Metrics: R@1 R@5 R@10 R@sum Spearman's R bootstrap correlation

Baselines: KL logit distillation M3SE R-M3SE COTS VSE∞ COOKIE LightningDOT CLIP ALIGN VinVL-base ALBEF BLIP

Builds on: ALBEF InfoNCE Margin-MSE M3SE MoCo-style momentum queues

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