Beyond Label Attention: Transparency in Language Models for Automated Medical Coding via Dictionary Learning
On the map: Mechanistic interpretability → Interpreting biomedical and science models
Abstract (arXiv)
Medical coding, the translation of unstructured clinical text into standardized medical codes, is a crucial but time-consuming healthcare practice. Though large language models (LLM) could automate the coding process and improve the efficiency of such tasks, interpretability remains paramount for maintaining patient trust. Current efforts in interpretability of medical coding applications rely heavily on label attention mechanisms, which often leads to the highlighting of extraneous tokens irrelevant to the ICD code. To facilitate accurate interpretability in medical language models, this paper leverages dictionary learning that can efficiently extract sparsely activated representations from dense language model embeddings in superposition. Compared with common label attention mechanisms, our model goes beyond token-level representations by building an interpretable dictionary which enhances the mechanistic-based explanations for each ICD code prediction, even when the highlighted tokens are medically irrelevant. We show that dictionary features can steer model behavior, elucidate the hidden meanings of upwards of 90% of medically irrelevant tokens, and are human interpretable.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Placed in Interpreting biomedical and science models, one of 13 directions in Mechanistic interpretability. Builds on 25 of its 58 references that are in the map. First posted on arXiv 31 Oct 2024.
Builds on
25 of 58 references.
References · 25
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
- 2017Learning Important Features Through Propagating Activation Differencescited by 1,458
- 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,420
- 2017Grad-CAM++: Improved Visual Explanations for Deep Convolutional Networkscited by 939
- 2023ChatGPT Outperforms Crowd-Workers for Text-Annotation Taskscited by 870
- 2020Quantifying Attention Flow in Transformerscited by 775
- 2023Towards Automated Circuit Discovery for Mechanistic Interpretabilitycited by 724
- 2019ERASER: A Benchmark to Evaluate Rationalized NLP Modelscited by 530
- 2015Evaluating the visualization of what a Deep Neural Network has learnedcited by 419
- 2021Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformerscited by 320
- 2020A Survey on Neural Network Interpretabilitycited by 291
13 more
- 2018Explainable Prediction of Medical Codes from Clinical Textcited by 234
- 2021Towards Causal Representation Learningcited by 209
- 2023Is ChatGPT better than Human Annotators? Potential and Limitations of ChatGPT in Explaining Implicit Hate Speechcited by 166
- 2021Transformer visualization via dictionary learning: contextualized embedding as a linear superposition of transformer factorscited by 108
- 2016A survey of sparse representation: algorithms and applicationscited by 58
- 2017SPINE: SParse Interpretable Neural Embeddingscited by 55
- 2023Automated Medical Coding on MIMIC-III and MIMIC-IV: A Critical Review and Replicability Studycited by 49
- 2022A Comparative Study of Faithfulness Metrics for Model Interpretability Methodscited by 39
- 2021Explaining a Series of Models by Propagating Shapley Valuescited by 37
- 2021A Systematic Literature Review of Automated ICD Coding and Classification Systems using Discharge Summariescited by 10
- 2022On the Interpretability of Attention Networkscited by 5
- 2019Examining Structure of Word Embeddings with PCAcited by 3
- 2023Dictionary Learning under Symmetries via Group Representationscited by 1
Built on by
Citing papers per year: 2025: 1; 2026: 4.
5 papers.
- 2025Explainable ICD Coding via Entity Linkingcited by 1
- 2026Exploring Accurate and Transparent Domain Adaptation in Predictive Healthcare via Concept-Grounded Orthogonal Inferencecited by 1
- 2026From Documents to Spans: Span-Centric Learning for LLM-based Explainable Medical Codingcited by 0
- 2026Bridging the Version Gap: Multi-version Training Improves ICD Code Prediction, Especially for Rare Codescited by 0
- 2026Making Clinical Language Models Auditable: Concept-Guided Fine-Tuning for Robust Predictioncited by 0
- 2026Making Clinical Language Models Auditable: Concept-Guided Fine-Tuning for Robust Prediction27 Aug 2026
- 2026Bridging the Version Gap: Multi-version Training Improves ICD Code Prediction, Especially for Rare Codes18 May 2026
- 2026From Documents to Spans: Span-Centric Learning for LLM-based Explainable Medical Coding16 Mar 2026
- 2026Exploring Accurate and Transparent Domain Adaptation in Predictive Healthcare via Concept-Grounded Orthogonal Inference13 Feb 2026
- 2025Explainable ICD Coding via Entity Linking26 Mar 2025
Similar, not cited
Close in wording, no citation either way
- 2024DILA: Dictionary Label Attention for Mechanistic Interpretability in High-dimensional Multi-label Medical Coding Prediction
- 2026Training a Large Language Model for Medical Coding Using Privacy-Preserving Synthetic Clinical Data
- 2026Symphony for Medical Coding: A Next-Generation Agentic System for Scalable and Explainable Medical Coding
- 2026KREL: Automatic Medical Coding via Knowledge-Guided Reasoning over Clinical Evidence with LLMs
- 2026MedConcept: Unsupervised Concept Discovery for Interpretability in Medical VLMs
- 2025Multimodal Medical Code Tokenizer
- 2025Code Like Humans: A Multi-Agent Solution for Medical Coding
- 2026Can Post-Training Turn LLMs into Good Medical Coders? An Empirical Study of Generative ICD Coding