Yu Haifeng, Luo Qingting, Peng Wei, Zheng Lingyi, Ju Jingjing, Zhuo Hui
College of Information and Intelligence, Hunan Agricultural University, Changsha 410128, China.
Sensors (Basel). 2025 Aug 13;25(16):5004. doi: 10.3390/s25165004.
As an important oil and vegetable crop, rapeseed is widely planted and has important economic value worldwide. Rapeseed is often threatened by various pests during its growth. In order to effectively deal with rapeseed pests, this paper proposes a lightweight method based on collaborative compression learning. This method uses YOLOv8s as the basic model, combines model structure analysis and pruning sensitivity evaluation, and implements structured pruning to compress the model size. The Logit distillation method is integrated with the improved generative distillation method MGD, and the LMGD distillation strategy is proposed to enhance the student model's ability to fit the teacher model's feature expression. In order to verify the effectiveness of the proposed method, we built a rapeseed pest dataset (ACEFP) and conducted experiments. The improved model achieved 96.7% mAP@0.5, 93.2% accuracy, and 92.7% recall, while the parameter size was compressed from 11.2 MB to 4.4 MB, and the FLOPs were reduced from 28.3 G to 10.01 G, which were reduced by about 60.7% and 64.6%, respectively, and the accuracy was only reduced by 0.1%. The model achieved a measured frame rate of 11.76 FPS on the Jetson Nano edge device, demonstrating excellent real-time inference performance.
作为一种重要的油料和蔬菜作物,油菜在全球广泛种植且具有重要的经济价值。油菜在生长过程中常受到各种害虫的威胁。为了有效应对油菜害虫,本文提出了一种基于协同压缩学习的轻量级方法。该方法以YOLOv8s作为基础模型,结合模型结构分析和剪枝敏感度评估,实施结构化剪枝以压缩模型大小。将Logit蒸馏方法与改进的生成式蒸馏方法MGD相结合,提出LMGD蒸馏策略以增强学生模型拟合教师模型特征表达的能力。为了验证所提方法的有效性,我们构建了一个油菜害虫数据集(ACEFP)并进行了实验。改进后的模型实现了96.7%的mAP@0.5、93.2%的准确率和92.7%的召回率,同时参数大小从11.2 MB压缩至4.4 MB,FLOPs从28.3 G减少至10.01 G,分别减少了约60.7%和64.6%,而准确率仅降低了0.1%。该模型在Jetson Nano边缘设备上实现了11.76 FPS的实测帧率,展示了出色的实时推理性能。