Maximum-entropy random graph model explained

Maximum-entropy random graph models are random graph models used to study complex networks subject to the principle of maximum entropy under a set of structural constraints,[1] which may be global, distributional, or local.

Overview

Any random graph model (at a fixed set of parameter values) results in a probability distribution on graphs, and those that are maximum entropy within the considered class of distributions have the special property of being maximally unbiased null models for network inference[2] (e.g. biological network inference). Each model defines a family of probability distributions on the set of graphs of size

n

(for each

n>n0

for some finite

n0

), parameterized by a collection of constraints on

J

observables

\{Qj(G)\}

J
j=1
defined for each graph

G

(such as fixed expected average degree, degree distribution of a particular form, or specific degree sequence), enforced in the graph distribution alongside entropy maximization by the method of Lagrange multipliers. Note that in this context "maximum entropy" refers not to the entropy of a single graph, but rather the entropy of the whole probabilistic ensemble of random graphs.

Several commonly studied random network models are in fact maximum entropy, for example the ER graphs

G(n,m)

and

G(n,p)

(which each have one global constraint on the number of edges), as well as the configuration model (CM).[3] and soft configuration model (SCM) (which each have

n

local constraints, one for each nodewise degree-value). In the two pairs of models mentioned above, an important distinction[4] [5] is in whether the constraint is sharp (i.e. satisfied by every element of the set of size-

n

graphs with nonzero probability in the ensemble), or soft (i.e. satisfied on average across the whole ensemble). The former (sharp) case corresponds to a microcanonical ensemble,[6] the condition of maximum entropy yielding all graphs

G

satisfying

Qj(G)=qj\forallj

as equiprobable; the latter (soft) case is canonical,[7] producing an exponential random graph model (ERGM).
ModelConstraint typeConstraint variableProbability distribution
ER,

G(n,m)

Sharp, globalTotal edge-count
E(G)

1/\binom{\binom{n}{2}}{m};m=

E(G)
ER,

G(n,p)

Soft, global Expected total edge-count
E(G)

p|E(G)|(1-p)\binom{n{2}-|E(G)|}

Sharp, local Degree of each vertex,

\{\hat{k}j\}

n
j=1

1/\left\vert\Omega(\{\hat{k}j\}

n)\right\vert;
j=1

\Omega(\{kj\}

n)=\{g\in
j=1

l{G}n:kj(g)=\hat{k}j\forallj\}\subsetl{G}n

Soft, localExpected degree of each vertex,

\{\hat{k}j\}

n
j=1

Z-1

n\psi
\exp\left[-\sum
j

kj(G)\right]; -

\partiallnZ
\partial\psij

=\hat{k}j

Canonical ensemble of graphs (general framework)

Suppose we are building a random graph model consisting of a probability distribution

P(G)

on the set

l{G}n

of simple graphs with

n

vertices. The Gibbs entropy

S[G]

of this ensemble will be given by

S[G]=-\sumG\inn}P(G)logP(G).

We would like the ensemble-averaged values

\{\langleQj

J
\rangle\}
j=1
of observables

\{Qj(G)\}

J
j=1
(such as average degree, average clustering, or average shortest path length) to be tunable, so we impose

J

"soft" constraints on the graph distribution:

\langleQj\rangle=\sumG\inn}P(G)Qj(G)=qj,

where

j=1,...,J

label the constraints. Application of the method of Lagrange multipliers to determine the distribution

P(G)

that maximizes

S[G]

while satisfying

\langleQj\rangle=qj

, and the normalization condition

\sumG\inn}P(G)=1

results in the following:

P(G)=

1
Z
J\psi
\exp\left[-\sum
j

Qj(G)\right],

where

Z

is a normalizing constant (the partition function) and

\{\psij\}

J
j=1
are parameters (Lagrange multipliers) coupled to the correspondingly indexed graph observables, which may be tuned to yield graph samples with desired values of those properties, on average; the result is an exponential family and canonical ensemble; specifically yielding an ERGM.

The Erdős–Rényi model

G(n,m)

In the canonical framework above, constraints were imposed on ensemble-averaged quantities

\langleQj\rangle

. Although these properties will on average take on values specifiable by appropriate setting of

\{\psij\}

J
j=1
, each specific instance

G

may have

Qj(G)\neqj

, which may be undesirable. Instead, we may impose a much stricter condition: every graph with nonzero probability must satisfy

