VLM-MCPDD: An Interpretable Vision Language Model for Multi-Crop Pests and Disease Diagnosis
Abstract
1. Introduction
- This paper constructs a Vision Language Model for Multi-Crop Pest and Disease Diagnosis (VLM-MCPDD). By adopting the LoRA method, the parameters of the existing LLaVA-1.5 model were fine-tuned. This model can effectively identify crop pest and disease images and provide corresponding diagnostic descriptions.
- The Pests and Diseases Semantic Dataset (PDSD) is constructed to support multi-crop pest and disease diagnosis tasks. This dataset consists of pest and disease images and their corresponding textual descriptions, providing a data foundation for the training and evaluation of VLMs in the field of agricultural diagnosis.
- The CoT reasoning mechanism is introduced into the crop pest and disease diagnosis process. Enhancing the model’s logical analysis ability for pest and disease symptoms, it improves the accuracy of pest and disease classification.
2. Related Work
2.1. Visual Perception Mechanisms in Crop Disease Diagnosis
2.2. Vision-Language Reasoning for Agricultural Diagnostics
3. Methodology
3.1. Overall Architecture
3.2. Visual Data Preprocessing
3.3. Image–Text Pair Construction
3.4. Chain-of-Thought Reasoning Mechanism
![]() Prompt: What disease does the crop in this image have? Answer: Corn Common Rust. Prompt: As a plant pest and disease expert, analyze the provided image of Corn Common Rust. Describe the apparent visual characteristics in the image, provide a diagnostic category, and briefly explain how these characteristics are linked to this diagnostic category. Keep the response concise and omit irrelevant comments. Think step by step. Answer: The image shows numerous small, reddish-brown pustules distributed across the corn leaf surface. The pustules are mostly round or oval in shape, irregularly scattered, and partially fused in some areas. Diagnosis: Corn Common Rust. Explanation: Visual features such as reddish-brown, round or oval pustules are typical of Corn Common Rust. This disease can lead to premature leaf senescence, reduced photosynthetic efficiency, and yield loss. |
![]() Prompt: What is the pest in the image? Answer: Corn Borer. Prompt: As a plant pest and disease expert, analyze the provided image of the Corn Borer. Describe the apparent visual characteristics in the image, provide a diagnostic category, and briefly explain how these characteristics are linked to this diagnostic category. Keep the response concise and omit irrelevant comments. Think step by step. Answer: The image shows a yellowish-brown moth with the forewings folded, forming a nearly triangular outline. The wing surface exhibits brown, wavy transverse bands. The head bears compound eyes, and the antennae are slender. Diagnosis: Corn Borer. Explanation: The yellowish-brown coloration and the presence of wavy transverse bands are typical visual characteristics of the adult Corn Borer. The Corn Borer is an important pest of maize, and the adult stage primarily functions in mating and oviposition. |
![]() Prompt: Act as a plant pest and disease expert. Analyze the provided image, which belongs to one of the following categories: Corn Common Rust, Corn Gray Leaf Spot, Corn Northern Leaf Blight, Healthy Corn, Rice Bacterial Leaf Blight, Rice Brown Spot, Rice Leaf Blast, Healthy Rice, Wheat Leaf Rust, Wheat Powdery Mildew, Wheat Yellow Rust, Healthy Wheat, Rice Water Weevil, Rice Leaf Roller, Red Spider, Penthaleus major, Armyworm, Corn Borer. The image category is Corn Common Rust. Describe the specific features visible in the image. Explanation: Briefly explain how these features correlate with the diagnosed category. Requirements: Ensure the analysis is concise and focused. Do not include any irrelevant content. Think step by step. Answer: The image shows that the corn leaf exhibits typical characteristics of Corn Common Rust, as detailed below: 1. Reddish-brown pustules: Reddish-brown, round or oval pustules are visible on the leaves. 2. Distribution pattern: The pustules are randomly distributed and partially fused in some areas. 3. Leaf tissue: Infected leaf tissue shows chlorosis and dryness. Relevance: Corn Common Rust is caused by the fungus Puccinia sorghi. The reddish-brown pustules are a key diagnostic feature, distinguishing it from Corn Gray Leaf Spot (elongated rectangular lesions) and Corn Northern Leaf Blight (spindle-shaped lesions). The disease is primarily wind-dispersed and tends to break out in cool, humid conditions. |
![]() Prompt: Act as a plant pest and disease expert. Analyze the provided image, which belongs to one of the following categories: Corn Common Rust, Corn Gray Leaf Spot, Corn Northern Leaf Blight, Healthy Corn, Rice Bacterial Leaf Blight, Rice Brown Spot, Rice Leaf Blast, Healthy Rice, Wheat Leaf Rust, Wheat Powdery Mildew, Wheat Yellow Rust, Healthy Wheat, Rice Water Weevil, Rice Leaf Roller, Red Spider, Penthaleus major, Armyworm, Corn Borer. The image category is Corn Borer. Describe the specific features visible in the image. Explanation: Briefly explain how these features correlate with the diagnosed category. Requirements: Ensure the analysis is concise and focused. Do not include any irrelevant content. Think step by step. Answer: The image depicts an adult Corn Borer with the following characteristics: 1. Overall Morphology: The adult is overall yellowish-brown, with the forewings folded into a triangular shape. 2. Wing Surface Pattern: The wing surface displays evenly distributed brown, wavy transverse bands. 3. Head Characteristics: Prominent compound eyes are present, and the antennae are slender. Relevance: The wavy transverse bands are one of the characteristic features of the adult Corn Borer. This species is a major stem-boring pest of maize, with the larval stage causing severe damage to stalks and ears. Adults exhibit positive phototaxis and nocturnal activity and serve as the reproductive stage responsible for mating and oviposition, playing a critical role in pest dispersal. |
![]() Prompt: As a plant pests and diseases expert. Diagnose an image of corn affected by Common Rust and provide detailed, actionable treatment solutions. Requirements: Ensure the response is clear and concise, and follows a step-by-step explanation. Answer: Diagnosis: Corn Common Rust. Control Methods: 1. Agricultural Control: Resistant Varieties: Select corn hybrids with strong resistance to common rust. Residue Management: Remove or shred crop residues after harvest to reduce overwintering inoculum. Crop Rotation: Rotate with non-host crops such as legumes or peanuts. 2. Chemical Control: Application Timing: Focus spray applications from the bell stage to early tasseling when early symptoms appear. Recommended Fungicides: Use effective agents including difenoconazole, tebuconazole, azoxystrobin, or trifloxystrobin + tebuconazole. Precautions: Rotate fungicides with different modes of action to minimize resistance risk. 3. Monitoring and Early Warning: Field Inspections: Conduct regular field checks during susceptible growth stages to detect early symptoms. Weather Monitoring: Stay alert for cool and humid conditions that promote disease development and spread. |
![]() Prompt: As a plant pest and disease expert. Diagnose an image of Corn Borer and provide detailed, actionable control measures. Requirements: Ensure the response is clear and concise, and follows a step-by-step explanation. Answer: Diagnosis: Corn Borer. Control Methods: 1. Cultural Control: Straw Shredding and Incorporation: Shred and deeply incorporate crop residues to eliminate overwintering larvae. Resistant Cultivars: Plant corn varieties resistant to corn borer to reduce damage. 2. Biological Control: Release of Trichogramma Wasps: Release during the egg-laying period to parasitize corn borer eggs. Application of Biopesticides: Use Bacillus thuringiensis (Bt) or viral formulations to control larvae. 3. Chemical Control: Key Control Period: Apply treatments at the large-whorl stage; supplementary control may be applied at early silking. Chemical Control: Apply chlorantraniliprole granules to the whorl or spray chlorantraniliprole or emamectin benzoate; rotate insecticides to delay resistance. 4. Physical Control: Light Trapping: Use black-light or insecticidal lamps to trap adults. Pheromone Trapping: Deploy sex pheromone lures to disrupt mating and reduce oviposition. |
3.5. Parameter-Efficient Fine-Tuning via Low-Rank Adaptation
4. Experiments
4.1. Dataset Collection
4.2. Segmentation Results Analysis
4.3. Evaluation Metrics
4.4. Experimental Settings
4.5. Model Comparison
- EfficientNet: Implements compound scaling to harmonize network depth, width, and resolution, thereby optimizing the trade-off between representational capacity and computational efficiency.
- MobileNetV2: Employs inverted residuals with linear bottlenecks and depthwise separable convolutions for highly lightweight feature extraction.
- ConvNeXtV2: Augments the standard ConvNeXt framework with Global Response Normalization (GRN) and fully convolutional masked autoencoder pre-training to significantly enhance feature diversity.
- SE-ResNeXt: Integrates channel-wise squeeze-and-excitation attention mechanisms into ResNeXt’s grouped convolutions for adaptive feature recalibration.
- ResNet50: Leverages deep residual connections to effectively mitigate gradient degradation phenomena in exceptionally deep networks.
- Twins: Unifies local window attention with global subsampled attention within a Transformer architecture, striking an optimal balance between computational cost and long-range dependency modeling.
- Vision Transformer (ViT): Encodes images as discrete patch sequences and models global spatial dependencies exclusively through stacked Transformer encoder layers.
- Swin Transformer: Introduces a hierarchical, shifted-window attention mechanism for multi-scale feature aggregation while maintaining linear computational complexity.
- LLaVA-1.5: Aligns visual features with linguistic embeddings via cross-modal projection layers to enable joint visual perception and language understanding; evaluated here in a zero-shot setting to establish a rigorous baseline for its out-of-the-box generalization capabilities.
4.6. Comparative Analysis of Confusion Matrices
4.7. Ablation Experiment
4.8. Interpretability of Crop Pest and Disease Diagnosis
5. Conclusions and Future Work
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Ahirwar, S.; Swarnkar, R.; Bhukya, S.; Namwade, G. Application of drone in agriculture. Int. J. Curr. Microbiol. Appl. Sci. 2019, 8, 2500–2505. [Google Scholar] [CrossRef]
- Bashir, K.; Rehman, M.; Bari, M. Detection and classification of rice diseases: An automated approach using textural features. Mehran Univ. Res. J. Eng. Technol. 2019, 38, 239–250. [Google Scholar] [CrossRef]
- Deng, R.; Tao, M.; Xing, H.; Yang, X.; Liu, C.; Liao, K.; Qi, L. Automatic diagnosis of rice diseases using deep learning. Front. Plant Sci. 2021, 12, 701038. [Google Scholar] [CrossRef] [PubMed]
- Khan, I.H.; Liu, H.; Li, W.; Cao, A.; Wang, X.; Liu, H.; Cheng, T.; Tian, Y.; Zhu, Y.; Cao, W.; et al. Early detection of powdery mildew disease and accurate quantification of its severity using hyperspectral images in wheat. Remote Sens. 2021, 13, 3612. [Google Scholar] [CrossRef]
- Ni, Q.; Zuo, Y.; Zhi, Z.; Shi, Y.; Liu, G.; Ou, Q. Diagnosis of corn leaf diseases by FTIR spectroscopy combined with machine learning. Vib. Spectrosc. 2024, 135, 103744. [Google Scholar] [CrossRef]
- Xu, W.; Li, W.; Wang, L.; Pompelli, M.F. Enhancing corn pest and disease recognition through deep learning: A comprehensive analysis. Agronomy 2023, 13, 2242. [Google Scholar] [CrossRef]
- Li, E.; Wang, L.; Xie, Q.; Gao, R.; Su, Z.; Li, Y. A novel deep learning method for maize disease identification based on small sample-size and complex background datasets. Ecol. Inform. 2023, 75, 102011. [Google Scholar] [CrossRef]
- Wen, X.; Maimaiti, M.; Liu, Q.; Yu, F.; Gao, H.; Li, G.; Chen, J. MnasNet-SimAM: An improved deep learning model for the identification of common wheat diseases in complex real-field environments. Plants 2024, 13, 2334. [Google Scholar] [CrossRef]
- Guan, H.; Fu, C.; Zhang, G.; Li, K.; Wang, P.; Zhu, Z. A lightweight model for efficient identification of plant diseases and pests based on deep learning. Front. Plant Sci. 2023, 14, 1227011. [Google Scholar] [CrossRef] [PubMed]
- Yang, X.; Gao, J.; Xue, W.; Alexandersson, E. Pllama: An open-source large language model for plant science. arXiv 2024, arXiv:2401.01600. [Google Scholar]
- Peng, R.; Liu, K.; Yang, P.; Yuan, Z.; Li, S. Embedding-based retrieval with LLM for effective agriculture information extracting from unstructured data. arXiv 2023, arXiv:2308.03107. [Google Scholar] [CrossRef]
- Yin, S.; Fu, C.; Zhao, S.; Li, K.; Sun, X.; Xu, T.; Chen, E. A survey on multimodal large language models. Natl. Sci. Rev. 2024, 11, nwae403. [Google Scholar] [CrossRef]
- Hang, C.N.; Yu, P.D.; Tan, C.W. TrumorGPT: Graph-based retrieval-augmented large language model for fact-checking. IEEE Trans. Artif. Intell. 2025, 6, 3148–3162. [Google Scholar] [CrossRef]
- Conger, N.; Scollar, N.; Davaslioglu, K.; Sagduyu, Y.E.; Kompella, S. How to discover knowledge for FutureG: Contextual RAG and LLM prompting for O-RAN. In Proceedings of the 2026 IEEE 23rd Consumer Communications & Networking Conference (CCNC); IEEE: Piscataway, NJ, USA, 2026; pp. 1–6. [Google Scholar]
- Cao, Y.; Chen, L.; Yuan, Y.; Sun, G. Cucumber disease recognition with small samples using image-text-label-based multi-modal language model. Comput. Electron. Agric. 2023, 211, 107993. [Google Scholar] [CrossRef]
- Zhang, K.; Ma, L.; Cui, B.; Li, X.; Zhang, B.; Xie, N. Visual large language model for wheat disease diagnosis in the wild. Comput. Electron. Agric. 2024, 227, 109587. [Google Scholar] [CrossRef]
- Wang, Y.; Wang, F.; Chen, W.; Lv, B.; Liu, M.; Kong, X.; Zhao, C.; Pan, Z. A large language model for multimodal identification of crop diseases and pests. Sci. Rep. 2025, 15, 21959. [Google Scholar] [CrossRef]
- Liu, H.; Li, C.; Li, Y.; Lee, Y.J. Improved baselines with visual instruction tuning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA, 16–22 June 2024; pp. 26296–26306. [Google Scholar]
- Xu, G.; Zhao, W.; Bie, Y.; Ge, M.; Cui, Z.; Wang, Y. Agro-LLaVA-Next: A large multimodal model for plant diseases recognization. In Proceedings of the International Conference on Intelligent Computing; Springer: Singapore, 2025; pp. 291–302. [Google Scholar]
- Singh, D.; Jain, N.; Jain, P.; Kayal, P.; Kumawat, S.; Batra, N. PlantDoc: A dataset for visual plant disease detection. In Proceedings of the 7th ACM IKDD CoDS and 25th COMAD, Hyderabad, India, 5–7 January 2020; pp. 249–253. [Google Scholar]
- P, J.; Gopal, G. Data for identification of plant leaf diseases using a 9-layer deep convolutional neural network. Mendeley Data 2019, 1, 2019. [Google Scholar]
- Ade, F. Rice Leaf Diseases Dataset. Available online: https://www.kaggle.com/datasets/adefiqri12/riceleafsv3 (accessed on 21 August 2025).
- Jisan, M.K. Rice Leafs Disease Dataset. Available online: https://www.kaggle.com/datasets/maimunulkjisan/rice-leaf-dataset-from-mendeley-data (accessed on 10 September 2025).
- Do, H.M. Rice Diseases Image Dataset. Available online: https://www.kaggle.com/datasets/minhhuy2810/rice-diseases-image-dataset (accessed on 12 September 2025).
- Agarwal, K.; Yadav, V.; Suthar, T. Wheat Plant Diseases Dataset. Available online: https://www.kaggle.com/datasets/kushagra3204/wheat-plant-diseases (accessed on 1 October 2025).
- Goyal, L.; Sharma, C.M.; Singh, A.; Singh, P.K. Leaf and spike wheat disease detection & classification using an improved deep convolutional architecture. Inform. Med. Unlocked 2021, 25, 100642. [Google Scholar]
- Genaev, M.A.; Skolotneva, E.S.; Gultyaeva, E.I.; Fominykh, A.A.; Solovyev, A.A. Image-based wheat fungi diseases identification by deep learning. Plants 2021, 10, 1500. [Google Scholar] [CrossRef] [PubMed]
- Mao, R.; Zhang, Y.; Wang, Z.; Hao, X.; Zhu, T.; Gao, S.; Hu, X. DAE-Mask: A novel deep-learning-based automatic detection model for in-field wheat diseases. Precis. Agric. 2024, 25, 785–810. [Google Scholar] [CrossRef]
- Long, M.; Hartley, M.; Morris, R.J.; Brown, J.K.M. Classification of wheat diseases using deep learning networks with field and glasshouse images. Plant Pathol. 2023, 72, 536–547. [Google Scholar] [CrossRef]
- Wu, X.; Zhan, C.; Lai, Y.K.; Cheng, M.M.; Yang, J. IP102: A large-scale benchmark dataset for insect pest recognition. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA, 15–20 June 2019; pp. 8787–8796. [Google Scholar]







