面向目标检测的压缩YOLOv5网络精简和知识蒸馏

Yifan Xu, Yong Bai
{"title":"面向目标检测的压缩YOLOv5网络精简和知识蒸馏","authors":"Yifan Xu, Yong Bai","doi":"10.1109/ISPDS56360.2022.9874105","DOIUrl":null,"url":null,"abstract":"In recent years, object detection has been expanded to drone scenes, where remote sensing images contain a greater variety and arbitrary-oriented targets. In order to solve the problem of detection difficulty and computational intensity for remote sensing images, oriented object detection is needed and the network model is expected to be deployed on resource-limited devices. This paper proposes a lightweight object detection method for oriented object detection by leveraging and compressing YOLOv5 network model. We integrate the fine-tuning stage in network slimming with knowledge distillation to enhance the accuracy of the detection model and save training time by transferring the important feature information to the student network. Loss function is redesigned by combining Theta loss with other detection and distillation losses to make the compression model more accurate. Extensive experiments are conducted to verify the effectiveness of our proposed method on the remote sensing public dataset DOTA. The compressed model achieves an accuracy of 76.18% on the DOTA dataset, 1.7% increase compared to the original YOLOv5 model. The FLOPs are decreased by 37.0%, the number of parameters is decreased by 58.9%, the weight file size is decreased by 57.6%, and the inference time is decreased by 17.4%.","PeriodicalId":280244,"journal":{"name":"2022 3rd International Conference on Information Science, Parallel and Distributed Systems (ISPDS)","volume":"62 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-07-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":"{\"title\":\"Compressed YOLOv5 for Oriented Object Detection with Integrated Network Slimming and Knowledge Distillation\",\"authors\":\"Yifan Xu, Yong Bai\",\"doi\":\"10.1109/ISPDS56360.2022.9874105\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In recent years, object detection has been expanded to drone scenes, where remote sensing images contain a greater variety and arbitrary-oriented targets. In order to solve the problem of detection difficulty and computational intensity for remote sensing images, oriented object detection is needed and the network model is expected to be deployed on resource-limited devices. This paper proposes a lightweight object detection method for oriented object detection by leveraging and compressing YOLOv5 network model. We integrate the fine-tuning stage in network slimming with knowledge distillation to enhance the accuracy of the detection model and save training time by transferring the important feature information to the student network. Loss function is redesigned by combining Theta loss with other detection and distillation losses to make the compression model more accurate. Extensive experiments are conducted to verify the effectiveness of our proposed method on the remote sensing public dataset DOTA. The compressed model achieves an accuracy of 76.18% on the DOTA dataset, 1.7% increase compared to the original YOLOv5 model. The FLOPs are decreased by 37.0%, the number of parameters is decreased by 58.9%, the weight file size is decreased by 57.6%, and the inference time is decreased by 17.4%.\",\"PeriodicalId\":280244,\"journal\":{\"name\":\"2022 3rd International Conference on Information Science, Parallel and Distributed Systems (ISPDS)\",\"volume\":\"62 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-07-22\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2022 3rd International Conference on Information Science, Parallel and Distributed Systems (ISPDS)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ISPDS56360.2022.9874105\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 3rd International Conference on Information Science, Parallel and Distributed Systems (ISPDS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ISPDS56360.2022.9874105","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

摘要

近年来,目标检测已扩展到无人机场景,其中遥感图像包含更多种类和任意定向的目标。为了解决遥感图像检测难度大、计算强度大的问题,需要进行面向对象的目标检测,并期望将网络模型部署在资源有限的设备上。本文利用并压缩YOLOv5网络模型,提出了一种面向对象检测的轻量级对象检测方法。我们将网络瘦身中的微调阶段与知识蒸馏相结合,通过将重要的特征信息传递到学生网络中,提高了检测模型的准确性,节省了训练时间。重新设计损失函数,将Theta损失与其他检测和蒸馏损失相结合,使压缩模型更加准确。通过大量实验验证了该方法在遥感公共数据集DOTA上的有效性。压缩后的模型在DOTA数据集上的准确率达到76.18%,比原来的YOLOv5模型提高了1.7%。FLOPs减少37.0%,参数个数减少58.9%,权重文件大小减少57.6%,推理时间减少17.4%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Compressed YOLOv5 for Oriented Object Detection with Integrated Network Slimming and Knowledge Distillation
In recent years, object detection has been expanded to drone scenes, where remote sensing images contain a greater variety and arbitrary-oriented targets. In order to solve the problem of detection difficulty and computational intensity for remote sensing images, oriented object detection is needed and the network model is expected to be deployed on resource-limited devices. This paper proposes a lightweight object detection method for oriented object detection by leveraging and compressing YOLOv5 network model. We integrate the fine-tuning stage in network slimming with knowledge distillation to enhance the accuracy of the detection model and save training time by transferring the important feature information to the student network. Loss function is redesigned by combining Theta loss with other detection and distillation losses to make the compression model more accurate. Extensive experiments are conducted to verify the effectiveness of our proposed method on the remote sensing public dataset DOTA. The compressed model achieves an accuracy of 76.18% on the DOTA dataset, 1.7% increase compared to the original YOLOv5 model. The FLOPs are decreased by 37.0%, the number of parameters is decreased by 58.9%, the weight file size is decreased by 57.6%, and the inference time is decreased by 17.4%.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
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学术官方微信