Haili Yang, Xilong Liao, Sai Liu, Shan Chen, Lan Li, Xinjun Hu, Jianping Tian, Liangliang Xie, Lei Fei
{"title":"基于cnn - lstm自关注随机森林特征选择模型的大曲发酵环境温湿度预测","authors":"Haili Yang, Xilong Liao, Sai Liu, Shan Chen, Lan Li, Xinjun Hu, Jianping Tian, Liangliang Xie, Lei Fei","doi":"10.1007/s12161-025-02868-x","DOIUrl":null,"url":null,"abstract":"<div><p>Accurate and uniform temperature and humidity within the Qu-room ensure the formation of the required flavor compounds and aroma substances in Daqu, which will ultimately determine the flavor of Chinese liquor. Thus, precisely controlling these parameters is the key to ensuring the quality of the Daqu. Aiming to reduce the temporal, nonlinear, and spatial variability of the fermentation environment and the data feedback lag, a CNN-LSTM-Self-attention model for the prediction of temperature and humidity in the fermentation environment of Daqu fermentation was developed. First, the random forest (RF) algorithm was utilized to select sensor point data within the Qu-room. Then, the CNN and LSTM components of the model learned the local features and long-term dependencies of the temperature and humidity time series, and the interactions between temperature and humidity were captured using the self-attention mechanism (SAM). When predicting the temperature of the Qu-room, the average <i>MAE</i>, <i>RMSE</i>, and <i>R</i><sup>2</sup> values of the CNN-LSTM-Self-attention model were 0.016, 0.012, and 0.991, respectively, and when predicting the humidity of the Qu-room, the average <i>MAE</i>, <i>RMSE</i>, and <i>R</i><sup>2</sup> values were 0.01, 0.014, and 0.989, respectively. Furthermore, the temperature and humidity values <i>R</i><sup>2</sup> values are 0.4–3% higher than the <i>R</i><sup>2</sup> values of LSTM, BiLSTM, and CNN-LSTM models. Moreover, the CNN-LSTM-Self-attention model was able to accuracy and efficiently predict variations in temperature and humidity in different fermentation stages and seasons. This method can effectively solve the hysteresis problem of traditional parameter acquisition and provide a reference for the feasible optimization quality control of Daqu fermentation.</p></div>","PeriodicalId":561,"journal":{"name":"Food Analytical Methods","volume":"18 10","pages":"2317 - 2330"},"PeriodicalIF":3.0000,"publicationDate":"2025-07-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Humidity and Temperature Prediction of Daqu Fermentation Environment Based on CNN-LSTM-Self-Attention Model with Random Forest Feature Selection\",\"authors\":\"Haili Yang, Xilong Liao, Sai Liu, Shan Chen, Lan Li, Xinjun Hu, Jianping Tian, Liangliang Xie, Lei Fei\",\"doi\":\"10.1007/s12161-025-02868-x\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><p>Accurate and uniform temperature and humidity within the Qu-room ensure the formation of the required flavor compounds and aroma substances in Daqu, which will ultimately determine the flavor of Chinese liquor. Thus, precisely controlling these parameters is the key to ensuring the quality of the Daqu. Aiming to reduce the temporal, nonlinear, and spatial variability of the fermentation environment and the data feedback lag, a CNN-LSTM-Self-attention model for the prediction of temperature and humidity in the fermentation environment of Daqu fermentation was developed. First, the random forest (RF) algorithm was utilized to select sensor point data within the Qu-room. Then, the CNN and LSTM components of the model learned the local features and long-term dependencies of the temperature and humidity time series, and the interactions between temperature and humidity were captured using the self-attention mechanism (SAM). When predicting the temperature of the Qu-room, the average <i>MAE</i>, <i>RMSE</i>, and <i>R</i><sup>2</sup> values of the CNN-LSTM-Self-attention model were 0.016, 0.012, and 0.991, respectively, and when predicting the humidity of the Qu-room, the average <i>MAE</i>, <i>RMSE</i>, and <i>R</i><sup>2</sup> values were 0.01, 0.014, and 0.989, respectively. Furthermore, the temperature and humidity values <i>R</i><sup>2</sup> values are 0.4–3% higher than the <i>R</i><sup>2</sup> values of LSTM, BiLSTM, and CNN-LSTM models. Moreover, the CNN-LSTM-Self-attention model was able to accuracy and efficiently predict variations in temperature and humidity in different fermentation stages and seasons. This method can effectively solve the hysteresis problem of traditional parameter acquisition and provide a reference for the feasible optimization quality control of Daqu fermentation.</p></div>\",\"PeriodicalId\":561,\"journal\":{\"name\":\"Food Analytical Methods\",\"volume\":\"18 10\",\"pages\":\"2317 - 2330\"},\"PeriodicalIF\":3.0000,\"publicationDate\":\"2025-07-28\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Food Analytical Methods\",\"FirstCategoryId\":\"97\",\"ListUrlMain\":\"https://link.springer.com/article/10.1007/s12161-025-02868-x\",\"RegionNum\":3,\"RegionCategory\":\"农林科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q2\",\"JCRName\":\"FOOD SCIENCE & TECHNOLOGY\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Food Analytical Methods","FirstCategoryId":"97","ListUrlMain":"https://link.springer.com/article/10.1007/s12161-025-02868-x","RegionNum":3,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"FOOD SCIENCE & TECHNOLOGY","Score":null,"Total":0}
Humidity and Temperature Prediction of Daqu Fermentation Environment Based on CNN-LSTM-Self-Attention Model with Random Forest Feature Selection
Accurate and uniform temperature and humidity within the Qu-room ensure the formation of the required flavor compounds and aroma substances in Daqu, which will ultimately determine the flavor of Chinese liquor. Thus, precisely controlling these parameters is the key to ensuring the quality of the Daqu. Aiming to reduce the temporal, nonlinear, and spatial variability of the fermentation environment and the data feedback lag, a CNN-LSTM-Self-attention model for the prediction of temperature and humidity in the fermentation environment of Daqu fermentation was developed. First, the random forest (RF) algorithm was utilized to select sensor point data within the Qu-room. Then, the CNN and LSTM components of the model learned the local features and long-term dependencies of the temperature and humidity time series, and the interactions between temperature and humidity were captured using the self-attention mechanism (SAM). When predicting the temperature of the Qu-room, the average MAE, RMSE, and R2 values of the CNN-LSTM-Self-attention model were 0.016, 0.012, and 0.991, respectively, and when predicting the humidity of the Qu-room, the average MAE, RMSE, and R2 values were 0.01, 0.014, and 0.989, respectively. Furthermore, the temperature and humidity values R2 values are 0.4–3% higher than the R2 values of LSTM, BiLSTM, and CNN-LSTM models. Moreover, the CNN-LSTM-Self-attention model was able to accuracy and efficiently predict variations in temperature and humidity in different fermentation stages and seasons. This method can effectively solve the hysteresis problem of traditional parameter acquisition and provide a reference for the feasible optimization quality control of Daqu fermentation.
期刊介绍:
Food Analytical Methods publishes original articles, review articles, and notes on novel and/or state-of-the-art analytical methods or issues to be solved, as well as significant improvements or interesting applications to existing methods. These include analytical technology and methodology for food microbial contaminants, food chemistry and toxicology, food quality, food authenticity and food traceability. The journal covers fundamental and specific aspects of the development, optimization, and practical implementation in routine laboratories, and validation of food analytical methods for the monitoring of food safety and quality.