Literature DB >> 33098410

Using drug descriptions and molecular structures for drug-drug interaction extraction from literature.

Masaki Asada1, Makoto Miwa1, Yutaka Sasaki1.   

Abstract

MOTIVATION: Neural methods to extract drug-drug interactions (DDIs) from literature require a large number of annotations. In this study, we propose a novel method to effectively utilize external drug database information as well as information from large-scale plain text for DDI extraction. Specifically, we focus on drug description and molecular structure information as the drug database information.
RESULTS: We evaluated our approach on the DDIExtraction 2013 shared task dataset. We obtained the following results. First, large-scale raw text information can greatly improve the performance of extracting DDIs when combined with the existing model and it shows the state-of-the-art performance. Second, each of drug description and molecular structure information is helpful to further improve the DDI performance for some specific DDI types. Finally, the simultaneous use of the drug description and molecular structure information can significantly improve the performance on all the DDI types. We showed that the plain text, the drug description information and molecular structure information are complementary and their effective combination is essential for the improvement.
AVAILABILITY AND IMPLEMENTATION: Our code is available at https://github.com/tticoin/DESC_MOL-DDIE.
© The Author(s) 2020. Published by Oxford University Press.

Entities:  

Year:  2021        PMID: 33098410      PMCID: PMC8289381          DOI: 10.1093/bioinformatics/btaa907

Source DB:  PubMed          Journal:  Bioinformatics        ISSN: 1367-4803            Impact factor:   6.937


1 Introduction

When two or more drugs are administered to a patient at the same time, the effects of the drugs may be enhanced or weakened, which may also cause side effects. These kinds of interactions are called drug–drug interactions (DDIs). DDIs are reported in biomedical articles on a daily basis. Several drug databases, such as DrugBank (Wishart ), Therapeutic Target DB (Wang ) and PharmGKB (Whirl-Carrillo ), have been provided to integrate drug information including DDI information for researchers and professionals; however, not all interactions are registered in the databases, and valuable outcomes are still buried in biomedical articles. Therefore, automatic DDI extraction from biomedical literature is demanded. Deep neural network-based DDI extraction methods have recently drawn a considerable attention because of their high performance. The methods require a large amount of text that is annotated by biomedical experts. Since the annotation efforts are costly and time-consuming, it is unrealistic to prepare a sufficient amount of annotated data. In addition, it is difficult to learn how to extract DDIs from text only with the limited amount of annotated text because deep understanding of DDI interaction descriptions often requires domain knowledge on drugs. Various drug information, such as detailed descriptions and molecular structure information of drugs, are registered in drug databases. Furthermore, models pre-trained on large-scale raw text show significant improvements in various natural language processing tasks (Devlin ). Effective use of such external information is necessary to reduce the reliance on annotated text. In this study, we propose a method to utilize such external drug information in drug database DrugBank as well as large-scale raw text information for the extraction of DDIs from text. We focus on DrugBank because DDIExtraction 2013 shared task dataset is created based on the DrugBank database. We leave the incorporation of other databases for our future work. Specifically, we utilize the description and molecular structure information of drugs in the database. We also incorporate the information from large-scale raw texts by using a Bidirectional Encoder Representations from Transformers (BERT) model (Devlin ) pre-trained on large-scale raw text. We illustrate the overview of the proposed method in Figure 1. For our baseline model, we employ the convolutional neural network (CNN)-based DDI extraction model (Asada ) that receives an input sentence with a target drug pair and classifies the pair into a specific DDI type. We enrich the input sentence using SciBERT (Beltagy ), which is a BERT model trained on large-scale biomedical and computer science text. We obtain the drug description representation of the target drugs using SciBERT and the molecular structure representation of the target drugs using molecular graph neural network (GNN) model proposed by Tsubaki . We combine these drug description and molecular structure representation with the enriched input sentence representation and classify the target drug pair into a specific DDI type.
Fig. 1.

Overview of our method. (A) Illustrates how to encode input sentences, drug descriptions and drug molecular structures. (B) and (C) show the prediction layer when the drug description representation and the drug molecular structure representation are used

