scieee AI-readable full text Open interactive document viewer

Degree-Biased Advection-Diffusion on undirected graphs/networks

Miranda, Manuel,Estrada, Ernesto

Abstract

M.M. thanks financial support PRE2020-092875 by MCIN/AEI /10.13039/501100011033 and by FSE invierte en tu futuro. E.E. thanks Grant PID2019-107603GB-I00 by MCIN/ AEI /10.13039/501100011033.

Full text

Math. Model. Nat. Phenom. 17 (2022) 30 Mathematical Modelling of Natural Phenomena https://doi.org/10.1051/mmnp/2022034 www.mmnp-journal.org DEGREE-BIASED ADVECTION–DIFFUSION ON UNDIRECTED GRAPHS/NETWORKS Manuel Miranda and Ernesto Estrada* Abstract. There are several phenomena in nature governed by simultaneous or intermittent diffusion and advection processes. Many of these systems are networked by their own nature. Here we propose a degree-biased advection processes to undirected networks. For that purpose we define and study the degree-biased advection operator. We then develop a degree-biased advection–diffusion equation on networks and study its general properties. We give computational evidence of the utility of this new model by studying artificial graphs as well as a real-life patched landscape network in southern Madagascar. In the last case we show that the foraging movement of the species L. catta in this environment occurs mainly in a diffusive way with important contributions of advective motions in agreement with previous empirical observations. Mathematics Subject Classification. 05C50, 05C21, 05C90, 15A18, 47N60, 92B99 Received November 22, 2021. Accepted July 26, 2022. 1. Introduction Advection/diffusion processes appear very frequently in many geological, biological and man-made systems [26]. This kind of processes are characterized by having a quantity that tends to expand evenly in all directions (diffusion) while it is affected by an external force, that drifts the expansion of that quantity in some preferred directions (advection). In the case of ecological systems, for instance, such advective phenomenon describes motion of species towards good resources like nutrients or against noxious stimuli like predators. This combination of advective and diffusive motions could end up with species moving across the whole system with higher concentrations around the nutrients and/or lower concentrations near the predators. In geology, for instance, when there is a layered permeable system with flow predominately parallel to the bedding, the transport of solute through the more permeable layers is dominated by advection, while in less permeable layers molecular diffusion controls the transport [20]. Similar processes governs also other geological and man-made systems such as transport in rivers and drainage networks [1]. In biological systems, including fungi, organs, vascular networks and plants, the transport of resources for metabolism and growth is frequently carried by advective and diffusive processes through different kinds of transport networks [2,4,21,22,28,30,34,39]. Advection–diffusion is also fundamental for understanding the growing processes of tumours where nutrients and oxygen in the microenvironment are transported by these mechanisms to support tumour cells and stimulates their proliferation and migration [29,35,36]. Keywords and phrases: Graph theory, advection–diffusion, complex networks, landscape networks. Institute of Cross-Disciplinary Physics and Complex Systems, IFISC (UIB-CSIC), 07122 Palma de Mallorca, Spain. *Corresponding author: [email protected] © The authors. Published by EDP Sciences, 2022 This is an Open Access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. 2M. MIRANDA AND E. ESTRADA Another scenario in which advection–diffusion plays a fundamental role is in animal foraging and dispersal [10]. Many animals use combined local diffusion with longer range advective motions to change from unfavorable parts of their environment to more suitable areas [24]. The advective motion can emerge either from the behavior of individuals or from physical transport processes, such as winds, currents in rivers, and so on. The combined advection–diffusion strategy of foraging has been shown to be advantageous for species [17]. That is, foraging strategy is improved when animals change their behaviour from diffusion to advection–diffusion and back depending on their surrounding space [6]. Moreover, it has been shown that populations using strategies with no advection or high advection can be invaded by other populations [5]. Therefore, according to these results, strategies with no advection or high advection would be predicted to be unstable relative to evolution. A common characteristic of many of the complex systems where advection–diffusion is ubiquitous is that they have a networked nature. That is, in many of these systems there are discrete entities which are interconnected to each other forming a complex network/graph. They range from molecular and cellular networks to landscape networks (see [12] for many examples). In the case of networks, the studies about advection–diffusion have mainly focused on directed graphs. In these studies the advection is created by the directionality of the edges in the graph, which is accounted for a divergence operator giving rise to an advection Laplacian operator [7–9,27,33]. The problem is that many complex networks are undirected. For instance, in a landscape network formed by regions of a landscape connected by corridors, there is no sign indicating prohibited directions. However, in many real-life situations the own characteristics of the nodes may represent a preference of movement towards these points. The simplest scenario is to consider that the number of connections that a node has–its degree–is a proxy for attracting or repelling an object towards a given node. Such degree-biased motion paradigm has been under development by our group in recent works [14,15,18]. Here we extend this approach to account for degreebiased advection–diffusion on undirected graphs. Our approach is mainly a mathematical one, proving some of the general and more important properties of the degree-biased advection operator as well as of the degreebiased advection–diffusion equation. Additionally, we provide some computational evidence on the applicability of this model to the study of foraging of L. catta in a patched landscape in southern Madagascar. 2. Definition and set up Let G= (V, E) be a simple undirected graph with |E|=medges and |V|=nvertices, none of them isolated. Let Abe the adjacency matrix of the graph Gand let kvdenote the degree of the node v∈V, so the diagonal matrix of node degrees is defined as K=diag A·~ 1. Denote Nvas the set of neighbours of the node v, which means the set of nodes wfor which the edge (v, w)∈Eexists. Finally, let `2(V) be the Hilbert space of square summable functions on V. Definition 2.1. Let α∈ {−1,0,1}and define the degree-biased Laplacian corresponding to αas the operator on `2(V) given by (Lαf)(v):=X w∈Nv cα(v, w) (f(v)−f(w)) , f ∈dom(Lα),(2.1) where cα(v, w) = kw kvα . If α= 0, then cα= 1 and L0=L, the standard Laplacian, see [31] If α= 1, then cα(v, w) = kw kvand we call L1the hubs-attracting Laplacian, see [18]. If α=−1, then cα(v, w) = kv kwand we call L−1the hubs-repelling Laplacian, see [14]. Set {ev}v∈Vthe standard `2(V) basis and define δα(v) as δα(v) = X w∈Nv cα(v, w).(2.2) DEGREE-BIASED ADVECTION–DIFFUSION ON UNDIRECTED GRAPHS/NETWORKS 3 Then, we can see how Lαacts on the vectors evas: (Lαev)(w) =    δα(v) if w=v; −cα(v, w) if w∈ Nv; 0 otherwise. (2.3) Nevertheless, this degree-biased Laplacian inherits some properties from its non-biased predecessors, proven in several previous articles [14,18]:  Lαis a non-negative operator.  If Gis a locally-finite graph, then Lαis a bounded operator.  The spectra of this type of operators is real and 0 is an eigenvalue with associated eigenvector ~ 1.  By defining Wα=diag(KαAK−α·~ 1), we can decompose the operators as: Lα=Wα−KαAK−α.(2.4) Remark 2.2. Equation (2.4) allows us to extend easily the concepts in [14,15,18] for any α∈R, modifying the weight of node differences in the network. However, we will restrict ourselves to the ternary case α∈ {−1,0,1}, as it is the sign of αwhich dictates the qualitative behaviour of the operator. 3. The adjoint of Lαis an advection operator We start here by defining the adjoint of Lα: Definition 3.1. For a graph Gwithout isolated nodes, we define the Adjoint degree-biased Laplacian as: ((Lα)∗g) (v) = X w∈Nvkw kvα g(v)−kv kwα g(w) = X w∈Nv cα(v, w)g(v)−cα(w, v)g(w).(3.1) It can be easily verified that hLαf, gi`2(V)=hf, (Lα)∗gi`2(V)∀f, g ∈`2(V),(3.2) and that in the case of finite graphs (Lα)∗= (Lα)>. We prove now that this new operator on graphs corresponds to a degree-biased advection operator on undirected graphs. Theorem 3.2. The Adjoint operator of the degree-biased Laplacian, (Lα)∗, is an advection operator where the time-invariant velocity field is biased by the degree of the nodes which create a flow in the direction of high or low degree nodes according to the respective value of α. Before proceeding with the proof we should remind the concept of advection in the continuous setting: du (t) dt =−∇·(¯vu (t)) ; u(0) = u0,(3.3) where ∇·is the divergence operator, u(t) is a conserved scalar quantity moving through a time-invariant velocity field ¯von the domain of u(t). We now will introduce a few concepts which will make possible to identify the operator (Lα)∗with a degreebiased advection operator on undirected graphs. 4M. MIRANDA AND E. ESTRADA Definition 3.3. Let G= (V, E) be a simple undirected graph. A double-orientation of Gis the graph G↔= (V, E0) such that if (i, j)∈Ethen i→j∈E0and j→i∈E0. Definition 3.4. Let G↔be a double-orientation of graph G= (V, E) with |V|=nnodes and |E|=medges. Then, the gradient operator or oriented incidence matrix of Gis the operator D∈R2m×nwhose entries are defined by Dve :=   1 if vertex vis the head of oriented edge e= (v, j), −1 if vertex vis the tail of edge e= (j, v), 0 otherwise. (3.4) Definition 3.5. Let G↔be a double-orientation of G= (V, E) with |V|=nnodes and |E|=medges. Then, the divergence operator of Gis the operator D∗∈Rn×2mmapping from the edges to the nodes. The necessity for using the double orientation of the graph emerges from the following. Here, we are considering undirected graphs which are then transformed such that every existing edge is replaced by weighted arcs pointing in both directions. Those weights are not necessarily the same in both direction, which oblige us to consider the double-orientation explicitly. In this context, the incidence matrix indicates how much of a quantity departs from a node to its nearest neighbor, as well as how much arrives at it. This obviously creates a gradient between every pair of connected nodes of the original graph. Note that this notation maintains the main property of the classical Laplacian with respect to the incidence matrix, that is L0=D∗·D. Definition 3.6. Let G↔be a double-orientation of G. Then, the time-invariant velocity field V∈Rm×non the domain of u(t) is defined as Vve :=     − kv kj!α if vertex vis the head of oriented edge e= (v, j), 0 otherwise. (3.5) We now proceed to prove Theorem 3.2: Proof. It is enough to show that (Lα)∗u(t) = D∗(Vu(t)) .(3.6) For that, recall that the product matrix can be written entry by entry as: (D∗·V)ij = |E0| X l=1 (D∗)ilVlj . Suppose i6=j, then the product (D∗)ilVlj 6= 0 if and only if the edge lgoes from ito j, as the first term is non-zero if and only if lis connected to iand the second one is different from zero if lgoes towards j. DEGREE-BIASED ADVECTION–DIFFUSION ON UNDIRECTED GRAPHS/NETWORKS 5 Hence, there is only one term in (D∗·V)ij that is different from 0 on the edge ldescribed before, leading to the calculation: (D∗·V)ij = (D∗)ilVlj = 1 −ki kjα =−ki kjα . On the other hand, for i=j,D∗will be non-zero for each edge going towards i. This means that this term will only be equal to 1, so the calculation will be: (D∗·V)ii = |E0| X l=1 (D∗)ilVli =X j∈Ni (−1) −kj kiα =X j∈Nikj kiα . Comparing this term with those produced in (3.1) for g=eiand v=jleads to the desired equality. As the incidence matrix is the equivalent to the gradient operator in the graph setting, the previous decomposition shows that (Lα)∗is the operator representing the flux of the “vector field” V, so its evolution equation is equivalent to that in equation (3.3). Remark 3.7. It should be remarked here that in previous works the only attempts to study advection processes on graphs have been on directed graphs. This was an obvious necessity due to the fact that a gradient was needed over the edges of the graph. However, here this gradient is created by the heterogeneities in the degrees of the nodes. Before continue with the study of dynamical properties on graphs based on this new operator let us consider some of its more general spectral properties. Proposition 3.8. The spectrum of (Lα)∗is real and 0∈σ((Lα)∗). Proof. As it is the transpose of the degree-biased Laplacian, we can use its properties to write it as: (Lα)∗= (Lα)>=Wα−KαAK−α>=Wα−K−αAKα=K−α(Wα−A)Kα Now, using the definition of Wαand A, we can say that this Adjoint operator is similar to a symmetric matrix, thus, have real spectrum. Moreover, it has the same spectrum as its adjoint. As 0 ∈σ(Lα) because its rows sum up to 0 and σ(Lα) = σ((Lα)∗), we get that 0 ∈σ((Lα)∗). Proposition 3.9. The 0-eigenvector of the operator (Lα)∗is the vector v=k−2αwhere kis the vector of degrees of each node. Proof. Without any loss of generality we consider connected graphs. In case of disconnected ones we can consider the following results on a component-wise way, which is standard in network theory. Let vbe the zero-eigenvector. To find its expression, we must solve the system: (Lα)∗v= 0 ·v= 0. Using the previous decomposition, we are going to find u:= Kαvso the system is now related to the matrix Wα−A. Hence, we have to solve the system of equations: uiX j∈Niki kjα −X j∈Ni uj= 0; for i= 1, . . . , n. 6M. MIRANDA AND E. ESTRADA This can be written as: X j∈Ni ui(kj)−α−uj(ki)−α= 0, which has uj= (kj)−αas solution. Thus, the 0-eigenvector is v= (k−2α j)n j=1. 3.1. Degree-biased advection equation on graphs We start here by considering the degree-biased advection equation of undirected graphs: ˙u(t) = −(Lα)∗u(t),(3.7) with initial conditions u(0) = u0. To analyze the convergence of this system we first introduce the following. Definition 3.10. Let v∈Rn×1. Define the vset Av⊆Rn×1as Av= span{v}={~u ∈Rn| ∃ l∈R:ui=l·vi,∀i∈ {1, .., n}}.(3.8) We say that the process (3.7) converges towards the vset if: lim t→∞ inf ~y∈Avk~ u(t)−~yk= 0. We now prove such convergence. Theorem 3.11. Let Gbe any connected graph with nnodes, none of them isolated. Let k= (ki)n i=1 be the vector of degrees of each node and define v=k−2α. Then, the dynamical system (3.7) converges towards the vset for any initial condition u0and the rate of convergence is given by the smallest nontrivial eigenvalue of (Lα)∗, µ2((Lα)∗). Proof. The solution of the dynamical system (3.7) is given by: u(t) = exp(−t(Lα)∗)u0. Using the previous decomposition of the adjoint operator and the fact that the matrix Wα−Ais symmetric, we can find a matrix Uof eigenvectors such that (Lα)∗= (K−αU)Λ(K−αU)−1, where Λ is the diagonal matrix of eigenvalues of the adjoint operator. If we take ~ ψjand ~ φjthe j-th column of K−αUand (K−αU)−1, respectively, we can rewrite the solution as u(t) = ~ ψ1~ φ1 Texp(−tµ1)u0+···+~ ψn~ φn Texp(−tµn)u0, where the eigenvalues are ordered in a non-decreasing way: 0 = µ1< µ2≤ ··· ≤ µn. On the one hand, as µ1is the unique 0 eigenvalue, we can take the limit t→ ∞ to obtain lim t→∞ u(t) = ~ ψ1~ φ1 Tu0. DEGREE-BIASED ADVECTION–DIFFUSION ON UNDIRECTED GRAPHS/NETWORKS 7 As we know that ~ ψ1is an eigenvector associated to µ1, we can take it equal to vas shown in Proposition 3.9. Thus, we have: lim t→∞ u(t) = v~ φ1 Tu0= ( ~ φ1 Tu0)·v, which means that lim t→∞ u(t)∈Av. Moreover, the solution yields: lim t→∞ u(t) = n X i=1 (u0)i!·v Pn i=1 k−2α i . On the other hand, we have that the second smallest eigenvalue is the slowest converging to 0 in the series of the exponential, hence dictating the rate of convergence. This result gives us the stationary state of a system governed by the evolution equation (3.7), but transient dynamics can be specific to particular graphs due to the fact that all nonzero eigenvalues of the operator would affect the dynamics. Consequently, the dynamics strongly depend on the structure of the network. 4. Advection–diffusion equation For application to real-world problems, advection appears as a current leading a particle which is diffusing at the same time. For this reason we couple both phenomena into a degree-biased advection–diffusion equation on undirected graphs. Definition 4.1. We define the advection–diffusion equation as the differential equation: u0(t) = −(γadvL∗ α+γdif L)u(t); u(0) = u0,(4.1) where u0is an initial condition, La diffusion operator, which we will take as the usual standard Laplacian, and γadv, γdif are two constants modeling which action (diffusion or advection) acts stronger. We now show some properties of the operator (4.1). Lemma 4.2. 0is the lowest eigenvalue of the operator (4.1). Proof. First we have to see that the operator is positive semidefinite, which follows from the positive semidefiniteness of the Laplacians used and that both constants are non-negative: ~vT(γdif L+γadvL∗ α)~v =  γdif ~vTL~v |{z} ≥0 +γadv ~vTL∗ α~v | {z } ≥0   ≥0 On the other hand, using that the spectrum of any matrix is equal to the spectrum of its transpose σ(A) = σ(AT), and using that the transpose of the Adjoint degree-biased Laplacian is the standard degree-biased Laplacian itself, we can calculate: (γdif L+γadvL∗ α)T~ 1=(γdif L+γadvLα)~ 1 = γdif L~ 1 + γadvLα~ 1= 0 = 0 ·~ 1. Hence, 0 ∈σ((γdif L+γadvL∗ α)T) which shows that 0 is the lowest eigenvalue of the advection–diffusion operator. 8M. MIRANDA AND E. ESTRADA Remark 4.3. Note that, as ~ 1 is an eigenvector of the transpose, it directly becomes a left eigenvector of (γdif L+γadvL∗ α). Following Theorem 3.11, we can see that the dynamical system controlled by the degree-biased advection– diffusion operator converges for any γadv, γdif >0 to a stationary state that depends on the eigenvector associated to the zero eigenvalue. We will prove it explicitly later, but first we are going to show the equation that this eigenvector should solve. Proposition 4.4. The zero-eigenvector v= (vi)n i=1 of the operator γadvL∗ α+γdif Lsatisfies the equation  γdif ki+γadv X j∈Niki kjα vi=X j∈Niγdif +γadv kj kiαvj,(4.2) for any i∈V. Proof. The vector ~v should solve the equation (γadvL∗ α+γdif L)·~v = 0. As we know the two terms forming the operators, this leads, for each i∈V, to the equation: γdif viki−γdif X j∈Ni (vj) + γadvviX j∈Niki kjα −γadv X j∈Nikj kiα vj= 0. Joining the terms of the equation for vion the one hand and for all the vj’s on the other, leads to (4.2). Note that, using ki=P j∈Ni 1, we can also reorder the equation to obtain: X j∈Niγdif (vi−vj) + γadv ki kjα vi−kj kiα vj= 0.(4.3) This shows that solutions behave continuously to the previously known cases, that are γadv = 0, where the operator is the standard Laplacian and ~v =~ 1, and γdif = 0, where ~v =k−2α, as shown in Proposition 3.9. This zero-eigenvector is far from trivial compared to the same eigenvector for both the classical Laplacian and the Adjoint hub-biased Laplacian. Before proving the general result we will need the following Lemma which gives an expression for this eigenvector for trees. Lemma 4.5. Let Gbe a tree. Suppose ~v = (vi)n i=1 is the eigenvector of the operator γadvL∗ α+γdif Lassociated to the zero eigenvalue. Then, for any node i∈V, the coordinates of the vector are: vi=k−α iY (j,l)∈S(i,o) γadvkα l+γdif kα j γadvkα j+γdif kα l!,(4.4) where S(i, o)is the sequence of edges forming the shortest path between node iand node o, which is an objective node that can be chosen arbitrarily for each tree G. Proof. It suffices to check that formula (4.4) solves equation (4.2). For the sake of clarity, call P(S(i, o)) = Y (h,l)∈S(i,o)γadvkα l+γdif kα h γadvkα h+γdif kα l. DEGREE-BIASED ADVECTION–DIFFUSION ON UNDIRECTED GRAPHS/NETWORKS 9 For our objective, we have to prove the following equality: X j∈Ni k−α iγdif +γadv ki kjαP(S(i, o)) = X j∈Ni k−α jγdif +γadv kj kiαP(S(j, o)). It suffices to show that they are equal addend by addend. For that purpose, consider that either S(i, o) passes through jor S(j, o) passes through i, which is provided by Gbeing a tree. Consider the first case, so we can decompose S(i, o) = S(i, j)∪S(j, o), and note that P(S(i, j)) has only one term involving the two adjacent nodes. Then, we do the calculation: k−α iγdif +γadv ki kjαγadvkα j+γdif kα i γadvkα i+γdif kα j =k−α ik−α j(γdif kα i+γadvkα j) = k−α jγdif +γadv kj kiα. Using this calculation on the left term, we arrive to the desired equality: k−α iγdif +γadv ki kjαP(S(i, j)∪S(j, o)) = k−α jγdif +γadv kj kiαP(S(j, o)). If, on the other hand, it is S(j, o) the one that goes through i, we have to do the same calculation on the other term to achieve the equality. As we are aiming for a more general result, we need to further understand the expression in equation (4.4), so we will manipulate it in the next Lemma to have a deeper understanding about what do the terms in the multiplication represent. Lemma 4.6. The expression (4.4)for vican be rewritten as vi=Y (j,l)∈Tiγdif +γadv kl kjα,(4.5) where Tiare all the paths in the tree departing from the node ito the leaves without repeating edges. Proof. To prove it, it suffices to choose the objective node of (4.4) and divide each term in (4.5) by the term vo. Then, for any node i, the only different terms between Tiand Toare those in the path S(i, o), so the operation will lead to a multiplication of the terms: γdif +γadv kj klα γdif +γadv kl kjα=k−α jkα l γadvkα l+γdif kα j γadvkα j+γdif kα l!, and the terms kα lare canceled with the terms k−α jof the following term. This leaves us with a term kα o corresponding to the objective node o, which will be common to all the entries of vand thus, can be omitted and still represent the same eigenvector, and a term k−α ithat already appeared in formula (4.4). Thus, equations (4.4) and (4.5) are equal. The main goal of obtaining this result is not for the calculation of the corresponding eigenvector vi, for which many excellent numerical methods exist. Our main goal is to use it in terms its structural interpretation in order to establish structure-dynamics relations. 16 M. MIRANDA AND E. ESTRADA central hub due to the diffusion from the leaves. For relatively small values of γadv the value of ˜ fin,hub (γadv) is n−1 nminus the small term γadv n−2 n. This term is also added to 1 nin the leaves (see Eq. (5.5)). Therefore ˜ fin,i (γadv <0.5) is similar to ˜ fin,i (γadv = 0) as can be seen by the values of the cosine similarity, and more importantly they are linearly correlated because the hub still concentrates most of the in-flow, while the leaves have very little in-flow. In this regime, although γadv >0, we are still in a scenario mainly dominated by diffusion. However, when γadv = 0.5 we have: ˜ fin,hub (γadv = 1/2) = ˜ fin,leaf (γadv = 1/2) = 1/2, which means that at this point the in-flow to the hub and to the leaves is exactly the same. From this point on we have an inversion in the in-flow arriving at the leaves in comparison with the hub. That is, when γadv >0.5 the in-flow arriving at the leaves in bigger than that arriving at the hub. Therefore, the similarity between the vectors ˜ fin (γadv = 0) and ˜ fin (γadv >0.5) drops significantly as observed in Figure 3, and more importantly there is an anticorrelation between the the two in-flow vectors. This means that we are in a new regime where advection dominates, pushing the “items” toward the leaves of the star in spite of the counter-effect of diffusion which tries to push them to the hub. The same analysis can be made for the choice α= 1, but the results are less interesting to study due to the fact that advection pushes the “items” towards the hub, thus increasing the effect of diffusion in the in-flow and resulting in a high correlation between the ˜ fin (γadv) for all values of γadv. 5.4. Influence of assortativity The example for the star graph that we analyzed in the previous subsection asks the question about which structural characteristic of a network is responsible for the inversion of the Pearson correlation coefficient of ˜ fin in mainly diffusive to mainly advective processes. The star graph is characterized by a high degree heterogeneity– one node of degree n−1 and n−1 nodes of degree one–as well as by a large degree disassortativity–the degree-degree correlation coefficient is negative. Intuitively, the degree assortativity seems more relevant for the advection–diffusion inversion. The reason is that ˜ fin takes into account the in-flow to a given node from its nearest neighbors. Thus, the kind of degree-degree connectivity pattern should make an important impact on the values of ˜ fin. Here we consider Erd˝os-R´enyi random graphs which have low degree heterogeneity, i.e., they have a normallike Poisson degree distribution. We then rewire the edges of these graphs maintaining the node degrees, such that we can tune their degree assortativity. The degree assortativity is measured by the assortativity coefficient, i.e., the Pearson coefficient of the degree-degree correlation, see [13,32]. For every type of graph with a given assortativity we calculate the correlation coefficient between the vectors ˜ fin (γadv = 0) and ˜ fin (γadv >0). The results, after the average of 10 random realizations per assortativity rewiring, are illustrated in Figure 4. As can be seen when γadv is zero or close to zero, i.e., in the mainly-diffusive regime, the nodes with the largest degree concentrate most of the in-flow, while the low-degree nodes have low values of it. This produces high positive correlation coefficients between ˜ fin (γadv = 0) and ˜ fin (γadv >0) in this region as observed in Figure 4. Note that, as advection when α=−1 tends to concentrate more flow on nodes with lower degree and diffusion tends to concentrate more flow on high degree nodes (as they are the more connected ones), the correlation between this in-flows monotonically decreases as γadv. On the other hand, the most interesting thing is that this high correlation is irrespective of the degree assortativity of the network. By contrast, when γadv >0.5 we observe a large range of correlations between ˜ fin (γadv = 0) and ˜ fin (γadv >0), which range from values close to 1 for highly assortative networks to values close to −1 for highly disassortative networks. That is, when there is a large contribution of advection in the diffusive-advective process, the degree-degree correlation of the network can change the in-flow of items from hubs (in the assortative network) to low-degree nodes (in the disassortative network). This transition does not behave in the same way as when we are changing the advection parameter. For instance, if we fix a large value γadv, we can observe that the correlation is not monotone with respect to the assortativity index, which may indicate that other features of the network also affect the in-flows. Indeed, what we are reporting here is the existence of two completely different kinds of processes represented DEGREE-BIASED ADVECTION–DIFFUSION ON UNDIRECTED GRAPHS/NETWORKS 17 -0.6 -0.4 -0.4 -0.2 -0.2 0 0 0 0 0.2 0.2 0.2 0.2 0.4 0.4 0.4 0.4 0.6 0.6 0.6 0.6 0.8 0.8 0.8 0.8 0.8 1 1 0 0.2 0.4 0.6 0.8 1 adv -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 Assortativity index -1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1 Figure 4. Contour plot of the Pearson correlation coefficient between the vectors ˜ fin (γadv = 0) and ˜ fin (γadv >0) as a function of the assortativity coefficient and the advection parameter γadv for random graphs created with the Erd˝os-R´enyi mechanism for which the edges have been rewired assortatively or disassortatively maintaining the same degree of the nodes. by exactly the same dynamical equation (including its parameters) for both classes of networks, i.e., assortative and disassortative ones. 5.5. Foraging in a patched landscape As described in the Introduction, advection–diffusion processes are ubiquitous in biological, geophysical and technological systems. Here we perform the analysis of diffusive-advective dynamics on a landscape network. As described below this landscape network represents a good scenario for testing advective-diffusive movement of a species through the patches and corridors of a geographic region. Therefore, our goal here is to use this landscape network as a proof-of-concept for the new operators and dynamical systems developed in the current work on a realistic scenario. Consequently, we are not interested here in a microscopic analysis of the movement of a species across the landscape. Instead, we are interested in showing quantitatively how the newly developed operators capture some important ecological aspects of species movement which escape to the use of the standard Laplacian operator to model this kind of scenarios. This landscape network is a graph G= (V, E) where the nodes represent 161 small forest patches (with areas between l and 95 ha) that are scattered in an agricultural landscape in the Androy region, southern Madagascar [3] (see Fig. 5). This landscape network is used by the ring-tailed lemur (Lemur catta) to move across the environment. We consider here that this species forages at the patches of the landscape which contain fruits forming the basis of L. catta feeding. In studying foraging movement of species it is common to consider the existence of intensive and extensive search modes. Intensive search mode is typically modeled by diffusion, while movement in the extensive search mode is modeled by advection (see for instance [17,24,37,38]). Here we assume that the degree of a patch, which is the number of corridors that connects it to the rest of patches, is related to the amount of resources that the species needs for feeding. In general, it is expected that a patch with large area is connected to many other patches, while a small one does not. It is also 18 M. MIRANDA AND E. ESTRADA Figure 5. Representation of the foraging landscape studied in the article [3]. plausible that a large patch is more abundant in food than a small one. A similar strategy was used in modeling advection–diffusion movement of species by Gr¨unbaum [23] who considered that the behavior of predators was mediated by its gut fullness, a.k.a. satiety, which was a function of prey availability. Similarly, Fagan et al. [16] constructed a continuum diffusion-advection model in which consumers movement in a landscape is driven by local advection governed by intermediate-scale resource detection functions. Therefore, we consider the study of the movement of L. catta between patches of this fragmented landscape as an appropriate platform for applying the advection–diffusion model on networks developed here. In the current work, the edges of the landscape network represent the corridors existing between pairs of patches. These edges were determined in the following way. First, it was determined that the dispersal flux rate (i.e., rate of movements) between any two habitat patches depends on: (1) the geographical distance between the habitat patches and (2) the area of the habitat patches. It was also determined that the geographical distance has a much stronger impact than the area on the dispersal flux rate. Therefore, a measure Sij, which is proportional to the dispersal flux rate, was calculated using a negative exponential dispersal kernel [25] Sij =b√aje−αDij (5.6) where ajis the area of the patch j(in m2), Dij is the distance between patch iand patch j(in m), and αand bare constants ( in 1/m) determined by [3], such that the model partly captured the underlying assumptions behind the Incident Function Model [25]. The distances between all pair of patches were measured using the Landsat image. The minimum hospitable patch area for Lemur catta was estimated to be 1 ha [19]. The parameters were set such that only 5% of the maximum Sij remained between patches of 1 ha, if separated by a distance Dij equal to the chosen level of vagility. This level of Sij was also set as the cut-off, i.e., an infinitesimal increase in distance or an infinitesimal decrease in patch j’s area would disconnect these patches. Thus, pairs of patches with a Sij below the cut-off were not considered as connected, i.e. no edge connected such pairs of nodes. We can then consider that the weighted adjacency matrix Wof the landscape network is the Hadamard (entrywise) product of the matrix Swhere the values of Sij are given for every pair of patches in the landscape DEGREE-BIASED ADVECTION–DIFFUSION ON UNDIRECTED GRAPHS/NETWORKS 19 and the adjacency matrix Aof a directed weighted graph: W:=SA. The adjacency matrix Acontains information only about the topology of the system, that is about the corridors which are used by the ring-tailed lemur (Lemur catta) to move across the environment. This species is very important for the ecosystem as a local seed disperser since it forages on fruits of many different plant species in the area. In the previous section we have shown the relevance of the degree-degree assortativity on the evolution of the diffusion-advection processes taking place on a network. Because the landscape network analyzed here is a weighted directed graph, we consider the assortativity coefficient defined specifically for this class of networks according to Yuan et al. [41]: ρX,Y (G) = Pi,j∈Vwij Xi−¯ XsouYj−¯ Ytar WσXσY , where X and Y are two quantitative features for all the vertices, W:= Pi,j∈Vwij is the sum of edge weights, ¯ Xsou =Pi,k∈VwikXi/W is the average of feature Xbased on source vertices, ¯ Ytar =Pk,j∈VwkjYj/W is the average of feature Ybased on target vertices, and σX=qPi,k∈Vwik Xi−¯ Xsou 2/W and σY= qPk,j∈Vwkj Yj−¯ Ytar 2/W are respectively the corresponding standard deviations. The features Xand Y can be the in or out degree of the vertices. Here we are interested in how the in-flow of species at a given node is correlated with the in-flow at another. Therefore, from the several combinations of in- and out-assortativity coefficients we are interested in the in-in- assortativity one. In this case the landscape network is in-in-disassortativity with coefficient ρ≈ −0.118 (the rest of assortativity coefficients are all positive ones). This value shows that in the network there is a certain tendency to nodes with high in-degree to be connected to nodes with low in-degree. This may give rise to a high concentration of the flow in low-degree nodes in the case that the hubs-biased advection with α=−1 is dominant, as shown in Section 5.4. The in-flow of L. catta into each patch of the landscape can be measured by fin :=~ 1TW=~ 1T(SA), which is equivalent to the in-strength–the term strength is used instead of degree in the case of weighted networks–of the weighted directed landscape network. In Figure 6we present a scatterplot of the values of the fin vs. those of kin as well as its best fit. It can be seen that there is an exponential relation between the two variables: fin ≈0.6603e0.2224kin .However, it is evident that kin cannot be used directly to estimate the values of the in-flow. The in-degree is able to explain only 45% of the variance of fin using the previous exponential model, i.e.,r2≈0.45. Consequently, we can observe that for single values of the in-degree there are wide ranges of values of the in-flow. For instance, for kin = 9 there are values of fin ranging from 2 to 25. Thence, the values of the in-flow cannot be derived directly from information coming purely from the adjacency matrix of the graph, i.e., by the in-degree. Our goal here is to capture the information contained in the dispersal flux rate matrix Susing the information provided by the time evolution operator based on the advection–diffusion Laplacian of the system. Here we proceed as follows. First, because the landscape network is directed, we remove all the directionality of the edges and create a graph ˜ Gin which the nodes are the same as in the landscape network G, and two nodes in ˜ Gare connected if and only if there is a directed edge in any direction between the corresponding nodes. Using this graph we build the matrix ˜ L:=γadvL∗ α+γdif Lfor different values between 0 and 1 for the parameter γadv and taking γdif = 1 −γadv. Then, we calculate the time evolution operator for different values of t, exp −t˜ L and estimate the values: ˜ fin (t):=~ 1Texp −t˜ LA.(5.7) We do not consider here the steady state of the system as the one for which we determine ˜ fin (t). Instead, we investigate different values of twhich better fit the values of ˜ fin (t) in relation to those of fin. The reason for 20 M. MIRANDA AND E. ESTRADA 0 5 10 15 20 kin 0 5 10 15 20 25 30 fin Figure 6. Illustration of the relation between the in-flow fin at every node of the real-world landscape network and the purely topological parameter of the in-degree kin. The solid line shown corresponds to the best fit, which is of exponential shape (see text for explanation). Such fit explains only 45% of the variance in the values of fin as given by the squared Pearson correlation coefficient. doing that is that the foraging process of a species in a landscape is a dynamic process far from equilibrium. Therefore, our approach is a reverse engineering one in which we try to recover the value of tas well as of γadv and γdif from the existing data. For doing that we compare the values of ˜ fin (t) with those of fin by means of regression analysis (see further). In practice, what we are doing is estimating the values of the time tand the parameters γadv and γdif that better reproduce the dispersal flux rate matrix of the landscape system. Our goal here is not to reproduce exactly the values of fin observed in the real-world landscape network. Such “exact” reproduction would need the combination of network-theoretic parameters with other parameters that depend on vegetation patterns in the patches, geometric characteristics of the corridors, etc., all of which escape to the goal of this work. Therefore our aim is to use this experiment as a proof of concept showing that the diffusion-advection equation on networks proposed here is able to capture some of the dynamical characteristics of this foraging process in a real-world landscape. In order to determine what is the set of parameters t,γadv and γdif that reproduce in a better way the values of fin we proceed as follow. First we observe that the kind of relation between ˜ fin (t) and fin is the kind of power-law. That is, a simple plot of the two parameters results in a straight line in a log-log plot. Then, we obtained the least square fit of ˜ fin (t) vs. fin using a time step of 100 and step 0.1 in γadv and γdif . With these values we determined the value of twhich produces the largest Pearson correlation coefficient and smaller root of mean square error (RMSE) of the regression. We then fix tat 700, which produces the best results. At this point we drop the step in γadv and γdif to 0.01 and plot the results of the correlation coefficient and RMSE as illustrated in Figure 7for the value of α= 1. A similar plot was obtained for α=−1, but in this case the correlation coefficient was smaller and the RMSE higher than for the value of α= 1. Note that, from the analysis given in Section 5.3, the fact that α= 1 matches better the dispersal flux rather than α=−1 indicates that the advection process on the landscape is increasing the amount of in-flow that receive the hubs of the network, compared to the in-flow that they would receive if only diffusion takes place. The largest correlation coefficients for α= 1 are obtained for values of γdif >0.7 (γadv <0.3) and in particular the minimum error in the prediction of the values of fin is obtained for α= 1 with γdif = 0.8 and γadv = 0.2 (see Fig. 7). The best fit between both parameters is fin = 1.993 ·104˜ f2.59 in where r= 0.769 and RMSE = 2.524. In Figure 8we show DEGREE-BIASED ADVECTION–DIFFUSION ON UNDIRECTED GRAPHS/NETWORKS 21 0 0.2 0.4 0.6 0.8 1 dif =1- adv 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 r 2.6 2.8 3 3.2 3.4 3.6 3.8 4 4.2 RMSE 0 0.2 0.4 0.6 0.8 1 dif =1- adv 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 r 2.6 2.8 3 3.2 3.4 3.6 3.8 4 RMSE Figure 7. Plot of the Pearson correlation coefficient r(left scale) and the root of the mean square error (RMSE) of the regression (right scale) for the fit of the type fin =a˜ fb in, where aand bare parameters. The left plot is for the value α= 1 and the right one is for α=−1. The values of fin are obtained from the experimental data as described in the main text of the paper and ˜ fin (t) were calculated for t= 700 (see main text) and changing γdif with step 0.01 (notice that γdif = 1 −γadv). (a) (b) Figure 8. Illustration of the in-flow of L. catta estimated by the advection–diffusion model presented here (a) as well as obtained according to the geographic characteristics of the landscape according to Bodin et al. [3] (b). the landscape where the size of each node is proportional either to our calculated in-flow (Fig. 8(a)) or to the empirical in-degree (Fig. 8(b)). Therefore, we have shown here under the scope and limitations of the current approach that advective motion of species in a landscape, together with the diffusive one, is a plausible mechanism for their foraging strategy. 22 M. MIRANDA AND E. ESTRADA This agrees with the empirical evidence existing in the literature, and confirms that the current theoretical framework is valuable for modeling such realistic scenarios. 6. Conclusions We have defined a new kind of advection operator for graphs. Unlike previous advection operators on graphs, this one is defined for undirected graphs, and the preferred direction of the motion in the network is defined by the degree of each node. This means that it only depends on the topological structure of the given graph. We have then introduced an advection–diffusion equation for the case of undirected graphs by combining the new advection operator and the standard graph Laplacian. This degree-biased advection–diffusion equation is shown to be very flexible for modelling all kinds of advection–diffusion phenomena, given that its parameters can be widely modified. Additionally, we tested this model in a real-life landscape network representing the habitat of Lemur catta in southern Madagascar. Here we have provided evidence that the combined contributions of advection and diffusion represents better the foraging movement of L. catta in a large geographic region represented by a patched landscape than the consideration of diffusion alone. This points out to the importance and relevance of the newly defined advection operator for undirected networks as well as of the generalized advection–diffusion equation proposed here for modeling such realistic scenarios. The new degree-biased advection operator as well as the corresponding advection–diffusion equation can be easily generalized to describe non-local temporal and spatial effects which are important in several real-life problems. Acknowledgements. M.M. thanks financial support PRE2020-092875 by MCIN/AEI /10.13039/501100011033 and by FSE invierte en tu futuro. E.E. thanks Grant PID2019-107603GB-I00 by MCIN/ AEI /10.13039/501100011033. References [1] J.R. Banavar, A. Maritan and A. Rinaldo, Size and form in efficient transportation networks. Nature 399 (1999) 130–132. [2] D.A. Beard and J.B. Bassingthwaighte, Advection and diffusion of substances in biological tissues with complex vascular networks. Ann. Biomed. Eng. 28 (2000) 253–268. [3] ¨ O. Bodin, M. Teng¨o, A. Norman, J. Lundberg and T. Elmqvist, The value of small size: loss of forest patches and ecological thresholds in southern Madagascar. Ecol. Appl. 16 (2006) 440–451. [4] J.W.G. Cairney, Translocation of solutes in ectomycorrhizal and saprotrophic rhizomorphs. Mycolog. Res. 96 (1992) 135–141. [5] R.S. Cantrell, C. Cosner and Y. Lou, Movement toward better environments and the evolution of rapid diffusion. Math. Biosci. 204 (2006) 199–214. [6] R.S. Cantrell, C. Cosner and Y. Lou, Advection-mediated coexistence of competing species. Proc. Roy. Soc. Edinb. Sect. A 137 (2007) 497–518. [7] A. Chapman, Semi-Autonomous Networks: Effective Control of Networked Systems through Protocols, Design, and Modeling. Springer Theses. 2015, pp. 6–13. [8] A. Chapman and M. Mesbahi, Advection on graphs. In 2011 50th IEEE Conference on Decision and Control and European Control Conference, IEEE, (2011), pp. 1461-1466. [9] A. Chapman, E. Schoof and M. Mesbahi, Advection on networks with an application to decentralized load balancing. 2012 IEEE/RSJ International Conference on Intelligent Robots and Systems (2012). [10] C. Cosner, Reaction-diffusion-advection models for the effects and evolution of dispersal. Discr. Continu. Dyn. Syst. 34 (2014) 1701. [11] P. Erd˝os and A. R´enyi, On the evolution of random graphs. Publ. Math. Inst. Hung. Acad. Sci 5(1960) 17–60. [12] E. Estrada, The structure of complex networks: theory and applications. Oxford University Press (2012). [13] E. Estrada, Combinatorial study of degree assortativity in networks. Phys. Rev. E 84 (2011) 047101. [14] E. Estrada, ‘Hubs-repelling’ Laplacian and related diffusion on graphs/networks. Linear Algebr. Appl. 596 (2020) 256–280. [15] E. Estrada and D. Mugnolo, Hubs-biased resistance distances on graphs and networks. J. Math. Anal. Appl. 507 (2022) 125728. [16] W.F. Fagan et al., Perceptual ranges, information gathering, and foraging success in dynamic landscapes. Am. Natural. 189 (2017) 474–489. [17] W.F. Fagan et al., Improved foraging by switching between diffusion and advection: benefits from movement that depends on spatial context. Theor. Ecol. 13 (2020) 127–136. [18] L.V. Gambuzza, M. Frasca and E. Estrada, Hubs-attracting Laplacian and related synchronization on networks. SIAM J. Appl. Dyn. Syst. 19 (2020) 1057–1079. [19] J.U. Ganzhorn, J. Fietz, E. Rakotovao, D. Schwab and D. Zinner, Lemurs and the regeneration of dry deciduous forest in Madagascar. Conserv. Biol. 13 (1999) 794–804. DEGREE-BIASED ADVECTION–DIFFUSION ON UNDIRECTED GRAPHS/NETWORKS 23 [20] R.W. Gillham et al., An advection-diffusion concept for solute transport in heterogeneous unconsolidated geological deposits. Water Resour. Res. 20 (1984) 369–378. [21] D. Goldman, Theoretical models of microvascular oxygen transport to tissue. Microcirculation 15 (2008) 795–811. [22] D. Goldman and A.S. Popel, A computational study of the effect of capillary network anastomoses and tortuosity on oxygen transport. J. Theor. Biol. 206 (2000) 181–194. [23] D. Gr¨unbaum, Using spatially explicit models to characterize foraging performance in heterogeneous landscapes. Am. Natural. 151 (1998) 97–113. [24] D. Gr¨unbaum, Advection–diffusion equations for generalized tactic searching behaviors. J. Math. Biol. 38 (1999) 169–194. [25] I. Hanski, A practical model of metapopulation dynamics. J. Animal Ecol. 63 (1994) 151–162. [26] L.L. Heaton et al., Advection, diffusion, and delivery over a network. Phys. Rev. E 86 (2012) 021905. [27] R. Hoˇsek and J. Volek, Discrete advection–diffusion equations on graphs: maximum principle and finite volumes. Appl. Math. Comput. 361 (2019) 630–644. [28] D.H. Jennings, Translocation of solutes in fungi. Biolog. Rev. 62 (1987) 215–243. [29] J.P. Kirkpatrick, D.M. Brizel and M.W. Dewhirst, A mathematical model of tumor oxygen and glucose mass transport and metabolism with complex reaction kinetics. Radiat. Res. 159 (2003) 336–344. [30] K.A. McCulloh, J.S. Sperry and F.R. Adler, Water transport in plants obeys Murray’s law. Nature 421 (2003) 939–942. [31] R. Merris, Laplacian matrices of graphs: a survey. Linear Algebr. Appl. 197 (1994) 143–176. [32] N.W. Newman, Assortative mixing in networks. Phys. Rev. Lett. 89 (2002) 208701. [33] Rak, Advection on graphs.(Doctoral dissertation) 2017. http://nrs.harvard.edu/urn-3:HUL.InstRepos:38779537 [34] L. Sack and N.M. Holbrook, Leaf hydraulics. Annu. Rev. Plant Biol. 57 (2006) 361–381. [35] S. Sadhukhan and S.K. Basu, Anomalous advection–diffusion models for Avascular tumour growth. Preprint arXiv:1905.05706 (2019). [36] R.J. Shipley and S.J. Chapman, Multiscale modelling of fluid and drug transport in vascular tumours. Bull. Math. Biol. 72 (2010) 1464–1491. [37] G.T. Skalski and J.F. Gilliam, A diffusion-based theory of organism dispersal in heterogeneous populations. Am. Natural. 161 (2003) 441–458. [38] R.C. Tyson, J.B. Wilson and W.D. Lane, Beyond diffusion: modelling local and long-distance dispersal for organisms exhibiting intensive and extensive search modes. Theor. Populat. Biol. 79 (2011) 70–81. [39] J.H. Young, R.F. Evert and W. Eschrich, On the volume-flow mechanism of phloem transport. Planta 113 (1973) 355–366. [40] J. Yellen, Basic digraph models and properties. In Handbook of Graph Theory (Discrete Mathematics and Its Applications), edited by J. L. Gross, J. Yellen, P. Zhang, Chapman and Hall/CRC (2013) 164-179. [41] Y. Yuan, J. Yan and P. Zhang, Assortativity measures for weighted and directed networks. J. Complex Netw. 9(2021) cnab017. This journal is currently published in open access under a Subscribe-to-Open model (S2O). S2O is a transformative model that aims to move subscription journals to open access. Open access is the free, immediate, online availability of research articles combined with the rights to use these articles fully in the digital environment. We are thankful to our subscribers and sponsors for making it possible to publish this journal in open access, free of charge for authors. Please help to maintain this journal in open access! Check that your library subscribes to the journal, or make a personal donation to the S2O programme, by contacting [email protected] More information, including a list of sponsors and a financial transparency report, available at: https://www.edpsciences.org/en/maths-s2o-programme