Feature knowledge distillation-based model lightweight for prohibited item detection in X-ray security inspection images

IF 8 1区 工程技术 Q1 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE
Yu Ren , Lun Zhao , Yongtao Zhang , Yiyao Liu , Jinfeng Yang , Haigang Zhang , Baiying Lei
{"title":"Feature knowledge distillation-based model lightweight for prohibited item detection in X-ray security inspection images","authors":"Yu Ren ,&nbsp;Lun Zhao ,&nbsp;Yongtao Zhang ,&nbsp;Yiyao Liu ,&nbsp;Jinfeng Yang ,&nbsp;Haigang Zhang ,&nbsp;Baiying Lei","doi":"10.1016/j.aei.2025.103125","DOIUrl":null,"url":null,"abstract":"<div><div>The detection of prohibited items is an extremely time-sensitive task, yet the complex convolutional neural network (CNN) model has a slow inference speed, which is not conducive to deployment and application in actual security inspection scenarios. Knowledge distillation is a key technology for improving the performance of lightweight models. However, most knowledge distillation methods do not perform differentiated distillation of the foreground and background. In addition, the structural misalignment in heterogeneous networks hinders the effective transfer of knowledge. These factors limit the generalization of knowledge distillation in X-ray image analysis. To solve these problems, we propose a method based on feature knowledge distillation, called XFKD, which aims to improve the detection performance of lightweight models for prohibited items in X-ray images. Specifically, XFKD consists of Local Distillation (LD) and Global Distillation (GD). LD uses mask attention to guide the student network to focus on key knowledge, enhancing its learning capacity. GD learns and reconstructs the relationships between global features from the teacher network, and then transfers to the student network. Furthermore, to weaken the impact of structural differences of heterogeneous networks on knowledge transfer, the features obtained by the teacher network are used as supervised “input” with prior knowledge, not just “target” is transferred to the student network to improve imitation ability. To verify the effectiveness and generalization of XFKD, experiments were carried out on two X-ray security inspection image datasets (SIXray, OPIXray) and COCO datasets. The results show that XFKD performs well in knowledge distillations of various homogeneous and heterogeneous networks, RetinaNet (ResNet101-ResNet50) and YOLOv4 (CSPDarkNet53-MobileNetV3) with XFKD strategy achieve 81. 25% mAP and 76. 32% mAP in the SIXray dataset, which is 7.1% and 1.89% higher than the baseline, respectively. XFKD can improve the detection performance of lightweight models. Our code is available at <span><span>https://github.com/RY-97/XFKD</span><svg><path></path></svg></span>.</div></div>","PeriodicalId":50941,"journal":{"name":"Advanced Engineering Informatics","volume":"65 ","pages":"Article 103125"},"PeriodicalIF":8.0000,"publicationDate":"2025-01-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Advanced Engineering Informatics","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1474034625000187","RegionNum":1,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0

Abstract

The detection of prohibited items is an extremely time-sensitive task, yet the complex convolutional neural network (CNN) model has a slow inference speed, which is not conducive to deployment and application in actual security inspection scenarios. Knowledge distillation is a key technology for improving the performance of lightweight models. However, most knowledge distillation methods do not perform differentiated distillation of the foreground and background. In addition, the structural misalignment in heterogeneous networks hinders the effective transfer of knowledge. These factors limit the generalization of knowledge distillation in X-ray image analysis. To solve these problems, we propose a method based on feature knowledge distillation, called XFKD, which aims to improve the detection performance of lightweight models for prohibited items in X-ray images. Specifically, XFKD consists of Local Distillation (LD) and Global Distillation (GD). LD uses mask attention to guide the student network to focus on key knowledge, enhancing its learning capacity. GD learns and reconstructs the relationships between global features from the teacher network, and then transfers to the student network. Furthermore, to weaken the impact of structural differences of heterogeneous networks on knowledge transfer, the features obtained by the teacher network are used as supervised “input” with prior knowledge, not just “target” is transferred to the student network to improve imitation ability. To verify the effectiveness and generalization of XFKD, experiments were carried out on two X-ray security inspection image datasets (SIXray, OPIXray) and COCO datasets. The results show that XFKD performs well in knowledge distillations of various homogeneous and heterogeneous networks, RetinaNet (ResNet101-ResNet50) and YOLOv4 (CSPDarkNet53-MobileNetV3) with XFKD strategy achieve 81. 25% mAP and 76. 32% mAP in the SIXray dataset, which is 7.1% and 1.89% higher than the baseline, respectively. XFKD can improve the detection performance of lightweight models. Our code is available at https://github.com/RY-97/XFKD.
求助全文
约1分钟内获得全文 求助全文
来源期刊
Advanced Engineering Informatics
Advanced Engineering Informatics 工程技术-工程:综合
CiteScore
12.40
自引率
18.20%
发文量
292
审稿时长
45 days
期刊介绍: Advanced Engineering Informatics is an international Journal that solicits research papers with an emphasis on 'knowledge' and 'engineering applications'. The Journal seeks original papers that report progress in applying methods of engineering informatics. These papers should have engineering relevance and help provide a scientific base for more reliable, spontaneous, and creative engineering decision-making. Additionally, papers should demonstrate the science of supporting knowledge-intensive engineering tasks and validate the generality, power, and scalability of new methods through rigorous evaluation, preferably both qualitatively and quantitatively. Abstracting and indexing for Advanced Engineering Informatics include Science Citation Index Expanded, Scopus and INSPEC.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信