Agentic AI Based Plant Disease Detection System
This paper proposes a resource-efficient, collaborative multi-agent AI system utilizing MobileNetV2 and adaptive learning to accurately detect plant diseases and provide treatment recommendations, achieving 95.32% accuracy on the PlantVillage dataset to support sustainable agriculture.
Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Technical Summary: Agentic AI Based Plant Disease Detection System
Problem Statement
Plant diseases pose a critical threat to global food security, causing an estimated 40% loss in annual food production and significant economic trade losses. Traditional diagnosis methods rely on visual inspection by agricultural experts, a process that is labor-intensive, time-consuming, and often inaccessible to small-scale farmers in rural areas. Furthermore, existing AI-driven solutions often operate as isolated classifiers that identify diseases based solely on visual features, lacking the contextual awareness of environmental factors (such as temperature and moisture) that influence disease manifestation. This limitation reduces diagnostic reliability in real-world agricultural settings and fails to provide actionable, context-aware recommendations for treatment.
Methodology
The paper proposes a novel Agentic AI framework that transitions from intelligent decision support systems to disease diagnostics. The architecture is composed of independent, collaborative agents that execute specific functions sequentially:
- Image Preprocessing: Leaf images captured via mobile or digital cameras are resized to 224x224 pixels, normalized to a [−1, 1] range, and augmented (rotated, flipped, zoomed) to prevent overfitting.
- Disease Classification (Visual Agent): The core detection engine utilizes MobileNetV2, a lightweight Convolutional Neural Network (CNN) chosen for its depth-wise separable convolutions, inverted residual blocks with linear bottlenecks, and ReLU6 activation. This design minimizes computational cost and memory usage, enabling deployment on resource-constrained edge devices.
- Environmental Context Analysis (Risk Agent): The system integrates real-time weather data (temperature, humidity) via APIs. A risk score is computed by combining the visual disease probability with environmental factors to refine the diagnosis and reduce false positives.
- Knowledge-Based Recommendation (Action Agent): Upon identifying a disease and assessing environmental risk, the system queries an organized agricultural knowledge base to generate specific treatment and prevention strategies (organic/chemical) tailored to the current conditions.
- Feedback Loop: The system includes a mechanism for farmers to provide feedback on the efficacy of recommendations, allowing the knowledge base and model to adapt over time.
The system was implemented using TensorFlow 2.x and Keras, trained on the PlantVillage dataset (20,638 images, 15 classes) and validated against the New Plant Disease dataset and the FieldPlant dataset (which contains uncontrolled, real-world field images). The training involved a two-phase approach: freezing the backbone for initial training followed by partial unfreezing for fine-tuning, utilizing the Adam optimizer and early stopping.
Key Contributions
- Multi-Agent Architecture: The paper introduces a collaborative framework where distinct agents handle image analysis, environmental risk assessment, and recommendation generation, moving beyond simple classification to proactive decision support.
- Hybrid Diagnosis: By integrating visual perception with environmental context, the system aims to improve diagnostic reliability in variable field conditions.
- Optimized Edge Deployment: The selection and fine-tuning of MobileNetV2 provide a high-accuracy solution suitable for low-power, mobile devices, addressing the computational constraints of rural agricultural environments.
- Adaptive Learning: The inclusion of a feedback mechanism allows the system to iteratively improve its performance and knowledge base based on real-world user input.
- Comprehensive Benchmarking: The study provides an extensive comparative analysis of MobileNetV2 against heavier architectures (ResNet50 and VGG16) across three distinct datasets, evaluating not just accuracy but also computational efficiency and generalization capabilities.
Results
- PlantVillage Dataset (Controlled): The proposed MobileNetV2 model achieved an overall accuracy of 95.32%, with macro-averaged precision, recall, and F1-scores all at 0.95. The paper explicitly states that ResNet50 reached an accuracy of about 90.0% in this comparison, indicating that MobileNetV2 performed better than ResNet50 in this specific context. VGG16 also showed lower performance. Specific classes like Tomato Yellow Leaf Curl Virus achieved an F1-score of 0.99.
- New Plant Disease Dataset: The model demonstrated strong generalization, achieving 97.05% validation accuracy, surpassing ResNet50 (95.66%) and VGG16 (93.44%).
- FieldPlant Dataset (Real-World): In uncontrolled field conditions with variable lighting and background noise, ResNet50 achieved the highest accuracy (87%), followed closely by MobileNetV2 (85%). VGG16 performed significantly lower (69.59%). While ResNet50 showed slightly higher raw accuracy in the field, MobileNetV2 maintained a balanced performance across categories with significantly lower computational overhead, making it more feasible for real-time edge deployment.
- Efficiency: MobileNetV2's depth-wise separable convolutions resulted in fewer parameters (~3.5–4 million) compared to deeper networks, enabling faster inference and lower power consumption.
Significance and Claims
The authors claim that this research represents a significant milestone in evolving agricultural systems from intelligent decision support systems to disease diagnostics that are context-aware. By demonstrating that a lightweight model (MobileNetV2) can achieve competitive or superior accuracy compared to complex networks while being deployable on edge devices, the paper argues for the viability of AI in resource-constrained rural settings. The integration of environmental data and adaptive feedback loops is presented as a crucial step toward reducing crop losses and enhancing food security. The authors acknowledge limitations regarding the reliance on controlled datasets for initial training and emphasize the need for future large-scale field trials and domain adaptation to further validate robustness in dynamic agricultural environments.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.