TOPICS
Search

Graph Likelihood


The likelihood of a simple graph is defined by starting with the set S_1={(K_1,1)}. The following procedure is then iterated to produce a set of graphs G_n of order n. At step n, randomly pick an integer k from the set {0,1,...,n-1}. Now randomly pick one of the graphs in S_(n-1) (keeping the probability that it was constructed in step n-1) and add a new vertex joined to k randomly selected vertices of that graph. Now merge any isomorphic graphs produced by this procedure by totalling their probabilities. The likelihood of a graph G on n vertices is then defined as the probability that G appears in S_n.

The more general sequential-growth process, with an arbitrary distribution of the vertex degree of each new vertex, was studied by Janson and Severini (2013). The graph likelihood arising from the discrete uniform distribution on the possible degrees was introduced by Banerji et al. (2014).

GraphLikelihood

The nth iteration of this procedure produces every possible graph on n vertices. The results for graphs of orders n=1 to 4 are illustrated above. Likelihoods for all simple graphs of order up to 10 have been computed by E. Weisstein (Dec. 23, 2013).

L(G^_)=L(G), where G^_ is the graph complement of G. K_n and K^__n are therefore co-likely.

Since the values are probabilities, the sum of likelihoods over all n-node graphs is 1 and individual likelihoods satisfy

 0<L(G)<=1,
(1)

with L(G)=1 holding only for G=K_1. L(G) also satisfies the stronger inequality

 1/(|Aut(G)|product_(i=1)^(n)(i-1; |_(n-1)/2_|))<=L(G)<=1/(|Aut(G)|),
(2)

where |Aut(G)| is the order of the automorphism group of G (Banerji et al. 2014).

An exact recurrence is obtained by defining

 A(G)=|V(G)|!|Aut(G)|L(G).
(3)

Then A(K_1)=1, and for a graph G on n>=2 vertices,

 A(G)=sum_(v in V(G))(A(G-v))/((n-1; deg_G(v))),
(4)

where G-v denotes the vertex deletion of v from G. Equivalently,

 L(G)=1/(n!|Aut(G)|)sum_(v in V(G))(A(G-v))/((n-1; deg_G(v))).
(5)

Choosing any representative of the isomorphism class of G with vertex set V(G), the same exact recurrence gives a subset dynamic program

 F(S)=sum_(v in S)(F(S-{v}))/((|S|-1; deg_(G[S])(v))),
(6)

with F({v})=1 and

 L(G)=(F(V(G)))/(n!|Aut(G)|).
(7)

Thus graph likelihood can be computed exactly either by recursive evaluation of the vertex-deletion recurrence or, after choosing such a representative, by the subset dynamic program above.

The following table summarizes the likelihoods for members of a number of special classes.

graphOEISvalues
Andrásfai graph1/2, 1/270, 1909/2540160000, 197065201/167682078305280000000, ...
antiprism graph13/21600, 1909/2540160000, ...
barbell graph97/129600, 79/282240000, ...
cocktail party graph K_(n×2)A394956/A3975991/2, 1/36, 13/21600, 11/1587600, ...
complete graph K_nA000012/A0001421, 1/2, 1/6, 1/24, 1/120, 1/720, ...
crown graph29/64800, 11/40642560, ...
cycle graph C_n1/2, 1/270, 1909/2540160000, ...
empty graph K^__nA000012/A0001421, 1/2, 1/6, 1/24, 1/120, 1/720, ...
hypercube graph Q_n1, 1/2, 1/36, 11/40642560, ...
ladder graph1/2, 1/36, 61/43200, 20299/2540160000, ...
ladder rung graphA394956/A3975991/2, 1/36, 13/21600, 11/1587600, ...
Möbius ladder M_n23/259200, 1909/2540160000, ...
path graph P_21, 1/2, 1/3, 1/9, 29/1080, 2/405, 2509/3402000, 1889/20412000, ...
prism graph Y_n29/64800, 11/40642560, ...
star graph S_nA293458/A0107961, 1/2, 1/3, 5/72, 17/1440, 77/43200, 437/1814400
sun graph59/25920, 101/9072000, ...
triangular graph1, 1/6, 13/21600, ...
wheel graph W_n1/24, 13/720, 203/129600, 2393/18144000, ...

Classes with known closed form values include

