Research on Small-Target Detection of Flax Pests and Diseases in Natural Environment by Integrating Similarity-Aware Activation Module and Bidirectional Feature Pyramid Network Module Features

In the detection of the pests and diseases of flax, early wilt disease is elusive, yellow leaf disease symptoms are easily confusing, and pest detection is hampered by issues such as diversity in species, difficulty in detection, and technological bottlenecks, posing significant challenges to detect...

Full description

Saved in:
Bibliographic Details
Main Authors: Manxi Zhong, Yue Li, Yuhong Gao
Format: Article
Language:English
Published: MDPI AG 2025-01-01
Series:Agronomy
Subjects:
Online Access:https://www.mdpi.com/2073-4395/15/1/187
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1832589398697312256
author Manxi Zhong
Yue Li
Yuhong Gao
author_facet Manxi Zhong
Yue Li
Yuhong Gao
author_sort Manxi Zhong
collection DOAJ
description In the detection of the pests and diseases of flax, early wilt disease is elusive, yellow leaf disease symptoms are easily confusing, and pest detection is hampered by issues such as diversity in species, difficulty in detection, and technological bottlenecks, posing significant challenges to detection efforts. To address these issues, this paper proposes a flax pest and disease detection method based on an improved YOLOv8n model. To enhance the detection accuracy and generalization capability of the model, this paper first employs the Albumentations library for data augmentation, which strengthens the model’s adaptability to complex environments by enriching the diversity of training samples. Secondly, in terms of model architecture, a Bidirectional Feature Pyramid Network (BiFPN) module is introduced to replace the original feature extraction network. Through bidirectional multi-scale feature fusion, the model’s ability to distinguish pests and diseases with similar features and large scale differences is effectively improved. Meanwhile, the integration of the SimAM attention mechanism enables the model to learn information from three-dimensional channels, enhancing its perception of pest and disease features. Additionally, this paper adopts the EIOU loss function to further optimize the model’s bounding box regression, reducing the distortion of bounding boxes caused by high sample variability. The experimental results demonstrate that the improved model achieves a significant detection performance on the flax pest and disease dataset, with notable improvements in the detection accuracy and mean average precision compared to the original YOLOv8n model. Finally, this paper proposes a YOLOv8n model with a four-headed detection design, which significantly enhances the detection capability for small targets such as pests and diseases with a size of 4 × 4 pixels or larger by introducing new detection heads and optimizing feature extraction. This method not only improves the detection accuracy for flax pests and diseases but also maintains a high computational efficiency, providing effective technical support for the rapid and precise detection of flax pests and diseases and possessing an important practical application value.
format Article
id doaj-art-5423d52c61694c5c8d68a1c2ea77cbdd
institution Kabale University
issn 2073-4395
language English
publishDate 2025-01-01
publisher MDPI AG
record_format Article
series Agronomy
spelling doaj-art-5423d52c61694c5c8d68a1c2ea77cbdd2025-01-24T13:17:06ZengMDPI AGAgronomy2073-43952025-01-0115118710.3390/agronomy15010187Research on Small-Target Detection of Flax Pests and Diseases in Natural Environment by Integrating Similarity-Aware Activation Module and Bidirectional Feature Pyramid Network Module FeaturesManxi Zhong0Yue Li1Yuhong Gao2College of Information Science and Technology, Gansu Agricultural University, Lanzhou 730070, ChinaCollege of Information Science and Technology, Gansu Agricultural University, Lanzhou 730070, ChinaGansu Provincial Key Laboratory of Aridland Crop Science, Gansu Agricultural University, Lanzhou 730070, ChinaIn the detection of the pests and diseases of flax, early wilt disease is elusive, yellow leaf disease symptoms are easily confusing, and pest detection is hampered by issues such as diversity in species, difficulty in detection, and technological bottlenecks, posing significant challenges to detection efforts. To address these issues, this paper proposes a flax pest and disease detection method based on an improved YOLOv8n model. To enhance the detection accuracy and generalization capability of the model, this paper first employs the Albumentations library for data augmentation, which strengthens the model’s adaptability to complex environments by enriching the diversity of training samples. Secondly, in terms of model architecture, a Bidirectional Feature Pyramid Network (BiFPN) module is introduced to replace the original feature extraction network. Through bidirectional multi-scale feature fusion, the model’s ability to distinguish pests and diseases with similar features and large scale differences is effectively improved. Meanwhile, the integration of the SimAM attention mechanism enables the model to learn information from three-dimensional channels, enhancing its perception of pest and disease features. Additionally, this paper adopts the EIOU loss function to further optimize the model’s bounding box regression, reducing the distortion of bounding boxes caused by high sample variability. The experimental results demonstrate that the improved model achieves a significant detection performance on the flax pest and disease dataset, with notable improvements in the detection accuracy and mean average precision compared to the original YOLOv8n model. Finally, this paper proposes a YOLOv8n model with a four-headed detection design, which significantly enhances the detection capability for small targets such as pests and diseases with a size of 4 × 4 pixels or larger by introducing new detection heads and optimizing feature extraction. This method not only improves the detection accuracy for flax pests and diseases but also maintains a high computational efficiency, providing effective technical support for the rapid and precise detection of flax pests and diseases and possessing an important practical application value.https://www.mdpi.com/2073-4395/15/1/187pest and disease detectionYOLOv8ndata augmentationfeature integrationattention mechanismEIOU loss function
spellingShingle Manxi Zhong
Yue Li
Yuhong Gao
Research on Small-Target Detection of Flax Pests and Diseases in Natural Environment by Integrating Similarity-Aware Activation Module and Bidirectional Feature Pyramid Network Module Features
Agronomy
pest and disease detection
YOLOv8n
data augmentation
feature integration
attention mechanism
EIOU loss function
title Research on Small-Target Detection of Flax Pests and Diseases in Natural Environment by Integrating Similarity-Aware Activation Module and Bidirectional Feature Pyramid Network Module Features
title_full Research on Small-Target Detection of Flax Pests and Diseases in Natural Environment by Integrating Similarity-Aware Activation Module and Bidirectional Feature Pyramid Network Module Features
title_fullStr Research on Small-Target Detection of Flax Pests and Diseases in Natural Environment by Integrating Similarity-Aware Activation Module and Bidirectional Feature Pyramid Network Module Features
title_full_unstemmed Research on Small-Target Detection of Flax Pests and Diseases in Natural Environment by Integrating Similarity-Aware Activation Module and Bidirectional Feature Pyramid Network Module Features
title_short Research on Small-Target Detection of Flax Pests and Diseases in Natural Environment by Integrating Similarity-Aware Activation Module and Bidirectional Feature Pyramid Network Module Features
title_sort research on small target detection of flax pests and diseases in natural environment by integrating similarity aware activation module and bidirectional feature pyramid network module features
topic pest and disease detection
YOLOv8n
data augmentation
feature integration
attention mechanism
EIOU loss function
url https://www.mdpi.com/2073-4395/15/1/187
work_keys_str_mv AT manxizhong researchonsmalltargetdetectionofflaxpestsanddiseasesinnaturalenvironmentbyintegratingsimilarityawareactivationmoduleandbidirectionalfeaturepyramidnetworkmodulefeatures
AT yueli researchonsmalltargetdetectionofflaxpestsanddiseasesinnaturalenvironmentbyintegratingsimilarityawareactivationmoduleandbidirectionalfeaturepyramidnetworkmodulefeatures
AT yuhonggao researchonsmalltargetdetectionofflaxpestsanddiseasesinnaturalenvironmentbyintegratingsimilarityawareactivationmoduleandbidirectionalfeaturepyramidnetworkmodulefeatures