Skip to main content
QUICK REVIEW

[Paper Review] Uncovering bias in the PlantVillage dataset

Mehmet A. Noyan|arXiv (Cornell University)|Jun 9, 2022
Smart Agriculture and AIAgricultural and Biological Sciences22 citations
TL;DR

The study demonstrates significant bias in the PlantVillage dataset by showing a model trained on only 8 background pixels achieves 49.0% accuracy, far above random chance, implying background/capture bias. It also shows background removal does not fully eliminate bias and discusses mitigation strategies.

ABSTRACT

We report our investigation on the use of the popular PlantVillage dataset for training deep learning based plant disease detection models. We trained a machine learning model using only 8 pixels from the PlantVillage image backgrounds. The model achieved 49.0% accuracy on the held-out test set, well above the random guessing accuracy of 2.6%. This result indicates that the PlantVillage dataset contains noise correlated with the labels and deep learning models can easily exploit this bias to make predictions. Possible approaches to alleviate this problem are discussed.

Motivation & Objective

  • Assess whether the PlantVillage dataset contains bias that can be exploited by ML models.
  • Quantify how much background information contributes to disease classification by using an 8-pixel background subset.
  • Compare bias presence when backgrounds are removed or manipulated across related datasets.

Proposed method

  • Create PlantVillage_8px by extracting 8 pixels from each image (four corners, four side centers).
  • Train a random forest classifier on PlantVillage_8px with 80/20 train/test split using default hyperparameters.
  • Compare performance to random-guess baseline (100/38 ≈ 2.6%).
  • Extend analysis to PlantVillage_blur, PlantVillage_fg_blur, and PlantVillage_bg_blur to assess background/capture bias effects.
  • Apply the same evaluation on MNIST_8px as a control with 10 classes.
  • Discuss bias sources and implications for dataset design and model evaluation.

Experimental results

Research questions

  • RQ1Does the PlantVillage dataset contain bias that enables high accuracy using only background/capture information?
  • RQ2Does removing image backgrounds eliminate bias in PlantVillage-derived models?
  • RQ3How does background manipulation affect bias when comparing PlantVillage to an unbiased dataset like MNIST?
  • RQ4What are the practical implications for dataset design and reporting model performance in plant disease detection?

Key findings

  • A model trained on PlantVillage_8px achieves 49.0% accuracy on the test set, well above random guess (2.6%).
  • On MNIST_8px, the same model achieves 11.7% accuracy, near random guess (10%).
  • Background removal (PlantVillage_fg_blur) yields bias similar to datasets with backgrounds (11.7%, 10.0%, 10.8% vs 2.6%).
  • Capture bias affects both foreground and background, so removing background information does not fully remove bias in PlantVillage.
  • Extending PlantVillage with field data may introduce new biases if data sources differ (e.g., field vs laboratory), not solving the underlying bias issue.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.