Abstract
Due to progression in cell-cycle or duration of storage, classification of morphological changes in human blood cells is important for correct and effective clinical decisions. Automated classification systems help avoid subjective outcomes and are more efficient. Deep learning and more specifically Convolutional Neural Networks have achieved state-of-the-art performance on various biomedical image classification problems. However, real-world data often suffers from the data imbalance problem, owing to which the trained classifier is biased towards the majority classes and does not perform well on the minority classes. This study presents an imbalanced blood cells classification method that utilises Wasserstein divergence GAN, mixup and novel nonlinear mixup for data augmentation to achieve oversampling of the minority classes. We also present a minority class focussed sampling strategy, which allows effective representation of minority class samples produced by all three data augmentation techniques and contributes to the classification performance. The method was evaluated on two publicly available datasets of immortalised human T-lymphocyte cells and Red Blood Cells. Classification performance evaluated using F1-score shows that our proposed approach outperforms existing methods on the same datasets.
Introduction
In clinical diagnostics, identifying specific cell morphologies is critical for effective decision-making. However, automated systems based on Convolutional Neural Networks (CNNs) often struggle with class imbalance. In many biological datasets, certain stages or types are significantly more frequent than others. For instance, in T-lymphocyte datasets, the "Interphase" stage can outnumber the "Telophase" stage by a ratio of over 500:1. Standard CNNs tend to optimize for overall accuracy, leading to a bias where they frequently misclassify rare "minority" classes as common "majority" classes. Traditional augmentation techniques like rotation or flipping often fail to provide the necessary diversity to overcome this bias and prevent overfitting on limited samples.
Datasets
The proposed framework was validated on two benchmarks:
- Jurkat Cell Image Set: Contains 32,266 images of human T-lymphocytes across 7 cell-cycle phases. It exhibits extreme imbalance, with the smallest class (Telophase) containing only 27 images compared to over 14,000 in the largest.
- Red Blood Cell (RBC) Image Set: Comprises 64,734 images across 7 morphological states, representing a medium imbalance scenario.
Proposed Methodology
The researchers developed a multi-stage augmentation and sampling pipeline designed to enrich the training process with diverse synthetic minority samples.
Data Augmentation Strategy
The framework employs a "triple-threat" approach to generate synthetic data:
- WGAN-div: A Wasserstein Divergence GAN is used to generate stable, high-quality synthetic images of minority classes, avoiding the common "mode collapse" issue of standard GANs.
- Standard Mixup: This technique creates new samples through linear interpolation between two images, encouraging the model to learn smoother decision boundaries.
- Nonlinear Mixup: The paper's primary technical innovation involves performing a 3D rotation in the RGB color space after a standard mixup. By rotating the color axes, the method regularizes the model against variations in lighting and staining while preserving the underlying cellular morphology.
Minority Class Focused Sampling
Rather than simply mixing synthetic data into the training set, the authors implemented a specific sampling strategy. A supplementary mini-batch consisting solely of synthetic minority samples is appended to each training step, ensuring the model maintains constant focus on rare classes.
Results and Discussion
The integrated approach demonstrated significant performance gains over baseline models and previous state-of-the-art methods. On the Jurkat dataset, the Macro F1-score improved from 0.545 to 0.884. Remarkably, the rarest class (Telophase) achieved a perfect F1-score of 1.0. On the RBC dataset, the F1-score rose from 0.760 to 0.800, outperforming previous studies that relied on under-sampling.
Ablation studies confirmed that the synergy between WGAN-div and the two mixup variants was essential. The nonlinear mixup, in particular, proved highly effective by forcing the CNN to prioritize structural morphology over color-specific features.
Conclusion
This study demonstrates that combining generative modeling with novel color-space regularization and targeted sampling can effectively mitigate the challenges of class imbalance in medical imaging. While techniques like bilinear interpolation showed potential risks of distribution shift, the proposed augmentation strategy provides a robust path forward for more accurate clinical AI systems.
Source: Rana, P., Sowmya, A., Meijering, E. & Song, Y. Data augmentation with improved regularisation and sampling for imbalanced blood cell image classification. Sci Rep 12, 18101 (2022). https://doi.org/10.1038/s41598-022-22882-x
Summary updated