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}
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.