食品科学

• •    下一篇

基于深度学习的糯高粱与非糯高粱中红外光谱分类方法

赵鹏举1,黄箭1,汪兴明1,张倩1,邓霖1,陈钰羊1,罗青春1,李僖1,谢正敏1,雷学俊2,卢彦坪3,苏建1,赵东2,郑佳4   

  1. 1. 宜宾五粮液股份有限公司
    2. 宜宾五粮液股份有限公司技术研究中心
    3. 四川宜宾五粮液股份有限公司
    4. 五粮液技术研究中心
  • 收稿日期:2026-05-19 修回日期:2026-08-04 出版日期:2026-09-22 发布日期:2026-09-22
  • 通讯作者: 郑佳
  • 基金资助:
    宜宾市科技计划项目

Deep Learning-Based Classification Method for Mid-Infrared Spectra of Waxy and Non-Waxy Sorghum

  • Received:2026-05-19 Revised:2026-08-04 Online:2026-09-22 Published:2026-09-22
  • Contact: Jia ZHANG

摘要: 高粱糯性直接影响白酒酿造工艺与产品稳定性,而传统理化判别方法耗时、依赖实验条件,难以满足快速高通量检测需求。为探索中红外光谱判别糯高粱和非糯高粱的可行性,本研究采集并构建了包含811条中红外光谱的数据集。本文提出一维残差卷积网络MIR-SWaNNet,先在多种网络架构与学习率下进行初筛,再对优选模型结合标准正态变量变换(SNV)预处理构成分类流程。为避免同一颗样本的多条光谱跨越训练/测试集,采用按样本分组的5折交叉验证,并与多层感知机(MLP)、循环神经网络(RNN)、长短期记忆网络(LSTM)、标准一维ResNet及PLS-DA、支持向量机(SVM)等方法系统对比。结果表明,本文方法取得最优梯队的判别精度(按样本准确率为96.2%),并以约1/8的参数量达到与标准一维ResNet相当的水平。基于改进的一维Grad-CAM的可解释性分析显示,模型对糯/非糯的关注在糖苷键、O?H等淀粉相关谱段存在统计显著差异(p<0.05)。本研究为酿酒原料鉴别与食品品控中的快速检测提供了可行的技术路线。

关键词: 中红外光谱, 糯高粱, 非糯高粱, 深度学习, 谱分类

Abstract: Sorghum waxiness directly affects the brewing process and product stability of Baijiu, whereas conventional physicochemical determination is time-consuming and laboratory-dependent, making it unsuitable for rapid, high-throughput detection. To explore the feasibility of discriminating waxy and non-waxy sorghum using mid-infrared (MIR) spectroscopy, we collected and constructed a dataset of 811 MIR spectra. We propose a one-dimensional residual convolutional network, MIR-SWaNNet; candidate architectures and learning rates were first screened, and the selected model was then combined with standard normal variate (SNV) preprocessing to form the classification pipeline. To prevent multiple spectra of the same grain from spanning the training and test sets, sample-wise grouped 5-fold cross-validation was adopted, and the method was systematically compared with a multilayer perceptron (MLP), recurrent neural network (RNN), long short-term memory network (LSTM), a standard 1D-ResNet, and traditional methods such as PLS-DA and support vector machine (SVM). Results show that the proposed method achieves a top-tier sample-level discrimination accuracy of 96.2% and reaches a level comparable to a standard 1D-ResNet with only about one-eighth of the parameters. Interpretability analysis based on an improved one-dimensional Grad-CAM reveals statistically significant differences (p < 0.05) between waxy and non-waxy samples in starch-related bands such as the glycosidic-bond and O?H regions. This study provides a feasible technical route for raw-material identification in the brewing industry and for rapid detection in food quality control.

Key words: mid-infrared spectroscopy, waxy sorghum, non-waxy sorghum, deep learning, spectral classification

中图分类号: