arXiv:2611.08922cs.AINov 2026

Manuscript Offprint

arXiv:2611.08922

Glyph: An Interpretability Engine for AI-Driven Scientific Discovery in Clinical Data

Robbie Holland, Ashwin Kumar, Mateus A. Esmeraldo, David Le, Andrea Fisher, Jiazhen Pan, Louisa Fay, Magdalini Paschali, Vasiliki Sideri-Lampretsa, Ates Fettahoglu, Stefania Moroianu, Philipp Wesp, Ivan Lopez, Tom Nuno Wolf, McKenzie S. White, Eduardo Pontes Reis, Fatima Rodriguez, Curtis P. Langlotz, Vasilis Syrgkanis, Imon Banerjee, Akshay S. Chaudhari, Sergios Gatidis

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Robbie Holland*¹,², Ashwin Kumar¹,², Mateus A. Esmeraldo², David Le³, Andrea Fisher¹,², Jiazhen Pan¹,²,⁴, Louisa Fay¹,², Magdalini Paschali¹,², Vasiliki Sideri-Lampretsa¹,²,⁴, Ates Fettahoglu¹,², Stefania Moroianu¹,², Philipp Wesp¹,², Ivan Lopez¹,², Tom Nuno Wolf⁴, McKenzie S. White¹,², Eduardo Pontes Reis¹,², Fatima Rodriguez⁵, Curtis P. Langlotz¹,², Vasilis Syrgkanis⁶, Imon Banerjee³, Akshay S. Chaudhari†¹,²,⁸,⁹, and Sergios Gatidis†¹,²

¹Stanford Center for Artificial Intelligence in Medicine and Imaging, Stanford University, CA, USA

²Department of Radiology, Stanford University, Stanford, CA, USA

³Department of Radiology, Mayo Clinic, Phoenix, Arizona, USA

⁴Technical University of Munich, Munich, Germany

⁵Division of Cardiology, Stanford University School of Medicine, Stanford, CA, USA

⁶Stanford University, Stanford, CA, USA

⁷Department of Biomedical Data Science, Stanford University, Stanford, CA, USA

⁸Stanford Cardiovascular Institute, Stanford, CA, USA

⁹Weill Cancer Hub West, Stanford, CA, USA

ABSTRACT

Automated scientific discovery has the potential to advance understanding of disease mechanisms and accelerate identification of early disease markers¹. Manual data annotation is infeasible at population scale, motivating methods that automatically extract pre-defined phenotypes in multimodal and unstructured clinical data²,³. Such pre-defined feature sets determine and limit which associations these approaches can discover. This limitation extends to agentic AI systems that use these tools to query population-scale data⁴,⁵. In contrast, foundation models (FMs) trained on large volumes of clinical data can perform tasks beyond their training objectives⁶. This suggests their latent embeddings may represent novel or unexplored features that could yield insights into disease mechanisms, yet such latent features remain difficult to interpret. To address this challenge, we introduce Glyph, an automated multistage framework that extracts features from multimodal and unstructured clinical data using FMs and sparse autoencoders, interprets them as coded clinical concepts, and evaluates their value for clinical scientific discovery. We applied Glyph to multimodal clinical data consisting of abdominal CT volumes, CT radiology reports and laboratory measurements from 41,628 patients across different institutions. At the discovery site, we tested 604,185 concept–outcome associations, focusing on 141 prognostic outcomes most strongly predicted by FM embeddings. This yielded 397 predictive concepts supported by 4,463 Bonferroni-significant associations, recovering established prognostic relationships across several disease axes, including hepatic, renal, cardiovascular and oncologic disease. Moreover, a majority of discovered associations were automatically reproducible in held-out cohorts across different sites. Separating embeddings into concepts further enabled confounder adjustment that attenuated associations with markers of general illness severity, preserved key disease-specific associations and revealed independent systemic risk markers. Compared with disease markers obtained from automated literature search, disease associations of the top ten Glyph concepts were reproduced more frequently in the pooled held-out cohort with significantly larger median odds ratios. This revealed gaps in the clinical literature, highlighting the underexplored prognostic value of Glyph concepts, suggesting new predictive targets. We envision that interpretability can extend beyond a mechanistic understanding of neural networks to connecting implicitly learned features with clinical knowledge and establishing their significance for patient outcomes. We release Glyph at https://github.com/StanfordMIMI/Glyph to enable and share discoveries in other clinical domains.

*Correspondence: robbie.holland@stanford.edu †Co-senior authors.

1 Introduction

Identifying early disease markers has repeatedly transformed clinical practice and patient outcomes7^{7}. Clinical discovery is inherently challenging as evidence of potentially novel markers is captured across diverse, often unstructured and high-dimensional modalities, including 2D and 3D imaging, laboratory results, and textual reports6^{6}. Moreover, the growing volume of clinical data, including approximately 300 million CT scans acquired worldwide each year8^{8}, creates opportunities to identify new markers and uncover unknown associations with a broader range of clinical outcomes. Yet this growth also highlights a gap in our ability to process these data at scale, given the time and expertise required to manually define, annotate, and validate candidate disease markers.

Artificial intelligence (AI) is increasingly proposed as a means of accelerating scientific discovery1^{1}. In protein folding and materials science, targeted models have sharply reduced the time and cost of identifying promising candidates9−11^{9-11}. Attempts to automate clinical science have searched large databases of manually coded phenotypes through phenome-wide association studies (PheWAS)2,12^{2,12}. Efforts to accelerate this approach use deep learning or agents to automate the annotation of phenotypes directly from images, but still restricts investigation to a preselected set of chosen markers3,4,13^{3,4,13}. As a result, clinical discovery still lacks an efficient framework for identifying open-ended, reproducible, and independent disease markers within multimodal data.

