The method of moments and degree distributions for network models

Peter J. Bickel, Aiyou Chen, Elizaveta Levina

Introduction

The analysis of network data has become an important component of doing research in many fields; examples include social and friendship networks, food webs, protein interaction and regulatory networks in genomics, the World Wide web and computer networks. On the algorithmic side, many algorithms for identifying important network structures such as communities have been proposed, mainly by computer scientists and physicists; on the mathematical side, various probability models for random graphs have been studied. However, there has only been a limited amount of research on statistical inference for networks, and on learning the network features by fitting models to data; to a large extent, this is due to the gap between the relatively simple models that are analytically tractable and the complex features of real networks not easily reproduced by these models.

Probability models on infinite graphs have a nice general representation based on results [Aldous 1981, Hoover 1979, Kallenberg 2005, Diaconis and Janson 2008], analogous to de Finetti’s theorem, for exchangeable matrices. Here, we give a brief summary closely following the notation of Bickel and Chen 2009. Graphs can be represented through their adjacency matrix AA, where Aij=1A_{ij}=1 if there is an edge from node ii to jj and 0 otherwise. We assume Aii=0A_{ii}=0, that is, there are no self-loops. AijA_{ij}’s can also represent edge weights if the graph is weighted, and for undirected graphs, which is our focus here, Aij=AjiA_{ij}=A_{ji}. For an unlabeled random graph, it is natural to require its probability distribution PP on the set of all matrices {[Aij],i,j≥1}\{[A_{ij}],i,j\geq 1\} to satisfy [Aσiσj]∼P[A_{\sigma_{i}\sigma_{j}}]\sim P, where σ\sigma is an arbitrary permutation of node indices. In that case, using the characterizations above one can write

where α\alpha, ξi{\xi_{i}} and λij\lambda_{ij} are i.i.d. random variables distributed uniformly on (0,1)(0,1), λij=λji\lambda_{ij}=\lambda_{ji} and gg is a function symmetric in its second and third arguments. α\alpha as in de Finetti’s theorem corresponds to the mixing distribution and is not identifiable. The equivalent of the i.i.d. sequences in de Finetti’s theorem here are distributions of the form Aij=g(ξi,ξj,λij)A_{ij}=g(\xi_{i},\xi_{j},\lambda_{ij}). This representation is not unique, and gg is not identifiable. These distributions can be parametrized through the function

be the probability of an edge in the network. Then the density of (ξi,ξj)(\xi_{i},\xi_{j}) conditional on Aij=1A_{ij}=1 is given by

With this parametrization, it is natural to let ρ=ρn\rho=\rho_{n}, make ww independent of nn and control the rate of the expected degree λn=(n−1)ρn\lambda_{n}=(n-1)\rho_{n} as n→∞n\rightarrow\infty. The case most studied in probability on random graphs is λn=Ω(1)\lambda_{n}=\Omega(1) [where an=Ω(bn)a_{n}=\Omega(b_{n}) means an=O(bn)a_{n}=O(b_{n}) and bn=O(an)b_{n}=O(a_{n})]. The case of λn=1\lambda_{n}=1 corresponds to the so-called phase transition, with the giant connected component emerging for λn>1\lambda_{n}>1.

Many previously studied probability models for networks fall into this class. It includes the block model [Holland, Laskey and Leinhardt 1983, Snijders and Nowicki 1997, Nowicki and Snijders 2001], the configuration model [Chung and Lu 2002] and many latent variable models, including the univariate [Hoff, Raftery and Handcock 2002] and multivariate [Handcock, Raftery and Tantrum 2007] latent variable models, and latent feature models [Hoff 2007]. In fact, dynamically defined models such as the “preferential attachment” model [which seems to have been first mentioned by Yule in the 1920s, formally described by de Solla Price 1965 and given its modern name by Barabási and Albert 1999] can also be thought of in this way if the dynamical construction process continues forever producing an infinite graph; see Section 16 of Bollobás, Janson and Riordan 2007.

The block model is very attractive from the analytical point of view and useful in a number of applications, but the class (2) is much richer than the block model itself. Moreover, the block model cannot deal with nonuniform edge distributions within blocks, such as the commonly encountered “hubs,” although a modification of the block model introducing extra node-specific parameters has been recently proposed by Karrer and Newman 2011 to address this shortcoming. It may also be difficult to obtain accurate results from fitting the block model by maximum likelihood when the graph is sparse.

In this paper, we develop an alternative approach to fitting models of type (2), via the classical tool of the method of moments. By moments, we mean empirical or theoretical frequencies of occurrences of particular patterns in a graph, such as commonly used triangles and stars, although the theory is for general patterns. While specific parametric models like the block model can be fitted by other methods, the method of moments applies much more generally, and leads to some general theoretical results on graph moments along the way. We note that related work on the method of moments was carried out for some specific parametric models in Picard et al. 2008.

A well-studied class of random graph models where moments play a big role is the exponential random graph models (ERGMs). ERGMs are an exponential family of probability distributions on graphs of fixed size that use network moments such as number of edges, pp-stars and triangles as sufficient statistics. ERGMs were first proposed by Holland and Leinhardt 1981 and Frank and Strauss 1986 and have then been generalized in various ways by including nodal covariates or forcing particular constraints on the parameter space; see Robins et al. 2007 and references therein. While the ERGMs are relatively tractable, fitting them is difficult since the partition function can be notoriously hard to estimate. Moreover, they often fail to provide a good fit to data. Recent research has shown that a wide range of ERGMs are asymptotically either too simplistic, that is, they become equivalent to Erdös–Renyi graphs, or nearly degenerate, that is, have no edges or are complete; see Handcock 2003 for empirical studies and Chatterjee and Diaconis 2011 and Shalizi and Rinaldo 2011 for theoretical analysis.

