Performance Evaluation of Semi-supervised Learning Frameworks for Multi-Class Weed Detection

Jiajia Li, Dong Chen, Xunyuan Yin, Zhaojian LiarXiv 2024 · DOI

Introduction

Precision Weed Management (PWM) is a cornerstone of sustainable agriculture, aiming to reduce herbicide usage by targeting specific weeds through computer vision. However, the high cost and time required for manual data labeling create a significant barrier to entry. This research explores semi-supervised learning (SSL) as a solution, demonstrating that models can achieve near-parity with fully supervised systems using only a fraction of the labeled data.

Methodology: The Teacher-Student Framework

The study evaluates a Teacher-Student architecture designed to leverage large amounts of unlabeled imagery. The process is cyclical and relies on three core components:

The Teacher-Student framework for semi-supervised weed detection, utilizing pseudo-labeling and exponential moving average (EMA) updates.
  1. Teacher Model: Initially trained on a small labeled dataset, the Teacher generates "pseudo-labels" for unlabeled images.
  2. Student Model: The Student is trained on both the original labeled data and the Teacher's pseudo-labels. To improve generalization, the Student processes "strongly augmented" (distorted) images.
  3. EMA Update: The Teacher’s weights are periodically updated using an Exponential Moving Average (EMA) of the Student’s weights, creating a stable learning loop.

A critical addition is the Unsupervised Regression Loss module, which filters out inaccurate pseudo-labels by comparing localization uncertainty between the two models, ensuring the Student does not learn from the Teacher's errors.

Experimental Setup

The researchers tested this framework on two benchmarks:

  • CottonWeedDet3: 848 images with 3 weed classes.
  • CottonWeedDet12: 5,648 images with 12 weed classes, reflecting real-world class imbalances.

The performance was compared across two architectures: the anchor-based Faster R-CNN and the anchor-free FCOS.

Key Results and Insights

The results highlight the "label efficiency" of SSL. On the complex CottonWeedDet12 dataset, the SSL approach reached 96% of the performance of a fully supervised model while using only 10% of the labels.

Performance comparison ([email protected]) between supervised and semi-supervised models across different labeling percentages on the CottonWeedDet12 dataset.
  • Anchor-Free Robustness: FCOS consistently outperformed Faster R-CNN in the SSL setting. Its ability to predict objects directly from pixels, without relying on pre-defined anchor boxes, makes it more adaptable to the varied shapes of weeds.
  • SSL as a Denoiser: Surprisingly, SSL models sometimes outperformed human annotators by identifying weeds that were missed or mislabeled in the ground-truth data, thanks to the vast amount of unlabeled data they processed.
  • Handling Imbalance: SSL proved particularly effective for rare weed species, which are often difficult for supervised models to learn from limited samples.

Conclusion

Semi-supervised learning offers a viable path toward deploying smart robotic weeders without the prohibitive cost of massive manual labeling. Future work will focus on "open-set" detection—identifying unknown plants—and optimizing these frameworks for real-time performance on edge-computing devices in the field.

Summary updated

BibTeX
@misc{li2024performance,
  author = {Jiajia Li and Dong Chen and Xunyuan Yin and Zhaojian Li},
  title = {{Performance Evaluation of Semi-supervised Learning Frameworks for Multi-Class Weed Detection}},
  year = {2024},
  eprint = {2403.03390},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.03390},
}
Figure