One potential solution lies in foundation model (FM) embeddings. Trained on large volumes of multimodal medical data, FMs produce embeddings that characterize patient states14^{14}. Such embeddings have been observed to perform well on tasks they were not explicitly trained for14−17^{14-17}, including disease prognosis and risk stratification, suggesting that they contain clinically meaningful associations beyond their original training objectives. However, these markers remain entangled within high-dimensional vectors, making them difficult to isolate and evaluate as candidate markers. Recently, mechanistic interpretability18−20^{18-20} has emerged as a self-supervised approach to uncover interpretable concepts encoded within FM embeddings, without the need for prospective annotation. Yet its broader potential for transforming FMs into engines of clinical discovery remains largely unexplored.

To address this gap, we introduce Glyph, a framework that turns foundation model (FM) embeddings into concepts for clinical discovery. The name derives from “glyph,” or a symbol that conveys meaning, reflecting our goal of giving hidden information a form that can be studied. Drawing on mechanistic interpretability, Glyph discovers coded concepts directly in FM embeddings and detects them across patients without requiring candidate markers to be defined and annotated in advance. These extracted concepts are measurable, interpretable patterns in patient data that together preserve the FM’s predictive capacity. Glyph integrates them with established clinical variables and tests their associations with disease-related outcomes across patient populations. This enables efficient, closed- and open-ended discovery that is infeasible with embeddings alone or with agentic systems operating on a limited set of pre-defined concepts. Our contributions are as follows:

  1. Establishing the concept space. To make FM embeddings useful for discovery, we develop the Glyph framework to first represent such embeddings in sets of sparse features, and then filter and interpret these as clinically meaningful concepts. Specifically, we evaluated features for significant prognostic associations, reproducibility across three sites, persistence after adjustment for measured confounders, and overall interpretability. Glyph identified 397 predictive concepts bearing 4,463 significant associations to 141 future disease outcomes meeting a Bonferroni threshold of p≤8.28×10−8p \leq 8.28 \times 10^{-8}. Identifying concepts with at least one significant association yielded a space of high-risk concepts, capturing disease risk across modalities. Concept interpretations and prognostic associations also reproduced in external cohorts.

  2. Rediscovery and discovery. The validated concept space recovered established prognostic relationships across several disease axes, including hepatic, renal, cardiovascular, and oncologic disease. When tested in held-out cohorts, these associations reproduced across institutions. Glyph then extended these findings by linking established risk markers to additional outcomes and identifying reproducible prognostic associations that remain poorly characterized in the literature. Beyond disease-specific risk profiles, Glyph identified systemic risk markers across modalities, with one

2/36

Figure

Figure 1. Transforming foundation model embeddings into engines of clinical discovery. a Glyph can be applied to any data expected to contain useful markers for discovery. b Foundation models compress multimodal clinical data into high-dimensional embeddings, typically used for predefined prediction tasks. The structural contents of embeddings driving these predictions is typically not unexplored. c Glyph instead transforms FM embeddings into engines for discovery, mapping a space of concepts hidden within these embeddings. Glyph goes beyond embeddings by decomposing them into sparse concepts that can be studied individually and in selected combinations (Figure 1c). d Glyph concepts recover associations established in clinical research and ICD-based PheWAS analyses, while revealing complementary associations not yet discovered by either approach. e–f Glyph evaluates concepts for e associations with future disease after correction for multiple testing, f associations that persist after adjustment for measured confounders, and g clinical interpretability. h All findings are tested for reproducibility across multiple cohorts. i Validated concepts provide an interface for asking complex questions of FM embeddings and grounding the answers in the underlying data.

3/36 imaging and three laboratory concepts retaining broad associations across disease groups after adjustment for potential confounders. Glyph revealed that nearly half of the high-risk imaging concepts were not consistently documented in the accompanying radiology reports.

  1. Comparison with literature We investigated whether and in which domains Glyph brought additional prognostic value over the clinical literature. To this end, a co-scientist agent processed 342,647 clinical papers covering each discovery axes, and reproduced 412 published markers in our data. We found using just ten Glyph concepts per axis led to significantly stronger models in external data than literature markers alone (3.34% AUC gain, p=2.66×10−28p = 2.66 \times 10^{-28}), with predictive improvements of up to 11.7% in specific axes. Comparing the top ten Glyph concepts with the top ten literature markers per outcome, selected at the Discovery Site, Glyph associations reproduced more frequently in the pooled held-out cohort (64.8% vs. 41.2%, p=2.54×10−6p = 2.54 \times 10^{-6}) at higher median confounder-adjusted odds ratios (1.31 vs. 1.16, p=5.0×10−5p = 5.0 \times 10^{-5}).

  2. Comparison with pre-coded phenotypes Similarly, we also asked whether pre-coded phenotypes could support the same discoveries, comparing Glyph with an automated PheWAS-style analysis of ICD-derived Phecodes. Across the same outcomes, associations from Glyph reproduced more often than those from Phecodes at Internal Test (69.3% vs. 49.1%, p=9.77×10−4p = 9.77 \times 10^{-4}) and External Site #1 (74.3% vs. 63.9%, p=2.93×10−3p = 2.93 \times 10^{-3}), and had larger median effect sizes. Overall, Glyph showed a complementary benefit to existing disease coding protocols and clinical literature.

  3. Open-source and use. Glyph extracts additional value from existing pretrained FMs, without retraining. To enable researchers to find our concept space in their cohorts, or build new concept spaces from their data, we open-source Glyph at github.com/StanfordMIMI/Glyph, installable via pip install glyph-discovery. A validated concept space also supports other applications including explainable patient-level predictions and retrieval. We also release the Glyph MCP, enabling clinicians, engineers, and AI agents to investigate patient data and test open-ended hypotheses and applications through concepts.

References (70)