Aggregating Different Scales of Attention on Feature Variants for Tomato Leaf Disease Diagnosis from Image Data: A Transformer Driven Study
- PMID: 37050811
- PMCID: PMC10099258
- DOI: 10.3390/s23073751
Aggregating Different Scales of Attention on Feature Variants for Tomato Leaf Disease Diagnosis from Image Data: A Transformer Driven Study
Abstract
Tomato leaf diseases can incur significant financial damage by having adverse impacts on crops and, consequently, they are a major concern for tomato growers all over the world. The diseases may come in a variety of forms, caused by environmental stress and various pathogens. An automated approach to detect leaf disease from images would assist farmers to take effective control measures quickly and affordably. Therefore, the proposed study aims to analyze the effects of transformer-based approaches that aggregate different scales of attention on variants of features for the classification of tomato leaf diseases from image data. Four state-of-the-art transformer-based models, namely, External Attention Transformer (EANet), Multi-Axis Vision Transformer (MaxViT), Compact Convolutional Transformers (CCT), and Pyramid Vision Transformer (PVT), are trained and tested on a multiclass tomato disease dataset. The result analysis showcases that MaxViT comfortably outperforms the other three transformer models with 97% overall accuracy, as opposed to the 89% accuracy achieved by EANet, 91% by CCT, and 93% by PVT. MaxViT also achieves a smoother learning curve compared to the other transformers. Afterwards, we further verified the legitimacy of the results on another relatively smaller dataset. Overall, the exhaustive empirical analysis presented in the paper proves that the MaxViT architecture is the most effective transformer model to classify tomato leaf disease, providing the availability of powerful hardware to incorporate the model.
Keywords: CCT; EANet; MaxViT; PVT; attention; tomato leaf disease; transformers.
Conflict of interest statement
The authors declare no conflict of interest.
Figures















Similar articles
-
Multimodal Hybrid Deep Learning Approach to Detect Tomato Leaf Disease Using Attention Based Dilated Convolution Feature Extractor with Logistic Regression Classification.Sensors (Basel). 2022 Aug 14;22(16):6079. doi: 10.3390/s22166079. Sensors (Basel). 2022. PMID: 36015839 Free PMC article.
-
A robust deep learning approach for tomato plant leaf disease localization and classification.Sci Rep. 2022 Nov 3;12(1):18568. doi: 10.1038/s41598-022-21498-5. Sci Rep. 2022. PMID: 36329073 Free PMC article.
-
Multi-scale feature fusion-based lightweight dual stream transformer for detection of paddy leaf disease.Environ Monit Assess. 2023 Aug 7;195(9):1020. doi: 10.1007/s10661-023-11628-5. Environ Monit Assess. 2023. PMID: 37548778
-
Attention Score-Based Multi-Vision Transformer Technique for Plant Disease Classification.Sensors (Basel). 2025 Jan 6;25(1):270. doi: 10.3390/s25010270. Sensors (Basel). 2025. PMID: 39797061 Free PMC article.
-
The landscape of RNA 3D structure modeling with transformer networks.Biol Methods Protoc. 2024 Jul 2;9(1):bpae047. doi: 10.1093/biomethods/bpae047. eCollection 2024. Biol Methods Protoc. 2024. PMID: 39006460 Free PMC article. Review.
Cited by
-
Image Processing for Smart Agriculture Applications Using Cloud-Fog Computing.Sensors (Basel). 2024 Sep 14;24(18):5965. doi: 10.3390/s24185965. Sensors (Basel). 2024. PMID: 39338710 Free PMC article.
References
-
- Kaselimi M., Voulodimos A., Daskalopoulos I., Doulamis N., Doulamis A. A Vision Transformer Model for Convolution-Free Multilabel Classification of Satellite Imagery in Deforestation Monitoring. IEEE Trans. Neural Netw. Learn. Syst. Early Access. 2022:1–9. doi: 10.1109/TNNLS.2022.3144791. - DOI - PubMed
-
- Wang L., Fang S., Meng X., Li R. Building Extraction With Vision Transformer. IEEE Trans. Geosci. Remote Sens. 2022;60:1–11. doi: 10.1109/TGRS.2022.3186634. - DOI
-
- Meng X., Wang N., Shao F., Li S. Vision Transformer for Pansharpening. IEEE Trans. Geosci. Remote Sens. 2022;60:1–11. doi: 10.1109/TGRS.2022.3168465. - DOI
-
- Wang T., Gong L., Wang C., Yang Y., Gao Y., Zhou X., Chen H. ViA: A Novel Vision-Transformer Accelerator Based on FPGA. IEEE Trans.-Comput.-Aided Des. Integr. Circuits Syst. 2022;41:4088–4099. doi: 10.1109/TCAD.2022.3197489. - DOI
MeSH terms
Grants and funding
LinkOut - more resources
Full Text Sources