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

Classification of Cassava Leaf Disease Based on a Non-Balanced Dataset Using Transformer-Embedded ResNet

Author

Listed:
  • Yiwei Zhong

    (School of Microelectronics and Communication Engineering, Chongqing University, Chongqing 400044, China)

  • Baojin Huang

    (School of Microelectronics and Communication Engineering, Chongqing University, Chongqing 400044, China)

  • Chaowei Tang

    (School of Microelectronics and Communication Engineering, Chongqing University, Chongqing 400044, China)

Abstract

Cassava is a typical staple food in the tropics, and cassava leaf disease can cause massive yield reductions in cassava, resulting in substantial economic losses and a lack of staple foods. However, the existing convolutional neural network (CNN) for cassava leaf disease classification is easily affected by environmental background noise, which makes the CNN unable to extract robust features of cassava leaf disease. To solve the above problems, this paper introduces a transformer structure into the cassava leaf disease classification task for the first time and proposes a transformer-embedded ResNet (T-RNet) model, which enhances the focus on the target region by modeling global information and suppressing the interference of background noise. In addition, a novel loss function called focal angular margin penalty softmax loss (FAMP-Softmax) is proposed, which can guide the model to learn strict classification boundaries while fighting the unbalanced nature of the cassava leaf disease dataset. Compared to the Xception, VGG16 Inception-v3, ResNet-50, and DenseNet121 models, the proposed method achieves performance improvements of 3.05%, 2.62%, 3.13%, 2.12%, and 2.62% in recognition accuracy, respectively. Meanwhile, the extracted feature maps are visualized and analyzed by gradient-weighted class activation map (Grad_CAM) and 2D T-SNE, which provides interpretability for the final classification results. Extensive experimental results demonstrate that the method proposed in this paper can extract robust features from complex non-balanced disease datasets and effectively carry out the classification of cassava leaf disease.

Suggested Citation

  • Yiwei Zhong & Baojin Huang & Chaowei Tang, 2022. "Classification of Cassava Leaf Disease Based on a Non-Balanced Dataset Using Transformer-Embedded ResNet," Agriculture, MDPI, vol. 12(9), pages 1-18, September.
  • Handle: RePEc:gam:jagris:v:12:y:2022:i:9:p:1360-:d:904348
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2077-0472/12/9/1360/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2077-0472/12/9/1360/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Prakhar Bansal & Rahul Kumar & Somesh Kumar, 2021. "Disease Detection in Apple Leaves Using Deep Convolutional Neural Network," Agriculture, MDPI, vol. 11(7), pages 1-23, 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. Mingfeng Huang & Guoqin Xu & Junyu Li & Jianping Huang, 2021. "A Method for Segmenting Disease Lesions of Maize Leaves in Real Time Using Attention YOLACT++," Agriculture, MDPI, vol. 11(12), pages 1-14, December.
    2. Normaisharah Mamat & Mohd Fauzi Othman & Rawad Abdoulghafor & Samir Brahim Belhaouari & Normahira Mamat & Shamsul Faisal Mohd Hussein, 2022. "Advanced Technology in Agriculture Industry by Implementing Image Annotation Technique and Deep Learning Approach: A Review," Agriculture, MDPI, vol. 12(7), pages 1-35, July.
    3. Jinzhu Lu & Lijuan Tan & Huanyu Jiang, 2021. "Review on Convolutional Neural Network (CNN) Applied to Plant Leaf Disease Classification," Agriculture, MDPI, vol. 11(8), pages 1-18, July.
    4. Xulu Gong & Shujuan Zhang, 2023. "A High-Precision Detection Method of Apple Leaf Diseases Using Improved Faster R-CNN," Agriculture, MDPI, vol. 13(2), pages 1-15, January.
    5. Ranbing Yang & Yuming Zhai & Jian Zhang & Huan Zhang & Guangbo Tian & Jian Zhang & Peichen Huang & Lin Li, 2022. "Potato Visual Navigation Line Detection Based on Deep Learning and Feature Midpoint Adaptation," Agriculture, MDPI, vol. 12(9), pages 1-17, September.

    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:12:y:2022:i:9:p:1360-:d:904348. 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.