CytoSAE: Interpretable Cell Embeddings for Hematology

Muhammed Furkan Dasdelen, Hyesu Lim, Michele Buck, Katharina S. Götze, Carsten Marr +1 more
7/16/2025
cs.CVcs.LGq-bio.QM

Official code: dynamical-inference/cytosae (27 stars, last commit 2025-07-17).

Abstract

Sparse autoencoders (SAEs) emerged as a promising tool for mechanistic interpretability of transformer-based foundation models. Very recently, SAEs were also adopted for the visual domain, enabling the discovery of visual concepts and their patch-wise attribution to tokens in the transformer model. While a growing number of foundation models emerged for medical imaging, tools for explaining their inferences are still lacking. In this work, we show the applicability of SAEs for hematology. We propose CytoSAE, a sparse autoencoder which is trained on over 40,000 peripheral blood single-cell images. CytoSAE generalizes to diverse and out-of-domain datasets, including bone marrow cytology, where it identifies morphologically relevant concepts which we validated with medical experts. Furthermore, we demonstrate scenarios in which CytoSAE can generate patient-specific and disease-specific concepts, enabling the detection of pathognomonic cells and localized cellular abnormalities at the patch level. We quantified the effect of concepts on a patient-level AML subtype classification task and show that CytoSAE concepts reach performance comparable to the state-of-the-art, while offering explainability on the sub-cellular level. Source code and model weights are available at https://github.com/dynamical-inference/cytosae.

View on arXivView PDF

Code Implementations(1)

Official implementation of CytoSAE: Interpretable Cell Embeddings for Hematology

274Shell, PythonJun 29, 20251 years agoNOASSERTION

Similar Papers

Cite this paper

@article{dasdelen2025cytosae,
  title  = {CytoSAE: Interpretable Cell Embeddings for Hematology},
  author = {Muhammed Furkan Dasdelen and Hyesu Lim and Michele Buck and Katharina S. Götze and Carsten Marr and Steffen Schneider},
  year   = {2025},
  eprint = {2507.12464},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.12464v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.12464.svg)](https://codeofpaper.com/paper/2507.12464)

Discussion