Drug-Drug Interaction Extraction via Recurrent Neural Network with Multiple Attention Layers

Zibo Yi, Shasha Li, Jie Yu, Yusong Tan, Qingbo Wu, Hong Yuan, Ting Wang

Abstract

Drug-drug interaction (DDI) is vital information when physicians and pharmacists intend to co-administer two or more drugs. Thus, several DDI databases are constructed to avoid mistakenly combined use. In recent years, automatically extracting DDIs from biomedical text has drawn researchers' attention. However, the existing work utilize either complex feature engineering or NLP tools, both of which are insufficient for sentence comprehension. Inspired by the deep learning approaches in natural language processing, we propose a recurrent neural network model with multiple attention layers for DDI classification. We evaluate our model on 2013 SemEval DDIExtraction dataset. The experiments show that our model classifies most of the drug pairs into correct DDI categories, which outperforms the existing NLP or deep learning methods.

Introduction

The co-administration of multiple medications carries the risk of drug-drug interactions (DDIs), which can lead to adverse drug reactions or reduced therapeutic efficacy. While comprehensive databases like KEGG and SFINX exist, they rely heavily on manual curation, which is increasingly difficult to scale alongside the rapid growth of biomedical literature. Traditional automated extraction methods have relied on manual feature engineering or brittle NLP pipelines that suffer from error propagation. This research introduces an end-to-end deep learning approach designed to capture complex linguistic patterns and long-distance dependencies without the need for manual feature tuning.

Model Architecture

The proposed system utilizes a Bidirectional Gated Recurrent Unit (Bi-GRU) architecture enhanced by a hierarchical attention mechanism. The model processes input through several stages:

  1. Preprocessing and Drug Blinding: To ensure the model learns general interaction patterns rather than specific drug names, target drugs are replaced with generic placeholders (e.g., "drug1", "drug2").
  2. Embedding Layer: Input consists of concatenated word embeddings (GloVe) and position embeddings, which represent the relative distance of each word to the target drug entities.
  3. Bi-GRU Encoding: The bidirectional RNN reads sentences in both directions, capturing a comprehensive contextual representation of each word.
  4. Multiple Attention Layers: The model employs two levels of attention. Word-level attention identifies specific keywords (e.g., "potentiates", "antagonizes") critical for interaction detection. Sentence-level attention aggregates information across multiple instances of the same drug pair, allowing the model to leverage cumulative context from the entire dataset.
Architecture of the proposed RNN model with multiple attention layers.

Experimental Results

The model was evaluated on the SemEval-2013 DDIExtraction dataset. A key finding was the impact of different architectural components on overall performance. As shown in the ablation study, the combination of dynamic word embeddings (which are updated during training) and the dual-attention mechanism yielded the highest F1 scores.

Comparison of F1 scores across different model configurations over training steps.

The proposed model achieved a state-of-the-art F1 score of 0.7220, surpassing previous benchmarks set by CNNs and standard Bi-LSTMs.

System Method F1 Score
Liu et al. CNN + Pre-trained WE 0.6975
Sahu et al. Bi-LSTM + Attention 0.7148
Proposed Model RNN + Dynamic WE + 2-Layer Attention 0.7220

Discussion and Conclusion

While the model demonstrates superior performance in identifying "Mechanism" and "Effect" interactions, it faces challenges with class imbalance, particularly in the "False" category. t-SNE analysis also revealed semantic overlap between "Interaction" and "Effect" categories, suggesting that these labels are linguistically similar and difficult to distinguish. Future work will explore the use of Generative Adversarial Networks (GANs) to address data scarcity in minority classes and distant supervision to incorporate external knowledge bases.

Summary updated

BibTeX
@inproceedings{yi2017drug,
  author = {Zibo Yi and Shasha Li and Jie Yu and Yusong Tan and Qingbo Wu and Hong Yuan and Ting Wang},
  title = {{Drug-Drug Interaction Extraction via Recurrent Neural Network with Multiple Attention Layers}},
  booktitle = {ADMA},
  year = {2017},
  doi = {10.1007/978-3-319-69179-4\_39},
}
Figure