During recent years Artificial Intelligence has been applied to almost all domains and industries to improve or solve specific problems identified by humans. One example is the industry of Food and Beverages, where AI models are being used for different purposes:
Finances: by creating more predictable demand forecasts.
Innovation: by suggesting new ingredients combination and more diverse menus.
Environmental sustainability: through the reduction of waste, water, and power.
This last point is particularly important as statistics say that, in the US, 5% to 10% of the food purchased by restaurants is wasted, which corresponds to direct cuts in the restaurant’s profit. This waste can be the result of inefficiency in the management of the chain store, bad estimations of the ingredients needed for a given dish, oversized portions, and a high variety of menus, which require a wider set of different ingredients.
To reduce food waste and increase restaurant profits, in this post, we will discuss an approach to estimate the food waste (per ingredient) based on the restaurant orders and respective dish recipes.
This will allow a more clear perception of the contribution that each dish makes to the total food waste produced by the restaurant. Also, through a forecast of the actual quantity of ingredients required, we can avoid the need to overbuy groceries.
Data and Modeling
In order to estimate the food waste of a restaurant, we essentially need to know:
The recipes from which the kitchen team make the dishes
Number of dishes made in the past
Reporting of the grocery shopping for the same time span
So, the overall ingredients used by the kitchen team can be structured as follows (from now on referred as matrix K):
Where we have, based on the restaurant recipes, the expected amount of each ingredient used for the different dishes that the restaurant serves.
However, for each dish and each ingredient we will have some associated waste (that can be zero). Thus, the overall food waste can be represented as follows (from now on referred as matrix Ɛ):
Where Ɛi, j corresponds to the amount of ingredient j of dish i that was wasted.
Thus, in order to determine the waste the kitchen is producing, per dish and ingredient, we need to learn the values of matrix Ɛ.
To do that, we can start by modeling the problem as follows:
Where,
Nd : Number of meals of dish d made by the restaurant
Kd : Ingredients (and amounts) needed for cooking dish d
Ɛd : Food waste derived from the confection of a single dish d
Consumption: Total amount of ingredients bought by the restaurant for the same time span
From the restaurant’s historical data we can use the grocery receipts for determining the total amount of ingredients bought (Consumption) and the history of orders for computing Nd . This way, knowing the variables Nd , Kd and Consumption, we can train a Machine Learning model to learn the matrix Ɛ, based on the previous equation.
After the model learns the matrix Ɛ, we can make some detailed analysis:
Analyzing the matrix Ɛ row-wise, we can check which dish contributes the most to the total waste.
When analyzing the matrix Ɛ column-wise we will find out which ingredient contributes the most to the total waste produced by the restaurant.
By dividing the matrix Ɛ by the sum of matrices Ɛ and K, we determine the percentage of waste, per ingredient, of each dish.
Based on these points, some actions can be taken in order to improve the restaurant profit and environmental footprint, like reviewing the cooking process of the dishes with the greater waste, removing dishes or menus where the wasting percentage is significant (which results in reduced profit margins) or investing more on dishes/ingredients where the waste is lower.
Extension to a more complex scenario
In a more complex, and perhaps, realistic scenario, we can formulate the problem considering multiple kitchen teams that work simultaneously in different restaurants and share the same food supply. In that case, we would have the following scenario:
Where N_xd corresponds to the number of meals of dish d made by team x and Ɛ_xd to the waste derived from confection of dish d by team x. In this case, each kitchen team will have an individual Ɛ matrix that contains the waste weights of that specific team.
This scenario allows some more complex analysis, like:
Which team contributes the most to the overall produced waste?
Is the waste per dish independent of the team who is preparing it, or is there significant variability of the cooking process in different teams?
For a given dish, which team cooking process is more efficient, that is, produces less waste for the same amount of time?
Improving forecasting
One of the action points where we can use this formulation, is to make a more accurate forecast of the amount of each ingredient needed for the next D days. To do that, we just need to directly apply the formulation with the learned matrix Ɛ.
For instance, if we expect to have 25 orders of Hamburgers and 20 orders of Steak and Baked potatoes for the next 5 days, based on the tables above, the expected consumption of ingredient Beef would be:
25 * (K2,2 +Ɛ2,2) + 20 * (K0,2 +Ɛ0,2)
Which corresponds to:
25 * (0.15 + 0.08) + 20 * (0.3 + 0.12) = 14.15 Kg
In this hypothetical scenario, we would need to buy 14.15 Kg of beef, assuming that, after training the model, we concluded that making a dish of Hamburger and Steak and Baked potato would led to an average waste of 80g (K2,2) and 120g (K0,2) of beef, respectively.
Every action towards reducing our impact on the environment is valuable, even more so if it can help to optimize our business. Therefore, reducing waste in restaurants is a great way to improve profitability and contribute to a more sustainable environment.
With that in mind, in this post, we propose an approach for determining the wastes produced in a restaurant at a dish and ingredient level, based on the recipes and the history of restaurant groceries.
This can help perform a more accurate forecast of the groceries needed based on the expected orders in the following days and also create a more realistic idea of which ingredients and dishes are contributing to more waste, so that the restaurants can take action to reduce waste.
As always, if you have any other ideas about how to reduce food wasting, make sure to reach us!
Like this story?
Subscribe to Our Newsletter
Special offers, latest news and quality content in your inbox.
Signup single post
Recommended Articles
Article
AI City Intelligence
Oct 31, 2024 in
Use Case
Imagine being able to make better decisions about where to live, where to establish a new business, or how to understand the changing dynamics of urban neighborhoods. Access to detailed, up-to-date information about city environments allows us to answer these questions with greater confidence, but the challenge lies in accessing and analyzing the right data. […]
EcoRouteAI: Otimização de Ecopontos com Inteligência Artificial
Sep 30, 2024 in
News
O Plano Estratégico para os Resíduos Urbanos (PERSU) 2030 definiu metas ambiciosas para a gestão de resíduos em Portugal, com o objetivo de aumentar a reciclagem e melhorar a sustentabilidade ambiental. No entanto, os atuais índices de reciclagem e separação de resíduos ainda estão aquém do necessário, tanto a nível nacional quanto europeu, criando desafios […]
NILG.AI named Most-Reviewed AI Companies in Portugal by The Manifest
Aug 28, 2024 in
News
The artificial intelligence space has been showcasing many amazing technologies and solutions. AI is at its peak, and many businesses are using it to help propel their products and services to the top! You can do it, too, with the help of one of the best AI Companies in Portugal: NILG.AI. We focus on your […]
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
Cookie
Duration
Description
cookielawinfo-checkbox-analytics
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional
11 months
The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy
11 months
The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.