Skip to main content
QUICK REVIEW

[Paper Review] LeafGAN: An Effective Data Augmentation Method for Practical Plant Disease Diagnosis

Quan Huu Cap, Hiroyuki Uga|arXiv (Cornell University)|Feb 24, 2020
Smart Agriculture and AIAgricultural and Biological Sciences9 citations
TL;DR

This paper proposes LeafGAN, a novel image-to-image translation model with a custom attention mechanism that generates realistic, diverse diseased plant leaf images from healthy ones for data augmentation. By focusing transformations only on leaf regions via a segmentation-guided approach, LeafGAN improves plant disease classification accuracy by 7.4% over baseline, significantly outperforming vanilla CycleGAN, which only improved performance by 0.7%.

ABSTRACT

Many applications for the automated diagnosis of plant disease have been developed based on the success of deep learning techniques. However, these applications often suffer from overfitting, and the diagnostic performance is drastically decreased when used on test datasets from new environments. In this paper, we propose LeafGAN, a novel image-to-image translation system with own attention mechanism. LeafGAN generates a wide variety of diseased images via transformation from healthy images, as a data augmentation tool for improving the performance of plant disease diagnosis. Thanks to its own attention mechanism, our model can transform only relevant areas from images with a variety of backgrounds, thus enriching the versatility of the training images. Experiments with five-class cucumber disease classification show that data augmentation with vanilla CycleGAN cannot help to improve the generalization, i.e., disease diagnostic performance increased by only 0.7% from the baseline. In contrast, LeafGAN boosted the diagnostic performance by 7.4%. We also visually confirmed the generated images by our LeafGAN were much better quality and more convincing than those generated by vanilla CycleGAN. The code is available publicly at: https://github.com/IyatomiLab/LeafGAN.

Motivation & Objective

  • Address the critical challenge of overfitting and poor generalization in plant disease diagnosis models trained on limited, lab-captured datasets.
  • Improve model robustness when deployed on real-world, field-collected images with complex backgrounds and variable conditions.
  • Develop a data augmentation method that generates high-quality, realistic diseased leaf images while preserving natural variations in background and lighting.
  • Overcome the limitations of standard CycleGAN, which transforms entire images—including backgrounds—leading to unrealistic outputs and minimal performance gains.

Proposed method

  • Introduce a novel image-to-image translation framework, LeafGAN, based on conditional generative adversarial networks (cGANs), specifically tailored for plant disease data augmentation.
  • Incorporate a custom segmentation module, LFLSeg, to identify and isolate leaf regions from input images, enabling focused transformation only on the leaf area.
  • Design a partial-leaf class in the segmentation head to improve robustness when dealing with non-fully visible or cropped leaf images.
  • Apply an attention mechanism that guides the generator to focus on leaf regions during image translation, minimizing interference from background content.
  • Train the model using a cycle-consistency loss and adversarial loss, ensuring realistic image translation while maintaining structural and semantic fidelity.
  • Use the generated images as augmented training data to fine-tune a plant disease classifier, improving its generalization on unseen, real-world test sets.

Experimental results

Research questions

  • RQ1Can a GAN-based data augmentation method significantly improve the generalization performance of plant disease classification models on real-world, field-collected images?
  • RQ2Does focusing image translation only on leaf regions—via segmentation—lead to more realistic and effective augmented training data compared to full-image translation?
  • RQ3How does the performance of a disease classifier trained with LeafGAN-generated images compare to that trained with vanilla CycleGAN-generated images or baseline data?
  • RQ4To what extent does the attention mechanism in LeafGAN reduce the influence of background artifacts in generated images, improving diagnostic feature learning?

Key findings

  • LeafGAN improved plant disease classification accuracy by 7.4% on an unseen test dataset (Dataset B), demonstrating a substantial boost in generalization performance.
  • In contrast, data augmentation using vanilla CycleGAN only increased accuracy by 0.7% over the baseline, indicating minimal benefit due to unrealistic background transformations.
  • Visual inspection confirmed that LeafGAN-generated images were more realistic and convincing than those from CycleGAN, with disease symptoms localized only on the leaf and not the background.
  • The integration of the LFLSeg segmentation module significantly enhanced the quality and relevance of generated images by restricting disease simulation to the leaf region.
  • The attention mechanism in LeafGAN successfully guided the generator to focus on biologically relevant features, reducing spurious reliance on background cues.
  • Despite improvements, both LeafGAN and CycleGAN occasionally misclassified color changes as disease symptoms, especially when training data lacked late-stage disease examples.

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.