Food Safety
search
Ask Food Safety AI
cart
facebook twitter linkedin instagram youtube
  • Sign In
  • Create Account
  • Sign Out
  • My Account
Food Safety
  • NEWS
    • Latest News
    • White Papers
  • PRODUCTS
  • TOPICS
    • Contamination Control
    • Food Types
    • Management
    • Process Control
    • Regulatory
    • Sanitation
    • Supply Chain
    • Testing and Analysis
  • PODCAST
  • EXCLUSIVES
    • Food Safety Five Newsreel
    • eBooks
    • FSM Distinguished Service Award
    • Interactive Product Spotlights
    • Videos
  • BUYER'S GUIDE
  • MORE
    • NEWSLETTERS >
      • Archive Issues
      • Subscribe to eNews
    • Store
    • Sponsor Insights
    • ASK FSM AI
  • WEBINARS
  • FOOD SAFETY SUMMIT
  • EMAG
    • eMagazine
    • Archive Issues
    • Editorial Advisory Board
    • Contact
    • Advertise
  • SIGN UP!
NewsContamination ControlFood TypeTesting & AnalysisChemical ControlMicrobiological ControlChemical Testing & AnalysisMethodsMicrobiological Testing & AnalysisDairy/Eggs

Study Uses AI to Screen Milk Samples for Mycotoxin Contamination

By Food Safety Magazine Editorial Team
cow in a milking stall looking at camera with milking jug in foreground
Image credit: jcomp via Freepik
March 4, 2026

A recent scientific study demonstrated the potential usefulness of analyzing routinely collected milk product measurements with artificial intelligence (AI) to help predict mycotoxin contamination and inform targeted testing. The findings were published in Current Research in Food Science.

Specifically, researchers developed a machine learning (ML) prescreening approach to predict whether aflatoxin M1 (AFM1) in raw milk exceeded the EU regulatory threshold of 0.05 micrograms per liter (μg/L). AFM1 is a carcinogenic mycotoxin that can enter milk when dairy cattle consume feed contaminated with aflatoxin B1, which is then metabolized and excreted as AFM1.

Limitations of Traditional Laboratory Testing

Although sensitive detection methods like ELISA or liquid chromatography–tandem mass spectrometry (LC–MS/MS) are used for AFM1 detection, the study emphasized that costs, timely sample preparation, and skilled labor requirements can limit high-throughput application in large dairy operations. Hoping to address these limitations, the researchers investigated whether AI models could be used as a cost-effective tool to identify higher-risk samples for further laboratory analysis.

Using Routinely Collected Data to Screen for High-Risk Samples

The model was trained on a dataset originating from a dairy processor’s raw milk records collected over two decades, which measured features like composition, microbiological indicators, and handling conditions. Key, routinely measured predictors included protein, fat, lactose, total solids, non-fat milk solids, acidity, freezing point, relative density, milk temperature at receipt, total colony count, psychrophilic bacteria, somatic cell count, and viscosity. Geographic identifiers (i.e., country, province) were also incorporated as categorical predictors to account for regional differences linked to feed contamination risk.

AI Predicted 83 Percent of Mycotoxin-Contaminated Samples 

AFM1 concentrations were labeled based on whether samples contained levels above or below the EU threshold of 0.05 μg/L. Of the more than 40,000 samples included in the dataset, approximately 500 exceeded 0.05 μg/L AFM1 levels, requiring the researchers to balance the data using statistical techniques.

Across 100 repeated experiments using the balanced dataset, the most successful model was able to correctly identify 83.2 percent of milk samples with AFM1 levels exceeding 0.05 μg/L.

In an external validation experiment using an independent 2018 dataset, the model correctly identified 75.91 samples exceeding the 0.05 μg/L limit, with 33 missed samples and 793 false positives. The dataset contained 8,634 AFM1-positive samples and 137 AFM1-negative samples.

Looking for quick answers on food safety topics?
Try Ask FSM, our new smart AI search tool.
Ask FSM →

The researchers said these results are consistent with imbalanced classification dynamics and are acceptable for risk-averse prescreening where sensitivity is prioritized.

Implications for Industry: Using AI to Augment Traditional Detection Workflows

Based on their findings, the researchers believe ML models that leverage existing, low-cost intake and quality measurements can be used to flag samples with a higher risk of mycotoxin contamination in real time. If applied as an early warning tool, the model could help processors triage lots for confirmatory testing, target laboratory resources on higher-risk batches, and expand mycotoxin surveillance without expending resources.

The researchers described the use of ML to augment traditional detection workflows as “AI+” and noted that the approach could be adapted for other food safety hazards where routine plant measurements may help predict risk. However, broader, multi-regional validation and continual model updates would be necessary before large-scale industry application.

KEYWORDS: artificial intelligence machine learning mycotoxins study

Share This Story

Fsm purple logo 200x200

The Food Safety Magazine editorial team comprises Bailee Henderson, Digital Editor ✉ and Adrienne Blume, M.A., Editorial Director.

Recommended Content

JOIN TODAY
to unlock your recommendations.

Already have an account? Sign In

  • people holding baby chicks

    Serovar Differences Matter: Utility of Deep Serotyping in Broiler Production and Processing

    This article discusses the significance of Salmonella in...
    Microbiological Control
    By: Nikki Shariat Ph.D.
  • woman washing hands

    Building a Culture of Hygiene in the Food Processing Plant

    Everyone entering a food processing facility needs to...
    Personal Hygiene/Handwashing
    By: Richard F. Stier, M.S.
  • graphical representation of earth over dirt

    Climate Change and Emerging Risks to Food Safety: Building Climate Resilience

    This article examines the multifaceted threats to food...
    Best Practices
    By: Maria Cristina Tirado Ph.D., D.V.M. and Shamini Albert Raj M.A.
