[Paper Review] Representation Learning of EHR Data via Graph-Based Medical Entity Embedding
This paper proposes ME2Vec, a graph-based hierarchical framework for learning low-dimensional embeddings of medical entities (services, doctors, patients) in EHR data. By leveraging co-occurrence frequencies for service importance and a duplication-and-annotation method for attributed multigraphs, ME2Vec outperforms baselines in disease diagnosis prediction, achieving 87.9% micro-F1 on patient classification with 80% training data.
Automatic representation learning of key entities in electronic health record (EHR) data is a critical step for healthcare informatics that turns heterogeneous medical records into structured and actionable information. Here we propose ME2Vec, an algorithmic framework for learning low-dimensional vectors of the most common entities in EHR: medical services, doctors, and patients. ME2Vec leverages diverse graph embedding techniques to cater for the unique characteristic of each medical entity. Using real-world clinical data, we demonstrate the efficacy of ME2Vec over competitive baselines on disease diagnosis prediction.
Motivation & Objective
- To address the challenge of heterogeneous, longitudinal, and temporally irregular EHR data in representation learning.
- To develop a unified framework that captures the relational and temporal structure of patient journeys across services, doctors, and patients.
- To enable interpretable and scalable embeddings by modeling 'what you do defines you' for doctors and patients.
- To improve patient similarity and downstream clinical prediction tasks through enhanced entity representation.
Proposed method
- Construct a service co-occurrence graph using a T-day sliding window to compute weighted adjacency matrices based on cross-patient co-occurrence frequencies.
- Apply biased random walks on the service graph and optimize embeddings via Word2Vec to preserve proximity and emphasize spatial isolation of rare, important services.
- Use Graph Attention Networks (GAT) to predict doctor specialties from their conducted services, initializing doctor embeddings as weighted averages of service embeddings.
- Introduce a duplication-and-annotation technique to convert an attributed multigraph (patients, doctors, services) into a simple graph without losing structural information.
- Train patient embeddings by aggregating information from both doctor and service relations using the transformed graph, enabling joint modeling of patient-physician and patient-service interactions.
- Apply node classification with logistic regression on learned embeddings to evaluate performance on disease diagnosis prediction.
Experimental results
Research questions
- RQ1Can a unified framework effectively learn embeddings for heterogeneous medical entities (services, doctors, patients) in EHR data while preserving temporal and relational structure?
- RQ2How does modeling service importance via co-occurrence frequency and spatial isolation improve downstream prediction tasks?
- RQ3To what extent does the duplication-and-annotation method preserve structural information in attributed multigraphs for scalable graph embedding?
- RQ4Does ME2Vec outperform existing baselines in patient diagnosis prediction when jointly modeling doctors and services?
- RQ5How robust are the embeddings to hyperparameter choices like context window size T?
Key findings
- ME2Vec achieved a micro-F1 score of 0.879 and macro-F1 of 0.676 on patient diagnosis prediction with 80% training data, outperforming all baselines.
- The service embedding strategy effectively isolated rare, high-impact services in the embedding space, as evidenced by their spatial dispersion in visualization.
- Doctor embeddings showed clear separation by specialty, with nephrology and oncology specialists well-separated from other specialties in t-SNE visualization.
- Baselines like node2vec and LINE performed poorly on the patient-doctor graph, indicating their limited ability to capture patient-doctor relationships.
- The performance of ME2Vec was robust to context window size T, with no significant drop in accuracy when T varied between 5 and 10 days.
- The duplication-and-annotation method successfully preserved multigraph structure, enabling efficient and scalable graph embedding on complex EHR graphs.
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.