A Tensor Approach to Learning Mixed Membership Community Models

Anima Anandkumar, Rong Ge, Daniel Hsu, Sham M. Kakade

Community detection, spectral methods, tensor methods, moment-based estimation, mixed membership models.

Introduction

Studying communities forms an integral part of social network analysis. A community generally refers to a group of individuals with shared interests (e.g. music, sports), or relationships (e.g. friends, co-workers). Community formation in social networks has been studied by many sociologists, e.g. (Moreno, 1934; Lazarsfeld et al., 1954; McPherson et al., 2001; Currarini et al., 2009), starting with the seminal work of Moreno (1934). They posit various factors such as homophilyThe term homophily refers to the tendency that individuals belonging to the same community tend to connect more than individuals in different communities. among the individuals to be responsible for community formation. Various probabilistic and non-probabilistic network models attempt to explain community formation. In addition, they also attempt to quantify interactions and the extent of overlap between different communities, relative sizes among the communities, and various other network properties. Studying such community models are also of interest in other domains, e.g. in biological networks.

While there exists a vast literature on community models, learning these models is typically challenging, and various heuristics such as Markov Chain Monte Carlo (MCMC) or variational expectation maximization (EM) are employed in practice. Such heuristics tend to scale poorly for large networks. On the other hand, community models with guaranteed learning methods tend to be restrictive. A popular class of probabilistic models, termed as stochastic blockmodels, have been widely studied and enjoy strong theoretical learning guarantees, e.g. (White et al., 1976; Holland et al., 1983; Fienberg et al., 1985; Wang and Wong, 1987; Snijders and Nowicki, 1997; McSherry, 2001). On the other hand, they posit that an individual belongs to a single community, which does not hold in most real settings (Palla et al., 2005).

In this paper, we consider a class of mixed membership community models, originally introduced by Airoldi et al. (2008), and recently employed by Xing et al. (2010) and Gopalan et al. (2012). The model has been shown to be effective in many real-world settings, but so far, no learning approach exists with provable guarantees. In this paper, we provide a novel learning approach for learning these mixed membership models and prove that these methods succeed under a set of sufficient conditions.

The mixed membership community model of Airoldi et al. (2008) has a number of attractive properties. It retains many of the convenient properties of the stochastic block model. For instance, conditional independence of the edges is assumed, given the community memberships of the nodes in the network. At the same time, it allows for communities to overlap, and for every individual to be fractionally involved in different communities. It includes the stochastic block model as a special case (corresponding to zero overlap among the different communities). This enables us to compare our learning guarantees with existing works for stochastic block models and also study how the extent of overlap among different communities affects the learning performance.

We now summarize the main contributions of this paper. We propose a novel approach for learning mixed membership community models of Airoldi et al. (2008). Our approach is a method of moments estimator and incorporates tensor spectral decomposition. We provide guarantees for our approach under a set of sufficient conditions. Finally, we compare our results to existing ones for the special case of the stochastic block model, where nodes belong to a single community.

We present a tensor-based approach for learning the mixed membership stochastic block model (MMSB) proposed by Airoldi et al. (2008). In the MMSB model, the community membership vectors are drawn from the Dirichlet distribution, denoted by Dir⁡(α)\operatorname{Dir}(\alpha), where α\alpha is known the Dirichlet concentration vector. Employing the Dirichlet distribution results in sparse community memberships in certain regimes of α\alpha, which is realistic. The extent of overlap between different communities under the MMSB model is controlled (roughly) via a single scalar parameter, α0:=∑iαi\alpha_{0}:=\sum_{i}\alpha_{i}, where α:=[αi]\alpha:=[\alpha_{i}] is the Dirichlet concentration vector. When α0→0\alpha_{0}\to 0, the mixed membership model degenerates to a stochastic block model and we have non-overlapping communities.

We propose a unified tensor-based learning method for the MMSB model and establish recovery guarantees under a set of sufficient conditions. These conditions are in in terms of the network size nn, the number of communities kk, extent of community overlaps (through α0\alpha_{0}), and the average edge connectivity across various communities. Below, we present an overview of our guarantees for the special case of equal sized communities (each of size n/kn/k) and homogeneous community connectivity: let pp be the probability for any intra-community edge to occur, and qq be the probability for any inter-community edge. Let Π\Pi be the community membership matrix, where Π(i)\Pi^{(i)} denotes the i\mboxthi^{{\mbox{\tiny th}}} row, which is the vector of membership weights of the nodes for the i\mboxthi^{{\mbox{\tiny th}}} community. Let PP be the community connectivity matrix such that P(i,i)=pP(i,i)=p and P(i,j)=qP(i,j)=q for i≠ji\neq j.

our estimated community membership matrix Π^\hat{\Pi} and the edge connectivity matrix P^\hat{P} satisfy with high probability (w.h.p.)

Further, our support estimates S^\hat{S} satisfy w.h.p.,

where Π\Pi is the true community membership matrix and the threshold is chosen as ξ=Ω(ϵP)\xi=\Omega(\epsilon_{P}).

The complete details are in Section 4. We first provide some intuitions behind the sufficient conditions in (1). We require the network size nn to be large enough compared to the number of communities kk, and for the separation p−qp-q to be large enough, so that the learning method can distinguish the different communities. This is natural since a zero separation (p=q)(p=q) implies that the communities are indistinguishable. Moreover, we see that the scaling requirements become more stringent as α0\alpha_{0} increases. This is intuitive since it is harder to learn communities with more overlap, and we quantify this scaling. For the Dirichlet distribution, it can be shown that the number of “significant” entries is roughly O(α0)O(\alpha_{0}) with high probability, and in many settings of practical interest, nodes may have significant memberships in only a few communities, and thus, α0\alpha_{0} is a constant (or growing slowly) in many instances.

In addition, we quantify the error bounds for estimating various parameters of the mixed membership model in (2) and (3). These errors decay under the sufficient conditions in (1). Lastly, we establish zero-error guarantees for support recovery in (4): our learning method correctly identifies (w.h.p) all the significant memberships of a node and also identifies the set of communities where a node does not have a strong presence, and we quantify the threshold ξ\xi in Theorem 1.1. Further, we present the results for a general (non-homogeneous) MMSB model in Section 4.2.

A byproduct of our analysis yields novel identifiability results for the MMSB model based on low order graph moments. We establish that the MMSB model is identifiable, given access to third order moments in the form of counts of 33-star subgraphs, i.e. a star subgraph consisting of three leaves, for each triplet of leaves, when the community connectivity matrix PP is full rank. Our learning approach involves decomposition of this third order tensor. Previous identifiability results required access to high order moments and were limited to the stochastic block model setting; see Section 1.3 for details.

Our results have implications for learning stochastic block models, which is a special case of the MMSB model with α0→0\alpha_{0}\to 0. In this case, the sufficient conditions in (1) reduce to

The scaling requirements in (5) match with the best known boundsThere are many methods which achieve the best known scaling for nn in (5), but have worse scaling for the separation p−qp-q. This includes variants of the spectral clustering method, e.g. Chaudhuri et al. (2012). See Chen et al. (2012) for a detailed comparison. (up to poly-log factors) for learning uniform stochastic block models and were previously achieved by Chen et al. (2012) via convex optimization involving semi-definite programming (SDP). In contrast, we propose an iterative non-convex approach involving tensor power iterations and linear algebraic techniques, and obtain similar guarantees. For a detailed comparison of learning guarantees under various methods for learning (homogeneous) stochastic block models, see Chen et al. (2012).

Thus, we establish learning guarantees explicitly in terms of the extent of overlap among the different communities for general MMSB models. Many real-world networks involve sparse community memberships and the total number of communities is typically much larger than the extent of membership of a single individual, e.g. hobbies/interests of a person, university/company networks that a person belongs to, the set of transcription factors regulating a gene, and so on. Thus, we see that in this regime of practical interest, where α0=Θ(1)\alpha_{0}=\Theta(1), the scaling requirements in (1) match those for the stochastic block model in (5) (up to polylog factors) without any degradation in learning performance. Thus, we establish that learning community models with sparse community memberships is akin to learning stochastic block models and we present a unified approach and analysis for learning these models.

To the best of our knowledge, this work is the first to establish polynomial time learning guarantees for probabilistic network models with overlapping communities and we provide a fast and an iterative learning approach through linear algebraic techniques and tensor power iterations. While the results of this paper are mostly limited to a theoretical analysis of the tensor method for learning overlapping communities, we note recent results which show that this method (with improvements and modifications) is very accurate in practice on real datasets from social networks, and is scalable to graphs with millions of nodes (Huang et al., 2013).

2 Overview of Techniques

We now describe the main techniques employed in our learning approach and in establishing the recovery guarantees.

We propose an efficient learning algorithm based on low order moments, viz., counts of small subgraphs. Specifically, we employ a third-order tensor which counts the number of 33-stars in the observed network. A 33-star is a star graph with three leaves (see figure 1) and we count the occurrences of such 33-stars across different partitions. We establish that (an adjusted) 33-star count tensor has a simple relationship with the model parameters, when the network is drawn from a mixed membership model. We propose a multi-linear transformation using edge-count matrices (also termed as the process of whitening), which reduces the problem of learning mixed membership models to the canonical polyadic (CP) decomposition of an orthogonal symmetric tensor, for which tractable decomposition exists, as described below. Note that the decomposition of a general tensor into its rank-one components is referred to as its CP decomposition (Kolda and Bader, 2009) and is in general NP-hard (Hillar and Lim, 2012). However, the decomposition is tractable in the special case of an orthogonal symmetric tensor considered here.

Our tensor decomposition method is based on the popular power iterations (e.g. see Anandkumar et al. (2012a)). It is a simple iterative method to compute the stable eigen-pairs of a tensor. In this paper, we propose various modifications to the basic power method to strengthen the recovery guarantees under perturbations. For instance, we introduce adaptive deflation techniques (which involves subtracting out the eigen-pairs previously estimated). Moreover, we initialize the tensor power method with (whitened) neighborhood vectors from the observed network, as opposed to random initialization. In the regime, where the community overlaps are small, this leads to an improved performance. Additionally, we incorporate thresholding as a post-processing operation, which again, leads to improved guarantees for sparse community memberships, i.e., when the overlap among different communities is small. We theoretically establish that all these modifications lead to improvement in performance guarantees and we discuss comparisons with the basic power method in Section 4.4.

We establish that our learning approach correctly recovers the model parameters and the community memberships of all nodes under exact moments. We then carry out a careful analysis of the empirical graph moments, computed using the network observations. We establish tensor concentration bounds and also control the perturbation of the various quantities used by our learning algorithm via matrix Bernstein’s inequality (Tropp, 2012, thm. 1.4) and other inequalities. We impose the scaling requirements in (1) for various concentration bounds to hold.

3 Related Work

There is extensive work on modeling communities and various algorithms and heuristics for discovering them. We mostly limit our focus to works with theoretical guarantees.

The method of moments approach dates back to Pearson (1894) and has been applied for learning various community models. Here, the moments correspond to counts of various subgraphs in the network. They typically consist of aggregate quantities, e.g., number of star subgraphs, triangles etc. in the network. For instance, Bickel et al. (2011) analyze the moments of a stochastic block model and establish that the subgraph counts of certain structures, termed as “wheels” (a family of trees), are sufficient for identifiability under some natural non-degeneracy conditions. In contrast, we establish that moments up to third order (corresponding to edge and 33-star counts) are sufficient for identifiability of the stochastic block model, and also more generally, for the mixed membership Dirichlet model. We employ subgraph count tensors, corresponding to the number of subgraphs (such as stars) over a set of labeled vertices, while the work of Bickel et al. (2011) considers only aggregate (i.e. scalar) counts. Considering tensor moments allows us to use simple subgraphs (edges and 33 stars) corresponding to low order moments, rather than more complicated graphs (e.g. wheels considered by Bickel et al. (2011)) with larger number of nodes, for learning the community model.

The method of moments is also relevant for the family of random graph models termed as exponential random graph models (Holland and Leinhardt, 1981; Frank and Strauss, 1986). Subgraph counts of fixed graphs such as stars and triangles serve as sufficient statistics for these models. However, parameter estimation given the subgraph counts is in general NP-hard, due to the normalization constant in the likelihood (the partition function) and the model suffers from degeneracy issues; see Rinaldo et al. (2009); Chatterjee and Diaconis (2011) for detailed discussion. In contrast, we establish in this paper that the mixed membership model is amenable to simple estimation methods through linear algebraic operations and tensor power iterations using subgraph counts of 33-stars.

Many algorithms provide learning guarantees for stochastic block models. For a detailed comparison of these methods, see the recent work by Chen et al. (2012). A popular method is based on spectral clustering (McSherry, 2001), where community memberships are inferred through projection onto the spectrum of the Laplacian matrix (or its variants). This method is fast and easy to implement (via singular value decomposition). There are many variants of this method, e.g. the work of Chaudhuri et al. (2012) employs normalized Laplacian matrix to handle degree heterogeneities. In contrast, the work of Chen et al. (2012) uses convex optimization techniques via semi-definite programming learning block models. For a detailed comparison of learning guarantees under various methods for learning stochastic block models, see Chen et al. (2012).

The classical approach to community detection tries to directly exploit the properties of the graph to define communities, without assuming a probabilistic model. Girvan and Newman (2002) use betweenness to remove edges until only communities are left. However, Bickel and Chen (2009) show that these algorithms are (asymptotically) biased and that using modularity scores can lead to the discovery of an incorrect community structure, even for large graphs. Jalali et al. (2011) define community structure as the structure that satisfies the maximum number of edge constraints (whether two individuals like/dislike each other). However, these models assume that every individual belongs to a single community.

