Rapid and nondestructive quantitative detection of milk adulteration using hyperspectral imaging and optimized LSTM modeling

Milk adulteration poses persistent challenges to food authenticity, quality assurance, and consumer safety, while conventional analytical methods are often destructive, labor-intensive, and unsuitable for rapid routine screening. This study aimed to develop a rapid and nondestructive framework for the quantitative detection of milk adulteration using visible–near-infrared hyperspectral imaging (400–1000 nm) combined with an optimized long short-term memory model. Four common adulterants, namely starch, sugar, soymilk powder, and salt, were added to pure milk at concentrations ranging from 0.5 to 16 g/100 mL. A total of 440 samples from one commercial brand were used for model development, whereas 880 samples from two independent brands were reserved for external validation to assess inter-brand generalization. After spectral preprocessing and wavelength selection, long short-term memory models optimized by population-based algorithms were established for concentration prediction. Among them, the gray wolf optimization-based model showed the best performance, achieving a coefficient of determination of 0.9904 and a root mean square error of prediction of 0.0369 on the internal test set. In external validation, the model maintained satisfactory predictive accuracy, with coefficients of determination of 0.952 and 0.945 for the two unseen brands, respectively. These findings indicate that hyperspectral imaging combined with optimized deep learning has strong potential for robust quantitative detection of milk adulteration and may provide a useful basis for future dairy quality control. However, further validation under practical industrial conditions is still required before real-time online implementation.

Authors

Institutions

Publication Details

Journal
Journal of Food Measurement & Characterization
Published
2026-05-11
DOI
https://doi.org/10.1007/s11694-026-04454-z
Primary Topic
Spectroscopy and Chemometric Analyses
Type
article
Field-Weighted Citation Impact
0.00

Funders

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

Rapid and nondestructive quantitative detection of milk adulteration using hyperspectral imaging and optimized LSTM modeling

Ao Bao, Jiangping Liu, Chen Chen, Xin Yu Li
Journal of Food Measurement & Characterization
Spectroscopy and Chemometric Analyses
article

Rapid and nondestructive quantitative detection of milk adulteration using hyperspectral imaging and optimized LSTM modeling

Ao Bao, Jiangping Liu, Chen Chen, Xin Yu Li
article en

Abstract

Milk adulteration poses persistent challenges to food authenticity, quality assurance, and consumer safety, while conventional analytical methods are often destructive, labor-intensive, and unsuitable for rapid routine screening. This study aimed to develop a rapid and nondestructive framework for the quantitative detection of milk adulteration using visible–near-infrared hyperspectral imaging (400–1000 nm) combined with an optimized long short-term memory model. Four common adulterants, namely starch, sugar, soymilk powder, and salt, were added to pure milk at concentrations ranging from 0.5 to 16 g/100 mL. A total of 440 samples from one commercial brand were used for model development, whereas 880 samples from two independent brands were reserved for external validation to assess inter-brand generalization. After spectral preprocessing and wavelength selection, long short-term memory models optimized by population-based algorithms were established for concentration prediction. Among them, the gray wolf optimization-based model showed the best performance, achieving a coefficient of determination of 0.9904 and a root mean square error of prediction of 0.0369 on the internal test set. In external validation, the model maintained satisfactory predictive accuracy, with coefficients of determination of 0.952 and 0.945 for the two unseen brands, respectively. These findings indicate that hyperspectral imaging combined with optimized deep learning has strong potential for robust quantitative detection of milk adulteration and may provide a useful basis for future dairy quality control. However, further validation under practical industrial conditions is still required before real-time online implementation.

Journal of Food Measurement & Characterization
Inner Mongolia Agricultural University (CN), Inner Mongolia Academy of Agricultural & Animal Husbandry Sciences (CN)
Innovative Research Group Project of the National Natural Science Foundation of China, Inner Mongolia University of Science and Technology, Natural Science Foundation of Inner Mongolia
Gender equality
Openalex Percentile: Top 9%
Spectroscopy and Chemometric Analyses
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.