Related Experiment Videos
Developing machine learning models for fluid milk spoilage classification
YeonJin Jung1, Chenhao Qian1, Aljosa Trmcic1
1Department of Food Science, Cornell University, Ithaca, NY 14853.
Journal of Dairy Science
|June 23, 2026
Summary
Artificial intelligence models can now classify fluid milk spoilage using microbiological data, reducing the need for extensive shelf-life testing. This technology helps optimize testing schemes and identify spoilage patterns in the dairy industry.
Area of Science:
- Food Science
- Microbiology
- Artificial Intelligence
Background:
- The dairy industry faces knowledge gaps due to expert retirement.
- Identifying fluid milk spoilage patterns is crucial for effective control strategies.
- Traditional spoilage classification relies on human experts.
Purpose of the Study:
- To develop a machine-learning-based digital expert system for classifying fluid milk spoilage.
- To assess the potential for optimizing microbiological testing schemes in the dairy industry.
Main Methods:
- A machine-learning model was developed using microbiological data from 770 fluid milk samples.
- Expert-assigned spoilage types (Gram-negative bacteria, sporeformers, no spoilage) were used for training and validation.
- Multiple models were trained and tested using subsets of data representing optimized testing scenarios.
Main Results:
- The baseline model achieved 96.4% classification accuracy on the test set.
- Optimized models using reduced data sets (e.g., specific microbial counts on day 14 and 21) reached 94.2% testing accuracy.
- The developed system can identify predominant spoilage patterns and aid in root-cause investigations.
Conclusions:
- Machine-learning models offer a viable solution for classifying fluid milk spoilage.
- Optimized testing schemes can reduce costs and resources while maintaining high accuracy.
- This digital expert system can support targeted interventions and improve quality control in the dairy sector.
Related Concept Videos
Microbial Spoilage of Food
Microbial food spoilage refers to the degradation of food quality resulting from the metabolic activity of microorganisms such as bacteria, yeasts, and molds. These microbes proliferate on various food substrates depending on factors such as moisture content, nutrient availability, and storage conditions, leading to undesirable sensory and structural changes.Bacteria are primary agents of spoilage in high-moisture, nutrient-dense foods like meat, milk, and vegetables. Microbial spoilage occurs...
Methods of Controlling Food Spoilage
Food spoilage is caused by microbial growth or by chemical and physical changes, all of which affect the taste, texture, and safety of food.Temperature-Based PreservationRefrigeration at 0–4 °C slows microbial growth and enzyme activity, making it ideal for short-term storage. However, certain spoilage organisms—such as psychrotrophs like Listeria monocytogenes—can still proliferate at these temperatures. Freezing below -18 °C further slows biological processes by forming ice crystals, which...
Classification of Systems-I
Linearity is a system property characterized by a direct input-output relationship, combining homogeneity and additivity.
Homogeneity dictates that if an input x(t) is multiplied by a constant c, the output y(t) is multiplied by the same constant. Mathematically, this is expressed as:
Homogeneity dictates that if an input x(t) is multiplied by a constant c, the output y(t) is multiplied by the same constant. Mathematically, this is expressed as:
Classification of Systems-II
Continuous-time systems have continuous input and output signals, with time measured continuously. These systems are generally defined by differential or algebraic equations. For instance, in an RC circuit, the relationship between input and output voltage is expressed through a differential equation derived from Ohm's law and the capacitor relation,
Microbes in Food Production
Microbial fermentation is central to food biotechnology, enhancing flavor, texture, preservation, and stability. Fermentative microorganisms metabolize carbohydrates into organic acids, alcohols, and other metabolites that inhibit spoilage organisms and improve digestibility while contributing distinctive sensory qualities.In baking, amylases naturally present in flour hydrolyze starch into monosaccharides such as glucose, which Saccharomyces cerevisiae ferments anaerobically. Through...
Microbes in Beverage Production
Alcoholic beverages such as wine, beer, and spirits are the products of microbial fermentation processes that transform simple sugars into ethanol and a wide array of complex flavor compounds. These transformations rely on the metabolic activities of specific yeasts and bacteria, which are selected and controlled to yield the desired beverage characteristics.Wine Fermentation and MaturationWine production begins with the crushing of grapes to release juice and pulp, forming a must that is...