Link Graph Encyclopedia

Network structure

Random graph models

Recipes for generating graphs at random, from uniform random links to preferential attachment and copying. They explain where web structure comes from, serve as null models for measurements, and provide test graphs for algorithms.

A random graph model is a procedure for building a graph with some randomness: decide how many nodes there are and how links get placed, then let chance do the rest. Models serve three purposes in link analysis. They explain mechanisms, by showing which simple rule produces a given feature of real graphs. They provide null models, the baseline that says whether a measured clustering, community structure or degree correlation is surprising. And they generate test graphs of any size for checking algorithms such as PageRank or community detection.

Paul Erdős and Alfréd Rényi studied random graphs with a fixed number of links placed uniformly at random. Edgar Gilbert, independently, studied graphs in which each of the (n2)\binom{n}{2} possible links is present independently with probability pp, written G(n,p)G(n, p); for large graphs the two models behave alike, and G(n,p)G(n, p) is the one usually meant. The model is the reference point for everything else:

Real link graphs have short distances like G(n,p)G(n, p), but heavy-tailed degrees and high clustering unlike it (see power laws and clustering coefficient).

The configuration model: fix the degrees

To separate the effect of degrees from everything else, the configuration model takes a given degree sequence, gives each node that many link “stubs”, and pairs stubs uniformly at random. The result is a random graph with exactly the observed degrees and otherwise no structure. It is the standard null model:

Preferential attachment: the rich get richer

Barabási and Albert proposed in 1999 that networks grow, and that new nodes link to existing nodes with probability proportional to their current degree. Grown this way, a graph develops a power-law degree distribution with exponent 3, whatever its starting point. The idea has older roots: Yule in 1925 and Simon in 1955 used the same mechanism for species and word frequencies, and Price in 1976 for citations, calling it cumulative advantage.

Preferential attachment explains hubs but not much else. It produces exponent 3 only, little clustering and no community structure, and its directed variants still struggle to match the web’s in- and out-degree distributions together. Many refinements add aging, fitness or initial attractiveness to fit real data.

Kleinberg, Kumar, Raghavan, Rajagopalan and Tomkins proposed a model specific to the web in 1999, and Kumar and colleagues analysed it in 2000. A new page picks an existing prototype page and, for each of its links, either copies one of the prototype’s links or links to a random page. Copying produces power-law in-degrees, because a popular page is likely to be copied, and it produces many small bipartite cores: groups of pages that all link to the same set of targets, the signature of web communities and of hubs and authorities. It also matches the observation that pages near each other in name order have similar link lists, the property WebGraph compression exploits.

Models of change

References

Edit this entry on GitHub