Manage My Account
  • eMagazine Subscription
  • Subscribe to Newsletters
  • Manage My Preferences
  • Website Registration
  • Subscription Customer Service

More Videos

Sponsored Content

Sponsored Content is a special paid section where industry companies provide high quality, objective, non-commercial content around topics of interest to the Food Safety Magazine audience. All Sponsored Content is supplied by the advertising company and any opinions expressed in this article are those of the author and not necessarily reflect the views of Food Safety Magazine or its parent company, BNP Media. Interested in participating in our Sponsored Content section? Contact your local rep!

close
  • NEVIFIT 3 Compartment BPA-FREE
    Sponsored byCorbion

    The Risks of Ready-to-Eat: Five Ways to Protect Today's Prepared Meals

  • a group of workers in a food production facility
    Sponsored bySkillUp by Registrar Corp

    How to Build a Better Training Program: Data and Insights from the Global Food Safety Training Survey

  • the use of dual-energy X-ray food inspection technology to identify foreign contaminants.
    Sponsored byEagle by METTLER TOLEDO

    Precision Inspection Starts with the Right X-ray Detector

Popular Stories

green powder/moringa in wooden mortar

FDA Opens Third Salmonella–Moringa Outbreak Investigation of the Year

FoodSafetyMattersFinal-900x550-(002).jpg

Ep. 218. Dr. Brady Carter: Water Activity, Shelf-Life Validation, and Food Safety Controls

fermented meat

Study is First to Analyze Trends in Foodborne Illness Outbreaks Linked to Non-Dairy Fermented Products

a practical guide to spoilage investigation webinar

Events

June 3, 2026

How to Build a Better Food Safety Training Program

Live: June 3, 2026 at 2:00 pm EDT: Join this webinar to learn how AI is impacting food safety training, and how you can leverage AI in your programs.

June 4, 2026

Building a Stronger Food Safety Program in a Changing GFSI Landscape

Live: June 4, 2026 at 11:00 am EDT: Attend this webinar to understand how GFSI requirements are evolving and what those changes signal for quality programs at food and beverage facilities.

June 10, 2026

A Practical Guide to Spoilage Investigation and Prevention

Live: June 10, 2026 at 11:00 am EDT: Join this webinar to learn how to identify spoilage root causes, reduce risk, and apply data-driven strategies for prevention.

View All

Products

Global Food Safety Microbial Interventions and Molecular Advancements

Global Food Safety Microbial Interventions and Molecular Advancements

See More Products

Related Articles

  • mechanized cow udder milking

    USDA to Test Bulk Milk Samples for HPAI H5N1

    See More
  • Project Uses AI and Machine Learning to Validate Cyclospora Inactivation Methods

    Project Uses AI, Machine Learning to Validate Cyclospora Inactivation Methods

    See More
  • glass pitcher and cup of milk black background

    FDA Testing Finds HPAI in Retail Milk Samples; Research Required to Determine Infectivity, Food Safety Risk

    See More

Related Products

See More Products
  • 1119160553.jpg

    Food Safety: Innovative Analytical Tools for Safety Assessment

  • 1119053595.jpg

    Food Safety for the 21st Century: Managing HACCP and Food Safety throughout the Global Supply Chain, 2E

  • 1118396308.jpg

    High Throughput Analysis for Food Safety

See More Products

Events

View AllSubmit An Event
  • May 12, 2026

    Leveraging AI for Food Safety: From Strategy to Impact

    On Demand: This dynamic workshop brings together leaders from industry, academia, and government to demonstrate how AI can be practically applied in food safety—from data strategy to daily execution.
View AllSubmit An Event

Related Directories

  • QualiTru Sampling Systems

    Since 1983, QualiTru Sampling Systems® (formerly QMI) has been the leader in the science of aseptic liquid sampling with innovative, easy-to-use, versatile and cost‑effective sampling systems that help the dairy, beverage and liquid food industries produce safe, quality products across the U.S. and in over 30 countries worldwide.
  • Creative Diagnostics

    Creative Diagnostics is a leading manufacturer and supplier of antibodies, small molecule conjugates and critical assay reagents for the analysis of food, feed, environmental and toxicological samples. Its product portfolio covers a wide range of analytes including mycotoxins, drug residues, pesticides, contaminants, food allergens, food pathogens and vitamins.
  • Biorex Food Diagnostics

    At Biorex Food Diagnostics we manufacture innovative testing solutions for the screening of food/feed contaminants in a range of sample types. Our diagnostic kits and technologies are tailored to meet the diverse needs of the food industry, helping producers and manufacturers meet the regulatory requirements pertaining to the food safety and quality of their products.
×

Never miss the latest news and trends driving the food safety industry

Newsletters | Website | eMagazine

JOIN TODAY!
  • RESOURCES
    • Advertise
    • Contact Us
    • Directories
    • Store
    • Want More
  • SIGN UP TODAY
    • Create Account
    • eMagazine
    • Newsletters
    • Customer Service
    • Manage Preferences
  • SERVICES
    • Marketing Services
    • Reprints
    • Market Research
    • List Rental
    • Survey/Respondent Access
  • STAY CONNECTED
    • LinkedIn
    • Facebook
    • Instagram
    • X (Twitter)
  • PRIVACY
    • PRIVACY POLICY
    • TERMS & CONDITIONS
    • DO NOT SELL MY PERSONAL INFORMATION
    • PRIVACY REQUEST
    • ACCESSIBILITY

Copyright ©2026. All Rights Reserved BNP Media, Inc. and BNP Media II, LLC.

Design, CMS, Hosting & Web Development :: ePublishing