On the impact of using X-ray energy response imagery for object detection via Convolutional Neural Networks

Neelanjan Bhowmik, Yona Falinie A. Gaus, Toby P. BreckonarXiv 2021

TL;DR

Most X-ray security AI relies on "pseudo-color" images designed for human eyes, but this paper demonstrates that training models on raw dual-energy sensor data—specifically high/low energy responses and effective atomic numbers ($Z_{eff}$)—significantly boosts detection accuracy. Crucially, this multi-modal approach allows models to generalize far better when deployed across different brands of X-ray scanners, a major hurdle in real-world security infrastructure.

What Problem Does This Paper Address?

Automating the detection of prohibited items in X-ray scans is notoriously difficult due to extreme clutter and overlapping objects. Traditionally, deep learning models are trained on the same pseudo-color (RGB) images that security officers see. However, these RGB images are a "lossy" representation of the raw data captured by the scanner.

Furthermore, different scanner manufacturers (like Smith Detection or Rapiscan) use different imaging geometries and color-mapping functions. A model trained on one scanner often fails when moved to another. The authors investigate whether using the underlying physics-based data—the raw energy responses—can provide a more consistent and informative signal for Convolutional Neural Networks (CNNs).

Methods

The researchers evaluated four state-of-the-art CNN architectures for joint object detection and segmentation: Mask R-CNN, YOLACT, CARAFE, and Cascade Mask R-CNN.

The core of their approach involves feeding the networks different combinations of X-ray data:

  1. Pseudo-color (RGB): The standard human-readable image.
  2. High/Low Energy (H, L): Raw intensity images from two discrete energy levels.
  3. Effective-Z (Z): A calculated image representing the approximate atomic number of materials, which helps distinguish between organic, inorganic, and metallic substances.

The team tested these inputs individually and in combination (e.g., a 6-channel input consisting of RGB + H + L + Z) to see which configuration yielded the best detection performance and cross-scanner robustness.

Fig. 2. Schematic of X-ray imaging followed by CNN architecture for object detection in complex X-ray security imagery.

Datasets

  • deei6 (Durham Electrical and Electronics Items): The primary dataset, containing 7,022 images across six classes (bottle, hairdryer, iron, toaster, phone-tablet, laptop) captured with a Gilardoni scanner.
  • dbs_laptop: 488 images of laptops from a Smith Detection scanner.
  • dbr_laptop: 107 images of laptops from a Rapiscan scanner.

The latter two datasets were used exclusively for testing "cross-scanner transferability"—seeing how well a model trained on the Gilardoni data performs on hardware from other manufacturers.

Key Insights and Ideas

  • Beyond Human Vision: While the Effective-Z (Z) imagery has low contrast and performs poorly on its own (mAP of 0.627), it provides a vital "material signature." When combined with RGB and raw energy data, it helps the model resolve ambiguities in cluttered bags.
  • The Power of Multi-Modality: The best results came from combining all available data types. This suggests that CNNs can learn complementary features from the physics-based raw data that are absent in the human-centric RGB mapping.
  • Generalization is the Killer App: The most significant finding is that training on a diverse set of "raw" variants forces the CNN to learn more invariant features. This makes the model much more resilient to the specific "look" or resolution of a particular scanner brand.
Fig. 1. Exemplar rgb (A), high (B), low (C), and effective- z (D) X-ray imagery from deei6 dataset containing target classes in bounding boxes.

Key Results

  • Top Performance: The CARAFE architecture, when trained on the combination of RGB, High, Low, and Effective-Z data, achieved the highest performance with 0.7 mean Average Precision (mAP) on the six-class problem.
  • Transferability Boost: In the cross-scanner laptop detection task, the CARAFE model's performance jumped from an Average Precision (AP) of 0.775 (using only RGB) to 0.835 (using the combined multi-modal data) when tested on the Smith Detection scanner.
  • Small Object Detection: The multi-modal approach showed a marked improvement in detecting small, thin objects like phones and tablets, which are often lost in the clutter of RGB-only scans.

Limitations and Future Work

The authors acknowledge that while detection is improved, the current models still struggle with extremely high-density occlusions where the X-ray signal is completely blocked.

Future research directions include:

  • Applying these multi-modal techniques to anomaly detection (identifying items that don't fit a "normal" profile, even if they aren't a known prohibited class).
  • Exploring component-wise analysis to identify specific parts of complex electronics.
  • Refining material discrimination to better distinguish between similar-looking organic materials (e.g., distinguishing harmless food from explosives).

Summary updated

BibTeX
@misc{bhowmik2021impact,
  author = {Neelanjan Bhowmik and Yona Falinie A. Gaus and Toby P. Breckon},
  title = {{On the impact of using X-ray energy response imagery for object detection via Convolutional Neural Networks}},
  year = {2021},
  eprint = {2108.12505},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2108.12505},
}
Figure