Knowledge-graph-enhanced multi-scale modeling for drug-drug interaction prediction

Jing M. Chen, Qiang Deng, Peimeng Zhen, Jialu Hu, Yongtian Wang, Jiajie Peng, Zhuhong You, Xuequn Shang, Xu Zhang, Tao WangMolecular 2026

TL;DR

This paper introduces ALG-DDI, a novel framework that integrates drug information from three distinct scales – atomic structure, local interactions, and global knowledge graphs – to predict drug-drug interactions (DDIs). By employing a Transformer encoder for multi-scale feature fusion, ALG-DDI significantly outperforms existing methods, offering a more comprehensive approach to understanding complex drug relationships.

What Problem Does This Paper Address?

Predicting drug-drug interactions (DDIs) is critical for patient safety and effective pharmacotherapy. When multiple drugs are taken concurrently, they can interact in ways that alter their intended effects or lead to dangerous adverse reactions. These interactions are responsible for a significant percentage of drug-related hospitalizations, many of which are preventable. Traditional computational methods for DDI prediction have limitations: early approaches relied on handcrafted features, lacking generalization, while more recent deep learning methods often struggle to capture the full spectrum of drug relationships, from their intrinsic properties to their broader network effects within the biological system. This paper aims to bridge this gap by developing a model that can effectively integrate diverse sources of drug information at multiple scales.

Methods

The core innovation of ALG-DDI lies in its multi-scale feature extraction and fusion approach. The framework comprises three main components:

  1. Multi-scale Drug Feature Extraction:
    • Atomic-level Attributes (AI): Drug structures are represented as molecular graphs. An attribute masking approach, combined with graph neural networks (GNNs) and average pooling, is used to learn comprehensive molecular representations.
  2. Local Interactions (LI): Heterogeneous graphs are constructed from drug-side effect, drug-disease, and drug-protein associations. Relational GraphSAGE is employed to capture these local interactions.
  3. Global Semantics (GI): The PrimeKG knowledge graph, a large collection of biomedical resources, is used to extract global semantic information. ComplEx knowledge graph embeddings are utilized to learn these representations.
  4. Feature Fusion: A Transformer encoder with a multi-head self-attention mechanism is used to dynamically weight and integrate the AI, LI, and GI features. This allows the model to learn context-dependent relationships between different scales and generate a comprehensive drug embedding.
  5. Prediction Module: For each drug pair, their fused representations are concatenated and fed into a three-layer fully connected neural network to predict the probability of an interaction. The model is also extended to predict specific DDI event types.

Datasets

The study utilizes three DDI datasets for evaluation:

  • DS1: Derived from DrugBank 4.0 (2014 release).
  • DS2: Extracted from DrugBank 5.0 (2018 release), containing approximately six times more interactions than DS1.
  • DS3: Composed of DDI data from PrimeKG, with remaining PrimeKG data reserved for global knowledge extraction.

All datasets were filtered to include only FDA-approved drugs to prevent label leakage. The paper also mentions a DDI event dataset named "Multi-DS," derived from Ryu et al.'s work, which contains 82 distinct event types across 172,323 DDIs.

Key Insights and Ideas

  • The Power of Multi-Scale Integration: The most significant insight is that combining information from atomic structure, local biological context, and global knowledge graphs is crucial for accurate DDI prediction. No single scale is sufficient on its own.
  • Transformer's Role in Fusion: The Transformer encoder's self-attention mechanism is highly effective at dynamically weighting and combining these diverse features, allowing it to prioritize the most informative aspects for each drug pair.
  • Global Knowledge Graph's Impact: The study highlights the substantial contribution of global semantic information from knowledge graphs. Removing this scale leads to the most significant performance drop, underscoring its importance in capturing complex, high-order relationships.
  • DDI Event Prediction is More Challenging but Achievable: Extending the model to predict specific DDI event types, a more clinically relevant task, demonstrates its generalization capabilities and practical utility.

Key Results

  • Superior Performance: ALG-DDI consistently outperforms state-of-the-art methods across multiple benchmark datasets (DS1, DS2, DS3) and evaluation metrics (accuracy, precision, recall, F1-score, AUROC, AUPR). For instance, on DS2, it shows improvements of up to 24.45% in accuracy and 21.57% in recall compared to other methods.
  • Version Validation: In a version validation experiment, ALG-DDI demonstrated leading predictive capability, with all top 10 predicted DDIs being subsequently validated in newer datasets, outperforming baseline methods.
  • Fusion Strategy Effectiveness: The Transformer encoder-based fusion strategy achieved the best results, outperforming simpler methods like concatenation, Hadamard product, and averaging.
  • DDI Event Prediction: ALG-DDI also showed strong performance on the DDI event prediction task, achieving high AUROC and AUPR values.

Limitations and Future Work

  • Limitations: While ALG-DDI shows excellent performance, the paper acknowledges that simpler fusion strategies like concatenation can also yield good results, suggesting that the initial feature extraction might already capture significant information. The paper also notes that the performance can improve with larger datasets.
  • Future Work: The authors aim to further optimize the model and extend the multi-scale drug information fusion concept to other DDI-related tasks, expecting to achieve even better results. They also suggest that the model can be used for preliminary screening of potential DDIs before wet laboratory experiments.

Summary updated

Abstract

Drug-drug interaction (DDI) prediction is crucial for understanding combined medication effects and preventing adverse reactions. Traditional machine learning methods rely on handcrafted features and lack generalization, while existing deep learning approaches often fail to capture global and multi-scale drug relationships. To overcome these limitations, we propose ALG-DDI, a multi-scale feature fusion model that integrates three types of drug information: attribute (intrinsic drug structure), local correlations (with proteins and diseases), and global semantic information from the medical knowledge graph PrimeKG. We encode these using attribute masking, the idea of RGCN and GraphSAGE, and ComplEx, respectively. A transformer encoder with attention mechanism then fuses these multi-scale representations. The resulting drug pair vector is fed into a fully connected network for DDI prediction, which we also extend to DDI event prediction. Extensive evaluations on three datasets-including comparative experiments, cross-validation, retrospective analysis, and case studies-demonstrate that ALG-DDI outperforms existing state-of-the-art methods.
BibTeX
@inproceedings{chen2026knowledge,
  author = {Jing M. Chen and Qiang Deng and Peimeng Zhen and Jialu Hu and Yongtian Wang and Jiajie Peng and Zhuhong You and Xuequn Shang and Xu Zhang and Tao Wang},
  title = {{Knowledge-graph-enhanced multi-scale modeling for drug-drug interaction prediction}},
  booktitle = {Molecular},
  year = {2026},
  doi = {10.1016/j.omtn.2026.102855},
}
Figure