Recently, some non-probabilistic approaches have been introduced with overlapping community models by Arora et al. (2012) and Balcan et al. (2012). The analysis of Arora et al. (2012) is mostly limited to dense graphs (i.e. Θ(n2)\Theta(n^{2}) edges for a nn node graph), while our analysis provides learning guarantees for much sparser graphs (as seen by the scaling requirements in (1)). Moreover, the running time of the method of Arora et al. (2012) is quasipolynomial time (i.e. O(nlog⁡n)O(n^{\log n})) for the general case, and is based on a combinatorial learning approach. In contrast, our learning approach is based on simple linear algebraic techniques and the running time is a low-order polynomial (roughly it is O(n2k)O(n^{2}k) for a nn node network with kk communities under a serial computation model and O(n+k3)O(n+k^{3}) under a parallel computation model). The work of Balcan et al. (2012) assumes endogenously formed communities, by constraining the fraction of edges within a community compared to the outside. They provide a polynomial time algorithm for finding all such “self-determined” communities and the running time is nO(log⁡1/α)/αn^{O(\log 1/\alpha)/\alpha}, where α\alpha is the fraction of edges within a self-determined community, and this bound is improved to linear time when α>1/2\alpha>1/2. On the other hand, the running time of our algorithm is mostly independent of the parameters of the assumed model, (and is roughly O(n2k)O(n^{2}k)). Moreover, both these works are limited to homophilic models, where there are more edges within each community, than between any two different communities. However, our learning approach is not limited to this setting and also does not assume homogeneity in edge connectivity across different communities (but instead it makes probabilistic assumptions on community formation). In addition, we provide improved guarantees for homophilic models by considering additional post-processing steps in our algorithm. Recently, Abraham et al. (2012) provide an algorithm for approximating the parameters of an Euclidean log-linear model in polynomial time. However, there setting is considerably different than the one in this paper.

Inhomogeneous random graphs have been analyzed in a variety of settings (e.g., Bollobás et al. (2007); Lovász (2009)) and are generalizations of the stochastic block model. Here, the probability of an edge between any two nodes is characterized by a general function (rather than by a k×kk\times k matrix as in the stochastic block model with kk blocks). Note that the mixed membership model considered in this work is a special instance of this general framework. These models arise as the limits of convergent (dense) graph sequences and for this reason, the functions are also termed as “graphons” or graph limits (Lovász, 2009). A deep result in this context is the regularity lemma and its variants. The weak regularity lemma proposed by Frieze and Kannan (1999), showed that any convergent dense graph can be approximated by a stochastic block model. Moreover, they propose an algorithm to learn such a block model based on the so-called d2d_{2} distance. The d2d_{2} distance between two nodes measures similarity with respect to their “two-hop” neighbors and the block model is obtained by thresholding the d2d_{2} distances. However, the method is limited to learning block models and not overlapping communities.

The community models considered in this paper are closely related to the probabilistic topic models (Blei, 2012), employed for text modeling and document categorization. Topic models posit the occurrence of words in a corpus of documents, through the presence of multiple latent topics in each document. Latent Dirichlet allocation (LDA) is perhaps the most popular topic model, where the topic mixtures are assumed to be drawn from the Dirichlet distribution. In each document, a topic mixture is drawn from the Dirichlet distribution, and the words are drawn in a conditional independent manner, given the topic mixture. The mixed membership community model considered in this paper can be interpreted as a generalization of the LDA model, where a node in the community model can function both as a document and a word. For instance, in the directed community model, when the outgoing links of a node are considered, the node functions as a document, and its outgoing neighbors can be interpreted as the words occurring in that document. Similarly, when the incoming links of a node in the network are considered, the node can be interpreted as a word, and its incoming links, as documents containing that particular word. In particular, we establish that certain graph moments under the mixed membership model have similar structure as the observed word moments under the LDA model. This allows us to leverage the recent developments from Anandkumar et. al. (Anandkumar et al., 2012c, a, b) for learning topic models, based on the method of moments. These works establish guaranteed learning using second- and third-order observed moments through linear algebraic and tensor-based techniques. In particular, in this paper, we exploit the tensor power iteration method of Anandkumar et al. (2012b), and propose additional improvements to obtain stronger recovery guarantees. Moreover, the sample analysis is quite different (and more challenging) in the community setting, compared to topic models analyzed in Anandkumar et al. (2012c, a, b). We clearly spell out the similarities and differences between the community model and other latent variable models in Section 4.4.

The work of Feldman et al. (2012) provides lower bounds on the complexity of statistical algorithms, and shows that for cliques of size O(n1/2−δ)O(n^{1/2-\delta}), for any constant δ>0\delta>0, at least nΩ(log⁡log⁡n)n^{\Omega(\log\log n)} queries are needed to find the cliques. There are works relating the hardness of finding hidden cliques and the use of higher order moment tensors for this purpose. Frieze and Kannan (2008) relate the problem of finding a hidden clique to finding the top eigenvector of the third order tensor, corresponding to the maximum spectral norm. Brubaker and Vempala (2009) extend the result to arbitrary r\mboxthr^{{\mbox{\tiny th}}}-order tensors and the cliques have to be size Ω(n1/r)\Omega(n^{1/r}) to enable recovery from r\mboxthr^{{\mbox{\tiny th}}}-order moment tensors in a nn node network. However, this problem (finding the top eigenvector of a tensor) is known to be NP-hard in general (Hillar and Lim, 2012). Thus, tensors are useful for finding smaller hidden cliques in network (albeit by solving a computationally hard problem). In contrast, we consider tractable tensor decomposition through reduction to orthogonal tensors (under the scaling requirements of (1)), and our learning method is a fast and an iterative approach based on tensor power iterations and linear algebraic operations. Mossel et al. (2012) provide lower bounds on the separation p−qp-q, the edge connectivity between intra-community and inter-community, for identifiability of communities in stochastic block models in the sparse regime (when p,q∼n−1p,q\sim n^{-1}), when the number of communities is a constant k=O(1)k=O(1). Our method achieves the lower bounds on separation of edge connectivity up to poly-log factors.

Another class of approaches for learning MMSB models are based on optimizing the observed likelihood. Traditional approaches such as Gibbs sampling or expectation maximization (EM) can be too expensive apply in practice for MMSB models. Variational approaches which optimize the so-called evidence lower bound (Hoffman et al., 2012; Gopalan et al., 2012), which is a lower bound on the marginal likelihood of the observed data (typically by applying a mean-field approximation), are efficient for practical implementation. Stochastic versions of the variational approach provide even further gains in efficiency and are state-of-art practical learning methods for MMSB models (Gopalan et al., 2012). However, these methods lack theoretical guarantees; since they optimize a bound on the likelihood, they are not guaranteed to recover the underlying communities consistently. A recent work (Celisse et al., 2012) establishes consistency of maximum likelihood and variational estimators for stochastic block models, which are special cases of the MMSB model. However, it is not known if the results extend to general MMSB models. Moreover, the framework of Celisse et al. (2012) assumes a fixed number of communities and growing network size, and provide only asymptotic consistency guarantees. Thus, they do not allow for high-dimensional settings, where the parameters of the learning problem also grow as the observed dimensionality grows. In contrast, in this paper, we allow for the number of communities to grow, and provide precise constraints on the scaling bounds for consistent estimation under finite samples. It is an open problem to obtain such bounds for maximum likelihood and variational estimators. On the practical side, a recent work deploying the tensor approach proposed in this paper by Huang et al. (2013) shows that the tensor approach is more than an order of magnitude faster in recovering the communities than the variational approach, is scalable to networks with millions of nodes, and also has better accuracy in recovering the communities.

Community Models and Graph Moments

In this section, we describe the mixed membership community model based on Dirichlet priors for the community draws by the individuals. We first introduce the special case of the popular stochastic block model, where each node belongs to a single community.

In this model, each individual is independently assigned to a single community, chosen at random: each node ii chooses community jj independently with probability α^j\widehat{\alpha}_{j}, for i∈[n],j∈[k]i\in[n],j\in[k], and we assign πi=ej\pi_{i}=e_{j} in this case, where ej∈{0,1}ke_{j}\in\{0,1\}^{k} is the j\mboxthj^{{\mbox{\tiny th}}} coordinate basis vector. Given the community assignments Π\Pi, every directedWe limit our discussion to directed networks in this paper, but note that the results also hold for undirected community models, where PP is a symmetric matrix, and an edge (u,v)(u,v) is formed with probability πu⊤Pπv=πv⊤Pπu\pi_{u}^{\top}P\pi_{v}=\pi_{v}^{\top}P\pi_{u}. edge in the network is independently drawn: if node uu is in community ii and node vv is in community jj (and u≠vu\neq v), then the probability of having the edge (u,v)(u,v) in the network is Pi,jP_{i,j}. Here, P∈k×kP\in^{k\times k} and we refer to it as the community connectivity matrix. This implies that given the community membership vectors πu\pi_{u} and πv\pi_{v}, the probability of an edge from uu to vv is πu⊤Pπv\pi_{u}^{\top}P\pi_{v} (since when πu=ei\pi_{u}=e_{i} and πv=ej\pi_{v}=e_{j}, we have πu⊤Pπv=Pi,j\pi_{u}^{\top}P\pi_{v}=P_{i,j}.). The stochastic model has been extensively studied and can be learnt efficiently through various methods, e.g. spectral clustering (McSherry, 2001), convex optimization (Chen et al., 2012). and so on. Many of these methods rely on conditional independence assumptions of the edges in the block model for guaranteed learning.

We now consider the extension of the stochastic block model which allows for an individual to belong to multiple communities and yet preserves some of the convenient independence assumptions of the block model. In this model, the community membership vector πu\pi_{u} at node uu is a probability vector, i.e., ∑i∈[k]πu(i)=1\sum_{i\in[k]}\pi_{u}(i)=1, for all u∈[n]u\in[n]. Given the community membership vectors, the generation of the edges is identical to the block model: given vectors πu\pi_{u} and πv\pi_{v}, the probability of an edge from uu to vv is πu⊤Pπv\pi_{u}^{\top}P\pi_{v}, and the edges are independently drawn. This formulation allows for the nodes to be in multiple communities, and at the same time, preserves the conditional independence of the edges, given the community memberships of the nodes.

where Γ(⋅)\Gamma(\cdot) is the Gamma function and the ratio of the Gamma function serves as the normalization constant.

The Dirichlet distribution is widely employed for specifying priors in Bayesian statistics, e.g. latent Dirichlet allocation (Blei et al., 2003). The Dirichlet distribution is the conjugate prior of the multinomial distribution which makes it attractive for Bayesian inference.

The stochastic block model is a limiting case of the mixed membership model when the Dirichlet parameter is α=α0⋅α^\alpha=\alpha_{0}\cdot\widehat{\alpha}, where the probability vector α^\widehat{\alpha} is held fixed and α0→0\alpha_{0}\to 0. In the other extreme when α0→∞\alpha_{0}\to\infty, the Dirichlet distribution becomes peaked around a single point, for instance, if αi≡c\alpha_{i}\equiv c and c→∞c\to\infty, the Dirichlet distribution is peaked at k−1⋅1⃗k^{-1}\cdot\vec{1}, where 1⃗\vec{1} is the all-ones vector. Thus, the parameter α0\alpha_{0} serves as a measure of the average sparsity of the Dirichlet draws or equivalently, of how concentrated the Dirichlet measure is along the different coordinates. This in effect, controls the extent of overlap among different communities.

When the Dirichlet parameter vector satisfiesThe assumption that the Dirichlet distribution be in the sparse regime is not strictly needed. Our results can be extended to general Dirichlet distributions, but with worse scaling requirements on the network size nn for guaranteed learning. αi<1\alpha_{i}<1, for all i∈[k]i\in[k], the Dirichlet distribution Dir⁡(α)\operatorname{Dir}(\alpha) generates “sparse” vectors with high probabilityRoughly the number of entries in π\pi exceeding a threshold τ\tau is at most O(α0log⁡(1/τ))O(\alpha_{0}\log(1/\tau)) with high probability, when π∼Dir⁡(α)\pi\sim\operatorname{Dir}(\alpha).; see Telgarsky (2012) (and in the extreme case of the block model where α0→0\alpha_{0}\to 0, it generates 11-sparse vectors). Many real-world settings involve sparse community membership and the total number of communities is typically much larger than the extent of membership of a single individual, e.g. hobbies/interests of a person, university/company networks that a person belongs to, the set of transcription factors regulating a gene, and so on. Our learning guarantees are limited to the sparse regime of the Dirichlet model.

2 Graph Moments Under Mixed Membership Models

Our approach for learning a mixed membership community model relies on the form of the graph momentsWe interchangeably use the term first order moments for edge counts and third order moments for 33-star counts. under the mixed membership model. We now describe the specific graph moments used by our learning algorithm (based on 33-star and edge counts) and provide explicit forms for the moments, assuming draws from a mixed membership model.

Recall that GG denotes the adjacency matrix and that GX,AG_{X,A} denotes the submatrix corresponding to edges going from XX to AA. Recall that P∈k×kP\in^{k\times k} denotes the community connectivity matrix. Define

Our learning algorithm uses moments up to the third-order, represented as a tensor. A third-order tensor TT is a three-dimensional array whose (p,q,r)(p,q,r)-th entry denoted by Tp,q,rT_{p,q,r}. The symbol ⊗\otimes denotes the standard Kronecker product: if uu, vv, ww are three vectors, then

A tensor of the form u⊗v⊗wu\otimes v\otimes w is referred to as a rank-one tensor. The decomposition of a general tensor into a sum of its rank-one components is referred to as canonical polyadic (CP) decomposition Kolda and Bader (2009). We will subsequently see that the graph moments can be expressed as a tensor and that the CP decomposition of the graph-moment tensor yields the model parameters and the community vectors under the mixed membership community model.

2.1 Graph moments under Stochastic Block Model

We first analyze the graph moments in the special case of a stochastic block model (i.e., α0=∑iαi→0\alpha_{0}=\sum_{i}\alpha_{i}\to 0 in the Dirichlet prior in (6)) and then extend it to general mixed membership model. We provide explicit expressions for the graph moments corresponding to edge counts and 33-star counts. We later establish in Section 3 that these moments are sufficient to learn the community memberships of the nodes and the model parameters of the block model.

