Taming Generative Synthetic Data for X-ray Prohibited Item Detection

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Sun, Jialong, Zhu, Hongguang, Liu, Weizhe, Sun, Yunda, Tao, Renshuai, Wei, Yunchao
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917092388765696
author Sun, Jialong
Zhu, Hongguang
Liu, Weizhe
Sun, Yunda
Tao, Renshuai
Wei, Yunchao
author_facet Sun, Jialong
Zhu, Hongguang
Liu, Weizhe
Sun, Yunda
Tao, Renshuai
Wei, Yunchao
contents Training prohibited item detection models requires a large amount of X-ray security images, but collecting and annotating these images is time-consuming and laborious. To address data insufficiency, X-ray security image synthesis methods composite images to scale up datasets. However, previous methods primarily follow a two-stage pipeline, where they implement labor-intensive foreground extraction in the first stage and then composite images in the second stage. Such a pipeline introduces inevitable extra labor cost and is not efficient. In this paper, we propose a one-stage X-ray security image synthesis pipeline (Xsyn) based on text-to-image generation, which incorporates two effective strategies to improve the usability of synthetic images. The Cross-Attention Refinement (CAR) strategy leverages the cross-attention map from the diffusion model to refine the bounding box annotation. The Background Occlusion Modeling (BOM) strategy explicitly models background occlusion in the latent space to enhance imaging complexity. To the best of our knowledge, compared with previous methods, Xsyn is the first to achieve high-quality X-ray security image synthesis without extra labor cost. Experiments demonstrate that our method outperforms all previous methods with 1.2% mAP improvement, and the synthetic images generated by our method are beneficial to improve prohibited item detection performance across various X-ray security datasets and detectors. Code is available at https://github.com/pILLOW-1/Xsyn/.
format Preprint
id arxiv_https___arxiv_org_abs_2511_15299
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Taming Generative Synthetic Data for X-ray Prohibited Item Detection
Sun, Jialong
Zhu, Hongguang
Liu, Weizhe
Sun, Yunda
Tao, Renshuai
Wei, Yunchao
Computer Vision and Pattern Recognition
Training prohibited item detection models requires a large amount of X-ray security images, but collecting and annotating these images is time-consuming and laborious. To address data insufficiency, X-ray security image synthesis methods composite images to scale up datasets. However, previous methods primarily follow a two-stage pipeline, where they implement labor-intensive foreground extraction in the first stage and then composite images in the second stage. Such a pipeline introduces inevitable extra labor cost and is not efficient. In this paper, we propose a one-stage X-ray security image synthesis pipeline (Xsyn) based on text-to-image generation, which incorporates two effective strategies to improve the usability of synthetic images. The Cross-Attention Refinement (CAR) strategy leverages the cross-attention map from the diffusion model to refine the bounding box annotation. The Background Occlusion Modeling (BOM) strategy explicitly models background occlusion in the latent space to enhance imaging complexity. To the best of our knowledge, compared with previous methods, Xsyn is the first to achieve high-quality X-ray security image synthesis without extra labor cost. Experiments demonstrate that our method outperforms all previous methods with 1.2% mAP improvement, and the synthetic images generated by our method are beneficial to improve prohibited item detection performance across various X-ray security datasets and detectors. Code is available at https://github.com/pILLOW-1/Xsyn/.
title Taming Generative Synthetic Data for X-ray Prohibited Item Detection
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2511.15299