[Paper Review] Data Efficient Language-supervised Zero-shot Recognition with Optimal Transport Distillation
OTTER proposes a data-efficient zero-shot recognition method using optimal transport distillation to improve contrastive learning by modeling soft, many-to-many image-text matches instead of relying on noisy hard labels. Trained on only 3M image-text pairs, OTTER outperforms InfoNCE, label smoothing, and knowledge distillation across 42 evaluations, achieving state-of-the-art results on Google Open Images and ImageNet 10K with gains up to 6.6 pts in FH@10.
Traditional computer vision models are trained to predict a fixed set of predefined categories. Recently, natural language has been shown to be a broader and richer source of supervision that provides finer descriptions to visual concepts than supervised "gold" labels. Previous works, such as CLIP, use InfoNCE loss to train a model to predict the pairing between images and text captions. CLIP, however, is data hungry and requires more than 400M image-text pairs for training. The inefficiency can be partially attributed to the fact that the image-text pairs are noisy. To address this, we propose OTTER (Optimal TransporT distillation for Efficient zero-shot Recognition), which uses online entropic optimal transport to find a soft image-text match as labels for contrastive learning. Based on pretrained image and text encoders, models trained with OTTER achieve strong performance with only 3M image text pairs. Compared with InfoNCE loss, label smoothing, and knowledge distillation, OTTER consistently outperforms these baselines in zero shot evaluation on Google Open Images (19,958 classes) and multi-labeled ImageNet 10K (10032 classes) from Tencent ML-Images. Over 42 evaluations on 7 different dataset/architecture settings x 6 metrics, OTTER outperforms (32) or ties (2) all baselines in 34 of them.
Motivation & Objective
- To address the data inefficiency of contrastive learning in zero-shot recognition, especially when training on large-scale noisy image-text datasets.
- To improve performance by modeling soft, many-to-many image-text matching relationships instead of relying on hard, ground-truth pairings.
- To reduce reliance on massive datasets like CLIP’s 400M pairs by leveraging optimal transport to refine training signals from smaller, noisier data.
- To enhance zero-shot generalization by using entropic optimal transport to assign probabilistic matches between unpaired images and captions.
- To achieve state-of-the-art performance with minimal data while maintaining strong generalization across diverse benchmarks.
Proposed method
- OTTER uses a similarity matrix composed of image, text, and cross-modal similarities to model pairwise matching scores between images and captions.
- It applies entropic-regularized optimal transport to compute soft, differentiable matching probabilities across all image-text pairs in a batch, capturing many-to-many relationships.
- The method introduces a temperature-softened contrastive loss that uses the optimal transport solution as pseudo-labels instead of hard ground-truth pairs.
- It employs an exponential moving average (EMA) of the image and text encoders to stabilize training and improve generalization.
- The loss function combines the optimal transport matching probabilities with a contrastive objective to jointly optimize image and text representations.
- The framework is trained end-to-end using only 3M image-text pairs, significantly reducing data requirements compared to CLIP.
Experimental results
Research questions
- RQ1Can optimal transport be used to model soft, many-to-many image-text matches in a batch to improve contrastive learning?
- RQ2Does replacing hard ground-truth labels with probabilistic matching from optimal transport lead to better data efficiency in zero-shot recognition?
- RQ3How does OTTER compare to InfoNCE, label smoothing, and knowledge distillation in terms of zero-shot generalization across diverse benchmarks?
- RQ4What is the contribution of the similarity matrix composition and EMA to model stability and performance?
- RQ5Can a model trained on only 3M image-text pairs achieve performance comparable to or better than CLIP, which uses 400M pairs?
Key findings
- OTTER outperforms InfoNCE, label smoothing, and knowledge distillation in 32 out of 42 evaluations on Google Open Images and ImageNet 10K.
- On the Google Open Images test set, a ResNet50 trained with OTTER surpasses CLIP-RN50 by 2.6 points in FH@1 and 6.6 points in FH@10.
- A ResNet50 trained with OTTER (25.6M params) outperforms a wider Wide ResNet50x2 (68.4M params) trained with InfoNCE under the same setting.
- On ImageNet 21K+1K, OTTER achieves 14.3% FH@10, significantly outperforming the previous SOTA HZSL by 68% relatively.
- Ablation studies show that removing image or text similarity components or disabling EMA leads to performance drops of up to 4.9 points in FH@K=1.
- Visualizations confirm that OTTER identifies meaningful unpaired image-text matches that InfoNCE treats as negatives, demonstrating its ability to capture subtle semantic alignments.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.