Hao-tian Yuan , Ke-kun Huang , Jie-li Duan , Li-qian Lai , Jia-xiang Yu , Chao-wei Huang , Zhou Yang
{"title":"Generalized few-shot learning for crop hyperspectral image precise classification","authors":"Hao-tian Yuan , Ke-kun Huang , Jie-li Duan , Li-qian Lai , Jia-xiang Yu , Chao-wei Huang , Zhou Yang","doi":"10.1016/j.compag.2024.109498","DOIUrl":null,"url":null,"abstract":"<div><div>Hyperspectral remote sensing technology, with its advantage of acquiring a substantial amount of spectral information across different bands, has provided a robust tool for crop monitoring and management in the agricultural field. However, a prevalent challenge persists, namely the limited number of labels required for crop classification. We propose a new method named Generalized Few-Shot Learning (GFSL) to address the small-sample problem and get better classification of crops. The proposed GFSL first maps the embedding features extracted by a convolutional neural network to a Hilbert space by an implicit nonlinear mapping with a kernel trick. Then, GFSL maximizes the kernel similarity between each sample and its class mean as much as possible, and minimizes the kernel similarity between each sample and the means of other classes as much as possible at the same time. To give a more meaningful balance between intra-class similarity and inter-class similarity, GFSL defines the negative of intra-class similarity plus the logarithm of the sum of exponential functions of inter-class similarities as the loss function. We conducted experiments on three publicly available crop hyperspectral datasets: WHU-Hi-HanChuan, Salinas, and Indian Pines, and results show that the proposed approach exhibits an improvement in classification accuracy of 11.46%, 6.86%, and 14.49% on the three datasets, respectively, in comparison to some state-of-the-art methods, which demonstrates the superiority of the proposed method for crop hyperspectral image classification with limited training samples. The Python source code is available at <span><span>https://github.com/kkcocoon/GFSL</span><svg><path></path></svg></span>.</div></div>","PeriodicalId":50627,"journal":{"name":"Computers and Electronics in Agriculture","volume":"227 ","pages":"Article 109498"},"PeriodicalIF":7.7000,"publicationDate":"2024-10-31","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/S0168169924008895","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0
Abstract
Hyperspectral remote sensing technology, with its advantage of acquiring a substantial amount of spectral information across different bands, has provided a robust tool for crop monitoring and management in the agricultural field. However, a prevalent challenge persists, namely the limited number of labels required for crop classification. We propose a new method named Generalized Few-Shot Learning (GFSL) to address the small-sample problem and get better classification of crops. The proposed GFSL first maps the embedding features extracted by a convolutional neural network to a Hilbert space by an implicit nonlinear mapping with a kernel trick. Then, GFSL maximizes the kernel similarity between each sample and its class mean as much as possible, and minimizes the kernel similarity between each sample and the means of other classes as much as possible at the same time. To give a more meaningful balance between intra-class similarity and inter-class similarity, GFSL defines the negative of intra-class similarity plus the logarithm of the sum of exponential functions of inter-class similarities as the loss function. We conducted experiments on three publicly available crop hyperspectral datasets: WHU-Hi-HanChuan, Salinas, and Indian Pines, and results show that the proposed approach exhibits an improvement in classification accuracy of 11.46%, 6.86%, and 14.49% on the three datasets, respectively, in comparison to some state-of-the-art methods, which demonstrates the superiority of the proposed method for crop hyperspectral image classification with limited training samples. The Python source code is available at https://github.com/kkcocoon/GFSL.
期刊介绍:
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.