[Paper Review] This Patient Looks Like That Patient: Prototypical Networks for Interpretable Diagnosis Prediction from Clinical Text
ProtoPatient is a novel deep learning model that uses prototypical networks and label-wise attention to predict clinical diagnoses from admission notes with high accuracy and interpretability. By identifying text segments similar to prototypical patients, it provides clinicians with intuitive, justifiable predictions—outperforming baselines, especially on rare diagnoses, while enabling modifiable, transparent decision support.
The use of deep neural models for diagnosis prediction from clinical text has shown promising results. However, in clinical practice such models must not only be accurate, but provide doctors with interpretable and helpful results. We introduce ProtoPatient, a novel method based on prototypical networks and label-wise attention with both of these abilities. ProtoPatient makes predictions based on parts of the text that are similar to prototypical patients - providing justifications that doctors understand. We evaluate the model on two publicly available clinical datasets and show that it outperforms existing baselines. Quantitative and qualitative evaluations with medical doctors further demonstrate that the model provides valuable explanations for clinical decision support.
Motivation & Objective
- To address the clinical need for interpretable, trustworthy diagnosis prediction models that support decision-making beyond black-box performance.
- To mimic how physicians compare new patients to past cases by learning prototypical patient representations from clinical text.
- To improve prediction performance, particularly for rare diagnoses, while ensuring explanations are faithful and clinically meaningful.
- To develop a modular system where clinicians can inspect, validate, or update prototypical patients post-training.
- To release code for reproducibility and facilitate adoption in clinical AI research.
Proposed method
- The model uses contextualized embeddings (e.g., BERT) to encode clinical admission notes into dense representations.
- For each diagnosis, it learns a prototypical vector representing the typical features of patients with that diagnosis.
- Label-wise attention identifies the most relevant text spans for each diagnosis by measuring attention to the prototypical vector.
- Prediction is made by computing the cosine similarity between the patient’s representation and each diagnosis’s prototypical vector.
- The closest training example to each prototypical vector is selected as the prototypical patient, providing a real-world reference for clinicians.
- The model is trained end-to-end with cross-entropy loss, optimizing for multi-label diagnosis prediction on clinical notes.
Experimental results
Research questions
- RQ1Can a prototypical network approach improve diagnosis prediction performance on clinical text while maintaining interpretability?
- RQ2How do the model’s explanations compare in faithfulness and clinical usefulness to post-hoc explanation methods?
- RQ3To what extent does the model improve performance on rare diagnoses compared to existing baselines?
- RQ4Can clinicians find the highlighted prototypical patients and relevant text segments helpful during decision-making?
- RQ5How does label-wise attention enhance interpretability in multi-label, high-vocabulary diagnosis prediction?
Key findings
- ProtoPatient outperforms multiple state-of-the-art baselines on two public clinical datasets, with significant gains in F1-score, especially for rare diagnoses.
- Quantitative evaluation shows the model’s attention-based explanations are more faithful to its internal decision process than post-hoc explanation methods.
- A manual evaluation by medical doctors confirmed that the highlighted prototypical patients and relevant text segments were clinically helpful and understandable.
- The model achieves improved performance on diagnoses with fewer training examples, indicating robustness to class imbalance.
- The modularity of the prototype vectors allows clinicians to update or validate prototypes after training, enhancing trust and adaptability.
- The code and experimental setup are publicly released, supporting reproducibility and future research.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.