L(K_n)=1/(n!)
(8)
L(K^__n)=1/(n!)
(9)
L(S_n)={1/2 for n=2; n/((n!)^2)sum_(k=0)^(n-1)k! otherwise
(10)
=((-1)^nn!!(-n-1))/(n!)-(n!(-1))/((n!)^2).
(11)

Here K_n is a complete graph, K^__n is an empty graph, S_n is a star graph, n! is a factorial, and !n is a subfactorial.

For the ladder rung graph nP_2,

 L(nP_2)=1/((2n)!)sum_(2<=i_1<i_2<...<i_n<=2n)product_(j=1)^n(i_j-(2j-1))/(i_j-1).
(12)

Equivalently, its likelihood has the series-coefficient form

 L(nP_2)=1/((2n-1)!)[z^(2n)](erf^(-1)(sqrt(2/pi)z))^2,
(13)

where [z^k] denotes coefficient notation and erf^(-1)(z) is the inverse erf function. Since the cocktail party graph K_(n×2) is the graph complement of nP_2 and L(G)=L(G^_), both formulas also hold for it.

In addition, there is a relationship between L(C_n) for a cycle graph and L(P_(n-1)) for a path graph given by

 L(P_(n-1))=n(n-1; 2)L(C_n)
(14)

(Banerji et al. 2014).

In general, a graph on n vertices with s isolated edges has likelihood

L(G_s)=1/(n!)sum_(2<=i_1<i_2<...<i_s<=n)product_(j=1)^(s)(i_j+1-2j)/(i_j-1)
(15)
=1/(n!)sum_(i_1=2)^(n-2+1)sum_(i_2=i_1+1)^(n-s-2)sum_(i_3=i_2+1)^(n-s+3)...sum_(i_s=i_(s-1)+1)^(n)(i_2-3)/(i_2-1)(i_3-5)/(i_3-1)...(i_s-(2s-1))/(i_s-1),
(16)

giving special cases

L(G_1)=(n-1)/(n!)
(17)
L(G_2)=((n-1)(n-6)+4H_(n-1))/(2n!),
(18)

where H_n is a harmonic number.

GraphLikelihoods

Values of L(G) for n-node graphs are plotted above.

Computations by E. Weisstein in 2013 found that, for all n<=10 except n=1, 3, and 5, the minimum is attained by the balanced complete multipartite graph K_(p,p) when n=2p and by the complete bipartite graph K_(p-1,p) when n=2p-1, together with their graph complements. For the three exceptional orders, the minima occur for K_1, K_3, and C_5, respectively. Citing this numerical evidence, Dervovic et al. (2018) conjectured that these complete bipartite graphs and their graph complements give the minima for all larger n. The minimum values of L(G_n) for n=1, 2, ... are 1, 1/2, 1/6, 1/36, 1/270, 23/259200, ... (OEIS A234234 and A234235).

The situation for maximum L(G) as a function of n is less clear, with maxima occurring for n=1, 2, ... for K_1, P_2, P_3, paw graph, dart graph, ... and their complements. The corresponding maximum values are 1, 1/2, 1/3, 13/72, 307/4320, 1927/86400, ... (OEIS A234236 and A234237).


See also

Likelihood

Explore with Wolfram|Alpha

References

Banerji, C. R. S.; Mansour, T.; and Severini, S. "A Notion of Graph Likelihood and an Infinite Monkey Theorem." J. Phys. A: Math. Theor. 47, 035101 (8 pp.), 2014.Dervovic, D.; Mocherla, A.; and Severini, S. "Constructing Graphs with Limited Resources." 27 Feb 2018. https://arxiv.org/abs/1802.09844.Janson, S. and Severini, S. "An Example of Graph Limits of Growing Sequences of Random Graphs." J. Combin. 4, 67-80, 2013. https://doi.org/10.4310/JOC.2013.v4.n1.a3.Sloane, N. J. A. Sequences A000012/M0003, A000088/M1253, A000142/M1675, A010796, A234234, A234235, A234236, A234237, A293458, A394956, and A397599 in "The On-Line Encyclopedia of Integer Sequences."

Referenced on Wolfram|Alpha

Graph Likelihood

Cite this as:

Weisstein, Eric W. "Graph Likelihood." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/GraphLikelihood.html

Subject classifications