Degree distribution explained

In the study of graphs and networks, the degree of a node in a network is the number of connections it has to other nodes and the degree distribution is the probability distribution of these degrees over the whole network.

Definition

The degree of a node in a network (sometimes referred to incorrectly as the connectivity) is the number of connections or edges the node has to other nodes. If a network is directed, meaning that edges point in one direction from one node to another node, then nodes have two different degrees, the in-degree, which is the number of incoming edges, and the out-degree, which is the number of outgoing edges.

The degree distribution P(k) of a network is then defined to be the fraction of nodes in the network with degree k. Thus if there are n nodes in total in a network and nk of them have degree k, we have

P(k)=

nk
n
.

The same information is also sometimes presented in the form of a cumulative degree distribution, the fraction of nodes with degree smaller than k, or even the complementary cumulative degree distribution, the fraction of nodes with degree greater than or equal to k (1 - C) if one considers C as the cumulative degree distribution; i.e. the complement of C.

Observed degree distributions

The degree distribution is very important in studying both real networks, such as the Internet and social networks, and theoretical networks. The simplest network model, for example, the (Erdős–Rényi model) random graph, in which each of n nodes is independently connected (or not) with probability p (or 1 − p), has a binomial distribution of degrees k:

P(k)={n-1\choosek}pk(1-p)n-1-k,

(or Poisson in the limit of large n, if the average degree

\langlek\rangle=p(n-1)

is held fixed). Most networks in the real world, however, have degree distributions very different from this. Most are highly right-skewed, meaning that a large majority of nodes have low degree but a small number, known as "hubs", have high degree. Some networks, notably the Internet, the World Wide Web, and some social networks were argued to have degree distributions that approximately follow a power law:

P(k)\simk-\gamma

, where γ is a constant. Such networks are called scale-free networks and have attracted particular attention for their structural and dynamical properties.[1] [2] [3] [4] However, a survey of a wide range of real world networks suggests that scale-free networks are rare when assessed using statistically rigorous measures.[5] Some researchers have disputed these findings arguing that the definitions used in the study are inappropriately strict,[6] while others have argued that the precise functional form of the degree distribution is less important than knowing whether the degree distribution is fat-tailed or not.[7] The over-interpretation of specific forms of the degree distribution has also been criticised for failing to consider how networks may evolve over time.[8]

Excess degree distribution

Excess degree distribution is the probability distribution, for a node reached by following an edge, of the number of other edges attached to that node.[9] In other words, it is the distribution of outgoing links from a node reached by following a link.

Suppose a network has a degree distribution

P(k)

, by selecting one node (randomly or not) and going to one of its neighbors (assuming to have one neighbor at least), then the probability of that node to have

k

neighbors is not given by

P(k)

. The reason is that, whenever some node is selected in a heterogeneous network, it is more probable to reach the hubs by following one of the existing neighbors of that node. The true probability of such nodes to have degree

k

is

q(k)

which is called the excess degree of that node. In the configuration model, which correlations between the nodes have been ignored and every node is assumed to be connected to any other nodes in the network with the same probability, the excess degree distribution can be found as:

q(k)=

k+1
\langlek\rangle

P(k+1),

where

{\langlek\rangle}

is the mean-degree (average degree) of the model. It follows to that fact that the average degree of the neighbor of any node is greater than the average degree of that node. In social networks, it mean that your friends, on average, have more friends than you. This is famous as the friendship paradox. It can be shown that a network can have a giant component, if its average excess degree is larger than one:

\sumkkq(k)>1{\langlek2\rangle}/{\langlek\rangle}-1>1{\langlek2\rangle}-2{\langlek\rangle}>0

Bear in mind that the last two equations are just for the configuration model and to derive the excess degree distribution of a real-word network, we should also add degree correlations into account.

Generating functions method

Generating functions can be used to calculate different properties of random networks. Given the degree distribution and the excess degree distribution of some network,

P(k)

and

q(k)

respectively, it is possible to write two power series in the following forms:

G0(x)=style\sumk\displaystyleP(k)xk

and

G1(x)=style\sumk\displaystyleq(k)xk=style\sumk\displaystyle

