Using Knowledge-Guided Temperature Correction for Online Non-Destructive Detection of Soluble Solids Content in Pear Via Vis/NIR Spectroscopy
Zhizhong Sun,Jie Yang,Dong Hu,Hao Tian,Yibin Ying,Lijuan Xie
DOI: https://doi.org/10.1016/j.postharvbio.2024.113178
IF: 6.751
2024-01-01
Postharvest Biology and Technology
Abstract:Environmental and instrumental factors can cause variations in sample temperature, which may affect the predictive performance of models that use online Vis/NIR spectroscopy to predict the soluble solids content (SSC) of fresh fruit, an important quality indicator that influences their price. This study proposed a knowledge-guided (KG) temperature correction method based on one-dimensional convolutional neural network (1D-CNN) to reduce the impact of sample temperature on the SSC prediction model. First, a 1D-CNN was developed for prediction of temperature from spectra, and gradient-weighted class activation mapping was used to identify features related to temperature. These features, which were sensitive to temperature variations, were used to suppress temperature-sensitive bands and generated new spectra that were less affected by temperature. Subsequently, these new spectra were utilized to construct the partial least squares (PLS) model to predict SSC. To validate the efficacy of the proposed method, it was compared with the external parameter orthogonal method (EPO), competitive adaptive reweighted sampling (CARS) and successive projection algorithm (SPA) in terms of SSC prediction performance. The results indicated that while KG-PLS does not enhance the performance of local models on local (a specific temperature) testing sets, it can improve their performance on external (temperatures other than the specific temperature) testing sets. The root mean square error of cross validation (RMSECV) for SSC of local model at 15 degree celsius using KG-PLS was 0.415 %, which was 0.196 %, 0.166 %, 0.169 %, and 0.065 % lower than the RMSECV obtained by PLS (0.611 %), CARS-PLS (0.581 %), SPA-PLS (0.584 %), and EPO-PLS (0.480 %), respectively. In general, the proposed KG method can effectively mitigate the impact of temperature interference on spectral modeling, providing a reference for high-precision online non-destructive sorting of fruit quality.