Zhang Chong, Hu Zhuhua, Xu Lewei, Zhao Yaochi
School of Information and Communication Engineering, State Key Laboratory of Marine Resource Utilization in South China Sea, Hainan University, Haikou, China.
School of Cyberspace Security, State Key Laboratory of Marine Resource Utilization in South China Sea, Hainan University, Haikou, China.
Front Plant Sci. 2023 Jun 5;14:1174556. doi: 10.3389/fpls.2023.1174556. eCollection 2023.
Major pests of corn insects include corn borer, armyworm, bollworm, aphid, and corn leaf mites. Timely and accurate detection of these pests is crucial for effective pests control and scientific decision making. However, existing methods for identification based on traditional machine learning and neural networks are limited by high model training costs and low recognition accuracy. To address these problems, we proposed a YOLOv7 maize pests identification method incorporating the Adan optimizer. First, we selected three major corn pests, corn borer, armyworm and bollworm as research objects. Then, we collected and constructed a corn pests dataset by using data augmentation to address the problem of scarce corn pests data. Second, we chose the YOLOv7 network as the detection model, and we proposed to replace the original optimizer of YOLOv7 with the Adan optimizer for its high computational cost. The Adan optimizer can efficiently sense the surrounding gradient information in advance, allowing the model to escape sharp local minima. Thus, the robustness and accuracy of the model can be improved while significantly reducing the computing power. Finally, we did ablation experiments and compared the experiments with traditional methods and other common object detection networks. Theoretical analysis and experimental result show that the model incorporating with Adan optimizer only requires 1/2-2/3 of the computing power of the original network to obtain performance beyond that of the original network. The mAP@[.5:.95] (mean Average Precision) of the improved network reaches 96.69% and the precision reaches 99.95%. Meanwhile, the mAP@[.5:.95] was improved by 2.79%-11.83% compared to the original YOLOv7 and 41.98%-60.61% compared to other common object detection models. In complex natural scenes, our proposed method is not only time-efficient and has higher recognition accuracy, reaching the level of SOTA.
玉米害虫主要包括玉米螟、黏虫、棉铃虫、蚜虫和玉米叶螨。及时准确地检测这些害虫对于有效防治害虫和科学决策至关重要。然而,现有的基于传统机器学习和神经网络的识别方法受到模型训练成本高和识别准确率低的限制。为了解决这些问题,我们提出了一种结合Adan优化器的YOLOv7玉米害虫识别方法。首先,我们选择了三种主要的玉米害虫,即玉米螟、黏虫和棉铃虫作为研究对象。然后,我们通过数据增强收集并构建了一个玉米害虫数据集,以解决玉米害虫数据稀缺的问题。其次,我们选择YOLOv7网络作为检测模型,并提出用Adan优化器替换YOLOv7原来的优化器,因为其计算成本高。Adan优化器可以提前有效地感知周围的梯度信息,使模型能够逃离尖锐的局部最小值。因此,可以在显著降低计算能力的同时提高模型的鲁棒性和准确性。最后,我们进行了消融实验,并将实验结果与传统方法和其他常见目标检测网络进行了比较。理论分析和实验结果表明,结合Adan优化器的模型仅需原网络1/2至2/3的计算能力就能获得超越原网络的性能。改进后的网络的mAP@[.5:.95](平均精度均值)达到96.69%,精确率达到99.95%。同时,与原YOLOv7相比,mAP@[.5:.95]提高了2.79% - 11.83%,与其他常见目标检测模型相比提高了41.98% - 60.61%。在复杂的自然场景中,我们提出的方法不仅效率高,而且具有更高的识别准确率,达到了当前最优水平。