基于改进自适应遗传算法的结构化剪枝方法

  • 袁沁 ,
  • 孙闽红 ,
  • 滕旭阳 ,
  • 朱万乾
展开
  • 杭州电子科技大学通信工程学院,浙江 杭州 310018
袁沁(1998-),男,硕士研究生,研究方向:深度学习模型压缩。E-mail:447695644@qq.com。
孙闽红,教授,研究方向:雷达通信对抗、雷达通信信号处理。E-mail:cougar@hdu.edu.cn。

收稿日期: 2023-05-15

  网络出版日期: 2025-01-13

基金资助

国家自然科学基金项目(61906055)。

Improved Adaptive Genetic-Algorithm based Structured Pruning Method

  • YUAN Qin ,
  • SUN Minhong ,
  • TENG Xuyang ,
  • ZHU Wanqian
Expand
  • School of Communication Engineering, Hangzhou Dianzi University, Hangzhou Zhejiang 310018, China

Received date: 2023-05-15

  Online published: 2025-01-13

摘要

网络剪枝是当前深度神经网络模型压缩的主要方法之一。针对现有的基于遗传算法的网络剪枝方法效率较低的问题,提出了一种基于改进自适应遗传算法的结构化剪枝方法。首先设计了新的适应度函数,平衡了模型损失值和参数量对最终结果的影响;其次,利用自适应的交叉概率和变异概率来代替固定的超参数,提高了剪枝效率和模型准确率;最后,通过实验验证了方法的可行性,得到了精度更高、参数量更少的网络模型。

本文引用格式

袁沁 , 孙闽红 , 滕旭阳 , 朱万乾 . 基于改进自适应遗传算法的结构化剪枝方法[J]. 杭州电子科技大学学报, 2024 , 44(6) : 40 -49 . DOI: 10.13954/j.cnki.hdu.2024.06.006

Abstract

Network pruning is one of the main methods for compressing deep neural network models. To address the issue of low efficiency in existing genetic algorithm-based network pruning methods, we propose a structured pruning method based on an improved adaptive genetic algorithm. Firstly, we design a new fitness function that balances the impact of model loss and parameter quantity of the final result. Secondly, adaptive crossover and mutation probabilities are used instead of fixed hyperparameters to improve pruning efficiency and model accuracy. Finally, the feasibility of the method is verified through experiments, obtaining network models with higher accuracy and fewer parameters.

参考文献

[1]LI Y, ADAMCZEWSKI K, LI W, et al. Revisiting Random Channel Pruning for Neural Network Compression[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). New Orleans, LA, USA. IEEE,2022:191-201.
[2]CHIJIWA D, YAMAGUCHI S, KUMAGAI A, et al.Meta-ticket: Finding optimal subnetworks for few-shot learning within randomly initialized neural networks(2022-05-31)[2023-02-09]. https://arxiv.org/abs/2205.15619.
[3]曾焕强,胡浩麟,林向伟,等.深度神经网络压缩与加速综述[J].信号处理,2022,38(1):183-194.
[4]YANG C, YANG Z, KHATTAK A M, et al. Structured Pruning of Convolutional Neural Networks via L1 Regularization[J]. IEEE Access, 2019,7:106385-106394.
[5]MANTENA G, SIM K C. Entropy-based pruning of hidden units to reduce DNN parameters[C]//2016 IEEE Spoken Language Technology Workshop (SLT). San Diego, CA, USA. IEEE,2016:672-679.
[6]ZHANG S N, HONG S S, WU C, et al. Deep neural network pruning algorithm based on particle swarm[C]//2020 International Conference on Intelligent Computing and Human-Computer Interaction (ICHCI). Sanya, China. IEEE, 2020:367-371.
[7]HU Y M, SUN S Y, LI J Q, et al. A novel channel pruning method for deep neural network compression[EB/OL]. (2018-05-29)[ 2023-05-15].https://arxiv.org/abs/1805.11394.
[8]KHATAMI A, KEBRIA P M, JALALI S M J, et al. A GA-Based Pruning Fully Connected Network for Tuned Connections in Deep Networks[C]// 2019 IEEE International Conference on Systems, Man and Cybernetics (SMC). IEEE, 2019:3492-3497.
[9]WANG Z, LI F, SHI G, et al. Network pruning using sparse learning and genetic algorithm[J]. Neurocomputing, 2020,404:247-256.
[10]LIU Z, LI J G, SHEN Z Q, et al. Learning efficient convolutional networks through network slimming[C]//2017 IEEE International Conference on Computer Vision (ICCV). Venice, Italy. IEEE, 2017:2755-2763.
[11]LEE J, PARK S, MO S, et al. Layer-adaptive Sparsity for the Magnitude-based Pruning[C]//In The International Conference on Learning Representations(ICLR). 2021.
文章导航

/

〈 〉