Zhizhong Sun , Jie Yang , Yang Yao , Dong Hu , Yibin Ying , Junxian Guo , Lijuan Xie
{"title":"基于知识引导的西瓜可溶性固形物含量可见光/近红外光谱检测温度校正方法","authors":"Zhizhong Sun , Jie Yang , Yang Yao , Dong Hu , Yibin Ying , Junxian Guo , Lijuan Xie","doi":"10.1016/j.aiia.2025.01.004","DOIUrl":null,"url":null,"abstract":"<div><div>Visible/near-infrared (Vis/NIR) spectroscopy technology has been extensively utilized for the determination of soluble solids content (SSC) in fruits. Nonetheless, the spectral distortion resulting from temperature variations in the sample leads to a decrease in detection accuracy. To mitigate the influence of temperature fluctuations on the accuracy of SSC detection in fruits, using watermelon as an example, this study presents a knowledge-guided temperature correction method utilizing one-dimensional convolutional neural networks (1D-CNN). This method consists of two stages: the first stage involves utilizing 1D-CNN models and gradient-weighted class activation mapping (Grad-CAM) method to acquire gradient-weighted features correlating with temperature. The second stage involves mapping these features and integrating them with the original Vis/NIR spectrum, and then train and test the partial least squares (PLS) model. This knowledge-guided method can identify wavelength bands with high temperature correlation in the Vis/NIR spectra, offering valuable guidance for spectral data processing. The performance of the PLS model constructed using the 15 °C spectrum guided by this method is superior to that of the global model, and can reduce the root mean square error of the prediction set (RMSEP) to 0.324°Brix, which is 32.5 % lower than the RMSEP of the global model (0.480°Brix). The method proposed in this study has superior temperature correction effects than slope and bias correction, piecewise direct standardization, and external parameter orthogonalization correction methods. The results indicate that the knowledge-guided temperature correction method based on deep learning can significantly enhance the detection accuracy of SSC in watermelon, providing valuable reference for the development of PLS calibration methods.</div></div>","PeriodicalId":52814,"journal":{"name":"Artificial Intelligence in Agriculture","volume":"15 1","pages":"Pages 88-97"},"PeriodicalIF":8.2000,"publicationDate":"2025-01-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Knowledge-guided temperature correction method for soluble solids content detection of watermelon based on Vis/NIR spectroscopy\",\"authors\":\"Zhizhong Sun , Jie Yang , Yang Yao , Dong Hu , Yibin Ying , Junxian Guo , Lijuan Xie\",\"doi\":\"10.1016/j.aiia.2025.01.004\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>Visible/near-infrared (Vis/NIR) spectroscopy technology has been extensively utilized for the determination of soluble solids content (SSC) in fruits. Nonetheless, the spectral distortion resulting from temperature variations in the sample leads to a decrease in detection accuracy. To mitigate the influence of temperature fluctuations on the accuracy of SSC detection in fruits, using watermelon as an example, this study presents a knowledge-guided temperature correction method utilizing one-dimensional convolutional neural networks (1D-CNN). This method consists of two stages: the first stage involves utilizing 1D-CNN models and gradient-weighted class activation mapping (Grad-CAM) method to acquire gradient-weighted features correlating with temperature. The second stage involves mapping these features and integrating them with the original Vis/NIR spectrum, and then train and test the partial least squares (PLS) model. This knowledge-guided method can identify wavelength bands with high temperature correlation in the Vis/NIR spectra, offering valuable guidance for spectral data processing. The performance of the PLS model constructed using the 15 °C spectrum guided by this method is superior to that of the global model, and can reduce the root mean square error of the prediction set (RMSEP) to 0.324°Brix, which is 32.5 % lower than the RMSEP of the global model (0.480°Brix). The method proposed in this study has superior temperature correction effects than slope and bias correction, piecewise direct standardization, and external parameter orthogonalization correction methods. The results indicate that the knowledge-guided temperature correction method based on deep learning can significantly enhance the detection accuracy of SSC in watermelon, providing valuable reference for the development of PLS calibration methods.</div></div>\",\"PeriodicalId\":52814,\"journal\":{\"name\":\"Artificial Intelligence in Agriculture\",\"volume\":\"15 1\",\"pages\":\"Pages 88-97\"},\"PeriodicalIF\":8.2000,\"publicationDate\":\"2025-01-09\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Artificial Intelligence in Agriculture\",\"FirstCategoryId\":\"1087\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S2589721725000042\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"AGRICULTURE, MULTIDISCIPLINARY\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Artificial Intelligence in Agriculture","FirstCategoryId":"1087","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2589721725000042","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0
摘要
可见/近红外(Vis/NIR)光谱技术已广泛应用于水果中可溶性固形物含量的测定。尽管如此,样品中温度变化引起的光谱失真导致检测精度降低。为了减轻温度波动对水果中SSC检测精度的影响,本研究以西瓜为例,提出了一种基于一维卷积神经网络(1D-CNN)的知识引导温度校正方法。该方法分为两个阶段:第一阶段利用1D-CNN模型和梯度加权类激活映射(gradient-weighted class activation mapping, Grad-CAM)方法获取与温度相关的梯度加权特征。第二阶段涉及映射这些特征并将它们与原始的Vis/NIR光谱进行整合,然后训练和测试偏最小二乘(PLS)模型。这种知识引导方法可以识别出可见光/近红外光谱中具有高温相关的波段,为光谱数据处理提供了有价值的指导。利用该方法指导的15°C光谱构建的PLS模型的性能优于全局模型,预测集的均方根误差(RMSEP)降至0.324°Brix,比全局模型的RMSEP(0.480°Brix)低32.5%。该方法的温度校正效果优于斜率和偏置校正、分段直接标准化和外部参数正交化校正方法。结果表明,基于深度学习的知识引导温度校正方法可以显著提高西瓜中SSC的检测精度,为PLS校正方法的开发提供了有价值的参考。
Knowledge-guided temperature correction method for soluble solids content detection of watermelon based on Vis/NIR spectroscopy
Visible/near-infrared (Vis/NIR) spectroscopy technology has been extensively utilized for the determination of soluble solids content (SSC) in fruits. Nonetheless, the spectral distortion resulting from temperature variations in the sample leads to a decrease in detection accuracy. To mitigate the influence of temperature fluctuations on the accuracy of SSC detection in fruits, using watermelon as an example, this study presents a knowledge-guided temperature correction method utilizing one-dimensional convolutional neural networks (1D-CNN). This method consists of two stages: the first stage involves utilizing 1D-CNN models and gradient-weighted class activation mapping (Grad-CAM) method to acquire gradient-weighted features correlating with temperature. The second stage involves mapping these features and integrating them with the original Vis/NIR spectrum, and then train and test the partial least squares (PLS) model. This knowledge-guided method can identify wavelength bands with high temperature correlation in the Vis/NIR spectra, offering valuable guidance for spectral data processing. The performance of the PLS model constructed using the 15 °C spectrum guided by this method is superior to that of the global model, and can reduce the root mean square error of the prediction set (RMSEP) to 0.324°Brix, which is 32.5 % lower than the RMSEP of the global model (0.480°Brix). The method proposed in this study has superior temperature correction effects than slope and bias correction, piecewise direct standardization, and external parameter orthogonalization correction methods. The results indicate that the knowledge-guided temperature correction method based on deep learning can significantly enhance the detection accuracy of SSC in watermelon, providing valuable reference for the development of PLS calibration methods.