[Paper Review] Highrisk Prediction from Electronic Medical Records via Deep Attention Networks
This paper proposes MeHPAN, a deep attention network that predicts high-risk vascular disease onset in hypertension patients using only symbolic electronic medical records (ICD-10 and pharmacy codes). It employs bidirectional GRU (R-MeHPAN) and 1D convolutional (C-MeHPAN) architectures with multi-task learning and attention mechanisms, achieving superior AUC (0.851) and F1-score (0.746) compared to SVM and random forest, with C-MeHPAN offering 10× faster training.
Predicting highrisk vascular diseases is a significant issue in the medical domain. Most predicting methods predict the prognosis of patients from pathological and radiological measurements, which are expensive and require much time to be analyzed. Here we propose deep attention models that predict the onset of the high risky vascular disease from symbolic medical histories sequence of hypertension patients such as ICD-10 and pharmacy codes only, Medical History-based Prediction using Attention Network (MeHPAN). We demonstrate two types of attention models based on 1) bidirectional gated recurrent unit (R-MeHPAN) and 2) 1D convolutional multilayer model (C-MeHPAN). Two MeHPAN models are evaluated on approximately 50,000 hypertension patients with respect to precision, recall, f1-measure and area under the curve (AUC). Experimental results show that our MeHPAN methods outperform standard classification models. Comparing two MeHPANs, R-MeHPAN provides more better discriminative capability with respect to all metrics while C-MeHPAN presents much shorter training time with competitive accuracy.
Motivation & Objective
- To develop a deep learning model that predicts high-risk vascular disease onset using only symbolic medical history sequences from electronic medical records (EMRs), avoiding costly imaging and lab tests.
- To improve prediction performance by leveraging attention mechanisms to focus on critical diagnosis and medication sequences in longitudinal patient histories.
- To compare two architectures—R-MeHPAN (RNN-based) and C-MeHPAN (1D CNN-based)—in terms of predictive accuracy and training efficiency.
- To evaluate the model on real-world EMR data from 50,000 hypertension patients, focusing on imbalanced data scenarios common in clinical prediction.
Proposed method
- Proposes MeHPAN, a dual-branch attention network with separate modules for diagnosis and medication histories, using embedded sequences of ICD-10 codes and pharmacy codes.
- Employs bidirectional gated recurrent units (GRUs) in R-MeHPAN to model sequential dependencies in medical history with attention over time steps.
- Uses 1D convolutional layers in C-MeHPAN for faster, parallelizable processing of sequential data, with gated linear units (GLU) for non-linear transformation.
- Applies multi-task learning with two output heads: binary classification (high-risk vs. not) and multi-class classification (cardiovascular, cerebrovascular, or no disease).
- Implements three attention mechanisms in C-MeHPAN: sum over time steps, weighted sum with later-time emphasis, and last-time-step pooling to generate context vectors.
- Uses log-transformed duration sequences (DUR and MD_DUR) derived from visit and medication dates to encode temporal progression of disease.
Experimental results
Research questions
- RQ1Can a deep attention network trained solely on symbolic medical history (ICD-10 and pharmacy codes) outperform traditional machine learning models in predicting high-risk vascular disease onset?
- RQ2How do R-MeHPAN (GRU-based) and C-MeHPAN (1D CNN-based) architectures compare in predictive performance and training efficiency?
- RQ3What is the impact of different attention mechanism implementations (sum, weighted sum, last step) on model performance in the C-MeHPAN architecture?
- RQ4To what extent does multi-task learning improve generalization and error correction in high-risk vascular disease prediction from EMRs?
Key findings
- R-MeHPAN achieved the highest AUC (0.851) and F1-score (0.746) among all models, outperforming SVM and random forest across all metrics.
- C-MeHPAN achieved competitive performance with an AUC of 0.828 (weighted sum attention) and F1-score of 0.702, despite being 10× faster than R-MeHPAN.
- The weighted sum attention method in C-MeHPAN yielded the best performance across precision, recall, F1, and AUC, outperforming sum and last-time-step methods.
- SVM and random forest showed high precision but extremely low recall (0.022 and 0.437), indicating poor detection of high-risk cases in imbalanced data.
- R-MeHPAN required 65.5 minutes for training, while C-MeHPAN with the weighted sum attention method trained in 7.08 minutes, demonstrating a significant speed advantage.
- The use of multi-task learning enabled error feedback between binary and multi-class classification heads, improving overall model robustness and predictive accuracy.
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.