Abstract
Predicting Drug-Drug Interactions (DDIs) is critical for patient safety, yet extracting these relations from medical literature remains a significant challenge. We present BERTKG-DDI, a novel framework that enhances DDI prediction by fusing contextual embeddings from BioBERT with structured knowledge from a biomedical Knowledge Graph (KG). By incorporating external biological relationships such as shared protein targets and disease associations, our model achieves a new state-of-the-art macro F1-score of 0.84 on the DDIExtraction 2013 benchmark, demonstrating the efficacy of combining textual and graph-based information.
Introduction
The co-administration of multiple medications can lead to adverse drug-drug interactions (DDIs), making their identification a cornerstone of clinical safety. While vast amounts of medical literature describe these interactions, automated extraction via Relation Classification is difficult. Standard language models often lack the external biological context—such as shared metabolic pathways—necessary to resolve complex mechanisms described in text. BERTKG-DDI addresses this by bridging the gap between textual context and structured biomedical knowledge.
Methods and Materials
The BERTKG-DDI architecture utilizes a dual-stream approach:
- Textual Stream: Employs BioBERT (pre-trained on PubMed and PMC) to process sentences containing drug mentions, extracting hidden state vectors for the drugs and the overall sentence context.
- Knowledge Graph (KG) Stream: Utilizes a curated "Bio-KG" comprising over 60,000 nodes and 243,000 edges. Various Knowledge Graph Embedding (KGE) techniques, including TransE, TransR, RESCAL, and DistMult, were evaluated to represent these relationships as dense vectors.
Drug mentions are mapped to DrugBank IDs to retrieve corresponding KG embeddings, which are then concatenated with BioBERT features for final classification into five categories: Mechanism, Effect, Advice, Interaction, or Other.
Results
The integration of external knowledge proved to be a significant performance multiplier. The BERTKG-DDI model achieved a macro F1-score of 0.84, outperforming the previous state-of-the-art (0.80) and the text-only BioBERT baseline (0.822).
Key findings include:
- Semantic Matching Superiority: Models like DistMult and RESCAL outperformed translation-based models (TransE), suggesting that capturing latent semantics is more effective for DDI prediction.
- Domain Specificity: Transitioning from general BERT to BioBERT provided a substantial baseline improvement, highlighting the necessity of domain-specific pre-training.
- Category-Specific Gains: Significant improvements were noted in identifying "Mechanism" (0.87 F1) and "Advice" (0.88 F1) relations.
Discussion and Conclusion
While BERTKG-DDI sets a new benchmark, it remains dependent on successful entity linking to DrugBank IDs. Future work may explore incorporating raw chemical structures or detailed drug descriptions to mitigate reliance on KG completeness. Nonetheless, the results confirm that "knowing" a drug's biological neighborhood significantly aids in resolving textual ambiguities, paving the way for more robust clinical decision support systems.
Summary updated