Compress & Align: Curating Image-Text Data with Human Knowledge

Lei Zhang, Fangxun Shu, Sucheng Ren, Bingchen Zhao, Hao Jiang, Cihang Xie · DOI

Introduction

Vision-language models (VLMs) like CLIP and BLIP have traditionally relied on the "more is better" philosophy, training on billions of image-text pairs scraped from the web. However, this approach is limited by the inherent noise of web data, where captions are frequently irrelevant, ungrammatical, or factually incorrect. Standard model-based filtering—using pre-trained models to score similarity—often fails because these filters are themselves trained on the same noisy data, creating a circular logic that misses the nuanced descriptive quality humans value.

Researchers have addressed this by training a reward model to mimic human judgment of image-text alignment. By filtering massive web-crawled datasets down to just 10% of their original size, they found that models trained on these tiny, high-quality subsets actually outperform those trained on the full, noisy datasets—achieving up to an 11.5% boost in image captioning performance.

Methods

The authors propose a three-step pipeline called Filter & Align to inject human-like reasoning into the data curation process:

  1. Human Knowledge Collection: A specialized dataset, COCO-HF, was created by taking 1,000 images and generating 8–10 candidate captions for each from diverse sources, including original COCO labels, AI-generated captions, and human rewrites.
  2. Preference Annotation: Human experts ranked these captions based on four criteria: Accuracy (content reflection), Completeness (object coverage), Vividness (detail and relationships), and Context (background and atmosphere).
  3. Reward Model Training: A "Reward Model" (using a BLIP backbone) was trained to predict these human rankings using a Bradley-Terry pairwise loss function.
  4. Massive-Scale Filtering: This reward model acted as a "human-like referee," scoring millions of pairs from web datasets (CC3M, CC12M, and LAION). Only the top-tier samples (e.g., the top 15%) were retained for the final training set.
Overview of the three-step pipeline for curating high-quality image-text data using human feedback and a reward model.

Key Insights and Results

The "Quality over Quantity" Tipping Point

The study demonstrates a dramatic "less is more" effect. For image captioning, a model trained on 15.5M "human-approved" samples significantly outperformed a model trained on 130M raw samples. This suggests that standard model-based filtering has a ceiling; while CLIP/BLIP scores identify simple object-word correlations, the human-centric reward model identifies narrative quality and context, providing a richer learning signal.

Performance Gains

Despite a ~9x reduction in data (from 130M to 15.5M samples), the BLIP-B/16 model showed:

  • +2.9% average improvement on retrieval tasks.
  • +11.5% average improvement on captioning tasks.
Performance comparison of the proposed method (15.5M samples) against the full dataset (130M) and standard filtering baselines.

Task Sensitivity and Generalization

Image captioning tasks benefit significantly more from high-quality data than image retrieval tasks. While retrieval relies on sheer visual diversity, captioning requires linguistic precision. Notably, the reward model trained on just 1,000 images generalized effectively to filter hundreds of millions of samples, proving that human preference is a robust signal that does not require massive supervision to learn.

Limitations and Future Work

While effective, the method faces a diversity trade-off: aggressive filtering (beyond 90%) can eventually hurt retrieval performance by reducing visual variety. Future research is needed to determine if this approach scales to billions of parameters without the reward model becoming a bottleneck, and to explore potential human biases inherent in the initial preference annotations.

Summary updated

BibTeX
@misc{zhang2023compress,
  author = {Lei Zhang and Fangxun Shu and Sucheng Ren and Bingchen Zhao and Hao Jiang and Cihang Xie},
  title = {{Compress \& Align: Curating Image-Text Data with Human Knowledge}},
  year = {2023},
  eprint = {2312.06726},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.06726},
}
Figure