InstaGen: Enhancing Object Detection by Training on Synthetic Dataset
Chengjian Feng, Yujie Zhong, Zequn Jie, Weidi Xie, Lin Ma
TL;DR
InstaGen tackles data bottlenecks in object detection by synthesizing a labeled dataset from a diffusion model augmented with an instance grounding head. The approach fine-tunes Stable Diffusion on detection data to produce multi-object, context-rich images, and jointly learns bounding-box localization via an open-vocabulary grounding module trained with base categories and self-trained on novel categories. Detectors trained on the combined real and synthetic data achieve strong gains in open-vocabulary and data-sparse regimes, and show competitive cross-dataset transfer. The work demonstrates that diffusion-based data synthesis, coupled with grounding and self-training, can provide substantial practical benefits for scalable, annotation-free detector training.
Abstract
In this paper, we present a novel paradigm to enhance the ability of object detector, e.g., expanding categories or improving detection performance, by training on synthetic dataset generated from diffusion models. Specifically, we integrate an instance-level grounding head into a pre-trained, generative diffusion model, to augment it with the ability of localising instances in the generated images. The grounding head is trained to align the text embedding of category names with the regional visual feature of the diffusion model, using supervision from an off-the-shelf object detector, and a novel self-training scheme on (novel) categories not covered by the detector. We conduct thorough experiments to show that, this enhanced version of diffusion model, termed as InstaGen, can serve as a data synthesizer, to enhance object detectors by training on its generated samples, demonstrating superior performance over existing state-of-the-art methods in open-vocabulary (+4.5 AP) and data-sparse (+1.2 to 5.2 AP) scenarios. Project page with code: https://fcjian.github.io/InstaGen.
