Occluded Prohibited Items Detection: An X-ray Security Inspection Benchmark and De-occlusion Attention Module

Yanlu Wei, Renshuai Tao, Zhangjie Wu, Yuqing Ma, Libo Zhang, Xianglong Liu

Introduction

Security screening at airports and transit hubs is a critical task where human operators must identify prohibited items within cluttered luggage. A primary challenge in X-ray scans is inter-class occlusion, where objects like laptops or clothing overlap with prohibited items like knives, significantly altering their visual appearance. While deep learning has advanced object detection in natural images, X-ray images present unique difficulties: objects are semi-transparent, and their colors—determined by material density—change when overlapping with other materials.

Existing X-ray datasets often lack the scale, color information, or specific focus on occlusion necessary to train robust models. To address this, researchers have introduced OPIXray, a high-quality benchmark for occluded prohibited item detection, and the De-occlusion Attention Module (DOAM), a lightweight component designed to leverage X-ray-specific physical priors.

The OPIXray Benchmark

The Occluded Prohibited Items X-ray (OPIXray) dataset is purpose-built to evaluate detection performance under varying levels of overlap. It contains 8,885 X-ray images across five categories of cutters: Folding Knife, Straight Knife, Scissor, Utility Knife, and Multi-tool Knife.

Figure 1: Overview of the OPIXray dataset, showing the five prohibited item categories and corresponding X-ray samples under different conditions.

A key feature of OPIXray is the partitioning of its test set into three occlusion levels to specifically measure how well models handle increasing levels of overlap:

  • OL1 (No or Slight): Minimal overlap with other objects.
  • OL2 (Partial): Significant overlap that obscures parts of the item.
  • OL3 (Severe): Heavy overlap where the item's appearance is substantially altered.

This structured approach allows researchers to measure model robustness specifically against occlusion, rather than just general detection accuracy.

De-occlusion Attention Module (DOAM)

To combat the effects of occlusion, the authors propose the De-occlusion Attention Module (DOAM). Unlike standard attention mechanisms, DOAM incorporates two physical priors inherent to X-ray imaging:

  1. Edge Guidance (EG): While color and texture may be distorted by overlap, the boundaries (edges) of metal objects often remain discernible. The EG sub-module uses Sobel operators to extract and emphasize these sharp contours.
  2. Material Awareness (MA): X-ray scanners use color to represent material density (e.g., blue for metal, orange for organic). The MA sub-module employs "Region Information Aggregation" (RIA) to pool multi-scale color features, helping the model distinguish prohibited items from surrounding clutter based on material properties.

DOAM is a "plug-and-play" module that can be integrated into standard backbones like VGG16 or ResNet. It refines feature maps before they reach the prediction layers, focusing the model's attention on the most relevant regions for detection.

Experimental Results

Integrating DOAM into a standard SSD detector yielded a 3.12% improvement in mean Average Precision (mAP). The module's effectiveness is most apparent in challenging scenarios; in the "Severe Occlusion" (OL3) test set, DOAM outperformed the baseline SSD by 4.48% mAP.

Figure 4: Examples of slight occlusion (OL1) in the OPIXray test set, demonstrating the labeling system.

Furthermore, DOAM is highly efficient. It adds negligible parameters (increasing model size from 92.6MB to 92.7MB) and only a slight increase in computational cost (GFLOPs), making it more practical for real-time security applications than heavier mechanisms like Non-local blocks. The module also demonstrated strong generalization, providing consistent performance gains when integrated into YOLOv3 and FCOS architectures.

Conclusion

The OPIXray benchmark and the DOAM module represent a significant step forward in automated security inspection. By focusing on the specific challenges of X-ray imaging—namely material-based coloring and edge preservation under occlusion—DOAM provides a robust and efficient solution for detecting prohibited items in complex, real-world environments. Future work will involve expanding the dataset to include a wider variety of prohibited items and further optimizing the module for edge-device deployment.

Summary updated

BibTeX
@inproceedings{wei2020occluded,
  author = {Yanlu Wei and Renshuai Tao and Zhangjie Wu and Yuqing Ma and Libo Zhang and Xianglong Liu},
  title = {{Occluded Prohibited Items Detection: An X-ray Security Inspection Benchmark and De-occlusion Attention Module}},
  booktitle = {ACM Multimedia},
  year = {2020},
  doi = {10.1145/3394171.3413828},
}
Figure