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 条
  • [1] Channel pruning guided by global channel relation
    Cheng, Yingjie
    Wang, Xiaoqi
    Xie, Xiaolan
    Li, Wentao
    Peng, Shaoliang
    APPLIED INTELLIGENCE, 2022, 52 (14) : 16202 - 16213
  • [2] Channel pruning guided by global channel relation
    Yingjie Cheng
    Xiaoqi Wang
    Xiaolan Xie
    Wentao Li
    Shaoliang Peng
    Applied Intelligence, 2022, 52 : 16202 - 16213
  • [3] Group channel pruning and spatial attention distilling for object detection
    Yun Chu
    Pu Li
    Yong Bai
    Zhuhua Hu
    Yongqing Chen
    Jiafeng Lu
    Applied Intelligence, 2022, 52 : 16246 - 16264
  • [4] Group channel pruning and spatial attention distilling for object detection
    Chu, Yun
    Li, Pu
    Bai, Yong
    Hu, Zhuhua
    Chen, Yongqing
    Lu, Jiafeng
    APPLIED INTELLIGENCE, 2022, 52 (14) : 16246 - 16264
  • [5] Rapid Deployment of DNNs for Edge Computing via Structured Pruning at Initialization
    Eccles, Bailey J.
    Wong, Leon
    Varghese, Blesson
    2024 IEEE 24TH INTERNATIONAL SYMPOSIUM ON CLUSTER, CLOUD AND INTERNET COMPUTING, CCGRID 2024, 2024, : 330 - 339
  • [6] Differentiable channel pruning guided via attention mechanism: a novel neural network pruning approach
    Hanjing Cheng
    Zidong Wang
    Lifeng Ma
    Zhihui Wei
    Fawaz E. Alsaadi
    Xiaohui Liu
    Complex & Intelligent Systems, 2023, 9 : 5611 - 5624
  • [7] Differentiable channel pruning guided via attention mechanism: a novel neural network pruning approach
    Cheng, Hanjing
    Wang, Zidong
    Ma, Lifeng
    Wei, Zhihui
    Alsaadi, Fawaz E.
    Liu, Xiaohui
    COMPLEX & INTELLIGENT SYSTEMS, 2023, 9 (05) : 5611 - 5624
  • [8] Learning Attribute-guided Fashion Similarity with Spatial and Channel Attention
    Wan, Yongquan
    Yan, Kang
    Yan, Cairong
    Zhang, Bofeng
    JOURNAL OF EXPERIMENTAL & THEORETICAL ARTIFICIAL INTELLIGENCE, 2024, 36 (05) : 703 - 719
  • [9] Deep Reinforcement Learning Based Multi-Task Automated Channel Pruning for DNNs
    Ma, Xiaodong
    Fang, Weiwei
    2023 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS, IJCNN, 2023,
  • [10] Building change detection using the parallel spatial-channel attention block and edge-guided deep network
    Eftekhari, Akram
    Samadzadegan, Farhad
    Javan, Farzaneh Dadrass
    INTERNATIONAL JOURNAL OF APPLIED EARTH OBSERVATION AND GEOINFORMATION, 2023, 117