Channel pruning guided by spatial and channel attention for DNNs in intelligent edge computing

被引:15
|
作者
Liu, Mengran [1 ]
Fang, Weiwei [1 ,2 ]
Ma, Xiaodong [1 ]
Xu, Wenyuan [1 ]
Xiong, Naixue [3 ]
Ding, Yi [4 ]
机构
[1] Beijing Jiaotong Univ, Sch Comp & Informat Technol, Beijing 100044, Peoples R China
[2] Minist Educ, Key Lab Ind Internet Things & Networked Control, Chongqing 400065, Peoples R China
[3] Tianjin Univ, Coll Intelligence & Comp, Tianjin 300350, Peoples R China
[4] Beijing Wuzi Univ, Sch Informat, Beijing 101149, Peoples R China
关键词
Deep neural networks; Model compression; Channel pruning; Attention module; NEURAL-NETWORKS;
D O I
10.1016/j.asoc.2021.107636
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Deep Neural Networks (DNNs) have achieved remarkable success in many computer vision tasks recently, but the huge number of parameters and the high computation overhead hinder their deployments on resource-constrained edge devices. It is worth noting that channel pruning is an effective approach for compressing DNN models. A critical challenge is to determine which channels are to be removed, so that the model accuracy will not be negatively affected. In this paper, we first propose Spatial and Channel Attention (SCA), a new attention module combining both spatial and channel attention that respectively focuses on "where"and "what"are the most informative parts. Guided by the scale values generated by SCA for measuring channel importance, we further propose a new channel pruning approach called Channel Pruning guided by Spatial and Channel Attention (CPSCA). Experimental results indicate that SCA achieves the best inference accuracy, while incurring negligibly extra resource consumption, compared to other state-of-the-art attention modules. Our evaluation on two benchmark datasets shows that, with the guidance of SCA, our CPSCA approach achieves higher inference accuracy than other state-of-the-art pruning methods under the same pruning ratios. (C) 2021 Elsevier B.V. All rights reserved.
引用
收藏
页数:10
相关论文
共 50 条
  • [41] Spatial and Channel Attention Mechanism Method for Object Tracking
    Liu Jiamin
    Xie Wenjie
    Huang Hong
    Tang Yiming
    JOURNAL OF ELECTRONICS & INFORMATION TECHNOLOGY, 2021, 43 (09) : 2569 - 2576
  • [42] Channel-spatial attention network for fewshot classification
    Zhang, Yan
    Fang, Min
    Wang, Nian
    PLOS ONE, 2019, 14 (12):
  • [43] EXPLORE SPATIAL AND CHANNEL ATTENTION IN IMAGE QUALITY ASSESSMENT
    You, Junyong
    Yan, Jie
    2022 IEEE INTERNATIONAL CONFERENCE ON IMAGE PROCESSING, ICIP, 2022, : 26 - 30
  • [44] Learning Spatial-Channel Attention for Visual Tracking
    Zeng, Yingsen
    Wang, Haiying
    Lu, Ting
    2019 IEEE/CIC INTERNATIONAL CONFERENCE ON COMMUNICATIONS IN CHINA (ICCC), 2019,
  • [45] Efficient Channel Pruning via Architecture-Guided Search Space Shrinking
    Yang, Zhi
    Li, Zheyang
    PATTERN RECOGNITION AND COMPUTER VISION, PT I, PRCV 2022, 2022, 13534 : 540 - 551
  • [46] Structurally Guided Channel Attention Networks: SGCA-Net
    Yildiz, Veysi
    Dy, Jennifer
    Campbell, J. Peter
    Ostmo, Susan
    Chiang, Michael F.
    Ioannidis, Stratis
    Erdogmus, Deniz
    THE 14TH ACM INTERNATIONAL CONFERENCE ON PERVASIVE TECHNOLOGIES RELATED TO ASSISTIVE ENVIRONMENTS, PETRA 2021, 2021, : 93 - 96
  • [47] Diffusion network with spatial channel attention infusion and frequency spatial attention for brain tumor segmentation
    Mi, Jiaqi
    Zhang, Xindong
    MEDICAL PHYSICS, 2024,
  • [48] Attention Map Guided Transformer Pruning for Occluded Person Re-Identification on Edge Device
    Mao, Junzhu
    Yao, Yazhou
    Sun, Zeren
    Huang, Xingguo
    Shen, Fumin
    Shen, Heng-Tao
    IEEE TRANSACTIONS ON MULTIMEDIA, 2023, 25 : 1592 - 1599
  • [49] CSAGAN: Channel and Spatial Attention-Guided Generative Adversarial Networks for Unsupervised Image-to-Image Translation
    Yang, Rui
    Peng, Chao
    Wang, Chenchao
    Wang, Mengdan
    Chen, Yao
    Zheng, Peng
    Xiong, Neal N.
    2021 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN, AND CYBERNETICS (SMC), 2021, : 3258 - 3265
  • [50] Polyp segmentation network with hybrid channel-spatial attention and pyramid global context guided feature fusion
    Huang, Xiaodong
    Zhuo, Li
    Zhang, Hui
    Yang, Yang
    Li, Xiaoguang
    Zhang, Jing
    Wei, Wei
    COMPUTERIZED MEDICAL IMAGING AND GRAPHICS, 2022, 98