cs.CVAug 28, 2026

EXPOSE: Explainable and Domain-Robust Embeddings from Pathology Vision Foundation Models using Sparse Autoencoders

Authors: Anja Witte, Maximilian Lennartz, Jan Baumbach, Guido Sauter, Stefan Bonn, Patrick Fuhlert, Marina Zimmermann

Organizations: Institute of Medical Systems Bioinformatics, Center for Biomedical AI (bAIome), Center for Molecular Neurobiology Hamburg (ZMNH), Hamburg Center for Translational Immunology (HCTI), University Medical Center Hamburg-Eppendorf, Hamburg, Germany · Institute of Pathology, University Medical Center Hamburg-Eppendorf, Hamburg, Germany · Institute of Computational Systems Biology, University of Hamburg, Hamburg, Germany · German Center for Child and Adolescent Health (DZKJ), Hamburg, Germany · III. Department of Medicine, University Medical Center Hamburg-Eppendorf, Hamburg, Germany

Abstract

Vision Foundation Models (VFMs) are widely used in computational pathology but remain sensitive to domain shifts arising from variations in staining, tissue preparation, and scanner hardware. A key limitation is that VFM embeddings entangle biological with domain-specific information, hindering cross-domain generalization. We propose Explainable Probing of Cross-Domain Sparse Embeddings (EXPOSE), a framework that uses Sparse Autoencoders (SAEs) as an explainable bottleneck to identify and suppress domain-specific components in VFM embeddings. We train a sparse representation of VFM features, use a linear classifier to identify domain-specific latent dimensions, and mask these features prior to downstream relapse prediction without retraining the backbone model. Experiments on a large prostate cancer dataset with multiple acquisition domains show that SAE features capture both domain- and task-specific information, which are partially disentangled in the latent space. Removing domain-specific features improves cross-domain performance and increases embedding robustness as measured by the Domain Robustness Index (DoRI). Code is available at https://github.com/imsb-uke/expose .

Figures & tables

Appendix figures & tables1 asset

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Robustifying pathology foundation models via fine-tuning

    Jul 24, 2026Alexandre Filiot, Oskar Thaeter, Benoit Schmauch +1Computational PathologyFine-Tuning

  2. Discrepancy Minimization Improves Cross-Hospital Robustness in Digital Pathology

    May 24, 2026Ben Vardi, Dana Schonberger, Yuval Friedmann +4Computational PathologyUnsupervised Domain Adaptation

  3. Benchmarking Pathology Foundation Models for Spatial Domain Understanding

    May 25, 2026Bokai Zhao, Yiyang Zhang, Yuanchi Zhu +6Pathology Foundation ModelsMedical Image Benchmarks