[Paper Review] Performance Evaluation of Deep Transfer Learning on Multiclass Identification of Common Weed Species in Cotton Production Systems
This study evaluates deep transfer learning (DTL) for multiclass identification of 15 common cotton-field weeds using a new dataset of 5,187 natural-light images collected across Mississippi and North Carolina. DTL achieved F1 scores above 95%, with ResNet101 attaining 99.1%, and a weighted cross-entropy loss significantly improved minority class recognition, demonstrating strong potential for precision weed management in real-world agriculture.
Precision weed management offers a promising solution for sustainable cropping systems through the use of chemical-reduced/non-chemical robotic weeding techniques, which apply suitable control tactics to individual weeds. Therefore, accurate identification of weed species plays a crucial role in such systems to enable precise, individualized weed treatment. This paper makes a first comprehensive evaluation of deep transfer learning (DTL) for identifying common weeds specific to cotton production systems in southern United States. A new dataset for weed identification was created, consisting of 5187 color images of 15 weed classes collected under natural lighting conditions and at varied weed growth stages, in cotton fields during the 2020 and 2021 field seasons. We evaluated 27 state-of-the-art deep learning models through transfer learning and established an extensive benchmark for the considered weed identification task. DTL achieved high classification accuracy of F1 scores exceeding 95%, requiring reasonably short training time (less than 2.5 hours) across models. ResNet101 achieved the best F1-score of 99.1% whereas 14 out of the 27 models achieved F1 scores exceeding 98.0%. However, the performance on minority weed classes with few training samples was less satisfactory for models trained with a conventional, unweighted cross entropy loss function. To address this issue, a weighted cross entropy loss function was adopted, which achieved substantially improved accuracies for minority weed classes. Furthermore, a deep learning-based cosine similarity metrics was employed to analyze the similarity among weed classes, assisting in the interpretation of classifications. Both the codes for model benchmarking and the weed dataset are made publicly available, which expect to be be a valuable resource for future research in weed identification and beyond.
Motivation & Objective
- To develop a robust, high-accuracy image classification system for common weed species in cotton production systems under real-world field conditions.
- To address the challenge of class imbalance in weed image datasets, particularly for rare or minority weed species with limited training samples.
- To establish a comprehensive benchmark of state-of-the-art deep learning models for multiclass weed identification using transfer learning.
- To evaluate the effectiveness of loss functions such as weighted cross-entropy and focal loss in improving classification of underrepresented weed classes.
- To provide publicly accessible datasets and code to support future research in computer vision for precision agriculture.
Proposed method
- Collected 5,187 color images of 15 weed species across multiple cotton fields in Mississippi and North Carolina during 2020 and 2021, under natural lighting and varied growth stages.
- Trained 27 state-of-the-art deep learning models via transfer learning using ImageNet-pretrained backbones, fine-tuning on the custom cotton weed dataset.
- Employed a weighted cross-entropy (WCE) loss function that assigns higher loss weights to minority classes to mitigate class imbalance during training.
- Applied a deep learning-based cosine similarity metric to analyze feature space relationships and interpret model misclassifications among weed classes.
- Used data augmentation techniques including random rotation and pixel normalization to improve model generalization, though GAN-based augmentation was not fully explored.
- Evaluated model performance using F1-score, macro-averaged F1, and confusion matrices to assess both overall and per-class accuracy.
Experimental results
Research questions
- RQ1Can deep transfer learning achieve high-accuracy multiclass classification of common cotton-field weeds under unstructured field conditions?
- RQ2How do different deep learning architectures perform in classifying diverse weed species with varying image quality and growth stages?
- RQ3To what extent does class imbalance in the dataset affect model performance, particularly for rare weed species?
- RQ4Can weighted loss functions such as WCE significantly improve classification accuracy for minority weed classes compared to standard cross-entropy loss?
- RQ5How can deep learning-based similarity metrics, such as cosine similarity, assist in interpreting and diagnosing model misclassifications?
Key findings
- Deep transfer learning achieved high multiclass classification performance, with F1 scores exceeding 95% across all models, and 14 out of 27 models achieving F1 scores above 98.0%.
- ResNet101 achieved the highest F1-score of 99.1%, establishing it as the top-performing model in the benchmark.
- The weighted cross-entropy (WCE) loss function significantly improved minority class detection, increasing F1-scores for Spurred Anoda from 20% to 80% (MnasNet) and 40% to 80% (EfficientNet-b2).
- The cosine similarity metric revealed meaningful relationships among weed classes, aiding in the interpretation of misclassification patterns.
- Despite strong overall performance, models like EfficientNet showed suboptimal results on minority classes, indicating a need for class-balancing techniques.
- The publicly released dataset (5,187 images, 15 classes) and codebase are expected to serve as a valuable benchmark for future research in agricultural computer vision.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.