Food waste is a major environmental, economic, and social challenge, particularly in food-service environments where inaccurate demand estimation can lead to excessive food preparation and unnecessary waste. This study proposes a predictive-prescriptive machine learning framework for food waste reduction and surplus donation analysis to support data-driven food management decisions. The proposed framework uses historical food, demand, preparation, consumption, and waste data to develop machine learning models for predicting expected food waste. It further incorporates what-if scenario analysis to evaluate different food preparation levels and identify their potential impact on waste and demand coverage. Based on the scenario outcomes, the framework provides a suitable waste-reduction scenario recommendation. It also estimates potential surplus food and performs donation potential analysis to identify food that may be considered for redistribution, subject to appropriate food safety and quality conditions. A web-based application is proposed to present waste predictions, scenario comparisons, recommendations, and surplus insights. The framework integrates prediction, scenario evaluation, recommendation, surplus estimation, and donation analysis into a unified decision-support system aimed at supporting responsible food management and contributing to Sustainable Development Goal 12.
Introduction
The proposed Food Waste Intelligence framework aims to reduce food waste in food-service environments by combining machine learning, predictive analytics, and decision-support techniques. Traditional food-preparation decisions often depend on historical data and experience, which can lead to overproduction and unnecessary waste.
The framework uses historical food-service data, including food items, demand, preparation, consumption, environmental conditions, and waste, to predict expected food waste. It applies machine learning algorithms such as Random Forest Regression and Gradient Boosting Regression, with Random Forest selected as the production model.
A key feature of the system is What-If scenario analysis, which evaluates different food-preparation levels (80%, 90%, 100%, 110%, and 120% of the baseline quantity). By comparing predicted waste and demand coverage, the system recommends a suitable preparation level that minimizes waste while ensuring sufficient food availability.
The framework also estimates potential surplus food and analyzes its suitability for donation or redistribution, considering food safety, quality, storage, and handling requirements.
The literature survey highlights that existing research mainly focuses on individual areas such as demand forecasting, food-waste prediction, digital technologies, or surplus-food redistribution. The proposed framework addresses this research gap by integrating all these activities into a unified decision-support system.
The system is implemented as a web-based application called Food Waste Intelligence, developed using Python and related data-processing and machine-learning technologies. Its dataset contains 5,840 records covering 730 days and eight food items. The application provides several modules, including:
Historical food-waste dashboard.
Food-waste prediction.
What-If scenario analysis.
Preparation scenario recommendation.
Surplus and donation analysis.
Machine learning model evaluation.
Live end-to-end analysis.
Overall, the proposed framework transforms food-waste prediction into actionable preparation recommendations and surplus-management insights. It supports data-driven decision-making, reduces unnecessary food preparation, encourages surplus-food redistribution, and contributes to United Nations Sustainable Development Goal 12: Responsible Consumption and Production.
Main contribution of the proposed work
The major contribution is the integration of five important components into one system:
Prediction: Estimates expected food waste using machine learning.
Scenario analysis: Evaluates alternative food-preparation quantities.
Recommendation: Suggests an appropriate preparation level.
Donation analysis: Estimates surplus food that may be suitable for donation.
Conclusion
Food Waste Intelligence: A Predictive-Prescriptive Machine Learning Framework for Food Waste Reduction and Surplus Donation Analysis successfully integrates machine learning-based prediction with prescriptive decision-making for food waste management. The system predicts expected food waste using historical food-service data and evaluates different preparation scenarios through What-If analysis. Based on these scenarios, the system provides a preparation recommendation while considering demand coverage and predicted waste. It further estimates potential surplus and potential donation opportunities and presents the results through an interactive web-based dashboard. The integration of prediction, scenario analysis, recommendation, surplus estimation, donation analysis, and analytics provides a unified decision-support framework for reducing avoidable food waste and improving the utilization of potential surplus food. The developed system provides a foundation for future real-time and scalable food waste management applications.
References
[1] C. Trevisan and M. Formentini, “Digital Technologies for Food Loss and Waste Prevention and Reduction in Agri-Food Supply Chains: A Systematic Literature Review and Research Agenda,” IEEE Transactions on Engineering Management, vol. 71, pp. 12326–12345, 2024, doi: 10.1109/TEM.2023.3273110.
[2] N. Hübner, J. Caspers, V. C. Coroam?, and M. Finkbeiner, “Machine-learning-based demand forecasting against food waste: Life cycle environmental impacts and benefits of a bakery case study,” Journal of Industrial Ecology, vol. 28, no. 5, pp. 1117–1131, 2024, doi: 10.1111/jiec.13528.
[3] M. Rodrigues, V. Miguéis, S. Freitas, and T. Machado, “Machine learning models for short-term demand forecasting in food catering services: A solution to reduce food waste,” Journal of Cleaner Production, vol. 435, art. no. 140265, 2024, doi: 10.1016/j.jclepro.2023.140265.
[4] L. Devaraj and P. Balasubramanian, “Optimizing the Redistribution of Surplus Food in the Hospitality Sector: A Paradigm Shift Through the Implementation of Food Donation Systems for a Sustainable Future,” Sustainability, vol. 17, no. 8, art. no. 3556, 2025, doi: 10.3390/su17083556.
[5] S. Talwar, A. Dhir, B. Taheri, and P. Kaur, “Why do hospitality and food service businesses use food sharing platforms? A social practice perspective on surplus food redistribution to reduce food waste,” International Journal of Hospitality Management, vol. 134, art. no. 104563, 2026, doi: 10.1016/j.ijhm.2026.104563.
[6] L. Breiman, “Random Forests,” Machine Learning, vol. 45, pp. 5–32, 2001, doi: 10.1023/A:1010933404324.
[7] J. H. Friedman, “Greedy Function Approximation: A Gradient Boosting Machine,” The Annals of Statistics, vol. 29, no. 5, pp. 1189–1232, 2001, doi: 10.1214/aos/1013203451.
[8] F. Pedregosa et al., “Scikit-learn: Machine Learning in Python,” Journal of Machine Learning Research, vol. 12, pp. 2825–2830, 2011.
[9] United Nations Environment Programme, Food Waste Index Report 2024. Nairobi, Kenya: UNEP, 2024.
[10] T. Hastie, R. Tibshirani, and J. Friedman, The Elements of Statistical Learning: Data Mining, Inference, and Prediction, 2nd ed. New York, NY, USA: Springer, 2009.