Lightweight YOLOv8s-BD for small and dense agricultural pest detection using dynamic upsampling and bidirectional feature fusion

Real-time and accurate detection of crop pests in field environments is critical for intelligent plant protection and ensuring food security. However, practical farmland settings introduce substantial challenges, including small and densely distributed targets, high inter-class morphological similarity, complex backgrounds, and a long-tailed class distribution. To address these issues, an improved lightweight detection model named YOLOv8s-BD is proposed based on the YOLOv8s architecture. The Pest24 dataset is first augmented using a Generative Adversarial Network (FastGAN) to mitigate data scarcity for minority categories and enrich intra-class feature diversity. Subsequently, a dynamic upsampling module (DySample) is incorporated to enhance high-resolution feature representation for small-scale pests, and the original feature pyramid is replaced with a weighted bidirectional feature pyramid (BiFPN) to optimize multi-scale feature fusion. Experimental results demonstrate that YOLOv8s-BD achieves 72.3% [email protected] and 46.9% [email protected]:0.95 on the Pest24 dataset, with only 7.4 million parameters and an inference speed of 1.9 ms per image, demonstrating superior accuracy and efficiency over mainstream YOLO series models. Both visualization results and error analysis confirm that the proposed model can accurately localize pest distribution regions and effectively reduce misclassification rate among similar species. The model thus offers a practical and efficient solution for multi-class pest detection in real-world agricultural scenarios.

Authors

Institutions

Publication Details

Journal
Frontiers in Plant Science
Published
2026-09-14
DOI
https://doi.org/10.3389/fpls.2026.1913220
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
article

Lightweight YOLOv8s-BD for small and dense agricultural pest detection using dynamic upsampling and bidirectional feature fusion

Meili Wang, Mengke Cao, Huan Wang, Chongchong Shi et al.
Frontiers in Plant Science
Smart Agriculture and AI
article

Lightweight YOLOv8s-BD for small and dense agricultural pest detection using dynamic upsampling and bidirectional feature fusion

Meili Wang, Mengke Cao, Huan Wang, Chongchong Shi, Xiaoning Chen, Yu Ji, Qiang Gao
article en

Abstract

Real-time and accurate detection of crop pests in field environments is critical for intelligent plant protection and ensuring food security. However, practical farmland settings introduce substantial challenges, including small and densely distributed targets, high inter-class morphological similarity, complex backgrounds, and a long-tailed class distribution. To address these issues, an improved lightweight detection model named YOLOv8s-BD is proposed based on the YOLOv8s architecture. The Pest24 dataset is first augmented using a Generative Adversarial Network (FastGAN) to mitigate data scarcity for minority categories and enrich intra-class feature diversity. Subsequently, a dynamic upsampling module (DySample) is incorporated to enhance high-resolution feature representation for small-scale pests, and the original feature pyramid is replaced with a weighted bidirectional feature pyramid (BiFPN) to optimize multi-scale feature fusion. Experimental results demonstrate that YOLOv8s-BD achieves 72.3% [email protected] and 46.9% [email protected]:0.95 on the Pest24 dataset, with only 7.4 million parameters and an inference speed of 1.9 ms per image, demonstrating superior accuracy and efficiency over mainstream YOLO series models. Both visualization results and error analysis confirm that the proposed model can accurately localize pest distribution regions and effectively reduce misclassification rate among similar species. The model thus offers a practical and efficient solution for multi-class pest detection in real-world agricultural scenarios.

Frontiers in Plant ScienceVol. 17
Northwest University (US), North West Agriculture and Forestry University (CN), Xijing University (CN), Artificial Intelligence in Medicine (Canada) (CA)
Zero hunger
Openalex Percentile: Top 14%
Smart Agriculture and AI
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.