Overview of our method. (A) Illustrates how to encode input sentences, drug descriptions and drug molecular structures. (B) and (C) show the prediction layer when the drug description representation and the drug molecular structure representation are used We evaluated our method on the DDIExtraction 2013 shared task dataset (Segura-Bedmar ). Experimental results show that SciBERT boosts the performance of the baseline model. As a result, the performance is already strong enough and better than the previously reported performance. We show the drug database information is complementary to the large-scale pre-trained information, and the simultaneous use of drug description and drug molecular structure information can enhance the performance of DDI extraction from texts with SciBERT. This article is a substantial extension of our work in ACL 2018 (Asada ) and we have following extensions: We replaced the token representation from word2vec to contextualized vectors obtained by SciBERT. As a result, we remarkably improved the performance of the baseline with the state-of-the-art performance. We employed the neural molecular GNN (Tsubaki ) that considers relatively large fragments of atoms and better represents molecular structures. We used drug descriptions registered in the drug database and we show drug description information is useful for extracting DDIs from corpus for some DDI types. We found the large-scale pre-training information, drug description and drug molecular information are complementary and their effective combination can largely improve the DDI extraction performance.

2 Related work

Various neural DDI extraction methods have been recently proposed using CNNs and recurrent neural networks since Liu tackled the DDI extraction using the neural network-based method and outperformed various feature-based methods. Especially in recent years, contextualized embeddings-based methods have been drawn a great attention (Peng ). Contextualized embeddings are pre-trained by a deep transformers-based method (Peng ) on large-scale text corpora. SciBERT is a model of the unsupervised pre-training method BERT (Devlin ), and it is pre-trained on a large multi-domain scientific corpus of Semantic Scholar (Ammar ). SciBERT achieved the state-of-the-art performance on several tasks in the biomedical domain, even compared with the bio-specific BioBERT (Peng ) model. Several GNNs have been proposed for quantum chemistry, such as Duvenaud . In predicting drug properties, GNNs convert the molecular graph of a drug into a fixed-sized vector by aggregating the representation of atom nodes in the drug. Atoms in the drug are represented as nodes and bonds as edges. Tsubaki proposed GNNs for molecular graphs, which takes subgraphs of the drug molecular graph as input, instead of single atoms. No GNN-based methods have been applied to the extraction of DDIs except for our previous work (Asada ).

3 DDI extraction

In this study, we propose a novel method to utilize drug database information for DDI extraction from text. We obtain the representation of input sentences by pre-trained contextualized embeddings, i.e. BERT, and CNNs. We link the mentions of target drugs to the drug entries in a drug database and acquire the description and molecular structure information of these drugs. We also represent the drug descriptions by BERT and CNNs. We represent drug molecular structure by GNNs. In this section, we first briefly overview the task setting of DDI extraction from texts. We then introduce the representations of input sentences, drug descriptions and drug molecular structures. We finally explain how to combine these representations to predict DDIs and train the model.

3.1 DDI extraction from text

DDI extraction is a task to identify drug pairs in an input sentence in which the interaction of the pairs is described and to assign the right types of interactions to the pairs. The task of extracting DDIs consists of two parts: named entity recognition and relation extraction (RE). In this study, we focus on the RE part, assuming drug entities are given, following existing methods (Liu ). We treat the extraction of DDIs from text as a multi-class classification problem, where a part of target drug mentions and the remaining drug mentions are specified in the input sentence.

3.2 Input sentence representation

We follow the previous study (Liu ) to preprocess the input sentences. When three or more drug mentions appear in an input sentence, we duplicate the sentence for each drug mention pair. Specifically, if an input sentence contains n drug mentions, input sentences with different drug mention pairs are prepared. We preprocess each input sentence to specify the target drug mention pair and other drugs. In detail, we replace the target drug pair with DRUG1 and DRUG2 in the sentence order and replace other drugs with DRUGOTHER. We show the example of the preprocessing on the sentence Exposure to oral S-ketamine is unaffected by itraconazole but greatly increased by ticlopidine with different target drug pairs in Table 1.
Table 1.

An example of preprocessing

Mention1Mention2Preprocessed input sentence
S-ketamine Itraconazole Exposure to oralDRUG1is unaffected byDRUG2but greatly increased by DRUGOTHER.
S-ketamine Ticlopidine Exposure to oralDRUG1is unaffected by DRUGOTHER but greatly increased byDRUG2.
Itraconazole Ticlopidine Exposure to oral DRUGOTHER is unaffected byDRUG1but greatly increased byDRUG2.

Note: The input sentence contains three target drug pairs.

