Acta Agriculturae Zhejiangensis ›› 2024, Vol. 36 ›› Issue (1): 215-224.DOI: 10.3969/j.issn.1004-1524.20230093

• Biosystems Engineering • Previous Articles     Next Articles

Plant leaf disease identification based on contrastive learning

YANG Xinyu1(), FENG Quan1,*(), ZHANG Jianhua2, YANG Sen1   

  1. 1. Mechanical and Electrical Engineering College, Gansu Agricultural University, Lanzhou 730070, China
    2. Agricultural Information Institute, Chinese Academy of Agricultural Sciences, Beijing 100081, China
  • Received:2023-01-30 Online:2024-01-25 Published:2024-02-18

Abstract:

At present, the recognition of plant disease via image processing mostly relies on the manually labeled convolutional neural network. However, the self-monitoring contrastive learning could achieve independent learning without relying on labels and large amounts of data. In view of this advantage, the effect of four contrastive learning methods, MoCo-v2, DeepCluster-v2, SwAV and BYOL, on the identification of plant leaf diseases were compared by setting different experimental conditions on the open-source dataset of PlantVillage and the self-built cotton disease dataset. The ResNet50 encoder trained by four contrastive learning methods was tested for disease identification both under Linear and Finetune modes, and the feasibility of the contrastive learning methods in identifying plant leaf diseases was evaluated. It was shown that the average accuracy under Finetune mode on the PlantVillage dataset was higher than that under Linear mode, and the highest identificaiton accuracy of the encoders trained by the four methods reached 99.83%. DeepCluster-v2 and BYOL had the highest identification rate under Finetune mode, both of which were 99.87%. On the self-built cotton disease dataset, the performance under Finetune mode was poorer than that under Linear mode, and the highest idenficaiton accuracy of DeepCluster-v2 under Linear mode was 98.86%. Overall, the disease identification rate based on contrastive learning method was superior to the supervised models, demonstrating good application prospects in plant leaf disease identification.

Key words: contrastive learning, disease identification, image processing

CLC Number: