Skip to content
Open access

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

Aug 2026 · Electronics · 1 citation · 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 mon...

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...

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...

Aekkarat Suksukont, Ekachai Naowanich · 0 citations
Sep 2026

Cbam-augmented ResNet for high-accuracy grape leaf disease detection

A deep learning model designed to automatically detect grape leaf diseases based on images, using a pretrained ResNet50 which is trained on ImageNet as feature extractor and a Convolutional Block Attention Module to boost its discriminative capacity is introduced.

Maajid Bashir, A. Reshi, Shabana Shafi et al. · 0 citations
Open access Aug 2026

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

The experimental results demonstrate that AFS-PLDCNet achieved superior classification accuracy compared to existing single-backbone CNNs and 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...

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.