Researchers use machine learning to assist state food pantries with inventory

Published: Sep 30, 2022 10:30 AM

By Joe McAdory

Food distribution centers across Alabama have questions. Yin Sun, assistant professor in electrical and computer engineering at Auburn University, and a team of colleagues are searching for answers.

What food and supplies are most needed, where are they most needed – and when? Excessive foods – including perishables – might be wasted if supplies are too great. On the other hand, thin supplies could run out quickly and people depending on this service from their local food pantry might receive nothing. As the fifth-poorest state in the nation, 17 percent of adults and 23 percent of children in Alabama struggle with food insecurity, according to the Alabama Department of Public Health.

A generic square placeholder image with rounded corners in a figure.
Yin Sun

Sun is part of a multi-disciplinary research project, “Strengthening the Alabama Emergency Food Distribution System Using Machine Learning: Impact on Household & Community Food and Nutrition Security During Disasters,” across two Alabama universities aimed at solving this problem for the state.

“Many distribution centers don’t know how many people are coming to collect food,” said Sun, who is joined on the project by Rui Chen, Robert Zabawa, Eunice Bonsi, and Souleymane Fall, each from Tuskegee University. “Sometimes they have a high number of people come to collect food. Sometimes they have a low number. This matters greatly when you prepare boxes for people to come pick up."

“Some of these foods are vegetables, or others, that might require refrigeration or a means of storage to keep the food fresh,” said Sun. “These centers constantly deal with this problem. So many resources, volunteers, time, money, and human effort, are dedicated to food pantries across the state and nation. It’s very important that they serve with the best efficiency possible. That said, we have developed a machine learning algorithm that is trying to predict how many people might come pick up food. This can help the organization from a supply chain and labor resource point of view.”

Sun and doctoral students Md Kamran Chowdhury Shisher and Thomas Orrison in the university’s Real Time Networking Lab are utilizing data accrued since 2016 from a variety of Alabama food distribution centers in Lee County, including the Food Bank of East Alabama, Lakeview Baptist Church and Auburn United Methodist Church, to develop machine learning algorithms that should help bolster the network’s food demand forecasting models, which will vary from location. Sun said food remaining from these distribution centers is often relocated to the Campus Food Pantry at Auburn University.

“Developing an algorithm based on factual data will reduce the margin of error that is often a result of guessing based on past experiences,” said Sun, whose team has volunteered at local food distribution centers during the fall semester. “We are utilizing historical weekly data and socio-economic data. It’s also important to understand how many days schools are open because children are fed from the schools. This will impact whether parents are coming to pick up food on those days. Then we must also consider customer personal income. We then weigh these factors into an algorithm that can best create an accurate model.”

Sun, who will use what he’s learning through this experience to co-teach “Applied Statistical and Machine Learning” to graduate and undergraduate students at Auburn and Tuskegee in spring 2023, said the team will soon collect data from more food pantries across the state – including the state’s Black Belt – to improve the robustness of synthetic data generalization.

“Many research topics are regarded as theoretical,” Sun said. “But this is an area where we have an opportunity to immediately give something beneficial back to society. I’ve been working in Auburn for the past five years and it was very important for me and our students to do something for our community and the state. Our students are learning cutting-edge research and new technologies. Through this project, they are transferring that knowledge for the greater good.”

Media Contact: Joe McAdory, jem0040@auburn.edu, 334.844.3447
A team of researchers from Auburn University and Tuskegee University are giving back to the community by solving inventory issues and helping distribute produce. Photographed, from left to right, are volunteer Marjorie Ann Ellisor, professor Rui Chen from Tuskegee University,  assistant professor in electrical engineering Yin Sun, PhD candidate Md Kamran Chowdhury, PhD student Thomas Orrison, and Auburn United Methodist Church Mission Outreach Coordinator Joe Davis.

A team of researchers from Auburn University and Tuskegee University are giving back to the community by solving inventory issues and helping distribute produce. Photographed, from left to right, are volunteer Marjorie Ann Ellisor, professor Rui Chen from Tuskegee University, assistant professor in electrical engineering Yin Sun, PhD candidate Md Kamran Chowdhury, PhD student Thomas Orrison, and Auburn United Methodist Church Mission Outreach Coordinator Joe Davis.

Recent Headlines