An Optimized Bidirectional Long Short‐Term Memory Model Based on Hyperspectral Analysis of Protein Content in Milk Powder

Protein content is an important index in the assessment of dairy nutrition. As a crucial source of protein absorption in people's daily life, the quality of milk powder products not only has a deep impact on the development of the dairy industry, but also seriously damages the health of consumers. It is of great significance to find a faster and more accurate method for detecting milk protein content. This paper utilizes the chemical content of milk powder and hyperspectral data as independent variables. By comparing 14 kinds of preprocessing algorithms, the mean-centered (MC) method is selected to preprocess the data, and then the combined method of competitive adaptive reweighted sampling (CARS) and uninformative variable elimination (UVE) is used to screen the feature wavelength, so as to establish the model and learn the internal dynamic change law of the feature. Furthermore, the Attention mechanism was introduced to assign different weights to bidirectional long short-term memory (BiLSTM) hidden states through mapping weighting and learning parameter matrix. To reduce the loss of information and strengthen the influence of important information, at the same time, in order to solve the difficult problem of hyperparameter selection of the model, the whale optimization algorithm (WOA) is proposed to optimize the hyperparameter selection of the model. The test results showed that with WOA-BiLSTM-Attention model algorithm, the coefficient of determination (<i>R</i> <sup>2</sup>) of 0.9975 and root mean square error (RMSEP) of 0.0337 in comparison with <i>R</i> <sup>2</sup> and RMSEP values obtained from BiLSTM-Attention model algorithm, which were higher by 0.799% lower by 56.5%, respectively. This study provides algorithm support and theoretical basis for fast non-destructive testing based on deep learning algorithm to predict protein content in milk powder.

Authors

Institutions

Publication Details

Journal
Food Science & Nutrition
Published
2024-12-10
DOI
https://doi.org/10.1002/fsn3.4556
Citations
2
Primary Topic
Spectroscopy and Chemometric Analyses
Type
article
Field-Weighted Citation Impact
0.47

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

An Optimized Bidirectional Long Short‐Term Memory Model Based on Hyperspectral Analysis of Protein Content in Milk Powder

Xinhua Jiang, Heru Xue, Jiangping Liu, Wenjing Zhang
2 citations
Food Science & Nutrition
Spectroscopy and Chemometric Analyses
0.47
article

An Optimized Bidirectional Long Short‐Term Memory Model Based on Hyperspectral Analysis of Protein Content in Milk Powder

Xinhua Jiang, Heru Xue, Jiangping Liu, Wenjing Zhang
article en
2 citations

Abstract

Protein content is an important index in the assessment of dairy nutrition. As a crucial source of protein absorption in people's daily life, the quality of milk powder products not only has a deep impact on the development of the dairy industry, but also seriously damages the health of consumers. It is of great significance to find a faster and more accurate method for detecting milk protein content. This paper utilizes the chemical content of milk powder and hyperspectral data as independent variables. By comparing 14 kinds of preprocessing algorithms, the mean-centered (MC) method is selected to preprocess the data, and then the combined method of competitive adaptive reweighted sampling (CARS) and uninformative variable elimination (UVE) is used to screen the feature wavelength, so as to establish the model and learn the internal dynamic change law of the feature. Furthermore, the Attention mechanism was introduced to assign different weights to bidirectional long short-term memory (BiLSTM) hidden states through mapping weighting and learning parameter matrix. To reduce the loss of information and strengthen the influence of important information, at the same time, in order to solve the difficult problem of hyperparameter selection of the model, the whale optimization algorithm (WOA) is proposed to optimize the hyperparameter selection of the model. The test results showed that with WOA-BiLSTM-Attention model algorithm, the coefficient of determination (<i>R</i> <sup>2</sup>) of 0.9975 and root mean square error (RMSEP) of 0.0337 in comparison with <i>R</i> <sup>2</sup> and RMSEP values obtained from BiLSTM-Attention model algorithm, which were higher by 0.799% lower by 56.5%, respectively. This study provides algorithm support and theoretical basis for fast non-destructive testing based on deep learning algorithm to predict protein content in milk powder.

Food Science & NutritionVol. 13(1)
Inner Mongolia Agricultural University (CN)
National Natural Science Foundation of China, Inner Mongolia Agricultural University
Openalex Percentile: Top 39%
Spectroscopy and Chemometric Analyses
0.47
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.