Novel transformer models for wheat disease classification with explainable insights

Wheat is one of the most critical staple crops globally and its productivity is severely threatened by various foliar diseases. These diseases leading to substantial economic and food security challenges. Accurate and early automated wheat disease classification is vital for reducing yield losses and improving agricultural productivity. This paper introduces a novel hybrid transformer model named Hybrid Attention Transformer Network (HAT-Net) designed for robust wheat disease classification. HAT-Net integrates the features of Swin Transformer and DeiT (Data-efficient Image Transformer) through a fully connected fusion layer. A cosine annealing scheduler is employed to enhance convergence and mitigate overfitting. The proposed model achieved 99.2% accuracy and 97.79% under cross-validation which outperforms existing transformer-based architectures. Two additional models, the Wheat-based Swin Transformer Network (W-STNet) and the Wheat-based Data Efficient Network (W-DENet) were developed. They achieved 96.72% and 97.3% accuracy under cross validation, respectively. This indicates that W-STNet trained approximately 25.3% faster than W-DENet and 41.4% faster than HAT-Net. To enhance transparency and trust in model decisions, three explainability techniques include LIME, Grad-CAM (for visualizing class-discriminative regions), and TorchVision’s activation maps (for hierarchical feature analysis) are applied. These methods collectively validate that our models focus on biologically relevant disease patterns, bridging the gap between high performance and actionable agricultural insights. Compared with prior work (93.72% accuracy), HAT-Net achieved superior performance, efficiency, and transparency demonstrates the potential of hybrid transformers for reliable and scalable crop disease diagnosis. Transformers deliver higher accuracy, faster training, and more efficient feature learning, outperforming CNNs in both performance and real-world agricultural deployment.

Authors

Institutions

Publication Details

Journal
Journal Of Big Data
Published
2026-02-10
DOI
https://doi.org/10.1186/s40537-025-01353-w
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

Novel transformer models for wheat disease classification with explainable insights

Gamal Farouk Elhady, Adel Abdallah Abdou, amira abdelatey, Hatem Mohammed
Journal Of Big Data
Smart Agriculture and AI
article

Novel transformer models for wheat disease classification with explainable insights

Gamal Farouk Elhady, Adel Abdallah Abdou, amira abdelatey, Hatem Mohammed
article en

Abstract

Wheat is one of the most critical staple crops globally and its productivity is severely threatened by various foliar diseases. These diseases leading to substantial economic and food security challenges. Accurate and early automated wheat disease classification is vital for reducing yield losses and improving agricultural productivity. This paper introduces a novel hybrid transformer model named Hybrid Attention Transformer Network (HAT-Net) designed for robust wheat disease classification. HAT-Net integrates the features of Swin Transformer and DeiT (Data-efficient Image Transformer) through a fully connected fusion layer. A cosine annealing scheduler is employed to enhance convergence and mitigate overfitting. The proposed model achieved 99.2% accuracy and 97.79% under cross-validation which outperforms existing transformer-based architectures. Two additional models, the Wheat-based Swin Transformer Network (W-STNet) and the Wheat-based Data Efficient Network (W-DENet) were developed. They achieved 96.72% and 97.3% accuracy under cross validation, respectively. This indicates that W-STNet trained approximately 25.3% faster than W-DENet and 41.4% faster than HAT-Net. To enhance transparency and trust in model decisions, three explainability techniques include LIME, Grad-CAM (for visualizing class-discriminative regions), and TorchVision’s activation maps (for hierarchical feature analysis) are applied. These methods collectively validate that our models focus on biologically relevant disease patterns, bridging the gap between high performance and actionable agricultural insights. Compared with prior work (93.72% accuracy), HAT-Net achieved superior performance, efficiency, and transparency demonstrates the potential of hybrid transformers for reliable and scalable crop disease diagnosis. Transformers deliver higher accuracy, faster training, and more efficient feature learning, outperforming CNNs in both performance and real-world agricultural deployment.

Journal Of Big DataVol. 13(1)
Menoufia University (EG)
Zero hunger
Openalex Percentile: Top 61%
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.

Novel transformer models for wheat disease classification with explainable insights — Gamal Farouk Elhady, Adel Abdallah Abdou, et al. · Journal Of Big Data (2026) | TGRS Research Map | TGRS