Learning from Synthetic Data for Visual Grounding

Ruozhen He, Ziyan Yang, Paola Cascante-Bonilla, Alexander C. Berg, Vicente Ordonez

TL;DR

This paper introduces SynGround, a novel pipeline for generating synthetic image-text-box data to improve visual grounding models. By leveraging advanced text-to-image generation and LLMs, SynGround significantly boosts the performance of existing models, demonstrating that synthetic data can be a powerful and scalable alternative to expensive real-world annotations.

What Problem Does This Paper Address?

Visual grounding, the task of localizing image regions described by text, typically relies on large datasets of images with meticulously annotated bounding boxes. Creating these datasets is incredibly time-consuming and expensive, limiting the scale and diversity of available training data. This paper addresses this bottleneck by exploring how to effectively generate synthetic image-text-box triplets to train visual grounding models, aiming to achieve comparable or even better performance than models trained on real data, while offering a scalable solution.

Methods

The authors propose SynGround, a pipeline for generating synthetic image-text-box data. The core idea is to leverage recent advancements in generative AI.

  • Image-Text Pair Generation: They experiment with three strategies for generating prompts for text-to-image models:
  • Concatenation: Merging all existing captions for an image.
  • Text2Text: Using an LLM to summarize existing captions.
  • Image2Text: Using an image captioning model to generate new descriptions for real images. The Image2Text strategy, particularly using detailed captions from models like LLaVA, proved most effective.

  • Image-Text-Box Generation: SynGround then uses these generated image-text pairs to create triplets. This involves:

  • Using an LLM to extract relevant text phrases from the generated descriptions.
  • Employing an open-vocabulary object detector to generate bounding boxes for these phrases within the synthetic images. They also explore a layout-conditioned generative model (GLIGEN) as an alternative for box generation, but find the object detector approach more effective.

  • Training Objectives: The base vision-and-language models (ALBEF and BLIP) are tuned using standard image-text matching losses (L_itm, L_itc, L_mlm) and an attention mask consistency (AMC) loss for region-level box supervision.

Datasets

  • Training Data Generation: The process starts with real images and text from the Visual Genome (VG) dataset [39] and Conceptual Captions (CC) [80] to seed the generation process.
  • Evaluation Benchmarks: The models are evaluated on standard visual grounding benchmarks:
  • RefCOCO+ [97]
    • Flickr30k [63]

Key Insights and Ideas

  • Detailed Prompts are Key: For text-to-image generation, using detailed, descriptive prompts (like those from LLaVA) leads to more effective synthetic image-text pairs for visual grounding compared to simpler concatenations or LLM summaries.
  • Image-Text Alignment Matters: The alignment between the generated image and text is crucial. Simply concatenating existing captions can lead to misalignment and degrade performance.
  • Synthetic Boxes are Viable: While not perfect, synthetic bounding boxes generated by open-vocabulary object detectors can significantly improve visual grounding performance, especially when combined with high-quality synthetic images and text.
  • Scalability is a Major Advantage: SynGround offers the potential for arbitrarily large-scale data generation, which is a significant advantage over the costly manual annotation process for real data.
  • Synthetic Data Augments Real Data Effectively: Combining synthetic data with real data yields performance gains that surpass training on either alone, and even outperform state-of-the-art methods trained solely on real data.

Key Results

  • Performance Boost: SynGround significantly improves the pointing game accuracy of pretrained ALBEF and BLIP models.
  • ALBEF: +4.81% on RefCOCO+ and Flickr30k.
  • BLIP: +17.11% on RefCOCO+ and Flickr30k.
  • Outperforming Web-Crawled Data: SynGround's synthetic data achieves better performance than models trained on web-crawled data (Conceptual Captions) even after adding synthetic boxes.
  • Cost-Effectiveness: Generating SynGround data takes approximately 501 GPU hours on a single NVIDIA A40, a fraction of the time and cost associated with curating large real-world datasets like Visual Genome.
  • Qualitative Diversity: The generated synthetic data exhibits diversity in scenes, objects, and even unusual attributes, showcasing the generative model's capabilities.

Limitations and Future Work

  • Synthetic Data Imperfections: While effective, synthetic data still has limitations. The paper notes that synthetic boxes may lack the precision of manual annotations, and there can be a divergence in word usage and vocabulary between synthetic and real text.
  • Potential for Bias Amplification: The authors acknowledge that training on synthetic data could amplify implicit biases present in the source data used to train the generative models.
  • Future Directions:
    • Integrating more advanced generative models (e.g., GPT-4, DALL-E 3).
  • Exploring layout-conditioned image synthesis models with less reliance on real data.
  • Investigating scaling laws for synthetic data generation with reduced real-data dependency.

Summary updated

BibTeX
@inproceedings{he2025learning,
  author = {Ruozhen He and Ziyan Yang and Paola Cascante-Bonilla and Alexander C. Berg and Vicente Ordonez},
  title = {{Learning from Synthetic Data for Visual Grounding}},
  booktitle = {SynData4CV @ CVPR},
  year = {2025},
  url = {https://openreview.net/forum?id=sD4mn4fJcs},
}
Figure