The primary quantity of interest is a third-order tensor which counts the number of 33-stars. A 33-star is a star graph with three leaves {a,b,c}\{a,b,c\} and we refer to the internal node xx of the star as its “head”, and denote the structure by x→{a,b,c}x\rightarrow\{a,b,c\} (see figure 1). We partition the network into fourFor sample complexity analysis, we require dividing the graph into more than four partitions to deal with statistical dependency issues, and we outline it in Section 3. parts and consider 33-stars such that each node in the 33-star belongs to a different partition. This is necessary to obtain a simple form of the moments, based on the conditional independence assumptions of the block model, see Proposition 2.1. Specifically, considerTo establish our theoretical guarantees, we assume that the partitions A,B,C,XA,B,C,X are randomly chosen and are of size Θ(n)\Theta(n). a partition A,B,C,XA,B,C,X of the network. We count the number of 33-stars from XX to A,B,CA,B,C and our quantity of interest is

which is the normalized count of the number of 33-stars with leaves a,b,ca,b,c such that its “head” is in set XX.

We now relate the tensor T⁡X→{A,B,C}\operatorname{T}_{X\rightarrow\{A,B,C\}} to the parameters of the stochastic block model, viz., the community connectivity matrix PP and the community probability vector α^\widehat{\alpha}, where α^i\widehat{\alpha}_{i} is the probability of choosing community ii.

Given partitions A,B,C,XA,B,C,X, and F:=Π⊤P⊤F:=\Pi^{\top}P^{\top}, where PP is the community connectivity matrix and Π\Pi is the matrix of community membership vectors, we have

where α^i\widehat{\alpha}_{i} is the probability for a node to select community ii.

Note the form of the 33-star count tensor T⁡\operatorname{T} in (12). It provides a CP decomposition of T⁡\operatorname{T} since each term in the summation, viz., α^i(FA)i⊗(FB)i⊗(FC)i\widehat{\alpha}_{i}(F_{A})_{i}\otimes(F_{B})_{i}\otimes(F_{C})_{i}, is a rank one tensor. Thus, we can learn the matrices FA,FB,FCF_{A},F_{B},F_{C} and the vector α^\widehat{\alpha} through CP decomposition of tensor T⁡\operatorname{T}. Once these parameters are learnt, learning the communities is straight-forward under exact moments: by exploiting (11), we find ΠX\Pi_{X} as

Similarly, we can consider another tensor consisting of 33-stars from AA to X,B,CX,B,C, and obtain matrices FX,FBF_{X},F_{B} and FCF_{C} through a CP decomposition, and so on. Once we obtain matrices FF and Π\Pi for the entire set of nodes in this manner, we can obtain the community connectivity matrix PP, since F:=Π⊤P⊤F:=\Pi^{\top}P^{\top}. Thus, in principle, we are able to learn all the model parameters (α^\widehat{\alpha} and PP) and the community membership matrix Π\Pi under the stochastic block model, given exact moments. This establishes identifiability of the model given moments up to third order and forms a high-level approach for learning the communities. When only samples are available, we establish that the empirical versions are close to the exact moments considered above, and we modify the basic learning approach to obtain robust guarantees. See Section 3 for details.

The main property exploited in proving the tensor form in (12) is the conditional-independence assumption under the stochastic block model: the realization of the edges in each 33-star, say in x→{a,b,c}x\rightarrow\{a,b,c\}, is conditionally independent given the community membership vector πx\pi_{x}, when x≠a≠b≠cx\neq a\neq b\neq c. This is because the community membership vectors Π\Pi are assumed to be drawn independently at the different nodes and the edges are drawn independently given the community vectors. Considering 33-stars from XX to A,B,CA,B,C where X,A,B,CX,A,B,C form a partition ensures that this conditional independence is satisfied for all the 33-stars in tensor T⁡\operatorname{T}.

Proof: Recall that the probability of an edge from uu to vv given πu,πv\pi_{u},\pi_{v} is

The equation follows from the conditional-independence assumption of the edges (assuming a≠b≠ca\neq b\neq c). Now taking expectation over the nodes in XX, we have

where the last step follows from the fact that π=ej\pi=e_{j} with probability α^j\widehat{\alpha}_{j} and the result holds when x≠a,b,cx\neq a,b,c. Recall that (Fa)j(F_{a})_{j} denotes the j\mboxthj^{{\mbox{\tiny th}}} column of FaF_{a} (since Faej=(Fa)jF_{a}e_{j}=(F_{a})_{j}). Collecting all the elements of the tensor, we obtain the desired result. □\Box

2.2 Graph Moments under Mixed Membership Dirichlet Model

We now analyze the graph moments for the general mixed membership Dirichlet model. Instead of the raw moments (i.e. edge and 33-star counts), we consider modified moments to obtain similar expressions as in the case of the stochastic block model.

We now define a modified adjacency matrixTo compute the modified moments Gα0G^{\alpha_{0}}, and T⁡α0\operatorname{T}^{\alpha_{0}}, we need to know the value of the scalar α0:=∑iαi\alpha_{0}:=\sum_{i}\alpha_{i}, which is the concentration parameter of the Dirichlet distribution and is a measure of the extent of overlap between the communities. We assume its knowledge here. GX,Aα0G_{X,A}^{\alpha_{0}} as

In the special case of the stochastic block model (α0→0)(\alpha_{0}\to 0), GX,Aα0=GX,AG_{X,A}^{\alpha_{0}}=G_{X,A} is the submatrix of the adjacency matrix GG. Similarly, we define modified third-order statistics,

and it reduces to (a scaled version of) the 33-star count T⁡X→{A,B,C}\operatorname{T}_{X\rightarrow\{A,B,C\}} defined in (9) for the stochastic block model (α0→0)(\alpha_{0}\to 0). The modified adjacency matrix and the 33-star count tensor can be viewed as a form of “centering” of the raw moments which simplifies the expressions for the moments. The following relationships hold between the modified graph moments GX,Aα0G^{\alpha_{0}}_{X,A}, T⁡α0\operatorname{T}^{\alpha_{0}} and the model parameters PP and α^\widehat{\alpha} of the mixed membership model.

Given partitions A,B,C,XA,B,C,X and GX,Aα0G^{\alpha_{0}}_{X,A} and T⁡α0\operatorname{T}^{\alpha_{0}}, as in (14) and (15), normalized Dirichlet concentration vector α^\widehat{\alpha}, and F:=Π⊤P⊤F:=\Pi^{\top}P^{\top}, where PP is the community connectivity matrix and Π\Pi is the matrix of community memberships, we have

where (FA)i(F_{A})_{i} corresponds to i\mboxthi^{{\mbox{\tiny th}}} column of FAF_{A} and ΨX\Psi_{X} relates to the community membership matrix ΠX\Pi_{X} as

Recall that α0\alpha_{0} quantifies the extent of overlap among the communities. The computation of the modified moment Tα0T^{\alpha_{0}} requires the knowledge of α0\alpha_{0}, which is assumed to be known. Since this is a scalar quantity, in practice, we can easily tune this parameter via cross validation.

On lines of the proof of Proposition 2.1 for the block model, the expectation in (17) involves multi-linear map of the expectation of the tensor products π⊗π⊗π\pi\otimes\pi\otimes\pi among other terms. Collecting these terms, we have that

is a diagonal tensor, in the sense that its (p,p,p)(p,p,p)-th entry is α^p\widehat{\alpha}_{p}, and its (p,q,r)(p,q,r)-th entry is 0 when p,q,rp,q,r are not all equal. With this, we have (17). □\Box

Note the nearly identical forms of the graph moments for the stochastic block model in (11), (12) and for the general mixed membership model in (16), (17). In other words, the modified moments GX,Aα0G^{\alpha_{0}}_{X,A} and T⁡α0\operatorname{T}^{\alpha_{0}} have similar relationships to underlying parameters as the raw moments in the case of the stochastic block model. This enables us to use a unified learning approach for the two models, outlined in the next section.

Algorithm for Learning Mixed Membership Models

The simple form of the graph moments derived in the previous section is now utilized to recover the community vectors Π\Pi and model parameters P,α^P,\widehat{\alpha} of the mixed membership model. The method is based on the so-called tensor power method, used to obtain a tensor decomposition. We first outline the basic tensor decomposition method below and then demonstrate how the method can be adapted to learning using the graph moments at hand. We first analyze the simpler case when exact moments are available in Section 3.2 and then extend the method to handle empirical moments computed from the network observations in Section 3.3.

In this section, we review the basic method for tensor decomposition based on power iterations for a special class of tensors, viz., symmetric orthogonal tensors. Subsequently, in Section 3.2 and 3.3, we modify this method to learn the mixed membership model from graph moments, described in the previous section. For details on the tensor power method, refer to Anandkumar et al. (2012a); Kolda and Mayo (2011).

Recall that a third-order tensor TT is a three-dimensional array and we use Tp,q,rT_{p,q,r} to denote the (p,q,r)(p,q,r)-th entry of the tensor TT. The standard symbol ⊗\otimes is used to denote the Kronecker product, and (u⊗v⊗w)(u\otimes v\otimes w) is a rank one tensor. The decomposition of a tensor into its rank one components is called the CP decomposition.

The term multilinear map arises from the fact that the above map is linear in each of the coordinates, e.g. if we replace V1V_{1} by aV1+bW1aV_{1}+bW_{1} in the above equation, where W1W_{1} is a matrix of appropriate dimensions, and a,ba,b are any scalars, the output is a linear combination of the outputs under V1V_{1} and W1W_{1} respectively. We will use the above notion of multi-linear transforms to describe various tensor operations. For instance, T(I,I,v)T(I,I,v) yields a matrix, T(I,v,v)T(I,v,v), a vector, and T(v,v,v)T(v,v,v), a scalar.

where rr denotes the tensor CP rank and we use the notation vi⊗3:=vi⊗vi⊗viv_{i}^{\otimes 3}:=v_{i}\otimes v_{i}\otimes v_{i}. It is convenient to first analyze methods for decomposition of symmetric tensors and we then extend them to the general case of asymmetric tensors.

For symmetric tensors TT possessing an orthogonal decomposition of the form in (19), each pair (λi,vi)(\lambda_{i},v_{i}), for i∈[r]i\in[r], can be interpreted as an eigen-pair for the tensor TT, since

due to the fact that <vi,vj>=δi,j\left<v_{i},v_{j}\right>=\delta_{i,j}. Thus, the vectors {vi}i∈[r]\{v_{i}\}_{i\in[r]} can be interpreted as fixed points of the map

where ∥⋅∥\|\cdot\| denotes the spectral norm (and ∥T(I,v,v)∥\|T(I,v,v)\| is a vector norm), and is used to normalize the vector vv in (20).

A straightforward approach to computing the orthogonal decomposition of a symmetric tensor is to iterate according to the fixed-point map in (20) with an arbitrary initialization vector. This is referred to as the tensor power iteration method. Additionally, it is known that the vectors {vi}i∈[r]\{v_{i}\}_{i\in[r]} are the only stable fixed points of the map in (20). In other words, the set of initialization vectors which converge to vectors other than {vi}i∈[r]\{v_{i}\}_{i\in[r]} are of measure zero. This ensures that we obtain the correct set of vectors through power iterations and that no spurious answers are obtained. See (Anandkumar et al., 2012b, Thm. 4.1) for details. Moreover, after an approximately fixed point is obtained (after many power iterations), the estimated eigen-pair can be subtracted out (i.e., deflated) and subsequent vectors can be similarly obtained through power iterations. Thus, we can obtain all the stable eigen-pairs {λi,vi}i∈[r]\{\lambda_{i},v_{i}\}_{i\in[r]} which are the components of the orthogonal tensor decomposition. The method needs to be suitably modified when the tensor TT is perturbed (e.g. as in the case when empirical moments are used) and we discuss it in Section 3.3.

2 Learning Mixed Membership Models Under Exact Moments

We first describe the learning approach when exact moments are available. In Section 3.3, we suitably modify the approach to handle perturbations, which are introduced when only empirical moments are available.

We now employ the tensor power method described above to obtain a CP decomposition of the graph moment tensor T⁡α0\operatorname{T}^{\alpha_{0}} in (15). We first describe a “symmetrization” procedure to convert the graph moment tensor T⁡α0\operatorname{T}^{\alpha_{0}} to a symmetric orthogonal tensor through a multi-linear transformation of T⁡α0\operatorname{T}^{\alpha_{0}}. We then employ the power method to obtain a symmetric orthogonal decomposition. Finally, the original CP decomposition is obtained by reversing the multi-linear transform of the symmetrization procedure. This yields a guaranteed method for obtaining the decomposition of graph moment tensor T⁡α0\operatorname{T}^{\alpha_{0}} under exact moments. We note that this symmetrization approach has been earlier employed in other contexts, e.g. for learning hidden Markov models (Anandkumar et al., 2012b, Sec. 3.3).

Recall from Proposition 2.2 that the modified 33-star count tensor T⁡α0\operatorname{T}^{\alpha_{0}} has a CP decomposition as

We now describe a symmetrization procedure to convert T⁡α0\operatorname{T}^{\alpha_{0}} to a symmetric orthogonal tensor through a multi-linear transformation using the modified adjacency matrix Gα0G^{\alpha_{0}}, defined in (14). Consider the singular value decomposition (SVD) of the modified adjacency matrix Gα0G^{\alpha_{0}} under exact moments:

Define WA:=UADA−1,W_{A}:=U_{A}D_{A}^{-1}, and similarly define WBW_{B} and WCW_{C} using the corresponding matrices GX,Bα0G_{X,B}^{\alpha_{0}} and GX,Cα0G_{X,C}^{\alpha_{0}} respectively. Now define

Proof: Recall that the modified adjacency matrix Gα0G^{\alpha_{0}} satisfies

From the definition of ΨX\Psi_{X} above, we see that it has rank kk when ΠX\Pi_{X} has rank kk. Using the Sylvester’s rank inequality, we have that the rank of FADiag⁡(α^1/2)ΨXF_{A}\operatorname{Diag}(\widehat{\alpha}^{1/2})\Psi_{X} is at least 2k−k=k2k-k=k. This implies that the whitening matrix WAW_{A} also has rank kk. Notice that

or in other words, ∣X∣−1MM⊤=I|X|^{-1}MM^{\top}=I, where M:=WA⊤FADiag⁡(α^1/2)ΨXM:=W_{A}^{\top}F_{A}\operatorname{Diag}(\widehat{\alpha}^{1/2})\Psi_{X}. We now have that

With the above result in place, we are now ready to describe the high-level approach for learning the mixed membership model under exact moments. First, symmetrize the graph-moment tensor T⁡α0\operatorname{T}^{\alpha_{0}} as described above and then apply the tensor power method described in the previous section. This enables us to obtain the vector of eigenvalues λ:=α^−1/2\lambda:=\widehat{\alpha}^{-1/2} and the matrix of eigenvectors Φ=WA⊤FADiag⁡(α^0.5)\Phi=W_{A}^{\top}F_{A}\operatorname{Diag}(\widehat{\alpha}^{0.5}) using tensor power iterations. We can then recover the community membership vectors of set AcA^{c} (i.e., nodes not in set AA) under exact moments as

3 Learning Algorithm Under Empirical Moments

In the previous section, we explored a tensor-based approach for learning mixed membership model under exact moments. However, in practice, we only have samples (i.e. the observed network), and the method needs to be robust to perturbations when empirical moments are employed.

In the previous section, we partitioned the nodes into four sets A,B,C,XA,B,C,X for learning under exact moments. However, we require more partitions under empirical moments to avoid statistical dependency issues and obtain stronger reconstruction guarantees. We now divide the network into five non-overlapping sets A,B,C,X,YA,B,C,X,Y. The set XX is employed to compute whitening matrices W^A\hat{W}_{A}, W^B\hat{W}_{B} and W^C\hat{W}_{C}, described in detail subsequently, the set YY is employed to compute the 33-star count tensor T⁡α0\operatorname{T}^{\alpha_{0}} and sets A,B,CA,B,C contain the leaves of the 33-stars under consideration. The roles of the sets can be interchanged to obtain the community membership vectors of all the sets.

The whitening procedure is along the same lines as described in the previous section, except that now empirical moments are used. Specifically, consider the kk-rank singular value decomposition (SVD) of the modified adjacency matrix Gα0G^{\alpha_{0}} defined in (14),

Define W^A:=UADA−1,\hat{W}_{A}:=U_{A}D_{A}^{-1}, and similarly define W^B\hat{W}_{B} and W^C\hat{W}_{C} using the corresponding matrices GX,Bα0G_{X,B}^{\alpha_{0}} and GX,Cα0G_{X,C}^{\alpha_{0}} respectively. Now define

and similarly define R^AC\hat{R}_{AC}. The whitened and symmetrized graph-moment tensor is now computed as

where T⁡α0\operatorname{T}^{\alpha_{0}} is given by (15) and the multi-linear transformation of a tensor is defined in (3.1).

3.2 Modifications to the tensor power method

Recall that under exact moments, the stable eigen-pairs of a symmetric orthogonal tensor can be computed in a straightforward manner through the basic power iteration method in (20), along with the deflation procedure. However, this is not sufficient to get good reconstruction guarantees under empirical moments. We now propose a robust tensor method, detailed in Procedure 2. The main modifications involve: (i) efficient initialization and (ii) adaptive deflation, which are detailed below. Employing these modifications allows us to tolerate a far greater perturbation of the third order moment tensor, than the basic tensor power procedure employed in Anandkumar et al. (2012b). See remarks following Theorem A.1 in Appendix A for the precise comparison.

Recall that the basic tensor power method incorporates generic initialization vectors and this procedure recovers all the stable eigenvectors correctly (except for initialization vectors over a set of measure zero). However, under empirical moments, we have a perturbed tensor, and here, it is advantageous to instead employ specific initialization vectors. For instance, to obtain one of the eigenvectors (Φ)i(\Phi)_{i}, it is advantageous to initialize with a vector in the neighborhood of (Φ)i(\Phi)_{i}. This not only reduces the number of power iterations required to converge (approximately), but more importantly, this makes the power method more robust to perturbations. See Theorem A.1 in Appendix A.1 for a detailed analysis quantifying the relationship between initialization vectors, tensor perturbation and the resulting guarantees for recovery of the tensor eigenvectors.

For a mixed membership model in the sparse regime, recall that the community membership vectors Π\Pi are sparse (with high probability). Under this regime of the model, we note that the whitened neighborhood vectors contain good initializers for the power iterations. Specifically, in Procedure 2, we initialize with the whitened neighborhood vectors W^A⊤Gi,A⊤\hat{W}_{A}^{\top}G_{i,A}^{\top}, for i∉Ai\notin A. The intuition behind this is as follows: for a suitable choice of parameters (such as the scaling of network size nn with respect to the number of communities kk), we expect neighborhood vectors Gi,A⊤G_{i,A}^{\top} to concentrate around their mean values, viz., , FAπiF_{A}\pi_{i}. Since πi\pi_{i} is sparse (w.h.p) for the model regime under consideration, this implies that there exist vectors W^A⊤FAπi\hat{W}_{A}^{\top}F_{A}\pi_{i}, for i∈Aci\in A^{c}, which concentrate (w.h.p) on only along a few eigen-directions of the whitened tensor, and hence, serve as an effective initializer.

Recall that in the basic power iteration procedure, we can obtain the eigen-pairs one after another through simple deflation: subtracting the estimates of the current eigen-pairs and running the power iterations again to obtain new eigenvectors. However, it turns out that we can establish better theoretical guarantees (in terms of greater robustness) when we adaptively deflate the tensor in each power iteration. In Procedure 2, among the estimated eigen-pairs, we only deflate those which “compete” with the current estimate of the power iteration. In other words, if the vector in the current iteration θt(τ)\theta_{t}^{(\tau)} has a significant projection along the direction of an estimated eigen-pair ϕj\phi_{j}, i.e.

for some threshold ξ\xi, then the eigen-pair is deflated; otherwise the eigenvector ϕj\phi_{j} is not deflated. This allows us to carefully control the error build-up for each estimated eigenpair in our analysis. Intuitively, if an eigenvector does not have a good correlation with the current estimate, then it does not interfere with the update of the current vector, while if the eigenvector has a good correlation, then it is pertinent that it be deflated so as to discourage convergence in the direction of the already estimated eigenvector. See Theorem A.1 in Appendix A.1 for details.

Finally, we note that stabilization, as proposed by Kolda and Mayo (2011) for general tensor eigen-decomposition (as opposed to orthogonal decomposition in this paper), can be effective in improving convergence, especially on real data, and we defer its detailed analysis to future work.

3.3 Reconstruction after tensor power method

Recall that previously in Section 3.2, when exact moments are available, estimating the community membership vectors Π\Pi is straightforward, once we recover all the stable tensor eigen-pairs. However, in case of empirical moments, we can obtain better guarantees with the following modification: the estimated community membership vectors Π\Pi are further subject to thresholding so that the weak values are set to zero. Since we are limiting ourselves to the regime of the mixed membership model, where the community vectors Π\Pi are sparse (w.h.p), this modification strengthens our reconstruction guarantees. This thresholding step is incorporated in Algorithm 1.

based on estimates Π^\hat{\Pi}, and the matrix P^\hat{P} is obtained as P^←Q^GQ^⊤\hat{P}\leftarrow\hat{Q}G\hat{Q}^{\top}. We subsequently establish that Q^Π^⊤≈I\hat{Q}\hat{\Pi}^{\top}\approx I, under a set of sufficient conditions outlined in the next section.

A sub-class of community model are those satisfying homophily. As discussed in Section 1, homophily or the tendency to form edges within the members of the same community has been posited as an important factor in community formation, especially in social settings. Many of the existing learning algorithms, e.g. Chen et al. (2012) require this assumption to provide guarantees in the stochastic block model setting. Moreover, our procedure described below can be easily modified to work in situations where the order of intra-connectivity and inter-connectivity among communities is reversed, i.e. in the community connectivity matrix P∈k×kP\in^{k\times k}, P(i,i)≡p<P(i,j)≡qP(i,i)\equiv p<P(i,j)\equiv q, for all i≠ji\neq j. For instance, in the kk-coloring model (McSherry, 2001), p=0p=0 and q>0q>0.

We describe the post-processing method in Procedure 3 for models with community connectivity matrix PP satisfying P(i,i)≡p>P(i,j)≡qP(i,i)\equiv p>P(i,j)\equiv q for all i≠ji\neq j. For such models, we can obtain improved estimates by averaging. Specifically, consider nodes in set CC and edges going from CC to nodes in BB. First, consider the special case of the stochastic block model: for each node c∈Cc\in C, compute the number of neighbors in BB belonging to each community (as given by the estimate Π^\hat{\Pi} from Algorithm 1), and declare the community with the maximum number of such neighbors as the community of node cc. Intuitively, this provides a better estimate for ΠC\Pi_{C} since we average over the edges in BB. This method has been used before in the context of spectral clustering (McSherry, 2001).

The same idea can be extended to the general mixed membership (homophilic) models: declare communities to be significant if they exceed a certain threshold, as evaluated by the average number of edges to each community. The correctness of the procedure can be gleaned from the fact that if the true FF matrix is input, it satisfies

and if the true PP matrix is input, H=pH=p and L=qL=q. Thus, under a suitable threshold ξ\xi, the entries Fj,iF_{j,i} provide information on whether the corresponding community weight Πi,j\Pi_{i,j} is significant.

In the next section, we establish that in certain regime of parameters, this support recovery procedure can lead to zero-error support recovery of significant community memberships of the nodes and also rule out communities where a node does not have a strong presence.

We note that the computational complexity of the method, implemented naively, is O(n2k+k4.43α^min⁡−1)O(n^{2}k+k^{4.43}\widehat{\alpha}_{\min}^{-1}) when α0>1\alpha_{0}>1 and O(n2k)O(n^{2}k) when α0<1\alpha_{0}<1. This is because the time for computing whitening matrices is dominated by SVD of the top kk singular vectors of n×nn\times n matrix, which takes O(n2k)O(n^{2}k) time. We then compute the whitened tensor TT which requires time O(n2k+k3n)=O(n2k)O(n^{2}k+k^{3}n)=O(n^{2}k), since for each i∈Yi\in Y, we multiply Gi,A,Gi,B,Gi,CG_{i,A},G_{i,B},G_{i,C} with the corresponding whitening matrices, and this step takes O(nk)O(nk) time. We then average this k×k×kk\times k\times k tensor over different nodes i∈Yi\in Y to the result, which takes O(k3)O(k^{3}) time in each step.

