[Paper Review] Self-supervised transformer-based pre-training method with General Plant Infection dataset
This paper proposes a self-supervised transformer-based model, CRE, that combines contrastive learning and masked image modeling (MIM) using a novel quantized semantic token input to improve plant pest and disease classification. Trained on the large-scale GPID-22 dataset (205,371 images, 199 classes), the method achieves state-of-the-art accuracy, surpassing supervised ImageNet-1K models by 3.7% and outperforming existing self-supervised methods by up to 3.03% on downstream tasks.
Pest and disease classification is a challenging issue in agriculture. The performance of deep learning models is intricately linked to training data diversity and quantity, posing issues for plant pest and disease datasets that remain underdeveloped. This study addresses these challenges by constructing a comprehensive dataset and proposing an advanced network architecture that combines Contrastive Learning and Masked Image Modeling (MIM). The dataset comprises diverse plant species and pest categories, making it one of the largest and most varied in the field. The proposed network architecture demonstrates effectiveness in addressing plant pest and disease recognition tasks, achieving notable detection accuracy. This approach offers a viable solution for rapid, efficient, and cost-effective plant pest and disease detection, thereby reducing agricultural production costs. Our code and dataset will be publicly available to advance research in plant pest and disease recognition the GitHub repository at https://github.com/WASSER2545/GPID-22
Motivation & Objective
- Address the lack of large, diverse, and publicly available plant pest and disease datasets that limit deep learning model performance.
- Overcome the data scarcity and high annotation cost in plant disease recognition by creating a comprehensive, open-access dataset.
- Develop a self-supervised pre-training method that enhances feature representation and transferability without relying on extensive labeled data.
- Improve classification accuracy and robustness in plant pest and disease detection by integrating contrastive learning and masked image modeling in a transformer architecture.
- Enable efficient, low-cost, and scalable deployment of automated pest and disease detection systems in precision agriculture.
Proposed method
- Proposes a novel self-supervised pre-training framework, CRE, which integrates contrastive learning and masked image modeling (MIM) in a transformer-based architecture.
- Uses a vector-quantized GAN to extract and quantize semantic tokens from images, which are then used as input and reconstruction targets for the transformer encoder.
- Applies masking to the quantized semantic tokens during pre-training, enabling the model to reconstruct missing regions and learn contextual representations.
- Introduces a contrastive loss on the encoder’s output features to enhance feature discrimination and prevent shortcut learning.
- Employs a dual-objective pre-training strategy: reconstructive loss for MIM and contrastive loss for feature-level representation learning.
- Fine-tunes the pre-trained model on downstream datasets (IP102, Plant Village, CCD) with minimal labeled data, achieving high accuracy in 15 epochs.
Experimental results
Research questions
- RQ1Can a self-supervised pre-training method using contrastive learning and masked image modeling improve plant pest and disease classification beyond supervised baselines?
- RQ2How does using quantized semantic tokens instead of raw pixels affect representation learning and downstream performance in plant disease recognition?
- RQ3To what extent does combining MIM and contrastive learning improve generalization and robustness compared to using either method alone?
- RQ4How does the proposed CRE model compare to state-of-the-art self-supervised models like MAE, MoCo v3, and LSMAE on plant disease classification benchmarks?
- RQ5Can the proposed method achieve high accuracy with minimal fine-tuning, making it suitable for low-resource agricultural applications?
Key findings
- The proposed CRE model achieves 85.47% accuracy and 84.71% F1-score on the IP102 dataset, outperforming the supervised ImageNet-1K ViT by 3.7% in accuracy.
- On the IP102 dataset, CRE improves accuracy by 6.64% and F1-score by 6.46% over the weakly supervised MIL-Guided model.
- The model achieves a 3.03% accuracy gain over MAE, 2.74% over MoCo v3, and 1.48% over LSMAE on the IP102 benchmark.
- On the Plant Village and CCD datasets, CRE achieves the highest accuracy, surpassing MAE by 0.10% and 0.17%, respectively, and MoCo by 0.20% and 0.26%.
- The ablation study confirms that adding contrastive loss improves accuracy by 0.71% and F1-score by 0.78% on IP102, demonstrating its regularization benefit.
- The model reaches high performance within only 15 fine-tuning epochs on all benchmark datasets, indicating strong transferability and efficiency.
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.