Attention-enhanced YOLOv8n-CLS for lightweight and efficient tomato leaf disease classification.
Umesh Kumar Lilhore, J Rexy, Kayal Padmanandam, Balakrishnan D, Rasmi A, Athinarayanan Subramanian, Hanaa A Abdallah, Abdelaziz A Abdelhamid,
Department of Computer Science and Engineering, Galgotias University, Greater Noida, India. · Department of Computer Science, St. Xavier's College, Tirunelveli, Tamil Nadu, India.
Key points
From the paper's conclusion- This study presents an Attention-Enhanced YOLOv8n-CLS framework for tomato leaf disease classification by integrating a lightweight spatial attention mechanism to enhance the representation of spatially informative image features while maintaining a compact computational structure.
Abstract
INTRODUCTION: Tomato leaf diseases substantially reduce crop yield and fruit quality, creating a need for accurate, computationally efficient, and potentially deployable image-based disease-screening systems for precision agriculture. This study presents an Attention-Enhanced YOLOv8n-CLS framework for tomato leaf disease classification by integrating a lightweight spatial attention mechanism to enhance the representation of spatially informative image features while maintaining a compact computational structure. METHODS: Unlike conventional object detection approaches that require bounding-box annotations, the proposed framework formulates disease recognition as an image-level classification task, requiring only class labels and thereby simplifying dataset preparation and model training. Experiments were conducted on two publicly available benchmark datasets, namely the PlantVillage Tomato Dataset and the Kaggle Tomato Leaf Disease Dataset. A systematic evaluation comprising binary and multiclass classification, five-fold cross-validation, ablation analysis, cross-dataset evaluation, comparative benchmarking, computational assessment, and Grad-CAM-based visualization was performed to assess classification performance, stability, transferability, and computational efficiency. RESULTS: The Attention-Enhanced YOLOv8n-CLS achieved a maximum classification Accuracy of 98.90%, an AUC of 0.991, a computational complexity of 7.5 GFLOPs, and an average inference speed of approximately 45 FPS on the evaluated computing platform. In five-fold cross-validation, the proposed model achieved a mean Accuracy of 98.50% ± 0.14% on the PlantVillage Tomato Dataset and 97.82% ± 0.29% on the Kaggle Tomato Leaf Disease Dataset. The model also demonstrated competitive performance relative to representative deep learning architectures, including ResNet50, DenseNet201, ResNet152V2, MobileNetV2, and YOLOv5. The cross-dataset experiments further demonstrated transferability between the evaluated PlantVillage and Kaggle image distributions using the 10 classes shared by the two datasets. DISCUSSION: The results indicate a favourable balance between classification performance and computational requirements under the evaluated experimental conditions, with potential for further investigation in resource-constrained applications. Grad-CAM visualization provided qualitative information about image regions associated with the model's classification decisions but did not independently establish biological causality or pathogen-specific recognition. Importantly, the proposed framework performs image-based symptom classification and preliminary disease screening using dataset-provided labels; it does not independently confirm causal pathogens. Therefore, the reported classification performance should not be interpreted as definitive pathogen diagnosis or field-level validation. Further evaluation using independently collected field images, laboratory-confirmed disease or pathogen status, diverse symptom presentations, and representative agricultural edge devices is required before practical agricultural deployment can be established.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Deep vision in agriculture: assessing the function of YOLO in the classification of plant leaf diseases (PLDs)BioData Mining · 2025
- Precise Identification of Tomato Leaf Diseases: A VMamba-FCS Classification Model Based on Multi-Mechanism Synergistic EnhancementAgriculture · 2026
- A comprehensive evaluation of lightweight deep learning models for tomato disease classification on edge computing environmentsScientific Reports · 2026
- YOLO-Based Leaf Disease Detection in Smart Agriculture: Evolution, Task Adaptation, and Deployment ChallengesElectronics · 2026
- Efficient-tomato: a high-precision and lightweight method for cherry tomato ripeness and disease detection.Frontiers in plant science · 2026
- A Novel Lightweight AlexNet Convolutional Neural Network for Tomato Leaf Disease ClassificationInternational Research Journal of Computer Science · 2026