Shansong Wang , Qingtian Zeng , Guiyuan Yuan , Weijian Ni , Chao Li , Hua Duan , Nengfu Xie , Fengjin Xiao , Xiaofeng Yang
{"title":"Generalized zero-shot pest and disease image classification based on causal gating model","authors":"Shansong Wang , Qingtian Zeng , Guiyuan Yuan , Weijian Ni , Chao Li , Hua Duan , Nengfu Xie , Fengjin Xiao , Xiaofeng Yang","doi":"10.1016/j.compag.2024.109827","DOIUrl":null,"url":null,"abstract":"<div><div>Images of scarce agricultural pests and diseases categories are often hard to obtain, and there are frequently no visual examples in web search engines. Therefore, it is challenging to build an image classification model based on supervised learning. To address this issue, Generalized Zero-shot Learning (GZSL) based on Generative Adversarial Networks (GANs) offers an effective solution. However, a major challenge of GZSL is that the model tends to overfit on seen class data, causing unseen classes to be frequently misclassified as seen classes. To meet this challenge, we propose a novel <strong>S</strong>tructural <strong>C</strong>ausal <strong>M</strong>odel-based <strong>B</strong>inary <strong>D</strong>omain <strong>C</strong>lassifier (SCM-BDC) for generalized zero-shot pest and disease image classification. Our method introduces a Structural Causal Model (SCM) to extract causal features from visual features to reduce the impact of non-causal features that blur the distinction between seen and unseen classes. Furthermore, we use an Angular Linear Layer (ALL) to project class-level attributes and causal features onto the unit hypersphere and identify a boundary for each seen class. During the testing phase, if the similarity between the sample and all seen attributes is less than the corresponding threshold, it is classified as an unseen class; otherwise, as a seen class. Finally, we use a seen classifier and an unseen classifier to predict the corresponding samples, respectively. Extensive experiments on APTV99, ADTV68, AWA1, AWA2, CUB, SUN, and FLO demonstrate that the proposed method can significantly improve the performance of GZSL. For the APTV99 and ADTV68 datasets, our method achieves a 5.2 % and 1.4 % improvement in GZSL classification accuracy over state-of-the-art methods.</div></div>","PeriodicalId":50627,"journal":{"name":"Computers and Electronics in Agriculture","volume":"230 ","pages":"Article 109827"},"PeriodicalIF":8.9000,"publicationDate":"2025-01-15","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/S0168169924012183","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0
Abstract
Images of scarce agricultural pests and diseases categories are often hard to obtain, and there are frequently no visual examples in web search engines. Therefore, it is challenging to build an image classification model based on supervised learning. To address this issue, Generalized Zero-shot Learning (GZSL) based on Generative Adversarial Networks (GANs) offers an effective solution. However, a major challenge of GZSL is that the model tends to overfit on seen class data, causing unseen classes to be frequently misclassified as seen classes. To meet this challenge, we propose a novel Structural Causal Model-based Binary Domain Classifier (SCM-BDC) for generalized zero-shot pest and disease image classification. Our method introduces a Structural Causal Model (SCM) to extract causal features from visual features to reduce the impact of non-causal features that blur the distinction between seen and unseen classes. Furthermore, we use an Angular Linear Layer (ALL) to project class-level attributes and causal features onto the unit hypersphere and identify a boundary for each seen class. During the testing phase, if the similarity between the sample and all seen attributes is less than the corresponding threshold, it is classified as an unseen class; otherwise, as a seen class. Finally, we use a seen classifier and an unseen classifier to predict the corresponding samples, respectively. Extensive experiments on APTV99, ADTV68, AWA1, AWA2, CUB, SUN, and FLO demonstrate that the proposed method can significantly improve the performance of GZSL. For the APTV99 and ADTV68 datasets, our method achieves a 5.2 % and 1.4 % improvement in GZSL classification accuracy over state-of-the-art methods.
期刊介绍:
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.