Vet World   Vol.17   November-2024  Article - 22 

Research Article

Veterinary World, 17(11): 2619-2634

https://doi.org/10.14202/vetworld.2024.2619-2634

Identification of veterinary and medically important blood parasites using contrastive loss-based self-supervised learning

Supasuta Busayakanon1, Morakot Kaewthamasorn2, Natchapon Pinetsuksai3, Teerawat Tongloy3, Santhad Chuwongin3, Siridech Boonsang4, and Veerayuth Kittichai1
1. Faculty of Medicine, King Mongkut’s Institute of Technology Ladkrabang, Bangkok 10520, Thailand.
2. Department of Pathology, Center of Excellence in Veterinary Parasitology, Faculty of Veterinary Science, Chulalongkorn University, Bangkok 10330, Thailand.
3. College of Advanced Manufacturing Innovation, King Mongkut’s Institute of Technology Ladkrabang, Bangkok 10520, Thailand.
4. Department of Electrical Engineering, School of Engineering, King Mongkut’s Institute of Technology Ladkrabang, Bangkok 10520, Thailand. 

Background and Aim: Zoonotic diseases caused by various blood parasites are important public health concerns that impact animals and humans worldwide. The traditional method of microscopic examination for parasite diagnosis is labor-intensive, time-consuming, and prone to variability among observers, necessitating highly skilled and experienced personnel. Therefore, an innovative approach is required to enhance the conventional method. This study aimed to develop a self-supervised learning (SSL) approach to identify zoonotic blood parasites from microscopic images, with an initial focus on parasite species classification. 

Materials and Methods: We acquired a public dataset featuring microscopic images of Giemsa-stained thin blood films of trypanosomes and other blood parasites, including Babesia, Leishmania, Plasmodium, Toxoplasma, and Trichomonad, as well as images of both white and red blood cells. The input data were subjected to SSL model training using the Bootstrap Your Own Latent (BYOL) algorithm with Residual Network 50 (ResNet50), ResNet101, and ResNet152 as the backbones. The performance of the proposed SSL model was then compared to that of baseline models. 

Results: The proposed BYOL SSL model outperformed supervised learning models across all classes. Among the SSL models, ResNet50 consistently achieved high accuracy, reaching 0.992 in most classes, which aligns well with the patterns observed in the pre-trained uniform manifold approximation and projection representations. Fine-tuned SSL models exhibit high performance, achieving 95% accuracy and a 0.960 area under the curve of the receiver operating characteristics (ROC) curve even when fine-tuned with 1% of the data in the downstream process. Furthermore, 20% of the data for training with SSL models yielded ≥95% in all other statistical metrics, including accuracy, recall, precision, specification, F1 score, and ROC curve. As a result, multi-class classification prediction demonstrated that model performance exceeded 91% for the F1 score, except for the early stage of Trypanosoma evansi, which showed an F1 score of 87%. This may be due to the model being exposed to high levels of variation during the developmental stage. 

Conclusion: This approach can significantly enhance active surveillance efforts to improve disease control and prevent outbreaks, particularly in resource-limited settings. In addition, SSL addresses significant challenges, such as data variability and the requirement for extensive class labeling, which are common in biology and medical fields. 

Keywords: bootstrap your own latent, fractioned data, microscopic image, pre-trained, self-supervised learning, zoonotic disease.


How to cite this article: Busayakanon S, Kaewthamasorn M, Pinetsuksai N, Tongloy T, Chuwongin S, Boonsang S, and Kittichai V (2024) Identification of veterinary and medically important blood parasites using contrastive loss-based self-supervised learning, Veterinary World, 17(11): 2619-2634.

Received: 2024-07-21    Accepted: 2024-10-15    Published online: 2024-11-25

Corresponding author: Veerayuth Kittichai    E-mail: veerayuth.ki@kmitl.ac.th

DOI: 10.14202/vetworld.2024.2619-2634

Copyright: Busayakanon, et al. This article is an open access article distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/ by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The Creative Commons Public Domain Dedication waiver (http:// creativecommons.org/ publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated.