IDEAS home Printed from https://ideas.repec.org/a/gam/jagris/v14y2024i1p142-d1321695.html
   My bibliography  Save this article

A Dual-Branch Model Integrating CNN and Swin Transformer for Efficient Apple Leaf Disease Classification

Author

Listed:
  • Haiping Si

    (College of Information and Management Science, Henan Agricultural University, Zhengzhou 450046, China)

  • Mingchun Li

    (College of Information and Management Science, Henan Agricultural University, Zhengzhou 450046, China)

  • Weixia Li

    (College of Information and Management Science, Henan Agricultural University, Zhengzhou 450046, China)

  • Guipei Zhang

    (College of Information and Management Science, Henan Agricultural University, Zhengzhou 450046, China)

  • Ming Wang

    (College of Information and Management Science, Henan Agricultural University, Zhengzhou 450046, China)

  • Feitao Li

    (College of Information and Management Science, Henan Agricultural University, Zhengzhou 450046, China)

  • Yanling Li

    (College of Information and Management Science, Henan Agricultural University, Zhengzhou 450046, China)

Abstract

Apples, as the fourth-largest globally produced fruit, play a crucial role in modern agriculture. However, accurately identifying apple diseases remains a significant challenge as failure in this regard leads to economic losses and poses threats to food safety. With the rapid development of artificial intelligence, advanced deep learning methods such as convolutional neural networks (CNNs) and Transformer-based technologies have made notable achievements in the agricultural field. In this study, we propose a dual-branch model named DBCoST, integrating CNN and Swin Transformer. CNNs focus on extracting local information, while Transformers are known for their ability to capture global information. The model aims to fully leverage the advantages of both in extracting local and global information. Additionally, we introduce the feature fusion module (FFM), which comprises a residual module and an enhanced Squeeze-and-Excitation (SE) attention mechanism, for more effective fusion and retention of both local and global information. In the natural environment, there are various sources of noise, such as the overlapping of apple branches and leaves, as well as the presence of fruits, which increase the complexity of accurately identifying diseases on apple leaves. This unique challenge provides a robust experimental foundation for validating the performance of our model. We comprehensively evaluate our model by conducting comparative experiments with other classification models under identical conditions. The experimental results demonstrate that our model outperforms other models across various metrics, including accuracy, recall, precision, and F1 score, achieving values of 97.32%, 97.33%, 97.40%, and 97.36%, respectively. Furthermore, detailed comparisons of our model’s accuracy across different diseases reveal accuracy rates exceeding 96% for each disease. In summary, our model performs better overall, achieving balanced accuracy across different apple leaf diseases.

Suggested Citation

  • Haiping Si & Mingchun Li & Weixia Li & Guipei Zhang & Ming Wang & Feitao Li & Yanling Li, 2024. "A Dual-Branch Model Integrating CNN and Swin Transformer for Efficient Apple Leaf Disease Classification," Agriculture, MDPI, vol. 14(1), pages 1-20, January.
  • Handle: RePEc:gam:jagris:v:14:y:2024:i:1:p:142-:d:1321695
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2077-0472/14/1/142/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2077-0472/14/1/142/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Xiaopeng Li & Shuqin Li, 2022. "Transformer Help CNN See Better: A Lightweight Hybrid Apple Disease Identification Model Based on Transformers," Agriculture, MDPI, vol. 12(6), pages 1-16, June.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Xiaopeng Li & Yichi Zhang & Yuhan Peng & Shuqin Li, 2023. "VLDNet: An Ultra-Lightweight Crop Disease Identification Network," Agriculture, MDPI, vol. 13(8), pages 1-17, July.
    2. Jie Ding & Cheng Zhang & Xi Cheng & Yi Yue & Guohua Fan & Yunzhi Wu & Youhua Zhang, 2023. "Method for Classifying Apple Leaf Diseases Based on Dual Attention and Multi-Scale Feature Extraction," Agriculture, MDPI, vol. 13(5), pages 1-19, April.
    3. Xiaopeng Li & Jinzhi Du & Jialin Yang & Shuqin Li, 2022. "When Mobilenetv2 Meets Transformer: A Balanced Sheep Face Recognition Model," Agriculture, MDPI, vol. 12(8), pages 1-14, July.
    4. Bulent Tugrul & Elhoucine Elfatimi & Recep Eryigit, 2022. "Convolutional Neural Networks in Detection of Plant Leaf Diseases: A Review," Agriculture, MDPI, vol. 12(8), pages 1-21, August.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jagris:v:14:y:2024:i:1:p:142-:d:1321695. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.