# Brief Article

# Generalized Erdős Numbers for network analysis

###### Abstract

In this paper we consider the concept of ‘closeness’ between nodes in a weighted network that can be defined topologically even in the absence of a metric. The Generalized Erdős Numbers (GENs) [1] satisfy a number of desirable properties as a measure of topological closeness when nodes share a finite resource between nodes as they are real-valued and non-local, and can be used to create an asymmetric matrix of connectivities. We show that they can be used to define a personalized measure of the importance of nodes in a network with a natural interpretation that leads to a new global measure of centrality and is highly correlated with Page Rank. The relative asymmetry of the GENs (due to their non-metric definition) is linked also to the asymmetry in the mean first passage time between nodes in a random walk, and we use a linearized form of the GENs to develop a continuum model for ‘closeness’ in spatial networks. As an example of their practicality, we deploy them to characterize the structure of static networks and show how it relates to dynamics on networks in such situations as the spread of an epidemic.

The study of complex networks has increased enormously in recent years due to their applicability to a wide range of physical[2, 3], biological[4], epidemiological[5, 6], and sociological[7] systems. Two basic goals in this regard are to understand and quantify the structure of the network to better characterize the relationship between the interacting members of the network (the nodes), while also characterizing the dynamical processes on the network[7] that may shed light on the processes by which they form [8].

Understanding the topological properties of the network on both a global and local level can be useful in approaching both of these goals. Global properties of interest may include simple measures of the distribution of node properties, such as the degree distribution, , with the number of edges incident upon a node; strength distribution, , with the total weight incident upon a node; or distribution of clustering coefficients, , with the fraction of triplets of connected nodes that are closed[9, 10]. Community structure in the network[11, 12, 13], which partitions the network into densely connected sub-networks with more links within communities than between communities, has been extensively studied and may provide more detailed information about the relationship between nodes than simple distributions. Community structure in networks can indicate the existence of underlying similarities between nodes in the network, and may have a great impact on dynamical processes occurring on the network (such as a random walk[14, 15, 16] or epidemic spreading[5, 17, 18]), and can influence the material properties of granular systems[2].

While global properties of networks can be used to assess the attributes of the nodes on an aggregate level, it is also of great interest to understand the topological properties of nodes on an individual, local level as well. Node centrality is the classic example of a topological measure of an individual node, which assesses the ‘importance’ of a node in a variety of contexts. The most basic measure of a node’s centrality is simply related to it’s degree, a property of the node that is based solely on the local topology of its connectivity. The centrality of individual nodes can also be measured incorporating the global topology of the network in a variety of ways, including PageRank[19], betweenness[16], or random walk[14] centralities. Each of these measures reduces the global properties of the network into a individualized local measure of importance, permitting a rank-ordering of their importance in the network[20, 21].

In many contexts[22, 23], not all members of the network will necessarily agree on the importance of the same node: nodes that have a direct connection between them will be more important to each other than distant nodes in the network. Nodes that are central to the network as a whole may have very low importance from the perspective of sub-networks. The universality of importance is further complicated by the fact that we may expect the influence between a pair of nodes to be asymmetric even if they are directly connected[23] (the importance assigned by an important node towards an unimportant one is not necessarily the same as the importance assigned in the opposite direction), which may have important consequences in real-world systems[4]. The determination of a personalized measure of node importance that incorporates the global topology in an asymmetric measure is therefore an important but non-trivial problem.

In this paper, we use the recently developed Generalized Erdős Numbers[1, 12] (GENs), which provide a nonlinear asymmetric measure of the pairwise ‘closeness’ between nodes based on the network’s global topology, as a proxy for the importance one node feels towards another. We show that this measure of closeness can be linked to the dynamics of random walks and spreading of epidemics on networks. Using the GENs, we develop a linearized importance that provides an intuitive measure of the (asymmetric) importance one node feels towards another based on the global network topology. This linearized importance is considered in a continuum approximation for a spatial network with homogeneous distance-dependent links between material points on a sphere which is coupled to long-range distance-independent connection strengths, and is shown to reduce to an inhomogeneous Fredholm equation with a kernel depending on the topology of the spatially-independent portion of the network. Finally, we show that a global measure of centrality defined using the GENs is consistent with other centrality measures, and that the asymmetry in the GENs is consistent with the asymmetry of the mean first passage time (MFPT) between nodes in a random walk. The flexibility of the GENs in understanding the topology of complex networks shows their utility in a wide range of problems.

## 1 The Generalized Erdős Numbers

