eess.IVNov 11, 2026

Hybrid quantum learning for imbalanced blood-cell classification: domain adaptation and classifier design

Authors: Gabriele D'Angeli, Cyrill Aebischer, Eryk Schiller, Gianluca Nicchiotti, Su Fong Chien, Jérôme Extermann, Enrico Pomarico

Organizations: Department of Physics, University of Geneva, Geneva, Switzerland · Geneva School of Engineering, Architecture and Landscape (HEPIA), HES-SO University of Applied Sciences and Arts Western Switzerland, Geneva, Switzerland · School of Engineering and Architecture of Fribourg (HEIA-FR), HES-SO University of Applied Sciences and Arts Western Switzerland, Fribourg, Switzerland · Axon Logic, Multidisciplinary Research and Innovation Centre, Athens, Greece

Abstract

Limited annotated data, class imbalance, and morphological similarity make white blood cell classification challenging. We benchmark hybrid variational quantum classifier heads against an affine baseline on 821 microscopy images across seven morphological classes. Using ImageNet-initialised ResNet34 backbones and repeated stratified five-fold cross-validation, we first compare direct transfer with intermediate adaptation on MLL23, a larger peripheral blood cell microscopy dataset. To guide the head comparison, we explore different encoding strategies, variational depth, and the number of independent circuit blocks. We then compare the classifier performance using the affine head and two hybrid heads across multiple random seeds, under a shared training and evaluation protocol. For this comparison, all backbones share the same MLL23-adapted initialisation. Intermediate adaptation increases mean macro-F1 across all four affine-head fine-tuning configurations. The largest gain occurs with a frozen backbone, where macro-F1 rises from 0.6850.685 to 0.7860.786, a relative improvement of approximately 14.7%14.7\%. The shallow two-block hybrid head achieves a mean pooled out-of-fold macro-F1 of 0.865±0.0100.865 \pm 0.010, compared with 0.879±0.0080.879 \pm 0.008 for the affine head. The corresponding balanced accuracies are 0.886±0.0080.886 \pm 0.008 and 0.889±0.0100.889 \pm 0.010, respectively. In the architectural exploration, the two-block hybrid head achieves the highest macro-F1 and balanced accuracy among the evaluated hybrid configurations, while the effect of encoding varies across the considered metrics. Our results help guide the design and evaluation of hybrid classifier heads for imbalanced microscopy by linking architectural choices to overall performance and class-specific precision-recall trade-offs.

Figures & tables

Appendix figures & tables8 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

May 22, 2026

Enhancing Blood Cells Classification using Hybrid Quantum Neural Networks

Accurate classification of microscopic blood cells is still a critical task in medical image analysis, where subtle variations and limited data can challenge conventional deep learning models. As such, we investigate in this work the potential of Hybrid Quantum-Classical Neural Networks (HQNNs) to enhance feature representation and improve classification performance in this domain. We propose a modular architecture combining a pre-trained ResNet-50 backbone with a low-dimensional latent bottleneck and a variational quantum circuit, enabling a direct comparison between quantum-enhanced and purely classical transformation mechanisms. To isolate the contribution of the quantum component, we evaluate three architectures: a HQNN model, a Classical Matched Model with an additional nonlinear transformation layer of comparable capacity, and a baseline model without an intermediate transformation stage. Experiments conducted on two publicly available blood cell datasets, namely the Blood Cell Images dataset and the PBC dataset, demonstrate that HQNNs consistently achieve superior or more balanced performance across evaluation metrics. In the Blood Cell Images Dataset, the proposed approach improves macro F1-score by up to 3.7% compared to classical baselines, while improving the F1-score from 98.54% to 98.69% in the more challenging 8-class scenario with near-saturated performance. Additional evaluation on IBM quantum hardware shows that the model remains robust under noise, with only a modest performance degradation relative to simulated results. These results indicate that quantum feature transformations can enhance discriminative representations, particularly in challenging classification scenarios, and highlight the practical potential of HQNN models for medical imaging tasks.
Mar 17, 2026

Synergizing Deep Learning and Biological Heuristics for Extreme Long-Tail White Blood Cell Classification

Automated white blood cell (WBC) classification is essential for leukemia screening but remains challenged by extreme class imbalance, long-tail distributions, and domain shift, leading deep models to overfit dominant classes and fail on rare subtypes. We propose a hybrid framework for rare-class generalization that integrates a generative Pix2Pix-based restoration module for artifact removal, a Swin Transformer ensemble with MedSigLIP contrastive embeddings for robust representation learning, and a biologically-inspired refinement step using geometric spikiness and Mahalanobis-based morphological constraints to recover out-of-distribution predictions. Evaluated on the WBCBench 2026 challenge, our method achieves a Macro-F1 of 0.77139 on the private leaderboard, demonstrating strong performance under severe imbalance and highlighting the value of incorporating biological priors into deep learning for hematological image analysis. The code is available at https://github.com/trongduc-nguyen/WBCBench2026
Mar 21, 2026

Ensemble of Small Classifiers For Imbalanced White Blood Cell Classification

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.