| Type | Number of Categories | Total Samples |
|---|---|---|
| Corn | 4 | 2528 |
| Rice | 4 | 2448 |
| Wheat | 4 | 2487 |
| Pests | 6 | 1669 |
| Category | Original Image | Segmented Word | Generated Mask | Segmented Output |
|---|---|---|---|---|
| Corn Common Rust | ![]() | Corn Leaf | ![]() | ![]() |
| Wheat Yellow Rust | ![]() | Wheat Leaf | ![]() | ![]() |
| Rice Leaf Roller | ![]() | Insect Pest | ![]() | ![]() |
| Parameter | Value |
|---|---|
| Optimizer | AdamW |
| Epochs | 3 |
| Batch size | 4 |
| Learning rate | |
| LoRA rank | 16 |
| LoRA alpha | 32 |
| Model | Accuracy | Precision | Recall | F1-Score |
|---|---|---|---|---|
| EfficientNet | 0.8978 | 0.9160 | 0.9137 | 0.9128 |
| MobileNetV2 | 0.8530 | 0.8730 | 0.8717 | 0.8707 |
| ConvNeXtV2 | 0.9044 | 0.9194 | 0.9208 | 0.9172 |
| SE-ResNeXt | 0.8656 | 0.8825 | 0.8771 | 0.8772 |
| ResNet50 | 0.7776 | 0.8209 | 0.7948 | 0.7944 |
| Twins | 0.9033 | 0.9229 | 0.9152 | 0.9163 |
| ViT | 0.6027 | 0.6615 | 0.5909 | 0.5782 |
| Swin | 0.9115 | 0.9258 | 0.9235 | 0.9233 |
| LLaVA-1.5 | 0.3131 | 0.3440 | 0.2858 | 0.1989 |
| VLM-MCPDD | 0.9377 | 0.9536 | 0.9511 | 0.9513 |
| Model | Accuracy | Precision | Recall | F1-Score |
|---|---|---|---|---|
| OITD | 0.9202 | 0.9348 | 0.9372 | 0.9333 |
| OITD-CoT | 0.9322 | 0.9492 | 0.9461 | 0.9463 |
| VLM-MCPDD | 0.9377 | 0.9536 | 0.9511 | 0.9513 |
| VLM-MCPDD-CoT | 0.9426 | 0.9584 | 0.9542 | 0.9552 |
![]() Question: What disease does the crop in this image have? | ![]() Question: What is the pest in the image? |
| VLM-MCPDD: Corn Common Rust. | VLM-MCPDD: Corn Borer. |
| Question: Describe the specific features in the image, and what causes this disease. VLM-MCPDD: The features in the image clearly indicate Corn Common Rust, a disease caused by the pathogen Puccinia sorghi. The specific characteristics are as follows: 1. Reddish-brown pustules: Reddish-brown pustules are distributed across the leaf surface. 2. Pustule characteristics: Pustules are raised, powdery in texture, and partially ruptured. 3. Distribution pattern: Pustules are irregularly distributed across the leaf surface, with partial coalescence observed. Question:Provide several simple control methods. VLM-MCPDD: 1. Resistant Varieties: Select corn varieties that are more resistant to Common Rust. 2. Proper Crop Rotation: Rotate with non-grass crops such as legumes and peanuts. 3. Chemical Control: Use fungicides like propiconazole and tebuconazole during the disease onset stage, ensuring to rotate them to reduce the risk of resistance. | Question: Analyze the morphological characteristics of the pest in theimage. VLM-MCPDD: Based on the provided image, the adult moth of the corn borer has the following characteristics: 1. Overall Morphology: The specimen displays a characteristic yellow-brown coloration. 2. Wing Structure: When at rest, the forewings form a distinct triangular shape. 3. Body Size: The insect possesses a relatively diminutive overall body size typical of this adult species. Question:Provide several simple control methods. VLM-MCPDD: 1. Overall Shape: It is yellow-brown in color, with triangular-shaped forewings when closed, and a small body size. 2. Common Pesticides: Pesticides such as chlorantraniliprole, high-efficiency chlorfluazuron, and emamectin benzoate can be used, which are highly effective and low in toxicity. 3. Adult Monitoring: Set up pheromone traps to monitor the peak emergence period of adult moths. |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Zhao, L.; Li, M.; Ren, X.; Cheng, Y.; Hu, Z. VLM-MCPDD: An Interpretable Vision Language Model for Multi-Crop Pests and Disease Diagnosis. Appl. Sci. 2026, 16, 5719. https://doi.org/10.3390/app16115719
Zhao L, Li M, Ren X, Cheng Y, Hu Z. VLM-MCPDD: An Interpretable Vision Language Model for Multi-Crop Pests and Disease Diagnosis. Applied Sciences. 2026; 16(11):5719. https://doi.org/10.3390/app16115719
Chicago/Turabian StyleZhao, Liang, Mengwei Li, Xu Ren, Yuting Cheng, and Zongxi Hu. 2026. "VLM-MCPDD: An Interpretable Vision Language Model for Multi-Crop Pests and Disease Diagnosis" Applied Sciences 16, no. 11: 5719. https://doi.org/10.3390/app16115719
APA StyleZhao, L., Li, M., Ren, X., Cheng, Y., & Hu, Z. (2026). VLM-MCPDD: An Interpretable Vision Language Model for Multi-Crop Pests and Disease Diagnosis. Applied Sciences, 16(11), 5719. https://doi.org/10.3390/app16115719


















