A CLIP-Powered Framework for Robust and Generalizable Data Selection

Suorong Yang, Peng Ye, Wanli Ouyang, Dongzhan Zhou, Furao Shen

TL;DR

This paper introduces a novel, CLIP-powered data selection framework that leverages multimodal information to curate high-quality training subsets. By combining semantic alignment (image-to-text matching) with sample diversity metrics, the framework effectively filters out noisy or corrupted data while preserving dataset variance. The result is a highly efficient selection process that can achieve near-lossless—and sometimes superior—model performance using significantly less data.

What Problem Does This Paper Address?

Training state-of-the-art deep learning models requires massive datasets, which incurs massive computational and storage costs. To mitigate this, researchers use data selection (or static dataset pruning) to identify and train on only the most informative samples before training begins.

However, existing data selection methods typically rely on single-modality information (just the images). This creates two major bottlenecks:

  1. Ambiguity with Noise: Single-modality models struggle to differentiate between a legitimately "hard" training sample and a corrupted or mislabeled one.
  2. The Group Effect: Most methods score samples individually and pick the top-N. They ignore how samples interact collectively, often missing out on the optimal group diversity.
Figure 1: Benefit of multimodal selection. Traditional single-modality approaches (upper part) may struggle with noisy and corrupted data, while our multimodal method (lower part) identifies class- representative samples with diversity while effectively filtering out noise and corrupted data.

Methods

The authors propose a three-stage framework powered by the CLIP vision-language model to address these limitations:

  1. Dataset Adaptation: To bridge the domain gap between CLIP’s pre-training data and the target dataset, the authors add lightweight, dimension-preserving MLP "adapters" to both the image and text encoders. These adapters are fine-tuned using an InfoNCE contrastive loss while the core CLIP weights remain frozen.
  2. Sample Scoring: The framework computes two distinct metrics for every sample:
  3. Semantic Alignment Score (SAS): The cosine similarity between the adapted image embedding and its category text description (e.g., "A photo of a [goldfish]"). This acts as a powerful noise filter.
  4. Sample Diversity Score (SDS): The average distance between a sample and its $k$-nearest neighbors of the same class, ensuring the final subset covers the entire feature space.
  5. Selection Optimization: Instead of a simple threshold ranking, the authors formulate subset selection as a multi-objective optimization problem solved via Stochastic Gradient Descent (SGD). They use a continuous selection parameter $d$ pushed toward binarization (0 or 1) using a Straight-Through Estimator (STE) to allow gradient backpropagation through discrete choices.
Figure 2: Our proposed method consists of dataset adaptation, sampling scoring, and selection optimization modules. The dataset adaptation module is used to learn dataset-specific knowledge. The sample scoring module computes two scores, SA and SD, to assess sample importance, based on which the selection optimization identifies the optimal subsets w.r.t. the expected selection ratios.

Datasets

The framework was validated across several standard image classification benchmarks:

  • CIFAR-10 & CIFAR-100
  • Tiny-ImageNet
  • ImageNet-1k

To test robustness, the authors injected synthetic label noise (20% and 30% flipped labels) and five types of image corruptions (Gaussian noise, motion blur, fog, resolution loss, and random occlusion). They also evaluated downstream generalization on challenging out-of-distribution variants: ImageNet-Hard, ImageNet-A, and ImageNet-R.

Key Insights and Ideas

  • Text as a Grounding Anchor: When an image is corrupted or mislabeled, its visual features shift drastically. However, by measuring its alignment against the text modality (the true category label), the framework easily flags it as an outlier.
  • The Synergy of SAS and SDS: Scoring data is a balancing act. Relying solely on diversity (SDS) accidentally includes outliers and noise. Relying solely on semantic alignment (SAS) clusters all selections tightly around the class center, sacrificing diversity. Using both allows the framework to cleanly cover the entire valid data distribution.
Figure 3: Illustration of the effectiveness of SAS and SDS. The circle and cross represent the normal and noisy samples, respectively. Different colors correspond to the selection results. SDS (b) selects diverse samples but may include noises. SAS (c) could avoid the noisy samples but potentially miss broader category information. Using both scores (d) can select category-representative while maintaining high diversity.
  • Data Selection as Data Cleaning: A striking realization from the paper is that pruning data isn't just about speedups. When a dataset is noisy, removing the bottom 10% of data actually improves final test accuracy beyond what is possible when training on the full 100% dataset.

Key Results

  • Superior Robustness to Noise: On CIFAR-100 with 20% label noise, the proposed method outperformed the closest baseline by 8.13% in accuracy. Remarkably, out of the selected subset, only 0.24% consisted of noisy samples, compared to baselines that let in up to 35% noise.
  • Lossless Pruning: On clean datasets like ImageNet-1k, the framework achieved virtually lossless performance (and sometimes slight improvements) while training on only 80% to 90% of the data.
  • Cross-Architecture Generalization: Subsets selected using this framework generalized exceptionally well when training entirely different architectures (e.g., VGG-16, DenseNet-121, ViTs, and Swin Transformers) than the ones used during selection.
  • High Efficiency: Because the optimization step bypasses heavy deep-network backpropagation and operates purely on pre-extracted numerical features, it runs significantly faster than traditional optimization-based selection methods like Glister or MoSo.

Limitations and Future Work

The authors note two primary limitations:

  1. Foundation Model Bias: Since the framework relies heavily on a pre-trained CLIP model, any inherent biases within CLIP could propagate into the selected training subsets. Future work will explore integrating bias-aware loss functions during the adaptation phase.
  2. Modality Imbalance: The current setup assumes a clean balance between visual and textual modalities. Datasets with highly imbalanced or weak text descriptions might degrade the semantic alignment performance, prompting the need for dynamic modality weight allocation in future iterations.

Summary updated

BibTeX
@inproceedings{yang2025clip,
  author = {Suorong Yang and Peng Ye and Wanli Ouyang and Dongzhan Zhou and Furao Shen},
  title = {{A CLIP-Powered Framework for Robust and Generalizable Data Selection}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=9bMZ29SPVx},
}
Figure