Noise-aware Learning from Web-crawled Image-Text Data for Image Captioning

Wooyoung Kang, Jonghwan Mun, Sungjun Lee, Byungseok Roh · DOI

Abstract

Large-scale web-crawled image-text datasets are essential for training modern vision models but are inherently noisy. Current strategies—either training on all data or aggressive filtering—often result in low-quality captions or data deficiency. We propose Noise-aware Captioning (NoC), a framework that treats alignment quality as a controllable signal. By conditioning the captioning model on discretized CLIP similarity scores, we enable it to learn from the entire dataset while prioritizing high-quality descriptions during inference. Our results demonstrate superior performance in zero-shot captioning and exceptional robustness to synthetic noise injection.

Introduction: The Noise Dilemma in Web-Scale Data

The success of recent computer vision models relies heavily on massive datasets harvested from the web. However, the associated alt-text is frequently misaligned with the image content (e.g., "placeholder image" or "click here").

Researchers typically face a trade-off:

  1. No Filtering: Training on the raw, noisy data often leads to generic, low-quality outputs as the model learns the "average" of the dataset.
  2. Aggressive Filtering: Using models like CLIP to remove low-similarity pairs cleans the data but discards a significant portion of the "long-tail" visual knowledge, as shown in Figure 2.
Filtering often discards informative samples along with actual noise based on CLIP similarity scores.

Methods: Noise-aware Captioning (NoC)

The NoC framework transforms noise from a liability into a control signal. Instead of binary filtering, the method categorizes alignment quality into $K$ discrete "buckets" or alignment levels.

1. Alignment Level Assignment

A pre-trained CLIP model calculates similarity scores for all training pairs. These scores are discretized into levels, where Level 1 represents complete noise and Level $K$ represents highly descriptive, well-aligned pairs.

2. Controllable Architecture

The model utilizes a Transformer-based encoder-decoder architecture where the decoder is conditioned on the alignment level ($z$). During training, the model learns to associate specific visual-textual alignment patterns with their corresponding $z$ values.

3. Inference Strategy

At test time, the model is prompted with the highest alignment level ($z=K$). This "tricks" the model into utilizing the high-quality descriptive patterns it learned during training, resulting in superior caption generation for unseen images.

Experimental Setup

The framework was evaluated using the Conceptual Captions 3M (CC3M) dataset and subsets of COYO-700M (up to 125M samples). Evaluation metrics included CIDEr scores on MSCOCO and nocaps, as well as self-retrieval performance on Flickr30k.

Key Results and Discussion

NoC consistently outperforms both vanilla and filtered baselines across various benchmarks.

Superior Zero-Shot Performance

On MSCOCO, NoC achieved a CIDEr score of 62.04, a significant improvement over the Vanilla baseline (47.56) and the CLIP-filtered baseline (54.66). This suggests that keeping the "noisy" data allows the model to learn broader visual concepts that filtering would otherwise remove.

Robustness to Noise Injection

To test the limits of the framework, the authors replaced up to 60% of training captions with random strings. As shown in Figure 1, NoC remains remarkably stable, while the performance of standard models collapses.

NoC ('Ours') demonstrates high robustness to noise injection compared to vanilla and filtered baselines.

Qualitative Improvements

As the control signal $z$ increases, generated captions transition from generic labels (e.g., "a desk") to detailed descriptions (e.g., "a photo of a cluttered desk with computers, keyboard, and mouse"). This confirms that the model successfully disentangles descriptive quality from visual content.

Conclusion

The Noise-aware Captioning framework demonstrates that "noise" in web-crawled data contains valuable information if handled correctly. By treating alignment as a controllable signal rather than a binary filter, NoC achieves state-of-the-art results while maintaining the scale and diversity of raw web data. Future work will explore the scalability of this approach to billion-scale foundation models.

Summary updated

BibTeX
@inproceedings{kang2023noise,
  author = {Wooyoung Kang and Jonghwan Mun and Sungjun Lee and Byungseok Roh},
  title = {{Noise-aware Learning from Web-crawled Image-Text Data for Image Captioning}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
  doi = {10.1109/iccv51070.2023.00275},
}
Figure