cs.CVApr 4, 2026

XSeg: A Large-scale X-ray Contraband Segmentation Benchmark For Real-World Security Screening

Authors: Hongxia Gao, Litao Li, Yixin Chen, Jiali Wen, Kaijie Zhang, Qianyun Liu

Organizations: Xi’an Jiaotong University · Shenzhen Loop Area Institute · Pazhou Laboratory · South China University of Technology

Abstract

X-ray contraband detection is critical for public safety. However, current methods primarily rely on bounding box annotations, which limit model generalization and performance due to the lack of pixel-level supervision and real-world data. To address these limitations, we introduce XSeg. To the best of our knowledge, XSeg is the largest X-ray contraband segmentation dataset to date, including 98,644 images and 295,932 instance masks, and contains the latest 30 common contraband categories. The images are sourced from public datasets and our synthesized data, filtered through a custom data cleaning pipeline to remove low-quality samples. To enable accurate and efficient annotation and reduce manual labeling effort, we propose Adaptive Point SAM (APSAM), a specialized mask annotation model built upon the Segment Anything Model (SAM). We address SAM's poor cross-domain generalization and limited capability in detecting stacked objects by introducing an Energy-Aware Encoder that enhances the initialization of the mask decoder, significantly improving sensitivity to overlapping items. Additionally, we design an Adaptive Point Generator that allows users to obtain precise mask labels with only a single coarse point prompt. Extensive experiments on XSeg demonstrate the superior performance of APSAM.

Figures & tables

Explore similar work

CardsList
  1. OneFocus: Enabling Real-World X-ray Security Screening with a Unified Vision-Language Model

    Jun 14, 2026Jiali Wen, Hongxia Gao, Litao Li +4Visual Question AnsweringVision-Language Models

  2. Localize Any Object in X-Ray Security Scans without Human Annotation

    Oct 5, 2026Yaqi Cai, Mingxuan Liu, Lorenzo Vaquero +5Self-Supervised LearningSynthetic Data Generation

  3. FleXray: Universal Clinical X-ray Segmentation

    Sep 22, 2026Victor Ion Butoi, Vivek Gopalakrishnan, John V. Guttag +2Medical ImagingMedical Image Segmentation