RedCaps: web-curated image-text data created by the people, for the people

Karan Desai, Gaurav Kaul, Zubin Aysola, Justin Johnson

TL;DR

The paper introduces RedCaps, a large-scale dataset of 12 million image-text pairs curated from 350 subreddits on Reddit. By leveraging data where humans naturally write captions to interact with other humans, RedCaps bypasses the complex, data-inefficient filtering pipelines required by traditional HTML alt-text datasets and yields superior performance in downstream visual representation and image captioning tasks.

What Problem Does This Paper Address?

State-of-the-art vision-and-language models rely heavily on massive datasets of paired images and text. Historically, these datasets are built by scraping HTML alt-text or querying search engines. However, web data is notoriously noisy; alt-text is frequently treated as an afterthought by web developers, often containing generic metadata (like "image_123.jpg") rather than descriptive language.

To maintain data quality, creators of datasets like Conceptual Captions (CC-3M) deploy aggressive filtering pipelines that discard up to 99.9% of their raw data. This approach is highly inefficient and strips away natural linguistic diversity. The authors of RedCaps ask a fundamental question: Can we find an alternative web data source where text and images are created with equal intent, minimizing the need for destructive filtering?

Methods

The authors turn to Reddit, a platform where users share images accompanied by titles explicitly written for human consumption. They develop a lightweight, three-step data collection pipeline:

  1. Subreddit Selection: The authors manually select 350 subreddits focused on photography, animals, food, scenery, and hobbies (e.g., r/birdpics, r/baking). They explicitly avoid subreddits centered on memes, screenshots, political commentary, or images of people.
  2. Image Post Filtering: Using the Pushshift and Reddit APIs, they collect posts from 2008–2020. To ensure quality, they only keep posts with at least 2 upvotes (leveraging Reddit's organic voting system) and restrict images to trusted domains (Reddit, Imgur, Flickr).
  3. Caption Cleaning: Because Reddit titles are inherently high-quality, cleaning is minimal. They lowercase text, remove emojis/non-Latin characters, strip out non-semantic bracketed text (like image resolutions or [OC] tags), and anonymize user handles with a [USR] token.

Ethical Considerations & Safety Filtering

To mitigate privacy and safety risks, the authors implement automated filters:

  • Face Detection: They use RetinaFace to detect and remove any images containing human faces.
  • NSFW Filtering: An InceptionV3 classifier removes potential adult content.
  • Text Blocklist: Posts containing derogatory language or slurs are purged.

Datasets

  • RedCaps (New): 12,011,111 image-text pairs from 350 subreddits.
  • Baselines for Comparison: SBU Captions, Conceptual Captions (CC-3M and CC-12M).
  • Downstream Evaluation Benchmarks: ImageNet-1k, PASCAL VOC, COCO, LVIS, and seven fine-grained classification datasets (Oxford-IIIT Pets, Food-101, Flowers-102, Stanford Cars, Country-211, SUN-397, and Birdsnap).

Key Insights and Ideas

  • Intent Dictates Quality: Reddit captions are conversational, humorous, and descriptive because they are meant to spark human interaction. This makes them fundamentally richer than alt-text.
  • Subreddits as Coarse Labels: The subreddit name acts as a built-in semantic label (e.g., r/shiba). Even if a user writes a vague caption like "mlem!", the subreddit context provides strong supervision for machine learning models.
  • Crowdsourced Quality Control: Reddit’s upvote system and community moderators act as a free, highly effective distributed filtering mechanism.
  • Superior Linguistic Diversity: RedCaps contains over 4× the number of unique unigrams (words) and more than 3× the bigrams/trigrams compared to CC-3M, exposing models to a much wider vocabulary of visual concepts.

Key Results

To evaluate RedCaps, the authors trained a modified image-captioning model (VirTex-v2) from scratch and transferred its visual features to downstream tasks:

  • Zero-Shot Image Classification: Models pre-trained on RedCaps vastly outperformed those trained on SBU and CC-3M. On average across seven downstream datasets, RedCaps achieved 26.8% zero-shot accuracy, compared to just 12.0% for CC-3M.
  • Data Efficiency: Even when restricting the dataset to a smaller subset from the year 2020 (RedCaps-20, ~3.2M pairs) to match the size of CC-3M, it still achieved 28.1% average zero-shot accuracy, proving that the data quality—not just quantity—drives the performance.
  • Human Preference: In a crowdsourced user study, human evaluators preferred image captions generated by the RedCaps-trained model over the CC-3M model 63.3% of the time, noting that RedCaps generated more organic references and specific details.

Limitations and Future Work

  • Demographic Bias: Reddit's user base skews young, male, white, and Western. Consequently, the dataset inherits these cultural biases, which influences the types of objects, places, and language present.
  • Dataset Decay (Link Rot): Because RedCaps complies with privacy standards by distributing image URLs rather than raw files, the dataset will naturally shrink over time as users delete their Reddit posts.
  • Usage Restrictions: Due to safety and licensing constraints, RedCaps is strictly limited to non-commercial academic research and should not be used for tasks involving facial recognition or profiling people.
  • Future Directions: The authors plan to release annual updates to allow the dataset to grow and suggest exploring Reddit's extensive comment threads for future dialog-based vision-language research.

Summary updated

BibTeX
@inproceedings{desai2021redcaps,
  author = {Karan Desai and Gaurav Kaul and Zubin Aysola and Justin Johnson},
  title = {{RedCaps: web-curated image-text data created by the people, for the people}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=VjJxBi1p9zh},
}
Figure