Determination of the lactose content in low-lactose milk using Fourier-transform infrared spectroscopy (FTIR) and convolutional neural network

Heliyon. 2023 Jan 10;9(1):e12898. doi: 10.1016/j.heliyon.2023.e12898. eCollection 2023 Jan.

Abstract

Demand for low lactose milk and milk products has been increasing worldwide due to the high number of people with lactose intolerance. These low lactose dairy foods require fast, low-cost and efficient methods for sugar quantification. However, available methods do not meet all these requirements. In this work, we propose the association of FTIR (Fourier Transform Infrared) spectroscopy with artificial intelligence to identify and quantify residual lactose and other sugars in milk. Convolutional neural networks (CNN) were built from the infrared spectra without preprocessing the data using hyperparameter adjustment and saliency map. For the quantitative prediction of the sugars in milk, a regression model was proposed, while for the qualitative assessment, a classification model was used. Raw, pasteurized and ultra-high temperature (UHT) milk was added with lactose, glucose, and galactose in six concentrations (0.1-7.0 mg mL-1) and, in total, 432 samples were submitted to convolutional neural network. Accuracy, precision, sensitivity, specificity, root mean square error, mean square error, mean absolute error, and coefficient of determination (R2) were used as evaluation parameters. The algorithms indicated a predictive capacity (accuracy) above 95% for classification, and R2 of 81%, 86%, and 92% for respectively, lactose, glucose, and galactose quantification. Our results showed that the association of FTIR spectra with artificial intelligence tools, such as CNN, is an efficient, quick, and low-cost methodology for quantifying lactose and other sugars in milk.

Keywords: Artificial neural network; Convolutional neural network; Deep learning; Low-lactose; Milk.