The rest of the paper is organized as follows. In Section 2, we set up the notation and problem formulation and study the distribution of empirical moments, proving a central limit theorem for acyclic patterns. We also work out examples for several specific patterns. In Section 3 we show how to use the method of moments to fit the block model, as well as identify a general nonparametric model of type (2). In Section 4, we focus on degree distributions, which characterize (asymptotically) the model (2). Section 5 discusses the relationship between normalized degrees and more complicated pattern counts that can be used to simplify computation of empirical moments. Section 6 concludes with a discussion. Proofs and additional lemmas are given in the Appendix.

The asymptotic distribution of moments

We start by setting up notation. Let GnG_{n} be a random graph on vertices 1,…,n1,\ldots,n, generated by

where w(u,v)≥0w(u,v)\geq 0, symmetric, 0≤u,v≤10\leq u,v\leq 1, ρn→0\rho_{n}\rightarrow 0. We cannot, unfortunately, treat ρn\rho_{n} and ww as two completely free parameters, as we need to ensure that h≤1h\leq 1. We can either assume that the sequence ρn\rho_{n} is such that ρnw≤1\rho_{n}w\leq 1 for all nn, or restrict our attention to classes where wn(u,v)=w(u,v)I(w(u,v)≤ρn−1)→L2w(u,v)w_{n}(u,v)=w(u,v)I(w(u,v)\leq\rho_{n}^{-1})\stackrel{{\scriptstyle L_{2}}}{{\rightarrow}}w(u,v). In either case, we can ignore the weak dependence of wnw_{n} on ρn\rho_{n} and effectively replace wnw_{n} with ww.

Let T ⁣:  L2(0,1)→L2(0,1)T\colon\;\mathcal{L}_{2}(0,1)\rightarrow\mathcal{L}_{2}(0,1) be the operator defined by

Thus DiD_{i} is the degree of node ii, Dˉ\bar{D} is the average degree and LL is the total number of edges in GnG_{n}.

Let RR be a subset of {(i,j) ⁣:  1≤i<j≤n}\{(i,j)\colon\;1\leq i<j\leq n\}. We identify RR with the vertex set V(R)={i ⁣:  (i,j)\mboxor(j,i)∈R\mboxforsomej}V(R)=\{i\colon\;(i,j)\mbox{ or }(j,i)\in R\mbox{ for some }j\} and the edge set E(R)=RE(R)=R. Let Gn(R)G_{n}(R) be the subgraph of GnG_{n} induced by V(R)V(R). Recall that two graphs R1R_{1} and R2R_{2} are called isomorphic (R1∼R2R_{1}\sim R_{2}) if there exists a one-to-one map σ\sigma of V(R1)V(R_{1}) to V(R2)V(R_{2}) such that the map (i,j)→(σi,σj)(i,j)\rightarrow(\sigma_{i},\sigma_{j}) is one-to-one from E(R1)E(R_{1}) to E(R2)E(R_{2}).

Throughout the paper, we will be using two key quantities defined next:

Next, we give a proposition summarizing some simple relationships between PP and QQ. The proof, which is elementary, is given in the Appendix. Similar results are implicit in Diaconis and Janson 2008.

If GnG_{n} is a random graph, and RR a subset of {(i,j) ⁣:  1≤i<j≤n}\{(i,j)\colon\;1\leq i<j\leq n\}, then

where Rˉ={(i,j)∉R,i∈V(R),j∈V(R)}\bar{R}=\{(i,j)\notin R,i\in V(R),j\in V(R)\}. Further,

Here R⊂SR\subset S refers to S⊂{(i,j) ⁣:  i,j∈V(R)}S\subset\{(i,j)\colon\;i,j\in V(R)\}.

The quantities P(R)P(R) and Q(R)Q(R) are unknown population quantities which we can estimate from data, that is, from the graph GnG_{n}. Define, for R⊂{(i,j) ⁣:  1≤i<j≤n}R\subset\{(i,j)\colon\;1\leq i<j\leq n\} with ∣V(R)∣=p|V(R)|=p,

where N(R)N(R) is the number of graphs isomorphic to RR on vertices 1,…,p1,\ldots,p. For instance, if RR is a 2-star consisting of two edges (1,2)(1,2), (1,3)(1,3), then N(R)=3N(R)=3. Further, let

Here we use RR and SS to denote both a subset and a subgraph. Evidently,

The scaling here is controlled by the parameter ρn\rho_{n}, the natural assumption for which is ρn→0\rho_{n}\rightarrow 0. In that case, P(R)→0P(R)\rightarrow 0 for any fixed RR with a fixed number of vertices pp. Therefore we consider the following rescaling of P(R)P(R) and Q(R)Q(R): writing ∣R∣|R| for ∣E(R)∣|E(R)|, let

if ∫w2(∣R∣+1)(u,v) du dv<∞\int w^{2(|R|+1)}(u,v)\,du\,dv<\infty.

