TL;DR
Instead of permanently discarding data using static, offline filters, this paper introduces Concept-Aware Batch Sampling (CABS), an online framework that dynamically shapes training batches on-the-fly to match the needs of specific downstream tasks. Paired with DATACONCEPT, a newly introduced 128M image-text dataset rich in concept-level annotations, CABS delivers massive performance boosts for vision-language models across both classification and retrieval tasks.
What Problem Does This Paper Address?
Most modern vision-language models (VLMs) rely on massive web-crawled datasets. To ensure data quality, researchers typically use offline, concept-agnostic filtering (like keeping only the top CLIP-score pairs). However, this approach has three major flaws:
- The "Data Wall": Discarding large portions of data permanently accelerates data scarcity.
- One Size Does Not Fit All: Different downstream tasks require fundamentally different data distributions. For example, image classification benchmarks (like ImageNet) favor clean, single-object images, while image-text retrieval benchmarks (like MSCOCO) require complex, multi-object scenes. Offline filtering forces a single, static compromise.
- Black-Box Biases: Relying on pre-trained models to filter data can inadvertently propagate and amplify those models' hidden biases.
The authors tackle this by shifting from offline sample filtering to flexible, task-adaptive online concept-based curation.
Methods
The authors introduce CABS (Concept-Aware Batch Sampling). Instead of altering the dataset before training, CABS operates during training. It samples a large "superbatch" from the data pool and uses a parameterized heuristic function to select a optimized sub-batch for the actual training step.
The paper proposes two distinct CABS strategies:
- CABS-Diversity Maximization (CABS-DM): Tailored for zero-shot classification. It uses a greedy selection strategy with a "rarity bonus" to build batches with a near-uniform concept frequency distribution, ensuring the model learns robust representations for rare and long-tailed concepts.
- CABS-Frequency Maximization (CABS-FM): Tailored for image-text retrieval. It prioritizes samples containing the highest number of unique concepts, deliberately feeding the model complex, multi-object scenes to improve compositional understanding.
Datasets
To power concept-aware sampling, the authors created DATACONCEPT, a multimodal pretraining dataset containing 128M image-text pairs derived from DataComp's unfiltered pool.
As shown in the pipeline below, each sample is augmented with:
- Fine-grained semantic concept tags (via RAM++).
- Grounded bounding boxes and confidence scores (via GroundingDINO).
- Concept-driven synthetic recaptions (via Qwen2-VL-7B) to reduce web alt-text noise.
For evaluation, the authors test their models across a robust suite of 28 benchmarks, including ImageNet variants, MSCOCO, Flickr30k, and the long-tailed "Let-It-Wag!" dataset.
Key Insights and Ideas
- Task-Adaptivity is Crucial: Curation should be steerable. Modifying a simple batch-scoring function allows the exact same data pool to optimally train a model for classification or retrieval.
- Data Reuse Over Filtering: Keeping the entire data pool intact and filtering dynamically online avoids the data depletion wall while outperforming static subsets.
- Online Beats Offline Curation: CABS-DM significantly outperforms MetaCLIP (a popular offline concept-balancing approach). This is because online sampling introduces stochastic variation across training steps, preserving overall data diversity while maintaining balanced batches.
Key Results
- Zero-Shot Classification: CABS-DM yielded an absolute improvement of +5.0% for CLIP (ViT-B-32) and +7.0% for SigLIP (ViT-B-16) on ImageNet zero-shot classification. It also outperformed alternative online batch-sampling methods like GRIT-VLP and MAFA.
- Image-Text Retrieval: CABS-FM achieved up to a +9.1% gain in average Recall@1 when paired with concept-aware recaptions.
- Compute Efficiency: In long training runs (1.28B samples seen), CABS demonstrated impressive 2× to 3.2× compute multipliers, achieving the performance of standard IID training in a fraction of the training steps.
Limitations and Future Work
The primary drawback of CABS is the upfront computational cost of generating concept annotations for the pretraining pool, though the authors note this cost is amortizable since the dataset can be reused. Additionally, the runtime overhead of CABS scales with the filtering ratio, which requires careful tuning.
For future work, the authors suggest exploring curriculum learning—dynamically shifting the CABS heuristic function during training (e.g., starting with simple single-object images and transitioning to complex scenes). They also propose adapting CABS to fine-tuning pipelines.
Summary updated