BLIP3-KALE: Knowledge Augmented Large-Scale Dense Captions

Anas Awadalla, Le Xue, Manli Shu, An Yan, Jun Wang, Senthil Purushwalkam, Sheng Shen, Hannah Lee, Oscar Lo, Jae Sung Park, Etash Kumar Guha, Silvio Savarese, Ludwig Schmidt, Yejin Choi, Caiming Xiong, Ran Xu · DOI

TL;DR

This paper introduces BLIP3-KALE, a massive dataset of 218 million image-text pairs designed to bridge the gap between purely descriptive synthetic captions and factual web-scale alt-text. By augmenting synthetic captions with real-world knowledge from alt-text, BLIP3-KALE enables the training of more capable and knowledgeable vision-language models, demonstrating improved performance across various multimodal tasks.

What Problem Does This Paper Address?

Current large-scale image-text datasets often fall into two categories: synthetic captions generated by models, which can be descriptive but lack factual grounding, and web-scraped alt-text, which is factual but can be sparse, noisy, or lack detail. This creates a gap in training data for vision-language models (VLMs) that need to understand both the visual content and the real-world context. The authors aim to address this by creating a dataset that combines the richness of synthetic captions with the factual accuracy of web alt-text, leading to more robust and knowledgeable VLMs.

Methods

The creation of the BLIP3-KALE dataset involves a two-stage process:

  1. Stage 1: Generating Initial Knowledge-Augmented Captions:
    • They start with images from the Datacomp-1B dataset.
  2. A large VLM, CogVLM-17B, is used to generate dense, descriptive synthetic captions for these images.
  3. A powerful language model, Mistral-7B, is then prompted with these synthetic captions to rewrite and augment them with factual information extracted from web alt-text. This step aims to inject real-world knowledge into the captions. This stage produces an initial pool of 100 million knowledge-augmented captions.
  4. Stage 2: Scaling Up:
    • To efficiently scale up the dataset, they train a specialized, smaller VLM (2B parameters).
  5. This VLM is trained using the knowledge-augmented captions generated in Stage 1, along with image patch embeddings and the original Datacomp-1B captions. The architecture is similar to LLaVA, using Qwen2.5-1.5B for the language model and DFN ViT-H for the vision encoder.
  6. This distilled VLM is then used to caption an additional 118 million images from Datacomp-1B, bringing the total dataset size to 218 million image-text pairs.

Datasets

  • Training Data:
    • Datacomp-1B: Used as the source of images for both stages of KALE dataset creation.
  • BLIP3-KALE (New Dataset): A newly introduced dataset of 218 million image-text pairs, created using the described two-stage process. It is characterized by its large scale, high density (average 67.26 words/caption), and knowledge augmentation.
  • Cauldron Dataset: A subset of one million multimodal instruction tuning samples used for fine-tuning the VLMs.
  • Evaluation Benchmarks:
    • TextVQA, VQAv2, ScienceQA, AI2D, MMBench, ChartQA, InfoVQA, OCRBench, RealWorldQA, and MMStar.

Key Insights and Ideas

  • Bridging the Synthetic-Factual Gap: The core idea is that combining the descriptive power of synthetic captions with the factual grounding of web alt-text creates a more valuable training resource than either source alone.
  • Efficient Knowledge Augmentation: Using a large VLM and LLM for initial caption generation and augmentation, followed by distilling this process into a smaller VLM for scaling, is an efficient way to create large-scale, high-quality datasets.
  • Density Matters: The KALE dataset is significantly denser (average 67.26 words/caption) than previous datasets like CapsFusion (22.74 words/caption), suggesting that richer descriptions lead to better model performance.
  • Impact on Downstream Tasks: Training VLMs on KALE demonstrably improves performance across a range of vision-language tasks, highlighting the dataset's effectiveness.

Key Results

  • Dataset Size and Density: BLIP3-KALE contains 218 million image-text pairs, with an average caption density of 67.26 words per caption, making it significantly larger and denser than datasets like CapsFusion.
  • Performance Improvement: VLMs pre-trained on KALE achieve the highest average performance (51.96%) across a suite of vision-language benchmarks compared to other datasets.
  • Specific Benchmark Gains: KALE shows strong performance on TextVQA (59.92%), VQAv2 (70.10%), and ScienceQA (72.68%).
  • Comparison to Baselines: KALE significantly outperforms Datacomp-1B (49.86% average) and shows improvement over CapsFusion (50.88% average).
  • Stage 1 vs. Stage 2: The performance of captions from Stage 1 alone (51.53% average) is comparable to the full KALE dataset (51.96% average), indicating the effectiveness of the initial knowledge augmentation step.

Limitations and Future Work

  • Hallucination in Text-Dense Images: The authors acknowledge that the dataset still suffers from hallucination, particularly in images with dense text.
  • Scaling to Billions: They suggest future work should focus on scaling KALE to billions of image-text pairs.
  • Broader Multimodal Tasks: Exploring more sophisticated knowledge augmentation techniques and investigating KALE's impact on a wider range of multimodal tasks are also proposed future directions.

Summary updated

BibTeX
@misc{awadalla2024blip,
  author = {Anas Awadalla and Le Xue and Manli Shu and An Yan and Jun Wang and Senthil Purushwalkam and Sheng Shen and Hannah Lee and Oscar Lo and Jae Sung Park and Etash Kumar Guha and Silvio Savarese and Ludwig Schmidt and Yejin Choi and Caiming Xiong and Ran Xu},
  title = {{BLIP3-KALE: Knowledge Augmented Large-Scale Dense Captions}},
  year = {2024},
  eprint = {2411.07461},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.07461},
}
Figure