Large deviations of empirical neighborhood distribution in sparse random graphs
Charles Bordenave, Pietro Caputo
Introduction and main results
Consider the Erdős-Renyi ensemble , where a random graph is obtained from the vertex set by adding each edge independently with probability . In the sparse regime with , for a fixed , it is well known that, for large , a typical graph from locally looks like a Galton-Watson tree with Poisson offspring distribution with mean . In this work we study large deviations from this typical behavior. The problem is intimately related to the question: conditioned on having a certain neighborhood distribution, what does a typical element of locally look like ? The same questions can be asked for other commonly studied random graph ensembles such as the uniform random graphs with fixed number of edges growing linearly with the number of vertices, or with given degree sequence. We formulate the problem within the theory of local weak convergence of graph sequences that was recently introduced by Benjamini and Schramm and Aldous and Steele . The associated local weak topology has now become a common tool for studying sparse graphs, see Aldous and Lyons and Bollobàs and Riordan . A surprising large variety of graph functionals are continuous for this topology. In Section 2 below, we will give more details on local weak convergence. In order to present our result, here we first introduce the main terminology.
For a finite graph and , one writes for the connected component of at . The empirical neighborhood distribution of is the law of the equivalence class of the rooted graph where the root is sampled uniformly at random from , i.e. is defined by
where is the canonical rooted graph whose equivalence class has law . It is not hard to check that if is a finite graph then its neighborhood distribution is unimodular. In particular, all sofic measures are unimodular. The converse is open; see . We denote by the set of unimodular probability measures. Similarly, we write for unimodular probability measures supported by trees.
2. Unimodular Galton-Watson trees with given neighborhood
If is a graph and then define as the rooted graph , where , i.e. is the rooted graph obtained from by removing the edge and taking the connected component at the root . Next, given a rooted graph , and , define
As an example, consider the the rooted graph from Figure 1. Fix , and call the elements of consisting respectively of a rooted single edge and a rooted triangle. Then one has and . Similarly, if the reference graph is from Figure 1, then while .
Here it is understood that represents the canonical rooted graph whose equivalence class in has law . By applying the definition of unimodularity (2) to the function
For such that define, for all ,
where denotes the tree obtained from by adding a new neighbor of the root whose rooted subtree is ; see Figure 2 for an example. The subtree is defined before Eq. (3) with the graph replaced by .
It can be checked that is a probability, i.e. ; see Section 3. We may now define the random rooted tree . First, is sampled according to . Next, for each vertex in the first generation of , consider the subtree with depth rooted at obtained by removing the edge and retaining the connected component up to distance from . We add a layer to by replacing with a new tree with depth that coincides with in the first generations. The new tree is sampled according to where is as above while denotes the subtree rooted at obtained from by removing the edge and retaining the connected component up to distance from . This operation is repeated for each in the first generation independently. After this step, we have overall added one layer to , and thus we have sampled .
an application of Stirling’s formula shows that
If , define
where denotes the open ball with radius around with respect to the Lévy metric on . For , define
Since is non-decreasing, one defines
The extended real numbers and are defined as above, with replaced by . If is such that , we set . The number can be interpreted, up to an overall constant, as a microcanonical entropy associated to the state . From (7), one has that , whenever it is well defined.
Fix and choose a sequence such that . For any , the entropy is well defined, it is upper semi-continuous, and it does not depend on the choice of the sequence . Moreover, if at least one of the following is satisfied:
Let us introduce some additional notation. For any , define the Shannon entropy
defines a function , satisfying
In Remark 5.13 below we provide an alternative expression for in terms of relative entropies. Specializing to the case , we obtain the following corollary of Theorem 1.3.
As a byproduct of our analysis, we will also obtain an alternative proof of the Bowen-Elek Theorem .
If , then is sofic.
4. Large deviations of uniform graphs with given degrees
,
,
where denotes the interior of and denotes the closure of .
Let be a sequence satisfying conditions above. Let be uniformly distributed on . Then satisfies the LDP in with speed and good rate function
It follows from Theorem 1.3 that for any integer , and with , then
We note finally Theorem 1.6 establishes a large deviations principle with speed . Other interesting large deviation events occur at higher speed. For example, for the proportion of vertices in a triangle in , the speed would be .
5. Large deviations of Erdős-Rényi graphs
Fix and a sequence such that , as . Let be uniformly distributed in . Then satisfies the LDP in with speed and good rate function
Fix and take with law . Then satisfies the LDP in with speed and good rate function
6. Plan and methods
The proof of the main results discussed above is organized as follows. In Section 2 we review some basic facts about local weak convergence in the context of multi-graphs. We also establish a compactness criterion which parallels recent results of Benjamini, Lyons and Schramm . In Section 3 we introduce the unimodular Galton Watson trees with given -neighborhood distribution and prove the properties stated in Proposition 1.1 . In Section 5 we prove our main results concerning the entropy , cf. Theorem 1.2 and Theorem 1.3. These are crucially based on the possibility of counting asymptotically the number of graphs in which have a certain -neighborhood distribution. To compute such things, we introduce what we call a generalized configuration model. The standard configuration model, introduced in Bollobas , allows one to compute asymptotically the number of graphs with a given degree sequence. Since here we want to uncover the -neighborhood of a vertex and not only its degree, we need to generalize the usual construction. To keep track of the -neighborhood structure, we introduce directed multigraphs with colored edges and analyze the associated configuration model; see Section 4. This will allow us to sample a random graph with a given sequence of -neighborhoods, as long as these neighborhoods are rooted trees. As an application, we prove Corollary 1.5 at the end of Section 4. It seems to us that this new configuration model may turn out to be a natural tool in other applications as well. Finally, Section 6 is devoted to the proof of large deviation principles in the classical random graphs ensembles. We stress that our methods allow in principle a much greater generality, since one could establish large deviation estimates for random graphs that are uniformly sampled from the class of all graphs with a given -neighborhood distribution and not only with given degree sequences; see Remark 6.1.
7. Related work
Large deviations in random graphs is a rapidly growing topic. For dense graphs, e.g. with fixed , a thorough treatment has been given recently by Chatterjee and Varadhan , in the framework of the cut topology introduced by Lovász and Szegedy , see also Borgs, Chayes, Lovász, Sós and Vesztergombi . In the sparse regime, only a few partial results are known. O’Connell , Biskup, Chayes and Smith and Puhalskii have proven large deviation asymptotics for the connectivity and for the size of the connected components. Large deviations for degree sequences of Erdős-Rényi graphs has been studied in Doku-Amponsah and Mörters and Boucheron, Gamboa and Léonard [13, Theorem 7.1]. Closer to our approach, large deviations in the local weak topology were obtained for critical multi-type Galton-Watson trees by Dembo, Mörters and Sheffield . Finally, large deviations for other models of statistical physics on Erdős-Rényi graphs have been considered in Rivoire and Engel, Monasson, and Hartmann .
As far as we know, this is the first time that large deviations of the neighborhood distribution are addressed in a systematic way. While our approach does not cover results on connectivity and the size of connected components such as , it does yield a simplification of some of the existing arguments concerning the large deviations for degree sequences. We point out that our Corollary 1.10 gives a corrected version of [18, Corollary 2.2]. Under a stronger sparsity assumption, large deviations of neighborhood distributions for random networks have been used in to study the large deviations of the spectral measure of certain random matrices.
Local weak convergence
In this section, we first recall the basic notions of local weak convergence in the more general context of rooted multi-graphs; see , , and . Then, we give a general tightness lemma.
Recall that a path from to of length is a sequence with , and, for , . If such exists, the distance in between and is defined as the minimal length of all paths from to . If there is no path , then the distance is set to be infinite. A multi-graph is connected if for any .
Below, a rooted multi-graph is a locally finite and connected multi-graph with a distinguished vertex , the root. For , we denote by the induced rooted multi-graph with vertex set . Two rooted multi-graphs , , are isomorphic if there exists a bijection such that and , where acts on through and . We will denote this equivalence relation by . The associated equivalence classes can be seen as unlabeled rooted multi-graphs. We call the set of all such equivalence classes.
We define the semi-distance between two rooted multi-graphs and as
where is the supremum of those such that and are isomorphic. On the space , is a distance. The associated topology will be referred to as the local topology. The space is Polish (i.e. separable and complete) .
Explicit compact subsets of can be constructed as follows. If , we define
is a compact subset of for the local topology.
For each , there is a finite number of elements in , say , such that and for any vertex the distance to the root is at most . Therefore, the collection where is a finite covering of of radius . ∎
The notions of local weak convergence introduced in §1.1 are immediately extended to the present setting of multi-graphs. The definitions of in (1) and unimodularity (2) easily carry over to . The next simple lemma is proved in .
The set is closed in the local weak topology.
2. Compactness lemma for the local weak topology
Let be a sequence of finite multi-graphs. We now give a condition which guarantees that the sequence is tight for the local weak topology. If is a multi-graph, we define the degree of a subset as
The next lemma is a sufficient condition for tightness in . A similar result appears in Benjamini, Lyons and Schramm [3, Theorem 3.1]. We give an independent proof.
Considering a sequence , condition (15) amounts to a uniform integrability of the degree sequences of the multi-graphs . It may seem quite paradoxical that a sole condition on the degrees implies the tightness of the whole graph sequence. However, the unimodularity of yields enough uniformity for this result to hold.
Since is a Polish space, from Prohorov’s theorem, a set is relatively compact if and only if for any , there exists a compact such that for all , .
Set . Without loss of generality, we may assume . We consider the increasing function
Now, for each , and integer , we set
where the composition holds times. We now define as being the closure of the set of measures in such that for any , where
By Lemma 2.1, is a compact set of . Hence, Prohorov’s theorem asserts that is a compact set of .
We now check that . This will conclude the proof of our lemma. It is sufficient to prove that for all . Let be an integer, for , denote the set of vertices at distance at most from a vertex in . In particular, if and is the equivalence class of we have
Hence, using Markov inequality, we deduce that the set
has cardinality at most . From what precedes, the set
has cardinality at most . So finally, from the union bound, the set
has cardinality at least . We have thus checked that . ∎
Unimodular Galton-Watson trees with given neighborhood
First observe that if , and , then (recall the definition of and Figure 2)
Therefore, for any ,
where, in the summand, . Now, (5) and (16) imply
Finally, the assumption yields
2. Consistency lemma
We turn to the second part of Proposition 1.1. The following lemma computes the law of the -neighborhood of a Galton-Watson tree with a given -neighborhood.
are the subtrees of attached to the offspring of the root, and for , ;
is set of distinct elements of , and, for each , is the set the distinct elements of , such that ;
is the cardinality of ’s equal to and is the cardinality of ’s equal to ;
and is the tree obtained from by removing one offsping with subtree equal to .
Using , for a fixed , the above definitions allow us to write
Observe that implies that . Moreover, given , implies that , i.e. the type of vertex is . The lemma is then a consequence of the conditional independence of the subtrees attached to the offspring of the root given . ∎
By recursion, it suffices to prove the statement for . For such that for some , we may define the probability measure
However, with n=\big{|}\big{\{}v\stackrel{{\scriptstyle t}}{{\sim}}o:t(o,v)=s^{\prime}\big{\}}\big{|}, we deduce from the unimodularity of and (16) that
where . Indeed, since and have the same neighborhood, this would prove that they have in fact the same neighborhood and, by conditional independence, we would deduce that .
where, as above, and . Since , and , we have
As in Lemma 3.2, let be the subtrees of attached to the offspring of the root and call their restriction to . By construction, elements of the ’s are equal to and elements of the ’s are equal to . Let be the set of distinct elements of the set , and, for each , let denote the distinct elements of , such that restricted to is . We denote by the cardinality of ’s equal to and the cardinality of ’s equal to . We set and . Then, Lemma 3.2 yields
where, and is the tree obtained from by removing one of the offspring with subtree equal to . Thus, we find
Since , one has
By sampling the -neighborhood first, and using the number as above, one has
Next, we show that the right hand side in (19) equals the above expression. We have
where we have used unimodularity and (18). Now, by sampling first the -neighborhood , one finds that
where, as before, stands for the number of such that . Using Lemma 3.2 in the form (20), and the fact that , we find
The identity (19) follows from (24) and (23). ∎
Configuration model for directed graphs with colored edges
This section introduces a generalized configuration model, to be used later on to count the number of graphs with a given tree-like neighborhood distribution.
We are now going to define a family of directed multi-graphs with colored edges. Let be a fixed integer. Each pair with is interpreted as a color. Define the sets of colors
Also, define , and . If , then set for the conjugate color.
If , one can define the colorblind multi-graph , by setting
The multi-graph can be identified with an undirected multi-graph, in that by construction for all . We say that is a simple graph if has no loops and no multiple edges. Clearly, if then there is only one color, so that any multi-graph coincides with its own .
If , and , set
and write . Note that is an element of , defined as the set of matrices with nonnegative integer valued entries. The vector of such matrices will be called the degree sequence of .
2. Directed colored multi-graphs with given degree sequence
is the set of multi-graphs with such that the degree sequence of defined by (26) coincides with .
Fix a multi-graph . For a fixed , let denote the subgraph of obtained by removing all edges but the ones with color . If instead, then define as the subgraph of obtained by removing all edges but the ones with color or . Thus, every is the result of the superposition of the multi-graphs , . We may then analyze each color separately.
When , every pair satisfies , so is actually a multi-graph with undirected edges, and we may use the usual construction [8, Section 2.4]. We provide the details for completeness. The degrees of are fixed by the sequence . Let , be a fixed set of points, with the subsets satisfying . Recall that is even by assumption. Let be the set of all perfect matchings of the complete graph over the points of , i.e. the set of all partitions of into disjoint edges. Then,
Elements of are called configurations. For any configuration , call the multi-graph on with undirected edges obtained by including an edge iff has a pair with one element in and the other in . Notice that has the same degree sequence of . Moreover, any multi-graph with that degree sequence equals for some .
Fix . Let be a multi-graph on with undirected edges and with degree sequence . The number of such that is given by
where is the number of edges between nodes in , while is the number of loops at node in .
We need to count the number of matchings such that for every one has edges between and , and such that for all one has edges within . Fix . Once we choose the elements of and the elements of to be matched together to produce the edges, then there are distinct matchings that produce the same graph. Similarly, once we fix the elements of to be matched together to produce the loops at , then there are distinct matchings that produce the same graph. On the other hand, for every node there are
distinct ways of choosing the elements of to be matched with respectively. Putting all together we arrive at the following expression for the total number of configurations producing the graph :
When , every pair satisfies , so for the multi-graph , represents the number of outgoing edges at node , which equals the number of incoming edges at that node. Here we use a bipartite version of the previous construction. Let , be a fixed set of points, with the subsets satisfying . Similarly, set , with . Consider the set of all perfect matchings of the complete bipartite graph over the sets , i.e. the set of perfect matchings containing only edges connecting an elements of with an element of . Since , one has , and can be identified with the set of permutations of objects, or the set of bijective maps , and . A configuration is an element . For any configuration , let denote the directed multi-graph on obtained by including the directed edge with color and the edge with color iff has a pair with one element in and the other in . Notice that has the same degree sequence of , and any multi-graph with directed edges with colors with the same degree sequence equals for some .
Fix . Let be a multi-graph on with directed edges with colors only and with degree sequence . The number of such that is given by
where is the number of edges from to with color in .
We have to count the number of bijective maps such that for every (including the case ), elements of are mapped to . We begin by choosing, for every fixed node , the subsets of that are mapped into , , and the subsets of that are mapped into , . This can be done in
distinct ways. Once these subsets are chosen there remain, for every , distinct bijections producing the same graph. Therefore, the total number of bijections from to which preserve the numbers is given by
The latter expression can be rewritten as (29). ∎
2.3. Generalized configuration model
where , and is defined by
In particular, for any , if is not empty, the law of conditioned on is the uniform distribution on .
The cardinality of is given by . Thus, it suffices to check that has cardinality . This follows from Lemma 4.2 and Lemma 4.3 by observing that , where denotes the multi-graph after all edges with color are removed. This proves (30). If , , then and for all and , so that . This proves the last assertion. ∎
for all , ;
as ,
The main result of this section is the following
The actual value of could be in principle computed in terms of (see proof of Theorem 4.5). We will however not need that.
In the setting of Theorem 4.5, writing , for all :
As in Lemma 4.4, for each , . Hence the sum in the right hand side above equals . The conclusion follows from Theorem 4.5 and . ∎
where we use the notation for the binomial coefficient , with the convention that if and , then equals .
Next, for and , , define as the number of distinct subgraphs of that are isomorphic to . If denotes the cardinality of the automorphism group of , i.e. the number of permutations of the vertex labels which leave invariant, then
where the sum is over all injective maps from to , and represents the multi-graph obtained by embedding in through .
For , the -degree at vertex is denoted
where has distribution and .
Consider first the case . Set
where is the graph with all edges removed except for edges of color or , and the condition indicates that for all . Then, as in Lemma 4.4
On the other hand, applying (29) to the multi-graph defined by , one has
Next, consider the case . Here
where is the graph with all edges removed except for edges of color . Then,
Applying (28) to the multi-graph and simplifying, one arrives at
Finally, taking products over of (36) together with products over of (37), we arrive at (35).
Summing over the injective maps , we deduce that
where is uniformly sampled without replacement on . From assumptions (H1)-(H2), for every fixed and , as :
where has law . Moreover, for and respectively,
The desired conclusion now follows by using these asymptotics in (38) together with and
and, setting , one finds
We are going to prove that converges weakly to a Poisson random variable with mean . This will prove (40) with . To this end, by the well known moment method, it is sufficient to prove that for any integer :
where . The case is (42). Below, we establish (43) for all .
For any , let denote the set of multi-graphs with vertex set which are isomorphic to . If , then one has
where is defined by (33). The proof of (43) uses two elementary topological facts:
where is the multigraph obtained from the disjoint union of and an isomorphic copy of with vertex set . We also use two consequences of Lemma 4.7:
We start by showing that for all , there exists such that
By assumption (H1), for some , and hence, for some , one has the crude bound
where the sum is over all choices of pairwise distinct in . We now decompose into the sum over all choices of pairwise disjoint sets in , and the sum over all choices of pairwise distinct in such there exists with . Notice that this last summation satisfies
where the sum is over all choices of pairwise distinct in . By assumption (H1), is uniformly bounded, and therefore
4. Unimodular Galton-Watson trees with colors
Let denote the set of equivalence classes of rooted directed locally finite colored multi-graphs, i.e. the set of connected multi-graphs with a distinguished vertex (the root) where two rooted multi-graphs are identified if they only differ by a relabeling of the vertices. An element of is called a rooted directed colored tree if the corresponding colorblind multi-graph defined via (25) has no cycles. We now introduce a probability measure on supported on rooted colored directed trees. Let be a probability measure on , , such that for all ,
where has distribution , and for any , denotes the matrix with all entries equal to except for the entry at , which equals . Notice that is indeed a probability since
5. Local weak convergence
It is straightforward to extend the local topology introduced in Section 2 to the case of rooted directed multi-graphs with colored edges . The only difference is that the weight function is now matrix-valued.
In the case of a single color , Theorem 4.8 is folklore; see e.g. the monographs . The proof of Theorem 4.8 in the general case is given in the appendix.
6. Graphs with given tree-like neighborhood
Here we show how the configuration model can be used to count the number of graphs with a given tree-like neighborhood structure.
where stands for the equivalence class of the -neighborhood of at vertex . We say that is -tree-like if is a tree for all .
We describe now a procedure which turns the given graph into a directed colored graph in . The color set is defined as follows. Let denote the collection of all equivalence classes of the subgraphs , where we recall that is the rooted graph obtained from by removing the edge and taking the root at . For simplicity, below we will identify with its equivalence class. If denotes the cardinality of , we call the set of pairs , with ; see Figure 4 for an example. To construct the directed colored graph, for every pair such that is an edge of , we include a directed edge with color
Consider first the case . If , then for any node , the -neighborhood at is uniquely determined by the number of edges exiting node . By (25), this number equals , which is independent of . Thus, all satisfy necessarily .
Next, we assume that any satisfies , and show that . Since , by induction over this will prove the desired result.
Let be an edge in with color . Notice that in , must have an edge with color going out of , and must have an edge with color going out of . Therefore, and . By assumption, and . Therefore, the rooted trees and must satisfy
We need to show that and . From (49), one has that it is sufficient to show that and . Truncating (49) at depth one has
Thus, it is sufficient to show that and . Iterating this reasoning, one finds that it suffices to show that and . However, this is guaranteed by the fact that the degree of in and is the same, for any . ∎
We turn to the problem of counting the number of graphs whose -neighborhood distribution coincides with that of a given -tree-like graph . The following is an important corollary of Lemma 4.9.
Fix an arbitrary -tree-like graph , and define
where is the degree sequence associated to via (48), and denotes the number of distinct vectors as ranges over permutations of the labels.
For a permutation , let . Since the cardinality of does not depend on , coincides with the cardinality of . By Lemma 4.9, any two distinct elements yield two distinct graphs such that , . This proves that . On the other hand, any two distinct elements with , , yield two distinct elements with the map defined by (48). This proves the other direction. ∎
A last modification is needed: we have and we need a graph . However, since the number of vertices in is bounded by , adding or removing one edge in will change the value of for at most vertices. Let . Assume first that , then we need to add edges to . We may add new edges to such that any vertex has a most one new adjacent edge. From what precedes, we obtain a graph such that . Moreover the support is contained in . If , we need to remove edges. We remove an arbitrary subset of them of cardinality . We get a graph such that and the support of is contained in . ∎
7. Proof of Corollary 1.5
Graph counting and Entropy
In this section we prove Theorem 1.2 and Theorem 1.3. The strategy will be as follows. We first establish the cases in Theorem 1.2. We then prove Theorem 1.3, and later complete the proof of Theorem 1.2. In what follows, we fix and a sequence such that as .
Since unimodular measures form a closed subset of , if , then for some one has . Since , then . Therefore for all .
From (7), it is sufficient to prove that, for any sequence ,
Therefore, for some sequence , one has
where . Next, we check that
if is large enough, where we use and . Therefore, from Chernov’s bound, for any ,
Taking e.g. , one obtains (54). Moreover, Stirling’s formula implies
We turn to the claim that whenever is not supported on trees.
Suppose is such that . Then there exists such that if , then
In particular, , for any .
Since is unimodular, equation (2) applied to implies that for some ,
Thus, if and is small enough,
2. Proof of Theorem 1.3 and Theorem 1.2
Notice that if , then is a well defined extended real number in . The fact that follows from Proposition 5.6 below and from the upper bound , cf. (7).
As before, we fix and an integer sequence such that as . We start with three preliminary lemmas.
The function on is upper semi-continuous.
Consider a sequence converging to . We should check that . Observe that for any , for all large enough, . We get for large enough,
Letting tend to infinity and then to , we obtain the claim. ∎
Proof. A simple truncation argument shows that is weakly closed. Let (resp. ) be the law of where has law (resp. ). If (resp. ) is the conditional law of (resp. ) conditioned on , we have
and similarly for . Since is a probability measure on a finite set of size , we have for any , , as . Also, . Since , using that is increasing for , it follows that for ,
This proves the uniform integrability of for the measures . Hence letting first and then tend to infinity, we get
It thus remains to prove that . The proof is similar. First, for any ,
Then, we need to upper bound , uniformly in . It can be done as follows. Observe that . We then compute
under the linear constraints, , and . Using Lagrange multipliers denoted by and , the solution of this convex optimization problem is of the form for and . It is then easy to check that as , and . It follows that . It implies that goes to as uniformly in . Letting tend to infinity and then , it proves that . This concludes the proof of Lemma 5.5.
where stands for the probability of under . Since as , Stirling’s formula yields
On the other hand, from Corollary 4.6 we have
where denotes the set of all pairs associated to as in (48), , if . Note that the size of is finite and independent of . For a given , using the notation (3) one has Also, writing , (58) can be rewritten as
where is uniformly distributed in with as above. From Theorem 4.8, for all one has
First, the lower semi-continuity of the entropy gives . We now check that
For ease of notation, we write , and to make explicit the dependence in . As above, is the forest obtained from with law , so that
where satisfies:
To conclude the proof of (62), it remains to check that , i.e.
By dominated convergence, for any , . Since is finite, we find
Let be the support of . Define as the set of unlabeled rooted trees such that either or for some . Set . Also, by adding a fictitious point to , define , and call the associated set of colors , . To any graph we may associate a degree sequence , where is a matrix for each , obtained as in (48) by identifying with all neighborhoods that do not belong to . The precise construction is defined as follows. Fix an edge of : if and , with , then we say that the oriented pair has color ; if either or are not in , then we say that the oriented pair has color . This defines a directed colored graph with colors from the set . We call the corresponding degree sequence, i.e. is the number of directed edges with color going out of vertex . Note that by construction, if has color , then has color , and that there is no edge with color or for any .
In this way a graph yields an element of . Let denote the empirical degree law
Thus is a probability measure on the set ; see Eq. (26). Also, let denote the probability measure on induced by . Namely, is the law of the random matrix defined as follows: for all , or or , set ; and for with , set , where is defined by (3) if the rooted graph has law . By contraction, one has and
Let denote the set of probability measures of the form (68), satisfying , and such that . The above discussion shows that if , there must exist such that . Therefore, one obtains
where is defined as in Corollary 4.10, and is the degree vector associated to as in (68).
Next, we claim that for each ,
From (69) and (70), to prove (67), it remains to show that
where we use the notation for an arbitrary function satisfying as . Since is finite, reasoning as in (57) and using Lemma 5.5, it is easily seen that
where . Observe that
for all . This, together with (72)-(73) and the argument in (59) allows us to conclude the proof of (71). This ends the proof of (67).
General case: We now come back to the case of arbitrary . For any finite set , we associate the sets and as above. The above argument establishes that
Assume first that . Using (5.2) at the second line, one has
We may then consider a sequence of finite subsets in such that , and , as . Then as , the above expression converges to . This proves that (66) holds when and .
The following statement is the extension of Lemma 5.7 to the case .
where if , and otherwise.
In view of Lemma 5.7 and Lemma 5.8, Proposition 5.9 is a consequence of the following lemma.
where stands for the conditional distribution of the -neighborhood given the -neighborhood . Also,
Now recall that determines all the coefficients , , and these can be partitioned according to the pairs such that , . With this notation, by definition of , one has, for such that :
where the terms in the multinomial coefficient are all such that , , and we write , with . Therefore,
Now, by definition, if and n_{t,s^{\prime}}=\big{|}\{v\stackrel{{\scriptstyle\gamma}}{{\sim}}o:\gamma(v,o)=t,\gamma(o,v)=s^{\prime}\}\big{|}, we have
Using Corollary 4.10, if denotes a random graph with uniform distribution in , being the degree vector associated to the -neighborhood of , one also has
The desired conclusion now follows from (99) (in Appendix).
Suppose . Then
The limit is well defined by the monotonicity in Lemma 5.11. The upper bound in Proposition 5.9 shows that . Thus, all we have to prove is
By diagonal extraction, there exist sequences and such that
Since , for any fixed and all large enough, In particular, . It follows that The latter holding for all and , we have checked that (81) holds. ∎
All the statements in Theorem 1.3 are contained in Proposition 5.6, Proposition 5.9, Lemma 5.11 and Lemma 5.12. Moreover, Lemma 5.12 implies that is well defined and equals for every , independently of the choice of the sequence with . This completes the proof of Theorem 1.2 and Theorem 1.3 .
3. Proof of Corollary 1.4
where while , we use the multinomial coefficients introduced in (76), and we define the conditional probability on by . Using (76) and (77), one finds
Next observe that if , then , see Remark 3.4. Moreover, using
where , while . From (85) we then obtain the desired conclusion . Clearly, the monotonicity in Lemma 5.11 implies that . This yields the seemingly nontrivial inequality .
4. Discontinuity of the entropy
However, we have the following discontinuity result:
where is the random variable with law , respectively, and .
Since and , we have . ∎
Let us start by a remark. We denote by and the mean of and . Since , the support of is included in for some . It follows that . Also, implies that , hence . Since , we have that either or is different from . In particular,
Moreover implies that -a.s.
Indeed, we consider a tree whose vertex set are the vertices at even distance (in ) from the root. is obtained by connecting vertices at distance from the root to their grandchildren (the offspring of its own offspring), at distance . Then, by construction, all vertices have the same type in . Moreover, conditioned on the root being of type , is a Galton-Watson tree where the root has offspring distribution , the distribution of , where has law , independent of an i.i.d. sequence with law if and if , and any other vertex in has offspring distribution , the distribution of , where has law , independent of as above. By construction, has mean and has extinction probability . Then (86) is a consequence of the Seneta-Heyde Theorem .
In the sequel, we fix and take large enough such that
Let , , and . We also attach on the vertices of a new type in the set defined, for , by if
.
Otherwise, and we also set . In words: a vertex has -type if its -type is and it has exactly of its neighbors having -type . We may call this scalar the -degree of the vertex.
It follows that, for any , ,
where if and if . Equation (87) shows that we can nearly reconstruct the types and the bipartite structure from -neighborhoods.
Also, by construction, the maps and are continuous for the local topology. Hence, there exists with , , such that implies that
For all small enough, .
All ingredients are now in order. Consider a sequence such that where . Let with . For and , we set
From what precedes and (87), for and ,
where if and if . We notice also that is an integer partition of of length and is an integer partition of length .
We now compute an upper bound for . Fix . We denote by the set of vertex-labeled graphs such that for any , and ,
and ;
iif and ;
and .
where the maximum is over all pairs of integer partitions satisfying (88).
In words, is the number of -edges (i.e. adjacent to a vertex of -type and a vertex of -type ), counts all the other edges. Summing (88) over , , yields
Since . It follows that
where depends only on .
where: the first term counts the number of ways to partition into three blocks of sizes and ; the second and third terms subdivide each of the blocks in terms of the -degrees of the vertices; the fourth term upper bounds the number of ways to realize the -degree sequence (reasoning as in Lemma 4.3); the last term bounds the number of ways to put the remaining edges.
We set with and for , . Using Stirling’s approximation, we obtain
where depends only on . Using our estimates in terms of , we get
Letting and then , the lemma follows. ∎
Large deviation principles
so that as , and define the set
Each element of is isomorphic to exactly graphs in , i.e. , where denotes the number of distinct vectors as ranges over permutations of the vertex labels. Since is invariant under isomorphisms, Theorem 1.6 is equivalent to the same statement where is a random graph uniformly distributed in rather than in . Thus, for the rest of this proof will denote a uniform graph in .
Since is unimodular, we may restrict to the closed subspace . Let denote the compact set of unimodular probability measures supported by graphs with degree bounded by . Unimodularity implies that is equivalent to being supported by graphs such that the degree at the root is bounded by . By construction, and . Therefore, if is such that , then . From general principles, see e.g. [17, Ch. 4], the theorem follows if we prove that: (i) for any with , ,
On the other hand, the lower bound in Proposition 5.6 proves that for fixed , one has
2. Proof of Theorem 1.7
We start with a proof of exponential tightness. Let and let be a random graph sampled uniformly on , where is an arbitrary sequence satisfying
The random probability measure is an element of .
The sequence of random variables is exponentially tight in , i.e. for any , there exists a compact set such that
For and , we define
In view of Lemma 2.3, (92) implies the lemma.
To prove (92), we may restrict ourself to subsets of cardinality at most , with . From the union bound,
Taking one finds
On the other hand, from Stirling’s formula, there exists a constant such that
where . Since , these bounds imply the desired conclusion (92). ∎
We turn to the proof of Theorem 1.7. Fix and a sequence such that , as . Thanks to Lemma 6.2, from general principles, see e.g. [17, Ch. 4], it is sufficient to establish: (i) for any and ,
and (ii) for any
However, both the lower bound (93) and the upper bound (94) follow immediately from the definition of , Theorem 1.2 and (7). This ends the proof.
3. Proof of Theorem 1.8
The sequence satisfies the LDP in with speed and good rate function
We need to prove that satisfies a LDP on with speed and good rate function
4. Proof of Corollary 1.9 and Corollary 1.10
Appendix A Local convergence for generalized configuration model
The proof of Proposition A.1 is based on an exploration process of the neighborhood of a vertex. We shall use the notation of Section 4. For ease of notation, we will often omit the dependence on from our notation. Let , and the associated multigraph. To be precise, we specify the set to be and the set of half-edges of all colors starting from . With a slight abuse of notation, we will sometimes write for , in place of .
If , we also set . Finally, if , then the exploration process stops.
We now define and for integer , . Hence gives the new colored half-edges attached to . For ease of notation, we also set
Setting , and , we get
Note that and, if , is even.
The hitting time is a stopping time for this filtration. Also, given , if and , then is uniformly distributed on . It follows that for ,
Similarly, given , if and , is uniformly distributed on . We find in this case,
In either case , for , if , then otherwise, and . We recall also that . We get, for , if then
Observe that, from (96) and assumption (H1), we find for any ,
The next lemma computes the limiting marginals of the exploration process.
Under the assumption of Proposition A.1, let be uniformly distributed on , independently of , and consider the exploration process on the rooted graph . For any integer , as :
Since , statement (i) is simply a restatement of the assumption (H2).
For statement (ii), we first note that the set has cardinality bounded by . It follows by (97) that, if and hold, for any ,
The latter follows from statement (ii) (recall that ). ∎
We introduce a variable that counts the number of times that two elements in the active sets are matched by step :
Under the assumption of Proposition A.1, let be uniformly distributed on , independently of , and consider the exploration process on the rooted graph . For every integer , we have
If and , the subgraph of spanned by the vertices with all their half-edges in is an directed colored tree.
If , there exists an integer such that . Using (97), it follows from the union bound and the fact that ,
All ingredients of the proof of Proposition A.1 are now gathered.
For some , has at most vertices. However, by Lemma A.3, with high probability, and is a rooted directed colored tree. Applying now Lemma A.2, we deduce that
A.2. Concentration Inequalities
We are going to state a concentration inequality for the configuration model. We use the notation of Section 4. We fix an integer and consider a set of colors , and be the set of configurations. We shall say that and differ by at most one switch if there exists such that for all , and a set , with if or if , and for all , . In other words, if , is either the identity () or a transposition (). Similarly, for , is either the identity () or the composition of two disjoint transpositions ().
In the special case , the next proposition appears in Wormald [32, Theorem 2.19].
Then, if is uniformly sampled from , for any ,
The proof will be given in Section A.2.2 below.
By assumption we have for any , , . We may thus assume without loss of generality that has degrees bounded by . We set
The number of vertices in which are at distance at most from both endpoints of any given edge is bounded by . If two configurations in differ by at most one switch then . Indeed, a switch changes the status at most edges and the addition or the removal of an edge can modify for at most vertices the value of . It remains to apply Proposition A.4, with and . ∎
It remains to apply again Borel-Cantelli’s lemma and Proposition A.1.
where and .
A.2.2. Proof of Proposition A.4
The proof is a consequence of Azuma-Hoeffding’s inequality.
If is a finite set, we denote by the set of perfect matchings on . With our previous notation . For , an element of can be uniquely decomposed into where is the restriction of to the smallest pairs and is the rest. Let denote the subset of such that is a perfect matching on .
If is the smallest element of , we set , so that . Now, for , let denote the set of matchings of such that . Then for any , each corresponds to a unique through the switch , where . This gives a bijection between and , and we set . By assumption, we deduce that for any ,
Applying the above inequality to , we deduce that
We may then apply Azuma-Hoeffding’s inequality to the martingale . We obtain that for any ,
With minor modifications, the above argument shows that, for , . Then, by Azuma-Hoeffding’s inequality, we find for ,
Acknowledgments
We thank Justin Salez for bringing reference to our attention and Bálint Virág for a discussion on the discontinuity of the entropy. This work was supported by the GDRE GREFI-MEFI CNRS-INdAM. Partial support of the European Research Council through the Advanced Grant PTRELSS 228032 and ANR-11-JS02-005-01 is also acknowledged.