Cargando…

Fine-grained weed recognition using Swin Transformer and two-stage transfer learning

Weeding is very critical for agriculture due to its importance for reducing crop yield loss. Accurate recognition of weed species is one of the major challenges for achieving automatic and precise weeding. To improve the recognition performance of weeds and crops with similar visual characteristics,...

Descripción completa

Detalles Bibliográficos
Autores principales: Wang, Yecheng, Zhang, Shuangqing, Dai, Baisheng, Yang, Sensen, Song, Haochen
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Frontiers Media S.A. 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10040655/
https://www.ncbi.nlm.nih.gov/pubmed/36993854
http://dx.doi.org/10.3389/fpls.2023.1134932
_version_ 1784912525056278528
author Wang, Yecheng
Zhang, Shuangqing
Dai, Baisheng
Yang, Sensen
Song, Haochen
author_facet Wang, Yecheng
Zhang, Shuangqing
Dai, Baisheng
Yang, Sensen
Song, Haochen
author_sort Wang, Yecheng
collection PubMed
description Weeding is very critical for agriculture due to its importance for reducing crop yield loss. Accurate recognition of weed species is one of the major challenges for achieving automatic and precise weeding. To improve the recognition performance of weeds and crops with similar visual characteristics, a fine-grained weed recognition method based on Swin Transformer and two-stage transfer learning is proposed in this study. First, the Swin Transformer network is introduced to learn the discriminative features that can distinguish subtle differences between visually similar weeds and crops. Second, a contrastive loss is applied to further enlarge the feature differences between different categories of weeds and crops. Finally, a two-stage transfer learning strategy is proposed to address the problem of insufficient training data and improve the accuracy of weed recognition. To evaluate the effectiveness of the proposed method, we constructed a private weed dataset (MWFI) with maize seedling and seven species of associated weeds that are collected in the farmland environment. The experimental results on this dataset show that the proposed method achieved the recognition accuracy, precision, recall, and F1 score of 99.18%, 99.33%, 99.11%, and 99.22%, respectively, which are superior to the performance of the state-of-the-art convolutional neural network (CNN)-based architectures including VGG-16, ResNet-50, DenseNet-121, SE-ResNet-50, and EfficientNetV2. Additionally, evaluation results on the public DeepWeeds dataset further demonstrate the effectiveness of the proposed method. This study can provide a reference for the design of automatic weed recognition systems.
format Online
Article
Text
id pubmed-10040655
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher Frontiers Media S.A.
record_format MEDLINE/PubMed
spelling pubmed-100406552023-03-28 Fine-grained weed recognition using Swin Transformer and two-stage transfer learning Wang, Yecheng Zhang, Shuangqing Dai, Baisheng Yang, Sensen Song, Haochen Front Plant Sci Plant Science Weeding is very critical for agriculture due to its importance for reducing crop yield loss. Accurate recognition of weed species is one of the major challenges for achieving automatic and precise weeding. To improve the recognition performance of weeds and crops with similar visual characteristics, a fine-grained weed recognition method based on Swin Transformer and two-stage transfer learning is proposed in this study. First, the Swin Transformer network is introduced to learn the discriminative features that can distinguish subtle differences between visually similar weeds and crops. Second, a contrastive loss is applied to further enlarge the feature differences between different categories of weeds and crops. Finally, a two-stage transfer learning strategy is proposed to address the problem of insufficient training data and improve the accuracy of weed recognition. To evaluate the effectiveness of the proposed method, we constructed a private weed dataset (MWFI) with maize seedling and seven species of associated weeds that are collected in the farmland environment. The experimental results on this dataset show that the proposed method achieved the recognition accuracy, precision, recall, and F1 score of 99.18%, 99.33%, 99.11%, and 99.22%, respectively, which are superior to the performance of the state-of-the-art convolutional neural network (CNN)-based architectures including VGG-16, ResNet-50, DenseNet-121, SE-ResNet-50, and EfficientNetV2. Additionally, evaluation results on the public DeepWeeds dataset further demonstrate the effectiveness of the proposed method. This study can provide a reference for the design of automatic weed recognition systems. Frontiers Media S.A. 2023-03-13 /pmc/articles/PMC10040655/ /pubmed/36993854 http://dx.doi.org/10.3389/fpls.2023.1134932 Text en Copyright © 2023 Wang, Zhang, Dai, Yang and Song https://creativecommons.org/licenses/by/4.0/This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
spellingShingle Plant Science
Wang, Yecheng
Zhang, Shuangqing
Dai, Baisheng
Yang, Sensen
Song, Haochen
Fine-grained weed recognition using Swin Transformer and two-stage transfer learning
title Fine-grained weed recognition using Swin Transformer and two-stage transfer learning
title_full Fine-grained weed recognition using Swin Transformer and two-stage transfer learning
title_fullStr Fine-grained weed recognition using Swin Transformer and two-stage transfer learning
title_full_unstemmed Fine-grained weed recognition using Swin Transformer and two-stage transfer learning
title_short Fine-grained weed recognition using Swin Transformer and two-stage transfer learning
title_sort fine-grained weed recognition using swin transformer and two-stage transfer learning
topic Plant Science
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10040655/
https://www.ncbi.nlm.nih.gov/pubmed/36993854
http://dx.doi.org/10.3389/fpls.2023.1134932
work_keys_str_mv AT wangyecheng finegrainedweedrecognitionusingswintransformerandtwostagetransferlearning
AT zhangshuangqing finegrainedweedrecognitionusingswintransformerandtwostagetransferlearning
AT daibaisheng finegrainedweedrecognitionusingswintransformerandtwostagetransferlearning
AT yangsensen finegrainedweedrecognitionusingswintransformerandtwostagetransferlearning
AT songhaochen finegrainedweedrecognitionusingswintransformerandtwostagetransferlearning