Introduction
Adverse Drug Reactions (ADRs) represent a significant challenge in healthcare, serving as a leading cause of hospitalization and mortality. While clinical trials identify common side effects, many ADRs only emerge during the "post-marketing" phase when drugs are used by the general population. Historically, detecting these signals relied on spontaneous reporting systems, which are plagued by underreporting and a lack of clinical context.
This paper introduces a novel framework that leverages large-scale healthcare claims data and Graph Neural Networks (GNNs) to predict ADRs. Unlike traditional "flat" machine learning models that treat medical codes as independent variables, this approach models the complex, interconnected relationships between drugs and diseases as a heterogeneous graph.
Methodology
The researchers developed a multi-stage pipeline to transform raw clinical records into a predictive graph-based model.
Node Representation
Each drug (ATC code) and disease (ICD-10 code) is represented by a dual embedding:
- Proximity-based Embeddings: A Skip-gram model learns representations based on the temporal proximity of medical codes within a patient's history, capturing co-occurrence patterns.
- Category-based Embeddings: Multi-hot vectors encode the hierarchical structure of medical taxonomies, ensuring the model understands the categorical relationships between different drug classes and disease types.
Graph Construction and Learning
The system builds a heterogeneous graph with multiple edge types:
- Homogeneous Edges: Connect drug-to-drug or disease-to-disease nodes based on the $l_2$ distance of their Skip-gram embeddings.
- Heterogeneous Edges: Connect drugs to diseases based on the conditional probability of a drug being prescribed following a specific diagnosis.
The model utilizes Graph Convolutional Networks (GCN) and Graph Attention Networks (GAT) to aggregate information from neighboring nodes, creating context-aware representations. A final bilinear layer then predicts the likelihood $\hat{y}$ of an ADR signal between a drug-disease pair.
Datasets and Experimental Setup
The model was trained and validated using two primary data sources:
- NHIS-NSC: A massive South Korean healthcare claims database containing 12 years of history for 1 million patients.
- SIDER (Side Effect Resource): A public database of known drug-side effect pairs used as the ground truth for training.
The resulting joint dataset for evaluation consisted of 607 drugs, 556 diseases, and 28,746 positive ADR pairs. The complexity of the underlying graph structure, including edge counts at different thresholds, is summarized below:
Key Results
The GCN-based model significantly outperformed baseline methods, achieving an AUROC of 0.795 and an AUPRC of 0.775. In comparison, Logistic Regression and standard Neural Networks achieved AUROCs of 0.631 and 0.739, respectively.
Beyond benchmark performance, the model demonstrated the ability to discover new ADR signals. Clinical experts confirmed several high-probability predictions that were previously missing from the SIDER database, such as the link between Dasatinib and Cardiac murmur (0.985 probability) and Alendronic acid and Tetany (0.978 probability). These findings suggest that GNNs can effectively supplement traditional pharmacovigilance by identifying latent signals in real-world clinical data.
Conclusion
By modeling the relational context of polypharmacy and disease sequences, this GNN framework provides a robust tool for post-marketing ADR surveillance. Future work will focus on integrating more granular clinical nuances, such as dosage and patient demographics, and applying the model to entirely unlabeled datasets to discover previously unknown medical risks.
Summary updated