Weak Labeling for Cropland Mapping in Africa

Gilles Quentin Hacheme, Akram Zaytar, Girmaw Abebe Tadesse, Caleb Robinson, Rahul Dodhia, Juan M. Lavista Ferres, Stephen Wood

TL;DR

This paper introduces a workflow to overcome the scarcity of high-resolution training data for cropland mapping in Africa. By combining unsupervised object clustering with noisy, low-resolution "weak" labels, the researchers "mine" high-quality training samples that significantly boost the performance of deep learning models, nearly doubling the F1 score in data-sparse scenarios.

What Problem Does This Paper Address?

Accurate, high-resolution cropland maps are essential for food security and agricultural policy, particularly in Africa where economies are heavily dependent on farming. However, creating these maps is difficult. Existing global datasets often have low resolution (≥30m/pixel) or high noise levels, failing to align with the actual boundaries of smallholder farms.

While human annotation provides high-quality "ground truth," it is expensive and slow, creating a scalability bottleneck. This paper tackles the challenge of how to leverage existing, imperfect global maps (weak labels) to improve high-resolution mapping without requiring massive amounts of manual human effort.

Methods

The authors propose a "cluster-based refinement" approach to improve weak labels. The workflow follows these steps:

  1. Unsupervised Segmentation: They perform K-means clustering on high-resolution multi-spectral satellite imagery to group similar pixels. These clusters are then converted into polygons (objects).
  2. Size Filtering: To ensure the objects represent meaningful land features, they filter out extremely small and extremely large polygons based on quantiles.
  3. Label Mining: They intersect these unsupervised polygons with existing weak global cropland labels.
  4. If a polygon has >80% overlap with the weak cropland label, it is mined as a "strong" positive sample.
  5. If it has <20% overlap, it is mined as a "strong" negative (non-cropland) sample.
  6. Model Training: These mined labels are used to augment a sparse set of human-annotated labels to train a U-Net semantic segmentation model with a ResNet-50 backbone.
Fig. 1. An overview of our proposed approach. Given satellite imagery (A) and weak cropland labels (C) over a given AOI we first use a K-Means clustering and filtering method to perform unsupervised object segmentation of the imagery (B). We intersect the resulting objects (polygons) with the weak labels to mine stronger positive and negative samples (D). Our experimental results show that adding these mined labels to human labels improves model performance.

Datasets

  • Satellite Imagery: Planetscope monthly basemaps (4.7m/pixel resolution) provided by the NICFI initiative, covering the Central Highlands Ecoregion Foodscape (CHEF) in Kenya for the year 2022.
  • Weak Labels: Cropland layers obtained from The Nature Conservancy (TNC), which cover the entire area of interest but lack fine-grained alignment with high-resolution imagery.
  • Human Labels: A small set of 67 manually annotated polygons covering roughly 4% of the study area, used for both training (in "half-label" scenarios) and evaluation.

Key Insights and Ideas

  • The Power of Negatives: The most striking finding is that adding mined negative labels (non-cropland) provided a much larger performance boost than adding mined positive labels. This suggests that in complex landscapes, defining what is not a crop is just as important as defining what is.
  • Raw Weak Labels are Dangerous: Simply using raw global maps to augment training data actually degraded performance (F1 score dropped from 0.53 to 0.29). This confirms that global maps are often too noisy for direct use in high-resolution tasks.
  • Unsupervised Geometry as a Prior: By using K-means to find natural boundaries in the imagery first, the method ensures that the final training labels respect the actual shapes of fields and features on the ground, even if the underlying weak label is "blurry."

Key Results

The researchers tested several scenarios to see how mined labels affected model performance. The most realistic scenario involved using only half of the available human labels (simulating a data-poor environment).

  • Baseline (Half Human Labels): Achieved a cropland F1 score of 0.53.
  • Augmented (Half Human + Mined Negatives): The F1 score jumped to 0.84, a nearly 60% improvement.
  • Precision Boost: The precision for the cropland class increased from 0.41 to 0.92 when mined negative labels were added, indicating a massive reduction in false positives.
Table 1. Results derived from different scenarios of the labels considered. A detailed description of each experiment can be found in Section 4.We report the number and area of mined labels for our proposed approach. We evaluate performance by measuring the F1 score, Precision, and Pecall for each of the cropland (C) and non-cropland (NC) classes. We observe that adding mined negative labels to the human labels results in the best performance, improving significantly on only using human labels.

Limitations and Future Work

The authors acknowledge that this study focused on a specific area of interest (AOI) in Kenya without testing for spatial or temporal generalization. A model trained this way might not perform as well in a different region or a different growing season without new mined labels.

Future work will involve validating this approach across multiple data sources and extending the research to larger, more diverse regions across the African continent. The authors also suggest that more advanced unsupervised methods, like the "Segment-Anything" model, could potentially replace K-means in the segmentation step.

Summary updated

Abstract

Cropland mapping can play a vital role in addressing environmental, agricultural, and food security challenges. However, in the context of Africa, practical applications are often hindered by the limited availability of high-resolution cropland maps. Such maps typically require extensive human labeling, thereby creating a scalability bottleneck. To address this, we propose an approach that utilizes unsupervised object clustering to refine existing weak labels, such as those obtained from global cropland maps. The refined labels, in conjunction with sparse human annotations, serve as training data for a semantic segmentation network designed to identify cropland areas. We conduct experiments to demonstrate the benefits of the improved weak labels generated by our method. In a scenario where we train our model with only 33 human-annotated labels, the F_1 score for the cropland category increases from 0.53 to 0.84 when we add the mined negative labels.
BibTeX
@misc{hacheme2024weak,
  author = {Gilles Quentin Hacheme and Akram Zaytar and Girmaw Abebe Tadesse and Caleb Robinson and Rahul Dodhia and Juan M. Lavista Ferres and Stephen Wood},
  title = {{Weak Labeling for Cropland Mapping in Africa}},
  year = {2024},
  eprint = {2401.07014},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.07014},
}
Figure