Ensemble of Small Classifiers For Imbalanced White Blood Cell Classification
Organizations: Department of Computer Science, University of Warwick · Warwick Medical School, University of Warwick · Intelligent Imaging Innovations Ltd
Abstract
Automating white blood cell classification for diagnosis of leukaemia is a promising alternative to time-consuming and resource-intensive examination of cells by expert pathologists. However, designing robust algorithms for classification of rare cell types remains challenging due to variations in staining, scanning and inter-patient heterogeneity. We propose a lightweight ensemble approach for classification of cells during Haematopoiesis, with a focus on the biology of Granulopoiesis, Monocytopoiesis and Lymphopoiesis. Through dataset expansion to alleviate some class imbalance, we demonstrate that a simple ensemble of lightweight pretrained SwinV2-Tiny, DinoBloom-Small and ConvNeXT-V2-Tiny models achieves excellent performance on this challenging dataset. We train 3 instantiations of each architecture in a stratified 3-fold cross-validation framework; for an input image, we forward-pass through all 9 models and aggregate through logit averaging. We further reason on the weaknesses of our model in confusing similar-looking myelocytes in granulopoiesis and lymphocytes in lymphopoiesis. Code: https://gitlab.com/siddharthsrivastava/wbc-bench-2026.
Figures & tables
| Training Dataset: WBCBench Train + Eval | Training Dataset: Expanded Dataset | ||||||||||
| Eval. Set: WBCBench Train + Eval Out-of-Fold | WBCBench Test | Eval. Set: WBCBench Train + Eval Out-of-Fold | WBCBench Test | ||||||||
| Model | Macro F1 | Balanced Accuracy | Macro Precision | Macro Sensitivity | Macro F1 | Macro F1 | Balanced Accuracy | Macro Precision | Macro Sensitivity | Macro F1 | |
| SwinV2 | 0.7351 | 0.7759 | 0.7126 | 0.9932 | 0.7410 | 0.7523 | 0.7412 | 0.9936 | |||
| ConvNeXt | 0.7523 | 0.7669 | 0.7488 | 0.9938 | 0.7662 | 0.7660 | 0.7741 | 0.9942 | |||
| DinoBloom | 0.7276 | 0 .8095 | 0.6863 | 0.9925 | - | 0.7417 | 0.7739 | 0.7296 | 0.9936 | - | |
| No TTA | Ensemble | 0 .7666 | 0.789 | 0 .7586 | 0 .9941 | 0 .6638 | 0 .7791 | 0 .7736 | 0 .7977 | 0.9945 | 0 .6737 |