DDIPrompt: Drug-Drug Interaction Event Prediction based on Graph Prompt Learning

Yingying Wang, Yun Xiong, Xixi Wu, Xiangguo Sun, Jiawei Zhang, Guangyong Zheng

Abstract

Predicting drug-drug interaction (DDI) events is critical for patient safety, yet existing models struggle with extreme data imbalance and label scarcity for rare interaction types. We present DDIPrompt, a novel framework that utilizes a "pre-train, prompt" paradigm for DDI event prediction. By decoupling general structural learning from specific event classification through hierarchical pre-training and prototype-enhanced prompting, DDIPrompt achieves state-of-the-art performance. Notably, it significantly improves prediction accuracy for rare events, with gains of over 24% in F1 score on benchmark datasets, while maintaining high computational efficiency.

Introduction

When patients take multiple medications, the drugs can interact in ways that alter their efficacy or cause dangerous side effects. Predicting these Drug-Drug Interaction (DDI) events is a major goal for drug safety. However, researchers face two massive hurdles: extreme data imbalance and label scarcity. A few types of interactions are very common, while thousands of others are extremely rare. Standard machine learning models, including existing Graph Neural Networks (GNNs), tend to overfit to common cases and fail to generalize to the "long tail" of rare but potentially life-threatening interactions.

Methodology

DDIPrompt shifts away from traditional supervised learning toward a "pre-train, prompt" paradigm. The framework operates in two distinct phases:

Hierarchical Pre-training

Instead of training the model to recognize specific side effects immediately, the model first learns general drug knowledge through two pretext tasks:

  1. Intra-molecular Learning: The model learns to represent individual drug molecules by predicting their structural similarity (using Tanimoto coefficients).
  2. Inter-molecular Learning: The model performs binary link prediction on a DDI graph to learn if two drugs interact at all, regardless of the interaction type.

Prototype-Enhanced Prompting

Once the model has acquired general knowledge, it is frozen. To handle specific downstream DDI events, lightweight Class Prompts are introduced. These prompts act as "prototypes" for each interaction type, allowing the model to perform effective few-shot learning. This approach ensures that the model can make accurate predictions even when only a handful of examples are available for a rare interaction type.

The DDIPrompt framework consists of hierarchical pre-training (intra-molecular and inter-molecular learning) followed by prototype-enhanced prompt tuning for downstream event classification.

Experimental Evaluation

The researchers evaluated DDIPrompt on two gold-standard benchmarks:

  • Deng’s Dataset: 37,159 interactions across 567 drugs and 65 event types.
  • Ryu’s Dataset (DrugBank): 191,075 interactions between 1,689 drugs, encompassing 86 event types.

In both datasets, events were categorized into Common, Fewer, and Rare based on their frequency to specifically test the model's performance on the long tail.

Results and Discussion

DDIPrompt achieved state-of-the-art (SOTA) results across all categories, with the most significant gains observed in rare events. On Deng's dataset, DDIPrompt improved the F1 score for rare events by 24.69% compared to the next best method. For rare events in the Ryu dataset, recall improved by 43.47%.

Performance comparison of DDIPrompt against ablation variants across different event frequencies on Deng's and Ryu's datasets.

Key insights from the evaluation include:

  • Decoupling is Key: Separating feature extraction from event classification avoids the bias inherent in imbalanced datasets. The "heavy lifting" of feature extraction isn't skewed by label frequency.
  • Efficiency: During prompt tuning, DDIPrompt requires significantly fewer parameters and less training time than heavy-duty baselines, reducing training time by approximately 47% compared to models like MUFFIN.
  • Structural Proximity: Utilizing a dual-view Graph Attention Network that considers both individual drugs and their structural neighbors provides a richer feature set than isolated molecular analysis.

Conclusion

DDIPrompt addresses the critical challenge of rare event prediction in drug-drug interactions. By leveraging graph prompt learning, it provides a robust and efficient solution for the long-tail distribution of DDI data. Future work may explore the integration of dynamic interaction data and more nuanced chemical similarity metrics to further enhance predictive accuracy.

Summary updated

BibTeX
@inproceedings{wang2024ddiprompt,
  author = {Yingying Wang and Yun Xiong and Xixi Wu and Xiangguo Sun and Jiawei Zhang and Guangyong Zheng},
  title = {{DDIPrompt: Drug-Drug Interaction Event Prediction based on Graph Prompt Learning}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2024},
  doi = {10.1145/3627673.3679645},
}
Figure