Introduction

Networks are powerful representations to describe, visualize, and analyse complex systems in many domains. Recently, machine learning techniques started to be used on networks, but these techniques have been developed for vector data and cannot be directly applied. A major challenge thus pertains to the encoding of high-dimensional graph-based data into a feature vector. Network embedding (also known as graph representation learning) provides a solution to this challenge and allows opening the complete machine learning toolbox for network analysis.

The high efficiency of network embedding approaches has been demonstrated in a wide range of applications such as community detection, node classification, or link prediction. Moreover, network embedding approaches can exploit very large graphs, with millions of nodes1. Thus, with the explosion of big data, network embeddings have been used to study many different networks, such as social2, neuronal3 and molecular networks4.

So far, network embedding approaches have been mainly applied to monoplex networks (i.e. single networks composed of one type of nodes and edges)1,5,6. Current technological advances however generate a large spectrum of data, which form large heterogeneous datasets. Single monoplex networks are not suited to represent such diversity. Therefore, multi-layer networks, including multiplex7 and multiplex-heterogeneous8 networks have been proposed to handle these richer sets of relationships.

Multiplex networks are composed of several layers, each layer being a monoplex network. All the layers share the same set of nodes, but their edges belong to different categories (Fig. 1A). Multiplex representation is pertinent to depict the diversity of interactions between the same nodes. For instance, in a molecular multiplex network, the different layers could represent physical interactions between proteins, their belonging to the same molecular complexes or the correlation of expression of the genes across different tissues. Analogously, in social multiplex networks, a person can belong to different layers describing different types of relationships, such as friendships or common interests.

A heterogeneous network is a multi-layer network in which each layer is a monoplex network with its specific type of nodes and edges (Fig. 1B). The two monoplex networks are connected by bipartite interactions, i.e. edges linking the different types of nodes belonging to the two monoplex networks. Such heterogeneous networks have been studied in different research fields. For example, in network medicine, a drug-protein target heterogeneous network has been constructed with a drug-drug similarity monoplex network, a protein-protein interaction monoplex network and bipartite interactions between drugs and their target proteins9. In social science, citation networks are constructed with author-author and document-document monoplex networks connected by author-documents bipartite interactions, as in10.

A multiplex-heterogeneous network is a combination of heterogeneous and multiplex networks by connecting several multiplex networks through bipartite interactions (Fig. 1C). The multiplex-heterogeneous structure is expected to provide a richer view on biological8, social11 or other real-world systems describing complex relations among different components.

Figure 1
figure 1

Illustrations of the different types of networks. (A) A multiplex network. The different layers share the same set of nodes but different types of edges. (B) A heterogeneous network. The two networks are composed of different types of nodes and edges, connected by bipartite interactions (black dashed lines). (C) A multiplex-heterogeneous network composed of two multiplex networks. The multiplex networks are connected by bipartite interactions (dashed lines). For the sake of simplicity, the figure does not represent all the possible bipartite interactions (each layer of a given multiplex is in reality linked with every layer of the other multiplex).

Recently, different studies proposed embedding approaches for multiplex networks11,12,13,14 and heterogeneous networks15,16. A recent method uses multiplex-heterogeneous information to embed one category of nodes17. However, to our knowledge, no embedding methods are specifically dedicated to the embedding of nodes of different types from multiplex-heterogeneous networks. In this paper, we present MultiVERSE, a fast, scalable and versatile embedding approach to learn node embeddings on multiplex and multiplex-heterogeneous networks. MultiVERSE is based on the VERSE framework18, and coupled with Random Walks with Restart on Multiplex (RWR-M) and on Multiplex-heterogeneous (RWR-MH) networks8. Our contributions are the following:

  • We propose an evaluation protocol in order to evaluate multiplex network embedding. It is based on 7 datasets in 4 disciplines (biological, neuronal, co-authorship and social networks), 6 embedding methods (and 4 additional link prediction heuristics), and two tasks: link prediction and a new protocol approach based on network reconstruction.

  • We demonstrate the higher performance of MultiVERSE over state-of-the-art network embedding methods in the tasks of link prediction and network reconstruction for multiplex network embedding.

  • We propose, to our knowledge, the first multiplex-heterogeneous network embedding method (with an embedding of the different types of nodes).

  • We propose a method to evaluate multiplex-heterogeneous network embedding on link prediction. We demonstrate the effectiveness of MultiVERSE on this task on two biological multiplex-heterogeneous networks.

  • We present a biological application of MultiVERSE for the study of gene-disease associations using link prediction and clustering.

Related work in network embedding

Network embedding relies on two key components: a similarity measure between pairs of nodes in the original network and a learning algorithm. Given a network and a similarity measure, the aim of network embedding is to learn vector representations of the nodes in a lower dimension space, while preserving as much as possible the similarity. In the next sections we will present the state-of-the-art of monoplex, multiplex and multiplex-heterogeneous network embedding.

Monoplex network embedding

Many network embedding methods have been recently developed to study a large variety of networks, from biological to social ones. The classical method deepwalk5 inspired a series of methods such as node2vec6 and LINE (for Large-scale Information Network Embedding)19. Deepwalk uses truncated random walks to compute the node similarity in the network. Then, a combination of the skip-gram learning algorithm20 and hierarchical softmax21 is used to learn the graph representations. Skip-gram is a model based on natural language processing. It intends to maximize the probability of co-occurrence of nodes within a walk, focusing on a window, i.e. a section of the path around the node. Node2vec6 upgrades deepwalk by introducing negative sampling during the learning phase22. Moreover, node2vec allows biasing the random walks towards depth or breadth-first random walks, in order to tune the exploration of the search space. LINE19 follows a different approach to optimize the embedding: it computes the node similarity using an adjacency-based proximity measure in association with negative sampling. Other embedding methods are based on matrix-factorization, such as GraRep23 or HOPE24. It has been shown that random-walk based methods for network embedding can be expressed in terms of matrix-factorization25. Another class of methods are based on neural networks such as GraphSAGE26, graph convolutional networks (GCN)27 or graph auto-encoders (GAE/VGAE)28.

These embedding methods have been applied to link prediction or node labelling tasks. Their performance rely upon multiple criteria such as the size of the network, its density, the embedding dimension or the evaluation metrics29. Overall, they have been designed to handle monoplex networks. However, we now have access to a richer representation of complex systems as multiplex networks, and some recent methods have explored the embedding of such multiplex networks.

Multiplex network embedding

