Group channel pruning and spatial attention distilling for object detection

被引:0
|
作者
Yun Chu
Pu Li
Yong Bai
Zhuhua Hu
Yongqing Chen
Jiafeng Lu
机构
[1] Hainan University,School of Information and Communication Engineering
[2] Peking University,School of Software and Microelectronics
来源
Applied Intelligence | 2022年 / 52卷
关键词
Model compression; Object detection; Group channel pruning; Knowledge distillation;
D O I
暂无
中图分类号
学科分类号
摘要
Due to the over-parameterization of neural networks, many model compression methods based on pruning and quantization have emerged. They are remarkable in reducing the size, parameter number, and computational complexity of the model. However, most of the models compressed by such methods need the support of special hardware and software, which increases the deployment cost. Moreover, these methods are mainly used in classification tasks, and rarely directly used in detection tasks. To address these issues, for the object detection network we introduce a three-stage model compression method: dynamic sparse training, group channel pruning, and spatial attention distilling. Firstly, to select out the unimportant channels in the network and maintain a good balance between sparsity and accuracy, we put forward a dynamic sparse training method, which introduces a variable sparse rate, and the sparse rate will change with the training process of the network. Secondly, to reduce the effect of pruning on network accuracy, we propose a novel pruning method called group channel pruning. In particular, we divide the network into multiple groups according to the scales of the feature layer and the similarity of module structure in the network, and then we use different pruning thresholds to prune the channels in each group. Finally, to recover the accuracy of the pruned network, we use an improved knowledge distillation method for the pruned network. Especially, we extract spatial attention information from the feature maps of specific scales in each group as knowledge for distillation. In the experiments, we use YOLOv4 as the object detection network and PASCAL VOC as the training dataset. Our method reduces the parameters of the model by 64.7% and the calculation by 34.9%. When the input image size is 416×416, compared with the original network model with 256MB size and 87.1 accuracies, our compressed model achieves 86.6 accuracies with 90MB size. To demonstrate the generality of our method, we replace the backbone to Darknet53 and Mobilenet and also achieve satisfactory compression results.
引用
收藏
页码:16246 / 16264
页数:18
相关论文
共 50 条
  • [31] Multi-Scale Spatial and Channel-wise Attention for Improving Object Detection in Remote Sensing Imagery
    Chen, Jie
    Wan, Li
    Zhu, Jingru
    Xu, Gang
    Deng, Min
    IEEE GEOSCIENCE AND REMOTE SENSING LETTERS, 2020, 17 (04) : 681 - 685
  • [32] A Strip Steel Surface Defect Salient Object Detection Based on Channel, Spatial and Self-Attention Mechanisms
    Sun, Yange
    Geng, Siyu
    Guo, Huaping
    Zheng, Chengyi
    Zhang, Li
    ELECTRONICS, 2024, 13 (21)
  • [33] Hardware Acceleration of Satellite Remote Sensing Image Object Detection Based on Channel Pruning
    Zhao, Yonghui
    Lv, Yong
    Li, Chao
    APPLIED SCIENCES-BASEL, 2023, 13 (18):
  • [34] DEEP NETWORK PRUNING FOR OBJECT DETECTION
    Ghosh, Sanjukta
    Srinivasa, Shashi K. K.
    Amon, Peter
    Hutter, Andreas
    Kaup, Andre
    2019 IEEE INTERNATIONAL CONFERENCE ON IMAGE PROCESSING (ICIP), 2019, : 3915 - 3919
  • [35] Channel and spatial attention-based Siamese network for visual object tracking
    Tian, Shishun
    Chen, Zixi
    Chen, Bolin
    Zou, Wenbin
    Li, Xia
    JOURNAL OF ELECTRONIC IMAGING, 2021, 30 (03)
  • [36] Parallel Space and Channel Attention for Stronger Remote Sensing Object Detection
    Zhao, Yuhui
    Yang, Ruifeng
    Guo, Chenxia
    Chen, Xiaole
    IEEE JOURNAL OF SELECTED TOPICS IN APPLIED EARTH OBSERVATIONS AND REMOTE SENSING, 2024, 17 : 2610 - 2621
  • [37] Underwater object detection algorithm based on channel attention and feature fusion
    Zhang Y.
    Li X.
    Sun Y.
    Liu S.
    Xibei Gongye Daxue Xuebao/Journal of Northwestern Polytechnical University, 2022, 40 (02): : 433 - 441
  • [38] CSANet: Channel and Spatial Mixed Attention CNN for Pedestrian Detection
    Zhang, Yunbo
    Yi, Pengfei
    Zhou, Dongsheng
    Yang, Xin
    Yang, Deyun
    Zhang, Qiang
    Wei, Xiaopeng
    IEEE ACCESS, 2020, 8 (08): : 76243 - 76252
  • [39] Multiscale Tea Disease Detection with Channel-Spatial Attention
    Sun, Yange
    Jiang, Mingyi
    Guo, Huaping
    Zhang, Li
    Yao, Jianfeng
    Wu, Fei
    Wu, Gaowei
    SUSTAINABILITY, 2024, 16 (16)
  • [40] Lightweight Spatial Sliced-Concatenate-Multireceptive-Field Enhance and Joint Channel Attention Mechanism for Infrared Object Detection
    Pan, Zhiheng
    Xu, Liuchao
    Liang, Chuandong
    Pan, Kui
    Zhao, Mi
    Lu, Min
    IEEE ACCESS, 2022, 10 : 55508 - 55521