Differential-informed Sample Selection Accelerates Multimodal Contrastive Learning

Zihua Zhao, Feng Hong, Mengxi Chen, Pengyi Chen, Benyuan Liu, Jiangchao Yao, Ya Zhang, Yanfeng Wang

TL;DR

This paper introduces DISSect, a novel method for accelerating multimodal contrastive learning by intelligently selecting informative samples during training. DISSect effectively identifies and filters out noisy image-text correspondences by analyzing the differential in model predictions between historical and current training states, leading to faster convergence and improved performance without requiring an oracle model.

What Problem Does This Paper Address?

Multimodal contrastive learning, a powerful paradigm for aligning different data modalities like images and text, has achieved remarkable success. However, this progress often comes at the cost of massive datasets and extensive computational resources. While sample selection methods aim to reduce this burden by identifying the most valuable data points, existing approaches face limitations. Coreset selection methods often require an "oracle model" which is impractical in cold-start scenarios, while online selection methods struggle to effectively handle noisy correspondences (e.g., an image paired with an irrelevant text description) that can hinder learning. This paper addresses the challenge of efficiently selecting informative samples for multimodal contrastive learning in an oracle-model-free manner, specifically by tackling the problem of noisy correspondences.

Methods

The core of DISSect lies in its novel sample selection strategy. Instead of relying on simple loss thresholds or external models, DISSect leverages the differential of a model's prediction of image-text similarity over time. Specifically, it calculates the difference between the CLIPScore (a measure of image-text similarity derived from a pre-trained CLIP model) at a historical training stage and the current training stage. The intuition is that clean, well-aligned samples will show a stable or gradually improving CLIPScore, while noisy correspondences will be memorized later in training, leading to a significant increase in CLIPScore from the historical to the current state. This differential, denoted as $\delta$, is used to quantify the "cleanliness" or "memorization tendency" of a sample. Samples with the largest $\delta$ are prioritized for training. The historical CLIPScore can be obtained either through a warm-up phase or by using temporal ensembling, both of which are computationally efficient.

Datasets

The paper uses the following datasets for training and evaluation:

  • Training: CC3M, YFCC15M, CC12M.
  • Downstream Tasks (Evaluation): MS-COCO (image-caption retrieval), Flickr30K (image-caption retrieval), NLVR2 (visual reasoning), COCO (image captioning).

Key Insights and Ideas

  • The "Differential" is Key: The most significant insight is that the change in a model's confidence about an image-text pair's alignment (the differential) is a more robust indicator of sample quality than the absolute confidence itself, especially in the presence of noisy data.
  • Noisy Data Memorization Pattern: Models tend to learn clean patterns first and then memorize noisy correspondences. This pattern is crucial for understanding why simple loss-based selection fails and why the differential approach works.
  • Oracle-Free Efficiency: DISSect's ability to achieve strong results without an external oracle model is a major practical advantage, making it applicable in more scenarios, especially during early training stages.
  • Online Selection Advantage: The paper empirically shows that online selection methods generally outperform coreset selection methods, likely due to their dynamic adaptation to the training process.

Key Results

  • Significant Acceleration: DISSect achieves approximately 2.85x acceleration to reach the same performance as full data training on the MS-COCO retrieval task. It also outperforms full data training by 16.03 in Recall Sum with the same number of iterations.
  • State-of-the-Art Performance: DISSect consistently outperforms existing sample selection methods, including those that rely on oracle models (like CLIPScore) and other noisy correspondence handling methods (NCR, GSC), across various downstream tasks and datasets.
  • Robustness to Selection Ratio: DISSect maintains strong performance even at lower selection ratios (e.g., 30%), demonstrating its efficiency. It performs comparably to full data training at 30% selection on CC3M.
  • Effective Noise Handling: DISSect shows superior performance on noisier datasets like YFCC15M, highlighting its effectiveness in filtering out noisy correspondences.
  • Computational Efficiency: The overhead of DISSect's selection mechanism is negligible, making it suitable for large-scale training.

Limitations and Future Work

  • Hyperparameter Sensitivity (Warm-up): While temporal ensembling offers a more parameter-free approach, the warm-up strategy for obtaining historical CLIPScore might require careful selection of the warm-up epoch.
  • Future Work: The paper suggests that DISSect's plug-and-play nature makes it adaptable to various backbones and architectures, hinting at further exploration in this direction. The authors also mention that further acceleration can be achieved by utilizing low-precision cores or asynchronous execution for sample selection.

Summary updated

BibTeX
@inproceedings{zhao2025differential,
  author = {Zihua Zhao and Feng Hong and Mengxi Chen and Pengyi Chen and Benyuan Liu and Jiangchao Yao and Ya Zhang and Yanfeng Wang},
  title = {{Differential-informed Sample Selection Accelerates Multimodal Contrastive Learning}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
}
Figure