The most straightforward approach to deal with multiplex networks is to merge the different layers into a monoplex network30. However, this merging creates a new network with its own topology, and loses the topological features of the individual layers. This new topology is logically biased towards the initial topology of the denser layers31. Different network embedding methods have been introduced in order to avoid merging multiplex network layers and take advantage of the multiplex structure11,12,13,14. Overall, these approaches are based on truncated random walks to compute the similarity in the multiplex network. Ohmnet13 relies on node2vec6 and requires the definition of a hierarchy of layers to model dependencies between them. But usually, this layer hierarchy information is not known or easy to establish, particularly for multiplex networks such as social or molecular networks. The Scalable Multiplex Network Embedding (MNE) method12 is also based on node2vec6. For each network node, it extracts one high-dimensional common embedding shared across all the layers of the multiplex network. In addition, MNE computes a lower-dimensional embedding for every node in each layer of the multiplex network. Multi-node2vec14 is another method based on node2vec that constructs the multiplex embedding with the random walks jumping from one layer to another. Multi-Net11 also proposes a random walks procedure in the multiplex network, inspired from32. Similarly to multi-node2vec, the random walks can jump from one layer to another. Multi-Net learns the embeddings using stochastic gradient descent. The performances of Ohmnet13, Multi-net11 and MNE12 have been compared in the context of network reconstruction11. In this task, the aim is to reconstruct one layer of the multiplex network from the embeddings of the other layers. The results show better performances for Multi-net on a set of social and biological multiplex networks11.

Multiplex-heterogeneous network embedding

Some methods can perform the embedding of heterogeneous networks15,16. A famous approach is metapath2vec15. It extends skip-gram to learn node embeddings for heterogeneous networks using meta-paths, which are predefined composite relations between different types of nodes. For instance, in the context of a drug-protein target heterogeneous network, the meta-path drug-protein target-drug in the network could bias the random walks to extract the information related to drug combinations.

Nevertheless, to our knowledge, no approach is specifically dedicated to the embedding of different types of nodes from multiplex-heterogeneous networks. In the next section, we present formally MultiVERSE, a new method for multiplex and multiplex-heterogeneous network embedding relying on VERSE18 and coupled with Random Walks with Restart extended to Multiplex (RWR-M) and Multiplex-Heterogeneous graphs (RWR-MH)8.

MultiVERSE

In this section, we present the key components of MultiVERSE: the VERSE general framework, the learning objective, and our particular implementation with Random Walk with Restart for Multiplex networks (RWR-M) and Random Walk with Restart for Multiplex-Heterogeneous networks (RWR-MH) (Fig. 2). We finally describe the MultiVERSE algorithm.

Figure 2
figure 2

Overview of the MultiVERSE pipeline. Starting from a multiplex-heterogeneous network, we represent its structure through an adjacency matrix (size \(|V| \times |V|\)); we then compute a similarity matrix using Random Walk with Restart algorithm, and apply an optimized version of the VERSE algorithm to compute the embeddings. The resulting matrix of embeddings will be used for the applications.

VERSE: a general framework for network embedding

The aim of VERSE network embedding is to learn a low-dimensional nonlinear representation \(w_i\) of the nodes \(v_i\) to a d-dimensional continuous vector, where \(d < n\), using Kullback-Leibler optimization18. We denote d the dimension of the embedding space, and n the dimension of the adjacency matrix. VERSE was originally developed for the embedding of monoplex networks18. The VERSE framework is nevertheless general and versatile enough to be expanded to multiplex and multiplex-heterogeneous networks.

Similarity distributions

Consider an undirected graph \(G=(V, E)\) with \(V=\{v_i, i=1, \dots ,n\}\) the set of nodes (\(|V| = n\)), and \(E \subseteq V \times V\) the set of edges, and \(sim_G\,:\,V \times V \rightarrow \mathbb {R}\) a given similarity measure on G such that

$$\begin{aligned} \forall v \in V, \ \sum _{u\in V} sim_{G} (v, u) = 1\,. \end{aligned}$$
(1)

Hence, the similarity for any node v is expressed as a probability distribution \(sim_G(v,.)\).

We note \(w_i\) the vector representation of node i in the embedding space (W is a \((n \times d)\)-matrix). The (non-normalized) similarity between two nodes embeddings \(w_u\) and \(w_v\) is defined as the dot product \(w_u \cdot w_v^T\). Using the softmax function, we obtain the normalized similarity distribution in the embedding or vector space:

$$\begin{aligned} sim_{Emb}(v, .) = \frac{exp(w_v \cdot w^T)}{\sum _{i=1}^n exp (w_v \cdot w_i)}\,. \end{aligned}$$
(2)

Finally, the output of any network embedding method is a matrix of embeddings W such as, \(\forall v \in V\), \(sim_{Emb}(v, .) \approx sim_G(v, .)\). This requires a learning phase, which is described in the next section.

Learning objective

This step updates the embeddings at each iteration in order to project \(sim_G\) into the embedding space leading to the preservation of the topological structure of the graph. In the framework of VERSE, as \(sim_{Emb}\) and \(sim_G\) are both probability distributions, this optimization phase aims to minimize the Kullback-Leibler divergence (KL-divergence) between these two similarities:

$$\begin{aligned} \sum _{v \in V_M} KL(sim_G(v, .)~\Vert ~ sim_{Emb}(v,.)) \end{aligned}$$
(3)

We can keep only the parts related to \(sim_{Emb}\) as it is the target to optimize and \(sim_G\) is constant. This leads to the following objective function:

$$\begin{aligned} \mathcal {L} = - \sum _{v \in V_M} sim_G(v, .)~log(sim_{Emb}(v,.)) \end{aligned}$$
(4)

\(sim_{Emb}\) is defined as a softmax function and needs to be normalized over all the nodes of the graph at each iteration, which is computationally heavy. Therefore, following the VERSE algorithm18, we used Noise Contrastive Estimation (NCE) to compute this objective function33,34. NCE trains a binary classifier to distinguish node samples coming from the distribution of similarity in the graph \(sim_G\) and those generated by a noise distribution Q. We define D as the random variable representing the classes, \(D=0\) for a node if it has been drawn from the noise distribution Q or \(D=1\) if it has been drawn from the empirical distribution and \(\mathbb {E}\) is the expected value. With u a node drawn from \(\mathcal {P}\) and v drawn from \(sim_G (u, .)\), with NCE we draw \(s < n\) negative samples \(v_{neg}\) from Q(u).

In this framework, the objective function becomes the negative log-likelihood that we want to minimize via logistic regression:

$$\begin{aligned} \begin{aligned} \mathcal {L}_{NCE}&= \sum _{\begin{array}{c} u \sim \mathcal {P} \\ v \sim sim_G(u,.) \end{array}} \left[ log P_W (D=1 ~|~ sim_{Emb}(u,v))\right. \\&\left. +\,s.\mathbb {E}_{v_{neg} \sim Q(u)} log P_W(D=0 ~|~ sim_{Emb}(u, \widetilde{v})) \right] \end{aligned} \end{aligned}$$
(5)

