Cross-Global Attention Graph Kernel Network Prediction of Drug Prescription

Hao-Ren Yao, Der-Chen Chang, Ophir Frieder, Wendy Huang, I-Chia Liang, Chi-Feng HungarXiv 2020 · DOI

TL;DR

Researchers have developed the Cross-Global Attention Graph Kernel Network (CGA-GK), an end-to-end deep learning architecture that predicts the success or failure of chronic disease drug prescriptions. By representing patient histories as graphs and using a novel "cross-global" attention mechanism to match patterns across different patients, the model achieves state-of-the-art accuracy while remaining highly interpretable for clinicians.

What Problem Does This Paper Address?

Predicting how a patient will respond to a long-term drug regimen for chronic diseases like diabetes or hypertension is notoriously difficult. Electronic Health Records (EHRs) provide a "medical roadmap," but real-world data—especially insurance claim databases—is messy. It contains high noise, irregular patterns (like "patient shopping" or reimbursement-driven record splitting), and long-term dependencies where a medical event from years ago might dictate a treatment's success today.

Existing deep learning models often struggle with a trade-off: they are either highly accurate but "black boxes" that clinicians don't trust, or they are interpretable but fail to capture the complex, non-linear progression of chronic illness. Furthermore, many models overfit when faced with the extreme data imbalance common in medical datasets.

Methods

The authors propose a framework that treats drug prescription prediction as a binary graph classification problem.

  1. Graph Representation: A patient's EHR is transformed into a Directed Acyclic Graph (DAG). Nodes represent medical events (diagnoses, prescriptions), and edges represent the time elapsed between them. An example of a patient graph where nodes are medical events and edges represent time.

  2. Graph Embedding: The model uses Graph Convolutional Networks (GCNs) to learn dense vector representations of these nodes, capturing multi-hop neighborhood information.

  3. Cross-Global Attention Node Matching: This is the core innovation. Instead of comparing pairs or triplets of patient graphs (which is computationally expensive), the model learns a set of global node clusters. Each node in a patient's graph is assigned a "soft" membership to these clusters. Matching occurs when nodes from different patients map to the same global clusters. The matching process: nodes from different graphs are mapped to global clusters to find similarities without direct pairwise comparison.

  4. Kernel SVM Integration: The resulting graph-level embeddings are used to compute a kernel matrix based on cosine distance. This matrix is fed into a Support Vector Machine (SVM) objective. The entire pipeline—from GCN to SVM—is trained end-to-end. The full predictive framework, moving from raw EHR data to a trained Kernel SVM for success/failure prediction.

Figure 2: An example of patient graph
Figure 6: Predictive framework. Each node inG1,G2 will map to a cluster. Their cluster membership assignments generate their query, which is their representation in terms of belong- ing cluster. Such an assignment can be seen as a soft label of cluster membership identity. Similar query means similar cluster membership identity, inducing possible matching.
Figure 4: Predictive framework. We create patient graphs to represent all cases. Then, we perform prediction task as a bi- nary graph classification through a kernel SVM. The input kernel gram matrix is generated from Cross-Global Atten- tion Graph Kernel Network.

Datasets

The model was evaluated using the Taiwanese National Health Insurance Research Database (NHIRD), a massive real-world dataset containing 20 years of medical history for one million patients. The study focused on three prevalent chronic diseases:

  • Hypertension (235,695 patients)
  • Hyperlipidemia (123,380 patients)
  • Diabetes (131,997 patients)

Success and failure were defined based on clinical guidelines—for example, a treatment is a "failure" if the patient suffers a severe complication (like a heart attack) within a 5-year observation window following the start of a treatment plan.

Key Insights and Ideas

  • Pairwise-less Matching: By using global clusters to match nodes, the model avoids the $O(N^2)$ complexity of traditional graph matching, making it scalable to large batches of graphs.
  • Cosine vs. Euclidean: The authors found that cosine distance is superior for high-dimensional medical data. It is more resistant to noise and better at capturing micro-differences in disease progression compared to standard Euclidean distance.
  • Interpretability as a First-Class Citizen: The model provides three layers of interpretation:
  • Node Importance: Clinicians can see which specific diagnoses or drugs (nodes) the model focused on.
  • Case Comparison: The model can identify the "most similar" historical cases to explain a prediction.
  • Support Vectors: It identifies the most influential patient cases that define the boundary between treatment success and failure.

Key Results

The CGA-GK model consistently outperformed state-of-the-art baselines, including RNNs (Retain, Dipole), CNNs, and other graph-based methods (DGCNN, MGKF).

  • Accuracy & F1-Score: In the highly imbalanced Hyperlipidemia and Diabetes datasets, CGA-GK maintained significantly higher F1-scores (0.77 and 0.67 respectively) compared to deep learning models that often overfit to the majority class.
  • Noise Resistance: The model proved robust against the "biased" nature of insurance claim data, where traditional deep learning models often failed.
  • Clinical Utility: The approach is currently under clinical use and assessment, proving its practical viability beyond theoretical benchmarks.

Limitations and Future Work

While powerful, the authors note that the model's performance is still tied to the quality of the underlying graph structure. They suggest that future work could explore sub-Riemannian geometry to better model the manifolds of patient similarity. Additionally, while the model handles long-term dependencies well, the computational cost of very deep GCN stacks (to capture even longer histories) remains a challenge to balance with memory constraints.

Summary updated

BibTeX
@misc{yao2020cross,
  author = {Hao-Ren Yao and Der-Chen Chang and Ophir Frieder and Wendy Huang and I-Chia Liang and Chi-Feng Hung},
  title = {{Cross-Global Attention Graph Kernel Network Prediction of Drug Prescription}},
  year = {2020},
  eprint = {2008.01868},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2008.01868},
}
Figure