Qj(G)=qj

exactly. Under these "sharp" constraints, the maximum-entropy distribution is determined. We exemplify this with the Erdős–Rényi model

G(n,m)

.

The sharp constraint in

G(n,m)

is that of a fixed number of edges

m

,[8] that is

|\operatornameE(G)|=m

, for all graphs

G

drawn from the ensemble (instantiated with a probability denoted

Pn,m(G)

). This restricts the sample space from

l{G}n

(all graphs on

n

vertices) to the subset

l{G}n,m=\{g\inl{G}n;|\operatornameE(g)|=m\}\subsetl{G}n

. This is in direct analogy to the microcanonical ensemble in classical statistical mechanics, wherein the system is restricted to a thin manifold in the phase space of all states of a particular energy value.

Upon restricting our sample space to

l{G}n,m

, we have no external constraints (besides normalization) to satisfy, and thus we'll select

Pn,m(G)

to maximize

S[G]

without making use of Lagrange multipliers. It is well known that the entropy-maximizing distribution in the absence of external constraints is the uniform distribution over the sample space (see maximum entropy probability distribution), from which we obtain:

Pn,m(G)=

1
|l{G

n,m|}=\binom{\binom{n}{2}}{m}-1,

where the last expression in terms of binomial coefficients is the number of ways to place

m

edges among

\binom{n}{2}

possible edges, and thus is the cardinality of

l{G}n,m

.

Generalizations

A variety of maximum-entropy ensembles have been studied on generalizations of simple graphs. These include, for example, ensembles of simplicial complexes,[9] and weighted random graphs with a given expected degree sequence [10]

See also

Notes and References

  1. News: The statistical mechanics of networks. Park. Juyong. M.E.J. Newman. 2004-05-25. cond-mat/0405566.
  2. News: Sparse Maximum-Entropy Random Graphs with a Given Power-Law Degree Distribution. van der Hoorn. Pim. Gabor Lippner. Dmitri Krioukov. 2017-10-10. 1705.10261.
  3. Book: Newman, Mark. Networks: An Introduction - Oxford Scholarship. 10.1093/acprof:oso/9780199206650.001.0001. 2010. 9780199206650. 2018-09-13. 2023-02-04. https://web.archive.org/web/20230204160415/https://catalogue.library.cern/legacy/1281254. live.
  4. Garlaschelli. Diego. den Hollander. Frank. Roccaverde. Andrea. 2018-07-13. Covariance Structure Behind Breaking of Ensemble Equivalence in Random Graphs. Journal of Statistical Physics. 173. 3–4. 644–662. 10.1007/s10955-018-2114-x. 0022-4715. 1711.04273. 2018JSP...173..644G.
  5. Roccaverde. Andrea. August 2018. Is breaking of ensemble equivalence monotone in the number of constraints?. Indagationes Mathematicae. 30. 7–25. 10.1016/j.indag.2018.08.001. 0019-3577. 1807.02791.
  6. Book: Bianconi , G. . Ginestra Bianconi . 2018-08-21 . Multilayer Networks: Structure and Function . Oxford University Press . 9780198753919 . 2018-09-13 . 2023-02-04 . https://web.archive.org/web/20230204160403/https://global.oup.com/academic/product/multilayer-networks-9780198753919?cc=us&lang=en& . live.
  7. Anand. K. . Bianconi. G. . Ginestra Bianconi. 2009. Entropy measures for networks: Toward an information theory of complex topologies. Physical Review E. 80 . 4 . 045102 . 10.1103/PhysRevE.80.045102 . 19905379 . 0907.1514 . 2009PhRvE..80d5102A .
  8. Erdős . P. . Rényi . A. . 2022 . On Random Graphs. I . Publicationes Mathematicae . 6 . 3–4 . 290–297 . 10.5486/PMD.1959.6.3-4.12 . 2018-09-13 . 2020-08-07 . https://web.archive.org/web/20200807021117/https://www.renyi.hu/~p_erdos/1959-11.pdf . live .
  9. News: Exponential Random Simplicial Complexes. Zuev. Konstantin. Or Eisenberg. Dmitri Krioukov. 2015-10-29. 1502.05032.
  10. News: Maximum entropy distributions on graphs. Hillar. Christopher. Andre Wibisono. 2013-08-26. 1301.3321.