 Methodology article
 Open access
 Published:
Hybrid attentional memory network for computational drug repositioning
BMC Bioinformatics volume 21, Article number: 566 (2020)
Abstract
Background
Drug repositioning has been an important and efficient method for discovering new uses of known drugs. Researchers have been limited to one certain type of collaborative filtering (CF) models for drug repositioning, like the neighborhood based approaches which are good at mining the local information contained in few strong drug–disease associations, or the latent factor based models which are effectively capture the global information shared by a majority of drug–disease associations. Few researchers have combined these two types of CF models to derive a hybrid model which can offer the advantages of both. Besides, the cold start problem has always been a major challenge in the field of computational drug repositioning, which restricts the inference ability of relevant models.
Results
Inspired by the memory network, we propose the hybrid attentional memory network (HAMN) model, a deep architecture combining two classes of CF models in a nonlinear manner. First, the memory unit and the attention mechanism are combined to generate a neighborhood contribution representation to capture the local structure of few strong drug–disease associations. Then a variant version of the autoencoder is used to extract the latent factor of drugs and diseases to capture the overall information shared by a majority of drug–disease associations. During this process, ancillary information of drugs and diseases can help alleviate the cold start problem. Finally, in the prediction stage, the neighborhood contribution representation is coupled with the drug latent factor and disease latent factor to produce predicted values. Comprehensive experimental results on two data sets demonstrate that our proposed HAMN model outperforms other comparison models based on the AUC, AUPR and HR indicators.
Conclusions
Through the performance on two drug repositioning data sets, we believe that the HAMN model proposes a new solution to improve the prediction accuracy of drug–disease associations and give pharmaceutical personnel a new perspective to develop new drugs.
Background
Drug repositioning is intended to discover new uses of drugs that have been approved by drug regulatory authorities [1]. This technology has played a major role in drug discovery because the traditional new drug development is a timeconsuming, costly, and unstable process that takes 10–15 years and costs 0.8–1 billion dollars [2,3,4]. Compared with the traditional new drug development process, the approved drugs have undergone several rigorous clinical trials, and their toxic and side effects have been strictly evaluated [5]. Hence, drug repositioning technology can shorten the drug development cycle to 6.5 years, research and development funding could be reduced to 3 million dollars [6, 7], and the related drugs can pass the regulatory review more easily [8].
The prediction of drug–target interactions is an important process in drug discovery. Targets are biological macromolecules that exert pharmacological effects in the human body and are directly related to diseases, therefore, the prediction of drug–target associations also has important research significance for drug repositioning. In recent years, many researchers have developed various computational models to predict largescale potential drug–target associations. The research of Chen et al. [9] not only summarized the databases and web servers involved in drug target identification and drug discovery, but also introduced some of the latest computational models for drug–target interaction prediction, which focuses on the advantages and disadvantages of networkbased and machine learning based methods. Ezzat et al. [10] introduced a chemical genomics method for calculating drug–target interaction predictions. They divided chemical genomics methods into neighborhood model based methods, local model based methods, network diffusion based methods, matrix factorization based methods and feature classification based methods. And they focused on the prediction performance of these methods in different situations. In general, it is necessary to develop novel and effective prediction methods to avoid the determination of drug–target interactions only through expensive, laborious and uncertain traditional experimental methods.
Recently, the graph neural network has attracted the attention of many scholars, and many researchers have applied it to the research of drug–target–disease associations. Han et al. [11] combined graph convolutional network (GCN) and matrix factorization to propose a new disease gene association task framework GCNMF. With the help of GCN, the framework can capture the nonlinear interaction between disease and gene, and use the similarity between the measured gene and disease phenotype for prediction work. Long et al. [12] proposed a graph convolutional network (GCN)based frameworkGCNMDA to predict human microbedrug associations. The framework is based on a heterogeneous network of drugs and microorganisms which constructed with rich biological information. In the hidden layer of the GCN, the conditional random field (CRF) with the attention mechanism is further used to more accurately aggregate the neighborhood representations while ensuring that similar nodes (for example, microorganisms or drugs) have similar vector representations.
Benefited from the success of the CF (Collaborative Filtering) model in the field of recommendation systems [13,14,15], more and more researchers have applied the CF model to the field of drug repositioning. In general, the computational methods of drug repositioning can be categorized into two main groups. One is neighborhood based models [16,17,18] and the other is latent factor based models [19,20,21,22].
Neighborhood based models recommends potential targets for drugs by identifying neighborhoods of similar drugs or diseases based on previous associations. A computational framework has been suggested by Wang et al. [16], HGBI, a heterogeneous drug–target graph that includes known drug–target interactions as well as similarities between drug–drug and target–target. A novel graphbased inferencing technique is implemented based on this graph to recommend potential targets to drugs. Martinez et al. [17] created a drug–disease prioritysetting methodology called DrugNet based on ProphNet, a networkbased prioritysetting technique. DrugNet model establishes a network of interconnected medicines, proteins and illnesses and recognizes new associations of drug–disease by disseminating data in the heterogeneous network above. Based on the theory that comparable drugs are usually associated with comparable illnesses, Luo et al. [18] suggested a novel computational technique called MBiRW, using some extensive similarity measures and BiRandom Walk (BiRW) to detect prospective novel signs for the specified drug.
Latent factor based models project each drug and disease into a common low dimensional space to capture latent associations. Gottlieb et al. [19] suggested a model called PREDICT, which calculates the connection between future drugs and illnesses, primarily by incorporating the similarities between different drugs and illnesses and using these characteristics to acquire fresh prospective characteristics through a logical classifier. Luo et al. [20] built a heterogeneous drug–disease interaction system by incorporating drug–drug, disease–disease, and drug–disease networks denoted with a vast adjacency matrix for drug–disease, then implement a Singular Value Thresholding algorithm to finish the adjacency matrix for drug–disease with expected results for unidentified drug–disease pairs. In order to balance the calculation error between the drug similarity and the disease similarity, Yang et al. [21] proposed BNNR model, which incorporates the regularization of nuclear specifications into the matrix decomposition model, and can effectively solve the problem of overfitting and improve the prediction accuracy of the model. Yang et al. [22] proposed an additional neural matrix factorization (ANMF) model, using the auxiliary information of drugs or diseases to overcome the problem of data sparsity and introducing the neural network, so that the ANMF model can capture the nonlinear relationship between drugs and diseases.
However, the above researches were based on a single type of CF model to solve the problem of drug repositioning, which can lead to the following defects. Neighborhood based methods capture local structure but usually ignore the majority of scores available owing to choosing from the junction of feedback between two drugs or diseases at most K observations. In contrast, models of latent factor capture the general global structure of the interactions between drugs and diseases, but often overlook the existence of some powerful associations. At the same time, a specific drug usually treats a smaller number of diseases to make the drug–disease correlation matrix relatively sparse. Hence relying solely on sparse data of drug–disease association can easily lead to cold start problems.
In recent years, due to the nonlinear fitting ability and excellent performance in mining effective hidden features from raw data, deep learning has achieved remarkable success in many fields. The memory network has achieved great achievement in the field of machine translation for its longterm and shortterm memories of historical information. Hence, inspired by deep learning and the memory network [15, 23, 24], we propose the Hybrid Attentional Memory Network (HAMN), a hybrid unified model that combines the advantages of both types of CF models. At the same time, the coldstarting problem is highly challenging in the drug repositioning application scenario, which mainly refers to the lack of history data on the effects of new drugs towards other diseases. Without the historical treatment data, it is impossible to predict the corresponding treatment mechanism. So, we introduce drug–drug similarity and disease–disease similarity information to overcome cold start problems to some extent in the drug repositioning.
In the HAMN model, we combine the attention mechanism with memory unit [25] to generate the neighborhood representation that captures the higherorder complex associations between drugs and diseases. Memory unit allows encoding of rich feature representations, while attention mechanisms can assign influential neighbors greater weight. Next, a variant version of the autoencoder is used to extract the valid latent factor of drug and disease and reduce the side effects of coldstarting problem by combining drug similarity, disease similarity with drug–disease associations. Finally, a nonlinear interaction between the local neighborhood representation and the global latent factors derives the predicted value.
Our main contributions can be summarized as follows:

