{"title":"MAFDE-DN4: Improved Few-shot plant disease classification method based on Deep Nearest Neighbor Neural Network","authors":"","doi":"10.1016/j.compag.2024.109373","DOIUrl":null,"url":null,"abstract":"<div><p>Deep learning-based methods for accurately identifying plant diseases can be effective in improving crop yields. However, the effectiveness of these methods heavily relies on the availability of large-scale manually labeled datasets, which present technical and economic challenges. Few-shot learning methods can be generalized to new categories with a small number of samples, which is very promising in the field of plant disease recognition despite the limited sample size. However, due to the complexity of real-life scenarios, distribution of disease leaves, and significant intra-class variability and inter-class similarity resulting from crop species and disease species, existing methods perform poorly in the field of plant disease recognition. To address the above problems, this paper proposes an improved multi-scale attention fusion with discriminative enhancement deep nearest neighbor neural network MAFDE-DN4 based on DN4. Our approach makes three main contributions. First, we have designed a bidirectional weighted feature fusion module (BWFM) to enhance the aggregation of fine-grained features and enhance the network’s representation of complex disease images. Second, to tackle the issue of sparse feature descriptors being vulnerable to irrelevant noise in small sample conditions, a episodic attention module (EA) has been developed to produce scene category-relevant attention maps. This effectively mitigates the influence of irrelevant background information. Finally, we introduce additional spacing between category margins to enhance the original softmax loss function, amplify the inter-class differences to reduce the intra-class distances, and add L2 regularization constraint terms to stabilize the training process. To simulate different real-world scenarios, we set up different dataset settings. Under the 1-shot task and the 5-shot task, our method achieves 57.5% and 81.41% accuracy under the within-domain strategy and 36.54% and 51.23% accuracy under the cross-domain strategy. The experimental results show that our method outperforms existing related work in the field of plant disease recognition, whether it is a dataset with a single background or a field dataset with a complex background in a real scenario. MAFDE-DN4 based on Few-shot learning requires substantially less data on new categories of plant diseases.</p></div>","PeriodicalId":50627,"journal":{"name":"Computers and Electronics in Agriculture","volume":null,"pages":null},"PeriodicalIF":7.7000,"publicationDate":"2024-09-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers and Electronics in Agriculture","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0168169924007646","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0
Abstract
Deep learning-based methods for accurately identifying plant diseases can be effective in improving crop yields. However, the effectiveness of these methods heavily relies on the availability of large-scale manually labeled datasets, which present technical and economic challenges. Few-shot learning methods can be generalized to new categories with a small number of samples, which is very promising in the field of plant disease recognition despite the limited sample size. However, due to the complexity of real-life scenarios, distribution of disease leaves, and significant intra-class variability and inter-class similarity resulting from crop species and disease species, existing methods perform poorly in the field of plant disease recognition. To address the above problems, this paper proposes an improved multi-scale attention fusion with discriminative enhancement deep nearest neighbor neural network MAFDE-DN4 based on DN4. Our approach makes three main contributions. First, we have designed a bidirectional weighted feature fusion module (BWFM) to enhance the aggregation of fine-grained features and enhance the network’s representation of complex disease images. Second, to tackle the issue of sparse feature descriptors being vulnerable to irrelevant noise in small sample conditions, a episodic attention module (EA) has been developed to produce scene category-relevant attention maps. This effectively mitigates the influence of irrelevant background information. Finally, we introduce additional spacing between category margins to enhance the original softmax loss function, amplify the inter-class differences to reduce the intra-class distances, and add L2 regularization constraint terms to stabilize the training process. To simulate different real-world scenarios, we set up different dataset settings. Under the 1-shot task and the 5-shot task, our method achieves 57.5% and 81.41% accuracy under the within-domain strategy and 36.54% and 51.23% accuracy under the cross-domain strategy. The experimental results show that our method outperforms existing related work in the field of plant disease recognition, whether it is a dataset with a single background or a field dataset with a complex background in a real scenario. MAFDE-DN4 based on Few-shot learning requires substantially less data on new categories of plant diseases.
期刊介绍:
Computers and Electronics in Agriculture provides international coverage of advancements in computer hardware, software, electronic instrumentation, and control systems applied to agricultural challenges. Encompassing agronomy, horticulture, forestry, aquaculture, and animal farming, the journal publishes original papers, reviews, and applications notes. It explores the use of computers and electronics in plant or animal agricultural production, covering topics like agricultural soils, water, pests, controlled environments, and waste. The scope extends to on-farm post-harvest operations and relevant technologies, including artificial intelligence, sensors, machine vision, robotics, networking, and simulation modeling. Its companion journal, Smart Agricultural Technology, continues the focus on smart applications in production agriculture.