An example of preprocessing Note: The input sentence contains three target drug pairs. We convert a preprocessed input sentence into a real-valued fixed-size vector by BERT and CNN-based model (Devlin ; Zeng ) and we show the model in the left part of Figure 1A. Given an input sentence with drug mentions m1 and m2, we first split the sentence into wordpieces (a.k.a., subwords) by the WordPiece algorithm (Kudo and Richardson, 2018). We then convert each wordpiece w into a real-valued pre-trained contextualized embedding by the BERT model (light blue vectors in Fig. 1A). We also prepare d-dimensional position embeddings and for each wordpiece, which correspond to the relative positions from the first and second target mentions, respectively (green vectors in Fig. 1A). We concatenate the wordpiece embedding and the position embeddings and as in the following Equation (1): where [;] denotes concatenation. We use the resulting embeddings to prepare the input to the convolution layer. We first introduce that is the concatenation of k input embeddings (we can employ multiple windows instead of a single window with the size k, but we saw no significant difference in the performance in our preliminary experiment) around w: We next apply convolution to the embeddings as follows: where is an element-wise product, bsent is a bias term and is a GELU (Hendrycks and Gimpel, 2016) function (we chose the GELU activation function from ReLU, eLU, SeLU and GELU based on the results in our preliminary experiment). We define a weight tensor for convolution as . We represent the j-th column of Wsent as . k is a window size. We depict the tensor Wsent as a red box in the left part of Figure 1A. We then employ max-pooling to convert the output of each filter in the convolution layer into a fixed-size vector as follows:

3.3 Drug description representation

Similarly to the input sentences, the description sentences of a drug mention are converted to the real-valued fixed-size vector by BERT and CNN. We directly use the wordpiece embeddings by BERT without word position embeddings to prepare the input to the convolution layer. We define a convolution weight tensor and bias bdesc for description. Convolution and max-pooling are employed in the same way as the processing of the input sentences and we obtain the description representations and of drug mentions m1 and m2, respectively.

3.4 Molecular structure representation

We represent the molecular graph structures of drugs using GNNs. GNNs convert a drug molecule graph G into a fixed-size vector h. We represent atoms as nodes and bonds as edges in the graph. We employ the neural molecular GNN method proposed by Tsubaki . The molecular GNN method uses relatively large fragments referred to as r-radius subgraphs or molecular fingerprints to represent atoms with their contexts in the graph. The molecular GNN adopts fingerprint vectors as atom vectors, initializes the vectors randomly and updates them considering the graph structure of a molecule. We define the vector of the i-th atom in a drug molecule as and the set of its neighboring atoms as N. The vector is updated in the -th step as follows: where denotes a ReLU function. The drug molecular vector is obtained by summing up all the atom vectors and then the resulting vectors are fed into a linear layer. where M is the number of fingerprints. Figure 2 shows how the molecular GNN model extracts fingerprints including β-lactam () from penicillin drug (r = 2) and update fingerprint vectors.
Fig. 2.

Illustration of molecular fingerprints. This figure shows the extraction of several fingerprint subgraphs from a molecular structure when radius is 2

Illustration of molecular fingerprints. This figure shows the extraction of several fingerprint subgraphs from a molecular structure when radius is 2 We obtain the molecular structure representations and of drug mentions m1 and m2, respectively.

3.5 DDI extraction using database information

When we use the drug description information for DDI extraction, we concatenate the input sentence representation and two description representations as in Equation (7): Similarly, two molecular structure representations are concatenated with the input sentence representation as in Equation (8): We use the resulting vector as the input to the prediction layer. We convert into prediction scores using a weight matrix : where and o is the number of DDI types. We convert into the probability of possible interactions by a softmax function: We illustrates the DDI extraction using drug description information and drug molecular structure information in Figure 1B and C, respectively.

3.6 Training

The loss function L is defined as in Equation (11) using in Equation (10) when the gold type distribution is given. is a one-hot vector where the probability of the gold label is 1 and the other probabilities are 0.

3.7 Ensemble

We employ an ensemble technique to combine the prediction from different models. Specifically, we simply sum up the prediction scores from different models for the ensemble after each of the models is trained separately. For instance, when we combine the prediction of the model with the description information and that with the molecular structure information, we sum up the prediction scores in Equation (9) as follows:

4 Experimental settings

In this section, we explain the DDI extraction task settings, drug database preprocessing, drug mention linking and hyper-parameter settings.

4.1 DDI extraction task settings

