Hard attention mechanism integrated with VGG16 for high-precision tomato leaf disease classification

Abstract Tomato diseases represent a major threat to agricultural productivity and global food security. Early and accurate identification of these diseases is essential for effective crop management and yield preservation. In this study, we propose a hard attention–enhanced VGG16 model for automatic tomato leaf disease identification. By integrating a hard attention mechanism into the VGG16 architecture, the proposed model is able to focus on the most informative regions of the input images, thereby improving its capability to discriminate between healthy and diseased tomato leaves. The proposed approach is evaluated using a publicly available dataset of tomato leaf images. Experimental results demonstrate that the hard attention–based VGG16 model significantly improves classification performance compared to the standard VGG16 architecture and several existing deep learning models. In particular, the proposed model achieves an accuracy of 96.0%, outperforming the baseline VGG16 model, which achieves 92.3% accuracy on the same dataset. Furthermore, the integration of the attention mechanism enhances the interpretability of the model by highlighting the image regions that contribute most to the prediction process. This explainability provides valuable insights into the model’s decision-making process, making it a reliable and transparent tool for intelligent plant disease identification systems.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-11-01
DOI
https://doi.org/10.1038/s41598-026-79107-8
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Hard attention mechanism integrated with VGG16 for high-precision tomato leaf disease classification

Mohamed Ali Mahjoub, Youssef Laatiri
1 links
Scientific Reports
Smart Agriculture and AI
article

Hard attention mechanism integrated with VGG16 for high-precision tomato leaf disease classification

Mohamed Ali Mahjoub, Youssef Laatiri
article en

Abstract

Abstract Tomato diseases represent a major threat to agricultural productivity and global food security. Early and accurate identification of these diseases is essential for effective crop management and yield preservation. In this study, we propose a hard attention–enhanced VGG16 model for automatic tomato leaf disease identification. By integrating a hard attention mechanism into the VGG16 architecture, the proposed model is able to focus on the most informative regions of the input images, thereby improving its capability to discriminate between healthy and diseased tomato leaves. The proposed approach is evaluated using a publicly available dataset of tomato leaf images. Experimental results demonstrate that the hard attention–based VGG16 model significantly improves classification performance compared to the standard VGG16 architecture and several existing deep learning models. In particular, the proposed model achieves an accuracy of 96.0%, outperforming the baseline VGG16 model, which achieves 92.3% accuracy on the same dataset. Furthermore, the integration of the attention mechanism enhances the interpretability of the model by highlighting the image regions that contribute most to the prediction process. This explainability provides valuable insights into the model’s decision-making process, making it a reliable and transparent tool for intelligent plant disease identification systems.

Scientific Reports
University of Sousse (TN)
Zero hunger
Openalex Percentile: Top 72%
Smart Agriculture and AI
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon