Diagnosing Transformers: Illuminating Feature Spaces for Clinical Decision-Making
Not on the map. Why?
Abstract (arXiv)
Pre-trained transformers are often fine-tuned to aid clinical decision-making using limited clinical notes. Model interpretability is crucial, especially in high-stakes domains like medicine, to establish trust and ensure safety, which requires human engagement. We introduce SUFO, a systematic framework that enhances interpretability of fine-tuned transformer feature spaces. SUFO utilizes a range of analytic and visualization techniques, including Supervised probing, Unsupervised similarity analysis, Feature dynamics, and Outlier analysis to address key questions about model trust and interpretability. We conduct a case study investigating the impact of pre-training data where we focus on real-world pathology classification tasks, and validate our findings on MedNLI. We evaluate five 110M-sized pre-trained transformer models, categorized into general-domain (BERT, TNLR), mixed-domain (BioBERT, Clinical BioBERT), and domain-specific (PubMedBERT) groups. Our SUFO analyses reveal that: (1) while PubMedBERT, the domain-specific model, contains valuable information for fine-tuning, it can overfit to minority classes when class imbalances exist. In contrast, mixed-domain models exhibit greater resistance to overfitting, suggesting potential improvements in domain-specific model robustness; (2) in-domain pre-training accelerates feature disambiguation during fine-tuning; and (3) feature spaces undergo significant sparsification during this process, enabling clinicians to identify common outlier modes among fine-tuned models as demonstrated in this paper. These findings showcase the utility of SUFO in enhancing trust and safety when using transformers in medicine, and we believe SUFO can aid practitioners in evaluating fine-tuned language models for other applications in medicine and in more critical domains.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 30 of its 49 references that are in the map. First posted on arXiv 27 May 2023.
Builds on
30 of 49 references.
References · 30
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
- 2019BioBERT: a pre-trained biomedical language representation model for biomedical text miningcited by 1,947
- 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,565
- 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,475
- 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,043
- 2020Domain-Specific Language Model Pretraining for Biomedical Natural Language Processingcited by 1,009
- 2019Publicly Available Clinical BERT Embeddingscited by 1,002
- 2019Designing and Interpreting Probes with Control Taskscited by 640
- 2019What do you learn from context? Probing for sentence structure in contextualized word representationscited by 438
18 more
- 2019Linguistic Knowledge and Transferability of Contextual Representationscited by 383
- 2020Med-BERT: pre-trained contextualized embeddings on large-scale structured electronic health records for disease predictioncited by 373
- 2018Insights on representational similarity in neural networks with canonical correlationcited by 324
- 2018A Simple Method for Commonsense Reasoningcited by 223
- 2020UniLMv2: Pseudo-Masked Language Models for Unified Language Model Pre-Trainingcited by 204
- 2019To Tune or Not to Tune? Adapting Pretrained Representations to Diverse Taskscited by 167
- 2018Lessons from Natural Language Inference in the Clinical Domaincited by 151
- 2018Dissecting Contextual Word Embeddings: Architecture and Representationcited by 146
- 2019The Bottom-up Evolution of Representations in the Transformer: A Study with Machine Translation and Language Modeling Objectivescited by 139
- 2020What Happens To BERT Embeddings During Fine-tuning?cited by 113
- 2019How Does BERT Answer Questions? A Layer-Wise Analysis of Transformer Representationscited by 63
- 2021Fine-Tuning Large Neural Language Models for Biomedical Natural Language Processingcited by 57
- 2021Leveraging Pretrained Models for Automatic Summarization of Doctor-Patient Conversationscited by 42
- 2019Blackbox meets blackbox: Representational Similarity and Stability Analysis of Neural Language Models and Brainscited by 38
- 2019Linking artificial and human neural representations of languagecited by 37
- 2019Correlating neural and symbolic representations of languagecited by 33
- 2022Abstractive summarization of hospitalisation histories with transformer networkscited by 4
- 2022Towards Structuring Real-World Data at Scale: Deep Learning for Extracting Key Oncology Information from Clinical Text with Patient-Level Supervisioncited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026MedConcept: Unsupervised Concept Discovery for Interpretability in Medical VLMs
- 2025RAD: Towards Trustworthy Retrieval-Augmented Multi-modal Clinical Diagnosis
- 2025Medical Interpretability and Knowledge Maps of Large Language Models
- 2025Foundation Models in Biomedical Imaging: Turning Hype into Reality
- 2025Insights into a radiology-specialised multimodal large language model with sparse autoencoders
- 2026Training-Free Clinical Reasoning through Medical Ontologies and Cognitive Mapping: A Symbolic-Probabilistic Knowledge Graph Framework
- 2026A Monosemantic Attribution Framework for Stable Interpretability in Clinical Neuroscience Transformer-Based Language Models
- 2025Rethinking Explainable Disease Prediction: Synergizing Accuracy and Reliability via Reflective Cognitive Architecture