# Barabási–Albert model

The Barabási–Albert (BA) model is an algorithm for generating random scale-free networks using a preferential attachment mechanism. Scale-free networks are widely observed in natural and human-made systems, including the Internet, the world wide web, citation networks, and some social networks. The algorithm is named for its inventors Albert-László Barabási and Réka Albert.

## Concepts

Many observed networks fall into the class of scale-free networks, meaning that they have power-law (or scale-free) degree distributions, while random graph models such as the Erdős–Rényi (ER) model and the Watts–Strogatz (WS) model do not exhibit power laws. The Barabási–Albert model is one of several proposed models that generates scale-free networks. It incorporates two important general concepts: growth and preferential attachment. Both growth and preferential attachment exist widely in real networks.

Growth means that the number of nodes in the network increases over time.

Preferential attachment means that the more connected a node is, the more likely it is to receive new links. Nodes with higher degree have stronger ability to grab links added to the network. Intuitively, the preferential attachment can be understood if we think in terms of social networks connecting people. Here a link from A to B means that person A "knows" or "is acquainted with" person B. Heavily linked nodes represent well-known people with lots of relations. When a newcomer enters the community, s/he is more likely to become acquainted with one of those more visible people rather than with a relative unknown. Similarly, on the web, new pages link preferentially to hubs, i.e. very well known sites such as Google or Wikipedia, rather than to pages that hardly anyone knows. If someone selects a new page to link to by randomly choosing an existing link, the probability of selecting a particular page would be proportional to its degree. This explains the preferential attachment probability rule.

Preferential attachment is an example of a positive feedback cycle where initially random variations (one node initially having more links or having started accumulating links earlier than another) are automatically reinforced, thus greatly magnifying differences. This is also sometimes called the Matthew effect, "the rich get richer", and in chemistry autocatalysis.

## Algorithm

The steps of the growth of the network according to the Barabasi–Albert model ($m_0=m=2$)

The network begins with an initial connected network of $m_0$ nodes.

New nodes are added to the network one at a time. Each new node is connected to $m \le m_0$ existing nodes with a probability that is proportional to the number of links that the existing nodes already have. Formally, the probability $p_i$ that the new node is connected to node $i$ is[1]

$p_i = \frac{k_i}{\sum_j k_j},$

where $k_i$ is the degree of node $i$ and the sum is made over all pre-existing nodes $j$ (i.e. the denominator results in twice the current number of edges in the network). Heavily linked nodes ("hubs") tend to quickly accumulate even more links, while nodes with only a few links are unlikely to be chosen as the destination for a new link. The new nodes have a "preference" to attach themselves to the already heavily linked nodes.

A network generated according to the Barabasi Albert model. The network is made of 50 vertices with initial degrees $m_0=1$.

## Properties

### Degree distribution

The degree distribution of the BA Model, which follows a power law. In loglog scale the power law function is a straight line.[2]

The degree distribution resulting from the BA model is scale free, in particular, it is a power law of the form

$P\left(k\right)\sim k^{-3} \,$

### Average path length

The average path length of the BA model increases approximately logarithmically with the size of the network. The actual form has a double logarithmic correction[1] and goes as

$\ell\sim\frac{\ln N}{\ln \ln N}.$

The BA model has a systematically shorter average path length than a random graph.

### Node degree correlations

Correlations between the degrees of connected nodes develop spontaneously in the BA model because of the way the network evolves. The probability, $n_{k\ell}$, of finding a link that connects a node of degree $k$ to an ancestor node of degree $\ell$ in the BA model for the special case of $m=1$ is given by

$n_{k\ell}=\frac{4\left(\ell-1\right)}{k\left(k+1\right)\left(k+\ell\right)\left(k+\ell+1\right)\left(k+\ell+2\right)}+\frac{12\left(\ell-1\right)}{k\left(k+\ell-1\right)\left(k+\ell\right)\left(k+\ell+1\right)\left(k+\ell+2\right)}.$

This is certainly not the result expected if the distributions were uncorrelated, $n_{k\ell}=k^{-3}\ell^{-3}$.[1]

For general $m$, the fraction of links who connect a node of degree $k$ to a node of degree $\ell$ is[3]

$p(k,\ell)= \frac{ m(m+1)}{k(k+1)\ell(\ell+1)} \left[ 1-\frac{\binom{2m+2}{m+1} \binom{k+\ell-2m}{\ell-m}}{\binom{k+\ell+2}{\ell+1}} \right] .$

Also, the nearest-neighbor degree distribution $p(\ell|k)$, that is, the degree distribution of the neighbors of a node with degree $k$, is given by[3]

