Class-Aware Pruning for Efficient Neural Networks

Mengnan Jiang, Jingcun Wang, Amro Eldebiky, Xunzhao Yin, Cheng Zhuo, Ing Chao Lin, Grace Li Zhang

研究成果: Conference contribution

2 引文 斯高帕斯(Scopus)

摘要

Deep neural networks (DNNs) have demonstrated remarkable success in various fields. However, the large number of floating-point operations (FLOPs) in DNNs poses challenges for their deployment in resource-constrained applications, e.g., edge devices. To address the problem, pruning has been introduced to reduce the computational cost in executing DNNs. Previous pruning strategies are based on weight values, gradient values and activation outputs. Different from previous pruning solutions, in this paper, we propose a class-aware pruning technique to compress DNNs, which provides a novel perspective to reduce the computational cost of DNNs. In each iteration, the neural network training is modified to facilitate the class-aware pruning. Afterwards, the importance of filters with respect to the number of classes is evaluated. The filters that are only important for a few number of classes are removed. The neural network is then retrained to compensate for the incurred accuracy loss. The pruning iterations end until no filter can be removed anymore, indicating that the remaining filters are very important for many classes. This pruning technique outperforms previous pruning solutions in terms of accuracy, pruning ratio and the reduction of FLOPs. Experimental results confirm that this class-aware pruning technique can significantly reduce the number of weights and FLOPs, while maintaining a high inference accuracy. Our code is available at https://github.com/HWAI-TUDa/Class-Aware-Pruning

原文English
主出版物標題2024 Design, Automation and Test in Europe Conference and Exhibition, DATE 2024 - Proceedings
發行者Institute of Electrical and Electronics Engineers Inc.
ISBN(電子)9798350348590
出版狀態Published - 2024
事件2024 Design, Automation and Test in Europe Conference and Exhibition, DATE 2024 - Valencia, Spain
持續時間: 2024 3月 252024 3月 27

出版系列

名字Proceedings -Design, Automation and Test in Europe, DATE
ISSN(列印)1530-1591

Conference

Conference2024 Design, Automation and Test in Europe Conference and Exhibition, DATE 2024
國家/地區Spain
城市Valencia
期間24-03-2524-03-27

All Science Journal Classification (ASJC) codes

  • 一般工程

引用此