Abstract
Image captioning typically requires extensive human-annotated image-text pairs, leading to high costs and scalability issues. While large-scale generative models like Stable Diffusion and GPT-3.5 offer a potential solution by creating synthetic training data, existing methods often fail to capture the complexity of real-world scenes. We identify this as the "complexity gap," where synthetic images generated from simple prompts lack the multi-layered context found in natural photography. To address this, we introduce ICSD (Image Captioning with Multi-Context Synthetic Data), a pipeline that uses Large Language Models (LLMs) to architect intricate scenes from simple text corpora. By training exclusively on these multi-context synthetic pairs, our model achieves state-of-the-art performance on benchmarks like MSCOCO, Flickr30k, and NoCaps, significantly narrowing the gap between synthetic and real-world training.
Introduction: Bridging the Complexity Gap
Traditional image captioning models are data-hungry, requiring millions of human-labeled pairs. While web-crawled data is an alternative, it is often noisy and raises privacy concerns. Recent research has explored using synthetic data generated by AI, but these models often struggle because the generated images are "uni-context"—they depict a single object or a simple action (e.g., "a dog"). Real-world images, however, are "multi-context," featuring multiple interacting objects and complex spatial relationships.
Our work introduces a method to generate high-quality, multi-context synthetic data. By leveraging the common-sense reasoning of LLMs and the visual fidelity of Diffusion models, we can create training sets that mimic the density and complexity of real-world imagery without ever needing a single real-world photo.
The ICSD Pipeline
The ICSD pipeline consists of four distinct stages designed to transform a simple text corpus into a robust training set for image captioning.
- Semantic Grouping: We begin with a text-only corpus and use CLIP to group semantically similar sentences. This ensures that the components of our future "multi-context" scenes are related.
- LLM Selection & Summarization: We feed these groups to an LLM (GPT-3.5) with a Chain-of-Thought prompt. The LLM selects 3 to 8 compatible sentences and merges them into a single, logically consistent "multi-context" caption (e.g., merging "a plane is parked," "a man directs a plane," and "a luggage cart is near a plane").
- Multi-Context Image Generation: These complex captions are passed to Stable Diffusion v1.4 to generate images that reflect the intricate scene described by the LLM.
- Training: We train a standard encoder-decoder architecture (based on BLIP) exclusively on this synthetic data.
Experimental Results
Our approach was evaluated across several standard benchmarks, demonstrating that multi-context generation is the key to high-performance text-only captioning.
- In-Domain Performance: On the MSCOCO dataset, ICSD achieved a CIDEr score of 96.6, outperforming previous unsupervised leaders like DeCap (92.9) and CapDec (91.8).
- Cross-Domain Generalization: To test the model's ability to describe unseen objects, we evaluated it on the NoCaps dataset. By using a generated text corpus (GenT) to expand the diversity of objects, we improved the CIDEr score from 35.6 to 48.3.
Qualitative Comparison
Visual analysis shows that ICSD generates more detailed and spatially accurate captions than previous synthetic-only methods. For instance, where other models might misidentify spatial relationships or miss specific attributes like color, ICSD correctly identifies complex interactions.
Conclusion
ICSD demonstrates that the bottleneck in synthetic-only image captioning is not the quality of the image pixels, but the complexity of the scene structure. By using LLMs as "scene architects," we can bridge the gap between simple synthetic prompts and the messy reality of the physical world. While a gap still remains between synthetic-only and fully supervised models, this work provides a scalable, privacy-preserving path forward for training vision-language models without the need for manual annotation.
Summary updated