Hierarchical supervision in DINOv2 training improves generalizability on white blood cell images
• Hierarchical supervision in DINOv2 improves the latent space for WBC classification. • Biologically informed hierarchy reduces error severity and aligns features. • The clustering is improved even for non-leukocytic out-of-domain datasets. • Hierarchy supports labels with different degrees of precision. • Hierarchical supervision in DINOv2 training improves generalizability on white blood cell images. The microscopic observation of blood cells is a crucial step in diagnosing pathologies such as leukemia. DINOv2 models have been employed to extract features from blood cell images, but they do not include biological knowledge, nor do they allow multi-granular labels. To enhance the representation of these cells, we propose leveraging a biologically informed hierarchy of white blood cell types. We train a DINOv2-based foundation model with a semi-supervised framework that uses hierarchical supervision. It enables using datasets with varying levels of label precision within a structure that represents the process of cell differentiation. To support multi-level label precision, we modify the original hierarchical loss function, allowing any hierarchy level to serve as a ground truth class. We evaluate our model on three external datasets, including an out-of-domain set of cervical cells. Our approach improves generalization of the model to new datasets, improving by 1 percentage point the balanced accuracy on the two blood cell external datasets, and by 2.5 percentage point the balanced accuracy on the out-of-domain dataset. In addition the proposed strategy better aligns the model’s latent space with biological properties, leading to more acceptable misclassifications
Authors
- Daniel Stockholm (ORCID: https://orcid.org/0000-0002-5069-5256)
- Xavier Tannier (ORCID: https://orcid.org/0000-0002-2452-8868)
- Manon Chossegros (ORCID: https://orcid.org/0000-0003-1994-8806)
- Christian Matek
- Sophia Wagner
- Carsten Marr
Institutions
- Université Paris Sciences et Lettres (FR)
- Center for Environmental Health (US)
- Sorbonne Université (FR)
- Universitätsklinikum Erlangen (DE)
Publication Details
- Journal
- Expert Systems with Applications
- Published
- 2026-05-01
- DOI
- https://doi.org/10.1016/j.eswa.2026.132710
- Primary Topic
- Digital Imaging for Blood Diseases
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Sorbonne Université