School of Computer Science and Technology, Zhejiang Sci-Tech University, Hangzhou 310018, China.
Sensors (Basel). 2023 Jan 6;23(2):678. doi: 10.3390/s23020678.
Soybean plays an important role in food, medicine, and industry. The quality inspection of soybean is essential for soybean yield and the agricultural economy. However, soybean pest is an important factor that seriously affects soybean yield, among which leguminivora glycinivorella matsumura is the most frequent pest. Aiming at the problem that the traditional detection methods have low accuracy and need a large number of samples to train the model, this paper proposed a detection method for leguminivora glycinivorella matsumura based on an A-ResNet (Attention-ResNet) meta-learning model. In this model, the ResNet network was combined with Attention to obtain the feature vectors that can better express the samples, so as to improve the performance of the model. As well, the classifier was designed as a multi-class support vector machine (SVM) to reduce over-fitting. Furthermore, in order to improve the training stability of the model and the prediction performance on the testing set, the traditional Batch Normalization was replaced by the Layer Normalization, and the Label Smooth method was used to punish the original loss. The experimental results showed that the accuracy of the A-ResNet meta-learning model reached 94.57 ± 0.19%, which can realize rapid and accurate nondestructive detection, and provides theoretical support for the intelligent detection of soybean pests.
大豆在食品、医药和工业中都有重要的作用。大豆的质量检测对大豆的产量和农业经济都至关重要。然而,大豆害虫是严重影响大豆产量的一个重要因素,其中豆荚野螟是最常见的害虫。针对传统检测方法准确率低且需要大量样本进行模型训练的问题,本文提出了一种基于 A-ResNet(注意力-ResNet)元学习模型的豆荚野螟检测方法。在该模型中,将 ResNet 网络与注意力机制相结合,得到了能够更好地表示样本的特征向量,从而提高了模型的性能。此外,分类器设计为多类支持向量机(SVM),以减少过拟合。为了提高模型的训练稳定性和测试集上的预测性能,用层归一化(Layer Normalization)替代了传统的批量归一化(Batch Normalization),并使用标签平滑(Label Smooth)方法来惩罚原始损失。实验结果表明,A-ResNet 元学习模型的准确率达到 94.57±0.19%,可以实现快速、准确的无损检测,为大豆害虫的智能检测提供了理论支持。