Skip to main content
QUICK REVIEW

[Paper Review] A Study into patient similarity through representation learning from medical records

Hoda Memarzadeh, Nasser Ghadiri|arXiv (Cornell University)|Apr 29, 2021
Machine Learning in HealthcareComputer Science54 references7 citations
TL;DR

This paper proposes UTTree and UTTree-H, novel patient representation models that integrate unstructured clinical notes and structured EMR data using a temporal tree structure enriched with UMLS-annotated entities. By applying relabeling strategies to capture past and current medical events, the method generates sequence-based embeddings that significantly improve patient similarity and mortality prediction, outperforming baselines in MSE, precision, and NDCG scores.

ABSTRACT

Patient similarity assessment, which identifies patients similar to a given patient, can help improve medical care. The assessment can be performed using Electronic Medical Records (EMRs). Patient similarity measurement requires converting heterogeneous EMRs into comparable formats to calculate their distance. While versatile document representation learning methods have been developed in recent years, it is still unclear how complex EMR data should be processed to create the most useful patient representations. This study presents a new data representation method for EMRs that takes the information in clinical narratives into account. To address the limitations of previous approaches in handling complex parts of EMR data, an unsupervised method is proposed for building a patient representation, which integrates unstructured data with structured data extracted from patients' EMRs. In order to model the extracted data, we employed a tree structure that captures the temporal relations of multiple medical events from EMR. We processed clinical notes to extract symptoms, signs, and diseases using different tools such as medspaCy, MetaMap, and scispaCy and mapped entities to the Unified Medical Language System (UMLS). After creating a tree data structure, we utilized two novel relabeling methods for the non-leaf nodes of the tree to capture two temporal aspects of the extracted events. By traversing the tree, we generated a sequence that could create an embedding vector for each patient. The comprehensive evaluation of the proposed method for patient similarity and mortality prediction tasks demonstrated that our proposed model leads to lower mean squared error (MSE), higher precision, and normalized discounted cumulative gain (NDCG) relative to baselines.

Motivation & Objective

  • To develop a unified patient representation model that effectively integrates unstructured clinical notes and structured EMR data.
  • To model temporal relationships among medical events—especially past and current conditions—using a tree-based data structure.
  • To enhance patient similarity assessment and mortality prediction by generating context-aware, low-dimensional embedding vectors from EMR sequences.
  • To evaluate the proposed method against existing baselines on real-world datasets, demonstrating improvements in key downstream metrics.

Proposed method

  • The method constructs a tree data structure from EMR events, with nodes representing medical entities (e.g., diseases, symptoms) extracted via NLP tools like medspaCy, MetaMap, and scispaCy.
  • Extracted entities are mapped to the Unified Medical Language System (UMLS) to ensure semantic consistency and standardization.
  • Two novel relabeling strategies are applied to non-leaf tree nodes to encode temporal aspects: co-occurrence and temporal ordering of medical events.
  • The tree is traversed to generate sequential representations that preserve temporal dependencies, which are then used as input to representation learning models such as PV-DM.
  • The enhanced UTTree-H variant explicitly incorporates past medical history by adjusting node labels based on historical disease presence.
  • Dimensionality reduction (PCA) and downstream classifiers (XGBoost, SVM, random forest) are applied to evaluate embedding quality on mortality prediction.

Experimental results

Research questions

  • RQ1How can unstructured and structured EMR data be effectively integrated into a single, coherent patient representation?
  • RQ2What is the impact of modeling temporal relationships between medical events on patient similarity and prediction performance?
  • RQ3Does incorporating past medical history into the representation improve downstream task accuracy compared to models that ignore historical context?
  • RQ4How do the proposed relabeling strategies on tree nodes affect the quality of generated embedding sequences?

Key findings

  • The UTTree-H model achieved lower mean squared error (MSE) in patient similarity tasks compared to all baseline methods, with statistical significance (p < 0.01).
  • The model demonstrated higher precision and normalized discounted cumulative gain (NDCG) in patient similarity ranking, indicating improved retrieval quality.
  • When more than eight biomedical concepts were extracted from the patient history, the UTTree-H model consistently outperformed other approaches in error rate reduction.
  • XGBoost classifiers trained on the proposed embeddings achieved the highest median accuracy across all datasets, with tighter interquartile ranges in box plots, indicating robust performance.
  • The Wilcoxon signed-rank test confirmed that the performance difference between UTTree and baselines was statistically significant (p < 0.01), except for one comparison marked with an asterisk.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.