$p(\ell|k)= \frac{ m (k+2) }{k \ell (\ell+1)} \left[ 1-\frac{\binom{2m+2}{m+1} \binom{k+\ell-2m}{\ell-m}}{\binom{k+\ell+2}{\ell+1 }} \right] .$

### Clustering coefficient

While there is no analytical result for the clustering coefficient of the BA model, the empirically determined clustering coefficients are generally significantly higher for the BA model than for random networks. The clustering coefficient also scales with network size following approximately a power law

$C\sim N^{-0.75}. \,$

Edit: Analytical result for the clustering coefficient of the BA model was obtained by Klemm and Eguíluz[4] and proven by Bollobás.[5] A mean-field approach to study the clustering coefficient was applied by Fronczak, Fronczak and Holyst.[6]

This behavior is still distinct from the behavior of small-world networks where clustering is independent of system size. In the case of hierarchical networks, clustering as a function of node degree also follows a power-law,

$C(k) = k^{-1}. \,$

This result was obtained analytically by Dorogovtsev, Goltsev and Mendes.[7]

### Spectral properties

The spectral density of BA model has a different shape from the semicircular spectral density of random graph. It has a triangle-like shape with the top lying well above the semicircle and edges decaying as a power law. [8]

## Limiting cases

### Model A

Model A retains growth but does not include preferential attachment. The probability of a new node connecting to any pre-existing node is equal. The resulting degree distribution in this limit is geometric,[9] indicating that growth alone is not sufficient to produce a scale-free structure.

### Model B

Model B retains preferential attachment but eliminates growth. The model begins with a fixed number of disconnected nodes and adds links, preferentially choosing high degree nodes as link destinations. Though the degree distribution early in the simulation looks scale-free, the distribution is not stable, and it eventually becomes nearly Gaussian as the network nears saturation. So preferential attachment alone is not sufficient to produce a scale-free structure.

The failure of models A and B to lead to a scale-free distribution indicates that growth and preferential attachment are needed simultaneously to reproduce the stationary power-law distribution observed in real networks.[1]

## History

The first use of a preferential attachment mechanism to explain power-law distributions appears to have been by Yule in 1925.[10] The modern master equation method, which yields a more transparent derivation, was applied to the problem by Herbert A. Simon in 1955[11] in the course of studies of the sizes of cities and other phenomena. It was first applied to the growth of networks by Derek de Solla Price in 1976[12] who was interested in the networks of citation between scientific papers. The name "preferential attachment" and the present popularity of scale-free network models is due to the work of Albert-László Barabási and Réka Albert, who rediscovered the process independently in 1999 and applied it to degree distributions on the web.[2]

## References

1. ^ a b c d
2. ^ a b
3. ^ a b Fotouhi, Babak; Rabbat, Michael (2013). "Degree correlation in scale-free graphs". The European Physical Journal B 86 (12): 510. Bibcode:2013EPJB...86..510F. doi:10.1140/epjb/e2013-40920-6.
4. ^ Klemm, K.; Eguíluz, V. C. (2002). "Growing scale-free networks with small-world behavior". Physical Review E 65 (5). arXiv:cond-mat/0107607. doi:10.1103/PhysRevE.65.057102.
5. ^ http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.176.6988
6. ^ http://arxiv.org/abs/cond-mat/0306255
7. ^ Dorogovtsev, S.N.; Goltsev, A.V.; Mendes, J.F.F. (25 June 2002) [8 Dec 2001 (v1)]. "Pseudofractal scale-free web". Physical Review E 65: 066122. arXiv:cond-mat/0112143. doi:10.1103/PhysRevE.65.066122. (subscription required (help)).
8. ^ Farkas, I.J.; Derényi, I.; Barabási, A.-L.; Vicsek, T. (20 July 2001) [19 February 2001]. "Spectra of "real-world" graphs: Beyond the semicircle law". Physical Review E 64: 026704. arXiv:cond-mat/0102335. doi:10.1103/PhysRevE.64.026704. (subscription required (help)).
9. ^ Pekoz, Erol; Rollin, A.; Ross, N. (2012). "Total variation and local limit error bounds for geometric approximation". Bernoulli.
10. ^ Yule, G. Udny; Yule, G. Udny (1925). "A Mathematical Theory of Evolution Based on the Conclusions of Dr. J. C. Willis, F.R.S". Journal of the Royal Statistical Society 88 (3): 433–436. doi:10.2307/2341419. JSTOR 2341419.
11. ^ Simon, Herbert A. (December 1955). "On a Class of Skew Distribution Functions". Biometrika 42 (3–4): 425–440. doi:10.1093/biomet/42.3-4.425.
12. ^ Price, D.J. de Solla (September 1976). "A general theory of bibliometric and other cumulative advantage processes". Journal of the American Society for Information Science 27 (5): 292–306. doi:10.1002/asi.4630270505. edit