An interpretable framework for decoding transcriptomic foundation models
Y. Hu, Z. Wen, Y. H. Liu, W. Yuan, H. Qin, Z. Lin, D. Klindt, H. Yang,
Key points
From the paper's conclusion- We applied the framework to a CosMx lung-cancer section (81,236 cells, 960 genes) and a Xenium renal-cell-carcinoma section (465,220 cells, 399 model-compatible genes), screening 29 model-layer combinations per dataset.
Abstract
Background: What transcriptomic foundation models encode, and how well they describe cells and tissue on targeted spatial panels, is under-explored. It is unclear whether a concept-labeled sparse autoencoder (SAE) feature represents its concept or only the genes it detects. Results: Here, we propose interpreTFM, which decomposes frozen transcriptomic foundation model activations with SAEs. We applied it to a CosMx lung-cancer section, four further CosMx donors, and a Xenium renal-cell-carcinoma section. On held-out tokens of known genes, sparse features marked 262--593 concepts per analysis layer, and SAEs of re-initialized scGPT and Geneformer did as well. On held-out genes, concept F1 was 0.01--0.12 for every representation and lowest for sparse features. A linear probe of hidden states predicted the concepts of unseen genes, but only in trained models. Per cell, sparse features reached 66--98\% of single-gene population specificity (57--110\% in the donors). In the analyzed CosMx section, sparse-feature niches matched author cell types at ARI 0.34--0.42, while expression-only niches reached 0.30; in the donors, their defining concepts recurred but their composition did not. In Xenium, the niches shared by all models were recovered from expression alone. Calibrated model interface calls were at chance in CosMx and tracked transcript spillover in Xenium. Conclusions: On these panels, SAE features act as concept-labeled gene detectors, while learned concept information is distributed across hidden dimensions. Concept labels should be checked against held-out genes and re-initialized models. For cells and niches, the features give named descriptions, comparable across models and patients and bounded by the measured panel.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Sparse autoencoders reveal interpretable cell-type programs in single-cell foundation model representationsJournal of Biomedical Informatics · 2026
- Accessible and reproducible deployment reveals the practical boundaries of single-cell foundation modelsbioRxiv · 2026
- Ground-truth evaluation of sparse autoencoder features on spatial, single-cell and language-model embeddingsbioRxiv · 2026
- Evaluating the ability of spatial transcriptomics foundation models to learn multi-scale spatial variationbioRxiv · 2026
- Beyond the Final Layer: Evaluating Single-Cell Foundation Model Representations for Molecular PredictionbioRxiv · 2026
- Nicheformer: a foundation model for single-cell and spatial omicsNature Methods · 2025