arXiv:2610.40905cs.CVOct 2026

Manuscript Offprint

arXiv:2610.40905

Sparse Autoencoders for Expert-Assisted Interpretation of Histopathology Foundation Model Embeddings

Šimon Šmída, Wanda Benesova

Abstract

Histopathology foundation models learn rich embedding representations, but their internal structure remains difficult to inspect. Concept-level interpretability is particularly relevant in computational pathology because pathologists reason through recurring morphological and tissue-level patterns, including tissue architecture, cellular morphology, staining variation, and artifacts. In this work, we investigate whether sparse autoencoders (SAEs) can decompose embeddings from histopathology foundation models into sparse latent features suitable for expert-assisted interpretation. We train vanilla and BatchTopK SAE variants on NCT-CRC embeddings, using CONCH as the primary foundation model and UNI2-h as an additional robustness evaluation, and characterize the resulting latent features through reconstruction fidelity, sparsity, coherence, label enrichment, and downstream class-signal preservation. The learned sparse representations preserve most downstream tissue-class information, and their latent features retrieve more coherent and label-concentrated patch groups than raw embedding dimensions or PCA components. Discussions with pathology experts further motivated a WSI-level latent visualization workflow that places feature activations into larger tissue context. Overall, the additional UNI2-h evaluation suggests that the observed behavior is not specific to CONCH, supporting the use of sparse autoencoders for expert-assisted analysis of histopathology foundation-model embeddings, while emphasizing that latent features should be treated as candidate concepts requiring pathological assessment rather than automatically validated histopathological concepts.

Introduction

Foundation models pretrained on large histopathology data collections are increasingly used as general-purpose backbones in computational pathology [☐, ☐, ☐]. Instead of training task-specific representations from scratch, many modern pipelines first map tissue patches into dense embedding spaces using pretrained models such as CONCH [☐], UNI [☐], or Virchow [☐], and then reuse these embeddings for downstream analysis tasks including classification, retrieval, clustering, slide-level aggregation, and multimodal alignment. These

© 2026. The copyright of this document resides with its authors. It may be distributed unchanged freely in print or electronic forms.

ŠMÍDA, BENESOVA: SAEs FOR HISTOPATHOLOGY FOUNDATION MODELS

embeddings capture variation in morphology, spatial context, staining, and other tissue properties beyond a single task label. However, they are difficult to inspect directly: individual embedding dimensions are not designed to correspond to human-understandable histopathological concepts, and relevant information may be distributed across entangled directions. This makes it difficult to determine which histopathological structures are encoded in the representation space.

Understanding what histopathology foundation models encode, how this information is organized, and how it relates to downstream model behavior remains an open challenge. Existing interpretability methods in computational pathology often focus on localization, using saliency maps, attention visualization, or multiple-instance learning heatmaps to highlight image regions associated with a prediction [11, 2]. Such methods are useful for asking where the evidence may be located in the input, but they provide limited insight into what reusable histological structure is encoded in the representation space itself [2].

Pathologists reason through recurring semantic abstractions such as tissue organization, cellular morphology, immune infiltration, stromal structure, staining variation, and artifacts [☐]. Explanations expressed at this level are often more clinically meaningful than explanations based solely on pixels, attention maps, or individual embedding dimensions. This motivates concept-based interpretability methods [☐, ☐], which aim to relate model behavior to higher-level human-understandable concepts. However, pathology foundation-model embeddings are learned without explicit concept supervision and may encode mixed or entangled visual structure. We therefore require representation-level methods that can identify interpretable structure directly from the embedding space.

Sparse autoencoders (SAEs) learn overcomplete sparse latent representations that reconstruct dense activation vectors while encouraging only a small subset of latent features to activate for each sample [☐, ☐]. Unlike classical linear decompositions such as PCA, which produce dense orthogonal directions, SAEs enforce sparse feature activations and may therefore yield more selective and interpretable representation features. SAEs have recently become an important tool in mechanistic interpretability for studying sparse feature structure and polysemicity in large neural networks [☐], with emerging applications in vision and computational pathology [☐, ☐]. However, systematic studies of SAEs trained directly on histopathology foundation-model embeddings remain limited.

In this work, we study how sparse autoencoders can support expert-assisted interpretation of histopathology foundation-model embeddings. We train vanilla and BatchTopK [☐] SAEs on NCT-CRC embeddings [☐], using CONCH [☐] as the primary model and UNI2-h [☐] to evaluate robustness to a second foundation-model embedding space. We analyze the resulting sparse latent features through quantitative characterization, spatial visualization, and downstream class-signal preservation.

We compare SAE latents against raw embedding dimensions, PCA decompositions, and random directions to evaluate whether sparse dictionary learning produces a more concentrated and coherent representation basis. Discussions with pathology experts additionally revealed that isolated top-activating patches are often insufficient for reliable interpretation of latent features. This motivated the development of a WSI-level latent visualization workflow that enables sparse features to be inspected directly within larger spatial tissue context.

Our experiments show that BatchTopK SAEs provide the strongest reconstruction–sparsity tradeoff in this setting while preserving most downstream tissue-class information. Compared with raw embedding dimensions and PCA decompositions, SAE latent features exhibit higher top-patch coherence and stronger label concentration, suggesting a more selective and coherent representation structure. Rather than treating sparse latent features as automatically validated histopathological concepts, we position them as candidate concepts that can be quantitatively characterized, spatially visualized, and assessed by pathology experts.

Figure

Figure 1: Expert-assisted interpretation of histopathology foundation-model embeddings with sparse autoencoders. (A) Sparse representation learning. Dense patch embeddings are decomposed into sparse latent features using a sparse autoencoder. (B) Expert-assisted latent interpretation. Individual latent features are analyzed through complementary forms of evidence, including quantitative characterization, top-activating patches, and WSI-level activation maps. Together these provide evidence for a candidate concept, which can then be assessed and validated by pathology experts.

The main contributions of this work are:

  • We propose an expert-assisted workflow for interpreting histopathology foundation-model embeddings using sparse autoencoders.

  • We introduce a quantitative framework for assessing SAE latent features that may correspond to candidate histopathological concepts.

  • We develop a WSI-level latent visualization workflow motivated by pathology expert inspection requirements, enabling latent features to be inspected directly within whole-slide tissue context.

  • We demonstrate that sparse autoencoders trained on CONCH embeddings recover coherent and label-enriched latent structures while preserving most downstream tissue-class information.

Figure 1 illustrates the proposed sparse-feature analysis pipeline.

References (28)