基于MobileNet-ShuffleNet结合的轻量级卷积神经网络模型

  • 许浩天 ,
  • 蔡文郁 ,
  • 张美燕 ,
  • 祝嵇锋
展开
  • 1.杭州电子科技大学 电子信息学院,浙江 杭州 310018;
    2.浙江水利水电学院 电气工程学院,浙江 杭州 310018
许浩天(1999-),男,硕士研究生,研究方向:深度学习,E-mail:222040263@hdu.edu.cn。
蔡文郁(1979-),男,教授,研究方向:网络通信,E-mail:caiwy@hdu.edu.cn。

收稿日期: 2023-08-01

  网络出版日期: 2025-07-07

基金资助

国家自然科学基金项目(62271179,61871163);浙江省自然科学基金项目(LZ22F010004,LZJWY22E090001)

Lightweight convolutional neural network model based on MobileNet-ShuffleNet model

  • XU Haotian ,
  • CAI Wenyu ,
  • ZHANG Meiyan ,
  • ZHU Jifeng
Expand
  • 1. College of Electronics and Information, Hangzhou Dianzi University, Hangzhou Zhejiang 310018, China;
    2. College of Electrical Engineering, Zhejiang University of Water Resources and Electric Power, Hangzhou Zhejiang 310018, China

Received date: 2023-08-01

  Online published: 2025-07-07

摘要

针对常用神经网络分类模型计算量过大的问题,本文提出了一种能够部署于中低端嵌入式设备的轻量级卷积神经网络模型—基于MobileNet-ShuffleNet结合的轻量级卷积神经网络模型。该模型结合MobileNet和ShuffleNet的特点,引入SE(Squeeze-and-Excitation)通道注意力机制和shortcut分支,采用改进的h-swish激活函数替代原有的ReLU激活函数,提高了目标识别的准确率和计算效率。测试结果表明:基于MobileNet-ShuffleNet结合的轻量级卷积神经网络模型在MDMFR数据集、FMD数据集和基于OpenMV嵌入式平台采集数据集的性能优于MobileNet、ShuffleNet、EfficientNet等传统轻量级卷积神经网络模型。

本文引用格式

许浩天 , 蔡文郁 , 张美燕 , 祝嵇锋 . 基于MobileNet-ShuffleNet结合的轻量级卷积神经网络模型[J]. 杭州电子科技大学学报, 2025 , 45(3) : 50 -62 . DOI: 10.13954/j.cnki.hdu.2025.03.007

Abstract

Aiming at the problemof excessive computational load in commonly used neural network classification models, this paper proposes a lightweight Convolutional Neural Network model that can be deployed in low-end embedded devices-a lightweight convolutional neural network model based on MobileNet and ShuffleNet. This model combines the characteristics of MobileNet and ShuffleNet, introduces Squeeze-and-Excitation channel attention mechanism and shortcut branch, and uses improved h-swish activation function to replace the original ReLU activation function, so as to improve both the recognition accuracy and the computational efficiency. Test results verify that the proposed lightweight convolutional neural network model based on MobileNet and ShuffleNet outperforms traditional lightweight convolutional neural network models such as MobileNet, ShuffleNet, EfficientNet, etc.

参考文献

