混合CNN与Transformer提升X光隐匿物品检测鲁棒性
X-ray illicit object detection using hybrid CNN-transformer neural network architectures
- 融合CNN局部特征提取与Transformer全局建模能力
- 在跨域数据上,混合架构比纯CNN检测器更稳定
- 适合安全安检、智能监控等实际场景应用
在X光安全检测领域,微小细节可能直接影响判断结果。被严重遮挡或刻意隐藏的物品对人工识别和先进技术均构成挑战。尽管卷积神经网络(CNN)擅长处理局部信息,而变换器(Transformer)在捕捉远距离依赖方面表现优异,但现有研究仍以CNN为主,二者结合尚未充分探索。本文对比了多种混合CNN-Transformer架构与基准模型YOLOv8的表现,采用HGNetV2作为主干网络,搭配Next-ViT-S,并结合YOLOv8与RT-DETR检测头。在三个具有挑战性的公开X光检测数据集EDS、HiXray和PIDray上进行评估。结果显示,在非理想分布数据(如EDS)下,混合架构表现出更强的鲁棒性;而在标准数据集上,基线模型仍有优势。详细对比分析涵盖物体级检测性能及尺寸误差,揭示了各组合优劣,为未来研究提供指导。代码与模型权重已开源。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。