ρ^n=Dˉn−1=2Ln(n−1)\hat{\rho}_{n}=\frac{\bar{D}}{n-1}=\frac{2L}{n(n-1)} is the estimated probability of an edge. For these rescaled versions of PP and QQ, we have the following theorem.

Suppose ∫01∫01w2(u,v) dv du<∞\int_{0}^{1}\int_{0}^{1}w^{2}(u,v)\,dv\,du<\infty.

for some σ2>0\sigma^{2}>0. Suppose further RR is fixed, acyclic with ∣V(R)∣=p|V(R)|=p and ∫w2∣R∣(u,v) du dv<∞\int w^{2|R|}(u,v)\,du\,dv<\infty. Then,

More generally, for any fixed {R1,…,Rk}\{R_{1},\ldots,R_{k}\} as above with ∣V(Rj)∣≤p|V(R_{j})|\leq p,

Suppose λn→λ<∞\lambda_{n}\rightarrow\lambda<\infty. Conclusions (9)–(12) continue to hold save that σ2(R)\sigma^{2}(R), Σ(R)\Sigma(R) depend on λ\lambda as well as RR.

(1) Note that part (b) yields consistency and asymptotic normality of acyclic graph moment estimates across the phase transition to a giant component, that is, for λ<1\lambda<1 as well as λ≥1\lambda\geq 1.

(2) Note that we are, throughout, estimating features of the canonical ww. Unnormalized PP and QQ are trivially 0 if λn\lambda_{n} is not of order nn.

(4) Part (c) of the theorem shows that for graphs with λn=Ω(n)\lambda_{n}=\Omega(n), Qˇ\check{Q} always gives n\sqrt{n}-consistent estimates of any pattern while Pˇ\check{P} is not consistent unless we assume acyclic graphs,

since the bias is of order O(λn/n)=O(1)O(\lambda_{n}/n)=O(1). In the range λn=o(n1/2)\lambda_{n}=o(n^{1/2}) to Ω(n)\Omega(n), what is possible depends on the pattern. For instance, if Δ={(1,2),(2,3),(3,1)}\Delta=\{(1,2),(2,3),(3,1)\}, a triangle, Pˇ(Δ)=Qˇ(Δ)\check{P}(\Delta)=\check{Q}(\Delta) (because there is no other graph on three nodes containing Δ\Delta), and Pˇ\check{P} is n\sqrt{n}-consistent if λn≥εn1/3\lambda_{n}\geq\varepsilon n^{1/3} by part (c) but otherwise only consistent if λn→∞\lambda_{n}\to\infty.

2 Examples of specific patterns

Next we give explicit formulas for several specific RR. Our main focus is on wheels (defined next), which, as we shall see, in principle can determine the canonical ww.

A (k,l)(k,l)-wheel is a graph with kl+1kl+1 vertices andklkl edges isomorphic to the graph with edges {(1,2),…,(k,k+1);(1,k+2),\penalty…,(2k,2k+1);…,(1,(l−1)k+2),…,(lk,lk+1)}\{(1,2),\ldots,(k,k+1);(1,k+2),\penalty\ldots,(2k,2k+1);\ldots,(1,(l-1)k+2),\ldots,(lk,lk+1)\}.

In other words, a wheel consists of node 11 at the center and ll “spokes” connected to the center, and each spoke is a chain of kk edges. We consider only k≥2k\geq 2. The number of isomorphic (k,l)(k,l)-wheels on vertices 1,…,p1,\ldots,p is N(R)=(kl+1)!/l!N(R)=(kl+1)!/l!.

If the graph RR is a (k,l)(k,l)-wheel, the theoretical moments have a simple form and can be expressed in terms of the operator TT as follows:

where the first equality holds by the definition of QQ and the second by the structure of a (k,l)(k,l)-wheel.

order larger than n1−2/(kl+1)n^{1-2/(kl+1)}. In the λn\lambda_{n} range between O(n1/2)O(n^{1/2}) and O(n1−2/(kl+1))O(n^{1-2/(kl+1)}), we do not exhibit a n\sqrt{n}-consistent estimate though we conjecture that by appropriate de-biasing of Pˇ\check{P} such an estimate may be constructed. However, λn=o(n1/2)\lambda_{n}=o(n^{1/2}) seems a reasonable assumption

for most graphs in practice, and then we can use the more easily computed Pˇ\check{P}.

A (k,l)(\mathbf{k},\mathbf{l})-wheel, where k=(k1,…,kt)\mathbf{k}=(k_{1},\ldots,k_{t}), l=(l1,…,lt)\mathbf{l}=(l_{1},\ldots,l_{t}) are vectors and the kjk_{j}’s are distinct integers, is the union R1∪⋯∪RtR_{1}\cup\cdots\cup R_{t}, where RjR_{j} is a (kj,lj)(k_{j},l_{j})-wheel, j=1,…,tj=1,\ldots,t, and the wheels R1,…,RtR_{1},\ldots,R_{t} share a common hub but all their spokes are disjoint.

(k,l)(\mathbf{k},\mathbf{l})-wheel has a total of p=∑jljkj+1p=\sum_{j}l_{j}k_{j}+1 vertices and ∑jljkj\sum_{j}l_{j}k_{j} edges. For example, a graph defined by E={(1,2);(1,3),(3,4);(1,5),(5,6);(1,7),(7,8)E=\{(1,2);(1,3),(3,4);(1,5),(5,6);(1,7),(7,8), (8,9)}(8,9)\} is a (k,l)(\mathbf{k},\mathbf{l})-wheel with k=(1,2,3)\mathbf{k}=(1,2,3) and l=(1,2,1)\mathbf{l}=(1,2,1). The number of distinct isomorphic (k,l)(\mathbf{k},\mathbf{l})-wheels on pp vertices is N(R)=p!(∏jlj!)−1N(R)=p!(\prod_{j}l_{j}!)^{-1}.