[1] HINTON G E, SALAKHUTDINOV R R. Reducing the dimensionality of data with neural networks[J]. Science,2006,313(5786):504-507.
[2] LOPES A T, DE AGUIAR E, DE SOUZA A F, et al. Facial expression recognition with convolutional neural networks: Coping with few data and the training sample order[J]. Pattern Recognition, 2017,61:610-628.
[3] KRIZHEVSKY A, SUTSKEVER I, HINTON G E. ImageNet classification with deep convolutional neural networks[J]. Communications of the ACM, 2017,60(6):84-90.
[4] SIMONYAN K, ZISSERMAN A. Very deep convolutional networks for large-scale image recognition[EB/OL]. (2015-04-10)[2023-08-01] . https://arxiv.org/abs/1409.1556.
[5] SZEGEDY C , LIU W , JIA Y, et al. Going deeper with convolutions[C]//2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR). Boston, MA, USA. IEEE, 2015:1-9.
[6] HE K M, ZHANG X Y, REN S Q, et al. Deep residual learning for image recognition[C]//2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR). June 27-30, 2016. Las Vegas, NV, USA. IEEE, 2016:770-778.
[7] HE K M, ZHANG X Y, REN S Q, et al. Identity mappings in deep residual networks[C]//Computer Vision-ECCV 2016. Cham: Springer, 2016:630-645.
[8] 贺彦钧,张旭博.基于嵌入式平台的卷积神经网络压缩加速方法[J].通信技术,2022,55(12):1636-1641.
[9] SYED T, KAKANI V, CUI X N, et al. Exploring optimized spiking neural network architectures for classification tasks on embedded platforms[J]. Sensors, 2021,21(9):3240.
[10] 高晗,田育龙,许封元,等.深度学习模型压缩与加速综述[J].软件学报,2021,32(1):68-92.
[11] 黄聪,常滔,谭虎,等.基于权值相似性的神经网络剪枝[J].计算机科学与探索,2018,12(8):1278-1285.
[12] ZHU F, GONG R H, YU F W, et al. Towards unified INT8 training for convolutional neural network[C]//2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). June 13-19, 2020. Seattle, WA, USA. IEEE, 2020:1966-1976.
[13] HINTON G, VINYALS O, DEAN J. Distilling the knowledge in a neural network[EB/OL]. (2015-03-09)[ 2023-08-01] . https://arxiv.org/abs/1503.02531v1.
[14] HEO B, KIM J, YUN S, et al. A comprehensive overhaul of feature distillation[C]//2019 IEEE/CVF International Conference on Computer Vision (ICCV). October 27-November 2, 2019, Seoul, Korea. IEEE, 2019:1921-1930.
[15] HAN K, WANG Y H, TIAN Q, et al. GhostNet: more features from cheap operations[C]//2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). June 13-19, 2020, Seattle, WA, USA. IEEE, 2020:1577-1586.
[16] TAN M X, LE Q V. EfficientNet: Rethinking model scaling for convolutional neural networks[EB/OL]. (2020-09-11)[2023-08-01] . https://arxiv.org/abs/1905.11946.
[17] TAN M X, LE Q V. Efficientnetv2: Smaller models and faster training[EB/OL]. (2021-06-23)[2023-08-01] . https://arxiv.org/abs/2104.00298.
[18] HOWARD A G, ZHU M L, CHEN B, et al. MobileNets: Efficient convolutional neural networks for mobile vision applications[EB/OL]. (2017-04-17)[2023-08-01] . https://arxiv.org/abs/1704.04861.
[19] SANDLER M, HOWARD A, ZHU M, et al. MobileNetV2: Inverted residuals and linear bottlenecks[C]//2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition. June 18-23, 2018, Salt Lake City, UT, USA. IEEE, 2018:4510-4520.
[20] HOWARD A, SANDLER M, CHEN B, et al. Searching for MobileNetV3[C]//2019 IEEE/CVF International Conference on Computer Vision (ICCV). Seoul, Korea. IEEE, 2019:1314-1324.
[21] CHOLLET F. Xception: Deep learning with depthwise separable convolutions[C]//2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR). July 21-26, 2017, Honolulu, HI, USA. IEEE, 2017:1800-1807.
[22] GAVAI N R, JAKHADE Y A, TRIBHUVAN S A, et al. MobileNets for flower classification using TensorFlow[C]//2017 international conference on big data, IoT and data science (BID). IEEE, 2017:154-158.
[23] ZHANG X Y, ZHOU X Y, LIN M X, et al. ShuffleNet: An extremely efficient convolutional neural network for mobile devices[C]//2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition. June 18-23, 2018, Salt Lake City, UT, USA. IEEE, 2018: 6848-6856.
[24] XIE S N, GIRSHICK R, DOLLÁR P, et al. Aggregated residual transformations for deep neural networks[C]//2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR). July 21-26, 2017, Honolulu, HI, USA. IEEE, 2017: 5987-5995.
[25] MA N N, ZHANG X Y, ZHENG H T, et al. ShuffleNet V2: Practical guidelines for efficient CNN architecture design[C]//Computer Vision – ECCV 2018. Cham: Springer, 2018: 122-138.
[26] HU J, SHEN L, ALBANIE S, et al. Squeeze-and-excitation networks[J]. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2020, 42(8): 2011-2023.
[27] WANG J K, LV P Q, WANG H Y, et al. SAR-U-Net: Squeeze-and-excitation block and atrous spatial pyramid pooling based residual U-Net for automatic liver segmentation in computed tomography [J].Computer Methods and Programs in Biomedicine, 2021,208:106208.
[28] GLOROT X, BORDES A, BENGIO Y. Deep Sparse Rectifier Neural Networks[J]. Journal of Machine Learning Research, 2011,15:315-323.
[29] RAMACHANDRAN P, ZOPH B, LE Q V. Searching for activation functions[EB/OL]. (2017-10-27)[2023-08-01] . https://arxiv.org/abs/1710.05941v2.
[30] RANJAN R, CASTILLO C D, CHELLAPPA R. L2-constrained softmax loss for discriminative face verification[EB/OL]. (2017-06-07)[2023-08-01] . https://arxiv.org/abs/1703.09507.
文章导航

/

〈 〉