DILA: Dictionary Label Attention for Mechanistic Interpretability in High-dimensional Multi-label Medical Coding Prediction
John Wu, David Wu, Jimeng Sun
TL;DR
This work tackles interpretability in extreme multilabel medical coding by introducing DILA, a framework that disentangles dense PLM embeddings into sparse dictionary features and maps them to ICD codes via a sparse global matrix $\mathbf{A_{f_{icd}}}$. An automated interpretability pipeline using medical LLMs identifies and summarizes these dictionary concepts, enabling global mechanistic explanations while maintaining competitive predictive performance on the MIMIC-III dataset. Across extensive experiments, DILA yields thousands of human-interpretable features, enables precise code-level explanations through feature ablations, and highlights the tradeoffs between interpretability and accuracy in a scalable, auditable system. Overall, DILA advances trustworthy AI in healthcare by coupling intrinsic sparsity with automated concept summarization and global explanation capabilities.
Abstract
Predicting high-dimensional or extreme multilabels, such as in medical coding, requires both accuracy and interpretability. Existing works often rely on local interpretability methods, failing to provide comprehensive explanations of the overall mechanism behind each label prediction within a multilabel set. We propose a mechanistic interpretability module called DIctionary Label Attention (\method) that disentangles uninterpretable dense embeddings into a sparse embedding space, where each nonzero element (a dictionary feature) represents a globally learned medical concept. Through human evaluations, we show that our sparse embeddings are more human understandable than its dense counterparts by at least 50 percent. Our automated dictionary feature identification pipeline, leveraging large language models (LLMs), uncovers thousands of learned medical concepts by examining and summarizing the highest activating tokens for each dictionary feature. We represent the relationships between dictionary features and medical codes through a sparse interpretable matrix, enhancing the mechanistic and global understanding of the model's predictions while maintaining competitive performance and scalability without extensive human annotation.