k
\langlek\rangle

P(k)xk-1

G1(x)

can also be obtained from derivatives of

G0(x)

:

G1(x)=

G'0(x)
G'0(1)

If we know the generating function for a probability distribution

P(k)

then we can recover the values of

P(k)

by differentiating:

P(k)=

1
k!

{\operatorname{d}kG\over\operatorname{d}xk}l\vertx=0

Some properties, e.g. the moments, can be easily calculated from

G0(x)

and its derivatives:

{\langlek\rangle}=G'0(1)

{\langlek2\rangle}=G''0(1)+G'0(1)

And in general:

{\langlekm\rangle}=

m}G
l[{(\operatorname{x}{\operatorname{d}\over\operatorname{dx}}l)
0(x)l]

x=1

For Poisson-distributed random networks, such as the ER graph,

G1(x)=G0(x)

, that is the reason why the theory of random networks of this type is especially simple. The probability distributions for the 1st and 2nd-nearest neighbors are generated by the functions

G0(x)

and

G0(G1(x))

. By extension, the distribution of

m

-th neighbors is generated by:

G0l(G1(...G1(x)...)r)

, with

m-1

iterations of the function

G1

acting on itself.[10]

The average number of 1st neighbors,

c1

, is

{\langlek\rangle}={dG0(x)\overdx}|x=1

and the average number of 2nd neighbors is:

c2=l[{d\overdx}G0(G1(x))l]x=1=G1'(1)G'0(G1(1))=G1'(1)G'0(1)=G''0(1)

Degree distribution for directed networks

In a directed network, each node has some in-degree

k in

and some out-degree

kout

which are the number of links which have run into and out of that node respectfully. If

P(kin,kout)

is the probability that a randomly chosen node has in-degree

k in

and out-degree

kout

then the generating function assigned to this joint probability distribution can be written with two valuables

x

and

y

as:

l{G}(x,y)=

\sum
kin,kout

\displaystyleP({kin,kout

})x^y^ .

Since every link in a directed network must leave some node and enter another, the net average number of links entering a node is zero. Therefore,

\langle{kin-kout

}\rangle =\sum_ \displaystyle (k_-k_)P = 0 ,

which implies that, the generation function must satisfy:

{\partiall{G}\over\partialx}\vertx,y=1={\partiall{G}\over\partialy}\vertx,y=1=c,

where

c

is the mean degree (both in and out) of the nodes in the network;

\langle{kin

}\rangle = \langle\rangle = c.

Using the function

l{G}(x,y)

, we can again find the generation function for the in/out-degree distribution and in/out-excess degree distribution, as before.
in
G
0(x)

can be defined as generating functions for the number of arriving links at a randomly chosen node, and
in
G
1(x)
can be defined as the number of arriving links at a node reached by following a randomly chosen link. We can also define generating functions
out
G
0(y)
and
out
G
1(y)
for the number leaving such a node:
in
G
0(x)

=l{G}(x,1)

in
G
1(x)

=

1
c

{\partiall{G}\over\partialx}\verty=1

out
G
0(y)

=l{G}(1,y)

out
G
1(y)

=

1
c

{\partiall{G}\over\partialy}\vertx=1

Here, the average number of 1st neighbors,

c

, or as previously introduced as

c1

, is

{\partiall{G}\over\partialx}l\vertx,y=1={\partiall{G}\over\partialy}l\vertx,y=1

and the average number of 2nd neighbors reachable from a randomly chosen node is given by:

c2=G1'(1)G'0(1)={\partial2l{G}\over\partialx\partialy}l\vertx,y=1

. These are also the numbers of 1st and 2nd neighbors from which a random node can be reached, since these equations are manifestly symmetric in

x

and

y

.

Degree distribution for signed networks

In a signed network, each node has a positive-degree

k +

and a negative degree

k-

which are the positive number of links and negative number of links connected to that node respectfully. So

P(k+)

and

P(k-)

denote negative degree distribution and positive degree distribution of the signed network.[11] [12]

See also

References

Notes and References

  1. Barabási . Albert-László . Albert . Réka . Emergence of Scaling in Random Networks . Science . 286 . 5439 . 1999-10-15 . 0036-8075 . 10.1126/science.286.5439.509 . 509–512. 10521342 . cond-mat/9910332 . 1999Sci...286..509B . 524106 .
  2. Albert . Réka . Barabási . Albert-László . Topology of Evolving Networks: Local Events and Universality . Physical Review Letters . 85 . 24 . 2000-12-11 . 0031-9007 . 10.1103/physrevlett.85.5234 . 5234–5237 . 11102229 . cond-mat/0005085 . 2000PhRvL..85.5234A . 2047/d20000695 . 81784 . 2019-09-25 . 2018-07-21 . https://web.archive.org/web/20180721070200/https://repository.library.northeastern.edu/files/neu:331099/fulltext.pdf . live .
  3. Dorogovtsev . S. N. . Mendes . J. F. F. . Samukhin . A. N. . Size-dependent degree distribution of a scale-free growing network . Physical Review E . 63 . 6 . 2001-05-21 . 1063-651X . 10.1103/physreve.63.062101 . 062101. 11415146 . cond-mat/0011115. 2001PhRvE..63f2101D . 119063903 .
  4. Scale-free behavior of networks with the copresence of preferential and uniform attachment rules. Physica D: Nonlinear Phenomena. 2018. Angelica . Pachon . Laura . Sacerdote . Shuyi . Yang . 371. 1–12. 10.1016/j.physd.2018.01.005. 1704.08597. 2018PhyD..371....1P. 119320331 .
  5. Broido. Anna D.. Clauset. Aaron. 2019-03-04. Scale-free networks are rare . Nature Communications. en. 10. 1. 1017. 10.1038/s41467-019-08746-5 . 30833554 . 6399239. 2041-1723. free.
  6. Voitalov . Ivan . van der Hoorn . Pim . van der Hofstad . Remco . Krioukov . Dmitri . Scale-free networks well done . Physical Review Research . 18 October 2019 . 1 . 3 . 033034 . 10.1103/PhysRevResearch.1.033034. free . 1811.02071 .
  7. Holme. Petter. 2019-03-04. Rare and everywhere: Perspectives on scale-free networks. Nature Communications. en. 10. 1. 1016. 10.1038/s41467-019-09038-8. 2041-1723. 6399274. 30833568. 2019NatCo..10.1016H.
  8. Falkenberg . Max . Lee . Jong-Hyeok . Amano . Shun-ichi . Ogawa . Ken-ichiro . Yano . Kazuo . Miyake . Yoshihiro . Evans . Tim S. . Christensen . Kim . Identifying time dependence in network growth . Physical Review Research . 18 June 2020 . 2 . 2 . 023352 . 10.1103/PhysRevResearch.2.023352. 2001.09118 . free .
  9. Book: Newman, Mark. Networks. 2018-10-18. Oxford University Press. 978-0-19-880509-0. 1. en. 10.1093/oso/9780198805090.001.0001. 2020-04-19. 2020-04-15. https://web.archive.org/web/20200415113429/https://www.oxfordscholarship.com/view/10.1093/oso/9780198805090.001.0001/oso-9780198805090. live.
  10. Newman. M. E. J.. Strogatz. S. H.. Watts. D. J.. 2001-07-24. Random graphs with arbitrary degree distributions and their applications. Physical Review E. en. 64. 2. 026118. 10.1103/PhysRevE.64.026118. 11497662 . cond-mat/0007235 . 1063-651X. free.
  11. Saberi M, Khosrowabadi R, Khatibi A, Misic B, Jafari G . Topological impact of negative links on the stability of resting-state brain network . Scientific Reports . January 2021 . 11 . 1 . 2176 . 33500525 . 7838299 . 10.1038/s41598-021-81767-7 .
  12. Ciotti V . Degree correlations in signed social networks . Physica A: Statistical Mechanics and Its Applications . 2015 . 422 . 25–39 . 10.1016/j.physa.2014.11.062 . 1412.1024 . 4995458 . 2021-02-10 . 2021-10-02 . https://web.archive.org/web/20211002175332/https://www.sciencedirect.com/science/article/abs/pii/S0378437114010334 . live .