An interpretable crop leaf disease and pest identification model based on prototypical part network and contrastive learning
The disease and pest recognition algorithms based on computer vision can automatically process and analyze a large amount of disease and pest images, thereby achieving rapid and accurate identification of disease and pest categories on crop leaves. Currently, most studies use deep learning models for feature extraction and identification of crop leaf disease and pest images. However, these methods are often seen as "black box" model, making it difficult to interpret the basis for their specific decisions. To address this issue, we propose an intrinsically interpretable crop leaf disease and pest identification model named Contrastive Prototypical Part Network (CPNet). The idea of CPNet is to find the key regions that influence the model's decision by calculating the similarity values between the convolutional feature maps and the learnable latent prototype feature representations. Moreover, because the limited availability of data resources for crop leaf disease and pest images, we employ a supervised contrastive learning strategy to capture the similar information between examples in one class and contrast them with examples in other classes. Finally, we evaluate our approach on four publicly available datasets, and the experimental results demonstrate that our proposed CPNet not only achieves improvements in performance over baseline methods across multiple datasets, but also provides interpretable evidence for crop leaf disease and pest identification.
Authors
- Bingjing Jia (ORCID: https://orcid.org/0000-0002-7555-0723)
- Chenguang Song (ORCID: https://orcid.org/0000-0001-9650-880X)
- Jianhui Zeng
- Ge Hua
- Zhiwei Zheng (ORCID: https://orcid.org/0009-0001-1330-5247)
Institutions
- Anhui University of Science and Technology (CN)
- Anhui University of Finance and Economics (CN)
- Anhui Science and Technology University (CN)
- Anhui Institute of Information Technology (CN)
Publication Details
- Journal
- Scientific Reports
- Published
- 2025-11-04
- DOI
- https://doi.org/10.1038/s41598-025-22521-1
- Citations
- 1
- Primary Topic
- Smart Agriculture and AI
- Type
- article
- Field-Weighted Citation Impact
- 1.75
Funders
- Anhui University of Science and Technology
- Anhui Provincial Department of Education
- Water Desalination and Reuse Center, King Abdullah University of Science and Technology