arXiv:2608.25759cs.LGAug 2026

Manuscript Offprint

arXiv:2608.25759

Learning from waste: Machine Learning for health risk prediction and computer vision-based sorting in Ghana

Hilda Adwubi Osei, Catherine Tenewaa Osei, Desdemona Yaa Asobayire

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

A PREPRINT

Hilda Adwubi Osei

Department of Industrial Engineering

Kwame Nkrumah University of Science and Technology

Kumasi

hildaosei109@gmail.com

Catherine Tenewaa Osei

Department of Nursing

Kwame Nkrumah University of Science and Technology

Kumasi

oseicathryn3@gmail.com

Desdemona Yaa Asobayire

Department of Mechanical Engineering

University of Nottingham

NG7 2RD, United Kingdom

desdemonaasobayire952@gmail.com

August 4, 2026

ABSTRACT

The inappropriate disposal of solid waste remains a significant public health and environmental concern worldwide, including in Ghana. Poor sanitation and improper municipal waste management practices in Ghana contribute to substantial economic costs and thousands of avoidable deaths annually. In 2022, a field study conducted in Atonsu, Kumasi, Ghana, reported a community-perceived relationship between household waste disposal practices and particular patterns of illness. However, this association was identified only descriptively, based on interview responses and questionnaire percentages, without quantitative modeling or validation.

This study extends that earlier investigation through the application of two data-driven approaches. First, a Random Forest classifier was developed to predict illness categories using household waste disposal practices alongside demographic survey information. On a held-out group of respondents who reported illness (N = 69), the model obtained a macro F1 score of 0.63, with waste disposal method emerging as the most important substantive predictor of illness type. Second, a MobileNetV2-based image classification model was designed to enable automated waste sorting through visual recognition. The model achieved 88.2% accuracy and a macro F1 score of 0.87 on the test set (N = 415).

The vision-based approach offers a relatively affordable, camera-driven alternative to the multi-sensor mechanical sorting system proposed in the original work, making it potentially more suitable for deployment in resource-constrained settings. Taken together, the findings provide quantitative evidence for a community health relationship that had previously been documented only through qualitative and descriptive analysis. They also demonstrate the potential for practical automated waste-sorting technologies in environments with limited resources. Importantly, the results further illustrate that technological performance, by itself, does not guarantee meaningful improvements in public health or environmental outcomes; effective institutional support and implementation are equally necessary.

Keywords waste management · machine learning · public health · Ghana · image classification

A PREPRINT

1 Introduction

The amount of municipal solid waste generated globally continues to grow rapidly, driven largely by urban expansion, population growth, and shifts in consumption behavior. The World Bank’s "What a Waste 3.0" report estimates that global municipal solid waste generation totaled approximately 2.56 billion tonnes in 2022. Without significant changes to current trends, this volume is expected to increase substantially, reaching an estimated 3.86 billion tonnes by 2050 [Cook et al., 2026].

A disproportionate share of this burden falls on low and middle income countries, where waste management infrastructure has not kept pace with the rate of waste generation, and where a substantial fraction of waste is disposed of through open dumping, informal burning, or unmanaged landfilling rather than through regulated collection and treatment systems, approximately 30% of global waste was mismanaged in this way in 2022, a share projected to fall to around 20% by 2050 [Cook et al., 2026]. These disposal practices carry direct consequences for public health and environmental quality, particularly, in rapidly urbanizing communities where waste management systems are still developing.

In Ghana, poor sanitation and waste management already impose substantial economic and public health costs. A 2012 World Bank Water and Sanitation Program (WSP) study estimated that poor sanitation costs Ghana's economy approximately GH¢420 million annually, equivalent to 1.6 percent of national GDP, with 74 percent of this cost attributable to premature mortality [World Bank Water and Sanitation Program, 2012]. The same study attributed an estimated 19,000 annual deaths in Ghana to diarrheal disease, of which nearly 90% is directly attributable to poor water, sanitation, and hygiene (WASH) conditions [World Bank Water and Sanitation Program, 2012]. These national-level figures reflect a broader pattern in which improper waste disposal, including open burning, indiscriminate dumping, and disposal into water bodies, contributes directly to disease transmission and environmental degradation in urban and peri-urban Ghanaian communities.

These national patterns are visible at the community level in Atonsu, Kumasi, where the present study was conducted. An initial field investigation conducted in 2022 identified improper waste disposal as a driver of recurrent illness in the community. This was based on the observation that frequent hospital visits by residents corresponded with specific, repeated diagnoses, including cholera, malaria, typhoid, diarrhea, and colds and flu, many of which were traceable to how residents disposed of their waste. Structured interviews and questionnaires administered to residents of Atonsu Bukuro found that most respondents disposed of waste through open burning, dumping in streams, or discarding in bushes, with only a minority relying on regulated bin collection. Residents linked each disposal method to a distinct pattern of health complaints: waste dumped in bushes was associated with malaria and snake bites; waste dumped in streams was associated with diarrhea, cholera, and dysentery; and smoke from open burning was associated with headaches, nausea, and heart-related issues. This fieldwork established a clear, community-reported link between disposal methods and illness, but did not go further than descriptive and anecdotal analysis, leaving open the question of whether this relationship could be modeled and quantified systematically, and whether interventions such as automated waste sorting could be feasibly implemented in a resource-constrained setting.

This study extends the original field investigation with two data-driven models aimed at addressing the gaps identified above. First, we developed a Random Forest classifier that predicts the illness category from self-reported disposal methods and demographic variables using survey data collected from residents across Atonsu's eight sub-areas. Evaluated on a subset of respondents who reported illness, the model achieved a macro F1 score of 0.63 across four illness categories — a modest but meaningful result given the small sample size (N = 69) and the inherent noisiness of self-reported health outcomes, and one that identifies disposal method as the dominant predictive feature. Second, instead of the original study's conceptual, multi-sensor mechanical waste-sorting design, we developed a vision-based waste classifier using transfer learning on MobileNetV2, fine-tuned on the TrashNet dataset, achieving 88 percent test accuracy and a macro F1 score of 0.87 across waste categories. Together, these two models demonstrate that (1) the community-reported link between disposal method and illness can be partially recovered through supervised learning on real survey data, and (2) camera-based waste classification offers a simpler, more readily deployable alternative to the multi-sensor sorting mechanism originally proposed, without requiring the combination of infrared, capacitive, inductive, and optical sensors envisioned in the 2022 concept design.

The rest of this study is structured as follows. Section 2 reviews the related work on waste disposal and health outcomes, predictive modeling of environmental survey data, and automated waste sorting approaches. Section 3 describes the study area and the background of the original field investigation conducted in 2022. Section 4 details the methodology for both the survey-based and image classification models. Section 5 presents the results for each model, and Section 6 discusses their combined implications. Section 7 outlines the limitations of this study, and Section 8 concludes with recommendations for future research.

A PREPRINT