Add Journal to My Library
Journal of Complex Networks
, Volume Advance Article – Jan 23, 2018

10 pages

/lp/ou_press/core-biased-random-walks-in-networks-M9arW4cp3O

- Publisher
- Oxford University Press
- Copyright
- © The authors 2018. Published by Oxford University Press. All rights reserved.
- ISSN
- 2051-1310
- eISSN
- 2051-1329
- D.O.I.
- 10.1093/comnet/cny001
- Publisher site
- See Article on Publisher Site

Abstract A simple strategy to explore a network is to use a random-walk where the walker jumps from one node to an adjacent node at random. It is known that biasing the random jump, the walker can explore every walk of the same length with equal probability, this is known as a maximal entropy random walk (MERW). To construct a MERW requires the knowledge of the largest eigenvalue $$\lambda_1$$ and corresponding eigenvector $$\overline{v}^{(1)}$$ of the adjacency matrix $${\bf A} = \{a_{ij}\}$$, that is global knowledge of the network. When this global information is not available, it is possible to construct a biased random walk which approximates the MERW using only the degree of the nodes, a local property. Here, we show that it is also possible to construct a good approximation to a MERW by biasing the random walk via the properties of the network’s core. We present some examples based on real and artificial networks showing that the core-biased random walk outperforms the degree-biased random walks. 1. Introduction A simple method to explore a network is via a random walk. Properties of the random walk, like the probability that the walker is in a particular node as time tends to infinity or, the time that it would take the walker to visit at least once all the nodes of the network, are dependent on the network’s connectivity. This relationship between the structural properties of the network and the random walk have been used to explore properties of complex networks like community detection [1] or the discovery of the network structure [2]. Here we are interested in biased random walks, and in particular a random walk where the walkers explore every walk with equal probability, known as maximal entropy-rate random walks (MERW) [3]. The MERW has been used to study well known problems in complex networks like link prediction [4], community detection [5] and in practical applications, for example in the discovery of salient objects in an image [6] or in the development of routing algorithms in data-centric networks [7]. To construct a MERW requires the knowledge of the largest eigenvalue and corresponding eigenvector of the adjacency matrix [3], these are global properties of the network which require that, at each step, the random walker knows the whole connectivity of the network, often this knowledge is not available. A good approximation to the MERW using only local properties is the degree biased random walk [8–10]. In this case, the walker jumps from one node to a neighbouring node with a preference based on the degree of the destination node. These degree-biased random walks are also used to understand properties of networks, for example, how to efficiently disperse the information contained in a node [9], in the link prediction problem [11], in the accurate discovery of the network structure in assortative networks [12], in epidemic spreading [13] and more recently the degree biased random walk has been extended to multiplex networks [14]. In here, as an approximation to the MERW, we present a biased random walk where the walker prefers to jump to nodes that are connected to the core of the network. We would justify the proposed biased random walk via a spectral bound of the adjacency matrix and show that this core-biased random walk can outperform the degree-biased random walk. Next section reviews some results about MERW and its approximations based on local walks of a given length. We use these approximations for comparison purposes with the method introduced here. Section 3 introduces the core-biased random walk and how is related to the MERW. In Section 4, we present some examples comparing the core-biased method with the MERW using some real and synthetic networks. Last section is our conclusions. 2. Biased random walks and the maximal rate entropy random walk The connectivity of a finite, undirected and connected network can be described by the symmetric adjacency matrix $${\bf A}$$, where $$a_{ij} = 1$$ if nodes $$i$$ and $$j$$ share a link and zero otherwise. In these networks, a random walker would jump from node $$i$$ to a neighbouring node $$j$$ with a probability $$P_{i\rightarrow j}$$. The probability that the walker is in node $$j$$ at time $$t+1$$ is $$p_j(t+1) = \sum_i a_{ij}P_{i\rightarrow j} p_i(t)$$ or in matrix notation $$\overline{p}(t+1)=\boldsymbol{\pi} \overline{p}(t)$$. If the matrix $$\boldsymbol{\pi}$$ is primitive, then the probability of finding the walker in node $$i$$ as time tends to infinity is given by the stationary distribution $$\overline{p}^*=\{p^*_i\}$$. In a network, the jump probability $$P_{i\rightarrow j}$$ can be expressed as \begin{equation} P_{i\rightarrow j} = \frac{a_{ij}f_j}{\sum_j a_{ij}f_j}, \end{equation} (2.1) where $$f_j$$ is a function of one or several topological properties of the network, in this case the stationary distribution is [9] \begin{equation} p^*_i=\frac{f_i\sum_j a_{ij}f_j}{\sum_n f_n\sum_j a_{nj}f_j}. \end{equation} (2.2) The measure which tell us the minimum amount of information needed to describe the stochastic walk is the entropy rate $$h=\lim_{t\rightarrow\infty}S_t/t$$, where $$S_t$$ is the Shannon entropy of all walks of length $$t$$. There is another definition of entropy rate [15]. If $$\{x_i\}$$ denotes the stochastic process of the random walker, then if the stationary probability of this process exist, the rate entropy $$h'=\lim_{t\rightarrow\infty}S(x_t|x_{t-1},\ldots,x_1)$$, is equal to $$h=\lim_{t\rightarrow\infty}S_t/t$$ [15]. This alternative definition is used when describing random walks. If the random walk is described by a stationary Markov chain then $$\lim_{t\rightarrow\infty}S(x_t|x_{t-1},\ldots,x_1)=S(x_2|x_1)$$ and [15] \begin{equation} h=-\sum_{i=1}^N p^*_i\sum_{j=1}^NP_{i\rightarrow j} \ln (P_{i\rightarrow j}). \end{equation} (2.3) The maximal rate entropy $$h_{\rm max}$$ corresponds to random walks where all the walks of the same length have equal probability. The value of $$h_{\rm max}$$ can be expressed in terms of the spectral properties of the network as follows. If $$|\lambda_1| \ge |\lambda_2|\ge \cdots \ge |\lambda_N|$$ are the eigenvalues of the adjacency matrix $${\bf A}$$, then the number of walks of length $$t$$ is $${W}_t=\sum_{ij}({\bf A}^t)_{ij}$$ where $$({\bf A}^{t})_{ij}$$ denotes the $$i,j$$ entry of the adjacency matrix $${\bf A}$$ raised to the power $$t$$. The number of walks can be expressed in terms of the spectra as $${W}_t = \sum_i a_i^2\lambda_i^t=a_1^2\lambda_1^t(1+(a_2/a_1)^2(\lambda_2/\lambda_1)^t+\cdots )$$, where the $$a_i$$s are constants. From this last expression, the maximal rate entropy is [3] \begin{align} h_{\rm max}&= \lim_{t\rightarrow\infty}\frac{\ln \sum_{ij}({\bf A}^t)_{ij} }{t} =\lim_{t\rightarrow\infty}\left(\frac{1}{t}\right) \ln\left(a_1^2\lambda_1^t(1+(a_2/a_1)^2(\lambda_2/\lambda_1)^t+\cdots )\right)= \ln (\lambda_1). \end{align} (2.4) For the MERW the probability $$P_{i\rightarrow j}$$ is such that all the walks of the same length have equal probability. This probability is determined by considering the proportion of all walks of length $$t$$ that start in node $$i$$ and pass through node $$j$$ relative to all the walks of length $$t$$ that start in node $$i$$, and then take the limit as the walk length tends to infinity [3], that is \begin{equation} P_{i\rightarrow j}=\underset{t\rightarrow\infty}{\lim}\left( \frac{a_{ij}\sum_{k=1}^N({\bf A}^{t-1})_{jk}}{\sum_{k=1}^N a_{ik} \sum_{m=1}^N ({\bf A}^{t-1})_{km}}\right) =\underset{t\rightarrow\infty}{\lim}\left( \frac{a_{ij}({\bf A}^{t-1}\cdot {\bf 1})_{j}}{\sum_{k=1}^N a_{ik} ({\bf A}^{t-1}\cdot {\bf 1})_{k}}\right)\!, \end{equation} (2.5) where the inner sums are expressed as the multiplication of the matrix $${\bf A}^{t-1}$$ with the vector $${\bf 1}$$ which has all its entries equal to 1. The vector $${\bf 1}$$ can be expressed as a linear combination of the eigenvectors of $${\bf A}$$ as $${\bf 1} = \sum_{j=1}^N b_j \overline{v}^{(j)}$$, where $$\overline{v}^{(j)}$$ is the $$j$$-th eigenvector and the $$b_j$$s are constants. The expression $${\bf A^{t-1}}\cdot{\bf 1}=\sum_{j=1}^N b_j \lambda_j^{t-1}\overline{v}^{(j)}$$ in the limit as $$t$$ tends to infinity is $$\lim_{t\rightarrow\infty}({\bf A}^{t-1}\cdot{\bf 1}) = b_1\lambda_1^{t-1} \overline{v}^{(1)}$$ as $$|\lambda_1|\ge |\lambda_i|$$ for all $$i$$, then from this observation, Eq. (2.5) is [3] \begin{equation} P_{i\rightarrow j}=\frac{a_{ij}v_j}{\sum_j a_{ij}v_j}=\frac{a_{ij}v_j}{\lambda_1 v_i}, \end{equation} (2.6) where $$v_i$$ is the $$i$$-th entry of the eigenvector $$\overline{v}^{(1)}$$. For clarity, in the above equation we have drop the superscript labelling the eigenvectors, and from now on, the entries $$v_i$$ would always refer to the eigenvector $$\overline{v}^{(1)}$$. The stationary probability for the MERW is $$p^*_i=v_i^2$$, which can be verified by evaluating that the condition of stationary $$p^*_j=\sum_i a_{ij}(v_j/\lambda_1 v_i)p^*_i$$ is satisfied. From this stationary probability, Eqs (2.6) and (2.3) it can be confirmed that the MERW maximizes the rate entropy. Also it is not difficult to verify that the probability of the walk of length $$t$$ starting from $$i$$ and finishing in $$j$$ is $$p(W^{(t)}_{ij})=(v_i/(\lambda_1 v_a))(v_a/\lambda_1 v_b))\ldots(v_y/(\lambda_1 v_z))(v_z/(\lambda_1 v_j))=v_i/(\lambda_1^t v_j)$$, showing that the probability of the walk $$W^{(t)}_{ij}$$ only depends on the initial and final node and the length of the walk. The implementation of the MERW requires global knowledge of the network connectivity as we need to evaluate the largest eigenvalue–eigenvector pair. If this global knowledge is unavailable then it is possible to approximate the maximal entropy random walk via the node’s degree $$k_i$$ [8, 9] which is a local network property. In this case, walks of length $$t=2$$ have equal probability, as $$({\bf A^{t-1}}\cdot{\bf 1})_i=({\bf A}\cdot{\bf 1})_i={k}_i$$ then the biased jump is \begin{equation} P_{i\rightarrow j} = \frac{a_{ij}({\bf A}\cdot {\bf 1})_{j}}{\sum_{k=1}^N a_{ik} ({\bf A}\cdot {\bf 1})_{k}}= \frac{a_{ij}{k}_j}{\sum_j a_{ij}{k}_j}. \end{equation} (2.7) This degree biased random walk has been extended to \begin{equation} P_{i\rightarrow j}(\alpha) = \frac{a_{ij}{k}_j^\alpha}{\sum_j a_{ij}{k}_j^\alpha}, \end{equation} (2.8) where $$\alpha$$ is a free parameter [10, 14, 16]. The parameter $$\alpha$$ can be adjusted to find the best approximation to the maximal entropy rate. We would use both, Eqs (2.7) and (2.8) for comparison purposes Section 4. It is possible to improve even more the approximation to the maximal rate entropy by considering walks of length three. In this case $$t=3$$, $$({\bf A^{2}}\cdot{\bf 1})_i$$ is the number of walks of length three from node $$i$$. The number of walks of length three from node $$i$$ is equal to the sum of all walks of length two starting from the neighbouring nodes of $$i$$, if we denote the neighbours of $$i$$ with $$i_q$$ then $$({\bf A^{2}}\cdot{\bf 1})_i=\sum_{q=1}^{{k}_i}{k}_{i_q}={k}_i\sum_{q=1}^{{k}_i}{k}_{i_q}/{k}_i={k}_i{k}_i^{(1)}$$ where $${k}^{(1)}_i$$ is the average neighbours degree of node $$i$$, in this case the random jump probability is [10] \begin{equation} P_{i\rightarrow j}= \frac{a_{ij}{k}_j {k}_j^{(1)}}{\sum_j a_{ij}{k}_j{k}_j^{(1)}}. \end{equation} (2.9) We would also consider this average neighbours degree random jump for comparison purposes in Section 4. 3. Core-biased random walk If the largest eigenvalue–eigenvector pair is not known, the MERW results suggests that a good approximation to the largest eigenvector $$\overline{v}^{(1)}$$ could be used to construct a biased random walk. In here, instead of approximating the MERW by considering walks of increasing length, we use a lower bound of $$\lambda_1$$ based on the network’s core, to construct an approximation to the MERW. A lower bound for the largest eigenvalue is $$\lambda_1 \ge ({W}_t/{W}_0)^{1/t}$$, $$t=1,\ldots$$ [17], where $${W}_t = \overline{u}^T{\bf A}^t \overline{u}$$ is the total number of walks of length $$t$$, $${\bf A}$$ is the adjacency matrix and $$\overline{u}$$ is a vector with all its entries equal to one. A lower bound for the number of walks is $${W}_t\le \sum_{i=1}^N {k}_i^t$$ [18], where the equality is true only if $$t \le 2$$. In a network where the nodes are ranked in decreasing order of their degree, the connectivity of the network can be described with the degree sequence $$\{{k}_r\}$$ and the sequence $$\{{k^+}_r \},$$ where $${k^+}_r$$ is the number of links that node $$r$$ shares with nodes of higher rank. A bound of the largest eigenvalue in terms of the $$\{{k^+}_r\}$$ sequence is $$\lambda_1\ge 2\langle {k^+} \rangle_{{r}}$$, where $$\langle{k^+}\rangle_r=(1/r)\sum_{i=1}^r{k^+}_i$$ is the average number of links shared by the top ranked $$r$$ nodes [19]. If $$r=N$$, then we recover the well-known bound $$\lambda_1 \ge {W}_1/{W}_0=2(\sum_i^N{k^+}_i)/N=L/N,$$ where $${W}_0=N$$ is the total number of nodes and $${W}_1=L$$ is the total number of links. Consider the adjacency matrix $${\bf A}$$ of the network where the nodes are ranked in decreasing order of their degree and $$\overline{u}(r)$$ a vector where its first $$r$$ entries are set to one and the rest to zero. The vector $$\overline{z}(r)={\bf A}\overline{u}(r)$$ has entries $$z_i(r)=K^+_i(r)$$, where $$K^+_i(r)$$ is the number of links that node $$i$$ shares with the top $$r$$ ranked nodes, see Fig. 1. Also notice that $$2\langle {k^+} \rangle_{{r}}=(\overline{u}^T(r)\,{\bf A}\,\overline{u}(r))/r$$. As $$2\langle {k^+} \rangle_{{r}}$$ is a lower approximation to $$\lambda_1$$, then $$\overline{z}(r)$$ gives an approximation to the eigenvector $$\overline{v}^{(1)}$$. Fig. 1. View largeDownload slide (a) Example of simple network where the nodes are ranked in decreasing order of their degree. The core is the top three ranked nodes, shown in the shaded area. (b) Multiplying the adjacency matrix of this network by the vector with the top three entries equal to 1 and the rest equal to 0 gives the number of links $$K^+_i$$ that the nodes share with the core. Notice that node 1, even that is the best connected node, has few connections with the core and node 4, which is not in the core, is well connected with the core. Node 9 has $$K_9^+=0$$ as it does not shares a link with the core. Fig. 1. View largeDownload slide (a) Example of simple network where the nodes are ranked in decreasing order of their degree. The core is the top three ranked nodes, shown in the shaded area. (b) Multiplying the adjacency matrix of this network by the vector with the top three entries equal to 1 and the rest equal to 0 gives the number of links $$K^+_i$$ that the nodes share with the core. Notice that node 1, even that is the best connected node, has few connections with the core and node 4, which is not in the core, is well connected with the core. Node 9 has $$K_9^+=0$$ as it does not shares a link with the core. This bound based on $$\{{k^+}_i\}$$ suggests a core-biased random walk. If the top $$r$$ ranked nodes are the core of the network, then a core-biased random jump is $$P_{i\rightarrow j}(r) = a_{ij}K^+_j(r)/\sum_j (a_{ij}K^+_j(r))$$. But it is possible that $$K^+_j(r)=0$$ if node $$j$$ has no links with the network’s core and then the random walk will be ill-defined. To avoid this situation, we propose \begin{equation} P_{i\rightarrow j}(r) = \frac{a_{ij}(K^+_j(r)+1)}{\sum_j^N a_{ij}(K^+_j(r)+1)}. \end{equation} (3.1) As we want to have the best possible approximation to the maximal rate entropy $$h_{\rm max}$$ we define the core as the value of $$r$$ which maximizes the value of $$h(r)$$, that is \begin{align} r_c= \underset{r}{\mathrm{argmax}} \left( h(r) \right)\!. \end{align} (3.2) The core are the nodes ranked from $$1$$ to $$r_c$$. The value of $$h(r)$$ is evaluated numerically from the core-biased random jump $$P_{i\rightarrow j}(r)$$ given by Eq. (2.1) with $$f_j=K^+_j(r)+1$$, then evaluating the stationary distribution $$\{p^*_i\}$$ (Eq. 2.2) and from this distribution the rate entropy $$h(r)$$ (Eq. (2.3)). Practically to implement this method from the perspective of the random walker, the walker needs to know the number of neighbours that node $$j$$ has with the core. The number of neighbours of node $$j$$ is a local property but, to measure how many of these neighbours are in the core requires the rank of the neighbouring nodes and the rank $$r_c$$ which defines the core, which are global properties. If there is no core $$r_c=0$$ then $$K^+_i=0$$ and we recover a random walk with $$P_{i\rightarrow j} = 1/{k}_i$$. The other extreme is if $$r=N$$, that is all nodes are the core, in this case there is no point to check if the second neighbours of $$j$$ are in the core, as they will be, so $$K^+_j={k}_j$$ and $$P_{i\rightarrow j}=a_{ij}(1+{k}_j)/({k}_i+\sum_j {k}_j)$$, which takes into consideration the walks of length one and two. The evaluation of the core is done by searching the value of $$r$$ that maximizes $$h(r)$$ (Eq. (3.2)). This operation requires the full knowledge of the network connectivity hence the computational complexity is $$O(L)$$ where $$L$$ is the number of links in the network, which is the same computational complexity as for the MERW. This compares unfavourably with the degree-biased random walk which has computational complexity of $$O(\langle {k} \rangle)$$ [10] as it requires, on average, the degree of the neighbouring nodes. However, it is possible to create a core-biased random walk which has $$O(\langle {k} \rangle)$$ computational complexity. If the overall ranking of the nodes it is not known but we assume that the core are the nodes with degree greater than $$k^*$$, then we can redefine $$K^+_j(k^*)$$ as the number of links that node $$j$$ has with nodes of degree higher or equal to $$k^*$$ and \begin{equation} P_{i\rightarrow j} = \frac{a_{ij}(K^+_j(k^*)+1))}{\sum_j a_{ij}(K^+_j(k^*)+1)} \end{equation} (3.3) is the jump probability of a biased random walk. Clearly, this will not give the best approximation to $$h_{\rm max}$$ as we have not put any restriction on the degree $$k^*$$ but as shown in next section this biased random walk can give a good approximation to $$h_{\rm max}$$. 4. Examples We consider four examples. The first example is about the behaviour of the rate entropy $$h(r)$$ as a function of the rank $$r$$ for different real networks. We show that the core-biased random walk gives a better approximation to the MERW than the degree biased method. More interestingly, in some networks the core biased gives a better approximation to the average neighbours degree method. The second example is similar to the first example as we compare the approximations to the MERW for different real and synthetic networks. However in this example, we also show that the approximation based on the guess of which nodes form the core can outperform the degree biased method. The third and fourth examples are related to properties of two characteristic times associated with the random walk. The third example considers the mixing time for the network of airports. The mixing time is the number of steps for the initial distribution $$\{p_i(0)\}$$ to reach the stationary distribution $$\{p^*_i\}$$. This time has practical applications, for example, the mixing time is one of the methods to decide how long it will take for the random walker to collect information about the network and get a sample result which is good enough. The example illustrates that the MERW has the fastest convergence compared to the approximations and the normal random walk. The fourth and last example presents the return time for the Airports network. This time is the average time that takes to return to the starting node of the walk. In some networks, the MERW has the property that the random walker can spend a very long time visiting a selection of nodes compared with a non-biased walk [3]. This behaviour would be reflected in the return time as there would be starting nodes that take a relatively very long time for the walker to return to them. We compare the return time of the MERW against its approximations. In the first example, we consider three real networks, the AS-Internet, the network of co-authors for physicist researching in high energy physics (Hep-Th) and an electrical distribution network (Power network). Figure 2 shows $$h(r)/h_{\rm max}$$ against the size of the core $$r$$ for these networks. The maximal entropy $$h_{\rm max}=\ln \lambda_1$$ was evaluated from the diagonalization of the adjacency matrix $${\bf A}$$. In the figure, for comparison purposes, the bottom horizontal line shows the ratio $$h/h_{\rm max}$$ for the degree-biased random walk (Eq. (2.7)), the middle horizontal line for the degree-biased random walk where the value of $$\alpha$$ maximizes $$h$$ (Eq. (2.8)) and the top horizontal line the case when the average neighbours degree is included (Eq. (2.9)). Fig. 2. View largeDownload slide Ratio $$h/h_{\rm max}$$ for (a) the AS-Internet, (b) HepTh and (c) power networks. The vertical lines show the value of $$r$$ when $$h$$ is maximal. The horizontal lines are different maximal values of $$h$$ obtained from degree-biased method (Eq. (2.8)) (bottom and middle) and average-neighbours degree-biased method (Eq. (2.9)) (top line). The middle horizontal line was obtained when $$\alpha=0.64$$, $$\alpha=1.39$$ and $$\alpha=1.60$$ which maximizes the value of $$h$$ for the AS-Internet, HepTh and Power networks, respectively. Fig. 2. View largeDownload slide Ratio $$h/h_{\rm max}$$ for (a) the AS-Internet, (b) HepTh and (c) power networks. The vertical lines show the value of $$r$$ when $$h$$ is maximal. The horizontal lines are different maximal values of $$h$$ obtained from degree-biased method (Eq. (2.8)) (bottom and middle) and average-neighbours degree-biased method (Eq. (2.9)) (top line). The middle horizontal line was obtained when $$\alpha=0.64$$, $$\alpha=1.39$$ and $$\alpha=1.60$$ which maximizes the value of $$h$$ for the AS-Internet, HepTh and Power networks, respectively. In the figure, the circles show the ratio $$h(r)/h_{\rm max}$$ against the size of the core for the core-biased random jump given by Eq. (3.1). For the three networks, there is a large interval in the rank $$r$$ where the core-biased random walk performs better than the degree-biased random walk (bottom and middle horizontal lines), and in the HepTh network there are values of $$r$$ where the core-biased random walk is better than the method considering the average neighbours degree (top line). For the Power network, the approximation to $$h_{\rm max}$$ is not as good as for the AS-Internet or the HepTh. The reason is that the vector $$\overline{z}(r)$$ with entries $$z_i(r)=K^+_i(r)$$ gives a poor approximation to the eigenvector $$\overline{v}^{(1)}$$ [19]. The vertical lines show the rank $$r$$ where $$h(r)$$ is maximal. If we define the core of the network at this value, then the core size is relatively small. The ratio of number of nodes in the core to the total number of nodes, $$r_c/N$$, is 1.6% for the AS-Internet, 2.6% for the HepTh and 5.5% for the Power network. The results for the second example are in Table 1 which compares $$h/h_{\rm max}$$ for some real and artificial networks when using different biased walks. In the table, the first five network entries are data from real networks and the last five are synthetic networks. The entry Random is a Erdös–Rényi random network, ‘Power law’ refers to power law networks with different assortativity coefficient and Regular is a random regular network. In general, the biased random walks based on the average neighbours degree (Eq. (2.9)) outperforms the core-biased method except for the Les-mis network. The core-biased method outperforms the degree biased and the weighted degree biased methods. The last column shows the ratio $$h/h_{\rm max}$$ where $$h$$ is obtained from Eq. (3.3) for $$k^*=4$$, that is, the nodes with degree higher than 4 are considered the core of the network. This crude definition of the core can give a better approximation of $$h_{\rm max}$$ than the degree-biased method. We also noticed that the assortativity of the network or the size of the core are not correlated with the values of the rate entropy $$h$$. Table 1 Comparison of the ratio $$h/h_{\rm max}$$ obtained using the core-biased method ($$h_c/h_{\rm max})$$, degree-biased method ($$h_k/h_{\rm max}$$, $$\alpha=1$$), weighted degree-biased ($$h_{\alpha}/h_{\rm max}$$) and average neighbours degree biased method ($$h/h_{kk^{(1)}}$$). The column labelled by $$\alpha$$ shows the value of this parameter that maximizes the entropy for $$h_\alpha$$. Next column shows the relative size of the core $$r/N$$ for the core-biased method. The parameter $$\rho$$ is the assortativity coefficient [20]. The last column is $$h_{k^*=4}/h_{\rm max}$$ obtained from the core $$k^*=4$$ biased method (Eq. (3.3)) Network $$h_c/h_{\rm max}$$ $$h_k/h_{\rm max}$$ $$h_{\alpha}/h_{\rm max}$$ $$h/h_{kk^{(1)}}$$ $$r/N$$ $$\alpha$$ $$\rho$$ $$h_{k^*=4}/h_{\rm max}$$ Airports 0.999 0.991 0.995 0.999 0.136 0.755 $$-$$0.267 0.994 CondMat 0.945 0.885 0.905 0.953 0.039 1.291 0.157 0.891 NetSci 0.914 0.890 0.891 0.934 0.137 1.047 $$-$$0.081 0.897 Football 0.998 0.998 0.998 0.999 0.913 1.472 0.162 0.996 LesMis 0.997 0.981 0.982 0.993 0.350 0.941 $$-$$0.165 0.986 Random 0.983 0.981 0.982 0.992 0.449 1.086 $$-$$0.045 0.980 Power law 0.972 0.960 0.967 0.989 0.227 1.145 $$-$$0.004 0.980 Power law 0.970 0.965 0.965 0.985 0.489 1.000 $$-$$0.245 0.970 Power law 0.980 0.951 0.968 0.991 0.126 1.291 0.222 0.954 Regular 1.000 1.000 1.000 1.000 1.000 — — 1.000 Network $$h_c/h_{\rm max}$$ $$h_k/h_{\rm max}$$ $$h_{\alpha}/h_{\rm max}$$ $$h/h_{kk^{(1)}}$$ $$r/N$$ $$\alpha$$ $$\rho$$ $$h_{k^*=4}/h_{\rm max}$$ Airports 0.999 0.991 0.995 0.999 0.136 0.755 $$-$$0.267 0.994 CondMat 0.945 0.885 0.905 0.953 0.039 1.291 0.157 0.891 NetSci 0.914 0.890 0.891 0.934 0.137 1.047 $$-$$0.081 0.897 Football 0.998 0.998 0.998 0.999 0.913 1.472 0.162 0.996 LesMis 0.997 0.981 0.982 0.993 0.350 0.941 $$-$$0.165 0.986 Random 0.983 0.981 0.982 0.992 0.449 1.086 $$-$$0.045 0.980 Power law 0.972 0.960 0.967 0.989 0.227 1.145 $$-$$0.004 0.980 Power law 0.970 0.965 0.965 0.985 0.489 1.000 $$-$$0.245 0.970 Power law 0.980 0.951 0.968 0.991 0.126 1.291 0.222 0.954 Regular 1.000 1.000 1.000 1.000 1.000 — — 1.000 The best approximations are shown in bold. Table 1 Comparison of the ratio $$h/h_{\rm max}$$ obtained using the core-biased method ($$h_c/h_{\rm max})$$, degree-biased method ($$h_k/h_{\rm max}$$, $$\alpha=1$$), weighted degree-biased ($$h_{\alpha}/h_{\rm max}$$) and average neighbours degree biased method ($$h/h_{kk^{(1)}}$$). The column labelled by $$\alpha$$ shows the value of this parameter that maximizes the entropy for $$h_\alpha$$. Next column shows the relative size of the core $$r/N$$ for the core-biased method. The parameter $$\rho$$ is the assortativity coefficient [20]. The last column is $$h_{k^*=4}/h_{\rm max}$$ obtained from the core $$k^*=4$$ biased method (Eq. (3.3)) Network $$h_c/h_{\rm max}$$ $$h_k/h_{\rm max}$$ $$h_{\alpha}/h_{\rm max}$$ $$h/h_{kk^{(1)}}$$ $$r/N$$ $$\alpha$$ $$\rho$$ $$h_{k^*=4}/h_{\rm max}$$ Airports 0.999 0.991 0.995 0.999 0.136 0.755 $$-$$0.267 0.994 CondMat 0.945 0.885 0.905 0.953 0.039 1.291 0.157 0.891 NetSci 0.914 0.890 0.891 0.934 0.137 1.047 $$-$$0.081 0.897 Football 0.998 0.998 0.998 0.999 0.913 1.472 0.162 0.996 LesMis 0.997 0.981 0.982 0.993 0.350 0.941 $$-$$0.165 0.986 Random 0.983 0.981 0.982 0.992 0.449 1.086 $$-$$0.045 0.980 Power law 0.972 0.960 0.967 0.989 0.227 1.145 $$-$$0.004 0.980 Power law 0.970 0.965 0.965 0.985 0.489 1.000 $$-$$0.245 0.970 Power law 0.980 0.951 0.968 0.991 0.126 1.291 0.222 0.954 Regular 1.000 1.000 1.000 1.000 1.000 — — 1.000 Network $$h_c/h_{\rm max}$$ $$h_k/h_{\rm max}$$ $$h_{\alpha}/h_{\rm max}$$ $$h/h_{kk^{(1)}}$$ $$r/N$$ $$\alpha$$ $$\rho$$ $$h_{k^*=4}/h_{\rm max}$$ Airports 0.999 0.991 0.995 0.999 0.136 0.755 $$-$$0.267 0.994 CondMat 0.945 0.885 0.905 0.953 0.039 1.291 0.157 0.891 NetSci 0.914 0.890 0.891 0.934 0.137 1.047 $$-$$0.081 0.897 Football 0.998 0.998 0.998 0.999 0.913 1.472 0.162 0.996 LesMis 0.997 0.981 0.982 0.993 0.350 0.941 $$-$$0.165 0.986 Random 0.983 0.981 0.982 0.992 0.449 1.086 $$-$$0.045 0.980 Power law 0.972 0.960 0.967 0.989 0.227 1.145 $$-$$0.004 0.980 Power law 0.970 0.965 0.965 0.985 0.489 1.000 $$-$$0.245 0.970 Power law 0.980 0.951 0.968 0.991 0.126 1.291 0.222 0.954 Regular 1.000 1.000 1.000 1.000 1.000 — — 1.000 The best approximations are shown in bold. In this third example, we consider the mixing time of the Airports networks. Here we are only considering networks which are undirected, connected and not bipartite, that means that in the transition $$\overline{p}(t+1)=\boldsymbol{\pi}\overline{p}(t)$$ the matrix $$\boldsymbol{\pi}$$ is primitive and as a consequence as time tends to infinity the probability that the walker is in node $$i$$ is the stationary probability $$p^*_i$$. The transition probability is a Markov chain that can be written as $$\overline{p}(t) = \boldsymbol{\pi}^t \overline{p}(0)$$ where $$\overline{p}(0)$$ is the initial distribution at time $$t=0$$. The mixing time is measured by considering how ‘close’ is the initial distribution to the stationary distribution after time $$t$$. Let $$i$$ be a starting node at time $$t=0$$ and $$P_{i\rightarrow j}^{(t)}$$ the distribution of the walk at time equal $$t$$. The variational distance $$d(t)=\max_{i}(1/2\sum_j |P_{i\rightarrow j}^{(t)}-p^*_j|)$$, with $$i=1,\ldots, N$$, tell us how close is the initial distribution to the stationary distribution at time $$t$$. The mixing rate is how fast the random walk converges to the stationary distribution and it is given by the maximal eigenvalue of $$\boldsymbol{\pi}$$ which is strictly smaller than 1. The eigenvalues $$\omega_i$$ of $$\boldsymbol{\pi}$$ can be ordered such that $$\omega_1=1> \omega_2>\omega_3\cdots$$, then the convergence is $$d(t)\sim c \omega_2^t$$ as $$t$$ tends to infinity, where $$c$$ is a constant. The term $$ \omega_2^t$$ is small if $$t$$ is larger than $$-1/\log(\omega_2)$$. However, is common that if the state space of the Markov chain is large then $$\omega_2$$ is close to $$1$$, so to make $$d(t)$$ small the time $$t$$ should be bigger than $$t_{\rm rel}=1/(1-\omega_2)$$. If $$t_{\rm mix}$$ is the time such that $$d(t_{\rm mix})\le \epsilon$$ with $$0<\epsilon <1$$ then [21, 22] \begin{equation} (t_{\rm rel}-1)\log\left( \frac{1}{2\epsilon}\right) \le t_{\rm mix}(\epsilon) \le \log\left( \frac{1}{\epsilon p^*_{\rm min}}\right)t_{\rm rel}, \end{equation} (4.1) where $$p^*_{\rm min}$$ is the minimal value of $$p^*_i$$ for $$i=1,\dots , N$$. We evaluate this mixing time for the networks studied here, and Table 2 shows an example of the $$t_{\rm mix}$$ bounds obtained for the Airports network. In general we noticed that for all the networks considered here, the MERW mixing time is shorter than the other methods, and the random walk is the largest. Table 2 Mixing time for the airport network for different biased random walks when $$\epsilon=10^{-4}$$ $$t_{\rm rel}$$ $$p^*_{\rm min}$$ $$t_{\rm mix}$$ Random 37.0 $$1.6\times 10^{-4}$$ (302,653) MERW 1.6 $$7.0\times 10^{-13}$$ (5,60) Core 5.2 $$3.1\times 10^{-7}$$ (35,124) Degree 5.5 $$1.4\times 10^{-7}$$ (36,133) Av. Neigh 2.3 $$2.7\times 10^{-9}$$ (11,66) $$t_{\rm rel}$$ $$p^*_{\rm min}$$ $$t_{\rm mix}$$ Random 37.0 $$1.6\times 10^{-4}$$ (302,653) MERW 1.6 $$7.0\times 10^{-13}$$ (5,60) Core 5.2 $$3.1\times 10^{-7}$$ (35,124) Degree 5.5 $$1.4\times 10^{-7}$$ (36,133) Av. Neigh 2.3 $$2.7\times 10^{-9}$$ (11,66) Table 2 Mixing time for the airport network for different biased random walks when $$\epsilon=10^{-4}$$ $$t_{\rm rel}$$ $$p^*_{\rm min}$$ $$t_{\rm mix}$$ Random 37.0 $$1.6\times 10^{-4}$$ (302,653) MERW 1.6 $$7.0\times 10^{-13}$$ (5,60) Core 5.2 $$3.1\times 10^{-7}$$ (35,124) Degree 5.5 $$1.4\times 10^{-7}$$ (36,133) Av. Neigh 2.3 $$2.7\times 10^{-9}$$ (11,66) $$t_{\rm rel}$$ $$p^*_{\rm min}$$ $$t_{\rm mix}$$ Random 37.0 $$1.6\times 10^{-4}$$ (302,653) MERW 1.6 $$7.0\times 10^{-13}$$ (5,60) Core 5.2 $$3.1\times 10^{-7}$$ (35,124) Degree 5.5 $$1.4\times 10^{-7}$$ (36,133) Av. Neigh 2.3 $$2.7\times 10^{-9}$$ (11,66) The final example shows a particular characteristic of the MERW. In some networks, the random walker can spend a very long time visiting a small selection of nodes compared with a non-biased walk. To get an idea if this is the case in the Airports network we evaluated the return time $$\tau_i$$. This quantity refers to the time that takes the random walker to return to the starting node $$i$$ and can be evaluated from the stationary probability as $$\tau_i=1/p^*_i$$. If this time is large, that is $$p_i$$ is small, the walker must be spending a large amount of time somewhere else in the network before returning to the starting node. Figure 3 compares the return time for the core and degree biased walks against the MERW for the Airports network. The figure shows the return time for every node in the network. In the figure, the solid line shows when the return time for the biased walks and the MERW are identical. Figure 3(a) show that the core-biased random walk approximates better the MERW than the degree biased walk (Fig. 3(b)), as in the degree biased, the dispersion from the diagonal line is larger. The upper right hand corner of the figures show that the MERW return time for some nodes can be up to six order of magnitude larger than the core- or degree-biased walks. This is an example where, in the MERW, the walker would spend a long time somewhere else in the network. Notice that the core and degree method have similar return times for all nodes (Fig. 3(c)). Fig. 3. View largeDownload slide Comparison of the return time of (a) the core-biased walks return time $$\tau^{(c)}_i$$ against the MERW $$\tau^{(M)}_i$$, where the subindex $$i$$ labels the starting node. (b) Comparison between the return time of the degree-biased walks $$\tau_i^{(k)}$$ against the MERW and (c) comparison between the core- and degree-biased return times. Fig. 3. View largeDownload slide Comparison of the return time of (a) the core-biased walks return time $$\tau^{(c)}_i$$ against the MERW $$\tau^{(M)}_i$$, where the subindex $$i$$ labels the starting node. (b) Comparison between the return time of the degree-biased walks $$\tau_i^{(k)}$$ against the MERW and (c) comparison between the core- and degree-biased return times. The data set for the networks CondMat, NetSci, Football, HepTh, Power and LesMis are available from M. Newman’s web page (http://www-personal.umich.edu~mejn/netdata/. The AS-Internet from https://snap.stanford.edu and the airport networks from https://toreopsahl.com/datasets/. The Erdos–Renyi, Power law and Regular random were generated with igraph. 5. Conclusions Commonly, the maximal rate entropy random walk is approximated by considering that all walks of a given length are visited with equal probability. In here, we explored a different approach, the approximation is based on the properties of the well-connected nodes. By considering the well-connected nodes as the core of the network, the random walker prefers to visit walks that are in the core or are linked to the core. The motivation of using this approach comes from the properties of the MERW jump probability where this probability from one node to a neighbouring node is related to the entries of the eigenvector centrality corresponding to the node and its neighbour. The ranking of the nodes in decreasing order of their degree can give an approximation to the eigenvector centrality as it has been observed that in many networks the degree and eigenvector centralities are correlated. What we have used here is that, once the nodes are ranked, the approximation to the eigenvector centrality can be improved by considering only the connectivity between the nodes that form the core. This approach was motivated by a previous result relating a bound of the largest eigenvalue of the adjacency matrix with the connectivity of the core. The core-biased random walk gives a better approximation to the MERW than the degree biased and for some networks better than the average neighbours degree biased method. The core biased requires the full knowledge of the network connectivity which compares unfavourably with degree and average neighbour degree which only need local knowledge of the network. However, it is possible to construct a core-biased method based in local knowledge by guessing the minimal degree of the nodes that form the core. This crude approach can give a better approximation of the MERW than the degree biased method. The core-biased random walk, similarly to the degree and average neighbours degree methods, has a fast mixing time which is an important characteristic to have if the random walk is used in the discovery of network structure. References 1. Rosvall M. & Bergstrom C. T. ( 2008) Maps of random walks on complex networks reveal community structure. Proc. Natl. Acad. Sci. USA , 105, 1118– 1123. Google Scholar CrossRef Search ADS 2. Yoon S., Lee S., Yook S.-H. & Kim Y. ( 2007) Statistical properties of sampled networks by random walks. Phys. Rev. E , 75, 046114. Google Scholar CrossRef Search ADS 3. Burda Z., Duda J., Luck J.-M. & Waclaw B. ( 2009) Localization of the maximal entropy random walk. Phys. Rev. Lett. , 102, 160602. Google Scholar CrossRef Search ADS PubMed 4. Li R.-H., Yu J. X. & Liu J. ( 2011) Link prediction: the power of maximal entropy random walk. Proceedings of the 20th ACM International Conference on Information and Knowledge Management ( Berendt B. de Vries A. Fan W. MacDonald C. Ounis I. and Ruthven I. eds), Glasgow, UK: ACM, pp. 1147– 1156. 5. Ochab J. K. & Burda Z. ( 2013) Maximal entropy random walk in community detection. Eur. Phys. J. Spec. Top. , 216, 73– 81. Google Scholar CrossRef Search ADS 6. Yu J.-G., Zhao J., Tian J. & Tan Y. ( 2014) Maximal entropy random walk for region-based visual saliency. IEEE Trans. Cybern. , 44, 1661– 1672. Google Scholar CrossRef Search ADS PubMed 7. Leibnitz K., Shimokawa T., Peper F. & Murata M. ( 2013) Maximum entropy based randomized routing in data-centric networks. Network Operations and Management Symposium (APNOMS), 2013 15th Asia-Pacific . Hiroshima, Japan: IEEE, pp. 1– 6. 8. Fronczak A. & Fronczak P. ( 2009) Biased random walks in complex networks: the role of local navigation rules. Phys. Rev. E , 80, 016107. Google Scholar CrossRef Search ADS 9. Gómez-Gardeñes J. & Latora V. ( 2008) Entropy rate of diffusion processes on complex networks. Phys. Rev. E , 78, 065102. Google Scholar CrossRef Search ADS 10. Sinatra R., Gómez-Gardenes J., Lambiotte R., Nicosia V. & Latora V. ( 2011) Maximal-entropy random walks in complex networks with limited information. Phys. Rev. E , 83, 030103. Google Scholar CrossRef Search ADS 11. Liu W. & Lü L. ( 2010) Link prediction based on local random walk. Europhys. Lett. , 89, 58007. Google Scholar CrossRef Search ADS 12. Yook S.-H., Yun Y.-k. & Kim Y. ( 2010) Biased random walk sampling on assortative networks. J. Korean Phys. Soc. , 56, 990– 993. Google Scholar CrossRef Search ADS 13. Pu C., Li S. & Yang J. ( 2015) Epidemic spreading driven by biased random walks. Phys. A , 432, 230– 239. Google Scholar CrossRef Search ADS 14. Battiston F., Nicosia V. & Latora V. ( 2016) Efficient exploration of multiplex networks. N. J. Phys. , 18, 043035. Google Scholar CrossRef Search ADS 15. Cover T. M. & Thomas J. A. ( 2012) Elements of Information Theory . New Jersey, USA: John Wiley & Sons. 16. Bonaventura M., Nicosia V. & Latora V. ( 2014) Characteristic times of biased random walks on complex networks. Phys. Rev. E , 89, 012803. Google Scholar CrossRef Search ADS 17. Van Mieghem P. ( 2010) Graph Spectra for Complex Networks . Cambridge, UK: Cambridge University Press. Google Scholar CrossRef Search ADS 18. Fiol M. A. & Garriga E. ( 2009) Number of walks and degree powers in a graph. Discrete Math. , 309, 2613– 2614. Google Scholar CrossRef Search ADS 19. Mondragón R. J. ( 2016) Network partition via a bound of the spectral radius. J. Complex Netw. , 5, 513– 526. Google Scholar CrossRef Search ADS 20. Newman M. E. ( 2002) Assortative mixing in networks. Phys. Rev. Lett. , 89, 208701. Google Scholar CrossRef Search ADS PubMed 21. Berestycki N. ( 2014) Lectures on Mixing Times . Cambridge University. 22. Sinclair A. ( 1992) Improved bounds for mixing rates of Markov chains and multicommodity flow. Combin., Probab. Comput. , 1, 351– 370. Google Scholar CrossRef Search ADS © The authors 2018. Published by Oxford University Press. All rights reserved.

