An interpretable framework for decoding transcriptomic foundation models
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.
Authors
- Yunfei Hu (ORCID: https://orcid.org/0009-0003-7167-9620)
- Oana Carja (ORCID: https://orcid.org/0000-0002-4296-2326)
- David Alexander Klindt (ORCID: https://orcid.org/0009-0000-6604-7969)
- Xin Zhou (ORCID: https://orcid.org/0000-0003-4015-4787)
- Yichen Henry Liu (ORCID: https://orcid.org/0009-0006-8320-9636)
- Haoran Qin (ORCID: https://orcid.org/0009-0006-0242-5178)
- Weiman Yuan
- Zhenhan Lin (ORCID: https://orcid.org/0009-0005-6061-3348)
- Zihang Wen
- Haichun Yang
Institutions
- Vanderbilt University (US)
- Washington University in St. Louis (US)
- Cold Spring Harbor Laboratory (US)
- Carnegie Mellon University (US)
- Vanderbilt University Medical Center (US)
Publication Details
- Journal
- bioRxiv (Cold Spring Harbor Laboratory)
- Published
- 2026-11-25
- DOI
- https://doi.org/10.64898/2026.11.16.767062
- Primary Topic
- Single-cell and spatial transcriptomics
- Type
- preprint