where \(P_W\) is computed as the sigmoid (\(\sigma (x) = (1 + e^{-x})^{-1}\)) of the dot product of the embeddings \(w_u\) and \(w_v\), and \(sim_{Emb}(u,.)\) is computed without normalization. It has been proven that the derivative of NCE converges to gradient of cross-entropy when s increases, but in practice small values work well34. Therefore, we are minimizing the KL-divergence from \(sim_G\).

Overall, VERSE is a general framework for network embedding with the only constraint that \(sim_G\) must be defined as a probability distribution. In this work, we computed \(sim_G\) using Random Walks with Restart on Multiplex (RWR-M) and Random Walks with Restart on Multiplex-Heterogeneous (RWR-MH) networks8. We describe this particular implementation in the next section.

Random walk with restart on multiplex and multiplex-heterogeneous networks

Random walk (RW) and random walk with restart (RWR)

Let us consider a finite graph, \(G = (V,E)\), with adjacency matrix A. In a classical RW, an imaginary particle starts from a given initial node, \(v_{0}\). Then, the particle moves to a randomly selected neighbour of \(v_{0}\) with a probability defined by its degree. We can define \(p_{t}(v)\) as the probability for the random walk to be at node v at time t. Therefore, the evolution of the probability distribution, \(\mathbf{p} _{t}=(p_{t}(v))_{v \in V}\), can be described as follows:

$$\begin{aligned} \mathbf{p} ^{T}_{t+1}=M\mathbf{p} ^{T}_{t}\, \end{aligned}$$
(6)

where M denotes a transition matrix that is the column normalization of A. The stationary distribution of Eq. (6) represents the probability for the particle to be located at a specific node when times tends to infinity35.

Random Walk with Restart (RWR) additionally allows the particle to jump back to the initial node(s), known as seed(s), with a probability \(r \in (0,1)\) at each step. In this case, the stationary distribution can be interpreted as a measure of the proximity between the seed(s) and all the other nodes in the graph. We can formally define RWR by including the restart probability in Eq. (6):

$$\begin{aligned} \mathbf{p} ^{T}_{t+1}=(1-r)M\mathbf{p} ^{T}_{t} + r\mathbf{p} ^{T}_{0} \end{aligned}$$
(7)

The vector \(\mathbf{p} _{0}\) is the initial probability distribution. Therefore, in \(\mathbf{p} _{0}\), only the seed(s) have values different from zero. Equation (7) can be solved in a iterative way8.

In our previous work, we expanded the Random Walk with Restart algorithm to Multiplex (RWR-M) and Multiplex-Heterogeneous networks (RWR-MH)8. Below, we show how the output of RWR-M and RWR-MH can easily be adapted to produce \(sim_G\), the required input for the VERSE framework.

Random walk with restart on multiplex networks (RWR-M)

We define a multiplex graph as a set of L undirected graphs, termed layers, which share the same set of n nodes7,36. The different layers, \(\alpha =1, \dots ,L\), are defined by their respective \(n \times n\) adjacency matrices, \(A^{[\alpha ]}=({A^{[\alpha ]}(i,j)})_{i,j=1,\dots ,n}\). \(A^{[\alpha ]}(i,j) =1\) if node i and node j are connected on layer \(\alpha\), and 0 otherwise37. We do not take into account potential self-interactions and therefore set \({A^{[\alpha ]}(i,i)} = 0 \ \forall \ i=1,\dots ,n\). In addition, we consider that \(v_i^{\alpha }\) represents the node i in layer \(\alpha\).

Thus, we can represent a multiplex graph by its adjacency matrix:

$$\begin{aligned} \mathbf{A} = {A^{[1]}, \dots ,A^{[L]}}\, \end{aligned}$$
(8)

and define it as \(G_{M}=(V_{M},E_{M})\), where:

$$\begin{aligned} V_{M}= & {} \left\{ v_{i}^{\alpha }, \ i=1,\dots ,n , \ \alpha =1,\dots ,L \right\} \,, \\ E_{M}= & {} \left\{ (v_{i}^{\alpha },v_{j}^{\alpha }), \ i,j=1,\dots ,n , \ \alpha =1,\dots ,L, \ {A^{[\alpha ]}(i,j)} \ne 0 \right\} \bigcup \\&\left\{ (v_{i}^{\alpha },v_{i}^{\beta }), \ i=1,\dots ,n, \ \alpha \ne \beta \right\} \, . \end{aligned}$$

RWR-M should ideally explore in parallel all the layers of a multiplex graph to capture as much topological information as possible. Therefore, a particle located in a given node, \(v_{i}^{\alpha }\), may be able to either walk to any of its neighbours within the layer \(\alpha\) or to jump to its counterpart node in another layer, \(v_{i}^{\beta }\) with \(\beta \ne \alpha\)38. Additionally, the particle can restart in the seed node(s) on any layer of the multiplex graph. In order to match these requirements, we previously defined a multiplex transition matrix and expanded the restart probability vector, allowing us to apply Eq. (6) on multiplex graphs8.

In this study, we independently run the RWR-M algorithm n times, using each time a different node as seed. As a result, we obtain a \(n \times n\) matrix in which each column describes the probability of finding the particle in every network node when the steady state is reached. We use this probability distribution as a measure of similarity between a given node and all the other nodes of the multiplex graph. Hence, we have \(\sum _{u\in V_{M}} sim_{G} (v, u) = 1 \; \forall \, v \in V_{M}\), therefore fulfilling the requirements of the VERSE input. We set the RWR-M parameters to the same values used in our original study (\(r = 0.7\), \(\varvec{\tau } = (1/L,1/L,\dots ,1/L)\), \(\delta = 0.5\))8.

Random walk with restart on multiplex-heterogeneous networks (RWR-MH)

A heterogeneous graph is composed of two graphs with different types of nodes and edges. In addition, it also contains a bipartite graph in order to link the nodes of different type (bipartite edges)39. In our previous study8, we described how to extend the RWR to a graph which is both multiplex and heterogeneous. However, this study considered only one multiplex graph in the multiplex-heterogeneous graph. For the present work, we additionally expanded RWR-MH to a complete multiplex-heterogeneous graph, i.e. both components of the heterogeneous graph can be multiplex (Fig. 1C), based on the work of40. Let us consider a L-layers multiplex graph, \(G_{M}=(V_{M},E_{M})\), with \(n \times L\) nodes, \(V_{M} = \left\{ v_{i}^{\alpha }, \ i=1,\dots ,n , \ \alpha =1,\dots ,L \right\}\). We also define a second L-layers multiplex graph, with \(m \times L\) nodes, \(U_{M} = \left\{ u_{j}^{\alpha }, \ j=1,\dots ,m , \ \alpha =1,\dots ,L \right\}\). We additionally need a bipartite graph \(G_{B}=(V_{M} \cup U_{M}, E_{B})\) with \(E_{B} \subseteq V_{M} \times U_{M}\). The edges of the bipartite graph only connect pairs of nodes from the different sets of nodes, \(V_{M}\) and \(U_{M}\). It is to note that the bipartite edges should link nodes with every layer of the multiplex graphs. We therefore need L identical bipartite graphs, \(G_{B}^{[\alpha ]}= (V_{M} \cup U_{M}, E^{[\alpha ]}_{B})\) to define the multiplex-heterogeneous graph. We can then describe a multiplex-heterogeneous graph, \(G_{MH}=(V_{MH}, E_{MH})\), as:

