Skip to content
Open access

Cotton Leaf Disease Detection via Dual-Backbone CNN-Transformer Fusion with Quantitative XAI Comparison

Aug 2026 · Electronics · Vol 15, pp. 3650 · 0 citations · 29 references

TL;DR

This study demonstrates that simple feature concatenation between dual backbones (CNN + Transformer) is highly effective for cotton leaf disease detection and provides a benchmark for XAI method selection in plant pathology.

Abstract

Deep learning has shown promise for cotton leaf disease detection, yet two critical gaps remain. First, most studies rely on a single model (Convolutional Neural Network-CNN or Transformer) and do not explore how to effectively fuse these complementary architectures. Second, eXplainable AI (XAI) methods are often used qualitatively, lacking objective benchmarks to guide method selection. To address these gaps, we evaluate six backbone models, comprising four CNNs (ResNet50, EfficientNet-B0, DenseNet121, and MobileNetV2) and two Vision Transformers (ViT-Base and DeiT-Small), on the Kaggle cotton leaf disease dataset, which contains 1711 images across four classes. We then systematically investigate five CNN–Transformer fusion strategies, namely concatenation, attention, weighted, ensemble, and variance-based fusion, to identify the most effective approach for disease classification. The best-performing individual models are DenseNet121 (92.40% accuracy) and ViT-Base (96.49% accuracy). Classification metrics include accuracy, balanced accuracy, precision/recall, F1-score, Cohen’s kappa, MCC, AUC, bootstrap confidence intervals, and McNemar tests. Computational efficiency (FLOPs, inference time, model size) is also reported. Concatenation fusion achieves the highest performance (accuracy = 99.42%, 95% CI: 98.2–100%, weighted F1 = 0.994, MCC = 0.992). For explainability, we quantitatively compare six XAI techniques, GradCAM, GradCAM++, ScoreCAM, LayerCAM, EigenCAM, and AblationCAM, using the pointing game, IoU, AUC, and localization accuracy. EigenCAM yields the best overall explainability score. This study demonstrates that simple feature concatenation between dual backbones (CNN + Transformer) is highly effective for cotton leaf disease detection and provides a benchmark for XAI method selection in plant pathology.

Read PDF

Similar papers

Open access Jul 2026

An Intelligent Hybrid Deep Learning Model Integrating CNN, Transformer, and LSTM for Precision Cotton Disease Diagnosis

A novel hybrid deep learning framework integrating Convolutional Neural Networks, Transformer-based attention mechanisms, and Long Short-Term Memory networks for spatio-temporal cotton leaf disease detection and classification is proposed, suitable for intelligent precision agriculture systems and real-time disease monitoring applications.

Prajakta Sunil Gupta, A. V. Zade · 0 citations
Open access Jul 2026

A Deep Hybrid Convolutional Neural Network (CNN)–Transformer Approach for Early Detection of Tomato Leaf Diseases

A deep hybrid Convolutional Neural Network –Transformer architecture is introduced by combining ConvNeXt Large (ConvNeXt-L) and Swin Transformer architecture by combining ConvNeXt Large (ConvNeXt-L) and Swin Transformer (as local feature extractor) and Swin Transformer (as global context encoder) to predict tomato leaf diseases.

Rahul Singh Pawar, Prashant Panse · 0 citations
Open access 2026

A CNN-BiLSTM Hybrid for Plant Leaf Disease Classification: Comparative Performance Evaluation of Deep Learning Algorithms

This study introduces a hybrid deep learning architecture that integrates squeeze-and-excitation residual blocks, capsule networks, bidirectional long short-term memory, and attention mechanisms, enabling farmers to obtain rapid, reliable, and cost-effective field diagnoses, thereby improving agricultural productivity and sustainability.

Aekkarat Suksukont, Ekachai Naowanich · 0 citations
Open access Aug 2026

AFS-PLDCNet: An Advanced Computational Tool for the Classification of Apple Leaf Diseases

Background: Accurate and timely diagnosis of foliar diseases is the most crucial factor in efforts to maximize crop yield and ensure sustainability. Existing deep learning models, especially single-backbone CNNs, have achieved promising results; however, they often fail to generalize well in different orchard conditions. Methods: In this study, the AFS-PLDCNet framework has been proposed for robust leaf disease classification. This framework uses an attention-based feature-fusion approach to combine deep representations extracted from EfficientNetV2S, MobileNetV2 and ResNet18. A learnable attention mechanism assigns adaptive weights dynamically to each feature and a lightweight meta-learner is used for classification. A new dataset of 9000 apple leaf images was captured in Himachal Pradesh’s orchards, encompassing Alternaria leaf blotch, Marssonina blotch and healthy leaves. Result: The experimental results demonstrate that AFS-PLDCNet achieved superior classification accuracy compared to existing single-backbone CNNs. The proposed model is well-suited for real-time, field-level leaf disease classification and precision agriculture systems.

Neha Sawant, K. L. Bansal · 0 citations
Open access Aug 2026

Deep Learning-Based Automated Detection of Tomato Leaf Diseases Using CNNs

A lightweight 17 layer convolutional neural network model enhanced by comprehensive data augmentation is proposed, effectively classifying nine prevalent tomato leaf diseases, providing farmers real time diagnostics with robust generalization across diverse field conditions and significant practical value for precision agriculture and food security.

D. M. Balungu, Maksim Aleksandrovich Malykh, Dmitry Evgenievich Burdin et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.