We can compute, defining A(R)=∏{Aij ⁣:  (i,j)∈R}A(R)=\prod\{A_{ij}\colon\;(i,j)\in R\},

Thus (k,l)(\mathbf{k},\mathbf{l})-wheels give us all cross moments of Tm(ξ)T^{m}(\xi), m≥1m\geq 1. Note that all (k,l)(\mathbf{k},\mathbf{l})-wheels are acyclic.

We are not aware of other patterns for which the moment formulas are as simple as those for wheels. For example, if RR is a triangle, then

where h(2)(u,w)=∫01h(u,v)h(v,w) dvh^{(2)}(u,w)=\int_{0}^{1}h(u,v)h(v,w)\,dv corresponds to T2f≡∫01h(2)(u,v)×\penaltyf(v) dvT^{2}f\equiv\int_{0}^{1}h^{(2)}(u,v)\times\penalty f(v)\,dv.

Moments and model identifiability

We establish two results in this section: identifiability of block models with known KK using {Pˇ(R) ⁣:  R\{\check{P}(R)\colon\;R a (k,l)(k,l)-wheel, 1≤l≤2K−1,2≤k≤K}1\leq l\leq 2K-1,2\leq k\leq K\}, and

the general identifiability of the function ww from {Pˇ(R)}\{\check{P}(R)\} using all (k,l)(\mathbf{k},\mathbf{l})-wheels RR.

Let ww correspond to a KK-block model defined by parameters θ≡(π,ρn,S)\theta\equiv(\pi,\rho_{n},S), where πa\pi_{a} is the probability of a node being assigned to block aa as before, and

Recall that the function hh in (2) is not unique, but a canonical hh can be defined. For the block model, we use the canonical hh given by Bickel and Chen 2009. Let Hab=SabπaπbH_{ab}=S_{ab}\pi_{a}\pi_{b}. Let the labeling of the communities 1,…,K1,\ldots,K satisfy H1≤⋯≤HKH_{1}\leq\cdots\leq H_{K}, where Ha=∑bHabH_{a}=\sum_{b}H_{ab} is proportional to the expected degree for a member of block aa. The canonical function hh then takes the value FabF_{ab} on the (a,b)(a,b) block of the product partition where each axis is divided into intervals of lengths π1,…,πK\pi_{1},\ldots,\pi_{K}. Let F≡∥Fab∥F\equiv\|F_{ab}\|.

In view of (10), we will treat ρn\rho_{n} as known. Let {Wkl ⁣:  1≤l≤2K−1,2≤k≤K}\{W_{kl}\colon\;1\leq l\leq 2K-1,2\leq k\leq K\} be the specified set of (k,l)(k,l)-wheels, and let

Suppose θ=(π,S)\theta=(\pi,S) defines a block model with known KK, and the vectors π,Fπ,…,FK−1π\pi,F\pi,\ldots,F^{K-1}\pi are linearly independent. Suppose ε≤λn=o(n1/2)\varepsilon\leq\lambda_{n}=o(n^{1/2}). Then:

{τkl ⁣:  l=1,…,2K−1,k=2,…,K}\{\tau_{kl}\colon\;l=1,\ldots,2K-1,k=2,\ldots,K\} identify the K(K+3)/2−2K(K+3)/2-2 parameters of the block model other than ρ\rho (i.e., the map ff is one to one).

If ff has a gradient which is of rank K(K+3)2−2\frac{K(K+3)}{2}-2 at the true (π0,S0)(\pi_{0},S_{0}), then f−1(P(τˇ)){f}^{-1}(P(\check{\tau})) is a n\sqrt{n}-consistent estimate of (π0,S0)(\pi_{0},S_{0}), where τˇ=∥τˇkl∥\check{\tau}=\|\check{\tau}_{kl}\| and P(τˇ)P(\check{\tau}) is the closest point in the range of ff to τˇ\check{\tau}.

Note that the linear independence condition rules out all matrices FF that have 11 as an eigenvector. In particular, it rules out the case of FaaF_{aa} equal for all aa, FabF_{ab} equal for all a≠ba\neq b, which was studied in detail by Decelle et al. 2011. Using physics arguments, they showed that in that particular case, when λ=O(1)\lambda=O(1), there are regions of the parameter space where neither the parameters nor the block assignments can be estimated by any method.

2 The nonparametric model

In the general case, we express everything in terms of the operator Tw≡T/ρnT_{w}\equiv T/\rho_{n} induced by the canonical ww. We require that:

the joint distribution of {Twl(1)(ξ) ⁣:  l≥1}\{T_{w}^{l}(1)(\xi)\colon\;l\geq 1\} is determined by the cross moments of (Twl1(ξ),…,Twlk(ξ))(T_{w}^{l_{1}}(\xi),\ldots,T_{w}^{l_{k}}(\xi)), for l1,…,lkl_{1},\ldots,l_{k} arbitrary.

