Faculty of Graduate Studies and Research, University of Regina
An analysis of shallow vs deep features for AI-based plant disease detection
Abstract
dc:description.abstractMany literatures show deep networks to be highly effective in visual classification. While effective, these networks rely on big data for its training process which tends to be time-consuming and resource heavy. On-site data involving plant diseases is often difficult to find in the public domain. We investigate in the absence of abundant data that has class imbalances, whether the substitution of shallow features provide a faster means to deployment in comparison to a deep feature extractor. In this work, shallow features as purposefully extracted features that are hand-crafted and selected by the data scientist. In comparison, deep features as learned features from a fully trained deep learning model where the network decides which features are most useful. When using a shallow feature extractor, we experiment with varying kmeans clustering models with different implementations and representations of visual words. For our deep feature extractor, we experiment with the different CNN architectures with various hyper-parameter settings such as regularization coefficients, learning rate, dropout rate, activation functions, and the number of intermediate nodes. The SVM and FCN classifiers then utilize these feature vectors as inputs to perform our model prediction. Likewise, we fine-tune these classifiers to improve their accuracy. Our findings shows that deep feature extractors are more versatile than shallow feature extractors. Without extensive knowledge and experience regarding specific data-sets, it is more advantageous to extract features from deep networks in comparison to using visual bag of words representation. Extracting features from a data-set may require information that can be non-intuitive that are necessary to improve the model’s confidence in its predictions. Image data-sets can have a variety of unique properties that are important when extracting features. Using the Fine-Grained Visual-Categorization Workshop 6 and 7 (FGVC6 and FGVC7) data-sets, we show that the quality of the feature vector can have a considerable influence on the model’s performance. On the basis of F1-scoring for the FGVC6 Cassava data set, we observe our highest performing model to be the EfficientNetB0 feature extractor using an FCN classifier. This model yields an F1-score of 86% with an accuracy of 91%. The best performing model for the FGVC7 apple scab dataset is the ResNet-50 feature extractor with a SVM classifier. This model yields the highest F1-score of 96% with an accuracy of 98%. Furthermore, this thesis shows some of the challenges and considerations when automating these models for plant disease diagnosis. We propose a structure for integrating these built models towards a plant disease monitoring system running in the cloud with a microservice framework using dockers and Amazon Web Services (AWS). This structure provides a means to ensure it is scalable with respect to the size of the crops without needing to compromise in performance.
Degree
thesis:*- Name thesis:degree_name
- Master of Applied Science (MASc)
- Level thesis:degree_level
- Master's
- Discipline thesis:degree_discipline
- Engineering - Electronic Systems
- Department thesis:degree_department
- Faculty of Engineering and Applied Science
- Grantor dc:publisher
- Faculty of Graduate Studies and Research, University of Regina
- Year dc:date.issued
- 2022
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Chan, Vincent Sun-Wai
- Advisor dc:contributor.advisor
-
- Bais, Abdul
- Committee member dc:contributor.committeemember
-
- Laforge, Paul
Rights
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Identifier URI
- https://hdl.handle.net/10294/15533
- Thesis Thesis Identifier
- TC-SRU-15533