Foodgravity: understand food flows using classic gravity model and explainable artificial intelligence techniques

Mapping food flows from production areas to consumption areas is essential and often challenging, especially at local scales (Moschitz & Frick, 2021). Knowing how food moves over space and time is crucial for policy-making to maintain food and nutrition security across scales. Nevertheless, there is...

Descripción completa

Detalles Bibliográficos
Autor principal: Dusabe, B.
Formato: Tesis
Lenguaje:Inglés
Publicado: University of Twente 2024
Materias:
Acceso en línea:https://hdl.handle.net/10568/174509
_version_ 1855533080475860992
author Dusabe, B.
author_browse Dusabe, B.
author_facet Dusabe, B.
author_sort Dusabe, B.
collection Repository of Agricultural Research Outputs (CGSpace)
description Mapping food flows from production areas to consumption areas is essential and often challenging, especially at local scales (Moschitz & Frick, 2021). Knowing how food moves over space and time is crucial for policy-making to maintain food and nutrition security across scales. Nevertheless, there is a tendency to prioritize flows between countries at the global level i.e., Food and Agriculture Organization trade data (FAO, 2023a) whereas the internal food flows within a country are often neglected. This oversight can lead to less efficient spatial planning and agricultural interventions, particularly in less-developed areas where food and nutrition security remains a critical challenge. However, the food flow is a complex issue resulted from socio-ecological characteristics of both origin and destination areas, as well as the linkages in between. To untangle this complexity, this research combined concepts of classic gravity model with machine learning techniques, relying on Explainable Artificial Intelligence techniques (xAI) to enhance the transparency of the predictive models. The Irish potato was chosen as the focus crop to study its flow distribution among 30 districts of Rwanda. Objectives included compiling a comprehensive database of socio-economic and environmental factors along with district pair food flows, and leveraging machine learning methods to predict whether a particular district pair presents Irish potato food flows or not. Specifically, Random Forest (RF) and Support Vector Machine (SVM) were trained to predict Irish potato food flows, while the Local Interpretable Model-agnostic Explanations (LIME) xAI technique was used to further investigate particular district pair instance prediction and its most influencing features. Both RF and SVM models demonstrated high overall accuracy (both above 90%) in predicting district level Irish potato flow. However, it is important to note that the dataset presented imbalanced classes where district pairs that contained Irish potato flows were about 7% of the total data samples, while the remaining dataset comprised the absence of Irish potato flow. F1 score, which is the harmonic mean of precision and recall, was used to evaluate the class prediction accuracy of the models. On the both RF and SVM models, F1 score of class 0 (absence of flow) was 0.96 whereas on class 1 (Presence of flow) was 0.61 for RF and 059 for SVM. These F1 scores shows that both models were accurate at predicting the absence of Irish potato flows (class 0) than the presence of flow (class1), reflecting an imbalance in the dataset where instances of Irish potato flows were less frequent. Using Local Interpretable Model-agnostic Explanations (LIME) xAI technique it was observed that environmental factors notably at the origin district were the most flow influencers compared to socio-economic features. The study recommends the integration of market level flow data, the scope and temporal expansion for a more granular analysis.
format Tesis
id CGSpace174509
institution CGIAR Consortium
language Inglés
publishDate 2024
publishDateRange 2024
publishDateSort 2024
publisher University of Twente
publisherStr University of Twente
record_format dspace
spelling CGSpace1745092025-05-09T09:54:58Z Foodgravity: understand food flows using classic gravity model and explainable artificial intelligence techniques Dusabe, B. food security machine learning nutrition Mapping food flows from production areas to consumption areas is essential and often challenging, especially at local scales (Moschitz & Frick, 2021). Knowing how food moves over space and time is crucial for policy-making to maintain food and nutrition security across scales. Nevertheless, there is a tendency to prioritize flows between countries at the global level i.e., Food and Agriculture Organization trade data (FAO, 2023a) whereas the internal food flows within a country are often neglected. This oversight can lead to less efficient spatial planning and agricultural interventions, particularly in less-developed areas where food and nutrition security remains a critical challenge. However, the food flow is a complex issue resulted from socio-ecological characteristics of both origin and destination areas, as well as the linkages in between. To untangle this complexity, this research combined concepts of classic gravity model with machine learning techniques, relying on Explainable Artificial Intelligence techniques (xAI) to enhance the transparency of the predictive models. The Irish potato was chosen as the focus crop to study its flow distribution among 30 districts of Rwanda. Objectives included compiling a comprehensive database of socio-economic and environmental factors along with district pair food flows, and leveraging machine learning methods to predict whether a particular district pair presents Irish potato food flows or not. Specifically, Random Forest (RF) and Support Vector Machine (SVM) were trained to predict Irish potato food flows, while the Local Interpretable Model-agnostic Explanations (LIME) xAI technique was used to further investigate particular district pair instance prediction and its most influencing features. Both RF and SVM models demonstrated high overall accuracy (both above 90%) in predicting district level Irish potato flow. However, it is important to note that the dataset presented imbalanced classes where district pairs that contained Irish potato flows were about 7% of the total data samples, while the remaining dataset comprised the absence of Irish potato flow. F1 score, which is the harmonic mean of precision and recall, was used to evaluate the class prediction accuracy of the models. On the both RF and SVM models, F1 score of class 0 (absence of flow) was 0.96 whereas on class 1 (Presence of flow) was 0.61 for RF and 059 for SVM. These F1 scores shows that both models were accurate at predicting the absence of Irish potato flows (class 0) than the presence of flow (class1), reflecting an imbalance in the dataset where instances of Irish potato flows were less frequent. Using Local Interpretable Model-agnostic Explanations (LIME) xAI technique it was observed that environmental factors notably at the origin district were the most flow influencers compared to socio-economic features. The study recommends the integration of market level flow data, the scope and temporal expansion for a more granular analysis. 2024-07 2025-05-09T09:54:57Z 2025-05-09T09:54:57Z Thesis https://hdl.handle.net/10568/174509 en Limited Access University of Twente Dusabe, B. (2024). Foodgravity: understand food flows using classic gravity model and explainable artificial intelligence techniques. Enschede, Netherlands: University of Twente, (47 p.).
spellingShingle food security
machine learning
nutrition
Dusabe, B.
Foodgravity: understand food flows using classic gravity model and explainable artificial intelligence techniques
title Foodgravity: understand food flows using classic gravity model and explainable artificial intelligence techniques
title_full Foodgravity: understand food flows using classic gravity model and explainable artificial intelligence techniques
title_fullStr Foodgravity: understand food flows using classic gravity model and explainable artificial intelligence techniques
title_full_unstemmed Foodgravity: understand food flows using classic gravity model and explainable artificial intelligence techniques
title_short Foodgravity: understand food flows using classic gravity model and explainable artificial intelligence techniques
title_sort foodgravity understand food flows using classic gravity model and explainable artificial intelligence techniques
topic food security
machine learning
nutrition
url https://hdl.handle.net/10568/174509
work_keys_str_mv AT dusabeb foodgravityunderstandfoodflowsusingclassicgravitymodelandexplainableartificialintelligencetechniques