X-ray illicit object detection using hybrid CNN-transformer neural network architectures

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Cani, Jorgen, Diou, Christos, Evangelatos, Spyridon, Radoglou-Grammatikis, Panagiotis, Argyriou, Vasileios, Sarigiannidis, Panagiotis, Varlamis, Iraklis, Papadopoulos, Georgios Th.
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909598314659840
author Cani, Jorgen
Diou, Christos
Evangelatos, Spyridon
Radoglou-Grammatikis, Panagiotis
Argyriou, Vasileios
Sarigiannidis, Panagiotis
Varlamis, Iraklis
Papadopoulos, Georgios Th.
author_facet Cani, Jorgen
Diou, Christos
Evangelatos, Spyridon
Radoglou-Grammatikis, Panagiotis
Argyriou, Vasileios
Sarigiannidis, Panagiotis
Varlamis, Iraklis
Papadopoulos, Georgios Th.
contents In the field of X-ray security applications, even the smallest details can significantly impact outcomes. Objects that are heavily occluded or intentionally concealed pose a great challenge for detection, whether by human observation or through advanced technological applications. While certain Deep Learning (DL) architectures demonstrate strong performance in processing local information, such as Convolutional Neural Networks (CNNs), others excel in handling distant information, e.g., transformers. In X-ray security imaging the literature has been dominated by the use of CNN-based methods, while the integration of the two aforementioned leading architectures has not been sufficiently explored. In this paper, various hybrid CNN-transformer architectures are evaluated against a common CNN object detection baseline, namely YOLOv8. In particular, a CNN (HGNetV2) and a hybrid CNN-transformer (Next-ViT-S) backbone are combined with different CNN/transformer detection heads (YOLOv8 and RT-DETR). The resulting architectures are comparatively evaluated on three challenging public X-ray inspection datasets, namely EDS, HiXray, and PIDray. Interestingly, while the YOLOv8 detector with its default backbone (CSP-DarkNet53) is generally shown to be advantageous on the HiXray and PIDray datasets, when a domain distribution shift is incorporated in the X-ray images (as happens in the EDS datasets), hybrid CNN-transformer architectures exhibit increased robustness. Detailed comparative evaluation results, including object-level detection performance and object-size error analysis, demonstrate the strengths and weaknesses of each architectural combination and suggest guidelines for future research. The source code and network weights of the models employed in this study are available at https://github.com/jgenc/xray-comparative-evaluation.
format Preprint
id arxiv_https___arxiv_org_abs_2505_00564
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle X-ray illicit object detection using hybrid CNN-transformer neural network architectures
Cani, Jorgen
Diou, Christos
Evangelatos, Spyridon
Radoglou-Grammatikis, Panagiotis
Argyriou, Vasileios
Sarigiannidis, Panagiotis
Varlamis, Iraklis
Papadopoulos, Georgios Th.
Computer Vision and Pattern Recognition
In the field of X-ray security applications, even the smallest details can significantly impact outcomes. Objects that are heavily occluded or intentionally concealed pose a great challenge for detection, whether by human observation or through advanced technological applications. While certain Deep Learning (DL) architectures demonstrate strong performance in processing local information, such as Convolutional Neural Networks (CNNs), others excel in handling distant information, e.g., transformers. In X-ray security imaging the literature has been dominated by the use of CNN-based methods, while the integration of the two aforementioned leading architectures has not been sufficiently explored. In this paper, various hybrid CNN-transformer architectures are evaluated against a common CNN object detection baseline, namely YOLOv8. In particular, a CNN (HGNetV2) and a hybrid CNN-transformer (Next-ViT-S) backbone are combined with different CNN/transformer detection heads (YOLOv8 and RT-DETR). The resulting architectures are comparatively evaluated on three challenging public X-ray inspection datasets, namely EDS, HiXray, and PIDray. Interestingly, while the YOLOv8 detector with its default backbone (CSP-DarkNet53) is generally shown to be advantageous on the HiXray and PIDray datasets, when a domain distribution shift is incorporated in the X-ray images (as happens in the EDS datasets), hybrid CNN-transformer architectures exhibit increased robustness. Detailed comparative evaluation results, including object-level detection performance and object-size error analysis, demonstrate the strengths and weaknesses of each architectural combination and suggest guidelines for future research. The source code and network weights of the models employed in this study are available at https://github.com/jgenc/xray-comparative-evaluation.
title X-ray illicit object detection using hybrid CNN-transformer neural network architectures
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2505.00564