[Paper Review] DALL-E for Detection: Language-driven Compositional Image Synthesis for Object Detection
This paper proposes a language-driven, compositional image synthesis framework using DALL-E to generate high-quality, diverse, and accurately labeled training data for object detection. By decoupling foreground mask generation from context image synthesis via text prompts and image captioning, the method achieves a 7.2% mAP gain over baseline cut-and-paste approaches and enables zero-shot and out-of-distribution generalization through interpretable language intervention.
We propose a new paradigm to automatically generate training data with accurate labels at scale using the text-toimage synthesis frameworks (e.g., DALL-E, Stable Diffusion, etc.). The proposed approach decouples training data generation into foreground object mask generation and background (context) image generation. For foreground object mask generation, we use a simple textual template with object class name as input to DALL-E to generate a diverse set of foreground images. A foreground-background segmentation algorithm is then used to generate foreground object masks. Next, in order to generate context images, first a language description of the context is generated by applying an image captioning method on a small set of images representing the context. These language descriptions are then used to generate diverse sets of context images using the DALL-E framework. These are then composited with object masks generated in the first step to provide an augmented training set for a classifier. We demonstrate the advantages of our approach on four object detection datasets including on Pascal VOC and COCO object detection tasks. Furthermore, we also highlight the compositional nature of our data generation approach on out-of-distribution and zero-shot data generation scenarios.
Motivation & Objective
- To address the high cost and scalability limitations of human-annotated datasets for object detection.
- To enable automatic, scalable, and privacy-preserving generation of diverse, high-quality training images with accurate bounding box annotations.
- To leverage the compositional and explainable nature of text-to-image models like DALL-E for robust data synthesis across out-of-distribution and zero-shot scenarios.
- To reduce reliance on human labeling and 3D modeling by using language as a compositional interface for data generation.
Proposed method
- Use a simple text prompt (e.g., 'an image of a cat on pure background') to generate diverse foreground object images via DALL-E.
- Apply a background-foreground segmentation algorithm to extract precise object masks from DALL-E-generated images.
- Generate context descriptions by applying image captioning to a small set of real or synthetic context images.
- Use the generated language descriptions as prompts in DALL-E to synthesize diverse, contextually coherent background images.
- Composite foreground masks onto synthesized background images using a cut-and-paste strategy to form augmented training data.
- Enable language-based intervention by modifying captions (e.g., removing distractors like 'people') to improve context relevance and model generalization.
Experimental results
Research questions
- RQ1Can text-to-image models like DALL-E be used to generate scalable, high-quality, and accurately labeled training data for object detection with minimal human involvement?
- RQ2How does language-driven context image generation compare to using real-world context images in terms of detection performance?
- RQ3To what extent can the compositional nature of language improve zero-shot and out-of-distribution generalization in synthetic data generation?
- RQ4Can language-based caption editing enhance the quality and relevance of generated context images for downstream detection tasks?
Key findings
- The proposed method achieves a 7.2% mAP improvement over the Object Cut-and-Paste baseline when using UW-kitchen real context images as a reference.
- Using language-driven DALL-E-generated context images leads to better performance than using real-world context images from public datasets, demonstrating the superiority of synthetic context.
- Language-based caption editing improves detection accuracy by up to 10.2 percentage points in out-of-distribution scenarios, such as when using cartoon or sketch images as context descriptions.
- The method enables effective zero-shot and compositional data generation, with performance gains observed across diverse test environments including real kitchens, cartoon kitchens, and scenes with people.
- The approach maintains high-quality image generation and accurate labeling without requiring 3D models or manual annotation, enabling scalable and privacy-preserving data synthesis.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.