基于少样本学习的酿酒葡萄品种鉴定方法

    Few-shot learning for identifying wine grape varieties with limited data

    • 摘要: 酿酒葡萄品种的精确鉴定是实现葡萄园智慧化管理的关键环节。针对品种鉴定过程中,标注数据需求量大、成本高昂且对新品种适应性不足的问题,该研究提出了一种基于少样本学习的两阶段品种鉴定方法。首先,为了减少复杂背景对少样本学习模型的干扰,构建了Deeplabv3+语义分割模型,实现了前景叶片的精细提取;其次,采用基于度量的元学习方法,采用基于MobileNetV2网络结构并融合注意力机制设计的Mobile-CS作为主干网络,实现了在少样本条件下品种的准确鉴定,并在新的品种鉴定任务中快速适应。试验结果表明,Deeplabv3+模型在叶片分割上实现了97.52%的平均交并比;少样本学习模型在5-way 5-shot任务上达到了80.06%的平均准确率,优于经典卷积神经网络结构和经典少样本学习的方法。该研究的两阶段品种鉴定方法具有较高的识别准确率和较强的泛化能力,能够为农业领域的智能识别技术提供新的解决方案。

       

      Abstract: As a significant economic crop, the precise identification of wine grape varieties is imperative for effective vineyard management and ensuring the quality of the wine industry.Addressing the challenges posed by the high demand for labeled data, the substantial costs, and the lack of adaptability to new varieties in the variety identification process, this study proposes a two-phase variety identification method based on few-sample learning. This method comprises a prospect extraction phase and a meta-learning phase. First, to mitigate the impact of complex backgrounds on the few-sample learning model, a Deeplabv3+ semantic segmentation model was developed, and the segmented image underwent post-processing, specifically, image cropping was performed to enlarge the pixel area of the leaves in the image, to facilitate the precise extraction of the foreground leaves, and to provide high-quality image inputs for the subsequent model. Second, meta-learning based on the measure of method to This involves measuring the similarity between the samples in the support set and the samples in the query set to recognize variety, and the meta-learning process employs Mobile-CS as the backbone network. The Mobile-CS network is based on the enhancement of MobileNetV2 network structure, which lightens the original network, removes a bottleneck structure, and integrates the CBAM attention mechanism. This enables precise identification of varieties under sample-limited conditions and rapid adaptation in new variety identification tasks. This study constructed a wine grape leaf image dataset containing 30 varieties, with a total of 5,908 field-collected raw images used as experiments. The experimental findings demonstrate that the Deeplabv3+ model attains an average intersection ratio of 97.52% and a pixel accuracy of 98.98% for leaf segmentation, thereby demonstrating its capacity for precise leaf segmentation. In experiments involving limited data samples, the two-stage method proposed in this study attains an average accuracy of 62.27% on the 5-way 1-shot task and 80.06% on the 5-way 5-shot task, which is a superior performance compared with other few-sample learning methods. Furthermore, the backbone network constructed in this study not only has a better performance but also has a smaller number of parameters compared with the classical convolutional neural network. The study also verified the interference of complex background on the few-sample learning model. The accuracy of the dataset after the foreground extraction stage on the 5-way 1-shot task was improved by 11.83 percentage points compared to the original dataset.Ablation experiments were also conducted in this study, demonstrating that the lightweight treatment of the original MobileNetV2 structure and the fusion of the attention mechanism can improve the performance of the model. To assess the generalizability of the model, this study employed a publicly available dataset, Leafsnap, for external validation. The models trained in this study demonstrated 1-shot and 5-shot accuracies of 74.21% and 87.60%, respectively, on the Leafsnap dataset, thereby substantiating their superior generalizability. Finally, the model was qualitatively evaluated in this study using T-SNE visualization, and the Mobile-CS-touched data could be well separated in low-dimensional space. The two-stage variety identification method employed in this research has been shown to have high recognition accuracy and strong generalization ability. This suggests that it has the potential to provide a new solution for intelligent identification technology in the field of agriculture. Future research will combine this method with practical equipment for model testing and optimization. The goal of this combination is to promote the practical application of the technology in agricultural production.

       

    /

    返回文章
    返回