(1)
We propose the HAMN model, a new network framework that combines neighborhood based method with latent factor based model by the memory network, to capture both the global structural information of drug–disease associations and the local information contained in some strong drug–disease associations.

(2)
We introduce an attention mechanism to enable influential neighbors to make greater contributions. The experimental results show that this strategy can can improve the performance of the model.

(3)
The HAMN model has been systematically tested in two real data sets, Gottlieb dataset and Cdataset [20]. The experimental results show that the performance of our proposed HAMN model exceeds the stateoftheart according to the AUC, AUPR or HR indicators.
The rest of this paper is as constructed as follows: we will introduce the implementation details and principles of the HAMN model in “Methods” section. In “Results” section, the experiments and results of the HAMN model on the Gottlieb dataset and the Cdataset will be presented, and the discussion of the experiments will be given in “Discussion” section. The final section will serve as a summary of our work and a guideline for future ventures.
Methods
The overall architecture of our proposed Hybrid Attentional Memory Network (HAMN) model is shown in Fig. 1. At a high level, the HAMN model consists of three modules: (1) the neighborhood contribution representation module, (2) the mining latent factor module, and (3) the predictive value generation module.
First, the neighborhood contribution representation module captures the local information contained in few strong drug–disease associations. The module derives the neighborhood contribution representation by combining the memory unit and the attention weight mechanism, which will be described in detail in “Neighborhood contribution representation” section.
Next, the mining latent factor module captures the global information of drug–disease associations. The module uses a variant version of autoencoder to combine drug–disease relationships, drug similarity with disease similarity for the extraction of drug latent factor or disease latent factors, which will be discussed in detail in “Mining the latent factor of drugs and diseases” section.
Finally, the predictive value generation module uses nonlinear function to calculate the predicted value by combining the latent factor of drug, the latent factor of disease and the neighborhood representation.This will be described in detail in “Predictive value generation” section. At the end of this section, we will derive the general loss function of the HAMN model and the learning of the corresponding parameters.
Neighborhood contribution representation
In order to capture the local information contained in some strong drug–disease associations, inspired by [24], we first define the latent factor of drug called \(drug_i\), where \(drug_i \in {\mathbb {R}}^{1\times d}\) is generated by a set of parameter vectors, d is the dimension of latent factor, which stores the characteristic information of the drug. And defined the latent factor of disease called \(disease_j\), where \(disease_j \in {\mathbb {R}}^{1\times d}\) is generated by another set of parameter vectors, which stores the specific preferences of the disease. Next we define the drug preference vector \(p_{ij}\) as shown in Eq. (1), where each dimension \(p_{ijn}\) represents the degree of similarity between the target drug i and its neighbor drug n.
where \(N\left( j \right)\) represents the collection of drugs that are associated with disease j. The intuition of our design formula (1) is as follows, the degree of compatibility between the target drug i and the neighbor drug n is calculated by performing the inner product operation of both the latent factor of drug i and the latent factor of the neighbor drug n. The inner product operation enables the neighborhood drug similar to the target drug i to achieve a larger compatible value, and vice versa.
According to the hypothesis that similar drugs can treat similar diseases, when drug i infers whether it can treat the disease j, more similar neighbor drugs contribute more to the decisions. Hence, by formula (2) normalizing the drug preference vector \(p_{ij}\), the attention weight of the target drug \(q_{ij}\) can be obtained. This attention weight is used to infer the contribution weight of the neighboring drugs. It works because the attention weight vector \(q_{ij}\) can impose higher weights on similar drugs in neighbors, while reducing the importance of less similar drugs, hence the target drug i focuses on the influential subset of drugs in the neighborhood when making decisions.
In order to learn the local information contained in a few strong drug–disease associations, inspired by the memory network and the hypothesis which the local structural information contained in the strong association is usually provided by the neighbor of the target drug, hence the HAMN model uses an external memory unit to store the characteristic information of the drug in the role of neighbor to serve as the local structural information contained in the strong drug–disease associations. Then we use the attention weight vector \(q_{ij}\) to accumulate the neighborhood information contained in all the neighbor drugs of the target drug to obtain the final neighborhood contribution representation. The generation method is shown in formula (3).
where \(c_n\) is another embedding vector of drug n, which is called external memory in the original memory network framework. The external memory allows the storage of longterm information pertaining specifically to each drug’s role in the neighborhood. Its essence is a set of parameter vectors, which can be represented by vectors \(c_{n}=\left[ m_1,m_2,...m_l \right]\), where \(m_l\) represents the parameters that can be learned during model training. In other words, the attention mechanism selectively weights the neighbors according to the specific drug and disease. The external memory unit \(c_n\) stores the local structural information contained in the strong drug–disease associations. Then the neighborhood contribution representation generated by accumulating the sum of the attention vector and the memory unit \(c_n\), which can make the contribution value of the influential neighbor greater and can capture local structural information contained in the strong drug–disease association.
It is worth noting that the dimension of the external memory unit does not need to be consistent with the dimension of the hidden feature vector of the drug. By adjusting the dimension of the external memory unit, it can meet different scales of computing drug repositioning data sets, which enhances the scalability of the model to a certain extent. In the experimental “The dimension of external memory unit” section, the effect of external memory unit dimension on model performance will be discussed.
Mining the latent factor of drugs and diseases
Both \(drug_i\) and \(disease_j\) in “Neighborhood contribution representation” section are represented by parameter vectors, which required a large amount of historical drug–disease correlation data to ensure the convergence and validity of that model parameters. However, the data of computational drug repositioning is generally sparse and cannot meet the training requirements of the above parameter vectors. At the same time, the cold start problem is a major challenge in the field of computational drug repositioning. In order to extract effective latent factor and alleviate cold start problems, this section use a variant version of autoencoder to extract the latent factor of drugs and diseases instead of the above, and combine drug similarity and disease similarity.
The bottom of Fig. 1 shows the process of mining the latent factor of drug i and disease j. We focus on the process of mining the latent factor of drug i, because the process of mining the latent factor of disease j is theoretically the same.
R stands for the drug–disease associations matrix, where \(s_{i}^{drug}=\{R_{i1},R_{i2},...R_{in}\}\) represents the associations among drug i and all diseases in the data set. DrugSim stands for the drugs–drugs similarity matrix, where \(DrugSim_{i*}=\left[ DrugSim_{i1},DrugSim_{i2},...,DrugSim_{im} \right]\) represents the similarity between drug i and m drugs in the data set. To enhance the robustness of the input data, random noise is added to \(s_{i}^{drug}\) and \(DrugSim_{i*}\) to generate \({\tilde{s}}_{i}^{drug}\) and \({\tilde{D}}rugSim_{i*}\). Then we perform the following encoding and decoding operations on the above two inputs to extract the latent factor of the drug i, \(drug_i\).
Equation (4) is the encoding operation, and Eqs. (5) and (6) are the decoding operations, where \(drug_i\) represents the latent factor of the drug i. g and f represent any activation functions, W and V represent weight parameters, and b represents bias parameters.
The loss caused by the above encoding and decoding operations includes the error between all inputs and their reconstructed values, and the loss function is as shown in Eq. (7), where \(\parallel s_{i}^{drug}{\hat{s}}_{i}^{drug}\parallel ^2\) and \(\parallel DrugSim_{i*}{\hat{D}}rugSim_{i*}\parallel ^2\) represent the error caused by the input value and the reconstructed value, and \(\parallel W_l\parallel ^2+\parallel V_l\parallel ^2\) controls the complexity of the model, which improves the model’s generalization ability. \(\alpha\) represents the equalization parameter and \(\lambda\) represents the regularization parameter.
The latent factor of the drug i can be obtained by minimizing formula (7). Similarly, the process of obtaining the latent factor of the disease j is theoretically the same as the process of extracting the latent factor of the drug. The difference is that \(s_{j}^{disease}\) and the diseasesdiseases similarity matrix are used as inputs, where \(s_{j}^{disease}=\{R_{1j},R_{2j},\cdots R_{mj}\}\) represents the vector of relationships among the disease j and all drugs in the data set.
Predictive value generation
As mentioned above, the neighborhood based model captures the information contained in few strong drug–disease associations and the latent factor model captures the global structural information of drug–disease associations. Therefore, we used \(o_{ij}\) to capture the local information of the drugs–diseases relationships, and used \(drug_i\) and \(disease_j\) to capture the global information of the drugs–diseases relationships, which are finally nonlinearly integrated by using the following formula (8).
\(drug_i\) and \(disease_j\) represent the latent factors of drugs and diseases calculated by the HAMN model, \(\odot\) represents elementwise product, and \(o_{ij}\) represents neighbor contribution representation. h and W represent the weight parameters, \(\eta\) is the balance parameter, which controls the weight of the latent factor model and the neighbor model in the final output. b represents the offset parameter, \(F_{out}\) represents any activation function, and \({\hat{r}}_{ij}\) represents the predicted value.
Where \(h^T\left( drug_i\odot disease_j \right)\) represents the output value of the latent factor model, \(W^To_{ij}\) represents the output value of the neighbor model, and Eq. (8) smooths the nonlinear integration of the two to obtain the predicted value. The above operation enables the HAMN model to capture both global and local information.
Parameter learning
In this part, we will derive the final loss function of the HAMN model and the learning process of the corresponding parameters. In general, the loss function of the HAMN model includes the loss of the extracted drug and the disease latent factor and the loss between the predicted value and the target value.
The loss function of the extracted drug and disease latent factor are shown in Eqs. (9) and (10), which has been derived in 2.2.
The loss between the predicted value and the target value is as shown in Eq. (11), where \(r_{ij}\) represents the target value, \({\hat{r}}_{ij}\) is the predicted value derived from the HAMN model. In addition, \(R^+\) represents the positive sample set in which from known drug–disease associations. \(R^\) represents the negative sample set, which can be obtained using negative sampling techniques [26].
Hence, the final loss function of the HAMN model is shown in Eq. (12), where
As we can see from the above analysis, the model we propose has the following advantages. First, at the “Neighborhood contribution representation” section, the introduction of attention weight mechanism enables the model to impose higher weight on similar drugs in neighbors, ensuring it makes a greater contribution in the decisionmaking stage. Finally, the linear function is used to integrate the latent factor and the neighborhood representation, so that the model has a holistic view of the drugs–diseases interactions to infer the predicted value.
Results
This section systematically evaluates the performance of the HAMN model on two real data sets and the experimental comparisons with the most advanced algorithms currently relevant. First, the two real data sets used in the experiment will be introduced in detail in “Data set” section. Next, the evaluation criteria and calculation methods used in the experiment will be introduced in “Evaluation metrics” section. Then in “Parameter settings” section, we discuss the details and specific setting values of all hyperparameters in the HAMN model, as well as the experimental analysis and the discussion of two important parameters. At the same time, in order to verify the effectiveness and superiority of the HAMN model, the HAMN model is experimentally compared with several currently relevant most advanced algorithms in “Method comparison” section, and a detailed ablation study is also given in “Method comparison” section. To further verify the practicability of the HAMN model, its performance in new drug scenarios will be evaluated in “The new drug scenario” section.
Data set
This experiment uses two mainstream data sets, Gottlieb dateset and Cdataset [20]. Gottlieb dateset contains 593 drugs, 313 diseases and 1933 proven drug–disease relationships. Cdataset contains 663 drugs, 409 diseases and 2,532 proven drug–disease relationships. See Tables 1 and 2 for details. The drugs and diseases contained in the above data sets were registered in DrugBank [27] and Online Mendelian Inheritance in Man [28] respectively.
Drug similarities are calculated on the basis of SMILES [29] using the Chemical Development Kit [30]. Pairwise drug resemblance and chemical structures are referred to as their 2D chemical patterns Tanimoto score. MimMiner [31], which estimates the degree of pairwise disease resemblance through text mining their medical description data in the OMIM database, obtains the similarities among illnesses. In addition, both drug–drug similarity and disease–disease similarity take into account the prior relationship between drugs and disease.
Evaluation metrics
This experiment uses a tenfold crossvalidation technique. And the unverified drug–disease relationships in the data set were taken as negative samples and placed in the test set, and then the training set is used to learn the relevant parameters of the model. The performance of the trained model on the test set is evaluated, thereby achieving a 10fold crossvalidation and final performance evaluation.
In order to comprehensively evaluate the performance of the HAMN model, we use AUC (Area Under Curve Area), AUPR (Area Under PrecisionRecall Curve) and HR (Hit Ratio) as the evaluation indicators. AUC is currently a mainstream evaluation indicator, but for the category imbalance problem, the AUC indicator cannot capture all the information of the model, and the true performance of the model can be reflected in a more comprehensive way by adding the AUPR indicator. At the same time, HR is the most popular evaluation indicator in the field of recommendation systems, which can well reflect the performance of the model in real demand scenarios. Combined with the above three evaluation indicators, the performance of the HAMN model can be more fairly and comprehensively displayed.
Parameter settings
The two important parameters of the HAMN model are the dimension of the memory unit \(c_n\) and the balance parameter \(\eta\) . Since the memory cell \(c_n\) vector stores the characteristic information of the drug in the neighbor role, its size controls the complexity and fitting ability of the neighborhood module of the HAMN model. At the same time, the hyperparameters \(\eta\) balance the weight ratio of the latent factor model and the neighborhood model in the final output. Appropriate values can improve the performance of the model. Therefore, this section sets up two related experiments to evaluate the performance of the HAMN model under different dimensions of the memory cell vector \(c_n\) and hyperparameters \(\eta\) .
All hyperparameters of the HAMN model are set based on their performance on the validation set. The validation set is created based on [22]. For the dimension of memory unit, the dimension of latent factor and the value of \(\eta\), we use the grid search to find the optimal combination in the interval \(\left\{ 16, 32, 64, 128, 256\right\}\), \(\left\{ 16, 32, 64, 128, 256\right\}\) and the interval \(\left\{ 0.1,0.3,0.5,0.7,0.9\right\}\). Similarly, \(\alpha\) and \(\beta\) are all grid searched in the interval \(\left\{ 0.1,0.3,0.5,0.7,0.9\right\}\). Besides, \(\lambda\) and \(\delta\) are all grid searched in the interval \(\left\{ 0.1, 0.01, 0.001\right\}\). Finally, the learning rate of the model varies in the interval \(\left\{ 0.0001, 0.001, 0.05, 0.01\right\}\), and the appropriate learning rate enables the model to learn better parameters.
The dimension of external memory unit
The dimension of the memory unit \(c_n\) is one of the important parameters of the HAMN model, which controls the complexity of the neighborhood module of the HAMN model and its learning ability. If the dimension setting is too large, the model training time will increase exponentially and overfitting will easily occur. Conversely, setting the dimension too small will prevent the model from learning the structural information contained in some strong drug–disease associations, which will affect the performance of the neighborhood module. Therefore, this experiment is set up to observe the effect of different memory cell vector dimensions on the performance of the HAMN model. In addition, the search interval of the dimension of the memory unit is set to \(\left\{ 16, 32, 64, 128, 256\right\}\), and the remaining hyperparameters are set to the default values. The experimental data set uses the Gottlieb data set, the evaluation index uses the AUC value.
Figure 2a shows the impact of different memory unit dimensions on the performance of the HAMN model. The abscissa of the graph represents the dimensions of the memory unit and the ordinate is the AUC value. The experimental results show that the performance of the model improves steadily with the increase of the dimension of the memory unit. When the dimension is 64, the performance of the model reaches its peak. However, followed by a degradation potentially due to overfitting and the model’s AUC value begins to decrease.
By analyzing the above experimental results, it can be concluded that the appropriate memory unit dimension can enhance the fitting ability of the HAMN model neighborhood module, and learn the structural information of strong drug–disease correlation, thereby further improving the overall performance of the HAMN model.
The weight value of \(\eta\)
The hyperparameter \(\eta\) controls the weight ratio of the latent factor module and the neighborhood module in the final output. Appropriate values are crucial to the performance of the HAMN model. Therefore, the following experiments are set up to observe the effect of different values on the performance of the HAMN model. In addition, the search interval of \(\eta\) values is set to \(\left\{ 0.1,0.3,0.5,0.7,0.9\right\}\), and the remaining hyperparameters are set to the default values. The experimental data set and evaluation indicators are consistent with “The dimension of external memory unit” section.
The experimental results in Fig. 2b show that as the value of the hyperparameter \(\eta\) increases continuously, the performance of the HAMN model behaves a stable linear improvement. The above experimental results show that the importance of the hidden feature module is higher than that of the neighborhood module, and it should be given higher weight. However, the neighborhood model can accurately judge part of the test set samples and the hidden feature module cannot accurately predict the part of the samples. Hence, the neighborhood model should be given partial weights so that the final predicted value takes into account the contribution of the neighborhood module. Therefore, when the value is set to 0.7, the prediction effect and generalization performance of the HAMN model are improved to a certain extent.
Method comparison
We compare the HAMN model with several current mainstream algorithms, including the latent factor based methods and the neighborhood based methods.
* ANMF [22]: The ANMF model is a neural matrix decomposition model, which is a HAMN model without neighborhood information essentially.
* BNNR [21]: The BNNR model is one of the latest research achievements in the field of computational drug relocation, and its essence is a model based on hidden features. In order to balance the calculation error between the similarity between drugs and the similarity between diseases, it incorporates the regularization of nuclear specifications into the matrix decomposition model, which can effectively solve the problem of overfitting and improve the prediction accuracy of the model.
* DRRS [20]: The DRRS model is a mainstream latent factor model, which uses drug–disease relationships matrix, drug similarity matrix and disease similarity matrix to generate a hybrid matrix, and then uses the SVT algorithm to matrix decompose to generate predicted values.
* HGBI [16]: HGBI is a classic neighborhood based method. HGBI is introduced based on the guiltbyassociation principle, as an intuitive interpretation of information flow on the heterogeneous graph.
The parameters of the above comparison methods are provided by their corresponding documents.
Tables 3 and 4 is the experimental results of the above model on the two published data sets. No matter indicators we use, AUC, AUPR or HR metric, the HAMN model we propose outperforms other comparison methods. In terms of AUC value, the HAMN model achieved the highest value of 0.946 on the Gottlieb dataset, which was higher than the 0.938 in ANMF model, 0.932 in BNNR, 0.93 in the DRRS model and 0.829 in the HGBI model. The HAMN model also gets the highest value of 0.958 on the Cdataset.
In terms of AUPR value, the HAMN model achieved the highest value of 0.385 on the Gottlieb dataset, which was higher than 0.347 in the ANMF model, 0.315 in the BNNR model, 0.292 in the DRRS model and 0.16 in the HGBI model. The HAMN model also gets the highest value of 0.426 on the Cdataset.
In terms of HR value, the HAMN model achieved the highest value on both Gottlieb dataset and Cdataset. In the HR@10 scenario, the HAMN model achieved the highest value of 76.2% in the Gottlieb dataset, which was higher than 74.2% of the ANMF model, 75.9% of the BNNR model, 72.7% of the DRRS model and 59.3% of the HGBI model. The HAMN model also gets the highest value of 79.1% on the Cdataset.
According to the above experimental results, the HAMN model performs better than the neighborhood based model HGBI and the latent factor based model BNNR, DRRS and ANMF, which reveals the effectiveness of combining the two CF models into a single hybrid model. It is worth noting that the HAMN model is superior to the ANMF model, the latter is essentially a HAMN model without the memory unit. It reveals that the integration of neighborhood information improves the performance of the HAMN model to a certain extent.
The new drug scenario
The new drug scenario describes the situation of predicting potential target for drug without previously known disease associations, this is more in line with the real world needs. There are 171 drugs in the Gottlieb dataset associated with only one known disease, and 177 drugs in the Cdataset associated with only one known disease. We removed drugs with one known association from the data set and placed it in the test set. The remaining drug–disease associations were used as training sets, and the model was trained and tested according to the above. The experimental parameters are set according to the rules in “Parameter settings” section.
Tables 5 and 6 list the experimental results of the above models for new drugs on the Gottlieb dataset and Cdataset. No matter indicators we use, AUC, AUPR or HR metric, the HAMN model we propose performs better than other comparison methods. In terms of AUC value, the HAMN model achieved the highest value of 0.881 on the Gottlieb dataset, which was higher than the 0.859 in ANMF model, 0.83 in the BNNR model, 0.824 in the DRRS model and 0.746 in the HGBI model. The HAMN model also gets the highest value of 0.869 on the Cdataset.
In terms of AUPR values, the HAMN model achieved the highest value of 0.193 on the Gottlieb dataset, which was higher than 0.161 for the ANMF model, 0.142 for the BNNR, 0.107 for the DRRS model and 0.065 for the HGBI model. In addition, the HAMN model gets the highest value of 0.113 on the Cdataset.
In terms of HR value, the HAMN’s value of HR@1 is smaller than the DRRS model on Cdataset. The possible reason is the sparseness of the data set. However, in the case of HR@5, HR@10, the HAMN model has achieved the highest value. In the HR@10 scenario, the HAMN model achieved the highest value of 49.1% on the Gottlieb dataset, which was higher than the 46.2% in ANMF model, 47.4% in the BNNR model, 39.2% in the DRRS model and 24.6% of the HGBI model. Moreover, HAMN model achieves the maximum value of 39.5% on Cdataset.
Given the inherent nature of sparse data and cold start problems, new drug scenario has always been a major difficulty in computing drug relocation. Moreover, the new drug scene is more in line with the needs of the real world, researchers are more and more incentivized to solve this problem. Different from the previous models that only use sparse historical drug–disease association, the HAMN model also introduces similarity between drugs, similarity between diseases and structural information contained in some strong correlations, which can alleviate the cold start problem. The above experimental results demonstrated that the proposed HAMN model can alleviate the cold start problem to some extent due to the inclusion of auxiliary information and neighbor information. Therefore, the HAMN model can be applied to new drug scenarios.
Discussion
As seen in the experimental results on two mainstream data sets in the real world, the HAMN model has outperformed the most advanced algorithms in terms of the indicators AUC, AUPR and HR. For the Gottlieb data set, the AUC, AUPR, and HR values were 0.946, 0.385, and 76.2% respectively. The prediction performance of the model for Cdataset is 0.958, the AUPR value is 0.426, and the HR value is 79.1%. The validity and superiority of the HAMN model are verified to some extent by the fact that the above results are better than the comparison mainstream algorithms.
Finally comparing with the ANMF model, essentially a HAMN model without neighborhood information, HAMN Model can improve the performance of the algorithm to a certain extent and outperformed the ANMF model in all evaluation index.
Conclusion
Computational drug repositioning, which aims to find new applications for existing drugs, is gaining more attention from the pharmaceutical companies due to its low attrition rate, reduced cost, and shorter timelines for novel drug discovery. In this work, we developed a novel network architecture HAMN for drug repositioning. HAMN model uses a memory network to combine the neighborhood based approaches with latent factor based models in a nonlinear manner, and incorporates drug–disease auxiliary information to alleviate the cold start problem. Experimental results on two data sets demonstrated that the HAMN model we proposed outperformed the other state of art methods. In future works, we will delve into the use of multisource data to calculate the similarity between drugs and diseases and more types of latent factor models or neighborhood based approaches to further improve the performance of the model.
Availability of data and materialss
The datasets that support the findings of this study are available in https://github.com//bioinfomaticsCSU/MBiRW.
Abbreviations
 CF:

