Related Experiment Video
Updated: Mar 23, 2026

Remote Sensing Evaluation of Two-spotted Spider Mite Damage on Greenhouse Cotton
Published on: April 28, 2017
Explainable transformer framework for fast cotton leaf diagnostics and fabric defect detection
S M Masfequier Rahman Swapno1, Anamul Sakib2, Al Shahriar Uddin Khondakar Pranta3
1Department Of Computer Science and Engineering, Bangladesh University of Business and Technology, Dhaka 1216, Bangladesh.
None:
This study introduces a hybrid deep learning model that combines CNN-based hierarchical feature extraction with light-efficient vision transformer self-attention to classify multiple types of cotton leaf diseases and fabric defects. Using Explainable AI (XAI) techniques, the framework enhances interpretability, allowing domain experts to better understand the model's decisions. Evaluated on four benchmark datasets, the proposed XCottL-FebViT achieved consistent improvements in accuracy, MCC, and F1 Score compared with leading transformer-based models, while maintaining computational efficiency through hyperparameter optimization. For CottonLeafNet and SAR-CLD, it attained training accuracies of 99.97% and 99.95%, with validation accuracies of 99.93% and 99.91%, respectively. In fabric defect classification, the model achieved 99.97% training accuracy on CottonFabricImageBD and FabricSpotDefect, with validation accuracies of 99.93% and 99.95%, respectively. A lightweight web-based application enables practical deployment for remote disease and defect detection. This work highlights the integration of interpretability, efficiency, and high performance in AI-driven agricultural and textile quality assessment.