A simple sufficient condition for (A) is ∣w∣≤M<∞|w|\leq M<\infty. A more elaborate one is the following:

Let ww characterize TwT_{w}, where ∫01w2(u,v) du dv<∞\int_{0}^{1}w^{2}(u,v)\,du\,dv<\infty. By Mercer’s theorem,

where the ϕj\phi_{j} are orthonormal eigenfunctions and the λj\lambda_{j} eigenvalues, ∑λj2<∞\sum\lambda_{j}^{2}<\infty.

Suppose ∫01∫01w2(u,v) du dv<∞\int_{0}^{1}\int_{0}^{1}w^{2}(u,v)\,du\,dv<\infty. Assume the eigenvalues λ1>λ2>⋯\lambda_{1}>\lambda_{2}>\cdots of TwT_{w} are each of multiplicity 11 with corresponding eigenfunction ϕj\phi_{j}, and ∫01ϕj(u) du≠0\int_{0}^{1}\phi_{j}(u)\,du\neq 0 for all jj. The joint distribution of (Tw(1)(ξ),…,\penaltyTwm(1)(ξ),…)(T_{w}(1)(\xi),\ldots,\penalty T_{w}^{m}(1)(\xi),\ldots) then determines, and is determined by, w(⋅,⋅)w(\cdot,\cdot).

Note again that interesting cases are ruled out by the condition that all eigenfunctions of TT are not orthogonal to 11. The general analogue to the block model case is that P(Aij=1∣ξi)P(A_{ij}=1|\xi_{i}) cannot be constant for all ii and jj. Constancy can be interpreted as saying that AijA_{ij} and the latent variable ξi\xi_{i} associated with vertex ii are independent. The proof of Theorem 3 is given in the Appendix. The almost immediate application to wheels is stated next.

Since Tl≡(T(1)(ξ),…,Tl(ξ))\mathbf{T}_{l}\equiv(T(1)(\xi),\ldots,T^{l}(\xi)) has a moment generating function converging on 0<∣s∣≤εl0<|s|\leq\varepsilon_{l}, the moments (including cross moments) determine the distribution of the vector. By (14), the τkl\tau_{\mathbf{kl}} give all moments of the vector Tl\mathbf{T}_{l} for all ll. By Theorem 1, the τˇkl\check{\tau}_{\mathbf{kl}} are n\sqrt{n}-consistent.

Degree distributions

The average degree Dˉ\bar{D} is, as we have seen in Theorem 1, a natural data dependent normalizer for moment statistics which eliminates the need to “know” ρn\rho_{n}. In fact, as we show in this section, the joint empirical distribution of degrees and what we shall call mm degrees below can be used in estimating asymptotic approximations to w(⋅,⋅)w(\cdot,\cdot) in a somewhat more direct way than moment statistics. They can also be used to approximate moment estimates based on (k,l)(\mathbf{k},\mathbf{l})-wheels in a way that potentially simplifies computation.

The complexity of this computation is O((n+m)λnm)O((n+m)\lambda_{n}^{m}) (first term is for computing the row sums of AmA^{m} and the second for eliminating the loops).

Define the empirical distribution of the vector of normalized degrees

Suppose λn→∞\lambda_{n}\to\infty and ∣w2m∣<∞|w_{2m}|<\infty. Then F^m→M2Fm{\hat{F}}_{m}\stackrel{{\scriptstyle M_{2}}}{{\rightarrow}}F_{m} as n→∞n\rightarrow\infty, where FmF_{m} is the distribution of θm(ξ)=(τw(ξ),…,Twm−1(τw)(ξ))\bm{\theta}_{m}(\xi)=(\tau_{w}(\xi),\ldots,T_{w}^{m-1}(\tau_{w})(\xi)), and τw(ξ)=∫01w(ξ,v) dv\tau_{w}(\xi)=\int_{0}^{1}w(\xi,v)\,dv is monotone increasing. Moreover, if G^m(x,y)\hat{G}_{m}(\mathbf{x},\mathbf{y}) is the empirical distribution of (Di(m),θm(ξi))(\mathbf{D}_{i}^{(m)},\bm{\theta}_{m}(\xi_{i})), then

There is an attractive interpretation of the last statement of Theorem 5. If λn→∞\lambda_{n}\to\infty, λn=o(n1/(m−1))\lambda_{n}=o(n^{1/(m-1)}), m≥2m\geq 2, then Di/λnD_{i}/\lambda_{n} can be identified with τ(ξi)\tau(\xi_{i}) in the following sense: While ξi\xi_{i} is unobserved but Di/DˉD_{i}/\bar{D} is, on average, τ(ξi)\tau(\xi_{i}) and Di/DˉD_{i}/\bar{D} are close. Since τ\tau is monotone increasing in ξ\xi, that is, is a measure of ξ\xi on another scale, we can treat Di/λnD_{i}/\lambda_{n} as the latent affinity of ii to form relationships.

Bollobás, Janson and Riordan 2007 show that if m=1m=1, λn=O(1)\lambda_{n}=O(1), then the limit of the empirical distribution of the degrees can be described as follows: given ξ∼U(0,1)\xi\sim\mathcal{U}(0,1), the limit distribution is Poisson with mean τw(ξ)\tau_{w}(\xi). The limit of the joint degree distribution in this case can be determined but does not seem to give much insight.

Theorem 5 shows that the normalized degree distributions can be used for estimation of parameters only if λn→∞\lambda_{n}\to\infty. If that is the case we can proceed as follows:

Let τ^1,…,τ^n\hat{\tau}_{1},\ldots,\hat{\tau}_{n} be the empirical quantiles of the normalized 1-degree distribution, and let T^m(τ^k)\hat{T}^{m}(\hat{\tau}_{k}) be the mm-degree of the vertex with normalized degree τ^k\hat{\tau}_{k}.

Fit smooth curves to (τ^k,T^m(τ^k))(\hat{\tau}_{k},\hat{T}^{m}(\hat{\tau}_{k})) viewed as observations of functions at τ^k\hat{\tau}_{k}, k=1,…,nk=1,\ldots,n, for each mm, and call these T^m(⋅)\hat{T}^{m}(\cdot) (on RR). By Theorem 5, T^m(t)→Tm−1(τ)(τ−1(t))\hat{T}^{m}(t)\rightarrow T^{m-1}(\tau)(\tau^{-1}(t)) for all tt. If Tm−1(τ−1(⋅))T^{m-1}(\tau^{-1}(\cdot)) are smooth, the convergence can be made uniform on compacts.

From the fitted functions T^m(⋅)\hat{T}^{m}(\cdot), we can estimate the parameters of block models of any order consistently by replacing vm\mathbf{v}_{m} in the proof of identifiability of block models by fitting the T^m(t)\hat{T}^{m}(t) by Tm(t)T^{m}(t) of the type specified by block models and then using the corresponding v^m\hat{\mathbf{v}}_{m}. We only need the conditions of Theorem 5.

Computation of moment estimates and estimation of their variances

General acyclic graph moment estimates including those corresponding to patterns arising from (k,l)(\mathbf{k},\mathbf{l})-wheels are computationally difficult. For (k,l)(k,l)-wheels with small kk and ll, we can use brute force counting, but unfortunately, the complexity of moment computation even for (k,l)(k,l)-wheels appears to be O(nλnk)O(n\lambda_{n}^{k}). Note that we need to count the sets of loopless paths of length kk, SiaS_{i\mathbf{a}}, for each ii, where SiaS_{i\mathbf{a}} is the set of all paths of length kk originating at node ii which intersect another such path at a1<⋯<ama_{1}<\cdots<a_{m}, 1≤m≤k1\leq m\leq k, and Si0S_{i0} is the set of all paths of length kk from ii which do not intersect. The number of (k,l)(k,l)-wheels with hub ii is then the number of ll-tuples of such paths selected so that elements from SiaS_{i\mathbf{a}} appear at most once, with the remaining paths coming from Si0S_{i0}. This is computationally nontrivial.

For very sparse graphs, however, intersecting paths can be ignored up to a certain order, and the wheel counts can be related to normalized mm-degrees via a following approximation. If the conditions of Theorem 5 hold and λn=o(nα)\lambda_{n}=o(n^{\alpha}) for all α>0\alpha>0, then

A similar formula holds for τ^kl\hat{\tau}_{\mathbf{k}\mathbf{l}}.

The heuristic argument for (17) is that the expected number of paths of lengths kk from ii is O(λnk)O(\lambda_{n}^{k}). The expected number of pairs of such paths which intersect at least once is

if λn=o(nα)\lambda_{n}=o(n^{\alpha}) for all α>0\alpha>0. Note that for KK-block models this condition is not necessary for all α\alpha, since we only need to count a finite number of (k,l)(k,l)-wheels.

Estimation of variances of moment estimates even for (k,l)(\mathbf{k},\mathbf{l})-wheels involve the counting of more complicated patterns. However, we propose the following bootstrap method:

Associate with each vertex ii the counts of (k,l)(\mathbf{k},\mathbf{l})-wheels for which it is a hub, Si={nikl\mbox:allk,l}S_{i}=\{n_{i\mathbf{k}\mathbf{l}}\mbox{: all }\mathbf{k},\mathbf{l}\}, i=1,…,ni=1,\ldots,n.

Sample without replacement mm vertices {i1,…,im}\{i_{1},\ldots,i_{m}\}, and let

For RR a (k,l)(\mathbf{k},\mathbf{l})-wheel, define

Repeat this BB times to obtain Pˇ1∗,…,PˇB∗\check{P}_{1}^{*},\ldots,\check{P}_{B}^{*}, and let

Then σ^2\hat{\sigma}^{2} is an estimate of the variance of Pˇ(R)\check{P}(R) if mn→0,m→∞\frac{m}{n}\rightarrow 0,m\rightarrow\infty.

Discussion