For the tensor power method, the time required for a single iteration is O(k3)O(k^{3}). We need at most log⁡n\log n iterations per initial vector, and we need to consider O(α^min⁡−1k0.43)O(\widehat{\alpha}_{\min}^{-1}k^{0.43}) initial vectors (this could be smaller when α0<1\alpha_{0}<1). Hence the total running time of tensor power method is O(k4.43α^min⁡−1)O(k^{4.43}\widehat{\alpha}_{\min}^{-1}) (and when α0\alpha_{0} is small this can be improved to O(k4α^min⁡−1)O(k^{4}\widehat{\alpha}_{\min}^{-1}) which is dominated by O(n2k)O(n^{2}k).

In the process of estimating Π\Pi and PP, the dominant operation is multiplying k×nk\times n matrix by n×nn\times n matrix, which takes O(n2k)O(n^{2}k) time. For support recovery, the dominant operation is computing the “average degree”, which again takes O(n2k)O(n^{2}k) time. Thus, we have that the overall computational time is O(n2k+k4.43α^min⁡−1)O(n^{2}k+k^{4.43}\widehat{\alpha}_{\min}^{-1}) when α0>1\alpha_{0}>1 and O(n2k)O(n^{2}k) when α0<1\alpha_{0}<1.

Note that the above bound on complexity of our method nearly matches the bound for spectral clustering method (McSherry, 2001), since computing the kk-rank SVD requires O(n2k)O(n^{2}k) time. Another method for learning stochastic block models is based on convex optimization involving semi-definite programming (SDP) (Chen et al., 2012), and it provides the best scaling bounds (for both the network size nn and the separation p−qp-q for edge connectivity) known so far. The specific convex problem can be solved via the method of augmented Lagrange multipliers (Lin et al., 2010), where each step consists of an SVD operation and q-linear convergence is established by Lin et al. (2010). This implies that the method has complexity O(n3)O(n^{3}), since it involves taking SVD of a general n×nn\times n matrix, rather than a kk-rank SVD. Thus, our method has significant advantage in terms of computational complexity, when the number of communities is much smaller than the network size (k≪n)(k\ll n).

Further, a subsequent work provides a more sophisticated implementation of the proposed tensor method through parallelization and the use of stochastic gradient descent for tensor decomposition (Huang et al., 2013). Additionally, the kk-rank SVD operations are approximated via randomized methods such as the Nystrom’s method leading to more efficient implementations (Gittens and Mahoney, 2013). Huang et al. (2013) deploy the tensor approach for community detection and establish that it has a running time of O(n+k3)O(n+k^{3}) using nknk cores under a parallel computation model (JáJá, 1992).

Sample Analysis for Proposed Learning Algorithm

It is easier to first present the results for our proposed algorithm for the special case, where all the communities have the same expected size and the entries of the community connectivity matrix PP are equal on diagonal and off-diagonal locations:

In other words, the probability of an edge according to PP only depends on whether it is between two individuals of the same community or between different communities. The above setting is also well studied for stochastic block models (α0=0)(\alpha_{0}=0), allowing us to compare our results with existing ones. The results for general mixed membership models are deferred to Section 4.2.

The community membership vectors are drawn from the Dirichlet distribution, Dir⁡(α)\operatorname{Dir}(\alpha), under the mixed membership model. We assume that αi<1\alpha_{i}<1 for i∈[k]i\in[k] (see Section 2.1 for an extended discussion on the sparse regime of the Dirichlet distribution) and that α0\alpha_{0} is known.

Given the concentration parameter of the Dirichlet distribution, α0:=∑iαi\alpha_{0}:=\sum_{i}\alpha_{i}, we require that

Recall that pp is the probability of intra-community connectivity and qq is the probability of inter-community connectivity. We require that

The above condition is on the standardized separation between intra-community and inter-community connectivity (note that p\sqrt{p} is the standard deviation of a Bernoulli random variable). The above condition is required to control the perturbation in the whitened tensor (computed using observed network samples), thereby, providing guarantees on the estimated eigen-pairs through the tensor power method.

We assume that the number of iterations NN of the tensor power method in Procedure 2 satisfies

The threshold τ\tau for obtaining estimates Π^\hat{\Pi} of community membership vectors in Algorithm 1 is chosen as

For the stochastic block model (α0=0)(\alpha_{0}=0), since πi\pi_{i} is a basis vector, we can use a large threshold. For general models (α0≠0)(\alpha_{0}\neq 0), τ\tau can be viewed as a regularization parameter and decays as n−1/2n^{-1/2} when other parameters are held fixed. We are now ready to state the error bounds on the estimates of community membership vectors Π\Pi and the block connectivity matrix PP. Π^\hat{\Pi} and P^\hat{P} are the estimates computed in Algorithm 1.

Recall that for a matrix MM, (M)i(M)^{i} and (M)i(M)_{i} denote the i\mboxthi^{{\mbox{\tiny th}}} row and column respectively. We say that an event holds with high probability, if it occurs with probability 1−n−c1-n^{-c} for some constant c>0c>0.

Under assumptions A1-A5, we have with high probability

The proofs are given in the Appendix and a proof outline is provided in Section 4.3.

The main ingredient in establishing the above result is the tensor concentration bound and additionally, recovery guarantees under the tensor power method in Procedure 2. We now provide these results below.

Recall that FA:=ΠA⊤P⊤F_{A}:=\Pi_{A}^{\top}P^{\top} and Φ=WA⊤FADiag⁡(α^1/2)\Phi=W_{A}^{\top}F_{A}\operatorname{Diag}(\widehat{\alpha}^{1/2}) denotes the set of tensor eigenvectors under exact moments in (23), and Φ^\hat{\Phi} is the set of estimated eigenvectors under empirical moments, obtained using Procedure 1. We establish the following guarantees.

Under the assumptions A1-A4, the recovered eigenvector-eigenvalue pairs (Φ^i,λ^i)(\hat{\Phi}_{i},\hat{\lambda}_{i}) from the tensor power method in Procedure 2 satisfies with high probability, for a permutation θ\theta, such that

The tensor perturbation bound εT\varepsilon_{T} is given by

where ∥T∥\|T\| for a tensor TT refers to its spectral norm.

For stochastic block models, assumptions A2 and A3 reduce to

This matches with the best known scaling (up to poly-log factors), and was previously achieved via convex optimization by Chen et al. (2012) for stochastic block models. However, our results in Theorem 4.1 do not provide zero error guarantees as in Chen et al. (2012). We strengthen our results to provide zero-error guarantees in Section 4.1.1 below and thus, match the scaling of Chen et al. (2012) for stochastic block models. Moreover, we also provide zero-error support recovery guarantees for recovering significant memberships of nodes in mixed membership models in Section 4.1.1.

The guarantees degrade as α0\alpha_{0} increases, which is intuitive since the extent of community overlap increases. The requirement for scaling of nn also grows as α0\alpha_{0} increases. Note that the guarantees on επ\varepsilon_{\pi} and εP\varepsilon_{P} can be improved by assuming a more stringent scaling of nn with respect to α0\alpha_{0}, rather than the one specified by A2.

1.1 Zero-error guarantees for support recovery

Recall that we proposed Procedure 3 as a post-processing step to provide improved support recovery estimates. We now provide guarantees for this method.

We now specify the threshold ξ\xi for support recovery in Procedure 3.

We assume that the threshold ξ\xi in Procedure 3 satisfies

where εP\varepsilon_{P} is specified in Theorem 4.1. We now state the guarantees for support recovery.

Assuming A1-A6 and (25) hold, the support recovery method in Procedure 3 has the following guarantees on the estimated support set S^\hat{S}: with high probability,

where Π\Pi is the true community membership matrix.

Thus, the above result guarantees that the Procedure 3 correctly recovers all the “large” entries of Π\Pi and also correctly rules out all the “small” entries in Π\Pi. In other words, we can correctly infer all the significant memberships of each node and also rule out the set of communities where a node does not have a strong presence.

The only shortcoming of the above result is that there is a gap between the “large” and “small” values, and for an intermediate set of values (in [ξ/2,ξ][\xi/2,\xi]), we cannot guarantee correct inferences about the community memberships. Note this gap depends on εP\varepsilon_{P}, the error in estimating the PP matrix. This is intuitive, since as the error εP\varepsilon_{P} decreases, we can infer the community memberships over a large range of values.

For the special case of stochastic block models (i.e. lim⁡α0→0\lim\alpha_{0}\rightarrow 0), we can improve the above result and give a zero error guarantee at all nodes (w.h.p). Note that we no longer require a threshold ξ\xi in this case, and only infer one community for each node.

Assuming A1-A5 and (25) hold, the support recovery method in Procedure 3 correctly identifies the community memberships for all nodes with high probability in case of stochastic block models (α0→0)(\alpha_{0}\to 0).

Thus, with the above result, we match the state-of-art results of Chen et al. (2012) for stochastic block models in terms of scaling requirements and recovery guarantees.

2 General (Non-Homogeneous) Mixed Membership Models

In the previous sections, we provided learning guarantees for learning homogeneous mixed membership models. Here, we extend the results to learning general non-homogeneous mixed membership models under a sufficient set of conditions, involving scaling of various parameters such as network size nn, number of communities kk, concentration parameter α0\alpha_{0} of the Dirichlet distribution (which is a measure of overlap of the communities) and so on.

Given the concentration parameter of the Dirichlet distribution, α0:=∑iαi\alpha_{0}:=\sum_{i}\alpha_{i}, and α^min⁡:=αmin⁡/α0\widehat{\alpha}_{\min}:=\alpha_{\min}/\alpha_{0}, the expected size of the smallest community, define

We require that the network size scale as

Recall that P∈k×kP\in^{k\times k} denotes the block connectivity matrix. Define

where σmin⁡(P)\sigma_{\min}(P) is the minimum singular value of PP. We require that

Intuitively, the above condition requires the ratio of maximum and minimum expected community sizes to be not too large and for the matrix PP to be well conditioned. The above condition is required to control the perturbation in the whitened tensor (computed using observed network samples), thereby, providing guarantees on the estimated eigen-pairs through the tensor power method. The above condition can be interpreted as a separation requirement between intra-community and inter-community connectivity in the special case considered in Section 4.1. Specifically, for the special case of homogeneous mixed membership model, we have

Thus, the assumptions A2 and A3 in Section 4.1 given by

are special cases of the assumptions B2 and B3 above.

We assume that the number of iterations NN of the tensor power method in Procedure 2 satisfies

The threshold τ\tau for obtaining estimates Π^\hat{\Pi} of community membership vectors in Algorithm 1 is chosen as

We are now ready to state the error bounds on the estimates of community membership vectors Π\Pi and the block connectivity matrix PP. Π^\hat{\Pi} and P^\hat{P} are the estimates computed in Algorithm 1.

Recall that for a matrix MM, (M)i(M)^{i} and (M)i(M)_{i} denote the i\mboxthi^{{\mbox{\tiny th}}} row and column respectively. We say that an event holds with high probability, if it occurs with probability 1−n−c1-n^{-c} for some constant c>0c>0.

Under assumptions B1-B5, The estimates P^\hat{P} and Π^\hat{\Pi} obtained from Algorithm 1 satisfy with high probability,

The proofs are in Appendix B and a proof outline is provided in Section 4.3.

The main ingredient in establishing the above result is the tensor concentration bound and additionally, recovery guarantees under the tensor power method in Procedure 2. We now provide these results below.

Recall that FA:=ΠA⊤P⊤F_{A}:=\Pi_{A}^{\top}P^{\top} and Φ=WA⊤FADiag⁡(α^1/2)\Phi=W_{A}^{\top}F_{A}\operatorname{Diag}(\widehat{\alpha}^{1/2}) denotes the set of tensor eigenvectors under exact moments in (23), and Φ^\hat{\Phi} is the set of estimated eigenvectors under empirical moments, obtained using Procedure 1. We establish the following guarantees.

Under the assumptions B1-B4, the recovered eigenvector-eigenvalue pairs (Φ^i,λ^i)(\hat{\Phi}_{i},\hat{\lambda}_{i}) from the tensor power method in Procedure 2 satisfies with high probability, for a permutation θ\theta, such that

The tensor perturbation bound εT\varepsilon_{T} is given by

where ∥T∥\|T\| for a tensor TT refers to its spectral norm, ρ\rho is defined in (37) and ζ\zeta in (39).

2.1 Application to Planted Clique Problem

The planted clique problem is a special case of the stochastic block model Condon and Karp (1999), and is arguably the simplest setting for the community problem. Here, a clique of size ss is uniformly planted (or placed) in an Erdős-Rényi graph with edge probability 0.50.5. This can be viewed as a stochastic block model with k=2k=2 communities, where α^min⁡=s/n\widehat{\alpha}_{\min}=s/n is the probability of a node being in a clique and α^max⁡=1−s/n\widehat{\alpha}_{\max}=1-s/n. The connectivity matrix is P=[1,q;q,q]P=[1,q;q,q] with q=0.5q=0.5, since the probability of connectivity within the clique is 11 and the probability of connectivity for any other node pair is 0.50.5.

Since the planted clique setting has unequal sized communities, the general result in Section 4.3 is applicable, and we demonstrate how the assumptions (B1)(B1)-(B5)(B5) simplify for the planted clique setting. We have that α0=0\alpha_{0}=0, since the communities are non-overlapping. For assumption B2B2, we have that

For assumption B3B3, we have that σmin⁡(P)=Θ(1)\sigma_{\min}(P)=\Theta(1) and that max⁡i(Pα^)i≤s/n+q≤2\max_{i}(P\widehat{\alpha})_{i}\leq s/n+q\leq 2, and thus the assumption B3B3 simplifies as

3 Proof Outline

We now summarize the main techniques involved in proving Theorem 4.3. The details are in the Appendix. The main ingredient is the concentration of the adjacency matrix: since the edges are drawn independently conditioned on the community memberships, we establish that the adjacency matrix concentrates around its mean under the stated assumptions. See Appendix C.4 for details. With this in hand, we can then establish concentration of various quantities used by our learning algorithm.

We first establish concentration bounds on the whitening matrices W^A\hat{W}_{A}, W^B\hat{W}_{B}, W^C\hat{W}_{C} computed using empirical moments, described in Section 3.3.1. With this in hand, we can approximately recover the span of matrix FAF_{A} since W^A⊤FDiag⁡(α^i)1/2\hat{W}_{A}^{\top}F\operatorname{Diag}(\widehat{\alpha}_{i})^{1/2} is a rotation matrix. The main technique employed is the Matrix Bernstein’s inequality (Tropp, 2012, thm. 1.4). See Appendix C.2 for details.

Recall that we use the whitening matrices to obtain a symmetric orthogonal tensor. We establish that the whitened and symmetrized tensor concentrates around its mean. (Note that the empirical third order tensor TX→A,B,CT_{X\rightarrow A,B,C} tends to its expectation conditioned on ΠA,ΠB,ΠC\Pi_{A},\Pi_{B},\Pi_{C} when ∣X∣→∞|X|\to\infty). This is done in several stages and we carefully control the tensor perturbation bounds. See Appendix C.1 for details.

We analyze the performance of Procedure 2 under empirical moments. We employ the various improvements, detailed in Section 3.3.2 to establish guarantees on the recovered eigen-pairs. This includes coming up with a condition on the tensor perturbation bound, for the tensor power method to succeed. It also involves establishing that there exist good initializers for the power method among (whitened) neighborhood vectors. This allows us to obtain stronger guarantees for the tensor power method, compared to earlier analysis by Anandkumar et al. (2012b). This analysis is crucial for us to obtain state-of-art scaling bounds for guaranteed recovery (for the special case of stochastic block model). See Appendix A for details.

To simplify the argument, consider the stochastic block model. Recall that Procedure 3 readjusts the community membership estimates based on degree averaging. For each vertex, if we count the average degree towards these “approximate communities”, for the correct community the result is concentrated around value pp and for the wrong community the result is around value qq. Therefore, we can correctly identify the community memberships of all the nodes, when p−qp-q is sufficiently large, as specified by A3. The argument can be easily extended to general mixed membership models. See Appendix B.4 for details.

4 Comparison with Previous Results

We now compare the results of this paper to our previous work (Anandkumar et al., 2012b) on the use of tensor-based approaches for learning various latent variable models such as topic models, hidden Markov models (HMM) and Gaussian mixtures. At a high level, the tensor approach is exploited in a similar manner in all these models (including the community model in this paper), viz., that the conditional-independence relationships of the model result in a low rank tensor, constructed from low order moments under the given model. However, there are several important differences between the community model and the other latent variable models considered by Anandkumar et al. (2012b) and we list them below. We also precisely list the various algorithmic improvements proposed in this paper with respect to the tensor power method, and how they can be applicable to other latent variable models.

Among the latent variable models studied by Anandkumar et al. (2012b), the topic model, viz., latent Dirichlet allocation (LDA), bears the closest resemblance to MMSB. In fact, the MMSB model was originally inspired by the LDA model. The analogy between the MMSB model and the LDA is direct under our framework and we describe it below.

Recall that for learning MMSBs, we consider a partition of the nodes {X,A,B,C}\{X,A,B,C\} and we consider the set of 33-stars from set XX to A,B,CA,B,C. We can construct an equivalent topic model as follows: the nodes in XX form the “documents” and for each document x∈Xx\in X, the neighborhood vectors GxA⊤,GxB⊤,GxC⊤G_{xA}^{\top},G_{xB}^{\top},G_{xC}^{\top} form the three “words” or “views” for that document. In each document x∈Xx\in X, the community vector πx\pi_{x} corresponds to the “topic vector” and the matrices FAF_{A}, FBF_{B} and FCF_{C} correspond to the topic-word matrices. Note that the three views GxA⊤,GxB⊤,GxC⊤G_{xA}^{\top},G_{xB}^{\top},G_{xC}^{\top} are conditionally independent given the topic vector πx\pi_{x}. Thus, the community model can be cast as a topic model or a multi-view model. See Figure 2.

Although the community model can be viewed as a topic model, it has some important special properties which allows us to provide better guarantees. The topic-word matrices FA,FB,FCF_{A},F_{B},F_{C} are not arbitrary matrices. Recall that FA:=ΠA⊤P⊤F_{A}:=\Pi_{A}^{\top}P^{\top} and similarly FB,FCF_{B},F_{C} are random matrices and we can provide strong concentration bounds for these matrices by appealing to random matrix theory. Moreover, each of the views in the community model has additional structure, viz., the vector Gx,A⊤G^{\top}_{x,A} has independent Bernoulli entries conditioned on the community vector πx\pi_{x}, while in a general multi-view model, we only specify the conditional distribution of each view given the hidden topic vector. This further allows us to provide specialized concentration bounds for the community model. Importantly, we can recover the community memberships (or topic vectors) accurately while for a general multi-view model this cannot be guaranteed and we can only hope to recover the model parameters.

4.2 Improvements to tensor recovery guarantees in this paper

In this paper, we make modifications to the tensor power method of Anandkumar et al. (2012b) and obtain better guarantees for the community setting. Recall that the two modifications are adaptive deflation and initialization using whitened neighborhood vectors. The adaptive deflation leads to a weaker gap condition for an initialization vector to succeed in estimating a tensor eigenvector efficiently. Initialization using whitened neighborhood vectors allows us to tolerate more noise in the estimated 33-star tensor, thereby improving our sample complexity result. We make this improvement precise below.

If we directly apply the tensor power method of Anandkumar et al. (2012b), without considering the modifications, we require a stronger condition on the sample complexity and edge connectivity. For simplicity, consider the homogeneous setting of Section 4.1. The conditions (A2)(A2) and (A3)(A3) now need to be replaced with stronger conditions:

The edge connectivity parameters p,qp,q satisfy

Thus, we obtain significant improvements in recovery guarantees via algorithmic modifications and careful analysis of concentration bounds.

The guarantees derived in this paper are specific to the community setting, and we outlined previously the special properties of the community model when compared to a general multi-view model. However, when the documents of the topic model are sufficiently long, the word frequency vector within a document has good concentration, and our modified tensor method has better recovery guarantees in this setting as well. Thus, the improved tensor recovery guarantees derived in this paper are applicable in scenarios where we have access to better initialization vectors rather than simple random initialization.

Conclusion

In this paper, we presented a novel approach for learning overlapping communities based on a tensor decomposition approach. We established that our method is guaranteed to recover the underlying community memberships correctly, when the communities are drawn from a mixed membership stochastic block model (MMSB). Our method is also computationally efficient and requires simple linear algebraic operations and tensor iterations. Moreover, our method is tight for the special case of the stochastic block model (up to poly-log factors), both in terms of sample complexity and the separation between edge connectivity within a community and across different communities.

We now note a number of interesting open problems and extensions. While we obtained tight guarantees for MMSB models with uniform sized communities, our guarantees are weak when the community sizes are drastically different, such as in the planted clique setting where we do not match the computational lower bound (Feldman et al., 2012). The whitening step in the tensor decomposition method is particularly sensitive to the ratio of community sizes and it is interesting to see if modifications can be made to our algorithm to provide tight guarantees under unequal community sizes. While this paper mostly dealt with the theoretical analysis of the tensor method for community detection, we note recent experimental results where the tensor method is deployed on graphs with millions of nodes with very good accuracy and running times (Huang et al., 2013). In fact, the running times are more than an order of magnitude better than the state-of-art variational approach for learning MMSB models. The work of (Huang et al., 2013) makes an important modification to make the method scalable, viz., that the tensor decomposition is carried out through stochastic updates in parallel unlike the serial batch updates considered here. Establishing theoretical guarantees for stochastic tensor decomposition is an important problem. Moreover, we have limited ourselves to the MMSB models, which assumes a linear model for edge formation, which is not applicable universally. For instance, exclusionary relationships, where two nodes cannot be connected because of their memberships in certain communities cannot be imposed in the MMSB model. Are there other classes of mixed membership models which do not suffer from this restriction, and yet are identifiable and are amenable for learning? Moreover, the Dirichlet distribution in the MMSB model imposes constraints on the memberships across different communities. Can we incorporate mixed memberships with arbitrary correlations? The answers to these questions will further push the boundaries of tractable learning of mixed membership communities models.

We thank the JMLR Action Editor Nathan Srebro and the anonymous reviewers for comments which significantly improved this manuscript. We thank Jure Leskovec for helpful discussions regarding various community models. Part of this work was done when AA and RG were visiting MSR New England. AA is supported in part by the Microsoft faculty fellowship, NSF Career award CCF-1254106, NSF Award CCF-1219234 and the ARO YIP Award W911NF-13-1-0084.

References

Appendix A Tensor Power Method Analysis

In this section, we leverage on the perturbation analysis for tensor power method in Anandkumar et al. [2012b]. As discussed in Section 3.3.2, we propose the following modifications to the tensor power method and obtain guarantees below for the modified method. The two main modifications are: (1) we modify the tensor deflation process in the robust power method in Procedure 2. Rather than a fixed deflation step after obtaining an estimate of the eigenvalue-eigenvector pair, in this paper, we deflate adaptively depending on the current estimate, and (2)rather than selecting random initialization vectors, as in Anandkumar et al. [2012b], we initialize with vectors obtained from adjacency matrix.

Below in Section A.1, we establish success of the modified tensor method under “good” initialization vectors, as defined below. This involves improved error bounds for the modified deflation procedure provided in Section A.2. In Section C.5, we subsequently establish that under the Dirichlet distribution (for small α0\alpha_{0}), we obtain “good” initialization vectors.

We now show that when “good” initialization vectors are input to tensor power method in Procedure 2, we obtain good estimates of eigen-pairs under appropriate choice of number of iterations NN and spectral norm ϵ\epsilon of tensor perturbation.

We call an initialization vector uu to be (γ,R0)(\gamma,R_{0})-good if there exists viv_{i} such that <u,vi>>R0\left<u,v_{i}\right>>R_{0} and

There exists universal constants C1,C2>0C_{1},C_{2}>0 such that the following holds.

Assume there is at least one good initialization vector corresponding to each viv_{i}, i∈[k]i\in[k]. The parameter ξ\xi for choosing deflation vectors in each iteration of the tensor power method in Procedure 2 is chosen as ξ≥25ϵ\xi\geq 25\epsilon. We obtain eigenvalue-eigenvector pairs (λ^1,v^1),(λ^2,v^2),…,(λ^k,v^k)(\hat{\lambda}_{1},\hat{v}_{1}),(\hat{\lambda}_{2},\hat{v}_{2}),\dotsc,(\hat{\lambda}_{k},\hat{v}_{k}) such that there exists a permutation π\pi on [k][k] with

We now compare the above result with the result in [Anandkumar et al., 2012b, Thm. 5.1], where similar guarantees are obtained for a simpler version of the tensor power method without any adaptive deflation and using random initialization. The main difference is in our requirement of the gap γ\gamma in (51) for an initialization vector is weaker than the gap requirement in [Anandkumar et al., 2012b, Thm. 5.1]. This is due to the use of adaptive deflation in this paper.

In this paper, we employ whitened neighborhood vectors generated under the MMSB model for initialization, while [Anandkumar et al., 2012b, Thm. 5.1] assumes a random initialization. Under random initialization, we obtain R0∼1/kR_{0}\sim 1/\sqrt{k} (with poly(k)(k) trials), while for initialization using whitened neighborhood vectors, we subsequently establish that R0=Ω(1)R_{0}=\Omega(1) is a constant, when number of samples nn is large enough. We also establish that the gap requirement in (51) is satisfied for the choice of γ=1/100\gamma=1/100 above. See Lemma C.9 for details. Thus, we can tolerate much larger perturbation ϵ\epsilon of the third order moment tensor, when non-random initializations are employed.

Proof: The proof is on lines of the proof of [Anandkumar et al., 2012b, Thm. 5.1] but here, we consider the modified deflation procedure, which improves the condition on ϵ\epsilon in (52). We provide the full proof below for completeness.

We prove by induction on ii, the number of eigenpairs estimated so far by Procedure 2. Assume that there exists a permutation π\pi on [k][k] such that the following assertions hold.

For all j≤ij\leq i, ∥vπ(j)−v^j∥≤8ϵ/λπ(j)\|v_{\pi(j)}-\hat{v}_{j}\|\leq 8\epsilon/\lambda_{\pi(j)} and ∣λπ(j)−λ^j∣≤12ϵ|\lambda_{\pi(j)}-\hat{\lambda}_{j}|\leq 12\epsilon.

D(u,i)D(u,i) is the set of deflated vectors given current estimate of the power method is u∈Sk−1u\in S^{k-1}:

where θ^i:=<u,v^i>\hat{\theta}_{i}:=\left<u,\hat{v}_{i}\right>.

We take i=0i=0 as the base case, so we can ignore the first assertion, and just observe that for i=0i=0, D(u,0;ξ)=∅D(u,0;\xi)=\emptyset and thus

Now fix some i∈[k]i\in[k], and assume as the inductive hypothesis. The power iterations now take a subset of j∈[i]j\in[i] for deflation, depending on the current estimate. Set

On the other hand, by the triangle inequality,

where j∗:=arg⁡max⁡j≥iλπ(j)∣θπ(j),N∣j^{*}:=\arg\max_{j\geq i}\lambda_{\pi(j)}|\theta_{\pi(j),N}|. Therefore

Squaring both sides and using the fact that θπ(j∗),N2+θπ(j),N2≤1\theta_{\pi(j^{*}),N}^{2}+\theta_{\pi(j),N}^{2}\leq 1 for any j≠j∗j\neq j^{*},

This means that θN\theta_{N} is (1/4)(1/4)-separated relative to π(j∗)\pi(j^{*}). Also, observe that

Since v^i=θ^\hat{v}_{i}=\hat{\theta} and λ^i=λ^\hat{\lambda}_{i}=\hat{\lambda}, the first assertion of the inductive hypothesis is satisfied, as we can modify the permutation π\pi by swapping π(i)\pi(i) and π(j∗)\pi(j^{*}) without affecting the values of {π(j):j≤i−1}\{\pi(j):j\leq i-1\} (recall j∗≥ij^{*}\geq i).

To prove that (54) holds, for any unit vector u∈Sk−1u\in S^{k-1} such that there exists j′≥i+1j^{\prime}\geq i+1 with (u⊤vπ(j′))2≥1−(168ϵ/λπ(j′))2(u^{\scriptscriptstyle\top}v_{\pi(j^{\prime})})^{2}\geq 1-(168\epsilon/\lambda_{\pi(j^{\prime})})^{2}. We have (via the second bound on C1C_{1} in (55) and the corresponding assumed bound ϵ≤C1⋅λmin⁡R02\epsilon\leq C_{1}\cdot\lambda_{\min}R_{0}^{2})

A.2 Deflation Analysis

For some t∈[k]t\in[k] and a unit vector u∈Sk−1u\in S^{k-1} such that u=∑i∈[k]θiviu=\sum_{i\in[k]}\theta_{i}v_{i} and θ^i:=<u,v^i>\hat{\theta}_{i}:=\left<u,\hat{v}_{i}\right>, we have for i∈[t]i\in[t],

Proof: The proof is on lines of deflation analysis in [Anandkumar et al., 2012b, Lemma B.5], but we improve the bounds based on additional properties of vector uu. From Anandkumar et al. [2012b], we have that for all i∈[t]i\in[t], and any unit vector uu,

Appendix B Proof of Theorem 4.3

We now prove the main results on error bounds claimed in Theorem 4.3 for the estimated community vectors Π^\hat{\Pi} and estimated block probability matrix P^\hat{P} in Algorithm 1. Below, we first show that the tensor perturbation bounds claimed in Lemma 4.2 holds.

B.1 Proof of Lemma 4.2

From Theorem A.1 in Appendix A, we see that the tensor power method returns eigenvalue-vector pair (λ^i,Φ^i)(\hat{\lambda}_{i},\hat{\Phi}_{i}) such that there exists a permutation θ\theta with

when the perturbation of the tensor is small enough, according to

for some constant C1C_{1}, when initialized with a (γ,r0)(\gamma,r_{0}) good vector.

With the above result, two aspects need to be established: (1) the whitened tensor perturbation ϵT\epsilon_{T} is as claimed, (2) the condition in (61) is satisfied and (3) there exist good initialization vectors when whitened neighborhood vectors are employed. The tensor perturbation bound ϵT\epsilon_{T} is established in Theorem C.1 in Appendix C.1.

Lemma C.9 establishes that when ζ=O(nr02/ρ)\zeta=O(\sqrt{n}r_{0}^{2}/\rho), we have good initialization vectors with Recall r02=Ω(1/α^max⁡k)r_{0}^{2}=\Omega(1/\widehat{\alpha}_{\max}k) when α0>1\alpha_{0}>1 and r02=Ω(1)r_{0}^{2}=\Omega(1) for α0≤1\alpha_{0}\leq 1, and γ=1/100\gamma=1/100 with probability 1−9δ1-9\delta under Dirichlet distribution, when

which is satisfied since we assume α^min⁡−2<n\widehat{\alpha}_{\min}^{-2}<n.

We now show that the condition in (61) is satisfied under the assumptions B1-B4. Since ϵT\epsilon_{T} is given by

the condition in (61) is equivalent to ζ=O(nr02/ρ)\zeta=O(\sqrt{n}r_{0}^{2}/\rho). Therefore when ζ=O(nr02/ρ)\zeta=O(\sqrt{n}r_{0}^{2}/\rho), the assumptions of Theorem A.1 are satisfied.

B.2 Reconstruction of ΠΠ\Pi after tensor power method

Let (M)i(M)^{i} and (M)i(M)_{i} denote the i\mboxthi^{{\mbox{\tiny th}}} row and i\mboxthi^{{\mbox{\tiny th}}} column in matrix MM respectively. Let Z⊆AcZ\subseteq A^{c} denote any subset of nodes not in AA, considered in Procedure LearnPartition Community. Define

Assuming Lemma 4.2 holds and the tensor power method recovers eigenvectors and eigenvalues up to the guaranteed errors, we have with probability 1−122δ1-122\delta,

where εT\varepsilon_{T} is given by (71).

The third term in (65) dominates the last term in (67) since (α0+1)log⁡k/δ<nα^min⁡(\alpha_{0}+1)\log k/\delta<n\widehat{\alpha}_{\min} (due to assumption B2 on scaling of nn). □\Box

where η=α^max⁡\eta=\widehat{\alpha}_{\max} when α0<1\alpha_{0}<1 and η=αmax⁡\eta=\alpha_{\max} when α0∈[1,k)\alpha_{0}\in[1,k).

Proof: Let Si:={j:Π^Z(i,j)>2τ}S_{i}:=\{j:\hat{\Pi}_{Z}(i,j)>2\tau\}. For a vector vv, let vSv_{S} denote the sub-vector by considering entries in set SS. We now have

For the other term, from Lemma C.10, we have

Applying Bernstein’s bound we have with probability 1−δ1-\delta

For Π^Sici\hat{\Pi}^{i}_{S_{i}^{c}}, we further divide SicS_{i}^{c} into TiT_{i} and UiU_{i}, where Ti:={j:τ/2<ΠZ(i,j)≤2τ}T_{i}:=\{j:\tau/2<\Pi_{Z}(i,j)\leq 2\tau\} and Ui:={j:ΠZ(i,j)≤τ/2}U_{i}:=\{j:\Pi_{Z}(i,j)\leq\tau/2\}.

From Lemma C.10, we see that the results hold when we replace α^max⁡\widehat{\alpha}_{\max} with αmax⁡\alpha_{\max}. □\Box

B.3 Reconstruction of P𝑃P after tensor power method

We propose an alternative estimator Q^\hat{Q} for Π^†\hat{\Pi}^{\dagger} and use it to find P^\hat{P} in Algorithm 1. Recall that the ii-th row of Q^\hat{Q} is given by

We show below that Q^\hat{Q} is close to Π†\Pi^{\dagger}, and therefore, P^:=Q^⊤GQ^\hat{P}:=\hat{Q}^{\top}G\hat{Q} is close to PP w.h.p.

using the fact that (Π⊤P)i,j≤Pmax⁡(\Pi^{\top}P)_{i,j}\leq P_{\max}.

Now we claim that Q^\hat{Q} is close to QQ and it can be shown that

using the fact that (Qj−Q^j)1⃗=0(Q^{j}-\hat{Q}^{j})\vec{1}=0, due to the normalization.

Finally, ∣(GQ^⊤)i,j(Π⊤PΠQ^⊤)i,j∣|(G\hat{Q}^{\top})_{i,j}(\Pi^{\top}P\Pi\hat{Q}^{\top})_{i,j}| are small by standard concentration bounds (and the differences are of lower order). Combining these ∣P^i,j−Pi,j∣≤O(εP)|\hat{P}_{i,j}-P_{i,j}|\leq O(\varepsilon_{P}).

B.4 Zero-error support recovery guarantees

We first consider analysis for the stochastic block model (i.e. α0→0\alpha_{0}\rightarrow 0) and prove the guarantees claimed in Corollary 4.1.

In Procedure 3, for the stochastic block model (α0=0)(\alpha_{0}=0), for a node x∈[n]x\in[n], we have

using (69) and the fact that the size of each community on average is n/kn/k. In other words, for each vertex xx, we compute the average number of edges from this vertex to all the estimated communities according to Π^\hat{\Pi}, and set it to belong to the one with largest average degree. Note that the margin of error on average for each node to be assigned the correct community according to the above procedure is (p−q)n/k(p-q)n/k, since the size of each community is n/kn/k and the average number of intra-community edges at a node is pn/kpn/k and edges to any different community at a node is qn/kqn/k. From (69), we have that the average number of errors made is O((p−q)επ2)O((p-q)\varepsilon_{\pi}^{2}). Note that the degrees concentrate around their expectations according to Bernstein’s bound and the fact that the edges used for averaging is independent from the edges used for estimating Π^\hat{\Pi}. Thus, for our method to succeed in inferring the correct community at a node, we require,

We now prove the general result on support recovery.

which implies bounds for the average of diagonals HH and average of off-diagonals LL:

On similar lines as the proof of Lemma B.3 and from independence of edges used to define F^\hat{F} from the edges used to estimate Π^\hat{\Pi}, we also have

Note that Fj,i=q+Πi,j(p−q)F_{j,i}=q+\Pi_{i,j}(p-q). The threshold ξ\xi satisfies ξ=Ω(εP)\xi=\Omega(\varepsilon_{P}), therefore, all the entries in FF that are larger than q+(p−q)ξq+(p-q)\xi, the corresponding entries in SS are declared to be one, while none of the entries that are smaller than q+(p−q)ξ/2q+(p-q)\xi/2 are set to one in SS. □\Box

Appendix C Concentration Bounds

When the partitions A,B,C,X,YA,B,C,X,Y satisfy (70), we have with probability 1−100δ1-100\delta,

The proof of the above result follows. It consists mainly of the following steps: (1) Controlling the perturbations of the whitening matrices and (2) Establishing concentration of the third moment tensor (before whitening). Combining the two, we can then obtain perturbation of the whitened tensor. Perturbations for the whitening step is established in Appendix C.2. Auxiliary concentration bounds required for the whitening step, and for the claims below are in Appendix C.3 and C.4.

Proof of Theorem C.1: In tensor Tα0T^{\alpha_{0}} in (15), the first term is

We claim that this term dominates in the perturbation analysis since the mean vector perturbation is of lower order. We now consider perturbation of the whitened tensor

We show that this tensor is close to the corresponding term in the expectation in three steps.

Then this vector is close to the expectation over ΠY\Pi_{Y}.

Finally we replace the estimated whitening matrix W^A\hat{W}_{A} with WAW_{A}, defined in (72), and note that WAW_{A} whitens the exact moments.

For Λ0−Λ1\Lambda_{0}-\Lambda_{1}, the dominant term in the perturbation bound (assuming partitions A,B,C,X,YA,B,C,X,Y are of size nn) is (since for any rank 11 tensor, ∥u⊗v⊗w∥=∥u∥⋅∥v∥⋅∥w∥\|u\otimes v\otimes w\|=\|u\|\cdot\|v\|\cdot\|w\|),

with probability 1−13δ1-13\delta (Lemma C.2). Since there are 77 terms in the third order tensor T⁡α0\operatorname{T}^{\alpha_{0}}, we have the bound with probability 1−91δ1-91\delta.

For Λ1−Λ2\Lambda_{1}-\Lambda_{2}, since W^AFADiag⁡(α^)1/2\hat{W}_{A}F_{A}\operatorname{Diag}(\widehat{\alpha})^{1/2} has spectral norm almost 1, by Lemma C.4 the spectral norm of the perturbation is at most

For the final term Λ2−Λ3\Lambda_{2}-\Lambda_{3}, the dominating term is

Putting all these together, the third term ∥Λ2−Λ3∥\left\|\Lambda_{2}-\Lambda_{3}\right\| dominates. We know with probability at least 1−100δ1-100\delta, the perturbation in the tensor is at most

C.2 Whitening Matrix Perturbations

Consider rank-kk SVD of ∣X∣−1/2(GX,Aα0)k−svd⊤=U^AD^AV^A⊤,|X|^{-1/2}(G^{\alpha_{0}}_{X,A})^{\top}_{k-svd}=\hat{U}_{A}\hat{D}_{A}\hat{V}_{A}^{\top}, and the whitening matrix is given by W^A:=U^AD^A−1\hat{W}_{A}:=\hat{U}_{A}\hat{D}_{A}^{-1} and thus ∣X∣−1W^A⊤(GX,Aα0)k−svd⊤(GX,Aα0)k−svdW^A=I|X|^{-1}\hat{W}_{A}^{\top}(G^{\alpha_{0}}_{X,A})^{\top}_{k-svd}(G^{\alpha_{0}}_{X,A})_{k-svd}\hat{W}_{A}=I. Now consider the singular value decomposition of

W^A\hat{W}_{A} does not whiten the exact moments in general. On the other hand, consider

Now the ranges of WAW_{A} and W^A\hat{W}_{A} may differ and we control the perturbations below.

Also note that R^A,B\hat{R}_{A,B}, R^A,C\hat{R}_{A,C} are given by

where ε1\varepsilon_{1}, ε2\varepsilon_{2} and ε3\varepsilon_{3} are given by (85) and (86).

We now consider perturbation of WBRABW_{B}R_{AB}. By definition, we have that

Along the lines of previous derivation for ϵWA\epsilon_{W_{A}}, let

Again using the fact that ∣X∣−1ΨXΨX⊤≈I|X|^{-1}\Psi_{X}\Psi_{X}^{\top}\approx I, we have

and the rest of the proof follows. □\Box

C.3 Auxiliary Concentration Bounds

Assuming all the partitions satisfy (70), with probability 1−7δ1-7\delta,

Note that when PP is well conditioned and α^min⁡=α^max⁡=1/k\widehat{\alpha}_{\min}=\widehat{\alpha}_{\max}=1/k, we have the above bounds as O(k)O(k). Thus, when it is normalized with 1/∣Y∣=1/n1/|Y|=1/n, we have the bound as O(k/n)O(k/n).

Proof: Note that W^A\hat{W}_{A} is computed using partition XX and Gi,AG_{i,A} is obtained from i∈Yi\in Y. We have independence for edges across different partitions XX and YY. Let Ξi:=W^A⊤(Gi,A⊤−FAπi)\Xi_{i}:=\hat{W}^{\top}_{A}(G^{\top}_{i,A}-F_{A}\pi_{i}).Applying matrix Bernstein’s inequality to each of the variables, we have

from Lemma C.6. The variances are given by

On similar lines, we have the result for BB and CC, and also use the independence assumption on edges in various partitions. □\Box

We now show that not only the sum of whitened vectors concentrates, but that each individual whitened vector W^A⊤Gi,A⊤\hat{W}_{A}^{\top}G^{\top}_{i,A} concentrates, when AA is large enough.

Conditioned on πi\pi_{i}, with probability at least 1/41/4,

The above result is not a high probability event since we employ Chebyshev’s inequality to establish it. However, this is not an issue for us, since we will employ it to show that out of Θ(n)\Theta(n) whitened vectors, there exists at least one good initialization vector corresponding to each eigen-direction, as required in Theorem A.1 in Appendix A. See Lemma C.9 for details.

The first term is satisfies satisfies with probability 1−3δ1-3\delta

Now we bound the second term. Note that Gi,A⊤G_{i,A}^{\top} is independent of W^A⊤\hat{W}^{\top}_{A}, since they are related to disjoint subset of edges. The whitened neighborhood vector can be viewed as a sum of vectors:

Conditioned on πi\pi_{i} and FAF_{A}, Gi,jG_{i,j} are Bernoulli variables with probability (FAπi)j(F_{A}\pi_{i})_{j}. The goal is to compute the variance of the sum, and then use Chebyshev’s inequality noted in Proposition C.5.

We now bound the variance. By Wedin’s theorem, we know the span of columns of U^A\hat{U}_{A} is O(ϵG/σmin⁡(GXα0,A))=O(ϵWA)O(\epsilon_{G}/\sigma_{\min}(G^{\alpha_{0}}_{X},A))=O(\epsilon_{W_{A}}) close to the span of columns of FAF_{A}. The span of columns of FAF_{A} is the same as the span of rows in ΠA\Pi_{A}. In particular, let ProjΠProj_{\Pi} be the projection matrix of the span of rows in ΠA\Pi_{A}, we have

Using the spectral norm bound, we have the Frobenius norm

since they are rank kk matrices. This implies that

Now we can bound the variance of the vectors ∑j∈AGi,j(U^A⊤)j\sum_{j\in A}G_{i,j}(\hat{U}_{A}^{\top})_{j}, since the variance of Gi,jG_{i,j} is bounded by (FAπi)j(F_{A}\pi_{i})_{j} (its probability), and the variance of the vectors is at most

Now Chebyshev’s inequality implies that with probability at least 1/41/4 (or any other constant),

Combining the two terms, we have the result. ∎

Finally, we establish the following perturbation bound between empirical and expected tensor under the Dirichlet distribution, which is used in the proof of Theorem C.1.

With probability 1−δ1-\delta, for πi∼iidDir⁡(α)\pi_{i}{\overset{iid}{\sim}}\operatorname{Dir}(\alpha),

∥ϕ(i)∥4\|\phi(i)\|^{4} terms: By properties of Dirichlet distribution we know

Thus, for the first term in (78), we have

∥ϕ(i)∥3⋅∥ϕ(j)∥\|\phi(i)\|^{3}\cdot\|\phi(j)\| terms: We have

∥ϕ(i)∥2⋅∥ϕ(j)∥2\|\phi(i)\|^{2}\cdot\|\phi(j)\|^{2} terms: the total number of such terms is O(k2)O(k^{2}) and we have

and thus the Frobenius norm of these set of terms is smaller than O(k)O(k)

∥ϕ(i)∥2⋅∥ϕ(j)∥⋅∥ϕ(a)∥\|\phi(i)\|^{2}\cdot\|\phi(j)\|\cdot\|\phi(a)\| terms: there are O(k3)O(k^{3}) such terms, and we have

The Frobenius norm of this part of matrix is bounded by

It is easy to break the bounds into the product of two sums (∑i,j\sum_{i,j} and ∑a,b\sum_{a,b}) and then bound each one by Cauchy-Schwartz, the result is 1.

Hence the variance term in Matrix Bernstein’s inequality can be bounded by σ2≤O(nα^min⁡−2)\sigma^{2}\leq O(n\widehat{\alpha}_{\min}^{-2}), each term has norm at most α^min⁡−3/2\widehat{\alpha}_{\min}^{-3/2}. When α^min⁡−2<n\widehat{\alpha}_{\min}^{-2}<n we know the variance term dominates and the spectral norm of the difference is at most O(α^min⁡−1n−1/2log⁡n/δ)O(\widehat{\alpha}_{\min}^{-1}n^{-1/2}\sqrt{\log n/\delta}) with probability 1−δ1-\delta.

C.4 Basic Results on Spectral Concentration of Adjacency Matrix

When πi∼Dir⁡(α)\pi_{i}\sim\operatorname{Dir}(\alpha), for i∈Vi\in V, with probability 1−4δ1-4\delta,

Proof: From definition of GX,Aα0G^{\alpha_{0}}_{X,A}, we have

We have concentration for μX,A\mu_{X,A} and adjacency submatrix GX,AG_{X,A} from Lemma C.6. □\Box

When πi∼iidDir⁡(α)\pi_{i}{\overset{iid}{\sim}}\operatorname{Dir}(\alpha) for i∈Vi\in V, with probability 1−2δ1-2\delta,

where ε2\varepsilon_{2} is given by (86).

We have GX,A⊤−FAΠX=∑i∈XZiG^{\top}_{X,A}-F_{A}\Pi_{X}=\sum_{i\in X}Z_{i}. We apply matrix Bernstein’s inequality.

Thus, we have the bound that ∥∑iZi∥=O(max⁡(∥FA∥1,∥P⊤ΠX∥∞))\|\sum_{i}Z_{i}\|=O(\max(\sqrt{\|F_{A}\|_{1}},\sqrt{\|P^{\top}\Pi_{X}\|_{\infty}})). The concentration of the mean term follows from this result. □\Box

Let ΨX\Psi_{X} be the matrix with columns ψi\psi_{i}, for i∈Xi\in X. We have

When partitions X,AX,A satisfy (70), ε1,ε2,ε3\varepsilon_{1},\varepsilon_{2},\varepsilon_{3} are small.

Since O((α0+1)/αmin⁡∣X∣)<1O((\alpha_{0}+1)/\alpha_{\min}|X|)<1, the variance dominates in Matrix Bernstein’s inequality.

Let B:=∣X∣−1ΨXΨX⊤B:=|X|^{-1}\Psi_{X}\Psi_{X}^{\top}. We have with probability 1−δ1-\delta,

From Lemma C.11, with probability 1−δ1-\delta,

C.5 Properties of Dirichlet Distribution

In this section, we list various properties of Dirichlet distribution.

We first note that the Dirichlet distribution Dir⁡(α)\operatorname{Dir}(\alpha) is sparse depending on values of αi\alpha_{i}, which is shown in Telgarsky .

Let reals τ∈(0,1]\tau\in(0,1], αi>0\alpha_{i}>0, α0:=∑iαi\alpha_{0}:=\sum_{i}\alpha_{i} and integers 1≤s≤k1\leq s\leq k be given. Let (Xi,…,Xk)∼Dir⁡(α)(X_{i},\ldots,X_{k})\sim\operatorname{Dir}(\alpha). Then

We now show that we obtain good initialization vectors under Dirichlet distribution.

Arrange the α^j\widehat{\alpha}_{j}’s in ascending order, i.e. α^1=α^min⁡≤α^2…≤α^k=α^max⁡\widehat{\alpha}_{1}=\widehat{\alpha}_{\min}\leq\widehat{\alpha}_{2}\ldots\leq\widehat{\alpha}_{k}=\widehat{\alpha}_{\max}. Recall that columns vectors W^A⊤Gi,A⊤\hat{W}_{A}^{\top}G^{\top}_{i,A}, for i∉Ai\notin A, are used as initialization vectors to the tensor power method. We say that ui:=W^A⊤Gi,A⊤∥W^A⊤Gi,A⊤∥u_{i}:=\frac{\hat{W}_{A}^{\top}G^{\top}_{i,A}}{\|\hat{W}_{A}^{\top}G^{\top}_{i,A}\|} is a (γ,R0)(\gamma,R_{0})-good initialization vector corresponding to j∈[k]j\in[k] if

When πi∼iidDir⁡(α)\pi_{i}{\overset{iid}{\sim}}\operatorname{Dir}(\alpha), and αj<1\alpha_{j}<1, let

For j∈[k]j\in[k], there is at least one (γ−2Δr0−Δ,r0−Δ)(\gamma-\frac{2\Delta}{r_{0}-\Delta},r_{0}-\Delta)-good vector corresponding to each Φj\Phi_{j}, for j∈[k]j\in[k], among {ui}i∈[n]\{u_{i}\}_{i\in[n]} with probability 1−9δ1-9\delta, when

where c1:=(1+8log⁡4)c_{1}:=(1+\sqrt{8\log 4}) and c2:=4/3(log⁡4)c_{2}:=4/3(\log 4), when

When α0<1\alpha_{0}<1, the bound can be improved for r0∈(0.5,(α0+1)−1)r_{0}\in(0.5,(\alpha_{0}+1)^{-1}) and 1−γ≥1−r0r01-\gamma\geq\frac{1-r_{0}}{r_{0}} as

When r0r_{0} is chosen as r0=αmax⁡−1/2(α0+c1k)−1r_{0}=\alpha_{\max}^{-1/2}(\sqrt{\alpha_{0}}+c_{1}\sqrt{k})^{-1}, the term er0α^max⁡1/2(α0+c1kα0)=ee^{r_{0}\widehat{\alpha}_{\max}^{1/2}(\alpha_{0}+c_{1}\sqrt{k\alpha_{0}})}=e, and we require

by substituting c2/c1=0.43c_{2}/c_{1}=0.43. Moreover, (90) is satisfied for the above choice of r0r_{0} when γ=Θ(1)\gamma=\Theta(1).

In this case we also need Δ<r0/2\Delta<r_{0}/2, which implies

In this regime, (91) implies that we require n=Ω(α^min⁡−1)n=\Omega(\widehat{\alpha}_{\min}^{-1}). Also, r0r_{0} is a constant, we just need ζ=O(n/ρ)\zeta=O(\sqrt{n}/\rho).

If we perturb a (γ,r0)(\gamma,r_{0}) good vector by Δ\Delta (while maintaining unit norm), then it is still (γ−2Δr0−Δ,r0−Δ)(\gamma-\frac{2\Delta}{r_{0}-\Delta},r_{0}-\Delta) good.

since P(Yj≥t)≤tαj−1e−t≤e−tP(Y_{j}\geq t)\leq t^{\alpha_{j}-1}e^{-t}\leq e^{-t} when t>1t>1 and αj≤1\alpha_{j}\leq 1. Applying vector Bernstein’s inequality, we have with probability 0.5−e−m0.5-e^{-m} that

assuming that (1−γ)r0α^min⁡1/2t>1(1-\gamma)r_{0}\widehat{\alpha}_{\min}^{1/2}t>1.

Choosing tt as in (95), we have the probability of the event in (94) is greater than

Similarly the (marginal) probability of events A2{\cal A}_{2} can be bounded from below by replacing αmin⁡\alpha_{\min} with α2\alpha_{2} and so on. Thus, we have

Thus, we have each of the events A1(i)∩B(i),A2(i)∩B(i),…,Ak∩B(i){\cal A}_{1}(i)\cap{\cal B}(i),{\cal A}_{2}(i)\cap{\cal B}(i),\ldots,{\cal A}_{k}\cap{\cal B}(i) occur at least once in i∈[n]i\in[n] i.i.d. tries with probability

We can improve the above bound by directly working with the Dirichlet distribution. Let π∼Dir⁡(α)\pi\sim\operatorname{Dir}(\alpha). The desired event corresponding to j=1j=1 is given by

Thus, p≥α^min⁡(αmin⁡+1−r0(α0+1))(α0+1)(1−r0α^min⁡)p\geq\frac{\widehat{\alpha}_{\min}(\alpha_{\min}+1-r_{0}(\alpha_{0}+1))}{(\alpha_{0}+1)(1-r_{0}\widehat{\alpha}_{\min})}, which is useful when r0(α0+1)<1r_{0}(\alpha_{0}+1)<1. Also when π1≥r0\pi_{1}\geq r_{0}, we have that πi≤1−r0\pi_{i}\leq 1-r_{0} since πi≥0\pi_{i}\geq 0 and ∑iπi=1\sum_{i}\pi_{i}=1. Thus, choosing 1−γ=1−r0r01-\gamma=\frac{1-r_{0}}{r_{0}}, we have the other conditions for A1{\cal A}_{1} are satisfied. Also, verify that we have γ<1\gamma<1 when r0>0.5r_{0}>0.5 and this is feasible when α0<1\alpha_{0}<1. □\Box

We now prove a result that the entries of πi\pi_{i}, which are marginals of the Dirichlet distribution, are likely to be small in the sparse regime of the Dirichlet parameters. Recall that the marginal distribution of πi\pi_{i} is distributed as B(αi,α0−αi)B(\alpha_{i},\alpha_{0}-\alpha_{i}), where B(a,b)B(a,b) is the beta distribution and

For Z∼B(a,b)Z\sim B(a,b), the following results hold:

The guarantee for b≥1b\geq 1 is worse and this agrees with the intuition that the Dirichlet vectors are more spread out (or less sparse) when b=α0−αib=\alpha_{0}-\alpha_{i} is large.

The last inequality uses the fact that ex≥1+xe^{x}\geq 1+x for all xx. Now

When b≥1b\geq 1, we have an alternative bound. We use the fact that if X∼Γ(a,1)X\sim\Gamma(a,1) and Y∼Γ(b,1)Y\sim\Gamma(b,1) then Z∼X/(X+Y)Z\sim X/(X+Y). Since YY is distributed as Γ(b,1)\Gamma(b,1), its PDF is 1Γ(b)xb−1e−x\frac{1}{\Gamma(b)}x^{b-1}e^{-x}. This is proportional to the PDF of Γ(1)\Gamma(1) (e−xe^{-x}) multiplied by a increasing function xb−1x^{b-1}.

Therefore we know Pr⁡[Y≥t]≥Pr⁡Y′∼Γ(1)[Y′≥t]=e−t\Pr[Y\geq t]\geq\Pr_{Y^{\prime}\sim\Gamma(1)}[Y^{\prime}\geq t]=e^{-t}.

Now we use this bound to compute the probability that Z≤1/RZ\leq 1/R for all R≥1R\geq 1.

In particular, Pr⁡[Z≤C]≥Ca\Pr[Z\leq C]\geq C^{a}, which means Pr⁡[Z≥C]≤1−Ca≤alog⁡(1/C)\Pr[Z\geq C]\leq 1-C^{a}\leq a\log(1/C).

C.5.2 Norm Bounds

For πi∼iidDir⁡(α)\pi_{i}{\overset{iid}{\sim}}\operatorname{Dir}(\alpha) for i∈Ai\in A, with probability 1−δ1-\delta, we have

This implies that ∥FA∥≤∥P∥∣A∣α^max⁡\left\|F_{A}\right\|\leq\left\|P\right\|\sqrt{|A|\widehat{\alpha}_{\max}}, κ(FA)≤O(κ(P)(α0+1)α^max⁡/α^min)\kappa(F_{A})\leq O(\kappa(P)\sqrt{(\alpha_{0}+1)\widehat{\alpha}_{\max}/\widehat{\alpha}_{min}}). Moreover, with probability 1−δ1-\delta

When ∣A∣=Ω(log⁡kδ(α0+1α^min⁡)2)|A|=\Omega\left(\log\frac{k}{\delta}\left(\frac{\alpha_{0}+1}{\widehat{\alpha}_{\min}}\right)^{2}\right), we have σmin⁡(ΠA)=Ω(∣A∣α^min⁡α0+1)\sigma_{\min}(\Pi_{A})=\Omega(\sqrt{\frac{|A|\widehat{\alpha}_{\min}}{\alpha_{0}+1}}) with probability 1−δ1-\delta for any fixed δ∈(0,1)\delta\in(0,1).

Proof: Consider ΠAΠA⊤=∑i∈Aπiπi⊤\Pi_{A}\Pi_{A}^{\top}=\sum_{i\in A}\pi_{i}\pi_{i}^{\top}.

For the result on FF, we use the property that for any two matrices A,BA,B, ∥AB∥≤∥A∥∥B∥\left\|AB\right\|\leq\left\|A\right\|\left\|B\right\| and κ(AB)≤κ(A)κ(B)\kappa(AB)\leq\kappa(A)\kappa(B).

C.5.3 Properties of Gamma and Dirichlet Distributions

Recall Gamma distribution Γ(α,β)\Gamma(\alpha,\beta) is a distribution on nonnegative real values with density function βαΓ(α)xα−1e−βx\frac{\beta^{\alpha}}{\Gamma(\alpha)}x^{\alpha-1}e^{-\beta x}.

The following facts are known for Dirichlet distribution and Gamma distribution.

Let Yi∼Γ(αi,1)Y_{i}\sim\Gamma(\alpha_{i},1) be independent random variables, then the vector (Y1,Y2,...,Yk)/∑i=1kYk(Y_{1},Y_{2},...,Y_{k})/\sum_{i=1}^{k}Y_{k} is distributed as Dir(α)Dir(\alpha).

The Γ\Gamma function satisfies Euler’s reflection formula: Γ(1−z)Γ(z)≤π/sin⁡πz\Gamma(1-z)\Gamma(z)\leq\pi/\sin\pi_{z}.

There exists a universal constant CC such that Γ(z)≤C/z\Gamma(z)\leq C/z when 0<z<10<z<1.

For Y∼Γ(α,1)Y\sim\Gamma(\alpha,1) and t>0t>0 and α∈(0,1)\alpha\in(0,1), we have

Proof: The bounds in (102) is derived using the fact that 1≤Γ(α)≤C/α1\leq\Gamma(\alpha)\leq C/\alpha when α∈(0,1)\alpha\in(0,1) and

Suppose v∼Dir(α)v\sim Dir(\alpha), the moments of vv satisfies the following formulas:

More generally, if a(t)=∏i=0t−1(a+i)a^{(t)}=\prod_{i=0}^{t-1}(a+i), then we have

C.6 Standard Results

One of the key tools we use is the standard matrix Bernstein inequality [Tropp, 2012, thm. 1.4].

WjW_{j} are independent random matrices with dimension d1×d2d_{1}\times d_{2},

∥Wj∥≤R\left\|W_{j}\right\|\leq R almost surely.

We will require a vector version of the Chebyshev inequality Ferentios .

We make use of Wedin’s theorem to control subspace perturbations.