NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Localized Data Work as a Precondition for Data-Centric ML: A Case Study of Full Lifecycle Crop Disease Identification in Ghana

Darlington Akogo, Issah Abubakari Samori, Cyril Akafia, Harriet Fiagbor, Andrews Kangah, Donald Kwame Asiedu, Kwabena Fuachie, Luis OalaarXiv 2023 · DOI

Abstract

Machine learning applications in the Global South often struggle due to a lack of localized, high-quality datasets that reflect specific environmental conditions. This paper presents a case study of the CADI AI project, which focuses on identifying pests, diseases, and abiotic stressors in Ghanaian cashew crops. By adopting a data-centric approach—prioritizing localized data collection via drones and expert-led annotation—the researchers developed a robust object detection system. Deployed as an offline-first desktop application, the system achieves a mean Average Precision (mAP) of 0.648 using a YOLOv5x architecture. The results underscore that "data work" is a critical precondition for successful ML deployment in real-world agricultural settings.

Introduction

Cashew nuts are a vital cash crop for smallholder farmers in Ghana, yet yields are frequently decimated by insects, microorganisms, and abiotic stressors such as drought or nutrient deficiency. While computer vision offers a way to automate the detection of these issues, most existing models are trained on generic datasets that fail to reflect the specific environmental conditions, crop varieties, or "visual noise" found on Ghanaian farms.

This research argues that the traditional "model-centric" approach—focusing on incremental gains in architecture—is insufficient for public good tasks in the Global South. Instead, the authors champion a "data-centric" approach, where the primary effort is spent on high-quality, localized data collection and expert-led annotation to ensure the AI's practical utility in the field.

Methodology

The researchers implemented a full-lifecycle approach encompassing data work, model development, and deployment.

The full lifecycle of the CADI AI project, spanning data work, model training, and UI application deployment.

Localized Data Work and Annotation

Instead of relying on web-scraped images, the team conducted manual drone flights over cashew farms in the Bono Region of Ghana. Using a DJI P4 Multi-spectral drone at altitudes of 2–10 meters, they captured 4,736 high-resolution images across different growth stages and seasonal cycles.

To ensure scientific accuracy, the team collaborated with agricultural scientists from the University of Ghana. They categorized stressors into three functional groups: Insect, Disease, and Abiotic. This expert involvement was crucial because disease and abiotic symptoms often exhibit significant visual overlap, making them indistinguishable to non-experts.

Model Training and Deployment

The team experimented with various YOLO (You Only Look Once) architectures, specifically YOLOv5 and YOLOv8. Recognizing the infrastructure challenges in rural Ghana, the system was designed for offline deployment. A desktop application was built using Flutter and a local Flask server, allowing for local image processing and the use of Exif metadata (GPS coordinates) to map stressor locations without requiring internet connectivity.

Key Results

The best-performing model was YOLOv5x, which achieved a mean Average Precision (mAP) of 0.648. The model demonstrated particularly strong performance in identifying the "insect" class due to its distinct visual characteristics.

Performance metrics for the YOLOv5x model, including the confusion matrix and precision-recall curves showing a mAP of 0.648.

The researchers found that larger batch sizes and specific YOLOv5 configurations outperformed newer YOLOv8 models on this localized dataset. This suggests that for specific, high-resolution agricultural datasets, older architectures may sometimes offer better stability or feature extraction capabilities.

Discussion and Insights

A central finding of the project is that "data work"—including stakeholder consultation, collection, and labeling—is the most labor-intensive and vital component of the ML lifecycle for localized problems. The prevalence of abiotic stress was a significant discovery; while many projects focus solely on "disease," the CADI AI data was heavily skewed toward environmental factors.

Furthermore, the "offline-first" design philosophy proved essential. By processing data locally, the researchers bridged the gap between high-tech ML research and the practical realities of rural infrastructure, ensuring the tool is accessible to the farmers who need it most.

Conclusion and Future Work

The CADI AI project demonstrates that localized data work is a necessary precondition for effective machine learning in agriculture. Future work will focus on addressing class imbalances, expanding geographic data collection beyond the Bono Region, and refining the model to identify specific pest species. By open-sourcing the CADI AI Dataset, the authors hope to encourage further data-centric research for the public good.

Summary updated

BibTeX
@misc{akogo2023localized,
  author = {Darlington Akogo and Issah Abubakari Samori and Cyril Akafia and Harriet Fiagbor and Andrews Kangah and Donald Kwame Asiedu and Kwabena Fuachie and Luis Oala},
  title = {{Localized Data Work as a Precondition for Data-Centric ML: A Case Study of Full Lifecycle Crop Disease Identification in Ghana}},
  year = {2023},
  eprint = {2307.01767},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2307.01767},
}
Figure