[Paper Review] ODGEN: Domain-specific Object Detection Data Generation with Diffusion Models
ODGEN fine-tunes diffusion models on domain-specific data and uses object-wise prompts and synthetic object patches to generate high-quality, bounding-box–conditioned images, improving detector training performance over prior controllable generation methods.
Modern diffusion-based image generative models have made significant progress and become promising to enrich training data for the object detection task. However, the generation quality and the controllability for complex scenes containing multi-class objects and dense objects with occlusions remain limited. This paper presents ODGEN, a novel method to generate high-quality images conditioned on bounding boxes, thereby facilitating data synthesis for object detection. Given a domain-specific object detection dataset, we first fine-tune a pre-trained diffusion model on both cropped foreground objects and entire images to fit target distributions. Then we propose to control the diffusion model using synthesized visual prompts with spatial constraints and object-wise textual descriptions. ODGEN exhibits robustness in handling complex scenes and specific domains. Further, we design a dataset synthesis pipeline to evaluate ODGEN on 7 domain-specific benchmarks to demonstrate its effectiveness. Adding training data generated by ODGEN improves up to 25.3% mAP@.50:.95 with object detectors like YOLOv5 and YOLOv7, outperforming prior controllable generative methods. In addition, we design an evaluation protocol based on COCO-2014 to validate ODGEN in general domains and observe an advantage up to 5.6% in mAP@.50:.95 against existing methods.
Motivation & Objective
- Motivate improved data augmentation for domain-specific object detection where data is scarce or specialized.
- Develop a diffusion-model fine-tuning strategy using both full-scene and cropped object patches to better capture domain specifics.
- Introduce object-wise conditioning with separate text and visual prompts to control multiple objects without concept bleeding.
- Propose a dataset synthesis pipeline that generates and filters pseudo labels to create effective training data for detectors.
- Demonstrate gains in detection performance and fidelity across domain-specific and general-domain benchmarks.
Proposed method
- Fine-tune a pre-trained diffusion model on both full images and cropped foreground patches to align with target domain distributions.
- Encode each object class separately with a frozen CLIP text encoder to avoid interference, then stack embeddings and process with a trainable text embedding encoder.
- Generate synthetic foreground patches, paste them onto empty canvases according to bounding boxes, and use these as visual conditions for ControlNet.
- Train foreground/background discriminators to verify that pseudo-labeled regions contain synthesized objects and filter out invalid labels.
- Assemble a dataset synthesis pipeline that estimates object distributions from the training set, samples pseudo labels, synthesizes images, and filters corrupted labels to improve detector training.
Experimental results
Research questions
- RQ1How to generate high-fidelity, domain-specific images conditioned on bounding boxes for object detection?
- RQ2Can object-wise conditioning with separate text and visual prompts reduce concept bleeding and improve multi-object scene synthesis?
- RQ3What is the impact of using both full-scene and foreground crops for diffusion model fine-tuning on detection performance?
- RQ4Does synthetic data generated by ODGEN improve detector performance more than prior controllable generation methods in domain-specific and general domains?
- RQ5What evaluation protocol best validates fidelity (FID) and trainability (mAP) when using synthetic data for detectors?
Key findings
- ODGEN achieves lower FID than prior controllable methods across seven domain-specific datasets.
- Adding ODGEN-synthesized data improves YOLOv5s/YOLOv7 mAP@0.5:0.95 by up to 25.3 percentage points on RF7 datasets.
- In COCO-based general-domain evaluation, ODGEN shows an advantage up to 5.6% in mAP@0.5:0.95 over existing methods.
- Object-wise text and image lists mitigate interference and occlusion issues, enhancing fidelity and layout accuracy.
- Foreground-region re-weighting (gamma) and corrupted-label filtering contribute to improved fidelity and detection performance.
- ODGEN outperforms ReCo, GLIGEN, ControlNet, GeoDiffusion, and MIGC in both fidelity (FID) and trainability (mAP) on COCO and RF7 benchmarks.
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.