Synth2: Boosting Visual-Language Models with Synthetic Captions and Image Embeddings

Sahand Sharifzadeh, Christos Kaplanis, Shreya Pathak, Dharshan Kumaran, Anastasija Ilic, Jovana Mitrovic, Charles Blundell, Andrea BaninoarXiv 2024 · DOI

Abstract

Visual-Language Models (VLMs) typically rely on massive, often noisy, web-scraped datasets. This paper introduces Synth², a framework that trains VLMs using entirely synthetic data consisting of LLM-generated captions and text-to-image embeddings. By operating in the embedding space, Synth² achieves a 25% training speedup and reaches performance parity with real-data baselines in one-third of the training steps.

Introduction

The performance of modern VLMs is constrained by the quality and diversity of their training data. Web-scraped datasets like LAION suffer from semantic imbalance and poor caption quality. While synthetic data offers a solution, traditional methods that render images to pixels are computationally expensive and risk "knowledge leakage" from pre-trained generators. Synth² addresses these issues by generating high-quality synthetic captions and corresponding image embeddings, facilitating efficient and effective VLM training.

Methodology: The Embedding Shortcut

Synth² reverses the standard data curation workflow. Instead of collecting images and annotating them, the pipeline starts with a Large Language Model (Gemini Pro) generating diverse, descriptive captions based on ImageNet21k classes. These captions are then fed into a MUSE-based text-to-image generator.

Comparison of data generation pipelines: (A) Traditional human-annotated, (B) Synthetic pixel-based, and (C) Synth² embedding-based approach.

Crucially, Synth² generates image embeddings (VQ-tokens) rather than raw pixels. This allows the VLM to ingest visual information directly, bypassing the overhead of decoding and re-encoding images. This approach not only improves training throughput by 25% but also preserves the rich representational space of the generator.

Data Diversity and Compositional Novelty

A primary advantage of the Synth² pipeline is its ability to generate semantically balanced data. Analysis of the resulting GenPair dataset (1 million synthetic pairs) shows higher entropy in concept distribution compared to web-scraped alternatives.

Examples of synthetic image-caption pairs from the GenPair dataset, showcasing the descriptive detail provided by the LLM.

Furthermore, the generator facilitates "compositional novelty." By synthesizing scenes that may not exist in the original training data—such as specific objects in unusual contexts—the model provides a form of high-quality data augmentation that improves the VLM's robustness and zero-shot capabilities.

Experimental Evaluation

To isolate the impact of synthetic data, the authors pre-trained both the generator and the VLM on the same source (Conceptual Captions v2).

Key Results:

  • Training Efficiency: Synth² models reached the performance levels of real-data baselines using only 33% of the training steps.
  • Zero-Shot Gains: On the MS-COCO benchmark, the addition of 1M synthetic pairs to a 10M real-pair baseline resulted in a CIDEr score increase from 22.1 to 25.9.
  • Performance vs. Scale: Despite having only 632M parameters, the Synth² model outperformed the 11.2B parameter ITIT model in zero-shot captioning tasks.

Conclusion

Synth² demonstrates that synthetic data generated in the embedding space is a viable and efficient alternative to massive web-scraped datasets. By leveraging the compositional power of generative models and the descriptive capabilities of LLMs, Synth² provides a scalable path forward for training the next generation of multimodal models.

Summary updated

BibTeX
@misc{sharifzadeh2024synth,
  author = {Sahand Sharifzadeh and Christos Kaplanis and Shreya Pathak and Dharshan Kumaran and Anastasija Ilic and Jovana Mitrovic and Charles Blundell and Andrea Banino},
  title = {{Synth2: Boosting Visual-Language Models with Synthetic Captions and Image Embeddings}},
  year = {2024},
  eprint = {2403.07750},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.07750},
}
Figure