Skip to content
Open access

Hybrid Deep Learning Model for Coffee Leaf Disease Detection Using CNN DeiT

Jul 2026 · SinkrOn · 0 citations · 23 references

TL;DR

Findings confirm that the hybrid CNN–Transformer architecture effectively enhances classification performance, robustness, and generalization in coffee leaf disease classification, with potential applications in precision agriculture and data-driven crop management.

Abstract

Coffee production plays a crucial role in the agricultural economy; however, its productivity is significantly affected by plant diseases that are difficult to detect at early stages. Accurate disease identification remains challenging due to subtle visual differences and high intra-class variability in leaf symptoms. To address this problem, this study proposes a hybrid deep learning framework that integrates Convolutional Neural Networks (CNN) and Data-efficient Image Transformers (DeiT) for automated coffee leaf disease classification. The proposed architecture leverages CNN to capture fine-grained local features, while DeiT models global contextual relationships through self-attention mechanisms, enabling a more comprehensive feature representation. The model is trained and evaluated on a dataset of 6,048 labeled images across four classes: Healthy, Rust, Red Spider, and Leaf Miner. Experimental results demonstrate that the proposed CNN–DeiT model outperforms baseline CNN and Transformer-based approaches, achieving an accuracy of 93.1%, an F1-score of 92.3%, and a ROC-AUC of 95.6%. Robustness analysis shows that performance degradation remains limited (1.6%–3.4%) under various perturbation conditions, while out-of-distribution evaluation indicates strong generalization capability with only a minor accuracy decrease. These findings confirm that the hybrid CNN–Transformer architecture effectively enhances classification performance, robustness, and generalization. This study contributes to the advancement of deep learning methodologies in agricultural image analysis by providing a robust and scalable framework for plant disease classification, with potential applications in precision agriculture and data-driven crop management.

Read PDF

Similar papers

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
Open access Jul 2026

EDISP: a hybrid CNN-ViT framework for robust maize leaf disease detection and classification

The proposed EDISP model significantly outperforms standalone CNN and ViT Models in multiple performance metrics, achieving an overall classification accuracy of 99.40%, precision of 99.43%, recall of 99.38%, and an F1-score of 99.40%.

Aziz Ullah, Shah Hussain, Qi Hou et al. · 0 citations
Open access 2026

HYBRID DEEP LEARNING MODEL FOR AUTOMATED PLANT DISEASE CLASSIFICATION

An extensive set of experiments was conducted to evaluate the performance of the proposed model for plant disease detection, and it is demonstrated that the model achieves highly reliable results, with an accuracy of 97.13%.

Hayat Meddeber, M. Meddeber · 0 citations
Open access Aug 2026

Hybrid CNN and LLM for Image-Based Classification of Plant Leaf Diseases

A hybrid framework integrating a Convolutional Neural Network with a Large Language Model to perform image-based plant leaf disease classification accompanied by interpretable diagnostic explanations demonstrated that combining high-performance visual recognition with language-based reasoning enhanced both diagnostic r...

Frenky Riski Gilang Pratama, S. Surono, A. Thobirin · 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

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