We followed the DDIExtraction-2013 shared task (SemEval-2013 Task 9.2) (Segura-Bedmar ). This dataset is composed of documents annotated with drug mentions and their interactions. The dataset consists of two parts: MEDLINE and DrugBank. MEDLINE consists of abstracts in MEDLINE/PubMed articles, while DrugBank consists of the texts of drug interactions in the FDA label reference of DrugBank. The task defines the following four interaction labels. Mechanism: this type is assigned when a pharmacokinetic mechanism is described in an input sentence. Effect: this type is assigned when the effect of the DDI is described. Advice: this is assigned when a recommendation or advice regarding the concomitant use of two drugs is described. Int (Interaction): this type is assigned when the sentence simply states that an interaction occurs and does not provide any detailed information about the interaction. A more detailed DDI type classification is directed to the annotation guidelines (https://www.cs.york.ac.uk/semeval-2013/task9/data/uploads/annotation_guidelines_ddi_corpus.pdf). The statistics of the dataset with the official data split is shown in Table 2. Approximately 77% of the DDI corpus documents were randomly selected for the training dataset and rest were used for the test dataset by the official task organizers. This shows that the pairs with no interaction (negative pairs) are much more than the pairs with interactions (positive pairs).
Table 2.

Statistics of SemEval-2013 dataset

Train
Test
DrugBankMEDLINEDrugBankMEDLINE
# documents57214215833
# sentences56751301973326
# drug pairs26 00517875265451
# positive pairs378923288495
# negative pairs22 21615554381356
Mechanism12576227824
Effect153515229862
Advice81882147
Int.17910942
Statistics of SemEval-2013 dataset We evaluated the performance with precision (P), recall (R) and F-score (F) on each interaction type as well as micro-averaged precision, recall and F-score on all the interaction types. While a macro-averaged metric is calculated by first calculating the metric for each type and then taking the average, a micro-averaged metric is calculated by directly calculating the metric for all the types.

4.2 DrugBank preprocessing

DrugBank is a freely available drug database containing more than 10 000 drugs. Each drug is given sentences describing its characteristics and efficacy. We show the first sentence of the drug description of Salbutamo as an example: Salbutamol is a short-acting, selective beta2-adrenergic receptor agonist used in the treatment of asthma and COPD. DrugBank also contains drug molecular structure information. Structure information is registered in SMILES string encoding. To obtain the graph of a drug molecule, we took as input the SMILES string encoding of the molecule from DrugBank and then converted it into the graph structure using RDKit (Landrum, 2020). We extracted fingerprints from the graph using preprocessing scripts provided by Tsubaki .

4.3 Drug mention linking

We linked mentions in the corpus to DrugBank entries by relaxed string matching. In particular, we lowercased each mention and the following items in the DrugBank entries, and we chose the entry that includes an item showing the most overlap with the mention. Name: Headword of the drug entry Brand: Brand names from different manufactures Product: The final commercial preparation of the drug Synonym: Synonyms of the drug ATC codes: Codes for hierarchical drug classification. For the ATC code, the same code can be assigned to multiple drugs, so we use only ATC codes that are assigned to single drugs for mention linking. Also, for synonyms, we linked mentions and synonyms by exact string matching instead of relaxed string matching to avoid the matching with very short strings (e.g. abbreviations). With this linking, 90.50% and 91.10% of drug mentions in SemEval-2013 train and test dataset matched the DrugBank entries. Figure 3 shows how the linking is performed. The input sentence contains two mentions ‘norgestrel’ and ‘norethindrone’. We performed string matching to link these mentions to DrugBank entries. As a result, the mention ‘noregestrel’ matched the Name item and the mention ‘norethindrone’ matched the Product item.
Fig. 3.

Linking between mentions and DrugBank entry

Linking between mentions and DrugBank entry

4.4 Training settings

We followed the training settings for the fine-tuning of BERT on the GLUE tasks (Devlin ) except for the following two points. First, we employed the AdamW optimizer (Loshchilov and Hutter, 2019) instead of Adam optimizer. Second, we employed mixed-precision training (Le Gallo ) for the memory efficiency. We applied dropout to the input of the convolution layer for regularization. Word position embeddings are initialized with random values drawn from a uniform distribution between and . We set the description and molecular structure vectors of unmatched entities to zero vectors. Tables 3 and 4 show hyper-parameters for CNNs and GNNs. We used the same hyper-parameters as the GLUE tasks in Devlin for the BERT layer. In the DDIExtraction 2013 shared task, the official development dataset is not provided; thus we prepared a development dataset from the official training dataset to choose the other hyper-parameters. In order to train the model on the same setting as other existing models (Asada ; Liu ; Peng ), the development dataset is included in the entire training dataset for training the model. We used the entire training dataset for training the model to evaluate the performance on the test set. For GNNs, we show the results with different radii 0, 1 and 2 for molecular fingerprints. Note that, GNNs with a radius of 0 means no molecular fingerprints, which assigns vectors to atoms.
Table 3.

Hyper-parameters for CNNs

ParameterValue
Word embedding size dw768
Initial learning rate5e-5
Number of fine-tuning epochs3
L2 weight decay0.01
Dropout rate0.1
Mini-batch size32
Word position embedding size dp10
Convolution window size k5
Convolution filter size dc768
Convolution window size for description3
Convolution filter size for description20
Table 4.

Hyper-parameters for GNNs

ParameterValue
Molecular embedding size dg50
Number of hidden layer L5
Radius1
Hyper-parameters for CNNs Hyper-parameters for GNNs

5 Results

Table 5 shows the performance of DDI extraction models including the proposed models with different settings and the state-of-the-art models. We can see that the baseline text-only model (SciBERT CNN) using SciBERT is powerful. SciBERT improved the performance of the model without SciBERT (word2vec CNN) by 11.04% points in the micro F-score. With this improvement, the model with SciBERT has achieved the state-of-the-art performance when we compare it with the state-of-the-art models in the top rows of the table. When we omitted the CNNs from the baseline model (SciBERT Linear), we used the first special token [CLS] as the aggregated representation of the sentence and we fed the embedding of [CLS] into the linear classifier layer. The performance slightly dropped with this omission but the difference is negligible. This indicates the BERT model is powerful enough to capture the similar information as CNNs.
Table 5.

Evaluation on DDI extraction from texts on the test set

Method P R F (%)
Liu et al. (2016) 75.2960.3767.01
BioBERT (Peng et al., 2019)78.8
Text-only (word2vec CNN)
(Asada et al., 2018)71.9768.4470.16
Text-only (SciBERT linear)80.2881.9281.09
Text-only (SciBERT CNN)83.1080.3881.72
+ Desc84.0581.8182.91
+ Mol (radius = 0)83.2982.0282.65
+ Mol (radius = 1)83.5782.1282.84
+ Mol (radius = 2)83.6681.1082.36
+ Desc + Mol (radius = 1) 85.36 82.83 84.08
+ Desc + Mol (radius = 0,1,2)84.5182.5383.51
+ Mol (radius = 0,1,2)84.6982.5383.60

Note: We defined Text-only (SciBERT CNN) model as our baseline model. The best score is shown in bold.

Evaluation on DDI extraction from texts on the test set Note: We defined Text-only (SciBERT CNN) model as our baseline model. The best score is shown in bold. We observe additional increase of the micro F-score by using drug description and molecular structure information as shown in the bottom part of the table. This shows the large-scale raw text information from SciBERT and the database information are complementary, and they are both useful for extracting DDIs from text. For GNNs, GNNs with molecular fingerprints (radius = 1 or 2) show better performance than GNNs without them (radius = 0), and GNNs with the radius of 1 show the highest performance. When comparing the description and molecular structure information, the micro F-score with molecular structure information (radius = 1) is slightly higher than one with the description information (+Desc), but their difference is not significant and the superiority depends on how to represent the molecular structure information, i.e. molecular fingerprints. We leave the search of the better representations for future work. The improvement by the ensemble model of description and the molecular structure information is statistically significant when compared with the baseline model (P < 0.005, McNemar test). We used the scikit-learn (Pedregosa ) Python library for evaluating the statistical significance. Table 6 shows the performance of DDI extraction models on the development dataset. Consistently with the results on the test set in Table 5, either of the description information and molecular structure information improves the performance and the combination of the two information showed the highest F-scores on the development dataset. However, there are some inconsistencies in the results on development and test datasets; the model with molecular structure information showed a higher F-score than the model with description information on the development dataset, while the model with molecular structure information showed a lower F-score on the test dataset.
Table 6.

Evaluation on DDI extraction from texts on the development set

Method P R F (%)
Text-only (SciBERT CNN)83.5580.1981.84
+ Desc83.1982.3182.75
+ Mol (radius = 0)83.7381.2582.47
+ Mol (radius = 1)82.8583.9083.37
+ Mol (radius = 2)82.8883.5883.23
+ Desc + Mol (radius = 1) 84.59 84.32 84.46
Evaluation on DDI extraction from texts on the development set Table 7 shows the F-scores on individual DDI types. The description information improves F-scores for Mechanism, Effect and Int. types, but it degrades the F-scores for Advice. The molecular structure information improves F-scores for Effect and Advice, but it degrades the F-scores for Mechanism and Int. for some radii. This indicates the two information have different effects on extracting DDIs, and each information is not enough to improve the entire DDI extraction performance. When both the description and molecular structure information are used by the ensemble technique, the model shows higher performance than the baseline model on all types. We cross-validated the training dataset using 5-fold cross-validation and we further analyzed the performance on individual DDI types. Table 8 shows the F-scores for folds of cross-validated training dataset. We used the micro-averaged F-score to calculate the average of the folds. The models with individual information show higher performance than the baseline model on Mechanism and Int., while they show comparable or lower performance than the baseline model on other labels. Although the changes in performance are inconsistent for the DDI types and folds, the model with the ensemble technique shows higher performance than the models with individual information on average. As a result, the model with the ensemble technique improves the F-scores on average for all the types except for Int., where our model performs on par with the baseline model. These results show that the performance on each label is affected by data splitting, but overall, when both the description information and molecular structure information are used by the ensemble technique, our model is effective for improving the performance of DDI extraction.
Table 7.

Performance on individual DDI types in F-scores

DDI type
MethodMech.EffectAdv.Int. (%)
Text-only86.1879.1288.3455.94
+ Desc 87.62 81.08 87.05 60.27
+ Mol (radius = 0) 84.65 81.2090.67 55.71
+ Mol (radius = 1)86.3380.48 92.07 49.25
+ Mol (radius = 2) 84.02 82.24 88.5857.34
+ Desc + Mol (radius = 1)87.6182.0590.7958.74

Note: The best score for each type is shown in bold and the scores lower than the baseline model are shown with underlines.

Table 8.

Individual F-scores on 5-fold cross-validated training dataset

DDI type
MethodMech.EffectAdv.Int. (%)
Fold 1Text-only84.60 86.38 85.8068.29
+ Desc 82.55 81.82 85.23 64.37
+ Mol (radius = 1) 84.55 84.62 84.53 71.05
+ Desc + Mol (radius = 1) 86.13 85.46 86.69 67.47
Fold 2Text-only83.4683.2678.80 81.48
+ Desc84.15 82.52 81.99 79.01
+ Mol (radius = 1) 82.26 83.45 81.64 76.54
+ Desc + Mol (radius = 1) 84.29 83.38 82.64 79.01
Fold 3Text-only84.9159.21 76.54 91.43
+ Desc 83.40 88.31 73.53 91.67
+ Mol (radius = 1) 84.43 86.24 75.24 94.44
+ Desc + Mol (radius = 1) 86.09 87.25 76.22 92.96
Fold 4Text-only76.8181.5678.0179.45
+ Desc77.5482.47 79.65 81.16
+ Mol (radius = 1) 78.17 84.03 77.34 76.92
+ Desc + Mol (radius = 1)77.35 85.15 79.40 83.33
Fold 5Text-only81.9781.76 89.51 76.54
+ Desc84.9583.02 87.73 81.48
+ Mol (radius = 1)86.0983.74 87.23 73.33
+ Desc + Mol (radius = 1) 86.26 84.91 88.34 75.00
AverageText-only82.3476.9981.67 79.07
+ Desc83.0984.39 81.27 78.09
+ Mol (radius = 1)82.4783.57 81.60 78.97
+ Desc + Mol (radius = 1) 84.01 85.20 82.70 78.99

Note: We used the micro-averaged F-score to calculate the average of the folds. The best score for each type is shown in bold and the scores lower than the baseline model are shown with underlines.

Performance on individual DDI types in F-scores Note: The best score for each type is shown in bold and the scores lower than the baseline model are shown with underlines. Individual F-scores on 5-fold cross-validated training dataset Note: We used the micro-averaged F-score to calculate the average of the folds. The best score for each type is shown in bold and the scores lower than the baseline model are shown with underlines. Table 9 shows the comparison of F-scores on the two different subsets of the test set: MEDLINE and DrugBank. The model with the description and one with molecular structure (radius = 1) degrade the F-score for MEDLINE, whereas both the description and molecular structure information improved the F-scores for DrugBank. For both subsets, the ensemble model greatly improved the F-score. These results also indicate the description and molecular structure information are complementary.
Table 9.

Comparisons of F-scores on different parts of the test set

MethodMEDLINEDrugBankOverall (%)
Text-only (SciBERT CNN)74.5782.4481.72
+ Desc74.4183.7582.91
+ Mol (radius = 0)75.0083.4182.65
+ Mol (radius = 1)73.9883.7182.84
+ Mol (radius = 2)74.5783.1582.36
+ Desc + Mol (radius = 1) 78.16 84.67 84.08
Comparisons of F-scores on different parts of the test set

6 Discussion

6.1 Pre-training of GNNs and CNNs on DrugBank

To investigate the further use of DrugBank information, we verify if the DrugBank DDI labels can improve the DDI extraction performance. Specifically, we pre-trained GNNs for molecular structure information and CNNs for description information on DrugBank DDI labels. Many drug pairs have information of interactions, so this pre-training needs no additional annotations. We extracted 50 000 interacting (positive) pairs from DrugBank. We note that, unlike the DDIExtraction 2013 shared task dataset, DrugBank only contains the information of interacting pairs; there are no detailed labels and no information for non-interacting (negative) pairs. We thus generated the same number of pseudo-negative pairs by randomly pairing drugs and removing those in positive pairs. To avoid overestimation of the performance, we deleted drug pairs mentioned in the test set of the text corpus in preparing the pairs. We split positive and negative pairs into 4:1 for train and test data, and we evaluated the classification accuracy using only the molecular information or only the description. We first show the performance of the accuracy of binary classification on DrugBank DDI pairs in Table 10. The performance is surprisingly high, although the accuracy is evaluated on automatically generated negative instances. Overall, both drug description and molecular structure information can capture DDI information in DrugBank. In detail, the accuracy with drug description information is higher than that with molecular structure information. For molecular structure information, GNN with the radius of 2 shows the best performance. The difference in accuracy between radius 0 and 2 is 21.78% points, and this large difference shows the importance of capturing molecular fingerprints for DDI.
Table 10.

Accuracy of binary classification on the DrugBank pairs

Accuracy (%)
DescriptionSciBERT91.05
Molecular structureGNN (radius = 0)67.58
GNN (radius = 1)82.21
GNN (radius = 2)89.36
Accuracy of binary classification on the DrugBank pairs We pre-trained CNNs and GNNs using the DrugBank interaction labels including the pseudo-negative labels and fine-tuned them on the DDIExtraction 2013 dataset. Table 11 shows the comparison of the F-scores with or without pre-trainng. Unfortunately, for all the settings, the models with pre-training show lower performance than those without pre-training. This may be because the labels in the DDI extraction tasks are annotated depending on the context of the pairs and the labels can be inconsistent with labels in DrugBank and because the pseudo-negative examples are used in training instead of the real negative examples.
Table 11.

Evaluation on DDI extraction from texts with or without pre-training of GNNs for the molecular structure and CNNs for the description

Methods P R F (%)
SciBERT83.1080.3881.72
w/ pre-training+ Desc 84.62 79.2681.85
+ Mol (radius = 0)82.6981.0081.83
+ Mol (radius = 1)84.5180.2882.34
+ Mol (radius = 2)82.3680.2881.74
w/o pre-training+ Desc84.0581.81 82.91
+ Mol (radius = 0)83.2982.0282.65
+ Mol (radius = 1)83.57 82.12 82.84
+ Mol (radius = 2)83.6681.1082.36
Evaluation on DDI extraction from texts with or without pre-training of GNNs for the molecular structure and CNNs for the description

6.2 Can DrugBank information alone extract DDIs from texts?

To further investigate how the contextual information is important in the DDI task, we verified whether the textual DDI can be extracted only from the drug information in DrugBank without using the input sentence. We simply omitted the input sentence representation from Equations (7) and (8) and trained the DDI extraction models, but the F-scores were quite low (<5%) for both models. This result shows that we cannot extract DDI relation from texts only with the description and molecular structure information. This indicates that DDI extraction from text greatly depends on the context information around drug mention pairs and our models on the database information serve as a supplement to the textual CNN model.

6.3 Error analysis

Figure 4 shows F-scores for different sentence lengths on the validation dataset. Since the instances with longer sentence lengths are relatively few, we used 5-fold cross-validation on the official training dataset. Here, the sentence length is defined to be the number of subwords divided by SciBERT vocabulary. In the previous work, Quan analyzed the F-scores for the sentence length and pointed out that the performance is low for very long sentences with 60 or more words. Wang also analyzed the F-scores for the sentence length and showed that F-scores tend to drop when the lengths of the instances are in the range from 71 to 100. The baseline model shows lower performance for long sentences with 80 or more subwords, and this result shows the same tendency as the previous analyses. Our model shows higher performance than the baseline model, especially for the sentences with more than 100 subwords. This shows that the DrugBank information is helpful to predict DDIs when the input sentences are long and complex and it is difficult to consider the whole contexts.
Fig. 4.

F-scores for different sentence lengths on the 5-fold cross-validated training dataset. We used the micro-averaged F-score to calculate the average of the folds

F-scores for different sentence lengths on the 5-fold cross-validated training dataset. We used the micro-averaged F-score to calculate the average of the folds

7 Conclusions

We proposed a novel neural method for DDI extraction from text using large-scale raw text information and drug database information, especially the drug descriptions and the drug molecular structure information. The results show that the large-scale raw text information with SciBERT greatly improves the performance of DDI extraction from text on the dataset of the DDIExtraction 2013 shared task. In addition, either of the drug description and the molecular structure information can further improve the performance for specific DDI types, and their simultaneous use can improve the performance on all the DDI types. Our future work includes investigating other information registered in DrugBank and other drug databases. In addition, we will seek the way to build a model that can effectively utilize multiple items in drug databases and combine the textual and drug database information.

Funding

This work was supported by Japan Society for the Promotion of Science KAKENHI [17K12741, 20K11962]. Conflict of Interest: none declared.
  7 in total

1.  Compound-protein interaction prediction with end-to-end learning of neural networks for graphs and sequences.

Authors:  Masashi Tsubaki; Kentaro Tomii; Jun Sese
Journal:  Bioinformatics       Date:  2019-01-15       Impact factor: 6.937

Review 2.  Pharmacogenomics knowledge for personalized medicine.

Authors:  M Whirl-Carrillo; E M McDonagh; J M Hebert; L Gong; K Sangkuhl; C F Thorn; R B Altman; T E Klein
Journal:  Clin Pharmacol Ther       Date:  2012-10       Impact factor: 6.875

3.  Multichannel Convolutional Neural Network for Biological Relation Extraction.

Authors:  Chanqin Quan; Lei Hua; Xiao Sun; Wenjun Bai
Journal:  Biomed Res Int       Date:  2016-12-07       Impact factor: 3.411

4.  Dependency-based long short term memory network for drug-drug interaction extraction.

Authors:  Wei Wang; Xi Yang; Canqun Yang; Xiaowei Guo; Xiang Zhang; Chengkun Wu
Journal:  BMC Bioinformatics       Date:  2017-12-28       Impact factor: 3.169

5.  DrugBank 5.0: a major update to the DrugBank database for 2018.

Authors:  David S Wishart; Yannick D Feunang; An C Guo; Elvis J Lo; Ana Marcu; Jason R Grant; Tanvir Sajed; Daniel Johnson; Carin Li; Zinat Sayeeda; Nazanin Assempour; Ithayavani Iynkkaran; Yifeng Liu; Adam Maciejewski; Nicola Gale; Alex Wilson; Lucy Chin; Ryan Cummings; Diana Le; Allison Pon; Craig Knox; Michael Wilson
Journal:  Nucleic Acids Res       Date:  2018-01-04       Impact factor: 16.971

6.  Therapeutic target database 2020: enriched resource for facilitating research and early development of targeted therapeutics.

Authors:  Yunxia Wang; Song Zhang; Fengcheng Li; Ying Zhou; Ying Zhang; Zhengwen Wang; Runyuan Zhang; Jiang Zhu; Yuxiang Ren; Ying Tan; Chu Qin; Yinghong Li; Xiaoxu Li; Yuzong Chen; Feng Zhu
Journal:  Nucleic Acids Res       Date:  2020-01-08       Impact factor: 16.971

7.  Drug-Drug Interaction Extraction via Convolutional Neural Networks.

Authors:  Shengyu Liu; Buzhou Tang; Qingcai Chen; Xiaolong Wang
Journal:  Comput Math Methods Med       Date:  2016-01-31       Impact factor: 2.238

  7 in total
  4 in total

1.  Drug-Drug Interactions Prediction Using Fingerprint Only.

Authors:  Bing Ran; Lei Chen; Meijing Li; Yujuan Han; Qi Dai
Journal:  Comput Math Methods Med       Date:  2022-05-09       Impact factor: 2.809

2.  Representing a Heterogeneous Pharmaceutical Knowledge-Graph with Textual Information.

Authors:  Masaki Asada; Nallappan Gunasekaran; Makoto Miwa; Yutaka Sasaki
Journal:  Front Res Metr Anal       Date:  2021-07-01

3.  A multi-layer soft lattice based model for Chinese clinical named entity recognition.

Authors:  Shuli Guo; Wentao Yang; Lina Han; Xiaowei Song; Guowei Wang
Journal:  BMC Med Inform Decis Mak       Date:  2022-07-30       Impact factor: 3.298

4.  IMSE: interaction information attention and molecular structure based drug drug interaction extraction.

Authors:  Biao Duan; Jing Peng; Yi Zhang
Journal:  BMC Bioinformatics       Date:  2022-08-14       Impact factor: 3.307

  4 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.