When nodes represent objects in a physical space[24, 25, 26, 3, 27], the distance between nodes, , is a naturally defined (metric) measure of closeness between the objects. Due to the generality of networks (where nodes and edges abstractly represent ‘objects’ and ‘interactions,’ respectively), there can be no guarantee of a naturally defined distance metric[28, 3], and, in some cases, the network topology itself must define a measure of closeness () based solely on the matrix of weights between nodes and , (with an undirected network where is assumed throughout this paper). The closeness, , will be small for nodes that are close to one another and large for distant nodes, with a simple and common choice being (so strongly connected nodes are ‘close’, and disconnected nodes are ‘far’). Alternatively, in an unweighted network, the length of the shortest path between a pair of nodes is a natural definition[28, 29] and is the basis for the classic Erdős numbers in the context of an unweighted collaboration network[30]. Improvements on this measure which incorporate the effect of multiple paths between nodes (see Fig. 1(A) for a schematic diagram) include the resistance distance[15, 31], self consistent similarity measures[32], and communicability [33], to name only a few. An additional approach to defining similarity between nodes is found by positing a multidimensional ‘latent space’ of node properties[34], with the assumption that nodes that are close in the latent space are likely to be connected in the network and each node’s position in the space inferred from the observed connectivity. Each of these methods incorporates the global topology of the network into a symmetric measure of closeness between pairs of nodes (.

Finite resources are shared in some networks, with examples including collaboration on networks (where time with one collaborator reduces the available time for others), multi-core processor components[35] (where finite memory or other hardware must be shared), and random walks (where the walker can only move to a single neighbor at a time with a transition probability with the total strength of the node ). In the context of these networks of limited resources, closeness measures such as resistance distance may be undesirable[23], because the addition of a new edge in the network should be detrimental to some nodes (those who receive less of the finite resource due to the new edge) and beneficial to others (those who receive more due to the edge). For closeness measures based on the direct weight between nodes (where the ‘closeness’ between and is often taken to be ) or resistance distance between nodes, it is straightforward to see that the newly measured closeness between nodes and for all pairs, i.e. the addition of an edge can never cause nodes to feel less close to one another. This is not sensible in the context of nodes that share a finite resource with its neighbors, as shown in Fig. 1(B): if a node has many neighbors, each receives less of the resource than if had few neighbors. A quantity such as the transition probability in a random walk, , is asymmetric and ensures that nodes are closer if they have few neighbors, pictured in Fig. 1(B) (so a walker is more likely to pass between them than if they had many connections). However, it is not a global measure of closeness because the transition probability incorporates only the nearest neighbor connections between nodes. It is useful to develop a measure of closeness that incorporates these two (sometimes contradictory) aspects depicted in Fig. 1: nodes feel close if there are many paths between them, but popular nodes are less close to their neighbors than unpopular nodes.

We have recently shown[1] that the Generalized Erdős Numbers (, or GENs), describing the closeness node feels towards node , satisfy the expected properties for the sharing of finite resources described in Fig. 1. The GENs are defined as

(1) |

where is the set of nodes directly connected to . This form is chosen such that the node is as close as possible to itself and that if is connected to only one node , ’s closeness to satisfies . If there are multiple paths between nodes, the closeness feels to is strengthened if there is a direct connection between them but also includes a contribution from all other neighbors of weighted by their connection strength. By choosing a harmonic mean for the form of the contribution, we bias our measure of closeness towards neighbors that themselves feel close to . The GENs are defined using the global topology of the network, and is finite even if and share no neighbors (as may not be the case for more local measures of closeness [23]).

This definition of the GENs in Eq. 1 is nonlinear, and the exact values of for complex networks are not easily determined analytically. can be computed numerically in an iterative fashion[1], with and the recursive definition (with the constraint that continually enforced). In this paper, the iteration is halted when . The method also requires an initial guess, , with the simple initial guess throughout this paper that (the method is robust to variations in this initial value).

Eq. 1 is only one way of satisfying the expectations shown in Fig. 1, and there is a great deal of functional freedom in satisfying these constraints. For example, any measure of the form will satisfy the desired behavior depicted in Fig. 1 for a monotonically decreasing , with in the definition of Eq. 1. Another alternate definition will satisfy a triangle inequality at the cost of additional computational complexity by replacing the direct connection strength, , with the closeness, , in the denominator: . While these alternate definitions may be of interest in certain contexts, we continue to use Eq. 1 throughout this paper, due to its simplicity and previously demonstrated successes in prediction algorithms[1] and community detection methods[12]. Variations in the definition of will certainly change the numerical values of the closeness, but the qualitative behavior of the closeness between nodes is expected to be robust to perturbations of the definition of the GENs.

## 2 The GENs in homogeneous networks

While Eq. 1 is not exactly solvable for all but the simplest of network topologies, the general properties of the GENs can be explored for sufficiently homogeneous networks. The unweighted Erdős-Rényi (ER) networks have a degree distribution sharply peaked about the average (, where is the degree of the node in an unweighted network), and we expect the closeness between nodes will still be broadly distributed due to the complex network topology. The average closeness between nodes can be derived by assuming that (the ‘typical connected’ closeness) if and are connected, and the ‘typical disconnected’ closeness, , if they are not directly connected. In a unweighted regular network, with all nodes having the same degree , it is possible to examine the average closeness between connected and disconnected nodes using the GENs. For homogeneous degree distributions such as the ER networks, we expect an approximation to be reasonable, with fluctuations in the degree expected to have a relatively minor impact, particularly for high mean degree. For these homogeneous networks, we assume that nodes that are directly connected feel a typical closeness between each other, and another closeness to nodes they are not. If and are directly connected they have on average neighbors in common (since both have exactly edges, one of which connects to the other), and they have neighbors in common if they are not connected. We must split the sum in Eq. 1 into two parts: a sum over nodes neighboring both and , and a sum over nodes only connected to . This gives the approximate equations for an unweighted network of constant degree

(2) |

and

(3) |

It is possible to solve exactly in terms of , , and the unknown , with

(4) |

An exact solution for is unwieldy, but it is possible to find a solution for asymptotically for large and we find that

(5) |

Comparing this expression to the numerical solution of the equation shows less than 1% deviation for and , suggesting the truncation to terms of order is sufficient for large over a wide range of . A good approximation for can be found by setting and taking the limit of . We find

(6) |

where latter is the scaling for sufficiently large . Even for , higher order terms can contribute in the series for only moderate values of , and the full expression is required to obtain an accurate estimate.

In Fig. 2, we see the distribution of the GENs for Erdős-Rényi networks with varying and . In (A-B) we see that changing radically alters the mean values of as well as the shape of the distributions, while changing only marginally affects the distribution of the connected GENs. For the distribution of exhibits multiple peaks in Fig. 2(A), with each local maximum corresponding to a different degree of the node and with the width of the distribution about the peak coming from differing degrees of the node . Such heterogeneity is less apparent for high-degree nodes (Fig. 2(B)), where fluctuations in the degree of or have less of an impact on the GENs, and the distributions are unimodal. For disconnected nodes, the distributions have a single dominant peak (Fig. 2(C-D)), and the location of the peaks are well predicted for . Due to the heterogeneity and significance of degree fluctuations for the smaller , there are large differences between the predicted and observed averages.

In contrast to the homogeneous degree distribution of the Erdős-Rényi random network model, Barabasi-Albert (BA) networks[8] have a scale-free, heterogeneous degree distribution, and Fig. 3 shows that the distribution for the GENs for BA networks are likewise heterogeneous for directly connected nodes. The distribution for the GENs between nodes that share an edge (shown in Fig. 3A-B) appear to have a relatively fat tail and approximately satisfy for nodes that share a direct connection, with an empirically determined scaling exponent near 1.5 for =4 and around 2.1-2.2 for (shown in Fig. 4). This is in comparison to the fat-tailed degree distribution with the scaling of the BA networks for both values of . Interestingly, the distribution of the GENs for disconnected nodes does not depend as strongly on the scale-free nature of the degree distribution, with similar qualitative features found in both Fig. 2C-D for the ER networks and Fig. 3C-D for the BA networks. While the existence of hubs in the BA networks tends to give a higher probability of finding smaller values of for disconnected nodes in comparison to ER networks, the most likely values of are similar for disconnected nodes in either network topology (in contrast to the radically different distributions in for connected nodes). We have considered only unweighted networks in this analysis, and allowing weighted edges further complicates the analysis of the ‘typical’ GEN between nodes unless a homogeneity assumption on the distribution of weights is likewise made.

## 3 Random Walks and the GENs

The mean first passage time (MFPT) from node to node () are of interest in many contexts, and because of the limited resource represented by the random walker, it is worthwhile to see the relationship between the rate of travel between nodes and how ‘close’ they are as measured by the GENs. Tetali[36] has shown that the MFPT in an unbiased random walk can be computed directly from the resistance distance[15, 16] with . It is easily seen that the MFPTs are asymmetric (), in general, as it is easier to reach a high-degree node than a low degree node (much like the asymmetry in the GENs with ). We intuitively expect that if node feels ‘close’ to node (small ) but node does not (large ), a random walker will pass more readily from to than from to . We therefore compare to the difference in the MFPT between nodes in Fig. 5 and empirically find the asymmetry in the MFPT is highly correlated with the asymmetry in the GENs, with an empirical scaling of with the number of nodes in the network and a topology-dependent constant. The fact that , even when there are no direct connections between and , indicates that the GENs are able to capture the importance of the global network topology even for distant nodes. It is interesting to note that while the relative proportionality appears to be strongly dependent on the size of the network and only weakly dependent on the average degree, it is visually apparent that sets the scale of the fluctuation statistics from the best fit line. For , the asymmetry density is relatively disperse (Fig. 5(A) and (C)) with no obvious structure, while for there is clear clustering of the density about curved bands (Fig. 5(B) and (D)).

A similar result, using the same values of and for a Erdős-Rényi network, is shown in Fig. 7 and displays the same qualitative features: the asymmetry in the GENs are highly correlated with the asymmetry in the mean first passage times, and there is an apparent scaling of with depending on the average degree. This coefficient is on the order of the scaling coefficient for the BA networks in Fig. 5, with . While the structure of the deviation from the best fit line is interesting, note that the logarithmic scale of the coloring means that these extreme outliers are still relatively rare compared to the much higher density near the best fit line. The overall correlation between the asymmetries of the GENs and the MFPTs indicates that is a meaningful quantity, capturing the topological details of the network. We have found that our iterative method for computing the GENs (implemented in C++) converges far more rapidly than directly computing the MFPT via a matrix pseudo-inversion[15] for the networks we have considered (using the ‘pinv’ function in Matlab).

## 4 An application to epidemic spreading

The spreading of an epidemic has been studied by many authors and in a wide range of contexts[37, 18, 38, 39, 17], with the SIR model being one of the simplest and most commonly used. The susceptible-infected-recovered (SIR) model assumes that a population of susceptible individuals becomes infected due to interactions with previously infected individuals, and infected individuals may recover and become non-infectious. A simple schematic of the SIR model is shown in Fig. 6(A), with infections occurring at a constant rate rate, , when individuals interact and the recovery at constant rate, . A number of more complex models have been considered extensively for a homogeneously mixed population of individuals [39], but non-uniform interactions between individuals, represented by networks, can have a profound impact on the dynamics of epidemic spreading in the SIR model[5, 17, 18]. The existence of epidemic thresholds[5, 40] for homogeneous networks (or the lack thereof for scale free networks[17]) are well-studied global quantities of interest, while more local quantities such as the probability of a particular node becoming infected, sparking an epidemic[41], and quarantine or immunization strategies[38, 42] have also been examined.

While it is clearly useful to understand the global properties of the epidemic (such as the expected number of infected individuals), a particular individual may also be interested in its own probability of becoming infected given the current state of the disease and may reasonably be less concerned if no neighbors are infected than if many neighbors are infected. However, it is not straightforward to analytically calculate how long the disease will take to reach from any point in the network, and it would be useful to have a measure for how ‘close’ the epidemic is from an individual node. If the infection begins with a single node , we expect that the disease will more rapidly propagate to nodes for which feels topologically close, and it is therefore worthwhile to compare the infection times in a SIR epidemic with the GENs as a proxy for closeness. To see the relationship between infection time and closeness, we simulate an SIR epidemic, using Gillespie dynamics[43] on an Erdős-Rényi graph (with a uniform probability of connection and each node having average degree). This allows us to determine the harmonic mean of the infection time of a node given an initial infection at over the simulations, (the harmonic mean is chosen to avoid diverging infection times in simulation , , where the disease dies out before is infected). Because the GENs do not naturally include the timescales of the system dynamics ( and ) we normalize the harmonic mean by , which is the ‘typical’ time at which a node becomes infected if the disease originates with .

In Fig. 6(B-D) we compare to (how close node feels towards node ) for a network of 512 nodes and in (B); and in (C); and and in (D). In all cases, tends to increase with (as is expected: nodes feels close to are infected faster), although the functional dependence of the infection time on the topological closeness depends on the parameters in a non-universal way. We also show in the insets that the scaled mean first passage time between nodes in a random walk () does a surprisingly poor job of predicting the infection time in comparison with the GENs. This is likely due to the significant differences between the SIR model and a random walk: if a walker departs from node at timestep , he cannot depart from again at time . In effect, there is only one ‘infectious’ node at a time in a random walk which makes the MFPT a poor estimator of the infection time in a SIR simulation. The resistance distance between nodes provides a fit quality similar to that of the scaled MFPT (data not shown). In Fig. 6(E), the quality of the fit is quantified using the standard deviation of the residuals of the fit. In all cases, the GENs are much more highly correlated with the average time of infection between pairs of nodes in the network. Fig. 6 indicates that the GENs can more meaningfully capture the impact of network topology on the dynamics of epidemic spreading than other global measures of pairwise ‘closeness’ between nodes.

## 5 Measuring a personalized importance

The GENs incorporate a simple idea of what is meant by the ‘closeness’ between nodes in a network where limited resources are shared, and we expect that a node that feels ‘close’ to node (having small ) considers node to be ‘important’ in some sense. We may therefore regard the inverse of the closeness between nodes () as an un-normalized personalized measure of importance, allowing a ranking of all nodes in the network from the perspective of the node . Because measures the importance of from a particular node (rather than the network at large), it is not equivalent to a centrality measure.

To gain insight into the meaning of the personalized importance, Eq. 1 can be expanded in the limit of large for (a valid expansion for shown in the SI, and is observed to be reasonable for more complex networks), yielding . We can use this lowest-order expansion to define the linearized importance assigned by node towards node () as

(7) |

where is undefined (since ). Eq. 7 provides a natural interpretation of the meaning of personalized importance. The importance assigns to is a combination of two terms: a weighted average of the importance his neighbors assign to , and an importance of assigned in the case of a direct connection between and . Defining and the graph Laplacian[31, 44, 15], Eq. 7 can be written , relating the linearized importance directly to the graph Laplacian. Despite the simplicity of this interpretation of the linearized importance, is of limited use in unweighted networks (diagrammed in Fig. 8: if , Eq. 7 reduces to with the solution for all connected nodes. Only in the context of weighted networks is a non-trivial measure of importance obtained. The full nonlinear expression for the GENs (which incorporates higher order terms than the linear approximation) does not suffer from this difficulty and can still determine meaningful measures of importance between nodes.

The usefulness of the nonlinear importance on a network can rapidly determine meaningful relationships between nodes in complex networks. To illustrate this, we consider the benchmark of Liancichinetti, Fortunato, and Radicchi (LFR)[11], which constructs a network of communities of variable sizes (distributed as ), a scale-free distribution of the nodes (with ), and which is characterized by the mixing parameter, , as the fraction of inter-community edges. We have previously shown[12] that the GENs can be used to detect the community structure underlying this benchmark. When measuring the importance of a node, a global measure of centrality will generally focus on nodes with high degree, but due to the heterogeneous density of edges between communities, we expect a meaningful definition of the importance assigns to to differ significantly depending on if and are in the same community. Note that the determination of the GENs does not require a priori knowledge of the community structure. In Fig. 9(A), we determine the distribution of importance between nodes and that do not share a direct connection () for nodes within ’s community (red) and outside of ’s community (blue). There is an immediately apparent difference in the distributions, with a greater probability of a high importance if and are in the same community due to the increased number of shared neighbors (even in the absence of a direct connection). Increasing the LFR parameter (which increases the number of edges between communities) reduces the difference in the distributions, but varying the other system parameters has only a minor impact on the clear distinction between the two distributions (data not shown). A large overlap between neighbors is not required to accurately detect meaningful differences in the importance between pairs of nodes, though: in Fig. 9(B) we show cliques of nodes with , , and having no neighbors in common, but due to the network topology, is closer to than to (depicted in the inset of Fig. 9(B)). The GENs determine that feels is more important than does. incorporates direct connections between nodes, proximity in the network, and shared neighbors into a meaningful measure of personalized importance.

## 6 Global importance and Erdős centrality

Degree[45] | Node Degree | |

PageRank[19] | component of first eigenvector of | |

Betweenness[16] | times is visited in a random walk | |

Centrality | . | |

Random Walk [14] | The rate information flows from other | |

Centrality | nodes to : |

Having defined a pairwise measure of the importance a node assigns to using (or the linearized ), we naturally expect that we can leverage this definition into a global measure of the importance of node . There already exist a wide variety of methods for measuring centrality from a global perspective, including degree[45, 16, 46], PageRank[46, 19], random walk[14], and betweenness centrality[14, 16] (briefly described in Table 1). Each measure ranks high-degree nodes above low-degree nodes but take the global network topology into account in different ways. These methods produce qualitatively similar but quantitively different node rankings, as reflected by the fractional intersection between the top- orderings[47], , with the top- ordering using method . is shown comparing the ordering due to PageRank with that found using the betweenness and random walk centrality measures for a Barabási-Albert network topology in Fig. 10(A). It is clear that there is an immediate drop to for small for these well known centralities (i.e. good but not perfect agreement on the top few nodes), after which the methods tend to vary slowly or not at all for larger top- lists.

To convert our personalized importance measures into a single global measure, we define as the sum of the importance the neighbors of assign to it (akin to the approach of Ref. [32]). For an unweighted network (with for all and ), the linearized is equivalent to the degree centrality. In Fig. 10(B), we compare to the other measures of centrality in Table 1 for a single realization of a Barabási Albert network with and . In all cases, there is an obvious correlation between these measures of centrality but with significant difference between centrality measures in some cases for both central and non-central nodes alike. Degree and random walk centrality both tend to be strongly clustered around desecrate values, leading to the banded structures seen in Fig. 10(B), and the difference between these and PageRank seen in Fig. 10(A). The Erdős centrality takes the global topology into account differently than these measures of centrality (similar to the betweenness and PageRank centrality). When comparing the Erdős centrality to those in Table. 1, the similarity between the orderings from most- to least-important[48, 49], using different measures is of particular interest[20, 21]. We compare the Erdős centrality ordering to the other measures of centrality using [47] in Fig. 10(C) and see that the Erdős centrality is consistent with other measures of centrality: a sharp drop initially with slow variation for larger and throughout. Despite the different formulations between the Erdős centrality and PageRank, the top- list for compares best to the list from (dashed purple line) for high degree nodes but begins to agree better with betweenness centrality when less central nodes are also included.

We have also computed the Erdős centrality and other measures of centrality for a BA network with and . While the discreteness of the degree distribution is still apparent in Fig. 10B (with the tight clustering of points about discrete values), it is has a greater impact in Fig. 11, where attains fewer values due to the significantly smaller average degree. The general trends are qualitatively similar to that in Fig. 10, though: the betweenness centrality (Fig. 11(C)) depends on the degree in a qualitatively different manner than any other measure (and is more clearly correlated to the Erdős centrality for low-ranked nodes). The Erdős centrality does not appear to be linearly related to the random walk centrality (although they are still correlated), and clear bands are observed due to nodes of equal degree for both the degree and PageRank measures of centrality.

It is interesting to note that can define a modified connectivity matrix, incorporating both direct connections in the adjacency matrix and non-local paths between nodes. A random walk performed with a transition probability (with the convention , meaning the walker never remains at ) has a similar interpretation: a walker at node has a relatively high probability of moving to node if they are directly connected in the original network (if ), but has a non-zero probability of jumping to a disconnected node. The matrix can be compared to the PageRank transition probability matrix , which has a uniform probability of teleporting to any node in the network (regardless of the network topology). has a jump probability that is not purely random but rather preferentially lands on nodes that finds important, in contrast to PageRank’s uniform teleport probability. An alternate Erdős measure of centrality can be defined as the largest eigenvector of the matrix (akin to PageRank, the steady state probability of being found at a node under the transition probability ). However, the computational efficiency of the simple sum and its clear correlation with known measures of centrality (seen in Figs. 10 and 11) makes our current definition of the Erdős centrality preferable.

Because the GENs can be used to describe random walks efficiently while prescribing a topology-dependent teleportation via the matrix (with discussed in Sec. 6), they may be of use in future studies as well. Walkers on will tend to remain trapped in regions of locally dense edges, and implementing such a walk in community detection methods may increase the accuracy of the determined partition[50]. Similarly, the modified walk may be of use in modeling systems where jumps to non-neighboring (but topologically close) nodes is desirable, such as epidemic spreading in a social network. Epidemics can be been modeled[18] as spreading with some probability to direct contacts (due to the assumed high probability they interact directly) and with a lower probability ‘jumping’ to nodes without a direct contact (with non-neighbor transmission possible due to rare transient interactions). We could expect that non-neighbor interactions will not have a uniform probability, but rather that each node is more likely to transiently interact with friends-of-friends (or individuals s/he feels topologically close to). Epidemic spreading on will capture our expectation that transmission to friends with whom we have regular contact is most likely, but transmission to friends of friends is more likely than transmission to very distant people in the social network.

## 7 GENs in the continuum limit

We showed in the previous sections that the Generalized Erdős Numbers can be useful in describing complex networks a variety of contexts by incorporating the global network topology into a measure of closeness between nodes. Many physical networks exist in a metric space[3], such as wireless sensor networks[24, 25] or transportation[26, 27] networks, where the strength of the direct interaction between two nodes depends on their locations. In many contexts, such as transportation networks[6], distance-independent connection strengths may coexist with geometrically defined links (for example, surface mobility versus air travel). It is natural to wonder what impact this may have on the GENs, and how topological closeness is influenced by physical proximity. We assume that a network of long-range connections has been externally defined, and that each node in that network can be assigned to a location in some dimensional space (a schematic is shown in Fig. 12A). Each node in the original, distance-independent network (of nodes) occupies a location , with an interaction strength . We refer to these nodes as ‘network nodes’, each of which has at least one direct connection due to the connectivity of the original network (referred to as a long-range connection). To introduce geometry into the problem, we also define a network of ‘material nodes’ into the network at locations , whose interactions are purely geometric (schematically diagrammed in Fig. 12B for a spherical geometry). The distance-dependent interaction between the nodes of any type (both network and material nodes) at locations and is given by , with the constraint that to ensure the network remains undirected. Note that distance-dependent connections are drawn between network nodes as well, so the total weight between and is . If or the physical geometry is irrelevant and the original network is recovered, while if or , then the weights between nodes are determined only by node locations.

Replacing discrete equations with continuum models has been of use in a wide variety of systems[51], and for networks with large , we can establish a continuum limit of the definition of the GENs in Eq. 1 of the main text. In SI sec. A, we develop a linearized continuum model for the approximate pairwise importance and describe a more complete (and complex) nonlinear continuum model in SI sec. D. An inhomogeneous Fredholm equation is found for the purely geometric network (where the number of long-range network nodes or equivalently ), with

(8) |

where is the local density of material nodes at and is the strength the material node at . The delta function removes the (undefined) factor of (necessary because of the discrete requirement that ), and is equivalent to the removal of a self-energy. Note that if constant, the linearized importance will yield a non-trivial result ( constant). It is straightforward to show that the solution to the Eq. 8 is , where is the importance without removal of the self-energy term. There are a wide range of methods to determine analytically[52, 53], but determining an exact expression is a non-trivial task even for simple geometries (see SI Sec C).

If we combine short ranged geometrical interactions with long range, geometry-independent edges, the expression for the GENs and the linearized importance becomes more complex. Eq. 8 is valid only in the absence of long range connections, but we show in SI Sec. B that the linearized can still be written in the simple form

(9) |

with the complicated functional forms of the kernel explicitly given in SI Sec B. While Eq. 9 is linear (and therefore analytically tractable), all methods for determining will require integration of functions involving , which we show in SI Sec. C is difficult even in simple domains and for simple interactions . Eq. 8 and 9 can still be solved numerically over finite domains using well known methods[52, 53] in cases where exact results can not be obtained. The global importance, , is straightforwardly computed from Eq. 9 using (assuming for all .

While Eq. 9, describing the continuum linearized importance, is analytically approachable, the full nonlinear theory for the continuum system is entirely intractable. Because the undesirable aspects of the linearized importance shown in Fig. 8 are expected to persist even in the continuum limit, we expect the nonlinear theory to be required to yield meaningful estimates of personalized closeness or global centrality. To understand the effect of the material interactions, we determine the GENs for a sphere of radius formed from a lattice of equally spaced material nodes with an inter-node spacing (i.e. with a constant node density ). It is straightforward to simply solve for the GENs in Eq. 1 of the main text numerically for any geometry, which equivalent to solving the integral equation via quadrature[52]. For , the nodes in the network are connected with a strength (with chosen here). For a purely material sphere (where the interaction strength is determined entirely by and the number of network nodes is ), the closeness between two points is determined primarily by their relative distance, as shown in Fig. 13(A-B). While the expected decrease in the importance of from the perspective of another node at for increasing is observed, the qualitative behavior of the importance depends strongly on the locations of both points, with the empirically derived scaling of )+const. We also find that nodes towards the center of the sphere have a higher global importance than those towards the boundary (Fig. 13(C)), due to the greater number of paths towards the center than along the surface. We likewise expect the asymmetry in the closeness, , is skewed such that more external nodes feel closer to internal nodes than vice versa, due to the greater overall importance of the central nodes. This is confirmed in Fig. 14, where is far more likely to be seen at the boundary of the sphere, regardless of the distance between the nodes. Coupled with Fig. 2 of the main text we expect that , for some topology-dependent , will accurately predict the asymmetry in the mean first passage time of a random walk between nodes in the sphere.

The influence of long-range network topology greatly increases the complexity of the problem and obscures our understanding of the closeness between nodes in the sphere. To study the influence of the topology of the long range connections, we consider two very simple networks embedded in our sphere: long range connections between the poles of the sphere passing through a central hub, and direct connections between the poles (pictured in Fig. 15). In Fig. 15(A), we show the network nodes at the poles are indirectly linked to each other through strong connections to the center of the sphere of strength (so . Also shown is a cross-section of the sphere, showing the closeness between points to one of the poles (marked with the blue dot in the sphere above). The total strength of the distance-dependent interactions is at the poles, so the contribution of the material nodes is comparable to that of the long-range connections. Unsurprisingly, the center of the sphere feels each of the poles are important (the central red region in the cross-section in Fig. 15(A)), as do each of the other network-node poles. We compare the central-hub topology in Fig. 15(A) to that of direct connections between poles, depicted in Fig. 15(B). To keep the strength of the poles constant, the long range connections all have weight (but ). Despite the constant total strength of the poles, the increased number of edges per pole decreases the importance each pole assigns to the other, reflected in the fact that the pole-to-pole importance, , in (B) is reduced by about 5% relative to (A). Indirect connections between the poles can therefore lead to a greater importance between them than direct connections due to the effect of short-ranged interactions with material nodes. The decay length of the importance assigned by material nodes to the network nodes is also increased for the direct connections in (B) relative to the range in (A) (not shown), suggesting that the reduced importance between network nodes is due to an increased importance of the material nodes. In situations where finite resources are shared (e.g. a random walk or diffusion of information), direct connections to a central hub will more easily allow the resource to be targeted to specific sites in comparison to multiple direct connections.

## 8 Conclusions

In this paper, we have shown the utility of the Generalized Erdős Numbers in a variety of contexts on both a local and a global level. The asymmetry of the GENs is highly correlated to the asymmetry in the MFPT, another asymmetric quantity of use in network science. The ability of the GENs to generate a global measure of closeness between nodes in a network has been shown in the context of defining both a global and personalized measure of the importance or centrality. Our global Erdős centrality is consistent with other well known centrality measures with the added benefit of a greater heterogeneity for nodes of equal degree in many cases (see Fig. ErdosCentrality.fig). The personalized importance from which the Erdős centrality is derived is shown to be useful in other contexts, with a specific example studying the influence specific locations of a sphere can have on other locations. Having demonstrated the usefulness of the GENs in many contexts here, future work will apply these methods to concrete problems involving network growth or dynamics on networks in more concrete cases of physical or biological importance.

Acknowledgements: We thank O. Peleg and G. Strang for useful comments on the manuscript. grant info

## References

- [1] G. Morrison and L. Mahadevan. Asymmetric network connectivity using weighted harmonic averages. Europhys. Lett., 93:40002, 2011.
- [2] D. S. Bassett, E. T. Owens, K. E. Daniels, and M. A. Porter. Influence of network topology on sound propagation in granular materials. Phys. Rev. E, 86:041306, 2012.
- [3] M. Barthelemy. Spatial networks. Phys. Rep., 499:1, 2011.
- [4] J. Bacompte, P. Jordano, and J. M. Olesen. Asymmetric coevolutionary networks facilitate biodiversity maintenance. Science, 312:431, 2006.
- [5] M. E. J. Newman. Spread of epidemic disease on networks. Phys. Rev. E, 66:016128, 2002.
- [6] D. Balcan, V. Colizza, B. Goncalves, H. Hu, J. J. Ramasco, and A. Vespignani. Multiscale mobility networks and the spatial spreading of infectious diseases. Proc. Natl. Acad. Sci., 106:21484, 2009.
- [7] M. Keeling. The implications of network structure for epidemic dynamics. Theor. Pop. Biol., 67:1, 2005.
- [8] A-L. Barabábsi and R. Albert. Emergence of scaling in random networks. Science, 286:509, 1999.
- [9] A. Barrat, M. Barthelemy, R. Pastor-Satorras, and A. Vespignani. The architecture of complex weighted networks. Proc. Natl. Acad. Sci., 101:3747, 2004.
- [10] M. E. J. Newman. Networks: An Introduction. Oxford University Press, 2010.
- [11] A. Liancichinetti, S. Fortunato, and F. Radicchi. Benchmark graphs for testing community detection algorithms. Phys. Rev. E, 78:46110, 2008.
- [12] G. Morrison and L. Mahadevan. Discovering communities through friendship. PLoS One, 7:e38704, 2012.
- [13] M. Girvan and MEJ Newman. Community structure in social and biological networks. Proc. Natl. Acad. Sci., 99:7821, 2002.
- [14] J. D. Noh and H. Rieger. Random walks on complex networks. Phys. Rev. Lett., 92:118701, 2004.
- [15] D. J. Klein and M. Randic. Resistance distance. J. Math. Chem., 12:81, 1993.
- [16] M. E. J. Newman. A measure of betweenness centrality based on random walks. Social Networks, 27:39, 2005.
- [17] R. Pastor-Satorras and A. Vespignani. Epidemic spreading in scale-free networks. Phys. Rev. Lett., 86:3200, 2001.
- [18] F. Ball and P. Neal. Network epidemic models with two levels of mixing. Math. Biosci., 212, 2008.
- [19] Massimo Franceschet. Pagerank: Standing on the shoulders of giants. Communications of the ACM, 54:92, 2011.
- [20] G. Ghoshal and A-L Barabási. Ranking stability and super-stable nodes in complex networks. Nature Comm., 2:1, 2011.
- [21] N. Blumm et. al. Dynamics of ranking processes in complex systems. Phys. Rev. Lett., 109:128701, 2012.
- [22] M. E. J. Newman. ScientiÃc collaboration networks. ii. shortest paths, weighted networks, and centrality. Phys. Rev. E., 64:016132, 2001.
- [23] T. Zhou, J. Ren, M. Medo, and Y. Zhang. Bipartite network projection and personal recommendation. Phys. Rev. E, 76:046115, 2007.
- [24] Y. Wang. Topology Control for Wireless Sensor Networks. Springer, 2008.
- [25] N. Masuda, H. Miwa, and N. Konno. Geographical threshold graphs with small-world and scale-free properties. Phys. Rev. E, 71:036108, 2005.
- [26] M. Kurant and P. Thiran. Layered complex networks. Phys. Rev. Lett., 96:138701, 2006.
- [27] A. De Montis, M. Barthelemy, A. Chessa, and A. Vespignani. The structure of interurban traffic: a weighted network analysis. Envir. and Planning B, 34:905, 2007.
- [28] S. Boccaletti, V. Latora, Y. Moreno, M. Chavez, and DU Hwang. Complex networks: Structure and dynamics. Phys. Rep., 424:175, 2006.
- [29] A. W. Rives and T. Galitski. Modular organization of cellular networks. Proc. Natl. Acad. Sci., 100:1128, 2003.
- [30] R. DeCastro and J. Grossman. Famous trails to paul erdős. Math. Intel., 21:51, 1999.
- [31] D. Babic, DJ Klein, I. Lukovits, S. Nikolic, and N. Trrinajstic. Resistance distance matrix: A computational algorithm and its application. Int. J. Qantum Chem., 90:166, 2002.
- [32] E. A. Leicht, P. Holme, and MEJ Newman. Vertex similarity in networks. Phys. Rev. E, 73:026120, 2006.
- [33] E. Estrada and N. Hatano. Communicability in complex networks. Phys. Rev. E, 77:036111, 2008.
- [34] P. D. Hoff, A. E. Raftery, and M. S. Handcock. Latent space approaches to social network analysis. J. Am. Stat. Assoc., 97:1090, 2002.
- [35] A. Fedorova, S. Blagodurov, and S. Zhuravlev. Managing contention for shared resources on multicore processors. Comm. ACM, 53:49, 2010.
- [36] P. Tetali. Random walks and the effective resistance of networks. J. Theoretical Prob., 4:101, 1991.
- [37] R. M. Anderson and R. M. May. Infectious Diseases of Humans. Oxford University Press, 1992.
- [38] C. Lagorio et. al. Quarantine-generated phase transition in epidemic spreading. Phys. Rev. E, 83:026102, 2011.
- [39] H. W. Hethcote. The mathematics of infectious diseases. SIAM REV., 42:599, 2000.
- [40] J. C. Miller. A note on a paper by Erik Volz: SIR dynamics in random networks. J. Math. Biol., 62:349, 2011.
- [41] L. A. Meyers. Contact network epidemiology: Bond percolation applied to infectious disease prediction and control. Bull. Amer. Math. Soc., 44:63, 2007.
- [42] R. Pastor-Satorras and A. Vespignani. Immunization of complex networks. Phys. Rev. E, 65:036104, 2002.
- [43] D. T. Gillespie. A general method for numerically simulating the stochastic time evolution of coupled chemical reactions. J. Comp. Phys., 22:403, 1976.
- [44] M. Hein, J-Y Audibert, and U. von Luxburg. Graph laplacians and their convergence on random neighborhood graphs. J. Mach. Learn. Res., 8:1325, 2007.
- [45] T. Opsahl, F. Agneessens, and J. Skvortez. Node centrality in weighted networks: Generalizing degree and shortest paths. Social Networks, 32:245, 2010.
- [46] S. P. Borgatti. Centrality and network flow. Social Networks, 27:55, 2005.
- [47] R. Fagin, R. Kumar, and D. Sivakumar. Comparing top lists. SIAM J. Disc. Math., 17:134, 2003.
- [48] T. H. Haveliwala. Topic-sensitive pagerank: a context-sensitive ranking algorithm for web search. IEEE Trans. Knowl. Data Eng., 15:784, 2003.
- [49] N. Blumm et. al. Dynamics of ranking processes in complex systems. Phys. Rev. Lett., 109:128701, 2012.
- [50] P. Pons and M. Latapy. Computing communities in large networks using random walks. Comp. and Info. Sci. ISCIS, 2005:284, 2005.
- [51] M. E. J. Newman and D. J. Watts. Mean-field solution of the small-world network model. Phys. Rev. Lett., 84:3201, 2000.
- [52] A. D. Polyanin and A. V. Manzhirov. Handbook of Integral Equations. CRC Press, 1998.
- [53] F. G. Tricomi. Integral Equations. Interscience Publishers, 1957.

## Appendix A Formulation of the linearized continuum model

In order to illustrate the emergence of both the node density and the delta function constraints in the continuum limit (Eq. 8 of the main text), it is useful to begin by calculating in the case where network nodes are not included (or only between material nodes). We presume that there are a sufficiently large number of material nodes so that we can replace the sums over all nodes (such as in Eq. 1 of the main text) with an integral. The interaction between material the nodes and is . For the discrete system, the total strength of the material node is given by

(10) |

where the second term imposes the constraint of no self-interactions (no loops) in the network. This constraint can be avoided by allowing self-loops and will have no impact on the continuum model for the linearized importance, but such a change would have an minor impact on the non-linear theory. Because the GENs were originally developed for networks without self-interactions, we retain that assumption in this paper. If each material node were on a lattice with spacing , the volume excluded by each node would be . We could then write

(11) |

in the limit of and , where is the constant number density of the nodes at the location and with the constraint , where is the volume of the domain and is the total strength with the integral over all space (i.e. without neglecting the self-loop). We have kept the continuum version of to be the integral over all space for convenience, but must remember to remove the contribution from the self loop as in Eq. 11. For material nodes that are not on a lattice, we can replace the effective volume with the volume excluded by the node , and defining the variable density, , produces the strength

(12) |

where again . A similar limit will be found for any other sum that must avoid self-loops in the continuum limit, such as in Eq. 1 of the main text.

## Appendix B Appendix: Including long-range connections in the continuum model

Labeling as the importance a network node at (connected to a long range edge) assigns to a material node at (with no long range connection), the linearized importance between material nodes reduces to the coupled equations

(13) | |||||

and

where Eq. 13 describes the importance between material nodes, and Eq. B describes the importance from the network nodes to the material nodes. Eq. 13 is identical to Eq. 8 of the main text with a set of additional -function constraints at the location of the network nodes (where long-range connections contribute). Note that if , the substitution of into Eq. B recovers Eq. 13, which in turn reduces to Eq. 8 of the main text as expected. The discrete nature of the network nodes allows a direct solution in terms of , and it is convenient to define , with the un-normalized graph Laplacian of the network nodes (in the absence of any material nodes) and incorporates the effects of the material nodes on the strength of the network nodes. It is important to note that is not the graph Laplacian of the entire network, and can be inverted so long as . It is straightforward to derive the solution for in terms of , with

(15) | |||

where . Eq. 15 can be solved directly, and we find and substitution into Eq. 13 yields

(16) | |||||

where . Eq. 16 is linear in , meaning that it can be solved exactly knowing the locations of and interactions between network nodes. In particular, we can write

(17) |

with

(18) |

is the direct connection term, renormalized to include the effects of the long-distance connection, and the kernel becomes

(19) |

with

(20) |

is a ‘bare’ kernel (in the absence of any delta function constraints). It is worthwhile to note that the the dominant contribution to comes from in Eq. 17 (with higher order contributions coming from integrals weighted by ). If long-range interactions are expected to be perturbative and local interactions are very short-ranged, may be a sufficient approximation to avoid the complexity of an exact evaluation of . However, the undesirable behavior of the linearized importance, pictured in Fig. 8 of the main text, suggests that this further-approximated value of