Learning biologically relevant features in a pathology foundation model using sparse autoencoders

Nhat Minh Le, Ciyue Shen, Neel Patel, Chintan Shah, Darpan Sanghavi +11 more
7/15/2024
eess.IVcs.CV

No confident code implementation found for this paper.

Abstract

Pathology plays an important role in disease diagnosis, treatment decision-making and drug development. Previous works on interpretability for machine learning models on pathology images have revolved around methods such as attention value visualization and deriving human-interpretable features from model heatmaps. Mechanistic interpretability is an emerging area of model interpretability that focuses on reverse-engineering neural networks. Sparse Autoencoders (SAEs) have emerged as a promising direction in terms of extracting monosemantic features from polysemantic model activations. In this work, we trained a Sparse Autoencoder on the embeddings of a pathology pretrained foundation model. We found that Sparse Autoencoder features represent interpretable and monosemantic biological concepts. In particular, individual SAE dimensions showed strong correlations with cell type counts such as plasma cells and lymphocytes. These biological representations were unique to the pathology pretrained model and were not found in a self-supervised model pretrained on natural images. We demonstrated that such biologically-grounded monosemantic representations evolved across the model's depth, and the pathology foundation model eventually gained robustness to non-biological factors such as scanner type. The emergence of biologically relevant SAE features was generalizable to an out-of-domain dataset. Our work paves the way for further exploration around interpretable feature dimensions and their utility for medical and clinical applications.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{le2024learning,
  title  = {Learning biologically relevant features in a pathology foundation model using sparse autoencoders},
  author = {Nhat Minh Le and Ciyue Shen and Neel Patel and Chintan Shah and Darpan Sanghavi and Blake Martin and Alfred Eng and Daniel Shenker and Harshith Padigela and Raymond Biju and Syed Ashar Javed and Jennifer Hipp and John Abel and Harsha Pokkalla and Sean Grullon and Dinkar Juyal},
  year   = {2024},
  eprint = {2407.10785},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.10785v3}
}

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/2407.10785.svg)](https://codeofpaper.com/paper/2407.10785)

Discussion