$$\begin{aligned} V_{MH}= & {} \left\{ V_{M} \cup U_{M} \right\} \\ E_{MH}= & {} \left\{ \cup _{\alpha =1,\dots ,L}E^{[\alpha ]}_{B} \cup E_{V_{M}} \cup E_{U_{M}} \right\} \end{aligned}$$

In the RWR-MH algorithm, the particle should be allowed to move in any of the multiplex graphs as described in the RWR-M section. In addition, it may be able to jump from a node in one multiplex graph to the other multiplex graph following a bipartite edge. We also have to bear in mind that the particle could now restart in different types of node(s), i.e. we can have seed(s) of different category (see Fig. 1C). We accordingly defined a multiplex-heterogeneous transition matrix and expanded the restart probability vector. This gave us the opportunity to extent and apply Eq. (6) on multiplex-heterogeneous graphs8,40.

In the context of MultiVERSE, we independently run the RWR-MH algorithm \(n+m\) times. In each execution, we select a different seed node until all the nodes from both multiplex graphs have been used as individual seeds. As a result, we can define a node-to-node similarity matrix matching VERSE input criteria, i.e \(\sum _{u\in V_{MH}} sim_{G} (v, u) = 1 \; \forall \, v \in V_{EM}\). We set the RWR-MH parameters to the same values used in the original study (\(r = 0.7\), \(\varvec{\tau } = (1/L,1/L,\dots ,1/L)\), \(\delta = 0.5\), \(\lambda =0.5\), \(\eta =0.5\))8.

MultiVERSE algorithm

Algorithm 1 presents the pseudo-code of MultiVERSE based on RWR on multiplex and multiplex-heterogeneous networks8 and Kullback-Leibler optimization from the VERSE algorithm18.

Our implementation of VERSE with NCE is slightly different from the original. We perform first the RWR-M or RWR-MH for all the nodes of the network in order to obtain the similarity distribution \(sim_{G_M}\). The output of this step is the probability matrix \(\overline{\mathbf{p }}\), where \(\overline{\mathbf{p }}_u\) is the probability vector representing the similarities between u and all the other nodes. The matrix of the embedded representation of the nodes, W, is randomly initialized. For each iteration, from one node u sampled randomly from a uniform distribution \(\mathcal {U}\), we truncate the probability vector \(\overline{\mathbf{p }}_u\). We keep the \(N_{max}\) highest probabilities because the shape of the distribution of probabilities falls very fast to very low probabilities. Doing so, we can speed up the calculation and reduce memory constraints by filtering out the lowest probabilities and by reducing the size of the similarity matrix. We normalize this resulting probability vector \(\dot{\mathbf{p }}_u\), and sample one node v according to its probability in \(\overline{\mathbf{p }}_u\). We set empirically the parameter \(N_{max} = 300\) for networks with more than 5000 nodes. For smaller networks, we set this parameter to \(10\%-20\%\) of the number of nodes of the network, depending on the shape of the distribution. These choices of \(N_{max}\) have been done for memory and quality of embeddings reasons. Indeed, these values are sufficient to obtain high quality embeddings, and avoid storing and manipulating the whole output of RWR-M(H), which is a \(n \times n\) matrix. We store with this truncated sampling strategy a \(n \times N_max\) matrix. These two steps (lines 6 and 7) were not in the original VERSE. We parallelized the repeat loop (line 4) and added a parallelized for loop after line 5 in order to run the code from line 6 to 12 in parallel P times. In our simulations, we set \(P=100\).

figure a
figure b

Then, we update \(W_u\) and \(W_v\) according to algorithm 2 by reducing their distances in the embedding space. We added the bias for NCE: \(bias_{pos}=log(N)\) and \(bias_{neg}=log(N/s)\).

Then, s negative nodes are sampled from \(\mathcal {Q}(u)\) and we update the corresponding embeddings by increasing their distances in the embedding space. The parameter s has been set to s=10 for networks with a number of nodes superior to 5000 and to \(s = 3\) as in the VERSE original algorithm for smaller networks. The precision of the NCE depends on the parameter s, and small values work well in practice34. The update can also be seen as the training part with lr as the learning rate of the binary classifier of the NCE estimation as described in Eq. (5). The whole process is repeated until the maximum steps are reached.