Our Theorem 4 suggests that we might be able to construct consistent nonparametric estimates of wCANw_{\mathit{CAN}}. That is, τM={τkl ⁣:  ∣k∣≤M,∣l∣≤M}\bm{\tau}_{M}=\{\tau_{\mathbf{k}\mathbf{l}}\colon\;|\mathbf{k}|\leq M,|\mathbf{l}|\leq M\} can be estimated at rate n−1/2n^{-1/2} for all M<∞M<\infty. But {τM,M≥1}\{\bm{\tau}_{M},M\geq 1\} determines TwT_{w}, and thus in principle we can estimate TwT_{w} arbitrarily closely using {τ^kl}\{\hat{\tau}_{\mathbf{k}\mathbf{l}}\}. This appears difficult both theoretically and practically. Theoretically, one difficulty seems to be that we would need to analyze the expectation of moments or degree distributions when the block model does not hold, which is doable. What is worse is that the passage to ww from moments is very ill-conditioned, involving first inversion via solution of the moment problem, and then estimation of eigenvectors and eigenvalues from a sequence of iterates Tw(1),Tw2(1)T_{w}(1),T_{w}^{2}(1), etc. If we assume λn→∞\lambda_{n}\rightarrow\infty so that we can use consistency of the degree distributions, we bypass the moment problem, but the eigenfunction estimation problem remains. A step in this direction is a result of Rohe, Chatterjee and Yu 2011 which shows that spectral clustering can be used to estimate the parameters of kk block models if λ→∞\lambda\rightarrow\infty sufficiently, even if k→∞k\rightarrow\infty slowly. Unfortunately this does not deal with the problem we have just discussed, how to pick a block model which is a good approximation to the nonparametric model. For reasons which will appear in a future paper, smoothness assumptions on ww have to be treated with caution.

While λn→∞\lambda_{n}\rightarrow\infty has not occurred in practice in the past, networks with high average degrees are now appearing routinely. In particular, university Facebook networks have λ\lambda of 15 or more with nn in the low thousands. In any case λn→∞\lambda_{n}\rightarrow\infty can still be useful as an asymptotic regime that can help us understand some general patterns, in the same way that the sample size going to infinity does in ordinary statistics. Note that most of the time we do not specify the rate of growth of λn\lambda_{n}, which can be very slow.

2 Adding covariates and directed graphs

In principle, adding covariates XiX_{i} at each vertex or XijX_{ij} at each edge simply converts our latent variable model, w(⋅,⋅)w(\cdot,\cdot) into a mixed model

which can be turned into a logistic mixed model. Special cases of such models have been considered in the literature; see Hoff 2007 and references therein. We do not pursue this here. The extension of this model to directed graphs is also straightforward.

3 Dynamic models

Many models in the literature have been specified dynamically; see Newman 2010. For instance, the “preferential attachment” model constructs an nn graph by adding 1 vertex at a time, with edges of that vertex to previous vertices formed with probabilities which are functions of the degree of the candidate “old” vertex. If we let n→∞n\rightarrow\infty, we obtain models of the type we have considered whose ww function can be based on an integral equation for τ(ξ)\tau(\xi), our proxy for the degree of the vertex with latent variable ξ\xi. We shall pursue this elsewhere also.

Appendix: Additional lemmas and proofs

[Proof of Proposition 1] The first line of (6) is immediate, conditioning on {ξ1,…,ξn}\{\xi_{1},\ldots,\xi_{n}\}. The second line in (6) follows by expanding the second product. Finally, (6) follows directly from the definitions of PP and QQ.

The following standard result is used in the proof of Theorem 1.

Suppose (Un,Vn)(U_{n},V_{n}) are random elements such that,

in probability. Then UnU_{n}, VnV_{n} are asymptotically independent,

Since λn=(n−1)ρn\lambda_{n}=(n-1)\rho_{n}, the first term is

The second term is a UU-statistic of order 2, which is well known to be O(n−1)O(n^{-1}). Thus, (9) follows in case (a).

To establish (10) and (b), we note that the conditional distribution of nλnT1\sqrt{n\lambda_{n}}T_{1} given ξ\bm{\xi} is that of a sum of independent random variables with conditional variance

Applying Lemma 1, we see that if λn=O(1)\lambda_{n}=O(1), (b) follows. On the other hand, if λn→∞\lambda_{n}\rightarrow\infty, nT1\sqrt{n}T_{1} is negligible, and the Gaussian limit is determined by T2T_{2}.

The proof of (1) and (12) is similar. We shall decompose Pˇ(R)\check{P}(R) as U1+U2U_{1}+U_{2} as we did Lnλn\frac{L}{n\lambda_{n}}. If λn→∞\lambda_{n}\rightarrow\infty, it is enough to prove that

replacing Dˉ\bar{D} by nρn=λnn\rho_{n}=\lambda_{n} gives a perturbation of order (nλn)−1/2=o(n−1/2)(n\lambda_{n})^{-{1/2}}=o(n^{-{1/2}}).

In case (b), it is enough to show that the joint distribution of n((P^(R)−P(R))ρn−∣R∣,T1,T2)\sqrt{n}((\hat{P}(R)-P(R))\rho_{n}^{-|R|},T_{1},T_{2}) is Gaussian

in the limit, since in view of (9) and (10) we can apply the delta method to Pˇ(R)\check{P}(R). Let p≡∣V(R)∣p\equiv|V(R)|, q≡∣R∣q\equiv|R|. Each term in Pˇ(R)\check{P}(R) is of the form

Condition on ξ={ξ1,…,ξn}\bm{\xi}=\{\xi_{1},\ldots,\xi_{n}\}. Then terms T(S)T(S), as above, yield

We begin by considering Var⁡(U1∣ξ)\operatorname{Var}(U_{1}|\xi) which we can write as

where the sum ranges over all S1∼RS_{1}\sim R, S2∼RS_{2}\sim R.

If E(S1)∩E(S2)=ϕE(S_{1})\cap E(S_{2})=\phi the covariance is 0. In general, suppose the graph S1∩S2S_{1}\cap S_{2} has cc vertices and dd edges. Since RR is acyclic any subgraph is acyclic. By Corollary 3.2 of Chartrand, Lesniak and Behzad 1986 for every acyclic graph, ∣V(S)∣≥∣E(S)∣+1|V(S)|\geq|E(S)|+1. Now,

There are O(n2p−c)O(n^{2p-c}) terms in (18) which have cc vertices in common. Therefore by (19) the total contribution of all such terms to Var⁡(U1)\operatorname{Var}(U_{1}) is

if λn→∞\lambda_{n}\to\infty. On the other hand

Thus, n(U1,U2)\sqrt{n}(U_{1},U_{2}) are jointly asymptotically Gaussian; see, for instance, Serfling 1980.

Since if λn→∞\lambda_{n}\to\infty, T1,U1=oP(n−1/2)T_{1},U_{1}=o_{P}(n^{-{1/2}}), the result follows if λn→∞\lambda_{n}\to\infty. If λn=O(1)\lambda_{n}=O(1), we note that n(T1,U1)\sqrt{n}(T_{1},U_{1}) are sums of qq dependent random variables in the sense of Bulinski [see Doukhan 1994] and hence, given ξ\bm{\xi}, are jointly asymptotically Gaussian. It is not hard to see that the limiting conditional covariance matrix is independent of ξ\xi, as it was for T1T_{1} marginally. By Lemma 1 again (T1,U1)(T_{1},U_{1}) and (T2,U2)(T_{2},U_{2}) are asymptotically independent and (a) and (b) follow.

Since ρ=λnn\rho=\frac{\lambda_{n}}{n} we obtain

For fixed c≥1c\geq 1 this is maximized by d=c(c−1)2d=\frac{c(c-1)}{2} and n1−2/cn^{1-{2/c}} is maximized for c≤pc\leq p by c=pc=p.

[Proof of Theorem 2] Since TT corresponds to the canonical hh,

Continuing we see that the (K−1)(2K−1)(K-1)(2K-1) moments {τkl ⁣:  2≤k≤K,1≤l≤2K−1}\{\tau_{kl}\colon\;2\leq k\leq K,1\leq l\leq 2K-1\} yield

for j=1,…,Kj=1,\ldots,K where v(0)≡πv^{(0)}\equiv\pi.

Given π,v(1),…,v(K)\pi,v^{(1)},\ldots,v^{(K)} linearly independent, we can compute FF since by (21), we can write

where V(1)=(v(0),…,v(K−1))TV^{(1)}=(v^{(0)},\ldots,v^{(K-1)})^{T} and V(2)=(v(1),…,v(K))TV^{(2)}=(v^{(1)},\ldots,v^{(K)})^{T} and hence

Consistency and n\sqrt{n}-consistency follow from Theorem 1 and the delta method. {proof}[Proof of Proposition 2] Note that

by the arithmetic/geometric mean and Minkowski inequalities. By Hölder’s inequality (23) is bounded by

is computable since we know Tw1(⋅)T_{w}1(\cdot) and the eigenfunction ϕ1\phi_{1} and eigenvalue λ1\lambda_{1}. More generally, Twkg1(2)T_{w}^{k}g_{1}^{(2)}, ∣gk−1(2)∣|g_{k-1}^{(2)}| can be similarly determined. Then, by the same argument as before, using 1 not orthogonal to ϕ2\phi_{2}, we obtain gk(1)→L2λ2ϕ2g_{k}^{(1)}\rightarrow_{L_{2}}\lambda_{2}\phi_{2} and gk(1)/∣gk(1)∣→L2ϕ2g_{k}^{(1)}/|g_{k}^{(1)}|\rightarrow_{L_{2}}\phi_{2}. Now form g0(3)≡1−λ1(1,ϕ1)ϕ1−λ2(1,ϕ2)ϕ2g_{0}^{(3)}\equiv 1-\lambda_{1}(1,\phi_{1})\phi_{1}-\lambda_{2}(1,\phi_{2})\phi_{2} and proceed as before, and continue to determine λk,ϕk\lambda_{k},\phi_{k} for all kk. This and (15) complete the proof. {proof}[Proof of Theorem 5] Note first that (16) implies that the M2M_{2} distance between F^m\hat{F}_{m} and the empirical distribution of {θm(ξi)}\{\bm{\theta}_{m}(\xi_{i})\} tends to 0. The first conclusion of the theorem now follows by the Glivenko–Cantelli theorem and the Law of Large Numbers.

where wE(R)=∏(a,b)∈E(R)w(ξa,ξb)w_{E(R)}=\prod_{(a,b)\in E(R)}w(\xi_{a},\xi_{b}). Further, (Appendix: Additional lemmas and proofs) is a UU-statistic of order mm under ∣w2m∣<∞|w_{2m}|<\infty and

Note that R={(i,i1),(i1,i2),…,(im−1,j)}R=\{(i,i_{1}),(i_{1},i_{2}),\ldots,(i_{m-1},j)\} is acyclic if all vertices are distinct. As in the proof of Theorem 1, all nonzero covariance terms in (Appendix: Additional lemmas and proofs) are of order ρ2m−dn2m−c\rho^{2m-d}n^{2m-c} where c≥dc\geq d since the intersection graphs all have ii in common but are otherwise acyclic. The largest order term corresponds to c=d=mc=d=m, so that

where CC depends on ∣w2m∣|w_{2m}| only. Thus (25) holds if λn→∞\lambda_{n}\rightarrow\infty.

Acknowledgment

Thanks to Allan Sly for a helpful discussion.

References