Recognizing crop leaf diseases using reparameterized MobileNetV2

被引:0
|
作者
Peng Y. [1 ]
Li S. [1 ]
机构
[1] College of Information Engineering, Northwest A&F University, Yangling
来源
Nongye Gongcheng Xuebao/Transactions of the Chinese Society of Agricultural Engineering | 2023年 / 39卷 / 17期
关键词
complex backgroung; crops; disease identification; lightweight; MobileNetV2; models; re-parameterization;
D O I
10.11975/j.issn.1002-6819.202304241
中图分类号
学科分类号
摘要
Various types of crop diseases have posed a serious threat to the high-quality development of crops in agricultural production. A timely identification of disease types can greatly contribute to the prevention and control of crop diseases. However, the convolutional neural networks (CNN) recognition of crop leaf diseases cannot fully meet the large-scale production in recent years, due to the numerous parameters, high computational complexity, and poor real-time performance. There is a high demand to improve the accuracy of lightweight CNN models under the relatively complex background of crop leaf images in natural environments. In this study, a lightweight re parameterized leaf diseases identification network (RLDNet) was proposed to identify crop leaf diseases. Firstly, reparameterization was introduced into the MobileNetV2. The inverted residual blocks were reparameterized to construct the reparameterized inverse residual (RIR) block for the high inference speed. A multi-branch architecture was adopted during the training phase. The diversity of the feature space was enriched to improve the representation learning of the network. The reparameterization was used to equivalently convert the multi-branch architecture into a single path structure for the inference after training. The output of the transformed inference model was the same as the original multi-branch. The parameter identity transformation was achieved to improve the inference speed of the model with high recognition accuracy. There was a decrease in the number of output channels and the stacking times of core modules. A shallow and narrow network structure was obtained to enhance the extraction of shallow features, such as the disease colors and textures, indicating the reduced number of model parameters. Secondly, a lightweight ultra lightweight subspace attention module attention mechanism (ULSAM) was added to the last two RIR blocks of the model. Leaf disease characteristics were combined to more effectively distinguish between backgrounds and prospects for better target classification. The interference was reduced in the disease areas from the complex backgrounds. Finally, the DepthShrinker pruning was utilized to learn the importance of the activation function in the model. The redundant parameters were removed to further reduce the space occupation. The lossless lightweight and high accuracy of the model were achieved using knowledge distillation. The recognition accuracy of 99.53% was achieved in the RLDNet on the PlantVillage dataset, whereas 98.49% on the self-built leaf disease dataset with a parameter size of 0.65 M. The inference time for a single-leaf disease image was 2.51 ms. RLDNet shared a performance similar to the Transformer-based models (such as MobileVit-S) and CNN-based models (such as ResNet18) on both datasets, with a significant reduction in parameter, respectively, compared with MobileVit-S and ResNet18. The higher recognition accuracy and lighter weight were obtained in the RLDNet, compared with the lightweight models, such as MobileNetV3 and ShuffleNetV2. The improved model can be expected to effectively identify the leaf diseases in the complex backgrounds, with less parameter memory and faster inference speed. The findings can also be applied in the practical production and application of smart agriculture. © 2023 Chinese Society of Agricultural Engineering. All rights reserved.
引用
收藏
页码:132 / 140
页数:8
相关论文
共 32 条
  • [1] WANG Chunshan, ZHOU Ji, WU Huarui, Et al., Identification of vegetable leaf diseases based on improved Multi-scale ResNet, Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 36, 20, pp. 209-217, (2020)
  • [2] HASSAN S M, MAJI A, JASINSKI M, Et al., Identification of plant-leaf diseases using CNN and transfer-learning approach, Electronics (Basel), 10, 12, (2021)
  • [3] LI X P, CHEN X Y, YANG J L, Et al., Transformer helps identify kiwifruit diseases in complex natural environments, Computers and Electronics in Agriculture, 200, (2022)
  • [4] CHAO X F, SUN G Y, ZHAO H K, Et al., Identification of apple tree leaf diseases based on deep learning models, Symmetry (Basel), 12, 7, (2020)
  • [5] LIU Yang, GAO Guoqin, Identification of multiple leaf diseases using improved SqueezeNet model, Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 37, 2, pp. 187-195, (2021)
  • [6] WANG Zejun, MA Fengying, ZHANG Yu, Et al., Crop disease recognition using attention mechanism and multi-scale lightweight network, Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 38, pp. 176-183, (2022)
  • [7] LI Hao, QIU Weigen, ZHANG Lichen, Improved ShuffleNet V2 for lightweight crop disease identification, Computer Engineering and Applications, 58, 12, pp. 260-268, (2022)
  • [8] SUN Jun, ZHU Weidong, LUO Yuanqiu, Et al., Recognizing the diseases of crop leaves in fields using improved Mobilenet-V2, Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 37, 22, pp. 161-169, (2021)
  • [9] SANDLER M, HOWARD A, ZHU M L, Et al., MobileNetV2: Inverted residuals and linear bottlenecks, Salt Lake: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 4510-4520, (2018)
  • [10] SAINI R, JHA N K, DAS B, Et al., ULSAM: Ultra-lightweight subspace attention module for compact convolutional neural networks, Aspen: 2020 IEEE Winter Conference on Applications of Computer Vision (WACV), pp. 1616-1625, (2020)