What Do You See in this Patient? Behavioral Testing of Clinical NLP Models
Not on the map. Why?
Abstract (arXiv)
Decision support systems based on clinical notes have the potential to improve patient care by pointing doctors towards overseen risks. Predicting a patient's outcome is an essential part of such systems, for which the use of deep neural networks has shown promising results. However, the patterns learned by these networks are mostly opaque and previous work revealed flaws regarding the reproduction of unintended biases. We thus introduce an extendable testing framework that evaluates the behavior of clinical outcome models regarding changes of the input. The framework helps to understand learned patterns and their influence on model decisions. In this work, we apply it to analyse the change in behavior with regard to the patient characteristics gender, age and ethnicity. Our evaluation of three current clinical NLP models demonstrates the concrete effects of these characteristics on the models' decisions. They show that model behavior varies drastically even when fine-tuned on the same data and that allegedly best-performing models have not always learned the most medically plausible patterns.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 23 of its 48 references that are in the map. First posted on arXiv 30 Nov 2021.
Builds on
23 of 48 references.
References · 23
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019BioBERT: a pre-trained biomedical language representation model for biomedical text miningcited by 1,935
- 2018Model Cards for Model Reportingcited by 1,068
- 2020Domain-Specific Language Model Pretraining for Biomedical Natural Language Processingcited by 996
- 2020Beyond Accuracy: Behavioral Testing of NLP models with CheckListcited by 979
- 2019ClinicalBERT: Modeling Clinical Notes and Predicting Hospital Readmissioncited by 487
- 2020Med-BERT: pre-trained contextualized embeddings on large-scale structured electronic health records for disease predictioncited by 368
- 2019Mitigating Gender Bias in Natural Language Processing: Literature Reviewcited by 287
- 2020HateCheck: Functional Tests for Hate Speech Detection Modelscited by 215
- 2019Do NLP Models Know Numbers? Probing Numeracy in Embeddingscited by 157
- 2020Hurtful Words: Quantifying Biases in Clinical Contextual Word Embeddingscited by 79
- 2018MiME: Multilevel Medical Embedding of Electronic Health Records for Predictive Healthcarecited by 72
11 more
- 2021Clinical Outcome Prediction from Admission Notes using Self-Supervised Knowledge Integrationcited by 43
- 2019Using Clinical Notes with Time Series Data for ICU Managementcited by 38
- 2018Learning Tasks for Multitask Learning: Heterogenous Patient Populations in the ICUcited by 21
- 2019Two-stage Federated Phenotyping and Patient Representation Learningcited by 19
- 2021Q-Pain: A Question Answering Dataset to Measure Social Bias in Pain Managementcited by 16
- 2018Deep EHR: Chronic Disease Prediction Using Medical Notescited by 15
- 2021BERTSurv: BERT-Based Survival Models for Predicting Outcomes of Trauma Patientscited by 15
- 2020Predicting Clinical Diagnosis from Patients Electronic Health Records Using BERT-based Neural Networkscited by 7
- 2019An Analysis of Attention over Clinical Notes for Predictive Taskscited by 4
- 2018Effective Feature Representation for Clinical Text Concept Extractioncited by 3
- 2017Combining LSTM and Latent Topic Modeling for Mortality Predictioncited by 2
Built on by
Citing papers per year: 2022: 3; 2023: 1; 2024: 0; 2025: 2.
6 papers.
- 2022This Patient Looks Like That Patient: Prototypical Networks for Interpretable Diagnosis Prediction from Clinical Textcited by 6
- 2022Assessing Group-level Gender Bias in Professional Evaluations: The Case of Medical Student End-of-Shift Feedbackcited by 2
- 2025DeVisE: Behavioral Testing of Medical Large Language Modelscited by 2
- 2023Towards General Error Diagnosis via Behavioral Testing in Machine Translationcited by 1
- 2022TestAug: A Framework for Augmenting Capability-based NLP Testscited by 0
- 2025AutoTestForge: A Multidimensional Automated Testing Framework for Natural Language Processing Modelscited by 0
- 2025DeVisE: Behavioral Testing of Medical Large Language Models18 Jun 2025
- 2025AutoTestForge: A Multidimensional Automated Testing Framework for Natural Language Processing Models7 Mar 2025
- 2023Towards General Error Diagnosis via Behavioral Testing in Machine Translation20 Oct 2023
- 2022This Patient Looks Like That Patient: Prototypical Networks for Interpretable Diagnosis Prediction from Clinical Text16 Oct 2022
- 2022TestAug: A Framework for Augmenting Capability-based NLP Tests14 Oct 2022
- 2022Assessing Group-level Gender Bias in Professional Evaluations: The Case of Medical Student End-of-Shift Feedback1 Jun 2022