Development of a unified deep learning approach integrating CNN-based local and ViT-based global feature extraction for enhanced cotton disease and pest classification

Cotton diseases and pests pose significant threats to cotton production, necessitating accurate and efficient classification methods. Despite existing advanced methods, there is a research gap in utilizing both local feature extraction and global context capture for enhanced classification accuracy. Hence, this study developed and evaluated three advanced models for cotton disease and pest classification: a convolutional neural network (CNN)-based model, a Vision Transformer (ViT)-based model, and a hybrid CNN-ViT model. These models were trained on a dataset comprising eight classes of cotton diseases and pests, namely aphids, armyworm, bacterial blight, cotton boll rot, green cotton boll, healthy, powdery mildew, and target spot. The results demonstrated that the hybrid CNN-ViT model achieved the highest overall performance with an average test accuracy of 98.5%. The CNN model showed strong performance with an average accuracy of 97.9%. The ViT models, while having self-attention mechanisms to capture context and dependencies, exhibited improved performance with increased depth. The ViT model having four transformer layers outperformed the two-layer variant, achieving an average accuracy of 97.2% compared to 96.3%. The hybrid model effectively combined the strengths of CNN's local feature extraction and ViT's global feature capture, resulting in superior classification accuracy across most classes. Future research should focus on expanding the dataset to include more diverse diseases and pests and integrating the models with autonomous platforms for spraying the chemicals, thus facilitating real-world adoption and application in agricultural settings.

Authors

Institutions

Publication Details

Journal
Plant Methods
Published
2025-11-04
DOI
https://doi.org/10.1186/s13007-025-01462-w
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Development of a unified deep learning approach integrating CNN-based local and ViT-based global feature extraction for enhanced cotton disease and pest classification

Prakhar Patidar, L. K. Dhruw, Naseeb Singh, Peeyush Soni et al.
Plant Methods
Smart Agriculture and AI
article

Development of a unified deep learning approach integrating CNN-based local and ViT-based global feature extraction for enhanced cotton disease and pest classification

Prakhar Patidar, L. K. Dhruw, Naseeb Singh, Peeyush Soni, V.K. Tewari, Arjun Chouriya
article en

Abstract

Cotton diseases and pests pose significant threats to cotton production, necessitating accurate and efficient classification methods. Despite existing advanced methods, there is a research gap in utilizing both local feature extraction and global context capture for enhanced classification accuracy. Hence, this study developed and evaluated three advanced models for cotton disease and pest classification: a convolutional neural network (CNN)-based model, a Vision Transformer (ViT)-based model, and a hybrid CNN-ViT model. These models were trained on a dataset comprising eight classes of cotton diseases and pests, namely aphids, armyworm, bacterial blight, cotton boll rot, green cotton boll, healthy, powdery mildew, and target spot. The results demonstrated that the hybrid CNN-ViT model achieved the highest overall performance with an average test accuracy of 98.5%. The CNN model showed strong performance with an average accuracy of 97.9%. The ViT models, while having self-attention mechanisms to capture context and dependencies, exhibited improved performance with increased depth. The ViT model having four transformer layers outperformed the two-layer variant, achieving an average accuracy of 97.2% compared to 96.3%. The hybrid model effectively combined the strengths of CNN's local feature extraction and ViT's global feature capture, resulting in superior classification accuracy across most classes. Future research should focus on expanding the dataset to include more diverse diseases and pests and integrating the models with autonomous platforms for spraying the chemicals, thus facilitating real-world adoption and application in agricultural settings.

Plant MethodsVol. 21(1)
Indian Institute of Technology Kharagpur (IN), Guru Kashi University (IN), ICAR Research Complex for NEH Region (IN), Michigan State University (US)
Indian Institute of Technology Kharagpur
Openalex Percentile: Top 76%
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.