Filter Pruning via Attention Consistency on Feature Maps

被引:3
|
作者
Yang, Huoxiang [1 ,2 ]
Liang, Yongsheng [1 ,3 ]
Liu, Wei [2 ,4 ]
Meng, Fanyang [2 ]
机构
[1] Shenzhen Univ, Coll Elect & Informat Engn, Shenzhen 518060, Peoples R China
[2] Pengcheng Lab, Shenzhen 518055, Peoples R China
[3] Shenzhen Univ Technol, Big Data & Internet Coll, Shenzhen 518118, Peoples R China
[4] Shenzhen Inst Informat Technol, Sch Comp Sci, Shenzhen 518172, Peoples R China
来源
APPLIED SCIENCES-BASEL | 2023年 / 13卷 / 03期
基金
中国国家自然科学基金;
关键词
neural network compression; channel pruning; attention consistency;
D O I
10.3390/app13031964
中图分类号
O6 [化学];
学科分类号
0703 ;
摘要
Due to the effective guidance of prior information, feature map-based pruning methods have emerged as promising techniques for model compression. In the previous works, the undifferentiated treatment of all information on feature maps amplifies the negative impact of noise and background information. To address this issue, a novel filter pruning strategy called Filter Pruning via Attention Consistency (FPAC) is proposed, and a simple and effective implementation method of FPAC is presented. FPAC is inspired by the notion that the attention of feature maps on one layer is in high consistency of spatial dimension. The experiments also show that feature maps with lower consistency are less important. Hence, FPAC measures the importance of filters by evaluating the attention consistency on the feature maps and then prunes the filters corresponding to feature maps with lower consistency. The present experiments on various datasets further confirm the effectiveness of FPAC. For instance, applying VGG-16 on CIFAR-10, the classification accuracy even increases from 93.96% to 94.03% with 58.1% FLOPs reductions. Furthermore, applying ResNet-50 on ImageNet achieves 45% FLOPs reductions with only 0.53% accuracy loss.
引用
收藏
页数:14
相关论文
共 50 条
  • [1] Filter pruning by quantifying feature similarity and entropy of feature maps
    Liu, Yajun
    Fan, Kefeng
    Wu, Dakui
    Zhou, Wenju
    [J]. NEUROCOMPUTING, 2023, 544
  • [2] Revolutionizing neural network efficiency: introducing FPAC for filter pruning via attention consistency
    Mana, Suja Cherukullapurath
    Rajesh, Sudha
    Governor, Kalaiarasi
    Chandrasekaran, Hemalatha
    Murugesan, Kanipriya
    [J]. NEURAL COMPUTING & APPLICATIONS, 2023, 36 (2): : 639 - 652
  • [3] Revolutionizing neural network efficiency: introducing FPAC for filter pruning via attention consistency
    Suja Cherukullapurath Mana
    Sudha Rajesh
    Kalaiarasi Governor
    Hemalatha Chandrasekaran
    Kanipriya Murugesan
    [J]. Neural Computing and Applications, 2024, 36 : 639 - 652
  • [4] FILTER PRUNING VIA SOFTMAX ATTENTION
    Cho, Sungmin
    King, Hyeseong
    Kwon, Junseok
    [J]. 2021 IEEE INTERNATIONAL CONFERENCE ON IMAGE PROCESSING (ICIP), 2021, : 3507 - 3511
  • [5] Filter pruning via feature map clustering
    Li, Wei
    He, Yongxing
    Zhang, Xiaoyu
    Tang, Yongchuan
    [J]. INTELLIGENT DATA ANALYSIS, 2023, 27 (04) : 911 - 933
  • [6] Iterative filter pruning with combined feature maps and knowledge distillation
    Liu, Yajun
    Fan, Kefeng
    Zhou, Wenju
    [J]. INTERNATIONAL JOURNAL OF MACHINE LEARNING AND CYBERNETICS, 2024,
  • [7] Filter Pruning via Measuring Feature Map Information
    Shao, Linsong
    Zuo, Haorui
    Zhang, Jianlin
    Xu, Zhiyong
    Yao, Jinzhen
    Wang, Zhixing
    Li, Hong
    [J]. SENSORS, 2021, 21 (19)
  • [8] A Filter Pruning Method of CNN Models Based on Feature Maps Clustering
    Wu, Zhihong
    Li, Fuxiang
    Zhu, Yuan
    Lu, Ke
    Wu, Mingzhi
    Zhang, Changze
    [J]. APPLIED SCIENCES-BASEL, 2022, 12 (09):
  • [9] Filter Pruning via Feature Discrimination in Deep Neural Networks
    He, Zhiqiang
    Qian, Yaguan
    Wang, Yuqi
    Wang, Bin
    Guan, Xiaohui
    Gu, Zhaoquan
    Ling, Xiang
    Zeng, Shaoning
    Wang, Haijiang
    Zhou, Wujie
    [J]. COMPUTER VISION, ECCV 2022, PT XXI, 2022, 13681 : 245 - 261
  • [10] A graphical approach for filter pruning by exploring the similarity relation between feature maps
    Li, Jiang
    Shao, Haijian
    Zhai, Shengjie
    Jiang, Yingtao
    Deng, Xing
    [J]. PATTERN RECOGNITION LETTERS, 2023, 166 : 69 - 75