Forestpest-YOLO: A High-Performance Detection Framework for Small Forestry Pests
Aoduo Li, Peikai Lin, Jiancheng Li, Zhen Zhang, Shiting Wu, Zexiao Liang, Zhifa Jiang
TL;DR
The paper tackles detecting extremely small forestry pests in complex UAV imagery, where targets are highly occluded and data are imbalanced. It introduces Forestpest-YOLO, a YOLOv8-based detector augmented with SPD-Conv for lossless downsampling, CSPOK for robust cross-scale fusion, and VarifocalLoss to focus learning on hard/high-quality samples. On the self-collected ForestPest dataset, the method achieves state-of-the-art performance, notably improving AP for small objects (AP_small = 0.131) and overall mAP (0.508), while maintaining practical compute costs. The work offers substantial advances for real-world forest monitoring and pest management, with implications for scalable, accurate remote-sensing-based ecological surveillance.
Abstract
Detecting agricultural pests in complex forestry environments using remote sensing imagery is fundamental for ecological preservation, yet it is severely hampered by practical challenges. Targets are often minuscule, heavily occluded, and visually similar to the cluttered background, causing conventional object detection models to falter due to the loss of fine-grained features and an inability to handle extreme data imbalance. To overcome these obstacles, this paper introduces Forestpest-YOLO, a detection framework meticulously optimized for the nuances of forestry remote sensing. Building upon the YOLOv8 architecture, our framework introduces a synergistic trio of innovations. We first integrate a lossless downsampling module, SPD-Conv, to ensure that critical high-resolution details of small targets are preserved throughout the network. This is complemented by a novel cross-stage feature fusion block, CSPOK, which dynamically enhances multi-scale feature representation while suppressing background noise. Finally, we employ VarifocalLoss to refine the training objective, compelling the model to focus on high-quality and hard-to-classify samples. Extensive experiments on our challenging, self-constructed ForestPest dataset demonstrate that Forestpest-YOLO achieves state-of-the-art performance, showing marked improvements in detecting small, occluded pests and significantly outperforming established baseline models.
