Jinrong Cui , Youliu Zhang , Hao Chen , Yaoxuan Zhang , Hao Cai , Yu Jiang , Ruijun Ma , Long Qi
{"title":"CSWin-MBConv: A dual-network fusing CNN and Transformer for weed recognition","authors":"Jinrong Cui , Youliu Zhang , Hao Chen , Yaoxuan Zhang , Hao Cai , Yu Jiang , Ruijun Ma , Long Qi","doi":"10.1016/j.eja.2025.127528","DOIUrl":null,"url":null,"abstract":"<div><div>Accurately acquiring the weed category information is a crucial and indispensable step for effective field management. However, most of weed recognition techniques mainly rely on either pure Convolutional Neural Network (CNN) or Transformer architectures. CNNs excel at extracting local features but struggle to capture global representations. On the other hand, Transformers can capture long-distance feature dependencies but often lose local feature details. These limitations result in suboptimal performances of existing weed recognition models. To address these challenges, this paper proposes a novel hybrid network model, coined as CSWin-MBConv. CSWin-MBConv combines CNN and Transformer architectures in parallel, with CNN branch used to extract local features and Transformer branch employed to capture global representations. In order to enhance the fusion of feature maps from these two branches, we customize the CBAM feature fusion module (CFFM), which facilitates the generation of more comprehensive feature representations. Extensive experiments demonstrate that CSWin-MBConv, whilst being more parameter- and computation-conserving, achieves superior recognition accuracy (98.50 %) and F1-score (98.56 %), outperforming the state-of-the-art CNN and Transformer architectures (e.g., EfficientNet and Swin Transformer). Taking the accuracy as well as the efficiency into account, our proposed model provides a practical support for weed management of paddy fields.</div></div>","PeriodicalId":51045,"journal":{"name":"European Journal of Agronomy","volume":"164 ","pages":"Article 127528"},"PeriodicalIF":4.5000,"publicationDate":"2025-02-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"European Journal of Agronomy","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1161030125000243","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRONOMY","Score":null,"Total":0}
引用次数: 0
Abstract
Accurately acquiring the weed category information is a crucial and indispensable step for effective field management. However, most of weed recognition techniques mainly rely on either pure Convolutional Neural Network (CNN) or Transformer architectures. CNNs excel at extracting local features but struggle to capture global representations. On the other hand, Transformers can capture long-distance feature dependencies but often lose local feature details. These limitations result in suboptimal performances of existing weed recognition models. To address these challenges, this paper proposes a novel hybrid network model, coined as CSWin-MBConv. CSWin-MBConv combines CNN and Transformer architectures in parallel, with CNN branch used to extract local features and Transformer branch employed to capture global representations. In order to enhance the fusion of feature maps from these two branches, we customize the CBAM feature fusion module (CFFM), which facilitates the generation of more comprehensive feature representations. Extensive experiments demonstrate that CSWin-MBConv, whilst being more parameter- and computation-conserving, achieves superior recognition accuracy (98.50 %) and F1-score (98.56 %), outperforming the state-of-the-art CNN and Transformer architectures (e.g., EfficientNet and Swin Transformer). Taking the accuracy as well as the efficiency into account, our proposed model provides a practical support for weed management of paddy fields.
期刊介绍:
The European Journal of Agronomy, the official journal of the European Society for Agronomy, publishes original research papers reporting experimental and theoretical contributions to field-based agronomy and crop science. The journal will consider research at the field level for agricultural, horticultural and tree crops, that uses comprehensive and explanatory approaches. The EJA covers the following topics:
crop physiology
crop production and management including irrigation, fertilization and soil management
agroclimatology and modelling
plant-soil relationships
crop quality and post-harvest physiology
farming and cropping systems
agroecosystems and the environment
crop-weed interactions and management
organic farming
horticultural crops
papers from the European Society for Agronomy bi-annual meetings
In determining the suitability of submitted articles for publication, particular scrutiny is placed on the degree of novelty and significance of the research and the extent to which it adds to existing knowledge in agronomy.