Skip to content

AI in the food industry

We build models that look ahead, so planning teams and production lines can prepare sooner. We did this, for example, in the emergency department at St. Antonius.

A department that knows what’s coming sooner: our algorithm for the St. Antonius emergency department

As part of the AI team at St. Antonius Ziekenhuis, we developed an algorithm that helps doctors decide whether a patient can go home or needs to be admitted. Departments are informed in good time and can start preparing earlier. We apply this forward-looking approach to production planning.

Read the case study

Why do we only find out at the end of the shift how much has been rejected or thrown away?

Line control systems, the lab, ERP and planning record what was produced, inspected and delivered for each batch. With short shelf lives and variable raw materials, every hour counts: when you spot changes in demand, breakdowns and waste sooner, you can adjust before the product is lost.

Schedule a call

Demand, recipes and production line faults: where a model helps in food manufacturing

Discuss your production challenge

Demand for products with a short shelf life

A forecast by product and customer that factors in promotions, seasonality and weather, so you make what will sell tomorrow, not what sold last week.

Recipes when raw materials vary

Moisture, fat or protein levels vary between batches. A model using lab results and previous batches suggests an adjustment, and the food technologist decides.

Spot production line faults earlier

Predict downtime, unusual temperatures or fill weights from production line data, so maintenance staff and shift leaders can plan ahead.

Looking ahead, as in the emergency department

For St. Antonius, we developed an algorithm that predicts whether a patient needs to be admitted, so departments can prepare earlier. The same expertise can help with your planning.

Start with one product group at a time, using the batch history you already have

  1. Choose one product group

    Choose a group with a short shelf life or a high rejection rate, then focus on the decision: how much to make, when and on which line.

  2. Link the batches

    Give the raw material lot, recipe, production line data and lab result a shared batch number, so you can trace each product back to its source.

  3. A proposal for the planner and technologist

    The outcome appears as a proposal in the planning system or on the production line screen. People make the decisions, and we monitor whether the model remains accurate.

Do the production line, lab and ERP record enough data for a predictive model?

Find out in a conversation

A good fit if

You make products with a short shelf life or use variable raw materials, your production line, lab and ERP record data for each batch, and you face a daily decision about how much to produce, when to produce it or which recipe to use.

Not a good fit if

You make a few products with stable demand, or batches cannot be linked to raw materials and the production line. Start by getting the records and an overview in place; a model adds little at that stage.

What determines the scope

The number of products, production lines and locations; how well batches can be linked to raw materials and lab data; how much historical data is available; and whether the results need to feed into planning, MES or ERP.

Does this affect our food safety?

A model makes a recommendation. Your HACCP plan or hygiene code remains the guiding standard, and the quality team makes the decision. We record which data and which version of the model produced each recommendation, so it can be traced.

Demand forecasting, formulation or visual inspection: where should a food company start?

Demand forecasting

Choose this if short shelf lives lead to waste and rush orders. Our advice: start here, because order and sales history is almost always available. See forecasting.

Formulation and raw materials

Choose this if batches of raw materials vary considerably and the food technologist has to keep making adjustments. You’ll need lab results for each batch, linked to the formulation and production batch.

Visual inspection

Choose this if products are inspected by eye and defects are visible on the outside. Read about quality control with computer vision.

Predictive models that become part of daily planning have been our speciality since 2016

Data Science Lab has worked with data and AI from Amsterdam since 2016 and is a Databricks and Microsoft partner. We don’t name a client in the food industry here; we’ve also built forecasting models for St. Antonius, among others.

Book an introductory meeting

One product group and a batch export from the ERP: that’s where the first conversation starts

Stef Stoelwinder

Stef Stoelwinder

Business Development

Stef is your first point of contact. In the first conversation, we’ll choose one product group and look at what the production line, lab and ERP record.

Where is your factory losing the most product right now: in demand, in the recipe or on the production line?

Describe the product group and the systems that already record data about it. We’ll reply by email or arrange an initial conversation.

Enter a valid email address.

Let us know how we can help you.

Frequently asked questions

In the food industry, AI focuses on the factory: a model learns from orders, batches, lab results and production-line data. This lets you forecast demand for perishable products, suggest a recipe adjustment when a batch differs from the norm, or spot an impending breakdown. Read how we build these models at developing machine learning models.

If your work also involves livestock housing and greenhouses, read about AI in agrifood. For continuous processes with a process historian, AI in the process industry is a better fit.

Anyone who prepares, processes, handles or transports food and drink must follow hygiene rules. According to the Dutch government’s Ondernemersplein, this can be done with your own food safety plan based on HACCP principles, or with an approved hygiene code from your industry association.

The measurements and checks involved are often already recorded digitally. These records can also be used for analysis, provided you can link them to each batch. Your quality team assesses what your plan requires; we do not provide legal advice.

European food law (Regulation 178/2002, Article 18) requires businesses to be able to identify who supplied their raw materials and which businesses received their products. By linking raw material lots, batches and deliveries, you can quickly see which lots and customers are affected when a problem arises.

Making those links is data work, not AI. It does, however, provide the foundation for a model to work with later, and belongs in a well-designed data and AI platform.

A demand model for each product and customer uses order history, promotions, seasonal patterns and weather data. With a short shelf life, the immediate horizon matters most: what you produce tomorrow and the day after. If a product sold out, you need to adjust the historical data; otherwise, the model learns too little.

We used forecasting to help a department prepare earlier for the St. Antonius. Read more about the technique at forecasting.

It can suggest an adjustment. Raw materials such as milk, meat, grains and vegetables vary between lots in factors such as moisture, fat and protein content. A model learns from previous batches which adjustments led to a good final product for particular lab results.

The food technologist still makes the decision, and the recipe must remain within the specification and meet food safety requirements. This only works if the lab result, recipe and final outcome are recorded for each batch.

A camera with a trained model can assess the shape, colour, filling or packaging of every product, even at high speed. Natural products vary, so you define the boundary between a defect and normal variation together with your quality team.

Start with images assessed by your staff. Read how we build these models at quality control with computer vision.

When your question is about yesterday: waste by product, rejects by production line or delivery reliability by customer. A Power BI dashboard drawing on production-line, lab and ERP data is then the first step. It will also show you where a model could add value.

If you cannot yet link batches to raw materials and production lines, a model has too little to work with. If a simpler solution is a better fit, we will say so.