Medical Interpretability and Knowledge Maps of Large Language Models
On the map: Mechanistic interpretability → Interpreting biomedical and science models
Abstract (arXiv)
We present a systematic study of medical-domain interpretability in Large Language Models (LLMs). We study how the LLMs both represent and process medical knowledge through four different interpretability techniques: (1) UMAP projections of intermediate activations, (2) gradient-based saliency with respect to the model weights, (3) layer lesioning/removal and (4) activation patching. We present knowledge maps of five LLMs which show, at a coarse-resolution, where knowledge about patient's ages, medical symptoms, diseases and drugs is stored in the models. In particular for Llama3.3-70B, we find that most medical knowledge is processed in the first half of the model's layers. In addition, we find several interesting phenomena: (i) age is often encoded in a non-linear and sometimes discontinuous manner at intermediate layers in the models, (ii) the disease progression representation is non-monotonic and circular at certain layers of the model, (iii) in Llama3.3-70B, drugs cluster better by medical specialty rather than mechanism of action, especially for Llama3.3-70B and (iv) Gemma3-27B and MedGemma-27B have activations that collapse at intermediate layers but recover by the final layers. These results can guide future research on fine-tuning, un-learning or de-biasing LLMs for medical tasks by suggesting at which layers in the model these techniques should be applied.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Interpreting biomedical and science models, one of 13 directions in Mechanistic interpretability. Builds on 39 of its 55 references that are in the map. First posted on arXiv 13 Oct 2025.
Builds on
39 of 55 references.
Closest ancestors · 1
Same direction, newest first
Other references · 38
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2018UMAP: Uniform Manifold Approximation and Projection for Dimension Reductioncited by 2,898
- 2022Locating and Editing Factual Associations in GPTcited by 2,691
- 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,262
- 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,405
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,165
- 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 856
- 2019Are Sixteen Heads Really Better than One?cited by 816
- 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 623
- 2021Knowledge Neurons in Pretrained Transformerscited by 601
- 2023SalUn: Empowering Machine Unlearning via Gradient-based Weight Saliency in Both Image Classification and Generationcited by 386
- 2023Towards Best Practices of Activation Patching in Language Models: Metrics and Methodscited by 359
26 more
- 2023Language Models Represent Space and Timecited by 316
- 2024The Unreasonable Ineffectiveness of the Deeper Layerscited by 226
- 2019Visualizing and Measuring the Geometry of BERTcited by 216
- 2024How to use and interpret activation patchingcited by 214
- 2024Not All Language Model Features Are One-Dimensionally Linearcited by 212
- 2016Layer-wise Relevance Propagation for Neural Networks with Local Renormalization Layerscited by 199
- 2023Birth of a Transformer: A Memory Viewpointcited by 161
- 2024The Evolution of Statistical Induction Heads: In-Context Learning Markov Chainscited by 118
- 2024Limitations of the LLM-as-a-Judge Approach for Evaluating LLM Outputs in Expert Knowledge Taskscited by 106
- 2021An Interpretability Illusion for BERTcited by 97
- 2024Cutting Off the Head Ends the Conflict: A Mechanism for Interpreting and Mitigating Knowledge Conflicts in Language Modelscited by 91
- 2024What needs to go right for an induction head? A mechanistic study of in-context learning circuits and their formationcited by 89
- 2023Diagnostic Reasoning Prompts Reveal the Potential for Large Language Model Interpretability in Medicinecited by 83
- 2024LLM Reasoners: New Evaluation, Library, and Analysis of Step-by-Step Reasoning with Large Language Modelscited by 70
- 2024Attention Heads of Large Language Models: A Surveycited by 67
- 2023Learning to Retrieve In-Context Examples for Large Language Modelscited by 60
- 2023AttentionViz: A Global View of Transformer Attentioncited by 50
- 2024A Performance Study of LLM-Generated Code on Leetcodecited by 49
- 2024Induction Heads as an Essential Mechanism for Pattern Matching in In-context Learningcited by 46
- 2024CoD, Towards an Interpretable Medical Agent using Chain of Diagnosiscited by 43
- 2024Summing Up the Facts: Additive Mechanisms Behind Factual Recall in LLMscited by 42
- 2024Investigating Layer Importance in Large Language Modelscited by 36
- 2024How Do Multilingual Language Models Remember Facts?cited by 20
- 2024Monotonic Representation of Numeric Properties in Language Modelscited by 15
- 2024Linking In-context Learning in Transformers to Human Episodic Memorycited by 15
- 2024A Comparative Study of Quality Evaluation Methods for Text Summarizationcited by 13
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Large Language Models Lack Temporal Awareness of Medical Knowledge
- 2026Is There Knowledge Left to Extract? Evidence of Fragility in Medically Fine-Tuned Vision-Language Models
- 2023MEDITRON-70B: Scaling Medical Pretraining for Large Language Models
- 2025Reviewing Clinical Knowledge in Medical Large Language Models: Training and Beyond
- 2025Fact or Guesswork? Evaluating Large Language Models' Medical Knowledge with Structured One-Hop Judgments
- 2024Biomedical Large Languages Models Seem not to be Superior to Generalist Models on Unseen Medical Data
- 2025Disentangling Reasoning and Knowledge in Medical Large Language Models
- 2024A Survey for Large Language Models in Biomedicine