Drug drug interaction extraction from the literature using a recursive neural network

Sangrak Lim, Kyubum Lee, Jaewoo KangPLoS 2018

Abstract

Detecting drug-drug interactions (DDI) is critical for preventing adverse effects resulting from drug combinations. As the volume of biomedical literature grows, manual extraction of DDI information has become an increasingly laborious task. This paper presents a Recursive Neural Network (Tree-LSTM) model designed to automate and improve the performance of DDI extraction. By utilizing position features, subtree containment features, and an ensemble method, the proposed model achieves state-of-the-art results. On the DDIExtraction Challenge'13 test data, the model improved DDI detection and type classification by 4.4% and 2.8%, respectively. Further validation on the PK DDI corpus showed improvements of 2.3% and 6.7% on in vivo and in vitro data, demonstrating the model's robust capability to extract DDIs across diverse datasets.

Introduction

In the biomedical domain, the rapid publication of new research makes it difficult for healthcare providers and researchers to stay updated on potential drug-drug interactions. When two or more drugs are taken together, they can interact in ways that amplify, weaken, or create harmful side effects—information vital for patient safety.

While curated databases like DrugBank exist, they rely heavily on human experts to manually review literature, a process that is slow and expensive. Previous automated attempts using text mining often relied on "feature engineering," where experts manually defined linguistic rules for Support Vector Machines (SVMs). This paper addresses these limitations by introducing a deep learning approach that understands the complex, nested structure of natural language to identify DDIs more accurately and with less manual intervention.

Methods

The researchers moved away from standard sequential models, such as traditional LSTMs that process text linearly, in favor of a Recursive Neural Network utilizing a Tree-LSTM architecture. This approach recognizes that language is hierarchical rather than just a sequence of words.

The DDI extraction pipeline, illustrating the flow from the DDI'13 corpus through preprocessing and parsing to feature generation.

Key technical components of the methodology include:

  • Constituency Parsing: The model first converts a sentence into a parse tree, representing its grammatical hierarchy.
  • Tree-LSTM Architecture: Unlike standard LSTMs, the Tree-LSTM cell receives hidden states from multiple "child" nodes in the parse tree, allowing it to aggregate information based on syntactic relationships.
  • Specialized Features:
    • Position Embedding: A vector representing the relative distance of each word from the two target drugs being analyzed.
  • Subtree Containment: A binary feature that indicates whether a specific branch of the tree contains one of the target drugs, helping the network focus on the most relevant context.
  • Two-Stage Classification: The system first detects if an interaction exists (binary detection) and then classifies the specific type (Mechanism, Effect, Advice, or Int).
  • Ensemble Method: To ensure stability, the authors trained 10 identical models with different random initializations and averaged their outputs.

Datasets and Evaluation

The model was evaluated on two primary benchmarks:

  1. DDI’13 Corpus: The industry-standard gold dataset for DDI extraction, containing thousands of annotated sentences from Medline and DrugBank.
  2. PK DDI Corpus: A specialized dataset focused on Pharmacokinetics, split into in vivo (inside a living organism) and in vitro (laboratory setting) interactions.

Key Results

The proposed model set new benchmarks across both datasets:

  • DDI’13 Dataset: The ensemble model achieved an F1-score of 83.8% for DDI detection and 72.7% for type classification.
  • PK DDI Dataset: The model showed significant gains on specialized data, performing 6.7% better on in vitro data compared to existing models.
  • Ablation Studies: Removing the position and subtree features caused a sharp drop in performance, proving that the model’s success stems from the smart integration of linguistic structure rather than just the depth of the neural network.

Discussion and Conclusion

The primary insight of this research is that structural context is essential for understanding complex biomedical sentences. By following the parse tree, the model can "understand" relationships between words that are syntactically related but physically distant in a sentence. The subtree containment feature acted as a powerful signal, directing the neural network's attention to the branches where the drugs are located.

Despite these gains, the authors identified limitations, such as struggles with rare vocabulary (e.g., "cross-resistance") and extremely long sentences where the parser might fail to connect distant dots. Future work may involve incorporating attention mechanisms into the recursive structure to further improve the model's ability to locate critical information in complex linguistic environments.

Summary updated

BibTeX
@inproceedings{lim2018drug,
  author = {Sangrak Lim and Kyubum Lee and Jaewoo Kang},
  title = {{Drug drug interaction extraction from the literature using a recursive neural network}},
  booktitle = {PLoS},
  year = {2018},
  doi = {10.1371/journal.pone.0190926},
}
Figure