Source-linked AI summary

Using Transfer Learning for Image-Based Cassava Disease Detection

Amanda Ramcharan, Kelsee Baranowski, Peter McCloskey, Babuali Ahmed, James Legg, David Hughes

arXiv:1707.03717v2cs.CVcs.CY

TL;DR

Field cassava disease identification is costly to scale where agricultural extension infrastructure is limited. This paper applies transfer learning to field images for automated detection and reports high class-specific accuracies, with results varying by disease and image representation.

  • Problem

    Field disease identification is crucial for managing cassava disease spread, but traditional approaches are expensive to scale and limited by low logistical and human infrastructure capacity.

  • Method

    The study uses transfer learning with the Inception v3 convolutional neural network to classify cassava diseases and pest damage from field images.

  • Results

    SVM achieved the highest accuracies for four of six classes, while Inception v3 reached 98% for CBSD and 95% for GMD using leaflet images.

  • Takeaways & Limitations

    Leaflet images improved accuracy only slightly for some diseases, while whole-leaf images performed better for CMD and RMD, suggesting datasets need not exceed 500 images per class.

Abstract

from arXiv · show

Cassava is the third largest source of carbohydrates for human food in the world but is vulnerable to virus diseases, which threaten to destabilize food security in sub-Saharan Africa. Novel methods of cassava disease detection are needed to support improved control which will prevent this crisis. Image recognition offers both a cost effective and scalable technology for disease detection. New transfer learning methods offer an avenue for this technology to be easily deployed on mobile devices. Using a dataset of cassava disease images taken in the field in Tanzania, we applied transfer learning to train a deep convolutional neural network to identify three diseases and two types of pest damage (or lack thereof). The best trained model accuracies were 98% for brown leaf spot (BLS), 96% for red mite damage (RMD), 95% for green mite damage (GMD), 98% for cassava brown streak disease (CBSD), and 96% for cassava mosaic disease (CMD). The best model achieved an overall accuracy of 93% for data not used in the training process. Our results show that the transfer learning approach for image recognition of field images offers a fast, affordable, and easily deployable strategy for digital plant disease detection.

1 INTRODUCTION

Cassava is a globally important food-security crop, particularly for African smallholders and food-deficit areas. Pest and disease risks make early field detection crucial, while conventional identification is costly and difficult to scale where infrastructure is limited.

  • Cassava’s importance: Cassava is the world’s most widely grown root crop and provides calories for roughly two out of every five Africans.In 2014, Africa harvested over 145 million tonnes across 17 million hectares.
  • Cassava’s importance: Cassava supports food security on smallholder farms because it yields sufficiently in low-fertility soils and under irregular rainfall.This role is especially important in low-income, food-deficit areas.
  • Production risks: Smallholder farmers face production risks from climate change, market shocks, and pest and disease outbreaks.Smallholders represent 85% of the world’s farms, and cassava has encountered major arthropod pests since their emergence in Africa during the 1970s.
  • Detection challenge: Early field identification is crucial for managing cassava disease detection and spread, but traditional approaches depend on costly, difficult-to-scale agricultural extension support.These limitations are especially pronounced where logistical and human infrastructure capacity is low.

2 METHODS

The study constructed field-image datasets from cassava leaves in Tanzania and evaluated transfer learning with Inception v3 across alternative classifiers and train-test splits. The datasets represented three diseases, two mite-damage classes, and healthy leaves.

  • Dataset construction: 11,670 images were collected over four weeks in Tanzanian experimental fields using a Sony Cybershot 20.2-megapixel camera, yielding an original dataset of 2,756 images.Images were screened for co-infections, and leaves were roughly centered in the frame.
  • Dataset construction: 15,000 leaflet images, comprising 2,500 images per class, formed a second dataset by manually cropping photographs from the original dataset.The two datasets enabled comparison of full-leaf images with fewer samples against cropped-leaf images with more samples.
  • Class definitions: Six classes covered CBSD, CMD, BLS, GMD, RMD, and healthy leaves, with original-dataset counts of 398, 388, 386, 309, and 415 images for the five affected classes, respectively.Healthy leaves were defined as lacking disease or mite damage.
  • Model and training: Transfer learning retrained Inception v3’s final layer, using visual knowledge learned from ImageNet, to classify the cassava datasets.Inception v3 was implemented in TensorFlow and had been trained for 1,000-class ImageNet recognition.
  • Model and validation: Three final-layer architectures were evaluated: the original inception softmax layer, support vector machines (SVM), and knn nearest neighbor(knn).Validation used 10% of each dataset, while the remaining 90% was divided across training-testing configurations including 80-10 and 60-30 splits.

3 RESULTS

Transfer-learning models achieved 73–93% overall accuracy, with leaflet images performing better than whole-leaf images and SVM attaining the highest accuracy. Class-specific results reached 0.98 for CBSD and BLS, while larger leaflet datasets did not significantly improve correct-prediction proportions.

  • Overall accuracy: 93.0% overall accuracy was achieved on the leaflet dataset with the 80-10 split and SVM, compared with 91% for the original dataset.Overall accuracy ranged from 80% to 93.0% for leaflet images and from 73% to 91% for whole-leaf images.
  • Model performance: k=3 knn performed worst, whereas models based on class separability had similar performance for original and leaflet datasets.
  • Confusion-matrix analysis: 0.78 healthy-class accuracy with Inception v3 on original images increased to 0.83 for leaflet images under the 80-10 split.Confusion-matrix diagonal cells represent the proportion of correctly predicted examples.
  • Disease-specific accuracy: 0.98 was the highest reported disease-prediction accuracy, attained for CBSD with Inception v3-leaflet and BLS with SVM-leaflet.
  • Disease-specific accuracy: 0.96 accuracy was achieved for both CMD and RMD by SVM using the original dataset, while leaflet size did not significantly increase correct-prediction proportions.The leaflet dataset was almost 7 times as large as the original dataset.

4 DISCUSSION AND CONCLUSION

The study concludes that Inception v3 transfer learning is a powerful approach for automated cassava disease detection that avoids labor-intensive feature extraction. In practical smartphone-assisted diagnosis, leaflet images improved accuracy only slightly for some diseases, while whole-leaf images performed better for others.

  • Methodological contribution: Inception v3 transfer learning enabled automated cassava disease detection without the complex, labor-intensive step of extracting image features.The approach can also support retraining common machine-learning methods using vectors produced by the trained model on new class data.
  • Model results: 96% CMD and 96% RMD accuracies were highest for the SVM model using the original dataset.SVM achieved the highest prediction accuracies for four of six disease classes; on the leaflet dataset, it reached 90% for Healthy and 98% for BLS.
  • Field deployment: Leaflet use improved diagnostic accuracy only slightly for CBSD, BLS, and GMD, whereas whole-leaf images produced higher accuracies for CMD and RMD.This outcome was unexpected because the larger leaflet dataset was expected to perform better for every disease class.

FUNDING

The study received support from the Huck Institutes at Penn State University.

  • FUNDING: The authors thank the Huck Institutes at Penn State University for support.
Loading 1707.03717v2…