Cargando…

An Explainable Vision Transformer Model Based White Blood Cells Classification and Localization

White blood cells (WBCs) are crucial components of the immune system that play a vital role in defending the body against infections and diseases. The identification of WBCs subtypes is useful in the detection of various diseases, such as infections, leukemia, and other hematological malignancies. T...

Descripción completa

Detalles Bibliográficos
Autores principales: Katar, Oguzhan, Yildirim, Ozal
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10378025/
https://www.ncbi.nlm.nih.gov/pubmed/37510202
http://dx.doi.org/10.3390/diagnostics13142459
_version_ 1785079663625764864
author Katar, Oguzhan
Yildirim, Ozal
author_facet Katar, Oguzhan
Yildirim, Ozal
author_sort Katar, Oguzhan
collection PubMed
description White blood cells (WBCs) are crucial components of the immune system that play a vital role in defending the body against infections and diseases. The identification of WBCs subtypes is useful in the detection of various diseases, such as infections, leukemia, and other hematological malignancies. The manual screening of blood films is time-consuming and subjective, leading to inconsistencies and errors. Convolutional neural networks (CNN)-based models can automate such classification processes, but are incapable of capturing long-range dependencies and global context. This paper proposes an explainable Vision Transformer (ViT) model for automatic WBCs detection from blood films. The proposed model uses a self-attention mechanism to extract features from input images. Our proposed model was trained and validated on a public dataset of 16,633 samples containing five different types of WBCs. As a result of experiments on the classification of five different types of WBCs, our model achieved an accuracy of 99.40%. Moreover, the model’s examination of misclassified test samples revealed a correlation between incorrect predictions and the presence or absence of granules in the cell samples. To validate this observation, we divided the dataset into two classes, Granulocytes and Agranulocytes, and conducted a secondary training process. The resulting ViT model, trained for binary classification, achieved impressive performance metrics during the test phase, including an accuracy of 99.70%, recall of 99.54%, precision of 99.32%, and F-1 score of 99.43%. To ensure the reliability of the ViT model’s, we employed the Score-CAM algorithm to visualize the pixel areas on which the model focuses during its predictions. Our proposed method is suitable for clinical use due to its explainable structure as well as its superior performance compared to similar studies in the literature. The classification and localization of WBCs with this model can facilitate the detection and reporting process for the pathologist.
format Online
Article
Text
id pubmed-10378025
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-103780252023-07-29 An Explainable Vision Transformer Model Based White Blood Cells Classification and Localization Katar, Oguzhan Yildirim, Ozal Diagnostics (Basel) Article White blood cells (WBCs) are crucial components of the immune system that play a vital role in defending the body against infections and diseases. The identification of WBCs subtypes is useful in the detection of various diseases, such as infections, leukemia, and other hematological malignancies. The manual screening of blood films is time-consuming and subjective, leading to inconsistencies and errors. Convolutional neural networks (CNN)-based models can automate such classification processes, but are incapable of capturing long-range dependencies and global context. This paper proposes an explainable Vision Transformer (ViT) model for automatic WBCs detection from blood films. The proposed model uses a self-attention mechanism to extract features from input images. Our proposed model was trained and validated on a public dataset of 16,633 samples containing five different types of WBCs. As a result of experiments on the classification of five different types of WBCs, our model achieved an accuracy of 99.40%. Moreover, the model’s examination of misclassified test samples revealed a correlation between incorrect predictions and the presence or absence of granules in the cell samples. To validate this observation, we divided the dataset into two classes, Granulocytes and Agranulocytes, and conducted a secondary training process. The resulting ViT model, trained for binary classification, achieved impressive performance metrics during the test phase, including an accuracy of 99.70%, recall of 99.54%, precision of 99.32%, and F-1 score of 99.43%. To ensure the reliability of the ViT model’s, we employed the Score-CAM algorithm to visualize the pixel areas on which the model focuses during its predictions. Our proposed method is suitable for clinical use due to its explainable structure as well as its superior performance compared to similar studies in the literature. The classification and localization of WBCs with this model can facilitate the detection and reporting process for the pathologist. MDPI 2023-07-24 /pmc/articles/PMC10378025/ /pubmed/37510202 http://dx.doi.org/10.3390/diagnostics13142459 Text en © 2023 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Katar, Oguzhan
Yildirim, Ozal
An Explainable Vision Transformer Model Based White Blood Cells Classification and Localization
title An Explainable Vision Transformer Model Based White Blood Cells Classification and Localization
title_full An Explainable Vision Transformer Model Based White Blood Cells Classification and Localization
title_fullStr An Explainable Vision Transformer Model Based White Blood Cells Classification and Localization
title_full_unstemmed An Explainable Vision Transformer Model Based White Blood Cells Classification and Localization
title_short An Explainable Vision Transformer Model Based White Blood Cells Classification and Localization
title_sort explainable vision transformer model based white blood cells classification and localization
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10378025/
https://www.ncbi.nlm.nih.gov/pubmed/37510202
http://dx.doi.org/10.3390/diagnostics13142459
work_keys_str_mv AT kataroguzhan anexplainablevisiontransformermodelbasedwhitebloodcellsclassificationandlocalization
AT yildirimozal anexplainablevisiontransformermodelbasedwhitebloodcellsclassificationandlocalization
AT kataroguzhan explainablevisiontransformermodelbasedwhitebloodcellsclassificationandlocalization
AT yildirimozal explainablevisiontransformermodelbasedwhitebloodcellsclassificationandlocalization