Regarding computational time, it depends mainly on the available number of cores and number of nodes ((as RWR has a time complexity of \(\mathcal {O}(n^2)\))=. On a i7-6820HQ CPU @2.70GHz with 8 cores and 48 Gb of RAM, the whole computation of MultiVERSE for the molecular multiplex network (see next section) with \(d=128\) and \(s=10\) takes 45 minutes.

MultiVERSE is freely available on github at https://github.com/Lpiol/MultiVERSE.

Evaluation protocol

We propose a benchmark to compare the performance of MultiVERSE and other embedding methods for multiplex and multiplex-heterogeneous networks. The performances are evaluated through link prediction for both multiplex and multiplex-heterogeneous networks, and with network reconstruction for multiplex networks.

Evaluation of multiplex network embedding

In the next sections, we describe the datasets, the evaluation tasks and the methods used for evaluations.

Multiplex network datasets

We used 7 multiplex networks (2 molecular, 1 disease, 1 neuronal, 1 co-authorship and 2 social networks) to evaluate the different approaches of multiplex network embedding. The networks CKM, LAZEGA, C.ELE, ARXIV, and HOMO have been extracted from the CoMuNe lab database https://comunelab.fbk.eu/data.php. We constructed the other two networks, DIS and MOL. A description of each of these multiplex networks follows. The number of nodes and edges of the different layers are detailed in Table 1.

  • CKM physician innovation (CKM) is a multiplex network describing how physicians in four towns in Illinois used the new drug tetracycline41. It is composed of 3 layers corresponding to three questions asked to the physicians: i) to whom do you usually turn when you need information or advice about questions of therapy? ii) who are the three or four physicians with whom you most often find yourself discussing cases or therapy in the course of an ordinary week – last week for instance? iii) would you tell me the first names of your three friends whom you see most often socially?

  • Lazega network (LAZEGA) is a multiplex social network composed of 3 layers based on co-working, friendship and advice between partners and associates of a corporate law partnership42.

  • Caenorabidis Elegans connectome (C.ELE) is a neuronal multiplex network composed of 3 layers corresponding to different synaptic junctions43,44: electrical, chemical poladic and chemical monadic.

  • ArXiv network (ARXIV) is composed of 8 layers corresponding to different ArXiv categories. The dataset has been restricted to papers with ’networks’ in the title or abstract, up to May 201445. The original data from the CoMuNe Lab database is divided in 13 layers. We extracted the 8 layers (1-2-3-5-6-8-11-12) containing more than 1000 edges.

  • Homo sapiens network (HOMO) is composed of 4 layers extracted from the original network on CoMuNe Lab44, keeping physical association, direct interaction, association and co-localization layers. The data are initially extracted from BioGRID46

  • Disease multiplex network (DIS) has been constructed, composed of 3 layers: i) A disease-disease network based on a projection of a disease-drug network from the Comparative Toxicogenomics Database (CTD)47 extracted from BioSNAP48. In this network, an edge between two diseases is created if the Jaccard Index between the neighborhoods of the two nodes in the original bipartite network is superior to 0.4. Two diseases are thereby linked if they share a similar set of drugs. This projection has been done using NetworkX49. ii) A disease-disease network where the edges are based on shared symptoms. The network has been constructed from the bipartite disease-symptoms network from50. Similarly to50, we use the cosine distance to compute the symptom-based diseases similarity for this network. We kept for the disease-disease network all interactions with a cosine distance superior to 0.5 iii) A comorbidity network from epidemiological data extracted from51.

  • Human molecular multiplex network (MOL) is a molecular network, consisting of 3 layers: (i) A protein-protein interaction (PPI) layer corresponding to the fusion of 3 datasets: APID (apid.dep.usal.es) (Level 2, human only), Hi-Union and Lit-BM (http://www.interactome-atlas.org/download). (ii) A pathways layer extracted from NDEx52 and corresponding to the human Reactome data53. iii) A molecular complexes layer constructed from the fusion of Hu.map54 and Corum55, using OmniPathR56.

Table 1 Description of the 7 multiplex networks used for the evaluation protocol.

Methods implemented for comparisons

We compare MultiVERSE with 6 methods designed for monoplex network embedding (deepwalk, node2vec, LINE) and multiplex network embedding (Ohmnet, MNE, Multi-node2vec), and 4 link prediction heuristic scores (only in the link prediction task).

Monoplex network embedding methods

  • deepwalk5: This method is based on non-biased random walks, and apply the skip-gram algorithm20 to learn the embeddings. We set the context window to 10, and the number of random walks to start at each node to 10.

  • node2vec6: This method is an extension of deepwalk with a pair of parameters p and q that biases the random walks for Breadth-first Sampling or Depth-first Sampling. We set \(p=2\) and \(q = 1\) to promote moderate explorations of the random walks from a node, as stated in6. We set the other parameters as for deepwalk.

  • LINE19: LINE is not based on random walks, but computes the similarities using an adjacency-based proximity measure in association with negative sampling. It approximates the first and second order proximities in the network from one node. First order proximity refers to the local pairwise proximity between the nodes in the network (only neighbours), and second order proximity look for nodes sharing many connections. We set the negative ratio to 5.

Multiplex network embedding methods
  • OhmNet13: This approach takes into account the multi-layer structure of multiplex networks. It is a random walk-based method that uses node2vec to learn the embeddings layer by layer. We applied the same parameters as in node2vec. The user has to define a hierarchy between layers. We created a 2-level hierarchy for all multiplex networks with first layer as the higher in the hierarchy and the other layers are defined at the second level of the hierarchy, in the same way as11.

  • MNE12: This method is also designed for multiplex networks and uses node2vec to learn the embeddings layer by layer. For each node, MNE computes a high-dimensional common embedding and a lower-dimensional additional embedding for each type of relation of the multiplex network. The final embedding is computed using a weighted sum of these two high-dimensional and low-dimensional embeddings. We used the default parameters (https://github.com/HKUST-KnowComp/MNE).

  • Multi-node2vec14: This multiplex network embedding method is also based on node2vec. The random walks can jump to different layers and explore in this way the multiplex neighborhood. The length of the random walks is set to 100.

We used OpenNE (https://github.com/thunlp/OpenNE) to implement deepwalk, node2vec and LINE. The other methods have been implemented from the source code associated to the different publications.

Link prediction heuristics

In order to evaluate the relevance of the aforementioned network embedding methods, we also compared them with four classical and straightforward link prediction heuristic scores for node pairs6. Table 2 provides formal definitions of these heuristic scores.

Table 2 Definition of the heuristic scores of a link (uv) in the graph G(VE).

Evaluation tasks

On multiplex networks, we evaluate the different methods by measuring their performances in two different tasks: link prediction and network reconstruction. For all the evaluations, we set the embedding dimension to \(d=128\) as in5,6,13 for fair comparisons, and used the package EvalNE v0.3.157. EvalNE is a package dedicated to the evaluation of network embedding.

From node embeddings to edges

MultiVERSE and the other embedding methods allow learning vector representations of nodes from networks. We aim here to test their performance on link prediction and network reconstruction. We hence need to predict whether an edge exists between every pairs of node embeddings. To do so, given two nodes u and v, we define an operator \(\circ\) over the corresponding embeddings f(u) and f(v). This gives \(g: V \times V \rightarrow \mathbb {R}^d\), with d the dimension of the embeddings, V the set of nodes and \(g(u,v)=f(u) \circ f(v)\). Our test network contains both true and false edges (present and absent edges, respectively). We apply five different operators \(\circ\): Hadamard, Average, Weighted-L1, Weighted-L2 and Cosine (Table 3)).

The outputs of the embedding operators are used to feed a binary classifier for the evaluation tasks. This classifier aims to predict if there is an edge or not between two nodes embeddings. Similarly, we use the output of the four link prediction heuristic scores described in Table 2 with a binary classifier to predict edges in a multiplex network.

Table 3 Embedding operators used to predict edges in the tasks of link prediction and network reconstruction.
Link prediction

We first evaluate the performance of the different methods to predict links removed from the original multiplex networks (Fig. 3). We remove 30% of the links in each layer of the original networks. We applied the Andrei Broder algorithm58 in order to randomly select the links to be removed while keeping a connected graph in each layer. This step provides the multiplex training network, to which we apply the 3 categories of methods (see Fig. 3):

  • The methods specifically designed for monoplex network embedding (node2vec, deepwalk and LINE) are applied individually on each layer of the multiplex networks. We thereby obtain one embedding per layer and average them (arithmetic mean) in order to obtain a single embedding for each node. We then apply the embedding operators. We refer to these approaches in the results section as node2vec-av, deepwalk-av and LINE-av.

  • Methods specifically designed for multiplex network embedding (Ohmnet, MNE, Multi-node2vec) are applied directly on the training multiplex network. We then apply the embedding operators.

  • The link prediction heuristic scores JC, CN, AA and PA are applied individually on each layer of the multiplex networks. We then average the scores, as JC-av, CN-av, AA-av, and PA-av.

From the outputs of the embedding operators and heuristic scores, we feed and train a binary classifier and then test it on the 30% of test edges that have been removed initially. The binary classifier is a logistic regressor.

The evaluation metrics for link prediction is ROC-AUC as it is commonly used for embedding evaluation on link prediction and to validate network embedding6,12. The ROC-AUC is computed as the area under the ROC curve, which plots the true positive rate (TPR) against the false positive rate (FPR) at various threshold settings. An AUC value of 1 represent a model that classifies perfectly the samples.

Figure 3
figure 3

General approach for link prediction on multiplex networks: (top) for the link prediction heuristics, we apply them to each layer and average them across all layers; (center) for monoplex-based methods, we embed each layer with the given method, then average it; (bottom) for multiplex-based methods, we apply the specific embedding method to the network. The embedding operators are then applied to monoplex- and multiplex-based method embeddings. The three types of methods are finally evaluated for link prediction using a binary classifier and a ROC-AUC is computed.

Network reconstruction

Network reconstruction is another approach to evaluate network embedding methods11,59,60. In this case, the goal is to quantify the amount of topological information captured by the embedding methods. This is equivalent to predict if we can go back from the embedding to the original adjacency matrix of each layer of the multiplex network.

Theoretically, to reconstruct the networks, one would need to apply link prediction to every possible edge in the graphs. This is however in practice not scalable to large graphs. Indeed, it would correspond to \(n(n-1)/2\) potential edges to classify (for undirected networks of n nodes without self-loops). In addition, the networks in our study are sparse, with much more false (absent) than true (present) edges, leading to large class imbalance. In this context, ROC-AUC can be misleading, as large changes in the ROC Curve or ROC-AUC score can be caused by a small number of correct or incorrect predictions61. In order to account for class imbalance, we used the precision@K59. This evaluation metric is based on the sorting in descending order of all predictions and consider the first K best predictions to evaluate how many true edges (the minority class) are predicted correctly by the binary classifier. From the outputs of the embedding operators, we perform network reconstruction by training a binary classifier on a subset of the original networks (Fig. 4). We choose a subset of 95% of the edge pairs from the original adjacency matrix of each layer for the smaller multiplex networks (CKM, LAZEGA and C.ELE) to construct the training graph. As the class imbalance increases with the number of nodes and sparsity of the networks, we choose smaller subsets for the largest networks, respectively 5% of edges for the ARXIV network and 2.5% for the other networks, as in previous publications59,60. For each layer, K is defined as the maximum of true edges in this subset of edge pairs. We use a Random Forest algorithm as a binary classifier for network reconstruction, as it is known to be less sensitive to class imbalance62. In network reconstruction, the results correspond to the training phase of the classifier, there is no test phase.

Figure 4
figure 4

General approach for network reconstruction on multiplex networks: (top) for monoplex-based methods, embed each layer with the given method, then average it; (bottom) for multiplex-based methods, apply the specific embedding method to the network. Embedding operators are then applied to monoplex- and multiplex-based method embeddings. The three types of methods are finally evalutated for network embedding using a binary classifier and a precision@K score is computed.

Evaluation of multiplex-heterogeneous network embedding

Multiplex-heterogeneous network datasets

  • Gene-disease multiplex-heterogeneous network We use the two multiplex networks presented in the previous sections: the disease (DIS) and molecular multiplex networks (MOL) (Table 1). In addition, we extracted the curated gene-disease bipartite network from the DisGeNET database63 in order to connect the two multiplex networks. This bipartite interaction network contains 75445 interactions between 5188 diseases and 9179 genes. We obtain a multiplex-heterogeneous network, as represented in Fig. 1C.

  • Drug-target multiplex-heterogeneous network We use the molecular multiplex network (MOL) from the previous multiplex-heterogeneous network. We constructed the following 3-layers drug multiplex network: (i) the first layer (2795 edges, 877 nodes) has been extracted from Bionetdata (https://rdrr.io/cran/bionetdata/man/DD.chem.data.html) and the edges correspond to Tanimoto chemical similarities between drugs if superior to 0.6, (ii) the second layer (678 edges, 362 nodes) comes from64 and the edges are based on drug combinations as reported in clinical data, (iii) the third layer (13397 edges, 658 nodes) is the adverse drug-drug interactions network available in64. The drug-target bipartite network has been extracted from the same publication64, and contains 15030 bipartite interactions between 4412 drugs and 2255 protein targets.

Evaluation task

We validate the multiplex-heterogeneous network embedding using link prediction. We remove randomly 30% of the edges but only from the bipartite interactions to obtain a training graph. We then train a Random Forest on the training graph, and test on the 30% removed edges. Based on the multiplex-heterogeneous networks described previously, the idea behind this evaluation is to test if we can predict gene-disease and drug-gene links. Comparisons with other approaches are not possible as, to our knowledge, no existing multiplex-heterogeneous network embedding method are currently available in the literature.

Case study: discovery of new gene-disease associations

Link prediction

Our aim for this case-study is to predict new gene-disease links. We thereby applied MultiVERSE on the full gene-disease multiplex-heterogeneous network without removing any edges, and trained a binary classifier (Random Forest) using edges from the bipartite interactions. Then, we test all possible gene-disease edges that are not in the original bipartite interactions and involve Progeria and Xeroderma pigmentosum VII disease nodes. Finally, we select the top 5 new gene-disease associations for each disease.

Clustering

We also applied MultiVERSE to the gene-disease multiplex-heterogeneous gene-disease network, followed by spherical K-means65 to cluster the vector representations of nodes. Spherical K-means clustering is well-adapted to high-dimensional clustering66. We define the number of clusters for spherical K-means to 500, in order to obtain cluster sizes that can be analysed from a biological point of view.

Results

Evaluation results for multiplex network embeddings

Link prediction

We evaluate the performance of the different methods (link prediction heuristics and network embedding) on the task of link prediction applied to the set of multiplex networks. First, we can observe that the heuristics are not efficient for link prediction, with ROC-AUC only slightly better than random classification (Table 4).

The methods based on embedding always perform better than the heuristic baselines. In addition, the ROC-AUC is in most of the cases higher when the models take into account the multiplex network structure rather than the monoplex-average, as observed in12. For instance, using the Hadamard operator, the ROC-AUC average over all the networks of the three monoplex-average approaches (node2vec-av, deepwalk-av, LINE-av) is 0.8025, whereas the average of the three multiplex-based approaches (Ohmnet, MNE, Multi-node2vec) is 0.8381. The ROC-AUC score average of MultiVERSE in this context is 0.9011. Nevertheless, node2vec-av and deepwalk-av perform very well and even outperform multiplex-based approaches on various scenarios, for instance link prediction on the C.ELE and ARXIV networks.

MultiVERSE combined with the Hadamard operator outperforms the other methods for all the tested networks but CKM. In addition, MultiVERSE is the best approach when combined with three out of five operators (Hadamard, Average, Cosine). These results suggest that RWR-M is able to better capture the topological features of the networks under study.

Table 4 ROC-AUC scores for link prediction on the 7 reference multiplex networks, for link prediction heuristics (CN-av, AA-av, JC-av, PA-av) and network embedding methods combined with different operators (Hadamard, Weighted-L1, Weighted-L2, Average, and Cosine).

Network reconstruction

We next evaluate the performances of the different embedding methods on the task of network reconstruction applied to multiplex networks We now rely on the evaluation metric, precision@K. The experimental results are shown in Table 5.

On one hand, for the small networks (i.e., CKM, LAZEGA and C.ELE), the best precision is achieved with LINE-av in combination with any of the operators but Cosine. In particular, LINE-av obtains a perfect score for the CKM network using the Weighted-L2 or Hadamard operators. MNE is in second position with more than 99% of precision using the Weighted-L1 or Weighted-L2 operators. LINE-av also presents good performances for the C.ELE network with a precision of \(93.67\%\) using the Weighted-L2 operator, almost \(20\%\) higher than the second best method on this network (Multi-node2vec with a score of 0.7568 using the Weighted-L2 operator).

Table 5 precision@K scores for network reconstruction on the 7 reference multiplex networks, for the network embedding methods combined with different embeddings operators (Hadamard, Weighted-L1, Weighted-L2, Average, and Cosine).

On the other hand, we can group together the results obtained for the large networks (DIS, ARXIV, HOMO and MOL). In this case, MultiVERSE achieves the best performance in combination with different operators. Large networks are sparse, leading to high class imbalance. Still, MultiVERSE achieves a good score for the HOMO and DIS networks, with precision@K of 0.8729 and 0.6784, respectively. The precision obtained on the molecular network (MOL) is the lowest, with a precision@K of 0.4143. The complexity of the task is possibly higher as the number of nodes and class imbalance increase.

Overall, the lowest scores are obtained by MNE and, in general, the Cosine operator performs poorly for all methods. The network reconstruction process is a complex task, and the performance depends on the size and density of the different layers composing the multiplex network. Nevertheless, MultiVERSE obtains good results for most of the networks without any processing of the imbalanced data.

Evaluation results for multiplex-heterogeneous network embedding

The task of link prediction on multiplex-heterogeneous networks is applied to MultiVERSE only, as to our knowledge no other methods exist for the embedding of multiple nodes from multiplex-heterogeneous networks. MultiVERSE has a score of ROC-AUC superior to 0.9 with the Hadamard and Average operators (Table 6), meaning that the method can predict with high precision the gene-disease and drug-target links from the corresponding multiplex-heterogeneous networks.

Table 6 ROC-AUC scores for link prediction using MultiVERSE on 2 multiplex-heterogeneous reference networks. Link predictions are computed for the bipartite interactions of the multiplex-heterogeneous networks.

Case study results: discovery of new gene-disease associations

Discovery of new gene-disease associations with link prediction

The results of the evaluations on multiplex-heterogeneous network link prediction show that MultiVERSE combined with the Hadamard and Average operators reach ROC-AUC scores superior to 0.9 (Table 6). We here investigate in detail the top 5 new gene-disease associations predicted by MultiVERSE combined with these operators for Hutchinson-Gilford Progeria Syndrome (HGPS) and Xeroderma pigmentosum VII (Table 7) .

Table 7 Top 5 predictions of new gene-disease associations for HGPS and Xeroderma pigmentosum VII by MultiVERSE combined with Average and Hadamard operators.
Hutchinson-Gilford Progeria Syndrome

Hutchinson-Gilford Progeria Syndrome (HGPS) is a rare premature aging genetic disease characterized by postnatal growth retardation, midface hypoplasia, micrognathia, premature atherosclerosis, coronary artery disease, lipodystrophy, alopecia and generalized osteodysplasia67. HGPS is caused by mutations in the LMNA genes that cause the production of a toxic form of the Lamin A protein called Progerin.

MultiVERSE top predictions reveal interesting candidate genes (Table 7). In particular, NOS2 encodes a nitric oxide synthase expressed in liver. It has been associated with longevity68. TNF is a member of the tumor necrosis factor superfamily, and produces a multifunctional proinflammatory cytokine. TNF is also known to be involved in aging69 and has been previously linked to Progeria70. TERF1 and TERF2 both encode telomere-binding proteins and TERF2IP encodes a protein that is part of a complex involved in telomere length regulation. HGPS patients show increased activation of DNA damage signalling at telomeres associated to reduced telomere length71. In addition, it has been reported DNA damage accumulation and TRF2 degradation in atypical Werner syndrome (adult Progeria) fibroblasts with LMNA mutations72. POT1 also produces a telomeric protein that has been linked to the Werner syndrome73, the maintenance of haematopoeitic stem cell activity during aging74 and cellular senescence75. IL6 encodes a cytokine involved in inflammation, which have also been linked to aging76. Finally,SOD1 and SOD2 are members of the superoxide dismutase multigene family that destroy free superoxide radicals. They both have been associated to aging and cellular senescence77,78.

Xeroderma pigmentosum VII

Xeroderma Pigmentosum (XP) is characterized by extreme sensitivity to sunlight, resulting in sunburns, pigment changes in the skin and a highly elevated incidence of melanoma. It is a genetically heterogeneous autosomal recessive disorder. Several XP types exist, and the MeSH term Xeroderma pigmentosum VII corresponds to the group G, caused by mutations in the ERCC5 gene, and with symptoms that overlap Cockayne syndrome79,80.

MultiVERSE identified various candidates for this disease (see Table 7), we detail here the most interesting ones. TNF has been related to XP81 and skin tumour development82. IL6 is involved in melanoma, one of the major phenotypes of XP83. SOD2, also predicted as candidate for HGPS, have been recently associated to melanoma84. TP53 is a tumor suppressor implicated in many cancers, in particular melanomas85. It has also been associated to XP86. VCAM1 encodes the Vascular Cell Adhesion Molecule, associated to melanoma87, and NUP62 encodes the Nuclear pore glycoprotein p62, involved in cell carcinoma proliferation88. ERCC2 produces the XPD protein, mutated in XP group D89.

Discovery of new gene-disease associations with clustering

Another illustration of the advantages of multiplex-heterogeneous network embedding is clustering. We identify clusters with spectral K-means, and focus more particularly on the clusters containing HGPS and Xeroderma pigmentosum VII disease nodes. Clustering is particularly interesting as it can be applied directly on the embeddings without supervised training. In addition, it has been shown that clustering from embeddings outperforms the other methods for the detection of biological communities4.

Cluster containing the HGPS disease node

The cluster containing the HGPS disease node (see Fig. 5) contains the LMNA node. LMNA mutations have been observed in many diseases that also belong to the identified cluster, including the Heart-hand syndrome (Slovenian type)90, lipodystrophy associated with mandibuloacral dysplasia91, the Charcot-Marie-Tooth disease, type 2B192, LMNA-related muscular distrophy, and different cardiac diseases caused by LMNA mutations93.

Figure 5
figure 5

Cluster containing the HGPS disease node. Disease-Disease edges from the disease multiplex network are represented in green (shared symptoms) and blue (CTD projection). Gene-Gene edges from the molecular multiplex network are represented in pink (Reactome pathways), red (protein-protein interactions) and orange (molecular complexes). Gene-Disease bipartite interactions are represented with black dashed lines.

We also analysed the cluster’s genes annotations with g:Profiler94 (default parameters). We found significant enrichments in several annotations related to cell nuclear organization. One of the most significant enrichments is nuclear envelope, involving the following genes: EMD, LEMD2, LMNA, KPNA1, MLIP, TMEM43, and ZMPSTE24. HGPS is a disorder of the nuclear envelope95.

Cluster containing the Xeroderma pigmentosum VII disease node

We also analysed the cluster containing the Xeroderma pigmentosum VII disease node (Fig. 6). The cluster contains different diseases, including Xeroderma pigmentosum with normal DNA repair rates, and Cerebro-oculo-facio-skeletal syndrome 4, which is also a nuclear-excision repair disorder96.

Figure 6
figure 6

Cluster containing the Xeroderma pigmentosum VII disease node. Gene-Gene edges from the molecular multiplex network are represented in pink (Reactome pathways), red (protein-protein interactions) and orange (molecular complexes). Gene-Disease bipartite interactions are represented with black dashed lines.

Several genes known for their implication in XP are present in the cluster, such as ERCC1, ERCC4, ERCC5, XPA and XPC97. Using the complete list of genes in the cluster as an input for g:Profiler94 (default parameters), we identified several significantly enriched annotations. Among them, we can cite nucleotide-excision DNA repair, defective DNA repair after ultraviolet radiation damage or response to ultraviolet radiation. XP patients show important impairments in these biological processes79. SPRTN is another gene of interest. It encodes a metalloprotease that repairs DNA-protein crosslinks. SPRTN does not share interactions with genes known to be mutated in XP, but has been shown to be involved in UV sensibilization and cancer98.

Discussion and conclusion

We present in this study MultiVERSE, a new approach for multiplex and multiplex-heterogeneous network embedding. MultiVERSE is fully parallelized and scalable, even if the current implementation requires the generation of dense matrices, which can raise memory issues when dealing with very large networks.

For multiplex network embedding, we compared MultiVERSE with state-of-the-art methods using link prediction and network reconstruction. We show that MultiVERSE outperforms various methods specifically developed for multiplex network embedding. Our results suggest that there are several advantages to use RWR for the computation of the similarity between nodes: we experimentally demonstrate that methods based on the SkipGram approach with the truncated random walks (such as node2vec-av, deepwalk-av, ohmnet, multi-node2vec and MNE) are less effective to learn node embedding from multiplex networks than MultiVERSE in several contexts. In particular, multi-node2vec, which is an extension of node2vec (and therefore SkipGram) to multiplex networks, shows reduced performance for our evaluation tasks than MultiVERSE. In addition, node2vec-av is also less effective to learn node embeddings from multiplex networks. SkipGram uses a truncated random walk whereas MultiVERSE uses a (non-truncated) global random walk with RWR to compute the similarity. As RWR-M applies a random walk in pseudo-infinite time, it might allow MultiVERSE to effectively capture node properties and a better representation of the topological structure of the multiplex network.

The methods we found in the literature with available code for multiplex network embedding (i.e., ohmnet, multi-node2vec, MNE) are all based on node2vec. Recently, several graph neural networks approaches have been developed for network embedding, including GCN and GAE/VGAE27,28. These methods allow learning high quality embeddings for monoplex networks99. However, to the best of our knowledge, they have not yet been extended to multiplex or multiplex-heterogeneous network embedding. It will be interesting to compare MultiVERSE with this class of graph neural networks approaches once they will be developed for multiplex and multiplex-heterogeneous network embedding.

A natural extension of this work would be to consider multiplex networks composed of both directed and undirected layers. In a biological context, this would allow considering metabolic and signalling pathways networks into a multiplex structure without losing the information about the information flow. In addition, for the optimization phase, we set a neighborhood parameter \(N_{max}\) that depends on the size of the network. A potential improvement could be to develop an adaptive version of the parameter \(N_{max}\) that would depend on node topological properties.

For multiplex-heterogeneous network embedding, MultiVERSE allows the embedding of different types of nodes. We demonstrate its effectiveness for link prediction and illustrate its usefulness for the study of gene-disease associations. We here limited the multiplex-heterogeneous network to two multiplex and one bipartite network. Another natural extension of our work would be to generalize RWR for multiplex-heterogeneous for n multiplex networks and \(n(n-1)/2\) bipartite linking them (\(n \in \mathbb {N}\)). Doing so, one could easily integrate many different types of nodes. The previous discussion about directed networks is in addition also valid for multiplex-heterogeneous network embedding.

By integrating different types of edges for multiplex network embedding or by integrating different types of both edges and nodes for multiplex-heterogeneous network embedding, MultiVERSE could have a wide variety of applications in diverse domains such as network biology and medicine, social science, computer science, neuroscience or physics. Our illustration of MultiVERSE embedding to study gene-disease associations could easily be applied to drug repositioning and drug discovery, for instance with a multiplex drug-drug network, a drug-target bipartite and a molecular multiplex. In this way, genes, diseases and drugs could be projected in the same vector space for further studies. In neuroscience, multiplex-heterogeneous network embedding could be applied to study the links between genes and neurons100. In social science, multiplex networks are gaining interest to understand human behaviour101. Multiplex-heterogeneous network embedding could give insights on epidemic spread102,103, socio-economic systems104 or socio-ecological systems105.