Journal of Complex Networks – Oxford University Press

**Published: ** Jan 23, 2018

Loading...

personal research library

It’s your single place to instantly

**discover** and **read** the research

that matters to you.

Enjoy **affordable access** to

over 18 million articles from more than

**15,000 peer-reviewed journals**.

All for just $49/month

Query the DeepDyve database, plus search all of PubMed and Google Scholar seamlessly

Save any article or search result from DeepDyve, PubMed, and Google Scholar... all in one place.

Get unlimited, online access to over 18 million full-text articles from more than 15,000 scientific journals.

Read from thousands of the leading scholarly journals from *SpringerNature*, *Elsevier*, *Wiley-Blackwell*, *Oxford University Press* and more.

All the latest content is available, no embargo periods.

## “Hi guys, I cannot tell you how much I love this resource. Incredible. I really believe you've hit the nail on the head with this site in regards to solving the research-purchase issue.”

Daniel C.

## “Whoa! It’s like Spotify but for academic articles.”

@Phil_Robichaud

## “I must say, @deepdyve is a fabulous solution to the independent researcher's problem of #access to #information.”

@deepthiw

## “My last article couldn't be possible without the platform @deepdyve that makes journal papers cheaper.”

@JoseServera

DeepDyve ## Freelancer | DeepDyve ## Pro | |
---|---|---|

Price | FREE | $49/month |

Save searches from | ||

Create lists to | ||

Export lists, citations | ||

Read DeepDyve articles | Abstract access only | Unlimited access to over |

20 pages / month | ||

PDF Discount | 20% off | |

Read and print from thousands of top scholarly journals.

System error. Please try again!

or

By signing up, you agree to DeepDyve’s Terms of Service and Privacy Policy.

Already have an account? Log in

Bookmark this article. You can see your Bookmarks on your DeepDyve Library.

To save an article, **log in** first, or **sign up** for a DeepDyve account if you don’t already have one.

All DeepDyve websites use cookies to improve your online experience. They were placed on your computer when you launched this website. You can change your cookie settings through your browser.

ok to continue