mlsanityData to 14 Oct 2026

Medical Interpretability and Knowledge Maps of Large Language Models

arXiv 2510.11390 ↗First posted 13 Oct 2025cs.LG cs.AIcited by 0

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

  1. 2024DILA: Dictionary Label Attention for Mechanistic Interpretability in High-dimensional Multi-label Medical Coding Prediction16 Sep

Other references · 38

  1. 2024The Llama 3 Herd of Modelscited by 14,715
  2. 2018UMAP: Uniform Manifold Approximation and Projection for Dimension Reductioncited by 2,898
  3. 2022Locating and Editing Factual Associations in GPTcited by 2,691
  4. 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,262
  5. 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,405
  6. 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,165
  7. 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 856
  8. 2019Are Sixteen Heads Really Better than One?cited by 816
  9. 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 623
  10. 2021Knowledge Neurons in Pretrained Transformerscited by 601
  11. 2023SalUn: Empowering Machine Unlearning via Gradient-based Weight Saliency in Both Image Classification and Generationcited by 386
  12. 2023Towards Best Practices of Activation Patching in Language Models: Metrics and Methodscited by 359
26 more
  1. 2023Language Models Represent Space and Timecited by 316
  2. 2024The Unreasonable Ineffectiveness of the Deeper Layerscited by 226
  3. 2019Visualizing and Measuring the Geometry of BERTcited by 216
  4. 2024How to use and interpret activation patchingcited by 214
  5. 2024Not All Language Model Features Are One-Dimensionally Linearcited by 212
  6. 2016Layer-wise Relevance Propagation for Neural Networks with Local Renormalization Layerscited by 199
  7. 2023Birth of a Transformer: A Memory Viewpointcited by 161
  8. 2024The Evolution of Statistical Induction Heads: In-Context Learning Markov Chainscited by 118
  9. 2024Limitations of the LLM-as-a-Judge Approach for Evaluating LLM Outputs in Expert Knowledge Taskscited by 106
  10. 2021An Interpretability Illusion for BERTcited by 97
  11. 2024Cutting Off the Head Ends the Conflict: A Mechanism for Interpreting and Mitigating Knowledge Conflicts in Language Modelscited by 91
  12. 2024What needs to go right for an induction head? A mechanistic study of in-context learning circuits and their formationcited by 89
  13. 2023Diagnostic Reasoning Prompts Reveal the Potential for Large Language Model Interpretability in Medicinecited by 83
  14. 2024LLM Reasoners: New Evaluation, Library, and Analysis of Step-by-Step Reasoning with Large Language Modelscited by 70
  15. 2024Attention Heads of Large Language Models: A Surveycited by 67
  16. 2023Learning to Retrieve In-Context Examples for Large Language Modelscited by 60
  17. 2023AttentionViz: A Global View of Transformer Attentioncited by 50
  18. 2024A Performance Study of LLM-Generated Code on Leetcodecited by 49
  19. 2024Induction Heads as an Essential Mechanism for Pattern Matching in In-context Learningcited by 46
  20. 2024CoD, Towards an Interpretable Medical Agent using Chain of Diagnosiscited by 43
  21. 2024Summing Up the Facts: Additive Mechanisms Behind Factual Recall in LLMscited by 42
  22. 2024Investigating Layer Importance in Large Language Modelscited by 36
  23. 2024How Do Multilingual Language Models Remember Facts?cited by 20
  24. 2024Monotonic Representation of Numeric Properties in Language Modelscited by 15
  25. 2024Linking In-context Learning in Transformers to Human Episodic Memorycited by 15
  26. 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

  1. 2026Large Language Models Lack Temporal Awareness of Medical Knowledge
  2. 2026Is There Knowledge Left to Extract? Evidence of Fragility in Medically Fine-Tuned Vision-Language Models
  3. 2023MEDITRON-70B: Scaling Medical Pretraining for Large Language Models
  4. 2025Reviewing Clinical Knowledge in Medical Large Language Models: Training and Beyond
  5. 2025Fact or Guesswork? Evaluating Large Language Models' Medical Knowledge with Structured One-Hop Judgments
  6. 2024Biomedical Large Languages Models Seem not to be Superior to Generalist Models on Unseen Medical Data
  7. 2025Disentangling Reasoning and Knowledge in Medical Large Language Models
  8. 2024A Survey for Large Language Models in Biomedicine