Collaborative filtering
 HAMN:

Hybrid attentional memory network
 GCN:

Graph convolutional network
 CRF:

Conditional random field
 ANMF:

Additional neural matrix factorization
 AUC:

Area under curve
 AUPR:

Area under precisionrecall curve
 CDK:

Chemical development kit
 DRRS:

Drug repositioning recommendation system
 FDA:

The US Food and Drug Administration
 GMF:

Generalized matrix factorization
 HGBI:

Heterogeneous graph based inference
 HR:

Hit ratio
 HR@n:

Hit ratio with cut offs at n
 OMIM:

Online Mendelian inheritance in man
 ROC:

Receiver operating characteristic
 SMILES:

Simplified molecular input line entry specification
 SVT:

Fast singular value thresholding algorithm
 10CV:

Tenfold cross validation
References
Shim JS, Liu JO. Recent advances in drug repositioning for the discovery of new anticancer drugs. Int J Biol Sci. 2014;10(7):654.
Dickson M, Gagnon JP. Key factors in the rising cost of new drug discovery and development. Nat Rev Drug Discov. 2004;3(5):417–29.
Tamimi NA, Ellis P. Drug development: from concept to marketing!. Nephron Clin Pract. 2009;113(3):c125–31.
Pushpakom S, Iorio F, Eyers PA, Escott KJ, Hopper S, Wells A, Norris A. Drug repurposing: progress, challenges and recommendations. Nat Rev Drug Discov. 2019;18(1):41–58.
Ashburn TT, Thor KB. Drug repositioning: identifying and developing new uses for existing drugs. Nat Rev Drug Discov. 2004;3(8):673–83.
Nosengo N. Can you teach old drugs new tricks? Nat News. 2016;534(7607):314.
Pritchard JLE, O’Mara TA, Glubb DM. Enhancing the promise of drug repositioning through genetics. Front Pharmacol. 2017;8:896.
Yella JK, Yaddanapudi S, Wang Y, Jegga AG. Changing trends in computational drug repositioning. Pharmaceuticals. 2018;11(2):57.
Chen X, Yan CC, Zhang X, Zhang X, Dai F, Yin J, Zhang Y. Drug–target interaction prediction: databases, web servers and computational models. Brief Bioinform. 2016;17(4):696–712.
Ezzat A, Wu M, Li XL, Kwoh CK. Computational prediction of drug–target interactions using chemogenomic approaches: an empirical survey. Brief Bioinform. 2019;20(4):1337–57.
Han P, Yang P, Zhao P, Shang S, Liu Y, Zhou J, Kalnis, P. GCNMF: diseasegene association identification by graph convolutional networks and matrix factorization. In: Proceedings of the 25th ACM SIGKDD international conference on knowledge discovery & data mining; 2019. p. 705–13.
Long Y, Wu M, Kwoh CK, Luo J, Li X. Predicting human microbedrug associations via graph convolutional network with conditional random field. Bioinformatics. 2020. https://doi.org/10.1093/bioinformatics/btaa598.
Koren Y. Factorization meets the neighborhood: a multifaceted collaborative filtering model. In: Proceedings of the 14th ACM SIGKDD international conference on Knowledge discovery and data mining; 2008. p. 426–34.
Ricci F, Rokach L, Shapira B. Introduction to recommender systems handbook. In: Ricci F, Rokach L, Shapira B, Kantor P, editors. Recommender systems handbook. Boston, MA: Springer; 2011. p. 1–35.
He X, Liao L, Zhang H, Nie L, Hu X, Chua TS. Neural collaborative filtering. In: Proceedings of the 26th international conference on world wide web; 2017. p. 173–82.
Wang W, Yang S, Li JING. Drug target predictions based on heterogeneous graph inference. In: Biocomputing 2013; 2013. p. 53–64.
Martinez V, Navarro C, Cano C, Fajardo W, Blanco A. DrugNet: networkbased drug–disease prioritization by integrating heterogeneous data. Artif Intell Med. 2015;63(1):41–9.
Luo H, Wang J, Li M, Luo J, Peng X, Wu FX, Pan Y. Drug repositioning based on comprehensive similarity measures and birandom walk algorithm. Bioinformatics. 2016;32(17):2664–71.
Gottlieb A, Stein GY, Ruppin E, Sharan R. PREDICT: a method for inferring novel drug indications with application to personalized medicine. Mol Syst Biol. 2011;7(1):496.
Luo H, Li M, Wang S, Liu Q, Li Y, Wang J. Computational drug repositioning using lowrank matrix approximation and randomized algorithms. Bioinformatics. 2018;34(11):1904–12.
Yang M, Luo H, Li Y, Wang J. Drug repositioning based on bounded nuclear norm regularization. Bioinformatics. 2019;35(14):i455–63.
Yang X, Liu Y, He J. Additional neural matrix factorization model for computational drug repositioning. BMC Bioinform. 2019;20(1):423.
Dong X, Yu L, Wu Z, Sun Y, Yuan L, Zhang F. A hybrid collaborative filtering model with deep structure for recommender systems. In: Thirtyfirst AAAI conference on artificial intelligence; 2017.
Ebesu T, Shen B, Fang Y. Collaborative memory network for recommendation systems. In: The 41st international ACM SIGIR conference on research & development in information retrieval; 2018. p. 515–24.
Weston J, Chopra S, Bordes A. Memory networks; 2014. arXiv preprint arXiv:1410.3916.
Mnih A, Kavukcuoglu K. Learning word embeddings efficiently with noisecontrastive estimation. In: Advances in neural information processing systems; 2013. p. 2265–73.
Knox C, Law V, Jewison T, Liu P, Ly S, Frolkis A, Djoumbou Y. DrugBank 3.0: a comprehensive resource for ‘omics’ research on drugs. Nucleic Acids Res. 2010;39(suppl–1):D1035–41.
Hamosh A, Scott AF, Amberger JS, Bocchini CA, McKusick VA. Online Mendelian Inheritance in Man (OMIM), a knowledgebase of human genes and genetic disorders. Nucleic Acids Res. 2005;33(suppl–1):D514–7.
Steinbeck C, Han Y, Kuhn S, Horlacher O, Luttmann E, Willighagen E. The Chemistry Development Kit (CDK): an opensource Java library for chemoand bioinformatics. J Chem Inf Comput Sci. 2003;43(2):493–500.
Weininger D. SMILES, a chemical language and information system. 1. Introduction to methodology and encoding rules. J Chem Inf Comput Sci. 1988;28(1):31–6.
Van Driel MA, Bruggeman J, Vriend G, Brunner HG, Leunissen JA. A textmining analysis of the human phenome. Eur J Hum Genet. 2006;14(5):535–42.
Acknowledgements
We would like to express our deepest gratitude and appreciation for all reviewers and editors.
Funding
This work has been supported by the National Key R&D Program of China (2019YFC1711000) and Collaborative Innovation Center of Novel Software Technology and Industrialization.
Author information
Authors and Affiliations
Contributions
HJY contributed to the design of the study. YXX designed and implemented the HAMN method, performed the experiments, and drafted the manuscript. ZI and GZ contributed to improving the writing of manuscripts. All authors read and approved the final manuscript.
Corresponding author
Ethics declarations
Ethics approval and consent to participate
Not applicable.
Competing interests
The authors declare that they have no competing interests.
Consent for publication
Not applicable.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated in a credit line to the data.
About this article
Cite this article
He, J., Yang, X., Gong, Z. et al. Hybrid attentional memory network for computational drug repositioning. BMC Bioinformatics 21, 566 (2020). https://doi.org/10.1186/s12859020038984
Received:
Accepted:
Published:
DOI: https://doi.org/10.1186/s12859020038984