| Literature DB >> 35085275 |
Ziyi Wang1, Jiewen Xiao2, Jingwen Li1, Hongjun Li1, Luman Wang3.
Abstract
The recognition and classification of White Blood Cell (WBC) play a remarkable role in blood-related diseases (i.e., leukemia, infections) diagnosis. For the highly similar morphology of different WBC subtypes, it is too confused to classify the WBC effectively and accurately for visual observation of blood cell smears. This paper proposes a Deep Convolutional Neural Network (DCNN) with feature fusion strategies, named WBC-AMNet, for automatically classifying WBC subtypes based on focalized attention mechanism. To obtain more localized attention of CNN, the fusion features of the first and the last convolutional layer are extracted by focalized attention mechanism combining Squeeze-and-Excitation (SE) and Gather-Excite (GE) modules. The new method performs successfully in classifying monocytes, neutrophils, lymphocytes, and eosinophils on the complex background with an overall accuracy of 95.66%, better than that of general CNNs. The multi-classification accuracy of WBC-AMNet with the background segmentation is over 98% in all cases. In addition, Gradient-weighted Class Activation Mapping (Grad-CAM) is employed to visualize the attention heatmaps of different feature maps.Entities:
Mesh:
Year: 2022 PMID: 35085275 PMCID: PMC8794158 DOI: 10.1371/journal.pone.0261848
Source DB: PubMed Journal: PLoS One ISSN: 1932-6203 Impact factor: 3.240
Descriptions of BCCD and WBCs dataset.
| Dataset | Description | Category | Division | Subtypes | Number |
|---|---|---|---|---|---|
| BCCD | 12515 images 320 × 240 | 4 | training set (9957) | neutrophils | 2499 |
| monocytes | 2478 | ||||
| lymphocytes | 2483 | ||||
| eosinophils | 2497 | ||||
| test set(2487) | neutrophils | 624 | |||
| monocytes | 620 | ||||
| lymphocytes | 620 | ||||
| eosinophils | 623 | ||||
| validation set(71) | neutrophils | 48 | |||
| monocytes | 4 | ||||
| lymphocytes | 6 | ||||
| eosinophils | 13 | ||||
| WBCs Dataset | 4358 raw images 112 × 112 | 4 | - | neutrophils | 2025 |
| monocytes | 576 | ||||
| lymphocytes | 1586 | ||||
| eosinophils | 171 |
Fig 1Sample images from BCCD (The first row) and the WBCs dataset (The second row).
Among them, (a) and (e) are neutrophils, (b) and (f) are monocytes, (c) and (g) are eosinophils, and (d) and (h) are lymphocytes.
Fig 2Flowchart of our method.
Comparison of CNN structure between WBC-AMNet and other models.
| stage | Output | ResNet-50 (32 × 4 | SE-ResNeXt-50 | WBC-AMNet | |
|---|---|---|---|---|---|
| conv1 | 112 × 112 | 7 × 7, 64, stride2 | 7 × 7, 64, stride2 | 7 × 7, 64, stride2 | 7 × 7, 2048, stride2 |
| conv2 | 56 × 56 | 3 × 3, | 3 × 3, | 3 × 3, | |
|
|
|
| – | ||
| conv3 | 28 × 28 |
|
|
| – |
| conv4 | 14 × 14 |
|
|
| – |
| conv5 | 7 × 7 |
|
|
| fc(SE(cov 1 + cov 5) + GE), [128, 2048] |
| fc((SE(cov 1 + cov 5) + GE) + SE), [128, 2048] | |||||
| 1 × 1 | global average pool 1000-d fc, softmax | global average pool 1000-d fc, softmax | global average pool 1000-d fc, softmax | ||
Training results of tri-classification of BCCD images under different epoch and batch size.
| Epoch | Batch size | WBC subtypes | Accuracy (%) | Specificity (%) | Precision (%) | F1-score (%) |
|---|---|---|---|---|---|---|
| 15 | 32 | 3 | 90.71 | 90.71 | 90.74 | 90.70 |
| 20 | 16 | 3 | 94.93 | 94.94 | 95.03 | 94.93 |
|
|
|
|
|
|
|
|
| 25 | 32 | 3 | 95.13 | 95.13 | 95.14 | 95.11 |
| 30 | 32 | 3 | 93.81 | 93.81 | 93.97 | 93.69 |
Fig 3Classification accuracy versus the number of iterations in the training phase.
(epoch = 20 and batch size = 32).
Training results when epoch = 20 and batch size = 32.
| WBC subtypes | Accuracy (%) | Specificity (%) | Precision (%) | F1-score (%) |
|---|---|---|---|---|
| lymphocyte | 100.00 | 95.50 | 100.00 | 100.00 |
| MTD | 95.50 | 91.65 | 95.81 | 95.65 |
| eosinophil | 91.65 | 100.00 | 91.07 | 91.36 |
| total | 95.66 | 94.70 | 95.67 | 95.66 |
Fig 4ROC curve and confusion matrix.
(a) ROC curve of three subtypes of WBC. (b) Confusion matrix of three subtypes of WBC.
Training results when epoch = 20 and batch size = 32.
| ID | CNN model | Accuracy (%) | Specificity (%) | Precision (%) | F1-score (%) |
|---|---|---|---|---|---|
| 1 | VGG | 50.02 | 33.33 | 16.67 | 22.23 |
| 2 | ShuffleNetV2 | 79.41 | 83.33 | 81.81 | 80.99 |
| 3 | DPN | 87.45 | 90.73 | 87.82 | 88.15 |
| 4 | InceptionV4 | 90.59 | 88.25 | 93.48 | 90.27 |
| 5 | AlexNet | 93.00 | 91.73 | 93.85 | 92.55 |
| 6 | DistResNet | 94.29 | 92.80 | 95.74 | 93.93 |
| 7 | MobileNet-V1 | 94.17 | 93.60 | 94.63 | 94.07 |
| 8 | MobileNet-V2 | 94.45 | 94.45 | 94.41 | 94.37 |
| 9 | ResNet | 93.12 | 93.13 | 93.32 | 93.17 |
| 10 | SE-ResNeXt | 93.93 | 93.93 | 94.07 | 93.97 |
| 11 | WBC-AMNet |
|
|
|
|
Fig 5Confusion matrices of other CNN models.
(a)VGG. (b)MobileNetV2. (c)ResNet. (d)SE-ResNeXt.
Training results of different WBC subtypes.
| WBC subtypes | Accuracy (%) | Specificity (%) | Precision (%) | F1-score (%) |
|---|---|---|---|---|
| eosinophils | 82.50 | 82.50 | 91.46 | 86.75 |
| neutrophils | 93.43 | 93.43 | 73.70 | 82.40 |
| monocytes | 84.03 | 84.03 | 98.67 | 90.77 |
| lymphocytes | 96.94 | 96.94 | 99.17 | 98.04 |
| total | 89.22 | 89.22 | 90.72 | 89.48 |
Fig 6ROC curve and confusion matrix.
(a) ROC curve of four subtypes of WBC. (b) Confusion matrix of four subtypes of WBC.
Statistical results of nine classic CNN models.
| ID | CNN model | Accuracy (%) | Specificity (%) | Precision (%) | F1-score (%) |
|---|---|---|---|---|---|
| 1 | AlexNet | 82.31 | 82.32 | 86.12 | 82.70 |
| 2 | ShuffleNetV2 | 83.43 | 83.43 | 85.80 | 83.53 |
| 3 | DPN | 84.84 | 84.84 | 87.50 | 85.28 |
| 4 | VGG | 86.81 | 86.81 | 88.49 | 87.03 |
| 5 | DistResNet | 87.74 | 87.73 | 89.95 | 88.02 |
| 6 | InceptionV4 | 87.94 | 87.94 | 90.41 | 88.23 |
| 7 | MobileNet-V1 | 86.13 | 86.13 | 88.96 | 86.48 |
| 8 | MobileNet-V2 | 88.82 | 88.82 | 90.85 | 89.02 |
| 9 | ResNet | 86.65 | 86.65 | 88.08 | 86.81 |
| 10 | SE-ResNeXt | 87.78 | 87.78 | 89.43 | 87.91 |
| 11 | WBC-AMNet |
|
|
|
|
Tri-classification results of images from WBCs dataset.
| ID | CNN model | WBC subtypes | Accuracy(%) | Specificity(%) | Precision(%) | F1-score (%) |
|---|---|---|---|---|---|---|
| 1 | MobileNetV2 | intermediate cell | 84.46 | 84.46 | 89.29 | 86.81 |
| lymphocyte | 94.75 | 94.65 | 96.78 | 95.71 | ||
| neutrophil | 99.26 | 99.26 | 95.70 | 97.45 | ||
| total | 95.06 | 95.06 | 95.00 | 95.00 | ||
| 2 | ResNet | intermediate cell | 77.70 | 77.70 | 95.04 | 85.50 |
| lymphocyte | 95.91 | 95.91 | 96.83 | 96.37 | ||
| neutrophil | 99.51 | 99.50 | 92.63 | 95.94 | ||
| total | 94.48 | 94.48 | 94.58 | 94.32 | ||
| 3 | SE-ResNeXt | intermediate cell | 85.14 | 85.14 | 97.67 | 90.97 |
| lymphocyte | 98.74 | 98.74 | 95.15 | 96.91 | ||
| neutrophil | 99.75 | 99.75 | 98.05 | 98.90 | ||
| total | 96.90 | 96.90 | 96.93 | 96.82 | ||
| 4 | WBC-AMNet | intermediate cell | 93.24 | 93.24 | 97.18 | 95.17 |
| lymphocyte | 99.37 | 99.37 | 97.23 | 98.29 | ||
| neutrophil | 99.01 | 99.01 | 99.26 | 99.13 | ||
| total |
|
|
|
|
Fig 7Tri-classification line chart of WBCs dataset.
Fig 8ROC curve and confusion matrix.
(a) ROC curve of three subtypes of WBC. (b) confusion matrix of three subtypes of WBC.
Fig 9ROC curve.
(a) MobileNetV2. (b) ResNet. (c) SE-ResNeXt.
Quad-classification results of images from WBCs dataset.
| ID | CNN model | WBC subtypes | Accuracy(%) | Specificity(%) | Precision(%) | F1-score (%) |
|---|---|---|---|---|---|---|
| 1 | MobileNetV2 | eosinophils | 50.00 | 50.00 | 77.27 | 60.71 |
| neutrophils | 98.02 | 98.02 | 95.66 | 96.83 | ||
| monocytes | 69.82 | 69.83 | 84.38 | 76.42 | ||
| lymphocytes | 97.79 | 97.78 | 91.42 | 94.50 | ||
| total | 92.31 | 92.30 | 91.90 | 91.86 | ||
| 2 | ResNet | eosinophils | 61.76 | 61.76 | 91.30 | 73.68 |
| neutrophils | 98.77 | 98.77 | 95.47 | 97.09 | ||
| monocytes | 84.48 | 84.48 | 87.50 | 85.96 | ||
| lymphocytes | 96.20 | 96.20 | 95.90 | 96.05 | ||
| total | 94.49 | 94.49 | 94.40 | 94.32 | ||
| 3 | SE-ResNeXt | eosinophils | 97.06 | 97.06 | 97.06 | 97.06 |
| neutrophils | 99.75 | 99.75 | 98.78 | 99.26 | ||
| monocytes | 85.34 | 85.34 | 92.52 | 88.79 | ||
| lymphocytes | 97.79 | 97.78 | 96.26 | 97.02 | ||
| total | 97.02 | 97.01 | 96.96 | 96.97 | ||
| 4 | WBC-AMNet | eosinophils | 97.06 | 97.06 | 97.06 | 97.06 |
| neutrophils | 99.75 | 99.75 | 99.02 | 99.38 | ||
| monocytes | 95.69 | 95.69 | 97.37 | 96.52 | ||
| lymphocytes | 97.78 | 97.78 | 98.10 | 97.94 | ||
| total |
|
|
|
|
Fig 10Quad-classification line chart of WBCs dataset.
Fig 11ROC curve and confusion matrix.
(a) ROC curve of four subtypes of WBC. (b) Confusion matrix of four subtypes of WBC.
Fig 12ROC curve.
(a) MobileNetV2. (b) ResNet. (c) SE-ResNeXt.
Fig 13WBC-AMNet visualization analysis of attention to different feature maps.