Controllable Multi-Object Insertion for Detection Data Augmentation
Organizations: Nanyang Technological University · Zhejiang University of Technology · University of the Chinese Academy of Sciences
Abstract
Controllable object insertion provides a targeted approach to augmenting object detection datasets that require category--count fidelity, annotation alignment, and source-content preservation beyond visual realism. Several approaches have been proposed to address this grand challenge, but most suffer from different constraints in precise category--count requests and visual consistency, limited coordination across categories and instances, and poor localization of multiple objects of specific category and count. We design SceneP2F, a two-stage trainable framework that connects scene-aware joint planning with layout-aligned generation leveraging explicit instance-level layouts. SceneP2F consists of two novel designs. The first is ScenePlan which allocates one class-labeled query per requested instance, jointly predicts scene-compatible object centers, and separately estimates box sizes conditioned on the planned centers and scene context. The second is SceneAlign-Fill which combines geometry- and appearance-aware conditioning, box--class-guided regional attention, and an annotation-region-weighted flow-matching objective to render the planned objects while limiting unintended changes to source content. Extensive experiments on three challenging benchmarks UAVDT, VisDrone, and BDD100K show that SceneP2F outperforms representative general-purpose editors and object-insertion methods consistently, demonstrating the value of coordinating instance-level planning and generation for category-targeted detection augmentation.
Figures & tables
| Dataset | Method Category | Method | Fine- tuned | Request Fidelity | Visual Consistency | Outside Preservation | ||||
| mTCE | mCCE | LPIPS | DINO Sim | CLIP-I | PSNR | SSIM | ||||
| UAVDT ( Du et al., 2018 ) | Image Editing | FLUX.2-dev ( Labs, 2025 ) | 7.001 | 3.076 | 0.5561 | 0.4753 | 0.8131 | 18.9585 | 0.8405 | |
| Qwen-Image-Edit ( Wu et al., 2025 ) | 5.596 | 2.458 | 0.5588 | 0.4635 | 0.8188 | 20.6050 | 0.8973 | |||
| 14.959 | 7.603 | 0.5051 | 0.4499 | 0.8452 | 19.3728 | 0.8408 | ||||
| Object Insertion | Add-it ( Tewel et al., 2025 ) | 8.529 | 4.594 | 0.5164 | 0.4508 | 0.8410 | 21.5469 | 0.8987 | ||
| Add-SD ( Yang et al., 2024 ) | 2.744 | 2.105 | 0.5751 | 0.4295 | 0.8356 | 22.2962 | 0.9010 | |||
| Dataset | Inserted Objects | Method | Inserted Class | All Classes | |||
| Recall | |||||||
| UAVDT ( Du et al., 2018 ) | 2 buses | Original dataset | 0.403 | 0.229 | 0.168 | 0.341 | 0.208 |
| Copy-and-Paste | 0.408 | 0.268 | 0.190 | 0.358 | 0.211 | ||
| X-Paste | 0.464 | 0.283 | 0.210 | 0.351 | 0.212 | ||
| Ours (SceneP2F) | 0.522 | 0.310 | 0.226 | 0.371 | 0.224 | ||
| 2 trucks | Original dataset | 0.246 | 0.0718 | 0.045 | 0.341 | 0.208 | |
Appendix figures & tables8 assets
Supplementary material from the paper’s appendix.
Appendix
| Group | ID | Class-balanced log-area L1 | Class-balanced aspect-ratio L1 | Average | Description |
| Ours | 0.4651 | 0.2730 | 0.3691 | Selected configuration | |
| Global feature | GF0 | 0.5057 | 0.2732 | 0.3895 | All global features |
| GF1 | 0.4621 | 0.2933 | 0.3777 | Distance feature | |
| GF2 | 0.4774 | 0.2876 | 0.3825 | Median-area feature | |
| Relative feature | RF0 | 0.5149 | 0.3550 | 0.4350 | All relative features |
| RF1 | 0.4834 | 0.2715 | 0.3775 | Class embedding | |
| Dataset | Recall | mAP50 | mAP50–95 |
| BDD100K ( Yu et al., 2020 ) | 94.91 | 65.54 | 38.04 |
| UAVDT ( Du et al., 2018 ) | 96.64 | 91.71 | 70.75 |
| VisDrone ( Zhu et al., 2021 ) | 78.88 | 48.29 | 28.59 |
Synthetic Data Augmentation
Synthetic data augmentation creates or modifies training examples to improve learning when real data are scarce, imbalanced, costly, or sensitive.
See all 452 papers