Multimodal Data Curation via Object Detection and Filter Ensembles

Tzu-Heng Huang, Changho Shin, Sui Jiet Tay, Dyah Adila, Frederic SalaarXiv 2024 · DOI

Abstract

The performance of vision-language models (VLMs) is heavily dependent on the quality of the training data. However, massive web-scale datasets often contain significant noise and poor alignment between images and text. We present a framework that enhances data curation through a two-step process: granular filter design using zero-shot object detection and intelligent filter ensembling via weak supervision. Our approach demonstrates a ~4% performance improvement over state-of-the-art baselines in the DataComp benchmark.

Introduction

In the era of "Data-Centric AI," the curation of high-quality datasets has become as critical as model architecture. Multimodal models like CLIP are typically trained on noisy internet crawls where captions may not accurately reflect image content. While global similarity metrics like the CLIP score are widely used for filtering, they often lack the granularity required to distinguish between meaningful content and background noise. This paper addresses the challenge of scalable, interpretable curation by leveraging object-level verification and probabilistic ensembling.

Methodology

Granular Filter Design via Object Detection

To move beyond global similarity, we employ Grounding DINO, a zero-shot object detection model, to verify the presence of specific entities mentioned in captions. This allows for the creation of filters based on structural image properties rather than just embedding distances.

Examples of granular filtering based on object detection results, including object presence, count, and aspect ratio.

The granular filters focus on three primary dimensions:

  1. Logit Scores: Assessing the detector's confidence in the existence of the mentioned object.
  2. Object Count: Filtering out images where the number of detected objects is unrealistic (e.g., keeping pairs with 1–4 objects).
  3. Aspect Ratio: Ensuring detected objects are of a significant size relative to the frame, filtering out tiny, potentially irrelevant details.

Weak Supervision Ensembling

Combining multiple filters (e.g., CLIP scores, object counts, and aspect ratios) is non-trivial due to varying reliability and high inter-filter correlation. We utilize Snorkel, a weak supervision framework, to ensemble these "weak labels."

The proposed two-step pipeline for multimodal data curation, featuring individual filter design and weak supervision ensembling.

By employing an Ising model, the framework estimates the accuracy and dependencies of each filter without requiring ground-truth labels. This probabilistic approach allows for mathematically weighted voting, resulting in a more robust final selection than simple majority rules.

Experimental Results

The framework was evaluated on the DataComp benchmark across Small (~12.8M pairs) and Medium (~128M pairs) scales.

  • Small Scale: The best individual filter (combining aspect ratio and CLIP score) achieved a score of 0.178. The full ensemble reached 0.180, a 4% improvement over the 0.173 baseline.
  • Medium Scale: The ensemble approach maintained consistency, achieving a 4.2% improvement over the top baseline (Image-based ∩ CLIP score).

Discussion and Conclusion

Our results indicate that granular, object-aware filtering significantly outperforms global similarity metrics. Furthermore, formal ensembling via weak supervision effectively manages the correlations between diverse filters. While computationally more intensive than simple scoring—requiring image resizing to 400x400 to maintain throughput—the use of zero-shot models like Grounding DINO makes this approach viable for production-scale data curation. Future work will explore deeper integration of spatial geometry into the label models to further refine filter aggregation.

Summary updated

BibTeX
@misc{huang2024multimodal,
  author = {Tzu-Heng Huang and Changho Shin and Sui Jiet Tay and Dyah Adila and Frederic Sala},
  title = {{Multimodal Data Curation via Object Detection and Filter Ensembles}},
  year = {2024},
  eprint = {2401.12225},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.12225},
}
Figure