食品科学 ›› 2026, Vol. 47 ›› Issue (18): 303-313.doi: 10.7506/spkx1002-6630-20260112-094

• 安全检测 • 上一篇    

近红外光谱结合机器学习算法快速检测大米中赭曲霉污染

谢清怡,徐洪文,于志龙,谢云飞*   

  1. (江南大学食品学院,江苏 无锡 214122)
  • 发布日期:2026-09-29
  • 基金资助:
    国家自然科学基金国际(地区)合作与交流项目(32261133623); “十四五”国家重点研发计划重点专项(2022YFF1100803)

Rapid Detection of Aspergillus ochraceus Contamination in Rice Using Near-Infrared Spectroscopy Combined with Machine Learning Algorithms

XIE Qingyi, XU Hongwen, YU Zhilong, XIE Yunfei   

  1. (School of Food Science and Technology, Jiangnan University, Wuxi 214122, China)
  • Published:2026-09-29

摘要: 本研究提出一种近红外光谱与机器学习算法结合的大米赭曲霉污染快速检测方法,旨在实现大米中赭曲霉菌落总数的高效定量预测。以接种赭曲霉的大米为研究对象,模拟储藏过程中霉菌侵染,采集不同霉变阶段的漫反射光谱数据,并通过平板计数法测定霉菌总数。为提升光谱数据质量,采用移动平均(moving average,MA)、平滑滤波(Savitzky-Golay,SG)、标准正态变量变换、归一化和一阶导数进行预处理,以减少噪声和散射效应。同时,利用竞争自适应重加权采样、连续投影算法与遗传算法(genetic algorithm,GA)3 种特征提取方法筛选关键波长,进一步优化数据特征。随后,分别采用偏最小二乘回归、卷积神经网络和极限学习机(extreme learning machine,ELM)模型对赭曲霉菌落总数进行定量建模与比较评估。结果表明,MA与SG预处理有效提高了光谱信噪比,增强了模型的预测能力。3 种特征提取算法均成功降低了光谱维度,并有效提取与霉菌总数相关的关键波长。ELM模型在处理非线性和高维光谱数据方面展现出显著优势,其中SG-GA-ELM模型的预测性能最佳(RC2=0.985 8,RP2=0.977 0,校正均方根误差=0.167 2,预测均方根误差=0.203 1),实现了对赭曲霉菌落总数的高精度预测。本研究验证了近红外光谱与机器学习算法结合在大米赭曲霉污染检测中的可行性,为粮食储藏中的霉菌污染提供了新的无损、快速、智能化监测手段。该方法具有在粮食安全监测、仓储管理及在线质量控制领域的广泛应用前景。

关键词: 赭曲霉;近红外光谱;机器学习算法;无损检测;定量预测模型

Abstract: This study proposes a rapid detection method for Aspergillus ochraceus contamination in rice, combining near-infrared spectroscopy (NIRS) with machine learning algorithms, aiming to efficiently predict the total fungal count in stored rice. In this study, rice inoculated with A. ochraceus was used to simulate fungal infection during storage. Diffuse reflectance spectral data of rice samples at different stages of fungal growth were collected, and the fungal count was determined using the plate counting method. To improve the quality of the spectral data, moving average (MA), Savitzky-Golay (SG), standard normal variate (SNV), normalization (Nor), and the first derivative (FD) were applied for preprocessing to reduce noise and scattering effects. Additionally, three feature extraction methods, competitive adaptive reweighted sampling (CARS), successive projection algorithm (SPA), and genetic algorithm (GA), were used to select key wavelengths for further data optimization. Subsequently, partial least squares regression (PLSR), convolutional neural network (CNN), and extreme learning machine (ELM) were used for quantitative modeling of fungal counts, and their performance was compared. The results showed that MA and SG preprocessing effectively improved the signal-to-noise ratio of the spectra, thereby enhancing the predictive ability of the models. All three feature extraction algorithms successfully reduced the spectral dimensionality and identified key wavelengths related to the total fungal count. ELM showed significant advantages in handling nonlinear and high-dimensional spectral data, and the SG-GA-ELM model exhibited the best predictive performance (RC2 = 0.985 8, RP2 = 0.977 0, RMSEC = 0.167 2, RMSEP = 0.203 1), enabling high-precision prediction of the total A. ochraceus count. This study validates the feasibility of combining near-infrared spectroscopy with machine learning algorithms for the detection of A. ochraceus contamination in rice, providing a new, non-destructive, rapid, and intelligent monitoring approach for fungal contamination in stored grains. The proposed method holds great potential for applications in food safety monitoring, storage management, and online quality control of grains.

Key words: Aspergillus ochraceus; near-infrared spectroscopy; machine learning algorithms; non-destructive detection; quantitative prediction models

中图分类号: