Skip to main content

Advertisement

Log in

Few-shot learning using explainable Siamese twin network for the automated classification of blood cells

  • Original Article
  • Published:
Medical & Biological Engineering & Computing Aims and scope Submit manuscript

Abstract

Automated classification of blood cells from microscopic images is an interesting research area owing to advancements of efficient neural network models. The existing deep learning methods rely on large data for network training and generating such large data could be time-consuming. Further, explainability is required via class activation mapping for better understanding of the model predictions. Therefore, we developed a Siamese twin network (STN) model based on contrastive learning that trains on relatively few images for the classification of healthy peripheral blood cells using EfficientNet-B3 as the base model. Hence, in this study, a total of 17,092 publicly accessible cell histology images were analyzed from which 6% were used for STN training, 6% for few-shot validation, and the rest 88% for few-shot testing. The proposed architecture demonstrates percent accuracies of 97.00, 98.78, 94.59, 95.70, 98.86, 97.09, 99.71, and 96.30 during 8-way 5-shot testing for the classification of basophils, eosinophils, immature granulocytes, erythroblasts, lymphocytes, monocytes, platelets, and neutrophils, respectively. Further, we propose a novel class activation mapping scheme that highlights the important regions in the test image for the STN model interpretability. Overall, the proposed framework could be used for a fully automated self-exploratory classification of healthy peripheral blood cells.

Graphical abstract

The whole proposed framework demonstrates the Siamese twin network training and 8-way k-shot testing. The values indicate the amount of dissimilarity.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6

Similar content being viewed by others

References

  1. Ceelie H, Dinkelaar RB, van Gelder W (2007) Examination of peripheral blood films using automated microscopy; evaluation of Diffmaster Octavia and Cellavision DM96. J Clin Pathol 60:72. https://doi.org/10.1136/JCP.2005.035402

    Article  CAS  PubMed  Google Scholar 

  2. Rümke CL (1985) Imprecision of ratio-derived differential leukocyte counts. Blood Cells 11(311–4):315

    PubMed  Google Scholar 

  3. Acevedo A, Alférez S, Merino A et al (2019) Recognition of peripheral blood cell images using convolutional neural networks. Comput Methods Programs Biomed 180:105020. https://doi.org/10.1016/J.CMPB.2019.105020

    Article  PubMed  Google Scholar 

  4. Krizhevsky A, Sutskever I, Hinton GE (2012) ImageNet classification with deep convolutional neural networks. In: Proceedings of the 24th International Conference on Neural Information Processing Systems. Curran Associates, Inc., New York, NY, pp 1097–1105. https://dl.acm.org/doi/10.5555/2999134.2999257

  5. Tan C, Sun F, Kong T et al (2018) A survey on deep transfer learning. Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) 11141 LNCS:270–279. https://doi.org/10.1007/978-3-030-01424-7_27

  6. Pathak Y, Shukla PK, Tiwari A et al (2022) Deep transfer learning based classification model for COVID-19 disease. Ing Rech Biomed 43(2):79–92. https://doi.org/10.1016/J.IRBM.2020.05.003

    Article  Google Scholar 

  7. Minaee S, Kafieh R, Sonka M et al (2020) Deep-COVID: predicting COVID-19 from chest X-ray images using deep transfer learning. Med Image Anal 65:101794. https://doi.org/10.1016/J.MEDIA.2020.101794

    Article  PubMed  PubMed Central  Google Scholar 

  8. Long F, Peng JJ, Song W et al (2021) BloodCaps: a capsule network based model for the multiclassification of human peripheral blood cells. Comput Methods Prog Biomed 202:105972. https://doi.org/10.1016/J.CMPB.2021.105972

  9. Ucar F (2020) Deep learning approach to cell classification in human peripheral blood. 5th international conference on computer science and engineering. UBMK 2020:383–387. https://doi.org/10.1109/UBMK50275.2020.9219480

    Article  Google Scholar 

  10. Baydilli YY, Atila Ü (2020) Classification of white blood cells using capsule networks. Comput Med Imaging Graph 80:101699. https://doi.org/10.1016/J.COMPMEDIMAG.2020.101699

  11. Shahin AI, Guo Y, Amin KM, Sharawi AA (2019) White blood cells identification system based on convolutional deep neural learning networks. Comput Methods Programs Biomed 168:69–80. https://doi.org/10.1016/J.CMPB.2017.11.015

    Article  CAS  PubMed  Google Scholar 

  12. Kutlu H, Avci E, Özyurt F (2020) White blood cells detection and classification based on regional convolutional neural networks. Med Hypotheses 135:109472. https://doi.org/10.1016/J.MEHY.2019.109472

  13. Almezhghwi K, Serte S (2020) Improved classification of white blood cells with the generative adversarial network and deep convolutional neural network. Comput Intell Neurosci 2020:649079. https://doi.org/10.1155/2020/6490479

  14. Medela A, Picon A, Saratxaga CL et al (2019) Few shot learning in histopathological images: reducing the need of labeled data on biological datasets. Proc Int Symp Biomed Imaging 2019-April:1860–1864. https://doi.org/10.1109/ISBI.2019.8759182

  15. Puch S, Sánchez I, Rowe M (2019) Few-shot learning with deep triplet networks for brain imaging modality recognition. Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) 11795 LNCS:181–189. https://doi.org/10.1007/978-3-030-33391-1_21

  16. Chen X, Yao L, Zhou T et al (2021) Momentum contrastive learning for few-shot COVID-19 diagnosis from chest CT images. Pattern Recog 113:107826. https://doi.org/10.1016/J.PATCOG.2021.107826

    Article  Google Scholar 

  17. Chopra S, Hadsell R, LeCun Y (2005) Learning a similarity metric discriminatively, with application to face verification. Proceedings - 2005 IEEE computer society conference on computer vision and pattern recognition, CVPR 2005 I:539–546. https://doi.org/10.1109/CVPR.2005.202

  18. Weinberger KQ, Saul LK (2009) Distance metric learning for large margin nearest neighbor classification. J Mach Learn Res 10:207–244. https://doi.org/10.5555/1577069

    Article  Google Scholar 

  19. Tummala S (2021) Deep learning framework using Siamese neural network for diagnosis of autism from brain magnetic resonance imaging. In: 2021 6th international conference for convergence in technology (I2CT). IEEE, Maharashtra, India, pp 1–5. https://doi.org/10.1109/I2CT51068.2021.9418143

  20. Madhu G, Lalith Bharadwaj B, Rohit B et al (2021) Convolutional Siamese networks for one-shot malaria parasite recognition in microscopic images. In: Demystifying big data, machine learning, and deep learning for healthcare analytics. Elsevier, pp 277–306. https://doi.org/10.1016/B978-0-12-821633-0.00007-6

  21. Rossi A, Hosseinzadeh M, Bianchini M et al (2021) Multi-modal siamese network for diagnostically similar lesion retrieval in prostate MRI. IEEE Trans Med Imaging 40:986–995. https://doi.org/10.1109/TMI.2020.3043641

    Article  PubMed  Google Scholar 

  22. Li MD, Chang K, Bearce B et al (2020) Siamese neural networks for continuous disease severity evaluation and change detection in medical imaging. npj Digit Med 3(1):1–9. https://doi.org/10.1038/s41746-020-0255-1

  23. Wang J, Fang Z, Lang N et al (2017) A multi-resolution approach for spinal metastasis detection using deep Siamese neural networks. Comput Biol Med 84:137–146. https://doi.org/10.1016/J.COMPBIOMED.2017.03.024

    Article  PubMed  PubMed Central  Google Scholar 

  24. Zhou B, Khosla A, Lapedriza A et al (2015) Learning deep features for discriminative localization. Proceedings of the IEEE computer society conference on computer vision and pattern recognition 2016-December:2921–2929. https://doi.org/10.1109/CVPR.2016.319

  25. Selvaraju RR, Cogswell M, Das A et al (2016) Grad-CAM: visual explanations from deep networks via gradient-based localization. Int J Comput Vision 128:336–359. https://doi.org/10.1007/s11263-019-01228-7

    Article  Google Scholar 

  26. Chattopadhyay A, Sarkar A, Howlader P, Balasubramanian VN (2017) Grad-CAM++: improved visual explanations for deep convolutional networks. Proceedings - 2018 IEEE winter conference on applications of computer vision, WACV 2018 2018-January:839–847. https://doi.org/10.1109/WACV.2018.00097

  27. Yoo TK, Choi JY, Kim HK (2021) Feasibility study to improve deep learning in OCT diagnosis of rare retinal diseases with few-shot classification. Med Biol Eng Compu 59:401–415. https://doi.org/10.1007/S11517-021-02321-1/FIGURES/12

    Article  Google Scholar 

  28. Chen L, Chen J, Hajimirsadeghi H, Mori G (2020) Adapting Grad-CAM for embedding networks. Proceedings - 2020 IEEE winter conference on applications of computer vision. WACV 2020:2783–2792. https://doi.org/10.1109/WACV45572.2020.9093461

    Article  Google Scholar 

  29. Tan M, Le QV (2019) EfficientNet: rethinking model scaling for convolutional neural networks. 36th international conference on machine learning, ICML 2019 2019-June:10691–10700

  30. Acevedo A, Merino A, Alférez S et al (2020) A dataset of microscopic peripheral blood cell images for development of automatic recognition systems. Data Brief 30:105474. https://doi.org/10.1016/J.DIB.2020.105474

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  31. Dauphin YN, De Vries H, Bengio Y (2015) RMSProp and equilibrated adaptive learning rates for non-convex optimization. Adv Neural Inf Process Syst 2015:1504–1512

    Google Scholar 

  32. Kingma DP, Ba JL (2014) Adam: a method for stochastic optimization. arXiv:1412.6980. https://doi.org/10.48550/arXiv.1412.6980

  33. Dozat T (2016) Incorporating Nesterov Momentum into Adam. In: Proceedings of the 4th International Conference on Learning Representations. Workshop Track, San Juan, Puerto Rico, pp 1–4

  34. Zeiler MD (2012) ADADELTA: an adaptive learning rate method. arXiv:1212.5701. https://doi.org/10.48550/arXiv.1212.5701

  35. Wang Y, Cao Y (2020) A computer-assisted human peripheral blood leukocyte image classification method based on Siamese network. Med Biol Eng Comput 58(7):1575–1582. https://doi.org/10.1007/S11517-020-02180-2

    Article  PubMed  Google Scholar 

Download references

Acknowledgements

We would like to thank Hospital Clinic Barcelona for providing the dataset and SRM University—AP for providing the research infrastructure.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Sudhakar Tummala.

Ethics declarations

Ethics approval

This research study was conducted retrospectively using human subject data made available in open access by Hospital Clinic Barcelona. Ethical approval was not required as confirmed by the license attached with the open access data.

Competing interests

The authors declare no competing interests.

Additional information

Publisher's note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary information

Below is the link to the electronic supplementary material.

Supplementary file1 (DOCX 21 KB)

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Tummala, S., Suresh, A.K. Few-shot learning using explainable Siamese twin network for the automated classification of blood cells. Med Biol Eng Comput 61, 1549–1563 (2023). https://doi.org/10.1007/s11517-023-02804-3

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11517-023-02804-3

Keywords