Novel Method for Detection of Adulterated Milk Using Long Short-Term Memory Network and Near-Infrared Hyperspectral Data

Published on: 

A new method for detecting adulterated milk could lead to analyzing other food products more effectively.

Milk is a vital source of nutrients for human beings, but milk adulteration is a persistent problem in many countries. It not only reduces the nutritional value of milk but also poses health risks to consumers. Therefore, the development of a simple, reliable, and rapid detection method for adulterated milk is of great significance. In a recent study published in Spectroscopy Letters, researchers Xin Li and Jiangping Liu proposed a novel method for analyzing adulterated milk based on a long short-term memory network.

The study involved the use of near-infrared (NIR) hyperspectral data to carry out qualitative and quantitative analysis of adulterated milk. The team used principal component analysis (PCA) combined with a long short-term memory network to identify the adulterated milk samples. The NIR hyperspectral data was collected in the range of 400–1000 nm.

The feasibility of the proposed method for identifying adulterated milk was proven by its high accuracy. The method had an average recognition rate of 99.5% for the test set and 98.5% for the validation set. The study also demonstrated that the use of PCA and long short-term memory network could effectively reduce the dimensionality of the near-infrared hyperspectral data and improve the accuracy of the analysis.

The proposed method offers several advantages over the existing methods. First, it is nondestructive, meaning that the milk samples can be reused after analysis. Second, the method is relatively simple, requiring only a small amount of milk and a hyperspectral analyzer. And finally, the method is efficient because the analysis can be completed within a few minutes. Therefore, the proposed method can be applied in the detection of milk adulteration in the production and supply chains.


In summary, this study paves the way for the development of more efficient, reliable, and low-cost methods for detecting milk adulteration. The authors suggest that future studies can focus on the application of the proposed method in the analysis of other food products. In conclusion, the proposed method provides a practical and effective solution to the persistent problem of milk adulteration, ensuring the safety and quality of milk products for consumers.


(1) Li, X.; Liu, J. Analysis of Adulterated Milk Based on a Long Short-term Memory Network. Spec. Lett. 2023. DOI: 10.1080/00387010.2023.2194950