aper. The research was conducted for academic purposes, and no financial, commercial, or personal relationships influenced the study design, data analysis, interpretation of results, or preparation of the manuscript. DATA AVAILABILITY The data associated with this study are publicly available online in the replication package. [https://github.com/spMohanty/PlantVillage-Dataset/tree/master/raw/color] AUTHOR CONTRIBUTIONS Frenky Riski Gilang Pratama: Conceptualization; Programming and coding implementation; Methodology; Writing-Original Draft. Sugiarto Surono: Conceptualization; Methodology; Supervision; Writing-Review & Editing. Aris Thobirin: Proofreading Paper; Writing-Review & Editing; Fun
Open resource ↗https://github.com/spMohanty/PlantVillage-Dataset/tree/master/raw/color · pdf-raw-page:10 lines:1-52Paper record
Hybrid CNN and LLM for Image-Based Classification of Plant Leaf Diseases
International Journal of Advances in Data and Information Systems · 1 Aug 2026 · 10.59395/ijadis.v7i2.1559
Abstract
Plant diseases have continued to threaten agricultural productivity, while manual inspection methods have remained inefficient and prone to subjectivity. This study proposed and assessed a hybrid framework integrating a Convolutional Neural Network (CNN) with a Large Language Model (LLM) to perform image-based plant leaf disease classification accompanied by interpretable diagnostic explanations. EfficientNetV2-M was employed as the visual backbone and trained on 11 selected classes of apple, grape, and potato leaf images derived from the PlantVillage dataset. A structured data splitting strategy was applied to ensure reliable model validation and unbiased testing. The classification capability of the CNN component was examined through standard multi-class evaluation indicators, including class-wise predictive consistency and error distribution analysis. Experimental results indicated that the model delivered highly consistent predictions, reaching a peak test accuracy of 99.79%, reflecting its robustness in distinguishing visually similar disease patterns. To overcome the black-box limitation, prediction outputs were transformed into structured prompts and processed by GPT-4o to generate contextual explanations. The generated narratives systematically described observable symptoms, highlighted distinguishing characteristics, and suggested initial management actions. Overall, the proposed hybrid system demonstrated that combining high-performance visual recognition with language-based reasoning enhanced both diagnostic reliability and interpretability in digital agriculture applications.
Code and data availability