基于深度学习模型的红茶发酵品质精准判定

    Accurate discrimination of black tea fermentation quality using deep learning model

    • 摘要: 为破解当前红茶发酵品质把控因依赖人工经验而存在的随意性突出、客观性不足等瓶颈,以及大模型在实际生产环境中部署面临着诸多限制这一产业痛点,该文基于机器视觉技术提出一种改进的深度学习模型精准判别红茶发酵品质。首先试验对比所选7种卷积神经网络模型,兼顾判别性能与模型复杂度,选定学生模型与教师模型。其次,对学生模型与教师模型更换优化器与损失函数。最后,采用SoftTarget方法在不同知识蒸馏损失系数下进行知识蒸馏试验。改进模型在不增加模型复杂度与不改变模型速度的情况下,对红茶发酵品质判别的准确度、精确率、召回率、F1分别为96.93%、95.15%、95.79%、95.46%,相较于基础学生模型,分别提升2.01、2.67、3.72、3.19个百分点。该研究实现了红茶发酵品质的精准把控,为红茶的数智化加工提供有力的技术支持。

       

      Abstract: Black tea is the second largest type of tea in China. Four stages are involved during black tea processing, such as the withering, rolling, fermentation, and drying. Among them, the fermentation can be closely related to the color and taste of black tea. Furthermore, the quality of black tea after fermentation can dominate its market value. In addition, the black tea with moderate fermentation is less prone to spoilage during storage. Mild fermentation or excessive fermentation can decrease in the preservation of tea, making them susceptible to external influencing factors on the unique quality of black tea. Therefore, it is often required for the precise control over the fermentation quality of black tea. At present, the fermentation quality of black tea can rely mainly on the experience of tea makers in "observing color, smelling aroma, and touching texture", which is highly arbitrary and subjective task. The quality of black tea has been limited to the standardization in production. In this study, an improved deep learning model was proposed to accurately evaluate the fermentation quality of black tea using image features and machine vision technology. The deployment of the model was considered under actual production environments. Firstly, the experimental comparisons were conducted on the seven models of convolutional neural network under the same conditions. Among them, the Ghostnet model shared the best discriminative performance, in order to select as the teacher model. Mobilenetv3_small was used as the student model after comparison, considering both the discriminative performance and complexity of the model. Secondly, a series of experiments were conducted to compare the discriminative performance, taking the AdamW, SGD, and RMSProp as the research objects. After that, the student and teacher model were replaced with RMSProp optimizer. The discriminative performance of the model was balanced between its complexity or speed. Afterwards, the loss functions of the student model Mobilenetv3_small and the teacher model Ghostnet were simultaneously changed into the CE Loss. Their discriminative performance was further improved for the less complexity of the models. There was the range of knowledge distillation loss ratio between 0.1 and 2.0. Knowledge distillation experiments were performed on the student model under SoftTarget using the teacher model. The results showed that the discrimination performance was significantly improved to maintain the complexity and speed, when the knowledge distillation loss ratio was 0.4, 1.7, and 1.9. In contrast, the discriminative performance of the model was improved the most, when knowledge distillation loss ratio was 1.9. The improved model was achieved in the Accuracy, Precision, Recall, and F1 of 96.93%, 95.15%, 95.79%, and 95.46%, respectively. These scores increased by 2.01, 2.67, 3.72 and 3.19 percentage points, respectively, compared with the original model. The fermentation quality of black tea can be precisely controlled to fully meet the fermentation quality of the black tea. The finding can also provide the strong technical support for the digital and intelligent processing of black tea.

       

    /

    返回文章
    返回