Egg Freshness Prediction Model Using Real-Time Cold Chain Storage Condition Based on Transfer Learning

Foods. 2022 Oct 5;11(19):3082. doi: 10.3390/foods11193082.

Abstract

Maintaining and monitoring the quality of eggs is a major concern during cold chain storage and transportation due to the variation of external environments, such as temperature or humidity. In this study, we proposed a deep learning-based Haugh unit (HU) prediction model which is a universal parameter to determine egg freshness using a non-destructively measured weight loss by transfer learning technique. The temperature and weight loss of eggs from a laboratory and real-time cold chain environment conditions are collected from ten different types of room temperature conditions. The data augmentation technique is applied to increase the number of the collected dataset. The convolutional neural network (CNN) and long short-term memory (LSTM) algorithm are stacked to make one deep learning model with hyperparameter optimization to increase HU value prediction performance. In addition, the general machine learning algorithms are applied to compare HU prediction results with the CNN-LSTM model. The source and target model for stacked CNN-LSTM used temperature and weight loss data, respectively. Predicting HU using only weight loss data, the target transfer learning CNN-LSTM showed RMSE value decreased from 6.62 to 2.02 compared to a random forest regressor, respectively. In addition, the MAE of HU prediction results for the target model decreased when the data augmentation technique was applied from 3.16 to 1.39. It is believed that monitoring egg freshness by predicting HU in a real-time cold chain environment can be implemented in real-life by using non-destructive weight loss parameters along with deep learning.

Keywords: convolutional neural network; egg freshness; haugh unit; real-time cold chain; transfer learning; weight loss.