基于粒子群的深度神经网络剪枝算法

Shengnan Zhang, Shanshan Hong, Chao Wu, Yu Liu, Xiaoming Ju
{"title":"基于粒子群的深度神经网络剪枝算法","authors":"Shengnan Zhang, Shanshan Hong, Chao Wu, Yu Liu, Xiaoming Ju","doi":"10.1109/ICHCI51889.2020.00084","DOIUrl":null,"url":null,"abstract":"A powerful neural network consumes a lot of storage space and computing resources, which is unacceptable for mobile devices and embedded devices with limited resources. To solve this problem, PSOPruner was proposed. Firstly, The algorithm randomly initializes a series of particles as the pruned network structure; secondly, calculates the threshold corresponding to each convolutional layer according to the particles, deletes the convolution kernels with corresponding values less than the threshold; then, adapts the pruned network structure evaluation, update the particles and the global optimal fitness particles; finally, retrain the network structure corresponding to the global optimal fitness particles to restore the network accuracy. The experimental results show that the algorithm is applied to VGG16 on the cifar-10 data set. After 100 iterations of the algorithm, the test accuracy is improved by 0.04%, the model size is reduced by 94%, and the running speed is increased by 36% compared with the untrimmed model. The pruned network model is more conducive to deployment in mobile devices and embedded devices.","PeriodicalId":355427,"journal":{"name":"2020 International Conference on Intelligent Computing and Human-Computer Interaction (ICHCI)","volume":"31 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Deep neural network pruning algorithm based on particle swarm\",\"authors\":\"Shengnan Zhang, Shanshan Hong, Chao Wu, Yu Liu, Xiaoming Ju\",\"doi\":\"10.1109/ICHCI51889.2020.00084\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"A powerful neural network consumes a lot of storage space and computing resources, which is unacceptable for mobile devices and embedded devices with limited resources. To solve this problem, PSOPruner was proposed. Firstly, The algorithm randomly initializes a series of particles as the pruned network structure; secondly, calculates the threshold corresponding to each convolutional layer according to the particles, deletes the convolution kernels with corresponding values less than the threshold; then, adapts the pruned network structure evaluation, update the particles and the global optimal fitness particles; finally, retrain the network structure corresponding to the global optimal fitness particles to restore the network accuracy. The experimental results show that the algorithm is applied to VGG16 on the cifar-10 data set. After 100 iterations of the algorithm, the test accuracy is improved by 0.04%, the model size is reduced by 94%, and the running speed is increased by 36% compared with the untrimmed model. The pruned network model is more conducive to deployment in mobile devices and embedded devices.\",\"PeriodicalId\":355427,\"journal\":{\"name\":\"2020 International Conference on Intelligent Computing and Human-Computer Interaction (ICHCI)\",\"volume\":\"31 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2020-12-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2020 International Conference on Intelligent Computing and Human-Computer Interaction (ICHCI)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ICHCI51889.2020.00084\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2020 International Conference on Intelligent Computing and Human-Computer Interaction (ICHCI)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICHCI51889.2020.00084","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

一个强大的神经网络会消耗大量的存储空间和计算资源,这对于资源有限的移动设备和嵌入式设备来说是不可接受的。为了解决这个问题,PSOPruner被提出。首先,算法随机初始化一系列粒子作为修剪后的网络结构;其次,根据粒子计算每个卷积层对应的阈值,删除对应值小于阈值的卷积核;然后,自适应剪枝网络结构评价,更新粒子和全局最优适应度粒子;最后,重新训练全局最优适应度粒子对应的网络结构,恢复网络精度。实验结果表明,该算法在cifar-10数据集上适用于VGG16。经过100次迭代后,与未裁剪模型相比,测试精度提高0.04%,模型尺寸减小94%,运行速度提高36%。修剪后的网络模型更有利于在移动设备和嵌入式设备中部署。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Deep neural network pruning algorithm based on particle swarm
A powerful neural network consumes a lot of storage space and computing resources, which is unacceptable for mobile devices and embedded devices with limited resources. To solve this problem, PSOPruner was proposed. Firstly, The algorithm randomly initializes a series of particles as the pruned network structure; secondly, calculates the threshold corresponding to each convolutional layer according to the particles, deletes the convolution kernels with corresponding values less than the threshold; then, adapts the pruned network structure evaluation, update the particles and the global optimal fitness particles; finally, retrain the network structure corresponding to the global optimal fitness particles to restore the network accuracy. The experimental results show that the algorithm is applied to VGG16 on the cifar-10 data set. After 100 iterations of the algorithm, the test accuracy is improved by 0.04%, the model size is reduced by 94%, and the running speed is increased by 36% compared with the untrimmed model. The pruned network model is more conducive to deployment in mobile devices and embedded devices.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信