NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Data Efficient Language-Supervised Zero-Shot Recognition with Optimal Transport Distillation

Bichen Wu, Ruizhe Cheng, Peizhao Zhang, Tianren Gao, Joseph E. Gonzalez, Peter Vajda

In the world of computer vision, the "CLIP" paradigm—training models on massive amounts of image-text pairs from the internet—has revolutionized zero-shot recognition. However, CLIP is notoriously "data-hungry," requiring over 400 million pairs to reach its full potential. A paper from researchers at Meta Reality Labs and UC Berkeley introduces OTTER, a method that significantly boosts data efficiency by rethinking how we handle the inherent noise in web-scale datasets.

TL;DR

OTTER (Optimal TransporT distillation for Efficient zero-shot Recognition) improves the data efficiency of language-supervised models by replacing rigid "one-to-one" image-text labels with "soft" many-to-many matches found via optimal transport. This approach allows models to learn effectively from significantly smaller datasets (e.g., 3M vs. 400M pairs) by acknowledging that one caption can often describe multiple images in a batch.

What Problem Does This Paper Address?

The standard way to train models like CLIP is using the InfoNCE loss. This loss assumes a strict one-to-one relationship: in a batch of data, an image is only considered a "positive" match for its paired caption and a "negative" match for every other caption.

However, internet data is messy. Many "unpaired" images and captions in a training batch are actually highly semantically related. Forcing the model to treat these as hard negatives creates noisy gradients and forces the model to see vastly more data to overcome the confusion. This "one-hot" assumption is a major source of data inefficiency.

Methods

The core innovation is Optimal Transport (OT) distillation. Instead of using a fixed identity matrix as the target for contrastive learning, OTTER dynamically estimates a "soft" matching matrix for each batch.

OTTER Architecture Diagram
  1. Similarity Matrix Construction: The model computes a similarity matrix that considers not just image-to-text similarity, but also image-to-image and text-to-text similarities. This helps the model realize that if two images are nearly identical, they should likely match the same set of captions.
  2. Entropic Optimal Transport: To find the most sensible global matching between a batch of images and captions, the authors solve an optimal transport problem. They use entropic regularization, which ensures the resulting matches are "soft" (probabilistic) rather than "hard" (binary).
  3. Sinkhorn-Knopp Algorithm: This optimization is solved efficiently on the fly using the iterative Sinkhorn-Knopp algorithm, making it suitable for high-speed training.
  4. Soft Label Training: These OT-derived probabilities serve as "soft labels." The model is trained to minimize the cross-entropy between its predicted distribution and this optimized target distribution.

Key Insights and Ideas

  • The "Hard Label" Bottleneck: The paper quantifies that in standard datasets, the matching probability between "paired" samples is often far below 1.0, while "unpaired" samples often have non-trivial similarity. Hard labels ignore this reality.
  • Self-Similarity as a Prior: A key insight is that image-image and text-text similarities provide crucial context. If the model knows two captions are nearly synonymous, it shouldn't be penalized for matching an image to either one.
  • OT as a Denoising Mechanism: Optimal transport acts as a global constraint. It ensures that every image in a batch is matched to something and every caption is used, preventing the model from collapsing into trivial solutions while allowing for the many-to-many relationships found in real-world data.

Key Results

The authors focused on training with significantly smaller datasets than CLIP to prove efficiency, utilizing datasets like Conceptual Captions 3M (CC 3M), Wikipedia-based Image Text (WIT, 5M pairs), and YFCC 15M.

Zero-Shot Evaluation Results
  • Consistency: Across 42 different evaluations (7 dataset/architecture settings × 6 metrics), OTTER outperformed or tied all baselines in 34 of them.
  • Data Efficiency: A ResNet-50 trained with OTTER on just 3M pairs outperformed a much larger Wide ResNet-50x2 trained with standard InfoNCE.
  • Zero-Shot Superiority: On the ImageNet 21K+1K benchmark, OTTER significantly outperformed traditional zero-shot learning methods (like DeViSE and HZSL) by up to 68% relatively.
  • Compositionality: In a newly introduced vision-language compositionality benchmark based on the CUB dataset, OTTER showed better "algebraic" properties (e.g., Image Embedding + "yellow breast" Text Embedding ≈ Target Bird Image) than standard contrastive baselines.

Limitations and Future Work

  • Initialization: Because the training datasets used (3M-15M) are still relatively small for training from scratch, the authors used pre-trained encoders (e.g., from BiT or DeCLUTR) as a starting point.
  • Hyperparameter Sensitivity: The method introduces new hyperparameters like $\alpha$ (noise level) and $\lambda$ (OT smoothness) that require tuning.
  • Scaling: While OTTER is efficient on small-to-medium datasets, testing its effectiveness on truly massive scales (like CLIP's 400M pairs) remains a necessary next step for future research.

Source: Wu et al., "OTTER: Data Efficient Language-Supervised Zero-Shot Recognition with Optimal Transport Distillation," ICLR 2022.

Summary updated

BibTeX
@inproceedings{wu2022data,
  author = {Bichen Wu and Ruizhe Cheng and Peizhao Zhang and Tianren Gao and Joseph E. Gonzalez and Peter Vajda},
  title = {{Data Efficient Language-Supervised Zero-Shot Recognition with Optimal Transport Distillation}},
  booktitle = {International Conference on Learning Representations},
  year = {2022},
  url = {https://openreview.net/forum?id=G89-1yZLFHk},
}
Figure