PMVT: a lightweight vision transformer for plant disease identification on mobile devices
Authors:
Open Access
- 26 September 2023
- journal article
- research article
- Published by Frontiers Media SA in Frontiers in Plant Science
- Vol. 14, 1256773
Abstract
Due to the constraints of agricultural computing resources and the diversity of plant diseases, it is challenging to achieve the desired accuracy rate while keeping the network lightweight. In this paper, we proposed a computationally efficient deep learning architecture based on the mobile vision transformer (MobileViT) for real-time detection of plant diseases, which we called plant-based MobileViT (PMVT). Our proposed model was designed to be highly accurate and low-cost, making it suitable for deployment on mobile devices with limited resources. Specifically, we replaced the convolution block in MobileViT with an inverted residual structure that employs a 7×7 convolution kernel to effectively model long-distance dependencies between different leaves in plant disease images. Furthermore, inspired by the concept of multi-level attention in computer vision tasks, we integrated a convolutional block attention module (CBAM) into the standard ViT encoder. This integration allows the network to effectively avoid irrelevant information and focus on essential features. The PMVT network achieves reduced parameter counts compared to alternative networks on various mobile devices while maintaining high accuracy across different vision tasks. Extensive experiments on multiple agricultural datasets, including wheat, coffee, and rice, demonstrate that the proposed method outperforms the current best lightweight and heavyweight models. On the wheat dataset, PMVT achieves the highest accuracy of 93.6% using approximately 0.98 million (M) parameters. This accuracy is 1.6% higher than that of MobileNetV3. Under the same parameters, PMVT achieved an accuracy of 85.4% on the coffee dataset, surpassing SqueezeNet by 2.3%. Furthermore, out method achieved an accuracy of 93.1% on the rice dataset, surpassing MobileNetV3 by 3.4%. Additionally, we developed a plant disease diagnosis app and successfully used the trained PMVT model to identify plant disease in different scenarios.Keywords
This publication has 17 references indexed in Scilit:
- A survey on using deep learning techniques for plant disease diagnosis and recommendations for development of appropriate toolsSmart Agricultural Technology, 2022
- VGG-ICNN: A Lightweight CNN model for crop disease identificationMultimedia Tools and Applications, 2022
- A hybrid model of ghost-convolution enlightened transformer for effective diagnosis of grape leaf disease and pestJournal of King Saud University Computer and Information Sciences, 2022
- Transformers in Vision: A SurveyACM Computing Surveys, 2022
- Apple leaf disease recognition method with improved residual networkMultimedia Tools and Applications, 2022
- Lightweight convolutional neural network model for field wheat ear disease identificationComputers and Electronics in Agriculture, 2021
- A Review of Plant Phenotypic Image Recognition Technology Based on Deep LearningElectronics, 2021
- Review of the State of the Art of Deep Learning for Plant Diseases: A Broad Analysis and DiscussionPlants, 2020
- RoCoLe: A robusta coffee leaf images dataset for evaluation of machine learning based methods in plant diseases recognitionData in Brief, 2019
- The global burden of pathogens and pests on major food cropsNature Ecology & Evolution, 2019