Community Detection and Stochastic Block Models

Emmanuel Abbe

Chapter 1 Introduction

The most basic task of community detection, or graph clustering, consists in partitioning the vertices of a graph into clusters that are more densely connected. From a more general point of view, community structures may also refer to groups of vertices that connect similarly to the rest of the graph without having necessarily a higher inner density, such as disassortative communities that have higher external connectivity. Note that the terminology of ‘community’ is sometimes used only for assortative clusters in the literature, but we adopt here the more general definition. Community detection may also be performed on graphs where edges have labels or intensities, and if these labels represent similarities among data points, the problem may be called data clustering. In this monograph, we will use the terms communities and clusters exchangeably. Further, one may also have access to interactions that go beyond pairs of vertices, such as in hypergraphs, and communities may not always be well separated due to overlaps. In the most general context, community detection refers to the problem of inferring similarity classes of vertices in a network by having access to measurements of local interactions.

Community detection and clustering are central problems in machine learning and data science. A large number of data sets can be represented as a network of interacting items, and one of the first features of interest in such networks is to understand which items are “alike,” as an end or as a preliminary step towards other learning tasks. Community detection is used in particular to understand sociological behavior [GZFA10, For10, NWS], protein to protein interactions [CY06, MPN+99], gene expressions [CSC+07, JTZ04], recommendation systems [LSY03, SC11, WXS+15], medical prognosis [SPT+01], DNA 3D folding [CAT15], image segmentation [SM97], natural language processing [BKN11], product-customer segmentation [CNM04], webpage sorting [KRRT99], and more.

The field of community detection has been expanding greatly since the 1980’s, with a remarkable diversity of models and algorithms developed in different communities such as machine learning, computer science, network science, social science and statistical physics. These rely on various benchmarks for finding clusters, in particular, cost functions based on cuts or modularities [GN02]. We refer to [New10, For10, GZFA10, NWS] for an overview of these developments.

Nonetheless, various fundamental questions remain unsettled, such as:

When are there really communities? Algorithms may output community structures, but are these meaningful or artefacts?

Can we always extract the communities when they are present; fully, partially?

What is a good benchmark to measure the performance of algorithms, and how good are the current algorithms?

The goal of this monograph is to describe recent developments aimed at answering these questions in the context of block models. Block models are a family of random graphs with planted clusters. The “mother model” is the stochastic block model (SBM), which has been widely employed as a canonical model for community detection. It is arguably the simplest model of a graph with communities (see definitions in the next section). Since the SBM is a generative model, it benefits from a ground truth for the communities, which allows us to consider the previous questions in a formal context. Like any model, it is not necessarily realistic, but it is insightful - judging for example from the powerful algorithms that have emerged from its study.

In a sense, the SBM plays a similar role to the discrete memoryless channel (DMC) in information theory. While the task of modelling external noise may be more amenable to simplifications than real data sets, the SBM captures some of the key bottleneck phenomena for community detection and admits many possible refinements that improve its fit to real data. Our focus here will be on the fundamental understanding of the “canonical SBM,” without diving too much into the refined extensions.

Further generalizations allow for labelled edges and continuous vertex labels, connecting to low-rank approximation models and graphons (using the latter terminology as adapted in the statistics literature). For example, a spiked Wigner model with observation Y=XXT+ZY=XX^{T}+Z, where XX is an unknown vector and ZZ is Wigner, can be viewed as a labeled graph where edge (i,j)(i,j)’s label is given by Yij=XiXj+ZijY_{ij}=X_{i}X_{j}+Z_{ij}. If the XiX_{i}’s take discrete values, e.g., {1,−1}\{1,-1\}, this is closely related to the stochastic block model—see [DAM15] for a precise connection. Continuous labels can also model Euclidean connectivity kernels, an important setting for data clustering. In general, models where a collection of variables {Xi}\{X_{i}\} have to be recovered from noisy observations {Yij}\{Y_{ij}\} that are stochastic functions of Xi,XjX_{i},X_{j}, or more generally that depend on local interactions of some of the XiX_{i}’s, can be viewed as inverse problems on graphs or hypergraphs that bear similarities with the basic community detection problems discussed here. This concerns in particular topic modelling, ranking, synchronization problems and other unsupervised learning problems. We refer to Section 9 for further discussion on these. The specificity of the stochastic block model is that the input variables are discrete.

A first hint at the centrality of the SBM comes from the fact that the model appeared independently in numerous scientific communities. It appeared under the SBM terminology in the context of social networks in the machine learning and statistics literature [HLL83], while the model is typically called the planted partition model in theoretical computer science [BCLS87, DF89, Bop87], and the inhomogeneous random graph in the mathematics literature [BJR07]. The model takes also different interpretations, such as a planted spin-glass model [DKMZ11], a sparse-graph code [ABH16, AS15a] or a low-rank (spiked) random matrix model [McS01, Vu14, DAM15] among others.

In addition, the SBM has recently turned into more than a model for community detection. It provides a fertile ground for studying various central questions in machine learning, computer science and statistics: It is rich in phase transitions [DKMZ11, Mas14, MNS, ABH16, AS15a], allowing us to study the interplay between statistical and computational barriers [YC14, AS15d, BMNN16, AS17], as well as the discrepancies between probabilstic and adversarial models [MPW16], and it serves as a test bed for algorithms, such as SDPs [ABH16, WXH15, HWX15a, GV16, AL14, ABKK15, MS16, PW], spectral methods [Vu14, XLM14, Mas14, KMM+13, BLM15, YP14a], and belief propagation [DKMZ11, AS15c].

2 Fundamental limits: information and computation

This monograph focuses on the fundamental limits of community detection. The term ‘fundamental limit’ is used to emphasize the fact that we seek conditions for recovering the communities that are necessary and sufficient. In the information-theoretic sense, this means finding conditions under which a given task can or cannot be resolved irrespective of complexity or algorithmic considerations, whereas in the computational sense, this further constrains the algorithms to run in polynomial time in the number of vertices. As we shall see in this monograph, such fundamental limits are often expressed through phase transitions, which provide sharp transitions in the relevant regimes between phases where the given task can or cannot be resolved.

Fundamental limits have proved to be instrumental in the developments of algorithms. A prominent example is Shannon’s coding theorem [Sha48], which gives a sharp threshold for coding algorithms at the channel capacity, and which has led the development of coding algorithms for more than 60 years (e.g., LDPC, turbo or polar codes) at both the theoretical and practical level [RU01]. Similarly, the SAT threshold [ANP05] has driven the developments of a variety of satisfiability algorithms such as survey propagation [MPZ03].

In the area of clustering and community detection, where establishing rigorous benchmarks is a long standing challenge, the quest of fundamental limits and phase transitions is also impacting the development of algorithms. As discussed in this monograph, this has already lead to developments of algorithms such as sphere-comparisons, linearized belief propagation, nonbacktracking spectral methods. Fundamental limits also shed light on the limitations of the model versus those of the algorithms used; see Section 1.3. However, unlike in the data transmission context of Shannon, information-theoretic limits may not always be efficiently achievable in community detection, with information-computation gaps that may emerge as discussed in Section 8.

3 An example on real data

This monograph focuses on the fundamentals of community detection, but we want to give an application example here. We use the blogosphere data set from the 2004 US political elections [AG05] as an archetype example.

Consider the problem where one is interested in extracting features about a collection of items, in our case n=1,222n=1,222 individuals writing about US politics, observing only some of their interactions. In our example, we have access to which blogs refers to which (via hyperlinks), but nothing else about the content of the blogs. The hope is to extract knowledge about the individual features from these simple interactions.

To proceed, build a graph of interaction among the nn individuals, connecting two individuals if one refers to the other, ignoring the direction of the hyperlink for simplicity. Assume next that the data set is generated from a stochastic block model; assuming two communities is an educated guess here, but one can also estimate the number of communities (e.g., as in [AS15d]). The type of algorithms developed in Sections 7.2 and 7.1 can then be run on this data set, and two assortative communities are obtained. In the paper [AG05], Adamic and Glance recorded which blogs are right or left leaning, so that we can check how much agreement the algorithms give with the true partition of the blogs. The results give about 95% agreement on the blogs’ political inclinations (which is roughly the state-of-the-art [New11, Jin15, GMZZ15]).

Despite the fact that the blog data set is particularly ‘well behaved’–there are two dominant clusters that are well balanced and well separated–the above approach can be applied to a broad collection of data sets to extract knowledge about the data from graphs of similarities or interactions. In some applications, the graph is obvious (such as in social networks with friendships), while in others, it is engineered from the data set based on metrics of similarity/interactions that need to be chosen properly (e.g, similarity of pixels in image segmentation). The goal is to apply such approaches to problems where the ground truth is unknown, such as to understand biological functionality of protein complexes; to find genetically related sub-populations; to make accurate recommendations; medical diagnosis; image classification; segmentation; page sorting; and more (see references in the introduction).

In such cases where the ground truth is not available, a key question is to understand how reliable the algorithms’ outputs may be. We now discuss how the results presented in this monograph add to this question. Following the definitions from Sections 7.2 and 7.1, the parameters estimated by fitting an SBM on this data set in the constant degree regime are

Following the definitions of Theorem 30 from Section 7.2, we can now compute the SNR for these parameters in the constant-degree regime, obtaining λ22/λ1≈18\lambda_{2}^{2}/\lambda_{1}\approx 18 which is much greater than 1. Thus, under an SBM model, the data is largely in a regime where communities can be detected, i.e., above the weak recovery threshold. Following the definitions of Theorem 25 from Section 7.1, we can also compute the CH-divergence for these parameters in the logarithmic-degree regime, obtaining J(p,Q)≈2J(p,Q)\approx 2 which is also greater than 1. Thus, under an SBM and with an asymptotic approximation, the data is in a regime where the graph communities can in fact be recovered entirely, i.e, above the exact recovery threshold. This does not answer whether the SBM is a good or a bad model, but it gives that under this model, the data appears to be in a strong ‘clusterable regime.’

Note also that such a conclusion may not appear using a specific algorithm, e.g., one that is sensitive to the degree variations and that may split the vertices into high vs. low-degree vertices. This prompted for example the development of degree-corrected SBMs in [KN11], as the algorithm used in [KN11] for the blog data set with the fitting of an SBM failed for such reasons. However, how do we know whether the failure is due to the model or the algorithm? By establishing the fundamental limits on the SBM, we will find algorithms that are ‘maximally’ robust by succeeding in the most challenging regimes, i.e., down to the fundamental limits, which achieve in particular the positive accuracy for the blog data set described in Figure 1.2. We also refer to Section 5.3.2 for discussions on the robustness of algorithms to degree variations.

4 Historical overview of the recent developments

This section provides a brief historical overview of the recent developments discussed in this monograph. The resurgent interest in the SBM and its ‘modern study’ have been initiated in part due to the paper of Decelle, Krzakala, Moore and Zdeborová [DKMZ11], which conjecturedThe conjecture of the Kesten-Stigum threshold in [DKMZ11] was formulated with what we call in this note the max-detection criteria, asking for an algorithm to output a reconstruction of the communities that strictly improves on the trivial performance achieved by putting all the vertices in the largest community. This conjecture is formally incorrect for general SBMs, see [AS17] for a counter-example, as the notion of max-detection is too strong in some cases. The conjecture is believed to hold for symmetric SBMs, as re-stated in [MNS15], but it requires a different notion of detection to hold for general SBMs; see definitions from [AS17] discussed in Section 7.2. phase transition phenomena for the weak recovery (a.k.a. detection) problem at the Kesten-Stigum threshold and the information-computation gap at 4 symmetric communities in the symmetric case. These conjectures are backed in [DKMZ11] with insights from statistical physics, based on the cavity method (belief propagation), and provide a detailed picture of the weak recovery problem, both for the algorithmic and information-theoretic behavior. With such insights, a new research program started driven by the phase transition phenomena.

One of the first papers that obtained a non-trivial algorithmic result for the weak recovery problem is [CO10] from 2010, which appeared before the conjecture (and does not achieve the threshold by a logarithmic degree factor). The first paper that made progress on the conjecture is [MNS15] from 2012, which proved the impossibility part of the conjecture for two symmetric communities, introducing various key concepts in the analysis of block models. In 2013, [MNS13] also obtained a result on the partial recovery of the communities, expressing the optimal fraction of mislabelled vertices when the signal-to-noise ratio is large enough in terms of the broadcasting problem on trees [KS66, EKPS00].

The positive part of the conjecture for efficient algorithm and two communities was first proved in 2014 with [Mas14] and [MNS], using respectively a spectral method from the matrix of self-avoiding walks and weighted non-backtracking walks between vertices.

In 2014, [ABH14, ABH16] and [MNS14] found that the exact recovery problem for two symmetric communities has also a phase transition, in the logarithmic rather than constant degree regime, shown to be also efficiently achievable. This relates to a large body of work from the first decades of research on the SBM [BCLS87, DF89, Bop87, SN97, CK99, McS01, BC09, CWA12, Vu14, YC14], driven by the exact or almost exact recovery problems without sharp thresholds.

In 2015, the phase transition for exact recovery was obtained for the general SBM [AS15a, AS15d], and shown to be efficiently achievable irrespective of the number of communities. For the weak recovery problem, [BLM15] showed that the Kesten-Stigum threshold can be achieved with a spectral method based on the nonbacktracking (edge) operator in a fairly general setting (covering SBMs that are not necessarily symmetric), but felt short of settling the conjecture for more than two communities in the symmetric case due to technical reasons. The approach of [BLM15] is based on the ‘spectral redemption’ conjecture made in 2013 in [KMM+13], which introduced the use of the nonbacktracking operator as a linearization of belief propagation. This is one of the most elegant approaches to the weak recovery problem, except perhaps for the fact that the matrix is not symmetric (note that the first proof of [Mas14] does provide a solution with a symmetric matrix via the count of self-avoiding walks, albeit less direct to construct). The general conjecture for arbitrary many symmetric or asymmetric communities is settled later in 2015 with [AS15c, AS17], relying on a higher-order nonbacktracking matrix and a message passing implementation. It was further shown in [AS15c, AS17] that it is possible to cross information-theoretically the Kesten-Stigum threshold in the symmetric case at 4 communities, settling both positive parts of the conjectures from [DKMZ11]. Crossing at 5 rather than 4 communities is also obtained in [BM16, BMNN16], which further obtains the scaling of the information-theoretic threshold for a growing number of communities.

In 2016, a tight expression was obtained for partial recovery with two communities in the regime of finite SNR with diverging degrees in [DAM15] and [MX15] for a different distortion measure. This also gives the threshold for weak recovery in the regime where the SNR is finite while the degrees are diverging.

Other major lines of work on the SBM have been concerned with the performance of SDPs, with a precise picture obtained in [GV16, MS16, JMR16] for the weak recovery problem and in [ABH16, WXH15, AL14, Ban15, ABKK15, PW] for the (almost) exact recovery problem; as well as with spectral methods on classical operators [McS01, CO10, CRV15, XLM14, Vu14, YP14a, YP15]. A detailed picture has also been developed for the problem of a single planted community in [Mon15, HWX15c, HWX15b, CLM16]. Recently, attention has been paid to graphs that have a larger number of short loops [AMM+17, ABS17a, GMPS17, ABS17b]. There is a much broader list of works on the SBMs that is not covered in this monograph, especially before the ‘recent developments’ discussed above but also after. It is particularly challenging to track the vast literature on this subject as it is split between different communities of statistics, machine learning, mathematics, computer science, information theory, social sciences and statistical physics. This monograph mainly covers developments until 2016, with some references from 2017 There a few additional surveys available; community detection and statistical network models are discussed in [New10, For10, GZFA10], and C. Moore has a recent overview paper [Moo17] that focuses on the weak recovery problem with emphasis on the cavity method.

In the table below, we summarize the main thresholds proved for weak and exact recovery, covered in several chapters of this monograph:

5 Outline

In the next section, we formally define the SBM and various recovery requirements for community detection, namely exact, weak, and partial recovery. We then start with a quick overview of the key approaches for these recovery requirements in Section 3, introducing the key new concepts obtained in the recent developments. We then treat each of these three recovery requirements separately for the two community SBM in Sections 7.1, 7.2 and 6 respectively, discussing both fundamental limits and efficient algorithms. We give complete (and revised) proofs for exact recovery and partial proofs for weak and partial recovery. We then move to the results for the general SBM in Section 7. In Section 9 we discuss other block models, such as geometric block models, and in Section 10 we give concluding remarks and open problems.

6 Notations

We use the standard little-o and big-o notations. Recall that an=Ω(bn)a_{n}=\Omega(b_{n}) means that bn=O(an)b_{n}=O(a_{n}), and an=ω(bn)a_{n}=\omega(b_{n}) means that bn=o(an)b_{n}=o(a_{n}). In particular, an=o(1)a_{n}=o(1) means that ana_{n} is vanishing, an=Ω(1)a_{n}=\Omega(1) means that ana_{n} is non-vanishing, and an=ω(1)a_{n}=\omega(1) means that ana_{n} is diverging. We use an≲bna_{n}\lesssim b_{n} when an=Ω(bn)a_{n}=\Omega(b_{n}); an≪bna_{n}\ll b_{n} when an=o(bn)a_{n}=o(b_{n}) (and an≫bna_{n}\gg b_{n} when bn=o(an)b_{n}=o(a_{n})); an=Θ(bn)a_{n}=\Theta(b_{n}), or equivalently an≍bna_{n}\asymp b_{n}, when we simultaneously have an=Ω(bn)a_{n}=\Omega(b_{n}) and an=O(bn)a_{n}=O(b_{n}); an∼bna_{n}\sim b_{n} when an=bn(1+o(1))a_{n}=b_{n}(1+o(1)).

Chapter 2 The stochastic block model

The history of the SBM is long, and we omit a comprehensive treatment here. As mentioned earlier, the model appeared independently in multiple scientific communities: the term SBM, which seems to have dominated in the recent years, comes from the machine learning and statistics literature [HLL83], while the model is typically called the planted partition model in theoretical computer science [BCLS87, DF89, Bop87], and the inhomogeneous random graphs model in the mathematics literature [BJR07].

Thus the distribution of (X,G)(X,G) where G=([n],E(G))G=([n],E(G)) is defined as follows; for x∈[k]nx\in[k]^{n} and y∈{0,1}(n2)y\in\{0,1\}^{{n\choose 2}},

Except for Section 10, we assume that pp does not scale with nn, whereas WW typically does. As a consequence, the number of communities does not scale with nn and the communities have linear size. Nonetheless, various results discussed in this monograph should extend (by inspection) to cases where kk is growing slowly enough.

Note that by the law of large numbers, almost surely,

Alternative definitions of the SBM require XX to be drawn uniformly at random with the constraint that 1n∣{v∈[n]:Xv=i}∣=pi+o(1)\frac{1}{n}|\{v\in[n]:X_{v}=i\}|=p_{i}+o(1), or 1n∣{v∈[n]:Xv=i}∣=pi\frac{1}{n}|\{v\in[n]:X_{v}=i\}|=p_{i} for consistent values of nn and pp (e.g., n/2n/2 being an integer for two symmetric communities). For the purpose of this paper, these definitions are essentially equivalent, and we may switch between the models to simplify some proofs.

Note also that if all entries of WW are the same, then the SBM collapses to the Erdős-Rényi random graph, and no meaningful reconstruction of the communities is possible.

2 The symmetric SBM

The SBM is called symmetric if pp is uniform and if WW takes the same value on the diagonal and the same value outside the diagonal.

3 Recovery requirements

The goal of community detection is to recover the labels XX by observing GG, up to some level of accuracy. We next define the notions of agreement.

The agreement between two community vectors x,y∈[k]nx,y\in[k]^{n} is obtained by maximizing the common components between xx and any relabelling of yy, i.e.,

Note that the relabelling permutation is used to handle symmetric communities such as in SSBM, as it is impossible to recover the actual labels in this case, but we may still hope to recover the partition. In fact, one can alternatively work with the community partition Ω=Ω(X)\Omega=\Omega(X), defined earlier as the unordered collection of the kk disjoint unordered subsets Ω1,…,Ωk\Omega_{1},\dots,\Omega_{k} covering [n][n] with Ωi={u∈[n]:Xu=i}\Omega_{i}=\{u\in[n]:X_{u}=i\}. It is however often convenient to work with vertex labels. Further, upon solving the problem of finding the partition, the problem of assigning the labels is often a much simpler task. It cannot be resolved if symmetry makes the community label non identifiable, such as for SSBM, and it is trivial otherwise by using the community sizes and clusters/cuts densities.

and ∥p∥22=1/k\|p\|_{2}^{2}=1/k in the case of pp uniform. Thus an agreement becomes interesting only when it is above this value.

One can alternatively define a notion of component-wise agreement. Define the overlap between two random variables X,YX,Y on [k][k] as

and O∗(X,Y)=max⁡π∈SkO(X,π(Y))O^{*}(X,Y)=\max_{\pi\in S_{k}}O(X,\pi(Y)). In this case, for X,X^X,\hat{X} i.i.d. under pp, we have O∗(X,X^)=0O^{*}(X,\hat{X})=0.

When discussing impossibility for weak recovery in the SSBM (Section 5.2.1), we also use an alternative definition for which the conditional mutual information between an arbitrary pair of vertices u≠vu\neq v vanishes, i.e.,

as n→∞n\to\infty. Note that if this mutual information between two arbitrary vertices uu and vv is vanishing, i.e., the two vertex labels are asymptotically independent conditioned on the graph, then it is not possible to obtain a reconstruction of all vertices that solves weak recovery.

All recovery requirements in this note are going to be asymptotic, taking place with high probability as nn tends to infinity. We also assume in the following sections—except for Section 2.5—that the parameters of the SBM are known when designing the algorithms.

Different terminologies are sometimes used in the literature, with following equivalences:

almost exact recovery   ⟺  \iff weak consistency

Sometimes ‘exact recovery’ is also called just ‘recovery’ and ‘almost exact recovery’ is called ‘strong recovery.’

As mentioned above, values of α\alpha that are too small may not be interesting or realizable. In the symmetric SBM with kk communities, an algorithm that ignores the graph and simply draws X^\hat{X} i.i.d. under pp achieves an accuracy of 1/k1/k. Thus the problem becomes interesting when α>1/k\alpha>1/k, leading to the following definition.

As shown in [AS17], the previous definition is not the right definition to capture the Kesten-Stigum threshold in the general case. In other words, the conjecture that max-detection is always possible above the Kesten-Stigum threshold is not accurate in general SBMs. Back to our example with communities of relative sizes (0.8,0.2)(0.8,0.2), an algorithm that could find a set containing 2/32/3 of the vertices from the large community and 1/31/3 of the vertices from the small community would not satisfy the above above weak recovery criteria, while the algorithm produces nontrivial amounts of evidence on what communities the vertices are in. To be more specific, consider a two community SBM where each vertex is in community 1 with probability 0.990.99, each pair of vertices in community 1 have an edge between them with probability 2/n2/n, while vertices in community 2 never have edges. Regardless of what edges a vertex has it is more likely to be in community 1 than community 2, so weak recovery according to the above definition is not impossible, but one can still divide the vertices into those with degree 0 and those with positive degree to obtain a non-trivial detection—see [AS17] for a formal counter-example.

Using the normalized agreement fixes this issue. Weak recovery can then be defined as obtaining with high probability a weighted agreement of

and this applies to the general SBM. Another definition of weak recovery that seems easier to manipulate and that implies the previous one is as follows; note that this definition requires a single partition even for the general SBM.

where we recall that Ωi={u∈[n]:Xu=i}\Omega_{i}=\{u\in[n]:X_{u}=i\}.

In other words, an algorithm solves weak recovery if it divides the graph’s vertices into two sets such that vertices from two different communities have different probabilities of being assigned to one of the sets. With this definition, putting all vertices in one community does not detect, since ∣Ωi∩S∣/∣Ωi∣=1|\Omega_{i}\cap S|/|\Omega_{i}|=1 for all i∈[k]i\in[k]. Further, in the symmetric SBM, this definition implies Definition 5 provided that we fix the output:

If an algorithm solves weak recovery in the sense of Definition 7 for a symmetric SBM, then it solves max-detection (or detection according to Decelle et al. [DKMZ11]), provided that we consider it as returning k−2k-2 empty sets in addition to its actual output.

See [AS16] for the proof. The above extends to other weakly symmetric SBMs, i.e., those that have constant expected degrees, but not all.

Finally, note that our notion of weak recovery requires us to separate at least two communities i,j∈[k]i,j\in[k]. One may ask for a definition where two specific communities need to be separated:

There are at least two additional questions that are natural to ask about SBMs, both can be asked for efficient or information-theoretic algorithms:

Distinguishability (or testing): Consider an hypothesis test where a random graph GG is drawn with probability 1/21/2 from an SBM model (with same expected degree in each community) and with probability 1/21/2 from an Erdős-Rényi model with matching expected degree. Is is possible to decide with asymptotic probability 1−o(1)1-o(1) from which ensemble the graph is drawn? In particular, this is not possible if the total variation distance between the two ensembles is vanishing. This problem is sometimes called ‘detection’, which partly explains why we prefer to use ‘weak recovery’ in lieu of ‘detection’ for the reconstruction problem discussed earlier. Distinguishability is further discussed in Section 8.

The obvious implications are: exact recovery ⇒\Rightarrow almost exact recovery ⇒\Rightarrow partial recovery ⇒\Rightarrow weak recovery ⇒\Rightarrow distinguishability, and almost exact recovery ⇒\Rightarrow learnability. Moreover, for symmetric SBMs with two symmetric communities: learnability ⇔\Leftrightarrow weak recovery ⇔\Leftrightarrow distinguishability, but these are broken for general SBMs; see Section 2.5.

4 SBM regimes and topology

Before discussing when the various recovery requirements can be solved or not in SBMs, it is important to recall a few topological properties of the SBM graph.

When all the entries of WW are the same and equal to ww, the SBM collapses to the Erdős-Rényi model G(n,w)G(n,w) where each edge is drawn independently with probability ww. Let us recall a few basic results for this model derived mainly from [ER60]:

G(n,clog⁡(n)/n)G(n,c\log(n)/n) is connected with high probability if and only if c>1c>1,

G(n,c/n)G(n,c/n) has a giant component (i.e., a component of size linear in nn) if and only if c>1c>1.

For a,b>0a,b>0, SSBM(n,k,alog⁡n/n,blog⁡n/n)(n,k,a\log n/n,b\log n/n) is connected with high probability if and only if a+(k−1)bk>1\frac{a+(k-1)b}{k}>1 (if aa or bb is equal to 0, the graph is of course not connected).

SSBM(n,k,a/n,b/n)(n,k,a/n,b/n) has a giant component (i.e., a component of size linear in nn) if and only if d:=a+(k−1)bk>1d:=\frac{a+(k-1)b}{k}>1,

and is not connected with high probability if min⁡i∈[k]∥(diag⁡(p)Q)i∥1<1\min_{i\in[k]}\|(\operatorname{diag}(p)Q)_{i}\|_{1}<1, where (diag⁡(p)Q)i(\operatorname{diag}(p)Q)_{i} is the ii-th column of diag⁡(p)Q\operatorname{diag}(p)Q.

These results are important to us as they already point regimes where exact or weak recovery are not possible. Namely, if the SBM graph is not connected, exact recovery is not possible (since there is no hope to label disconnected components with higher chance than 1/21/2), hence exact recovery can take place only if the SBM parameters are in the logarithmic degree regime. In other words, exact recovery in SSBM(n,k,alog⁡n/n,blog⁡n/n)(n,k,a\log n/n,b\log n/n) is not solvable if a+(k−1)bk<1\frac{a+(k-1)b}{k}<1. This is however unlikely to provide a tight condition, i.e., exact recovery is not equivalent to connectivity, and the next section will precisely investigate how much more than a+(k−1)bk>1\frac{a+(k-1)b}{k}>1 is needed to obtain exact recovery. Similarly, it is not hard to see that weak recovery is not solvable if the graph does not have a giant component, i.e., weak recovery is not solvable in SSBM(n,k,a/n,b/n)(n,k,a/n,b/n) if a+(k−1)bk<1\frac{a+(k-1)b}{k}<1, and we will see in Section 7.2 how much more is needed to go from the giant component to weak recovery.

5 Learning the model

In this section we overview the results on estimating the SBM parameters by observing a realization of the graph. The estimation problem tends to be ‘easier’ than the recovery problems, although some problems remain for the general sparse SBM, see Section 2.5.2. We consider first the case where degrees are diverging, where estimation can be obtained as a side result of universal almost exact recovery, and the case of constant degrees, where estimation can be performed without being able to recover the clusters but only above the weak recovery threshold.

For diverging degrees, one can estimate the parameters by first solving almost exact recovery without knowing the parameters, and proceeding then to estimate the parameters by simply computing the clusters’ cuts and volumes. This requires solving a potentially harder problem, but it turns out to be achievable:

The algorithm used in this theorem (agnostic-sphere-comparison) is discussed in section 6.1 in the context of two communities and is based on comparing neighborhoods of vertices. Note that assumption that δ\delta is given in this theorem can be removed when α=ω(1)\alpha=\omega(1), i.e., when the degrees diverge. We then obtain:

[AS15d] The number of communities kk, the community prior pp and the connectivity matrix QQ can be consistently estimated in quasi-linear time in SBM(n,p,ω(1)Q/n)(n,p,\omega(1)Q/n).

Note that for symmetric SBMs, certain algorithms such as SDPs or spectral algorithms discussed in Section 3 can also be used to recover the communities without knowledge of the parameters, and thus to learn the parameters in the symmetric case. A different line of work has also studied the problem of estimating ‘graphons’ [CWA12, ACC13, OW14] via block models, assuming regularity conditions on the graphon, such as piecewise Lipschitz, to obtain estimation guarantees. In addition, [BCS15] considers private graphon estimation in the logarithmic degree regime, and obtains a non-efficient procedure to estimate ‘graphons’ in an appropriate version of the L2L_{2} norm. More recently, [BCCG15] extends the type of results from [WO13] to a much more general family of ‘graphons’ and to sparser regimes (though still with diverging degrees) with efficient methods (based on degrees) and non-efficient methods (based on least square and least cut norm).

5.2 Constant degree regime

In the case of the constant degree regime, it is not possible to recover the clusters fully, and thus estimation has to be done differently. The first paper that shows how to estimate tightly the parameter in this regime is [MNS15], which is based on approximating cycle counts by nonbacktracking walks. An alternative method based on expectation-maximization using the Bethe free energy is also proposed in [DKMZ11] (without a rigorous analysis).

This theorem is extended in [AS15c] for the symmetric SBM with kk clusters, where kk is also estimated. The first step needed is the following estimate.

To see this lemma, note that there is a cycle on a given selection of mm vertices with probability

Since there are ∼nm/2m\sim n^{m}/2m such selections, the first moment follows. The second moment follows from the fact that overlapping cycles do not contribute to the second moment. See [MNS15] for proof details for the 2-SSBM and [AS15c] for the general SBM.

However, for the general SBM, the problem is more delicate and one has to first stabilize the cycle count statistics to extract the eigenvalues of PQPQ, and use weak recovery methods to further peel down the parameters pp and QQ. Deciding which parameters can or cannot be learned in the general SBM seems to be a non-trivial problem. This is also expected to come into play in the estimation of graphons [CWA12, ACC13, BCS15].

Chapter 3 Tackling the stochastic block model

In this section, we discuss how to tackle the problem of community detection for the various recovery requirements of Section 4. One feature of the SBM is that it can (and has) been viewed from many different angles. In particular, we will pursue here the algebraic and information-theoretic (or statistical) interpretations, viewing the SBM:

As a low-rank perturbation model: the adjacency matrix of the SBM has low rank in expectation; thus one may hope to characterize its behavior, e.g., its eigenvectors, as perturbations of its expected counterparts. For example, the expected adjacency matrix of a two-community SBM(n,p,Q/n)(n,p,Q/n) has the form:

As a noisy channel: the SBM graph can be viewed as the output on a channel that takes the community memberships as inputs. In particular, this corresponds to a memoryless channel encoded with a sparse graph code as in Figure 3.1.

A natural starting point (e.g., from viewpoint 2) is to resolve the estimation of XX from the noisy observation GG by taking the Maximum A Posteriori estimator. Upon observing GG, if one estimates the community partition Ω=Ω(X)\Omega=\Omega(X) with Ω^(G)\hat{\Omega}(G), the probability of error is given by

In the two-community case, denoting by NinN_{in} and NoutN_{out} the number of edges inside and across the clusters respectively,

i.e., a balanced partition with the least number of crossing edges.

Since MAP minimizes the probability of making an error for the reconstruction of the entire partition Ω\Omega, it minimizes the error probability for exact recovery. Thus, if MAP fails in solving exact recovery, no other algorithm can succeed. In addition, MAP may not be optimal for weak recovery, since the most likely partition may not necessarily maximize the agreement. To see this, consider for example the uniform SSBM in a sparse regime with a+ba+b slightly above 22. In this case, the graph has a giant component that contains less than half of the vertices, and there are various balanced partitions of the graph that have zero crossing edges (they separate the giant component from a collection of small disconnected components). Clearly, these are min-bisections, but they do not solve weak recovery. Nonetheless, weak recovery can still be solved in some of these cases:

Note that such an argument is harder to establish if one restricts the min-bisection to the giant component (though we still conjecture that MAP can fail at weak recovery with this restriction). We summarize the two points obtained so far:

Fact 1: If MAP does not solve exact recovery, then exact recovery is not solvable.

Fact 2: Weak recovery may still be solvable when MAP does not solve weak recovery.

2 Computing block MAP: spectral and SDP relaxations

Exactly resolving the maximization in (3.3) requires comparing exponentially many terms a priori, so the MAP estimator may not always reveal the computational threshold for exact recovery. In fact, in the worst-case model, min-bisection is NP-hard, and approximations leave a polylogarithmic integrality gap [KF06]. Various relaxations have been proposed for the MAP estimator. Here we review two of the main ideas.

Spectral relaxations. Consider again the symmetric SBM with strictly balanced communities. Recall that MAP maximizes

since this counts the number of edges inside the clusters minus the number of edges across the clusters, which is equivalent to the min-bisection problem (the total number of edges being fixed by the graph). The general idea behind spectral methods is to relax the integral constraint to an Euclidean constraint on real valued vectors. This leads to looking for a maximizer of

Without the constraint xt1n=0x^{t}1^{n}=0, the above maximization gives precisely the eigenvector corresponding to the largest eigenvalue of AA. Note that A1nA1^{n} is the vector containing the degrees of each node in gg, and when gg is an instance of the symmetric SBM, this concentrates to the same value for each vertex, and 1n1^{n} is close to an eigenvector of AA. Since AA is real symmetric, this suggests that the constraint xt1n=0x^{t}1^{n}=0 leads the maximization (3.6) to focus on the eigenspace orthogonal to the first eigenvector, and thus to the eigenvector corresponding to the second largest eigenvalue. Thus it is reasonable to take the second largest eigenvector ϕ2(A)\phi_{2}(A) of AA and round it to obtain an efficient relaxation of MAP:

We will discuss later on whether this is a good algorithm or not (in brief, it works well in the exact recovery regime but not in the weak recovery regime). Equivalently, one can write the MAP estimator as a minimizer of

since the above minimizes the size of the cut between two balanced clusters. From simple algebraic manipulations, this is equivalent to looking for minimizers of

where LL is the Laplacian of the graph, i.e.,

The challenge with such ‘basic’ spectral methods is that, as the graph becomes sparser, the fluctuations in the node degrees become more important, and this can disrupt the second largest eigenvector from concentrating on the communities (it may concentrate instead on large degree nodes). To analyze this, one may express the adjacency matrix as a perturbation of its expected value, i.e.,

When indexing the first n/2n/2 rows and columns to be in the same community, the expected adjacency matrix takes the following block structure

hence defining X:=xxtX:=xx^{t}, we can write (3.13) as

A possible approach to handle the constraint X1n=0X1^{n}=0 is to again use a centering of AA. For example, one can replace the adjacency matrix AA by the matrix BB such that Bij=1B_{ij}=1 if there is an edge between vertices ii and jj, and Bij=−1B_{ij}=-1 otherwise. Using −T-T for a large TT instead of −1-1 for non-edges would force the clusters to be balanced, and it turns out that −1-1 is already sufficient for our purpose. This gives another SDP:

We will further discuss the performance of SDPs in Section 4.3.2. In brief, they work well for exact recovery, and while they are suboptimal for weak recovery, they are not as senstive as vanilla spectral methods to degree variations. However, the complexity of SDPs is significantly higher than that of spectral methods. We will also discuss how other spectral methods can afford optimality in both the weak and exact recovery regimes while preserving a quasi-linear time complexity. Notice however that we are putting the cart before the horse by talking about weak recovery now: we viewed spectral and SDP methods as relaxations of the MAP estimator, which is only an optimal estimator for exact recovery. These relaxations may still work for weak recovery, but the connection is less clear. Let us thus move to what would be the objective of merit for weak recovery.

3 The bit MAP estimator

If block MAP is not optimal for weak recovery, what is the right objective? To answer this more easily in the symmetric SBM, we have to in some way break the symmetry again, as done in the previous section using the partition function Ω(X)\Omega(X). This is slightly more technical for weak recovery. We use a different trick to avoid uninteresting technicalities, and consider a weakly symmetric SBM. I.e., consider a two-community SBM with a Bernoulli prior given by (p1,p2)(p_{1},p_{2}), p1≠p2p_{1}\neq p_{2}, and connectivity Q/nQ/n such that PQPQ has two rows with the same sum. In other words, the expected degree of every vertex is the same (and weak recovery is non-trivial), but the model is slightly asymmetrical and one can determine the community labels from the partition. In this case, we can work with the agreement between the true labels and the algorithm reconstruction without use of the relabelling π\pi, i.e.,

Consider now an algorithm that maximizes the expected agreement, i.e,

To solve weak recovery, one needs a non-trivial expected agreement, and to maximize the above, one has to maximize each term given by

4 Computing bit MAP: belief propagation

Set v0v_{0} to be a specific vertex in GG. Let v1,...vmv_{1},...v_{m} be the vertices that are adjacent to v0v_{0}, and define the vectors q1,...,qmq_{1},...,q_{m} such that for each community ii and vertex vjv_{j},

Assume for a momentThis is where the symmetry breaking based on large degree vertices discussed in the previous footnote is convenient, as it allows to make the statement. that, ignoring v0v_{0}, the probability distributions of Xv1,Xv2,...,XvmX_{v_{1}},X_{v_{2}},...,X_{v_{m}} are asymptotically independent, i.e., for all x1,...,xmx_{1},...,x_{m},

This is a reasonable assumption in the sparse SBM because the graph is locally tree-like, i.e., with probability 1−o(1)1-o(1), for every ii and jj, every path between viv_{i} and vjv_{j} in G\{v0}G\backslash\{v_{0}\} has a length of Ω(log⁡n)\Omega(\log n). So we would expect that knowing the community of viv_{i} would provide little evidence about the community of vjv_{j}. Then, with high probability,

One can now iterate this reasoning. In order to estimate P[Xv=i∣G=g]P[X_{v}=i|G=g], one needs P[Xvj=i′∣G\{v}=g\{v}]P[X_{v_{j}}=i^{\prime}|G\backslash\{v\}=g\backslash\{v\}] for all community labels i′i^{\prime} and all vjv_{j} adjacent to vv. In order to compute those, one needs P(Xv′=i′∣G\{v,vj}=g\{v,vj})P(X_{v^{\prime}}=i^{\prime}|G\backslash\{v,v_{j}\}=g\backslash\{v,v_{j}\}) for all vjv_{j} adjacent to vv, v′v^{\prime} adjacent to vjv_{j}, and every community label i′i^{\prime}. To apply the formula recursively with tt layers of recursion, one needs an estimate of P(Xv0=i′∣G\{v1,...,vt}=g\{v1,...,vt})P(X_{v_{0}}=i^{\prime}|G\backslash\{v_{1},...,v_{t}\}=g\backslash\{v_{1},...,v_{t}\}) for every path v0,...,vtv_{0},...,v_{t} in GG. The number of these paths is exponential in tt, and so this approach would be inefficient. However, again due to the tree-like nature of the sparse SBM, it may be reasonable to assume that

which should hold as long as there is no small cycle containing vv, vjv_{j}, and v′v^{\prime}.

Therefore, using an initial estimate (qv,v′)i(q_{v,v^{\prime}})_{i} of P(Xv′=i∣G\{v}=g\{v})P(X_{v^{\prime}}=i|G\backslash\{v\}=g\backslash\{v\}) for each community ii and each adjacent vv and v′v^{\prime}, we can iteratively refine our beliefs using the following algorithm which is essentiallyOne should normally also factor in the non-edges, but we ignore these for now as their effect is negligible in BP, although we will factor them back in when discussing linearized BP. belief propagation (BP):

Belief Propagation Algorithm (t,q, p,Q, G):

Set q(0)=qq^{(0)}=q, where qq provides (qv,v′)i∈(q_{v,v^{\prime}})_{i}\in for all v,v′∈[n]v,v^{\prime}\in[n], i∈[k]i\in[k]; the initial belief that vertex v′v^{\prime} sends to vertex vv (one can set qv′,v=qv′′,vq_{v^{\prime},v}=q_{v^{\prime\prime},v}).

For each 0<t′<t0<t^{\prime}<t, each v∈Gv\in G, and each community ii, set

For each v∈Gv\in G and each community ii, set

This algorithm is efficient and terminates with a probability distribution for the community of each vertex given the graph, which seems to converge to the true distribution with enough iterations even with a random initialization. Showing this remains an open problem. Instead, we will discuss in Section 5.3.1 how one can linearize BP in order to obtain a version of BP that can be analyzed more easily. This linearization of BP will further lead to a new spectral method on an operator called the nonbacktracking operator (see Section 5.3.1), which connects us back to spectral methods without the issues mentioned previously for the adjacency matrix in the weak recovery regime (i.e., the sensitivity to degree variations).

Chapter 4 Exact recovery for two communities

Exact recovery for linear size communities has been one of the most studied problems for block models in its first decades. A partial list of papers is given by [BCLS87, DF89, Bop87, SN97, CK99, McS01, BC09, CWA12, Vu14, YC14]. In this line of work, the approach is mainly driven by the choice of the algorithms, and in particular for the model with two symmetric communities. The results are as followsSome of the conditions have been borrowed from attended talks and have not been double-checked.:

More recently, [Vu14] obtained a result for a spectral algorithm that works in the regime where the expected degrees are logarithmic, rather than poly-logarithmic as in [McS01, CWA12], extending results also obtained in [XLM14]. Note that exact recovery requires the node degrees to be at least logarithmic, as discussed in Section 2.4. Thus the results of [Vu14] are tight in the scaling, and the first to apply in such generality, but as for the other results in Table 1, these results do not reveal the phase transition. The fundamental limit for exact recovery was derived first for the case of symmetric SBMs with two communities:

At the threshold, one has to distinguish two cases: if a,b>0a,b>0, then exact recovery is solvable (and efficiently so) if ∣a−b∣=2|\sqrt{a}-\sqrt{b}|=\sqrt{2}, as first shown in [MNS14]. If aa or bb are equal to 0, exact recovery is solvable (and efficiently so) if b>2\sqrt{b}>\sqrt{2} or a>2\sqrt{a}>\sqrt{2} respectively, and this corresponds to connectivity.

Note that ∣a−b∣>2|\sqrt{a}-\sqrt{b}|>\sqrt{2} can be rewritten as a+b2>1+ab\frac{a+b}{2}>1+\sqrt{ab} and recall that a+b2>2\frac{a+b}{2}>2 is the connectivity requirement in SSBM. As expected, exact recovery requires connectivity, but connectivity is not sufficient. The extra term ab\sqrt{ab} is the ‘over-sampling’ factor needed to go from connectivity to exact recovery, and the connectivity threshold can be recovered by considering the case where b=0b=0. An information-theoretic interpretation of Theorem 3 is also discussed in Section 7.1.

Before discussing exact recovery in the SBM, we discuss a simpler problem which will turn out to be crucial to understanding exact recovery. Namely, exact recovery with a genie that reveals all the vertices labels except for a few. By ‘a few’ we really mean here one or two. If one works with the strictly balanced model for the community prior, then it is not interesting to reveal all vertices but a single one, as this one is forced to take the value of the community that does not have exactly n/2n/2 vertices. In this case one should isolate two vertices. If one works with the Bernoulli model for the community prior, then one can isolate a single vertex and it is already non-trivial to decide for the labelling of that vertex given the others.

To further clean up the problem, assume for now that we have a single vertex (say vertex 0) that needs to be labelled, with n/2n/2 vertices revealed in each community, i.e., assume that we have a model with two communities of size exactly n/2n/2 and an extra vertex that can be in each community with probability 1/21/2.

To minimize the probability of error for this vertex we need to use the MAP estimator that picks uu maximizing

Note that the above probability depends only on the number of edges that vertex has with each of the two communities; denoting by N1N_{1} and N2N_{2} these edge counts, we have

This gives an hypothesis test with two hypotheses corresponding to the two values that vertex can take, with equiprobable prior and distributions for the observable N1=N1(G,X∼0)N_{1}=N_{1}(G,X_{\sim 0}) given by

The probability of error of the MAP test is then given byTies can be broken arbitrarily; assume that an error is declared in case of ties to simplify the expressions.

This is the probability that a vertex has more “friends” in the other community than its own. We have the following key estimate.

The next result, which we will prove in the next section, reveals why this hypothesis test is crucial.

In other words, when the probability of error of classifying a single vertex when all others are revealed scales sublinearly, one can classify all vertices correctly whp, and when it scales supperlinearly, one cannot classify all vertices correctly whp.

2 The information-theoretic threshold

In this section, we establish the information-theoretic threshold for exact recovery in the two-community symmetric SBM with the uniform prior. That is, we assume that the two communities have size exactly n/2n/2, where nn is even, and are uniformly drawn with that constraint.

Recall that the MAP estimator for this model picks a min-bisection (see Section 3.1), i.e., a partition of the vertices in two balanced groups with the least number of crossing edges (breaking ties arbitrarily). We will thus investigate when this estimator succeeds/fails in recovering the planted partition. Recall also that we work in the regime where

where the logarithm is in natural base, aa, bb are two positive constants.

First recall that the term ‘converse’ is commonly used in information theory to refer to the impossibility part of a result, i.e., when exact recovery cannot be solved in this case. Note next that exact recovery cannot be solved in a regime where the graph is disconnected with high probability, because two disconnected components cannot be correctly labelled with a probability tending to one. So this gives us already a simple condition:

Under this condition, the graph is disconnected with high probability [ER60]. ∎

As we will see, this condition is not tight and exact recovery requires more than connectivity:

We will now describe the main obstruction for exact recovery. First assume without loss of generality that the planted community is given by

be the SBM graph generated from this planted community assignment.

We define the set of bad pairs of vertices by

where x0[u↔v]x_{0}[u\leftrightarrow v] denotes the vector obtained by swapping the values of coordinates uu and vv in x0x_{0}.

Exact recovery is not solvable if B(G)\mathcal{B}(G) is non-empty with non-vanishing probability.

If there exists (u,v)(u,v) in B(G)\mathcal{B}(G), we can swap the coordinates uu and vv in x0x_{0} and increase the likelihood of the partition, thus obtaining a different partition than the planted one that is as likely as the planted one, and thus a probability of error of at least 1/21/2. ∎

We now examine the condition PG∣X(G∣x0)≤PG∣X(G∣x0[u↔v])P_{G|X}(G|x_{0})\leq P_{G|X}(G|x_{0}[u\leftrightarrow v]). This is a condition on the number of edges that vertex uu and vv have in each of the two communities. First note that an edge between vertex uu and vv stays in the cut if the two vertices are swapped. So the likelihood can only vary based on the number of edges that uu has in its community and in the other community ignoring vv, and similarly for vv.

For a vertex uu, define d+(u)d_{+}(u) and d−(u)d_{-}(u) as the number of edges that uu has in its own and other community respectively. For vertices uu and vv in different communities, define d−(u∖v)d_{-}(u\setminus v) as the number of edges that a vertex uu has in the other community ignoring vertex vv.

We can now define the set of bad vertices (rather than bad pairs) in each community.

If B1(G)\mathcal{B}_{1}(G) is non-empty with probability 1/2+Ω(1)1/2+\Omega(1), then B(G)\mathcal{B}(G) is non-empty with non-vanishing probability.

If u∈C1u\in C_{1} and v∈C2v\in C_{2} are such that d+(u)≤d−(u)−1d_{+}(u)\leq d_{-}(u)-1 and d+(v)≤d−(v)−1d_{+}(v)\leq d_{-}(v)-1, then d+(u)+d+(v)≤d−(u)+d−(v)−2d_{+}(u)+d_{+}(v)\leq d_{-}(u)+d_{-}(v)-2, and since d−(u)≤d−(u∖v)+1d_{-}(u)\leq d_{-}(u\setminus v)+1, this implies d+(u)+d+(v)≤d−(u∖v)+d−(v∖u)d_{+}(u)+d_{+}(v)\leq d_{-}(u\setminus v)+d_{-}(v\setminus u). Therefore

Using the union bound and the symmetry in the model, we have

If the events {u∉B1(G)}u∈C1\{u\notin\mathcal{B}_{1}(G)\}_{u\in C_{1}} were pairwise independent, then we would be done. The technical issue is that for two vertices uu and vv, the events are not exactly independent since the vertices can share an edge. This does not however create significant dependencies. Let

and the last bound tends to 1 if the following three conditions hold

The first condition follows from the genie-aided hypothesis testIn this case, one of the two Binomial random variables has n−1n-1 trails rather than nn, with a trial replace by 1, which makes no difference in the result as mentioned in Remark 3. and reveals the bound in the theorem; the second condition amounts to say that B1B_{1} and B2B_{2} are asymptotically independent.

We now show the second condition. We have

2.2 Achievability

The next result shows that the previous bound is tight.

We will discuss the boundary case ∣a−b∣>2|\sqrt{a}-\sqrt{b}|>\sqrt{2} later on (it is still possible to solve exact recovery in this case as long as both aa and bb are non-zero). To prove this theorem, one can proceed with different approaches:

Showing k-swaps are dominated by 1-swaps. The converse shows that below the threshold, there exists a bad pair of vertices in each community that can be swapped (and thus placed in the wrong community) while increasing the likelihood (i.e., reducing the cut). To show that the min-bisection gives the planted bisection, we need to show instead that there is no possibility to swap kk vertices from each community and reduce the cut for any k∈{1,…,n/4}k\in\{1,\dots,n/4\} (we can use n/4n/4 because the communities have size n/2n/2). That is, above the threshold,

For T1⊆C1,T2⊆C2T_{1}\subseteq C_{1},T_{2}\subseteq C_{2} such that ∣T1∣=∣T2∣=k|T_{1}|=|T_{2}|=k, define

where R:=∑k=2n/4(n/4k)(n/4k)Pe(k)R:=\sum_{k=2}^{n/4}{n/4\choose k}{n/4\choose k}P_{e}(k). Note that Pe(1)P_{e}(1) behaves like the error probability of the genie-aided test squared (we look at two vertices instead of one), and one can show that the product n2Pe(1)n^{2}P_{e}(1) is vanishing above the threshold. So it remains to show that the reminder RR is also vanishing, and in fact, one can show that R=O(n2Pe(1))R=O(n^{2}P_{e}(1)), i.e., the first term (1-swaps) dominates the other terms (k-swaps). This approached is used in [ABH16].

Using graph-splitting. The technique of graph-splitting is developed in [ABH16, AS15a] to allow for multi-round methods, where solutions are successively refined. The idea is to split the graph GG into two new graphs G1G_{1} and G2G_{2} on the same vertex set, by throwing each edge independently from GG to G1G_{1} with probability γ\gamma and keeping the other edges in G2G_{2}. In a sparse enough regime, such as logarithmic degrees, one can further treat the two graphs as essentially independent SBMs on the same planted community. Taking γ=log⁡log⁡(n)/log⁡(n)\gamma=\log\log(n)/\log(n), one obtains for G1G_{1} an SBM with degrees that scale with log⁡log⁡(n)\log\log(n), and it is not too hard to show that almost exact recovery can be solved in such a diverging-degree regime. One can then use the almost exact clustering obtained on G1G_{1} and refine it using the edges of G2G_{2}, using a genie-aided test for each vertex, where the genie is not an exact genie as in Section 4.1, but an almost-exact genie obtained from G1G_{1}. One then shows that the almost-exact nature of the genie does not change the outcome, and the same threshold emerges. This approach is discussed in more details in Section 7.1 when we consider exact recovery in the general SBM.

Using the spectral algorithm. While it is not necessary to use an efficient algorithm to establish the information-theoretic threshold, the spectral algorithm offers a nice algebraic intuition to the problem. This approach is discussed in detail in next section.

3 Achieving the threshold

In this section, we show that the vanilla spectral algorithm discussed in Section 3.2 achieves the exact recovery threshold. The proof is based on [AFWZ17]. Recall that the algorithm is a relaxation of the min-bisection, changing the integral constraint on the community labels to an Euclidean-norm constraint. This suggest that taking the second largest eigenvector of AA, i.e., the eigenvector corresponding to the second largest eigenvalue of AA, and rounding it, gives a plausible reconstruction. Techniques from random matrix theory are naturally relevant here, as used in various works such as [Vu07, NN12, OVW, Vu14, YP14b, PWBM16b] and references therein.

In words, ϕˉ2\bar{\phi}_{2} is a vector whose signs indicate the assignment of XX. We will work with the “centered” adjacency matrixStrictly speaking, obtaining the centered adjacency matrix requires that p+qp+q is known. A better approach is to replace p+qp+q by an estimate, or use the second eigenvector of A′A^{\prime} directly as analyzed in [AFWZ17]. which we denote by AA in this section (with an abuse of notation compared to previous sections) where we subtract the top expected eigenvector:

The slight advantage is that AA is now rank 1 in expectation:

We now want to show that the top eigenvector ϕ\phi of AA has all its components aligned with ϕˉ\bar{\phi} in terms of signs (up to a global flip). Define, for i∈[n]i\in[n],

Note that the algorithm runs in polynomial time in nn, at most n3n^{3} counting loosely and less using the sparsity of AA. Also note that we do not have to worry about the case where the resulting community is not balanced, as this enters the vanishing error probability. Another way to write the theorem is as follows:

In the regime p=a log⁡nnp=a\,\frac{\log n}{n}, q=b log⁡nnq=b\,\frac{\log n}{n}, a≠ba\neq b, a,b>0a,b>0, ∣a−b∣≠2|\sqrt{a}-\sqrt{b}|\neq\sqrt{2},

i.e., the spectral and MAP estimators are equivalent whenever MAP succeeds at recovering the true XX (we use x≡yx\equiv y in the above for x∈{y,yc}x\in\{y,y^{c}\} where ycy^{c} flips the components of yy, due to the usual symmetry).

This an interesting phenomenon that seems to take place for more than one problem in combinatorial statistics, see for example discussion in [AFWZ17].

We now proceed to prove Theorem 8. We will break the proof in several parts. A first important result due to [FO05] gives a bound on the norm of A−AˉA-\bar{A} (see [AFWZ17] for a proof):

[FO05] For any a,b>0a,b>0, there exist c1,c2>0c_{1},c_{2}>0 such that

This implies a first reassuring fact, i.e., the first eigenvalue λ\lambda of AA is in fact asymptotic to λˉ\bar{\lambda} in our regime. This follows from the Courant-Fisher Theorem:

This implies that λ∼λˉ\lambda\sim\bar{\lambda} with high probability, since λˉ≍log⁡(n)\bar{\lambda}\asymp\log(n). However, this does not imply anything for the eigenvectors yet. A classical result to convert bounds on the norm A−AˉA-\bar{A} to eigenvector alignments is the Davis-Kahan Theorem. Below we present a user-friendly version based on the Lemma 3 in [AFWZ17].

Suppose that Hˉ=∑j=1nμˉjuˉjuˉjt\bar{H}=\sum_{j=1}^{n}\bar{\mu}_{j}\bar{u}_{j}\bar{u}_{j}^{t} and H=Hˉ+EH=\bar{H}+E, where μˉ1≥⋯≥μˉn\bar{\mu}_{1}\geq\cdots\geq\bar{\mu}_{n}, ∥uˉj∥2=1\|\bar{u}_{j}\|_{2}=1 and EE is symmetric. Let uju_{j} be an eigenvector of HH corresponding to its jj-th largest eigenvalue, and Δ=min⁡{μˉj−1−μˉj,μˉj−μˉj+1}\Delta=\min\{\bar{\mu}_{j-1}-\bar{\mu}_{j},\bar{\mu}_{j}-\bar{\mu}_{j+1}\}, where we define μˉ0=+∞\bar{\mu}_{0}=+\infty and μˉn+1=−∞\bar{\mu}_{n+1}=-\infty. We have

In addition, if ∥E∥2≤Δ\|E\|_{2}\leq\Delta, then

where both ≲\lesssim only hide absolute constants.

While this gives a strong alignment, it does not give any result for exact recovery. One can use a graph-splitting step to leverage this result into an exact recovery result by using a cleaning phase on the eigenvector (see item 2 in Section 4.2.2). Interestingly, one can also proceed directly using a sharper spectral analysis, and show that the sign of the eigenvector ϕ\phi directly recovers the communities. This was done in [AFWZ17] and is covered below.

A first attempt would be to show that ϕ\phi and ϕˉ\bar{\phi} are close enough in each component, i.e., that with high probability,

or ∥ϕ−(−ϕˉ)∥∞<?1/n\|\phi-(-\bar{\phi})\|_{\infty}\stackrel{{\scriptstyle?}}{{<}}1/\sqrt{n} since we must allow for a global flip due to symmetry. This would imply that rounding the components of ϕ\phi to their signs would produce with high probability the same signs as ϕˉ\bar{\phi} (or −ϕˉ-\bar{\phi}), which solves exact recovery.

Unfortunately the above inequality does not hold all the way down to the exact recovery threshold, which makes the problem more difficult. However, note that it is not necessary to have (4.73) in order to obtain the correct sign by rounding ϕ\phi: one can have a large gap for ∣ϕi−ϕˉi∣|\phi_{i}-\bar{\phi}_{i}| which still produces the good sign as long as this gap in “on the right side,” i.e., ϕi\phi_{i} can be much larger than ϕˉi\bar{\phi}_{i} if ϕˉi\bar{\phi}_{i} is positive and ϕi\phi_{i} can be much smaller than ϕˉi\bar{\phi}_{i} if ϕˉi\bar{\phi}_{i} is negative (or the reverse statement for −ϕˉ-\bar{\phi}). This is illustrated in Figure 4.1 and is shown below.

The main idea is to show that the components of ϕ\phi are well-approximated by the components of Aϕˉ/λˉA\bar{\phi}/\bar{\lambda} (rather than ϕˉ\bar{\phi}), i.e.,

Let a>b>0a>b>0. There exist constants CC and cc such that for sufficiently large nn,

Note that AϕˉA\bar{\phi} is familiar to us: it contains exactly the random variable entering the error event for the genie-aided hypothesis test in (4.6), i.e.,

and each Aij′A^{\prime}_{ij} is an independent Bernoulli variable whose success probability depends on whether Xi=XjX_{i}=X_{j}. We know from Lemma 4 has probability n−1−Ω(1)n^{-1-\Omega(1)} to be negative (i.e., to move to “the other side”) above the exact recovery threshold. Since AϕˉA\bar{\phi} is normalized by λˉ\bar{\lambda}, we will use the stronger version of Lemma 4 mentioned in Remark 3. We now give the proof for Theorem 7, and then proceed to proving Theorem 10.

Note that Theorem 10 says that E2\mathcal{E}_{2} takes place with high probability. Therefore if E1\mathcal{E}_{1} takes place with high probability as well, the event

must take place with high probability, because entrywise (up to a global flip) ϕ\phi is at distance O(1nlog⁡log⁡n)O(\frac{1}{\sqrt{n}\log\log n}) from Aϕˉ/λˉA\bar{\phi}/\bar{\lambda}, and Aϕˉ/λˉA\bar{\phi}/\bar{\lambda} is at distance Ω(1n)\Omega(\frac{1}{\sqrt{n}}) from the origin, so the noise that takes ϕˉ\bar{\phi} to ϕ\phi cannot make ϕ\phi across the origin and change sign since ∣ϕiˉ∣=1/n|\bar{\phi_{i}}|=1/\sqrt{n} (though it could take ϕ\phi far on the other side).

We now show that E1\mathcal{E}_{1} takes place with high probability. We have

When a−b>2\sqrt{a}-\sqrt{b}>\sqrt{2}, we can choose some ε=ε(a,b)>0\varepsilon=\varepsilon(a,b)>0 such that (a−b)2/2−εlog⁡(a/b)/2>1(\sqrt{a}-\sqrt{b})^{2}/2-\varepsilon\log(a/b)/2>1. Thus from (a strengthening of) the genie-aided error bound,

We now proceed with the proof of Theorem 10.

To simplify the notation, assume that ϕ\phi is chosen such that ϕtϕˉ≥0\phi^{t}\bar{\phi}\geq 0, so that we can remove the sign variable ss. We want to obtain a bound on

Recall that Weyl’s theorem gives ∣λ−λˉ∣≤∥A−Aˉ∥2|\lambda-\bar{\lambda}|\leq\|A-\bar{A}\|_{2}, and thus under the event E\mathcal{E}, which takes place with high probability by Lemma 9, we must have ∣λ−λˉ∣=O(log⁡(n))|\lambda-\bar{\lambda}|=O(\sqrt{\log(n)}). Given that λˉ=Θ(log⁡(n))\bar{\lambda}=\Theta(\log(n)), we must have under E\mathcal{E}

and a fortiori ∣λˉ−λ∣λˉ=O(1/log⁡(n))\frac{|\bar{\lambda}-{\lambda}|}{\bar{\lambda}}=O(1/\sqrt{\log(n)}). Therefore, under E\mathcal{E}, we have that the first term in (4.89) is bounded as

Before worrying about estimating ∥ϕ∥∞\|\phi\|_{\infty}, we move to the second term in (4.89). One difficulty in estimating ∥A(ϕ−ϕˉ)∥∞\|A(\phi-\bar{\phi})\|_{\infty} is that AA and (ϕ−ϕˉ)(\phi-\bar{\phi}) are dependent since ϕ\phi is an eigenvector of AA. Thus, to bound the mm-th component of A(ϕ−ϕˉ)A(\phi-\bar{\phi}), namely Am(ϕ−ϕˉ)A_{m}(\phi-\bar{\phi}), where AmA_{m} is the mm-row of AA, we cannot directly use a concentration result that applies to expressions of the kind AmwA_{m}w where ww is an independent test vector. To decouple the dependencies, we use a leave-one-out technique, as used for example in [BBEKY13], [JM], and [ZB17].

where δA\delta_{A} is the indicator function on the event AA. Therefore, A(m)A^{(m)} is obtained from AA by zeroing out the mm-th row and column. Let ϕ(m)\phi^{(m)} be the leading eigenvector of A(m)A^{(m)}. Again, ϕ(m)\phi^{(m)} is chosen such that (ϕˉ)tϕ(m)≥0(\bar{\phi})^{t}\phi^{(m)}\geq 0. Denoting the mmth row vector as AmA_{m}, we can write

where we used the Cauchy-Schwarz Inequality in the first inequality, and ∥A∥2→∞:=max⁡m∈[n]∥Am∥2\|A\|_{2\to\infty}:=\max_{m\in[n]}\|A_{m}\|_{2} in the second inequality. The point of introducing A(m)A^{(m)} is that for the second term in (4.96), we have that AmA_{m} and (ϕ(m)−ϕˉ)(\phi^{(m)}-\bar{\phi}) are now independent. Thus this term can be tackled with concentration results. We now handle both terms in (4.96). Recall the definition of the event E\mathcal{E} in (4.90).

Claim 1: Under E\mathcal{E}, T1=∥A∥2→∞∥ϕ−ϕ(m)∥2=O(log⁡(n)∥ϕ∥∞)T_{1}=\|A\|_{2\to\infty}\|\phi-\phi^{(m)}\|_{2}=O(\sqrt{\log(n)}\|\phi\|_{\infty}).

To prove this claim, assume that E\mathcal{E} takes place. To bound ∥u−ϕ(m)∥2\|u-\phi^{(m)}\|_{2}, we will view A(m)A^{(m)} as a perturbation of AA and apply the Davis-Kahan Theorem (Theorem 9).

By definition we have (ϕˉ)Tϕ≥0(\bar{\phi})^{T}\phi\geq 0 and (ϕˉ)Tϕ(m)≥0(\bar{\phi})^{T}\phi^{(m)}\geq 0. Using Theorem 9, we have

When nn is large enough, we have that ∥ϕ(m)−ϕ∥2≤1\|\phi^{(m)}-\phi\|_{2}\leq 1, which implies (4.97) since {±1}∋s↦∥sϕ(m)−ϕ∥2=2−s⟨ϕ(m),ϕ⟩\{\pm 1\}\ni s\mapsto\|s\phi^{(m)}-\phi\|_{2}=2-s\langle\phi^{(m)},\phi\rangle has its minima below 1 for s=1s=1.

By Weyl’s inequality, max⁡i∣λi(A)−λi(Aˉ)∣≤∥A−Aˉ∥2\max_{i}|\lambda_{i}(A)-\lambda_{i}(\bar{A})|\leq\|A-\bar{A}\|_{2}. Recall that we are under E\mathcal{E}, thus

Moreover from (4.100) we have that for nn large enough,

Therefore (4.105) satisfies the conditions for Theorem 9. Combined with (4.97), this yields

Note that ((A−A(m))ϕ)m=Amϕ=λϕm((A-A^{(m)})\phi)_{m}=A_{m}\phi=\lambda\phi_{m} and ((A−A(m))ϕ)i=Aimϕm((A-A^{(m)})\phi)_{i}=A_{im}\phi_{m} for i≠mi\neq m. By (4.91) and (4.99),

Using this with (4.107), we have that there exists C1>0C_{1}>0 such that

Finally, from (4.99) and (4.110), there exists C2>0C_{2}>0 such that

Claim 2: Under E\mathcal{E}, T2=∣Am(ϕ(m)−ϕˉ)∣=O(log⁡(n)∥ϕ∥∞/log⁡log⁡(n))T_{2}=|A_{m}(\phi^{(m)}-\bar{\phi})|=O(\log(n)\|\phi\|_{\infty}/\log\log(n)).

Had we applied Bernstein’s inequality directly, we would get a loose upper bound that contains the term log⁡n⋅∥ϕ(m)−ϕˉ∥∞\log n\cdot\|\phi^{(m)}-\bar{\phi}\|_{\infty} without the denominator, which turns out to be critical for the analysis. In fact, as we show below, the denominator will give us an additional log⁡log⁡n\log\log n factor.

there exists a choice of C3>0C_{3}>0 in the definition of E0(m)\mathcal{E}^{(m)}_{0} such that

for some constant C4≥1C_{4}\geq 1. Define γ=C4/log⁡n\gamma=C_{4}/\sqrt{\log n}, which is smaller than 1 for large enough nn, and define function h(z)=[1∨log⁡(1/z)]−1h(z)=[1\vee\log(1/z)]^{-1} where z∈(0,1]z\in(0,1]. It is easily checked that h(z)h(z) is non-decreasing and h(z)/zh(z)/z is non-increasing, so h(z)≤h(γ)∨h(γ)z/γh(z)\leq h(\gamma)\vee h(\gamma)z/\gamma. Setting z=∥ϕ(m)−ϕˉ∥2n∥ϕ(m)−ϕˉ∥∞z=\frac{\|\phi^{(m)}-\bar{\phi}\|_{2}}{\sqrt{n}\|\phi^{(m)}-\bar{\phi}\|_{\infty}}, we can use this inequality to simplify the bound in (4.112) and obtain

Note that under E\mathcal{E}, (4.110) leads to

where we use ∥ϕ∥∞≥1/n\|\phi\|_{\infty}\geq 1/\sqrt{n}. Hence, recalling that γ=C4/log⁡n\gamma=C_{4}/\sqrt{\log n}, we have that under E∩E0\mathcal{E}\cap\mathcal{E}_{0} there exists C5>0C_{5}>0 such that

Let us use now plug the bounds from Claim 1 and 2 in (4.96), which gives under E∩E0\mathcal{E}\cap\mathcal{E}_{0},

Putting this back in (4.89) together with (4.92), we obtain under E∩E1\mathcal{E}\cap\mathcal{E}_{1},

We are now left to show that ∥ϕ∥∞=O(1/n)\|\phi\|_{\infty}=O(1/\sqrt{n}), which implies the theorem’s statement since E∩E0\mathcal{E}\cap\mathcal{E}_{0} takes place with probability 1−Ω(n−2)1-\Omega(n^{-2}).

Claim 3: ∥ϕ∥∞=O(1/n)\|\phi\|_{\infty}=O(1/\sqrt{n}).

To prove this claim, note that from (4.119) and ∥ϕ∥∞≤∥ϕ−Aϕˉ/λˉ∥∞+∥Aϕˉ/λˉ∥∞\|\phi\|_{\infty}\leq\|\phi-A\bar{\phi}/\bar{\lambda}\|_{\infty}+\|A\bar{\phi}/\bar{\lambda}\|_{\infty}, we have ∥ϕ∥∞≲∥Aϕˉ∥∞/λˉ\|\phi\|_{\infty}\lesssim\|A\bar{\phi}\|_{\infty}/\bar{\lambda}. Hence it remains to show that ∥Aϕˉ∥∞≲log⁡nn\|A\bar{\phi}\|_{\infty}\lesssim\frac{\log n}{\sqrt{n}}. Observe that ∣Amϕˉ∣≤∥ϕˉ∥∞∑i=1n∣Ami∣=∑i=1n∣Ami∣/n|A_{m}\bar{\phi}|\leq\|\bar{\phi}\|_{\infty}\sum_{i=1}^{n}|A_{mi}|=\sum_{i=1}^{n}|A_{mi}|/\sqrt{n} and

where the last inequality holds for nn large enough. Moreover from (4.99),

Therefore, ∥Aϕˉ∥∞≲log⁡nn\left\|A\bar{\phi}\right\|_{\infty}\lesssim\frac{\log n}{\sqrt{n}}, which proves Claim 3 and the theorem. ∎

3.2 SDP algorithm

Recall that an SDP was derived in Section 3.2, lifting the variables to change the quadratic optimization into a linear optimization, and removing the rank-one constraint to obtain

or the version using the matrix BB such that Bij=1B_{ij}=1 if there is an edge between vertices ii and jj, and Bij=−1B_{ij}=-1 otherwise,

Since the dual minimization gives an upper-bound on the primal maximization, a solution is optimal if it makes the dual minimum match the primal maximum. The Ansatz here consists in taking Y=2(Din−Dout)+InY=2(D_{in}-D_{out})+I_{n} as a candidate for the diagonal matrix YY, which gives the primal maxima. It we thus have Y⪰B(g)Y\succeq B(g), this is a feasible solution for the dual, and we obtain a dual certificate. The following is shown in [ABH16] based on this reasoning.

Define the SBM Laplacian for GG drawn under the symmetric SBM with two communities by

where D(Gin)D(G_{in}) (D(Gout)D(G_{out})) are the degree matrices of the subgraphs of GG containing only the edges inside (respectively across) the clusters, and AA is the adjacency matrix of GG.

The second requirement above is used for the uniqueness of the solution. This condition is verified all the way down to the exact recovery threshold. In [ABH16], it is shown that this condition holds in a regime that does not exactly match the threshold, off roughly by a factor of 2 for large degrees. This gap is closed in [WXH15, Ban15], which show that SDPs achieve the exact recovery threshold in the symmetric case. Results for unbalanced communities were also obtained in [PW], although it is still open to achieve the general CH threshold with SDPs. Many other works have studied SDPs for the stochastic block model, we refer to [AL14, ABH16, Ban15, ABKK15, WXH15, MS16, PW] for further references. In particular, [MS16] shows that SDPs can approach the threshold for weak recovery in the two-community SSBM arbitrarily close when the expected degrees diverge. Recently, [BRS16] also studied an Ising model with block structure, obtaining results for exact recovery and SDPs.

Chapter 5 Weak recovery for two communities

The focus on weak recovery, also called detection, was initiatedThe earlier work [RL08] also considers detection in the SBM. with [CO10, DKMZ11]. Note that weak recovery is typically investigated in SBMs where vertices have constant expected degree, as otherwise the problem can trivially be resolved by exploiting the degree variations.

The following conjecture was stated in [DKMZ11] based on deep but non-rigorous statistical physics arguments, and is responsible in part for the resurgent interest in the SBM:

It was proved in [Mas14, MNS] that the KS threshold can be achieved efficiently for k=2k=2, and [MNS15] shows that it is impossible to detect below the KS threshold for k=2k=2. Further, [DAM15] extends the results for k=2k=2 to the case where aa and bb diverge while maintaining the SNR finite. So weak recovery is closed for k=2k=2 in SSBM.

For several communities, it was also shown in [BLM15] that for SBMs with multiple communities that are balanced and that satisfy a certain asymmetry condition (i.e., the requirement that μk\mu_{k} is a simple eigenvalue in Theorem 5 of [BLM15]), the KS threshold can be achieved efficiently. The achievability parts of previous conjecture for k≥3k\geq 3 are resolved in [AS15c, AS17]. We discuss these in Section 7.2.

Note that the terminology ‘KS threshold’ comes from the reconstruction problem on trees [KS66, EKPS00, MP03, MM06], referring to the first paper by Kesten-Stigum (KS). A transmitter broadcasts a uniform bit to some relays, which themselves forward the received bits to other relays, etc. The goal is to reconstruct the root bit from the leaf bits as the depth of the tree diverges. In particular, for two communities, [MNS15] makes a reduction between failing in the reconstruction problem in the tree setting and failing in weak recovery in the SBM. This is discussed in more details in next section. The fact that the reconstruction problem on tree also gives the positive behavior for efficient algorithms requires a more involved argument, as discussed in Section 5.3.

Achieving the KS threshold raises an interesting challenge for community detection algorithms, as standard clustering methods fail to achieve the threshold, as discussed in Section 5.3.1. This includes spectral methods based on the adjacency matrix or standard Laplacians, as well as SDPs. For standard spectral methods, a first issue is that the fluctuations in the node degrees produce high-degree nodes that disrupt the eigenvectors from concentrating on the clusters. A classical trick is to suppress such high-degree nodes, by either trimming or shifting the matrix entries [JY13, LLV15, CO10, Vu14, GV16, CRV15], throwing away some information, but this does not suffice to achieve the KS threshold [KK15]. SDPs are a natural alternative, but they also appear to stumble before the KS threshold [GV16, MS16, MPW16], focusing on the most likely rather than typical clusterings. As shown in [Mas14, MNS, BLM15, AS15c], approximate BP algorithms or spectral algorithms on more robust graph operators instead allow us to achieve the KS threshold.

As for exact recovery, we start with a simpler problem that will play a key role in understanding weak recovery. The idea is similar to that of the exact recovery warm up, except that we do not reveal only the direct neigbors of a vertex, but the neighbors at a small depth. In particular, at depth (1/2−ε)log⁡(n)/log⁡((a+b)/2)(1/2-\varepsilon)\log(n)/\log((a+b)/2), the SBM neigborhood of a vertex can be coupled with a Galton-Watson tree, and so we will consider trees for the warm up. In contrast to exact recovery, we will not be interested in reconstructing the isolated vertex with probability tending to 1, but with probability greater than 1/21/2. This is known in the literature as the reconstruction problem for broadcasting on trees. We refer to [MP03] for a survey on this topic.

The problem consists of broadcasting a bit from the root of a tree down to its leaves, and trying to guess back this bit from the leaf bits at large depth. First consider the case of a deterministic tree with fixed degree c+1c+1, i.e., each vertex has exactly cc descendants (note that the root has degree cc). Assume that on each branch of the tree the incoming bit is flipped with probability ε∈\varepsilon\in, and that each branch flips independently. Let X(t)X^{(t)} be the bits received at depth tt in this tree, with X(0)X^{(0)} being the root bit, assumed to be drawn uniformly at random in {0,1}\{0,1\}.

Note that the above limits exist due to monotonicity arguments. The first result on this model is due to Kesten-Stigum:

In the tree model with constant degree cc and flip probability ε\varepsilon,

[KS66] weak recovery is solvable if c(1−2ε)2>1c(1-2\varepsilon)^{2}>1,

[BRZ95, EKPS00] weak recovery is not solvableThe proof from [EKPS00] appeared first in 1996. if c(1−2ε)2≤1c(1-2\varepsilon)^{2}\leq 1.

In fact, one can show a seemingly stronger result where weak recovery fails in the sense that, when c(1−2ε)2≤1c(1-2\varepsilon)^{2}\leq 1,

Thus weak recovery in the tree model is solvable if and only if c(1−2ε)2>1c(1-2\varepsilon)^{2}>1, which gives rise to the so-called Kesten-Stigum (KS) threshold in this tree context. Note that [MP03] further shows that the KS threshold is sharp for “census reconstruction,” i.e., deciding about the root-bit by taking majority on the leaf-bits, which is shown to still hold in models such as the multicolor Potts model where the KS threshold is no longer sharp for reconstruction.

To see this result, let us compute the moments of the number of 0-bits minus 1-bits at generation tt. First, consider ±1\pm 1 variables rather than bits, i.e., redefine Xi(t)←(−1)Xi(t)X_{i}^{(t)}\leftarrow(-1)^{X_{i}^{(t)}}, and consider the difference variable:

Note that, if there are xx bits of value 11 and yy bits of value −1-1 at generation tt, then Δ(t+1)\Delta^{(t+1)} would be the sum of xcxc Radamacher(1−ε)(1-\varepsilon) and ycyc Radamacher(ε)(\varepsilon) (all independent), and since the expectation of Radamacher(1−ε)(1-\varepsilon) is 1−2ε1-2\varepsilon, we have

We now look at the second moment. A direct computation gives

Denote now by μ+\mu_{+} the distribution of Δ(t)\Delta^{(t)} given that X(0)=1X^{(0)}=1, and by μ−\mu_{-} the distribution of Δ(t)\Delta^{(t)} given that X(0)=−1X^{(0)}=-1. We have by Cauchy-Schwarz,

Therefore, we have from previous expansions that the total variation distance between μ+\mu_{+} and μ−\mu_{-} is Ω(1)\Omega(1), which implies that it is possible to distinguish between the hypotheses X(0)=1X^{(0)}=1 and X(0)=−1X^{(0)}=-1 with a probability of error that is 1/2−Ω(1)1/2-\Omega(1).

Note that this subadditivity holds in greater generality for the first layer, i.e., if we have a Markov chain Y1−X−Y2Y_{1}-X-Y_{2}, such as happens when a root variable XX is broadcast on two independent channels producing Y1Y_{1} and Y2Y_{2}, then

However, going to depth 2 of the tree, there is no simple inequality as the above that shows the subadditivity, and in fact, the subadditivity is not true in general for binary non-symmetric noise or for non-binary labels. For binary labels and symmetric channels, it is shown in [EKPS00] that the distribution of labels on the tree can be obtained by degradation from a so-called “stringy tree”, where branches are “detached”, which implies the inequality.

Further, the channel between X(0)X^{(0)} and a one leaf-bit such as X1(t)X_{1}^{(t)} corresponds to tt Bernoulli(ε)(\varepsilon) random variables added, and the mutual information scales as (1−2ε)2t(1-2\varepsilon)^{2t},

and the information of the root-bit gets lost in the leaves.

The subadditivity property in (5.15) can also be established for the Chi-squared mutual information, i.e., using I2(X;Y)=Dχ2(pX,Y∥pXpY)I_{2}(X;Y)=D_{\chi_{2}}(p_{X,Y}\|p_{X}p_{Y}) where Dχ2D_{\chi_{2}} is the Chi-squared ff-divergence with f(z)=(z−1)2f(z)=(z-1)^{2}. We describe here how this can be obtained with an induction on the tree depth, assuming the following two building blocks:

if    Y1−X(0)−Y2\,\,\,Y_{1}-X^{(0)}-Y_{2} (i.e., Y1,Y2Y_{1},Y_{2} are independent conditionally on X(0)X^{(0)} and X(0)X^{(0)} is Bernoulli(1/2)(1/2) as before) and

if Y1Y_{1} is a direct descendant of X(0)X^{(0)} and YtY_{t} are descendants of Y1Y_{1} at depth tt (in the broadcasting on trees model). One then obtains the subadditivity by applying inequality (5.23) to the sub-trees pending at the root, and equality (5.24) to factor out the first edge on each sub-tree, reducing the depth by one and allowing for the induction hypothesis. Interestingly, while the inequality also holds for the mutual information, the equality does not hold for the mutual information, and can in fact go in the wrong direction. On the other hand, one has

and since the Chi-squared mutual information upper-bounds the classical mutual information for binary inputs, the same threshold of c(1−2ε)2=1c(1-2\varepsilon)^{2}=1 is obtained with this argument.

We will soon turn to the connection between the reconstruction on trees problem and weak recovery in the SBM. It is easy to guess that the tree will not be a fixed degree tree for us, but the local neighborhood of a vertex in the SBM, which behaves like a Galton-Watson tree of Poisson offspring. We first state the above results for Galton-Watson trees.

Define as before X(t)X^{(t)} as the variables at generation tt obtained from broadcasting the root-bit on a Galton-Watson tree T(t)T^{(t)}.

In [EKPS00], it is shown that the threshold c(1−2ε)2>0c(1-2\varepsilon)^{2}>0 is necessary and sufficient for weak recovery for a large class of offspring distributions, where cc is the expectation of μ\mu. The case of μ\mu being the Poisson(c)(c) distribution is of particular interest to us:

[EKPS00] In the broadcasting model with a Galton-Watson tree of Poisson(c)(c) offspring and flip probability ε\varepsilon, weak recovery is solvable if and only if

Another important extension is the ‘robust reconstruction’ problem [JM04], where the leaves are not revealed exactly but with the addition of independent noise. It was shown in [JM04] that for very noisy leaves, the KS threshold is also tight.

2 The information-theoretic threshold

We focus in particular on the information-theoretic converse. Interestingly, for the achievability part, there is not currently a simpler proof available in the literature than the proof that directly gives an efficient algorithm. Below we discuss some attempts, and in Section 5.3 we will the efficient achievability.

The following result is shown in [MNS15]:

Here we show the following equivalent result that also implies the impossibility of weak recovery:

Note that the role of vertex 1 and 2 is arbitrary above, it could be any fixed pair of vertices (not chosen based on the graph).

The connection between the warm-up problem and the SBM comes from the fact that if one picks a vertex vv in the SBM graph, its neighborhood at small enough depth behaves likes a Galton-Watson tree of offspring Poisson(c)(c), c=((a+b)/2)c=((a+b)/2), and the labelling on the vertices behaves like the broadcasting process discussed above with a flip probability of ε=b/(a+b)\varepsilon=b/(a+b). Note that the latter parameter is precisely the probability that two vertices have different labels given that there is an edge between them. More formally, if the depth is t≤(1/2−δ)log⁡(n)/log⁡(a+b)/2)t\leq(1/2-\delta)\log(n)/\log(a+b)/2) for some δ>0\delta>0, then the true distribution and the above have a vanishing total variation when nn diverges. This depth requirement can be understood from the fact that the expected number of leaves in that case is in expectation n1/2−δn^{1/2-\delta}, and by the birthday paradox, no collision will likely occur between two vertices’ neighborhoods if δ>0\delta>0 (hence no loops take place and the neighborhood is a tree with high probability).

The reduction extends to more than two communities (i.e., non-binary labels broadcasted on trees) and to asymmetrical communities, but the tightness of the KS bound is no longer present in these cases. For two asymmetrical communities, the result still extends if the communities are roughly symmetrical, using [BCMR06] and [MNS13, Mos17]. For more than three symmetric communities, new gap phenomena take place [AS17]; see Section 8.

We now proceed to proving Theorem 17. The first step is to formalize what is meant by the fact that the neighborhoods of the SBM look like a Galton-Watson tree. Let GG

The second technical lemma that we need regards the negligible effect of non-edges outside from our local neighborhood of a vertex. The difficulty here is that these non-edges are negligible if the vertices labels are more or less balanced; for example, the effect of non-edges would not be negligible if the vertices had all the same labels.

The statement means that the probability that (X,G)(X,G) satisfies (5.29) tends to one as nn tends to infinity. Note that RR could actually be clog⁡(n)/log⁡((a+b)/2)⌋c\log(n)/\log((a+b)/2)\rfloor for any c<1/2c<1/2; we keep the same RR as in the previous lemma to reduce the number of parameters.

Using the same definition as in Lemma 12,

where (5.31) follows from the fact that conditioning reduces entropy, (5.32) follows from the asymptotic conditional independence of Lemma 12, (5.33) from the fact that the neighbordhood of a vertex can be coupled with the broadcasting on Galton-Watson tree, i.e., Lemma 11, and (5.34) follows from the fact that below the KS threshold weak recovery is not solvable for the broadcasting on trees problem, i.e., Theorem 15. Therefore,

2.2 Achievability

Interestingly, the achievability part of Theorem 12 was directly proved for an efficient algorithm, as discussed in the next section. Using an efficient algorithm should a priori require more work than what could be achieved if complexity considerations were put aside, but a short information-theoretic proof has not been given in the literature yet. Here we sketch how this could potentially be achieved, although there may be simpler ways. In Section 8, we discuss an alternative approach that is simpler than the approach described below; however, it does not provide the right constant for two communities.

Since (a−b)2>2(a+b)(a-b)^{2}>2(a+b) is the threshold for weak recovery in the broadcasting on trees problem (when the expected degree is (a+b)/2(a+b)/2 and the flip probability is b/(a+b)b/(a+b)), one would hope to find a proof that reduces weak recovery in the SBM to this broadcasting on trees problem. For a converse argument, it is fairly easy to connect to this problem since one can always use a genie that gives further information in a converse argument, in this case, the values at the boundary of a vertex’ neighborhood. How would one connect to the broadcasting on trees problem for an achievability result?

If weak recovery is solvable by observing (X(1/n),G)(X(1/\sqrt{n}),G), then it is solvable by observing GG only.

The proof follows by noting that if weak recovery is solvable using (X(0),G)(X(0),G), then it is solvable using GG only since X(0)X(0) is independent of (X,G)(X,G). But with high probability X(0)X(0) produces a bias of Θ(n)\Theta(\sqrt{n}) vertices on either the good or bad side (by the Central Limit Theorem); since both are equivalent in view of weak recovery, we can assume that we have a genie that gives Θ(n)\Theta(\sqrt{n}) vertices on the good side.

Naive plan: as one can obtain a weak genie ‘for free’ by random guessing, one may hope to connect to the broadcasting problem on trees by amplifying this weak genie for each vertex at tree-like depth. That is, take a vertex vv in the graph, open a neighborhood at depth R(n)R(n) as in the converse argument of the previous section, and re-decide for the vertex vv by solving the broadcasting on trees problem using the noisy vertex labels at the leaves. Do this for each vertex in parallel; assuming that correlations between different vertices are negligible.

We next explain why this plan is doomed to fail, because the depth R(n)R(n) is too small to amplify such a weak genie. In fact, For a vertex vv and integer tt, let Nt(v)N_{t}(v) be the number of vertices tt edges away from vv, Δt(v)\Delta_{t}(v) be the difference between the number of vertices tt edges away from vv that are in community 11 and the number of vertices tt edges away from vv that are in community 22, and Δ~t(v)\widetilde{\Delta}_{t}(v) be the difference between the number of vertices tt edges away from vv that are in C1C_{1} and the number of vertices tt edges away from vv that are in C2C_{2}. For small tt,

For any fixed values of Nt(v)N_{t}(v) and Δt(v)\Delta_{t}(v), the probability distribution of Δ~t(v)\widetilde{\Delta}_{t}(v) is essentially a Gaussian distribution with a mean of Θ(Δt(v)/n)\Theta(\Delta_{t}(v)/\sqrt{n}) and a variance of ≈Nt(v)\approx N_{t}(v) because it is the sum of Nt(v)N_{t}(v) nearly independent variables that are approximately equally likely to be 11 or −1-1. So, Δ~t(v)\widetilde{\Delta}_{t}(v) is positive with a probability of 12+Θ(Δt(v)/∣Nt(v)∣n)\frac{1}{2}+\Theta(\Delta_{t}(v)/\sqrt{|N_{t}(v)|n}). In other words, if vv is in community 11 then Δ~t(v)\widetilde{\Delta}_{t}(v) is positive with a probability of

and if vv is in community 22 then Δ~t(v)\widetilde{\Delta}_{t}(v) is positive with a probability of

If (a−b)2≤2(a+b)(a-b)^{2}\leq 2(a+b), then this is not improving the accuracy of the classification, so this technique is useless. On the other hand, if (a−b)2>2(a+b)(a-b)^{2}>2(a+b), the classification becomes more accurate as tt increases. However, this formula says that to classify vertices with an accuracy of 1/2+Ω(1)1/2+\Omega(1), we would need to have tt such that

However, unless aa or bb is , that would imply that

which means that (a+b2)t=ω(n)(\frac{a+b}{2})^{t}=\omega(n). It is obviously impossible for Nt(v)N_{t}(v) to be greater than nn, so this tt is too large for the approximation to hold. In any case, this shows that working in the tree-like regime is not going to suffice.

Go deeper. In order to amplify our weak bias of order 1/n1/\sqrt{n} to a constant bias, we can go deeper in the neighborhoods, leaving the regime where the neighborhood is tree-like. In fact, according to (5.36), this requires going beyond the diameter of the graph whcih is  log⁡(n)/log⁡((a+b)/2)~{}\log(n)/\log((a+b)/2), and having to repeat vertices (i.e., count walks). The problem is, the above approximation assumes that each vertex at a distance of t−1t-1 from vv has one edge leading back towards vv, and that the rest of its edges lead towards new vertices. Once a significant fraction of the vertices are fewer than tt edges away from vv, a significant fraction of the edges incident to vertices t−1t-1 edges away from vv are part of loops and thus do not lead to new vertices. This obviously creates significant complications. This is the approach that is discussed in the next section, using nonbacktracking walks. In fact, we re-derive this approach in the next section from our principles on weak recovery from Section 5.3.1. Note also that this approach is efficient, and it is thus legitimate to ask whether a simpler argument could be obtained information-theoretically, which takes us to the next point;

Repeat guessing. A single random guess gives a bias of order 1/n1/\sqrt{n}. However, if we keep guessing again and again, eventually one random guess will be atypically correlated with the ground truth. In particular, with enough guesses, one would get a strong enough correlation for the random guess that the naive plan described above could work at the tree-like depth (connecting us to the (robust) broadcasting on trees problem, as desired). Of course, a new difficulty is now to identify which of these many random guesses leads to a good reconstruction. For this, we propose to use a graph-splitting argument as discussed next.

Information-theoretic procedure: (1) Graph-split GG into G1G_{1} and G2G_{2} such that G1G_{1} is above the KS threshold. (2) Take M=M(n)M=M(n) independent random guesses (i.e., partitions of [n][n]) and amplify each at the three-like depth on G1G_{1}. Let X^1,…,X^M\hat{X}_{1},\dots,\hat{X}_{M} be the amplified guesses, which represent each a partition of [n][n]. (3) Test the edge density of the residue graph G2G_{2} on each partition X^i\hat{X}_{i}, and output the first X^i\hat{X}_{i} that gives a non-trivial edge density (i.e., an edge density above by a constant factor of what a purely random partition gives in expectation).

We conjecture that there exists an appropriate choice of MM such that (i) a “good guess” will come up whp, i.e., a guess with enough initial correlation that the naive plan described above amplifies that guess to a weak recovery solution using G1G_{1}, (ii) the “good guess” amplification is tested positive on the residue graph G2G_{2} before any bad guess amplification is potentially tested positive. Note that one could use variants for testing the validity of the good guess, for example, using the Δt\Delta_{t} statistics of previous section to set the validity test. The advantage of this plan is that its analysis would mainly be based on estimates at tree-like depths and moment computations.

3 Achieving the threshold

In the previous section we mentioned two plans to amplify a random guess to a valid weak recovery reconstruction: (i) one can repeat guessing exponentially many times until one hits an atypically good random guess that can be amplified on shallow neighorhoods to a valid weak recovery solution; (ii) one can take a single random guess and amplify it on deep neighborhoods to directly reach a valid weak recovery construction. We now discuss the latter plan, which can be run efficiently.

For this, we continue the reasoning from the previous section that explained why the tree-like regime was not sufficient to amplify a random guess. An obvious way to solve the problem caused by running out of vertices would be to simply count the walks of length tt from vv to vertices in C1C_{1} or C2C_{2}. Recall that a walk is a series of vertices such that each vertex in the walk is adjacent to the next, and a path is a walk with no repeated vertices. The last vertex of such a walk will be adjacent to an average of approximately a/2a/2 vertices in its community outside the walk and b/2b/2 vertices in the other community outside the walk. However, it will also be adjacent to the second to last vertex of the walk, and maybe some of the other vertices in the walk as well. As a result, the number of walks of length tt from vv to vertices in C1C_{1} or C2C_{2} cannot be easily predicted in terms of vv’s community. So, the numbers of such walks are not useful for classifying vertices.

We could deal with this issue by counting pathsThis type of approach is considered in [BB14]. of length tt from vv to vertices in C1C_{1} and C2C_{2}. The expected number of paths of length tt from vv is approximately (a+b2)t(\frac{a+b}{2})^{t} and the expected difference between the number that end in vertices in the same community as vv and the number that end in the other community is approximately (a−b2)t(\frac{a-b}{2})^{t}. The problem with this is that counting all of these paths is inefficient.

A compromise is to count nonbacktracking walks ending at vv, i.e. walks that never repeat the same edge twice in a row. We can efficiently determine how many nonbacktracking walks of length tt there are from vertices in CiC_{i} to vv. Furthermore, most nonbacktracking walks of a given length logarithmic in nn are paths, so it seems reasonable to expect that counting nonbacktracking walks instead of paths in our algorithm will have a negligible effect on the accuracy.

To derive the algorithm more formally, we now go back to the weak recovery benchmarks discussed in Section 3.4. The idea of using nonbacktracking walks results from a series of papers [KMM+13, MNS, BLM15, AS15c], as discussed in Section 1.4.

Recall that the Belief Propagation algorithm presented in Section 3.4 as a derivation of the Bayes Optimal estimator. Recall also that we purposely work with a slightly more general SBM to break the symmetry: i.e., a weakly symmetric SBM with community prior p=(p1,p2)p=(p_{1},p_{2}) and connectivity channel W=Q/nW=Q/n such that diag⁡(p)Q\operatorname{diag}(p)Q has constant row sums, i.e., the expected degrees in the graph are constant dd. As mentioned in Section 3.4, the BP algorithm ends with a probability distribution for the community of each vertex, and taking for each vertex the most likely assignment is conjectured to give a weak recovery solution. However, this algorithm has several downsides. First of all, it uses a nonlinear formula to calculate each sucessive set of probability distributions (Bayes rule), and its analysis remains challenging to date. From a practical point of view, one needs to know the parameters of the model in order to run the algorithm, which makes it model-dependent.

We now discuss how both issues can be mitigated by “linearizing” the algorithm. First recall that our original guesses of the vertices’ communities gives only a very weak bias. As such, it may be useful to focus on the first order approximation of our formula when our beliefs about the communities of v1,...,vmv_{1},...,v_{m} are all close to the prior probabilities for a vertex’s community. In this case, every entry of QpQp must be equal to dd. So, we have that

We can then rewrite the Belief Propagation Algorithm using this approximation in order to get the following algorithm.

Pseudo Linearized Belief Propagation Algorithm (t, p, Q, q, G):

Set ϵv,v′(0)=qv,v′−p\epsilon^{(0)}_{v,v^{\prime}}=q_{v,v^{\prime}}-p for all (v,v′)∈E(G)(v,v^{\prime})\in E(G).

For each 0<t′<t0<t^{\prime}<t, and each v∈Gv\in G, set

It is time to bring up an issue that was swept under the rug until now, i.e., the effect of non-edges. If one has access to a good initial guess and operates a short depth, then the non-edges have negligible effects and the above algorithm can be used. However, in the current context where we will run the iteration at large depth, the non-edges need to be factored in. The fundamental problem is that the absence of an edge between vv and v′v^{\prime} provides slight evidence that these vertices are in different communities, and this algorithm fails to take that into account. Generally, as long as our current estimates of vertices communities assign the right number of vertices to each community, each vertex’s nonneigbors are balanced between the communities, so the nonedges provide negligible amounts of evidence. However, if they are not taken into account, then any bias of the estimates towards one community can grow over time, and one may end up classifying all vertices in the community that was initially more represented.

Re-deriving BP by taking into account the non-edges in Bayes’ rule and writing down the proper linearization leads to the following algorithm.

Linearized Belief Propagation Algorithm (t, p, Q, q, G):

Set ϵv,v′(0)=qv,v′−p\epsilon^{(0)}_{v,v^{\prime}}=q_{v,v^{\prime}}-p for all (v,v′)∈E(G)(v,v^{\prime})\in E(G).

Set ϵv(0)=qv−p\epsilon^{(0)}_{v}=q_{v}-p for all v∈Gv\in G.

We will now discuss a spectral implementation of this algorithm, as the above resembles a power iteration method on a linear operator. Define the graph’s nonbacktracking walk and adjusted nonbacktracking matrix as follows.

Given a graph (V,E)(V,E), the graph’s nonbacktracking walk matrix, BB, is a matrix of dimension ∣E2∣×∣E2∣|E_{2}|\times|E_{2}|, where E2E_{2} is the set of directed edges on EE (with ∣E2∣=2∣E∣|E_{2}|=2|E|), such that for two directed edges e=(i,j)e=(i,j), f=(k,l)f=(k,l),

In other words, BB maps a directed edge to the sum of all directed edges starting at its end, except for the reversal edge.

Given a graph GG, and d>0d>0, the graph’s adjusted nonbacktracking walk matrix, B^\widehat{B} is the (∣E2∣+n)×(∣E2∣+n)(|E_{2}|+n)\times(|E_{2}|+n) matrix such that for all ww in the vector space with a dimension for each directed edge and each vertex, we have that B^w=w′\widehat{B}w=w^{\prime}, where w′w^{\prime} is defined such that

These definitions allows us to state the following fact:

When the Linearized Belief Propagation Algorithm is run, for every 0<t′<t0<t^{\prime}<t, we have that

This follows from the definition of B^\widehat{B} and the fact that the propagation step of the Linearized Belief Propagation Algorithm gives ϵ(t′)=(B^⊗PQ)ϵ(t′−1)\epsilon^{(t^{\prime})}=\left(\widehat{B}\otimes PQ\right)\epsilon^{(t^{\prime}-1)} for all 0<t′<t0<t^{\prime}<t.

In other words, the Linearized Belief Propagation Algorithm is essentially a power iteration algorithm that finds the eigenvector of B^⊗PQ\widehat{B}\otimes PQ with the largest eigenvalue. B^⊗PQ\widehat{B}\otimes PQ has an eigenbasis consisting of tensor products of eigenvectors of B^\widehat{B} and eigenvectors of PQPQ, with eigenvalues equal to the products of the corresponding eigenvalues of B^\widehat{B} and PQPQ. As such, this suggests that for large t′t^{\prime}, ϵ(t′)\epsilon^{(t^{\prime})} would be approximately equal to a tensor product of eigenvectors of B^\widehat{B} and PQPQ with maximum corresponding eigenvalues. For the sake of concreteness, assume that ww and ρ\rho are eigenvectors of B^\widehat{B} and PQPQ such that ϵ(t′)≈w⊗ρ\epsilon^{(t^{\prime})}\approx w\otimes\rho. That corresponds to estimating that

for each vertex vv and community ii. If these estimates are any good, they must estimate that there are approximately pinp_{i}n vertices in community ii for each ii. In other words, it must be the case that the sum over all vertices of the estimated probabilities that they are in community ii is approximately pinp_{i}n. That means that either ρ\rho is small, in which case these estimates are trivial, or ∑v∈Gwv≈0\sum_{v\in G}w_{v}\approx 0. Now, let the eigenvalue corresponding to ww be λ\lambda. If ∑v∈Gwv≈0\sum_{v\in G}w_{v}\approx 0, then for each (v,v′)∈E(G)(v,v^{\prime})\in E(G), we have that

So, the restriction of ww to the space spanned by vectors corresponding to directed edges will be approximately an eigenvector of BB with an eigenvalue of approximately λ/d\lambda/d. Conversely, any eigenvector of BB that is balanced in the sense that its entries add up to approximately should correspond to an eigenvector of B^\widehat{B}. So, we could try to determine what communities vertices were in by finding some of the balanced eigenvectors of BB with the largest eignvalues, adding together the entries corresponding to edges ending at each vertex, and thresholding.The eigenvector of BB with the largest eigenvalue will have solely nonnegative entries, so it will not be balanced. However, it is reasonable to expect that its next few eigenvectors would be relatively well balanced.

Extracting the second eigenvector of the nonbacktracking matrix directly may not be the most efficient way to proceed, especially as the graph gets denser. A power iteration method is a natural implementation, which requires additional proofs as done in [AS17]. Below is the message-passing implementation.

(3) Set for all v∈Gv\in G, yv′=∑v′:(v′,v)∈E(G)yv,v′(m)y^{\prime}_{v}=\sum_{v^{\prime}:(v^{\prime},v)\in E(G)}y^{(m)}_{v,v^{\prime}}. Return ({v:yv′>0},{v:yv′≤0})(\{v:y^{\prime}_{v}>0\},\{v:y^{\prime}_{v}\leq 0\}).

3.2 Algorithms robustness and graph powering

The quick intuition on why the nonbacktracking matrix is more amenable to community detection than the adjacency matrix can be seen by taking powers of these matrices. In the case of the adjacency matrix, powers are counting walks from a vertex to another, and these get amplified around high-degree vertices since the walk can come in and out in many ways. This creates large eigenvalues with eigenvectors localized around high-degree vertices. This phenomenon is well documented in the literature; see Figure 5.3 for a illustration of a real output of the spectral algorithm on a SBM with two symmetric communities (above the KS threshold).

Instead, by construction of the nonbacktracking matrix, taking powers forces a directed edge to leave to another directed edge that does not backtrack, preventing such amplifications around high-degree vertices. So nonbacktracking gives a way to mitigate the degree-variations and to avoid localized eigenvectors (recall discussion in Section 3). Note also that one cannot simply remove the high-degree vertices in order to achieve the threshold; one would have to remove too many of them and the graph would lose the information about the communities. This is one of the reasons why the weak recovery regime is interesting.

This robustness property of the nonbacktracking matrix is reflected in its spectrum, which has largest magnitude eigenvalue λ1\lambda_{1} (which is real positive), and second largest magnitude eigenvalue λ2\lambda_{2} which appears before λ1\sqrt{\lambda_{1}} above the KS threshold:

Then weak recovery can be solved by using the eigenvector corresponding to λ2\lambda_{2}; see the previous section. Figure 5.4 provides an illustration for the SBM with two symmetric communities.

However the robustness of the NB matrix may not be as strong as desired. It happens that in the SBM, being pushed away from a high-degree vertex makes it unlikely for the walk to go back to a high-degree vertex. Therefore, avoiding direct backtracks suffices. Unfortunately, in many real data graphs, loops are much more frequent than they are in the SBM. Consider for example the geometric block model with two Gaussians discussed in Section 9; in such a model, being pushed away from a high degree vertex likely brings the walk back to another neighbor of that same high degree vertex, and prohibiting direct backtracks does not help much. In fact, this issue is also present for BP itself (rather than linearized BP), which is originally designedAlthough it also works in some loopy context [MWJ99]; in addition to the AMP framework that applies to the cases of denser graphs for locally tree-like models as motived in Section 3.4, although BP has the advantage over ABP to pass probability messages that cannot grow out of proportions (being bounded to $$).

A natural attempt to improve on this is to then extend the notion of nonbacktracking beyond direct backtracks, prohibiting any repeat of a vertex within rr steps of the walk (rather than just 2 steps). In fact, this idea was already used in [AS17] for the SBM, as the increased robustness also helped with simplifying the proofs (even though it is likely unnecessary for the final result to hold). We now formally define the rr-NB matrix of a graph:

[The rr-nonbacktracking (rr-NB) matrix.] Let G=(V,E)G=(V,E) be a simple graph and let E⃗r\vec{E}_{r} be the set of directed paths of length r−1r-1 obtained on EE. The rr-nonbacktracking matrix B(r)B^{(r)} is a ∣E⃗r∣×∣E⃗r∣|\vec{E}_{r}|\times|\vec{E}_{r}| matrix indexed by the elements of E⃗r\vec{E}_{r} such that, for two sequences of r−1r-1 direct edges e=(e1,…,er−1),f=(f1,…,fr−1)e=(e_{1},\dots,e_{r-1}),f=(f_{1},\dots,f_{r-1}) that form directed paths in E⃗r\vec{E}_{r},

i.e., entry (e,f)(e,f) of B(r)B^{(r)} is 1 if ee extends ff by one edge without creating a loop, and 0 otherwise.

Note that B(2)=BB^{(2)}=B is the classical nonbacktracking matrix from Definition 16. As for r=2r=2, we have that ((B(r))k−1)e,f((B^{(r)})^{k-1})_{e,f} counts the number of rr-nonbacktracking walks of length kk from ff to ee.

While one gains further robustness by using rr-NB with larger rr, this may still require rr to be impractically large in cases where a large number of cliques and tangles are present in the graph (such as in the two-Gaussian geometric block model mentioned before). We now discuss three alternatives to further increase such robustness.

(1) SDPs. While the SDP in Section 3.2 was motivated as a relaxation of the min-bisection estimator that is optimal for exact recovery but not necessarily for weak recovery, one may still use SDPs for weak recovery as well. In fact, the SDP benefits from a key feature; recall that the SDPs discussed in Section 3.2 takes the form:

for a matrix BB which is a centered version of the adjacency matrix. The key feature is that the constraint

on the matrix XX does not make the above optimization hard, as opposed to the original min-bisection problem that requires

on the vector xx, which makes min-bisection an NP-hard integral optimization problem. The advantage is that Xii=1X_{ii}=1 prohibits the entries of XX to grow out of proportion (XX needs to be also PSD), and the SDP is less sensitive to producing localized eigenvector.

Several works have investigated SDPs for SBMs [AL14, ABH16, Ban15, WXH15, PW], with a precise picture obtained for weak recovery in [GV16, MS16, JMR16]. We now mention a result from [MS16] that shows that SDPs allow to approach the threshold for weak recovery in the two-community SSBM arbitrarily close when the expected degrees diverge.

So for large degrees, SDPs are both performing well and allowing for further robustness compared to NB spectral methods. For example, [FK01, MPW16] shows that SDPs are robust to certain monotone adversary, that can add edges within clusters and remove edges across clusters. Such adversary could instead create trouble to NB spectral, e.g., by adding a clique within a community to create a localized eigenvector of large eigenvalue.

On the flip side, SDPs have two issues: (1) they do not perform as well in very sparse regimes; take for instance the example covered in Section 3.2 showing that the SDP fails to find the clusters when they are disjoint and which can generalize to more subtle cases where the sparsest cut is at the periphery of the clusters rather than in their middle; (2) most importantly, SDPs are not practical on large graphs. One may use various tricks to initialize or accelerate SDPs, but these instead make the analysis more challenging.

(2) Laplacian and Normalized Laplacian. In contrast to SDPs, spectral methods afford much better complexity attributes. A possible way to improve their robustness to degree variations would be to simply normalize the matrix by taking into account degree variations, such as

These can also be viewed as relaxations of min-cuts where one does not constrain the number of vertices to be strictly balanced in each community, but where one weighs in the volume of the communities in terms of the number of vertices or degrees:

One can now look for a {0,1}\{0,1\}-valued vector, i.e., the indicator vector on a subset SS, that minimizes these normalized cuts. This is still an NP-hard problem, but its spectral relaxation obtained by removing the integral constraints leads to the smallest eigenvector of the matrices in (5.41) and (5.42) (ignoring the 0 eigenvalue), which now have some balanceness properties embedded.

In fact these afford better robustness to high-degree vertices. However, they tend to overdo the degree correction and can have trouble with low-degree regions of the graph in models such as the SBM. Attached are two examples of SBMs that are above the weak recovery threshold, but where these two normalized spectral methods produce communities that are peripheral, i.e., cutting a small tail of the graph that has a sparse normalized cut — see Figure 5.7.

In fact, we conjecture that neither of these two operators achieve the weak recovery threshold in general. But, more importantly, one should be reminded of the principled approach pursued here: The normalized Laplacians are motivated by combinatorial benchmarks, i.e., normalized cuts, which do not have a clear connection to the Bayes optimal estimator.

(3) Graph powering. We conclude with a recent proposal to bridge the advantage of spectral methods with robustness attributes, while keeping a Bayes-inspired construction. The method is developed in [ABS17b] and relies on the following operator.

Given a graph GG and a positive integer rr, define the rr-th graph power of GG as the graph G(r)G^{(r)} with the same vertex set as GG and where two vertices are connected if there exists a path of length ≤r\leq r between them in GG.

Note: G(r)G^{(r)} contains the edges of GG and adds edges between any two vertices at distance ≤r\leq r in GG. Note also that one can equivalently ask for a walk of length ≤r\leq r, rather than a path.

If AA denotes the adjacency matrix of GG with 1 on the diagonal (i.e., put self-loops to every vertex of GG), then the adjacency matrix A(r)A^{(r)} of G(r)G^{(r)} is defined by

For a graph GG, a rr-deepcut in GG corresponds to a cut in G(r)G^{(r)}, i.e.,

We now discuss two key attributes of graph powering:

The reason why powering and deepcuts matter is that it helps getting feedback from vertices that are further away, producing a form of combinatorial likelihood that is measured by the number of vertices that are not just directly connected to a vertex, but also neighbors at a deeper depth. The deepcuts are thus more “Bayes-like” and less “MAP-like,” as seen in the previous example where vertex 11 is now assigned to community 22 using 22-deepcuts rather than community 11 using standard cuts (i.e., 11-deepcuts).

Powering to homogenize the graph. Powering further helps mitigate the degree variations, and more generally density variations in the graph, both with respect to high and low densities. Since the degree of all vertices is raised with powering, both high and low density regions do not contrast as much under powering. Large degree vertices (as in Figure 5.3) do not stick out as much and tails (as in Figure 5.7) are thickened, and the more macroscopic properties of the graph can prevail.

The key property is captured by the following pictorial representation of the spectrum of A(r)A^{(r)} (say for r=⌊log⁡(n)⌋r=\lfloor\sqrt{\log(n)}\rfloor):

Chapter 6 Partial recovery for two communities

In this section, we discuss various results for partial recovery.

Almost exact recovery, also called weak consistency in the statistics literature, or strong recovery, has been investigated in various papers such as [YP14b, AL14, GMZZ15, MNS14, YP14a, AS15a].

We point out two approaches to obtain this result:

Boosting weak recovery with graph-splitting. One can use graph-splitting repeatedly to turn the results of the previous section on weak recovery into Theorem 21. However this requires having an algorithm to solve weak recovery first, which represents more work than needed to obtain Theorem 21. We mention nonetheless how one can take a shortcut assuming such an algorithm.

The idea is to graph-split GG into kk subgraphs with equal split-probabilities into G1,…,GkG_{1},\dots,G_{k} with k=⌊log⁡(n)⌋k=\lfloor\sqrt{\log(n)}\rfloor. Note that each GiG_{i} is marginally an SBM with parameters an=alog⁡(n)a_{n}=a\sqrt{\log(n)}, bn=blog⁡(n)b_{n}=b\sqrt{\log(n)}, so largely above the KS threshold. Now apply the algorithm that solves weak recovery in each of these graphs, to obtain a collection of kk clusterings X^1,…,X^k\hat{X}_{1},\dots,\hat{X}_{k}. One can now boost the accuracy by doing a vote for each pair of vertices over these different clusterings. E.g., take vertices 11 and 22, and define

Sphere comparison. While previous argument cuts shorter if one has a weak recovery algorithm, one can also obtain almost exact recovery directly. One possibility is to count the common neighbors at large enough depth between each pair of vertices. This uses “two poles” for comparison rather than a “single pole” as used in previous section for weak recovery (where we decided for each vertex by looking at the neighbors at large depths, rather than comparing two neighborhoods). We found that it is simpler to use a single pole when having to work at very large depth as needed for the sparse regime of weak recovery, whereas if one has the advantage of having diverging degrees, and thus the possibility of working at shorter depth, then using two poles allows for simplifications. The name “sphere comparision” used in [AS15a] refers to the fact that one compares the “spheres” of two vertices, i.e., the neighbors at a given depth from each vertex. This goes for example with the general intuition that the social spheres of two like-minded people should be more similar. In particular, the count of common neighbors is a natural benchmark of comparison.

The depth at which spheres need to be compared needs to be above half the graph diameter, so that spheres can overlap. However, in contrast to the constant degree regime, diverging degrees allow us to compare spheres at depths below the diameter, circumventing the use of walks. In [AS15a], graph splitting is also used to inject independence in the comparisons of the sphere, as the direct count of common neighbors is a challenging quantity to analyze due to dependencies. Instead, [AS15a] graph-splits the original graph into a work-graph and a bridge-graph, counting how many edges from the bridge-graph connect two spheres in the work-graph. We next provide more formal statements about this approach.

For an arbitrary vertex vv and reasonably small rr, there will typically be about drd^{r} vertices in Nr(v)N_{r}(v) (recall d=(a+b)/2d=(a+b)/2), and about (a−b2)r(\frac{a-b}{2})^{r} more of them will be in vv’s community than in each other community. Of course, this only holds when r<log⁡n/log⁡dr<\log n/\log d because there are not enough vertices in the graph otherwise. The obvious way to try to determine whether or not two vertices vv and v′v^{\prime} are in the same community is to guess that they are in the same community if ∣Nr(v)∩Nr(v′)∣>d2r/n|N_{r}(v)\cap N_{r}(v^{\prime})|>d^{2r}/n and different communities otherwise. Unfortunately, whether or not a vertex is in Nr(v)N_{r}(v) is not independent of whether or not it is in Nr(v′)N_{r}(v^{\prime}), which compromises this plan. This is why we use the graph-splitting step: Randomly assign every edge in GG to some set EE with a fixed probability cc and then count the number of edges in EE that connect Nr[G\E]N_{r[G\backslash E]} and Nr′[G\E]N_{r^{\prime}[G\backslash E]}:

Figure 6.1 provides an illustration of the statistics used. Further, [AS15d] develops an invariant statistics that does not require the knowledge of the model parameters in order to compare the spheres:

Let GG be a graph and let EE be the edge set obtained by sampling each edge with probability cc (i.e., the graph-split). For two vertices v,v′v,v^{\prime} in GG, define the sign-invariant statistics as

The key property is that this statistics Ir,r′[E]I_{r,r^{\prime}[E]} with high probability scales as

In particular, for r+r′r+r^{\prime} odd, Ir,r′[E](v⋅v′)I_{r,r^{\prime}[E]}(v\cdot v^{\prime}) will tend to be positive if vv and v′v^{\prime} are in the same community and negative otherwise, irrespective of the specific values of a,ba,b. That suggests the following agnostic algorithm for partial recovery:

A variant of this algorithm (that applies to the general SBM) is shown in [AS15d] to solve almost exact recovery efficiently under the conditions of Theorem 21. We conclude this section by noting that one can also study more specific almost exact recovery requirements, allowing for a specified number of misclassified vertices s(n)s(n). This is investigated in [YP15] when s(n)s(n) is moderately small (at most logarithmic), with an extension of Theorem 21 that applies to this more general setting. The case where s(n)s(n) is linear, i.e., a constant fraction of errors, is more challenging and is discussed in the next sections.

2 Partial recovery at finite SNR

Recall that partial recovery refers to the case that a fraction of misclassified vertices is constant, whereas the previous section investigates the case that a fraction of misclassified vertices is vanishing.

This takes place under two circumstances:

If a,ba,b are constant, i.e., the constant degree regime,

The optimal fraction of nodes that can be recovered was obtained in [MNS13] for two symmetric communities when the degrees are constant but the SNR is sufficiently large, connecting to the broadcasting problem on tree problem [EKPS00]. This result is further discussed below. It remains open to establish such a result at arbitrary finite SNR.

We next describe a result that gives the optimal tradeoff between the SNR and the MMSE (or the mutual information) for the two-symmetric SBM in the second regime, where SNR is finite (and arbitrary) but where degrees diverge. After that, we discuss results for constant degrees but large enough SNR.

3 Mutual Information-SNR tradeoff

In this section, we study the finite SNR regime with diverging degrees and show that the SBM is essentially equivalent to a spiked Wigner model (i.e., a low-rank matrix perturbed by a Wigner random matrix), where the spiked signal has a block structure (rather than a sparse structure as in sparse PCA [BR13, DM14]). To compare the two models, we use the mutual information.

and HH denotes the entropy. We next introduce the normalized MMSE of the SBM:

where ∥⋅∥F\|\cdot\|_{F} denotes the Frobenius norm.

To state the result that provides a single-letter characterization of the per-vertex MMSE (or mutual information), we need to introduce the effective Gaussian scalar channel. Namely, define the Gaussian channel

where X0∼Unif({+1,−1})X_{0}\sim{\sf Unif}(\{+1,-1\}) independent of Z0∼N(0,1)Z_{0}\sim{\sf N}(0,1). We denote by mmse(γ){\sf mmse}(\gamma) and I(γ){\sf I}(\gamma) the corresponding minimum mean square error and mutual information:

Note that these quantities can be written explicitly as Gaussian integrals of elementary functions:

We are now in position to state the result.

[DAM15] For any λ>0\lambda>0, let γ∗=γ∗(λ)\gamma_{*}=\gamma_{*}(\lambda) be the largest non-negative solution of the equation

[DAM15] When pn=a/n,qn=b/np_{n}=a/n,q_{n}=b/n, where a,ba,b are bounded as nn diverges, there exists an absolute constant CC such that

Here λ\lambda, ψ(γ,λ)\psi(\gamma,\lambda) and γ∗(λ)\gamma_{*}(\lambda) are as in Theorem 22.

A few remarks about the previous theorem and corollary:

Theorem 22 shows that the normalized MMSE (or mutual information) is non-trivial if and only if λ>1\lambda>1. This extends the results on weak recovery [Mas14, MNS15] discussed in Section 7.2 for the regime of finite SNR with diverging degrees, completing weak recovery in the SSBM with two communities and any choice of parameters;

Theorem 22 also gives upper and lower bounds for the optimal agreement. Let

Note that Theorem 22 requires merely diverging degrees (arbitrarily slowly), in contrast to general results from random matrix theory such as [BBAP05] that would require poly-logarithmic degrees to extract communities from the spiked Wigner model point of view. We refer to [PWBM16b, PWB16, BMV+] and references therein for generalizations of the spiked Wigner model discussed here with more general input signals.

4 Proof technique and connections to spiked Wigner models

Theorem 22 gives an exact expression for the normalized MMSE and mutual information in terms of an effective Gaussian noise channel. The Gaussian distribution emerges due to a universality result established in the proof: in the regime of the theorem, the SBM model is equivalent to a spiked Wigner model given by

The formal statement of the equivalence is as follows:

To obtain the limiting expression for the normalized mutual information in Theorem 22, first notice that for Y(λ)=λ/nXXt+ZY(\lambda)=\sqrt{\lambda/n}XX^{t}+Z,

Next, (i) use the fundamental theorem of calculus to express these boundary conditions as an integral of the derivative of the mutual information, (ii) use the I-MMSE identity [GSV05] to express this derivative in terms of the MMSE, (iii) upper-bound the MMSE using a specific estimator obtained from the AMP algorithm [DMM09] (or any algorithm performing optimally in this regime), (iv) evaluate the asymptotic performance of the AMP estimate using the density evolution technique [BM11, DM14], and (v) note that the obtained bound matches the original value of log⁡(2)\log(2) in the limit of nn tending to infinty:

This implies that (iii) is in fact an equality asymptotically, and using monotonicity and continuity properties of the integrand, the identity must hold for all SNRs as stated in the theorem. The only caveat not discussed here is the fact that AMP needs an initialization that is not fully symmetric to converge to the right solution, which causes the insertion in the proof of a noisy genie on the true labels XX at the channel output to break the symmetry for AMP. The genie is then removed by taking noise parameters that are arbitrarily large.

5 Partial recovery for constant degrees

Obtaining the expression for the optimal agreement at finite and arbitrary SNR when the degrees are constant remains an open problem (see also Sections 6.1 and 10). The problem is settled for high enough SNR in [MNS13], with the following expression relying on reconstruction error for the broadcasting on trees problem.

Note that the above expression takes into account the symmetry of the problem and can also been interpreted both as a normalized agreement and probability. Let PG(a,b):=lim sup⁡gPGn(a,b)P_{G}(a,b):=\limsup_{g}P_{G_{n}}(a,b). Define now the counterpart for the broadcasting problem on tree: Back to the notation of Section 5.1, define T(t)T^{(t)} as the Galton-Watson tree with Poisson((a+b)/2)((a+b)/2) offspring, flip probability b/(a+b)b/(a+b) and depth tt, and define the optimal inference probability of the root as

The reduction from [MNS15] discussed in Section 5.1 allows to deduce that PG(a,b)≤PT(a,b)P_{G}(a,b)\leq P_{T}(a,b), and this is shown to be an equality for large enough SNR:

Chapter 7 The general SBM

In this section we discuss results for the general SBM, where communities can take arbitrary relative sizes and where connectivity rates among communities are arbitrary.

We provide the fundamental limit for exact recovery in the general SBM, in the regime of the phase transition where WW scales like log⁡(n)Q/n\log(n)Q/n for a matrix QQ with positive entries.

and is not solvable if I+(p,Q)<1I_{+}(p,Q)<1, where D+D_{+} is defined by

Regarding the behavior at the threshold: If all the entries of QQ are non-zero, then exact recovery is solvable (and efficiently so) if and only if I+(p,Q)≥1I_{+}(p,Q)\geq 1. In general, exact recovery is solvable at the threshold, i.e., when I+(p,Q)=1I_{+}(p,Q)=1, if and only if any two columns of diag⁡(p)Q\operatorname{diag}(p)Q have a component that is non-zero and different in both columns.

matching the expression obtained in Theorem 3 for two symmetric communities.

We now discuss some properties of the functional D+D_{+} governing the fundamental limit for exact recovery in Theorem 25. For t∈t\in, let

and note that D+=max⁡t∈DtD_{+}=\max_{t\in}D_{t}. Since the function ftf_{t} satisfies

the functional DtD_{t} is a so-called ff-divergence [Csi63], like the KL-divergence (f(y)=ylog⁡yf(y)=y\log y), the Hellinger divergence, or the Chernoff divergence. Such functionals have a list of common properties described in [Csi63]. For example, if two distributions are perturbed by additive noise (i.e., convolving with a distribution), then the divergence always increases, or if some of the elements of the distributions’ support are merged, then the divergence always decreases. Each of these properties can be interpreted in terms of community detection (e.g., it is easier to recovery merged communities, etc.). Since DtD_{t} collapses to the Hellinger divergence when t=1/2t=1/2 and since it matches the Chernoff divergence for probability measures, we call DtD_{t} (and D+)D_{+}) the Chernoff-Hellinger (CH) divergence in [AS15a].

Theorem 25 thus gives a new operational meaning to an ff-divergence, showing that the fundamental limit for data clustering in SBMs is governed by the CH-divergence, similarly to the fundamental limit for data transmission in DMCs being governed by the KL-divergence. If the columns of diag⁡(p)Q\operatorname{diag}(p)Q are “different” enough, where difference is measured in CH-divergence, then one can separate the communities. This is analogous to the channel coding theorem that says that when the output’s distributions are “different” enough, where difference is measured in KL-divergence, then one can separate the codewords.

and any such maximizer can be chosen arbitrarily. If MAP fails in solving exact recovery, no other algorithm can succeed.

We proceed similarly to the symmetric case to obtain the impossibility part of Theorem 25, i.e., we reduce the problem to a genie hypothesis test for recovering a single vertex given the other vertices. However, we now work in the Bernoulli community prior model, for slight conveniences.

Imagine that in addition to observing GG, a genie provides the observation of X∼u={Xv:v∈[n]∖{u}}X_{\sim u}=\{X_{v}:v\in[n]\setminus\{u\}\}. Define now X^v=Xv\hat{X}_{v}=X_{v} for v∈[n]∖{u}v\in[n]\setminus\{u\} and

where ties can be broken arbitrarily if they occur (we assume that an error is declared in case of ties to simplify the analysis). If we fail at recovering a single component when all others are revealed, we must fail at solving exact recovery all at once, thus

This lower bound may appear to be loose at first, as recovering the entire communities from the graph GG seems much more difficult than classifying each vertex by having all others revealed (we call the latter component-MAP). As shown for the two symmetric case in Section 4, the obtained bound is, however, tight.

Recall that for the second moment method, one defines

where I+(p,Q)=min⁡i<jD+((diag⁡(p)Q)i,(diag⁡(p)Q)j)I_{+}(p,Q)=\min_{i<j}D_{+}((\operatorname{diag}(p)Q)_{i},(\operatorname{diag}(p)Q)_{j}).

A robust extension of this Lemma is proved in [AS15a] that allows for a slight perturbation of the binomial distributions.

1.2 Achievability

Two-round algorithms have proved to be powerful in the context of exact recovery. The general idea consists in using a first algorithm to obtain a good but not necessarily exact clustering, solving a joint assignment of all vertices, and then to switch to a local algorithm that “cleans up” the good clustering into an exact one by reclassifying each vertex. This approach has a few advantages:

If the clustering of the first round is accurate enough, the second round becomes approximately the genie-aided hypothesis test discussed in previous section, and the approach is built in to achieve the threshold;

if the clustering of the first round is efficient, then the overall method is efficient since the second round only performs computations for each single node separately and has thus linear complexity.

Some difficulties need to be overome for this program to be carried out:

One needs to obtain a good clustering in the first round, which is typically non-trivial;

One needs to be able to analyze the probability of success of the second round, as the graph is no longer independent of the obtained clusters.

To resolve the latter point, we rely in [ABH16] on the technique which we call “graph-splitting” and which takes again advantage of the sparsity of the graph.

Let GG be an nn-vertex graph and γ∈\gamma\in. The graph-splitting of GG with split-probability γ\gamma produces two random graphs G1,G2G_{1},G_{2} on the same vertex set as GG. The graph G1G_{1} is obtained by sampling each edge of GG independently with probability γ\gamma, and G2=G∖G1G_{2}=G\setminus G_{1} (i.e., G2G_{2} contains the edges from GG that have not been subsampled in G1G_{1}).

Graph splitting is convenient in part due to the following fact.

where Dv(X^,G2)D_{v}(\hat{X},G_{2}) is the degree profile of vertex vv, i.e., the kk-dimensional vector counting the number of neighbors of vertex vv in each community using the clustered graph (X^,G2)(\hat{X},G_{2}).

Our goal is to obtain on G1G_{1} a clustering that is almost exact, i.e., with only a vanishing fraction of misclassified vertices. If this can be achieved for some τ(n)\tau(n) that is o(log⁡(n))o(\log(n)), then a robust version of the genie-aided hypothesis test described in Section 7.1.1 can be run to re-classify each node successfully when I+(p,Q)>1I_{+}(p,Q)>1. Luckily, as we shall see in Section 6.1, almost exact recovery can be solved with the mere requirement that τ(n)=ω(1)\tau(n)=\omega(1) (i.e., τ(n)\tau(n) diverges). In particular, setting τ(n)=log⁡log⁡(n)\tau(n)=\log\log(n) does the job. We next describe more formally the previous reasoning.

We can now replace X^∼1\hat{X}_{\sim 1} with X∼1X_{\sim 1} to the expense that we may blow up this the probability by a factor no(1)n^{o(1)} since A(X,X^)=1−o(1)A(X,\hat{X})=1-o(1), again using the fact that expected degrees are logarithmic. Thus we have

and the conditioning on A(X,X^)=1−o(1)A(X,\hat{X})=1-o(1) can now be removed due to independence, so that

Therefore, in view of Theorem 27, the achievability part of Theorem 25 reduces to the following result.

This follows from Theorem 31 discussed below, based on the Sphere-comparison algorithm discussed in Section 6.

In conclusion, in the regime of Theorem 25, exact recovery can be shown by using graph-splitting and combining almost exact recovery with degrees that grow sub-logarithmically and an additional clean-up phase. The behavior of the component-MAP error (i.e., the probability of misclassifying a single node when others have been revealed) pings down the behavior of the threshold: if this probability is ω(1/n)\omega(1/n), exact recovery is not possible, and if it is o(1/n)o(1/n), exact recovery is possible. Decoding for the latter is then resolved by obtaining the exponent of the component-MAP error, which brings in the CH-divergence.

The local to global approach also has an important implication at the computational level. The achievability proof described in the previous section directly gives an algorithm: use graph-splitting to produce two graphs; solve almost exact recovery on the first graph and locally improve the obtained clusters with the second graph. Since the second round is efficient by construction (it corresponds to nn parallel local computations), it is sufficient to solve almost exact recovery efficiently (in the regime of diverging degrees) to obtain for free an efficient algorithm for exact recovery down to the threshold. Thus this gives a computational reduction. In fact, the process can be iterated to further reduce almost exact recovery to a weaker recovery requirements, until a ‘bottle-neck’ recovery problem is attained.

2 Weak recovery and generalized KS threshold

We recall the conjecture stated in [DKMZ11]:

It was also shown in [BLM15] that for SBMs with communities that are balanced and for parameters that satisfy a certain asymmetry condition, i.e., the requirement that μk\mu_{k} is a simple eigenvalue in Theorem 5 of [BLM15], the KS threshold can be achieved efficiently. The conditions of [BLM15] do not cover Conjecture 1 for k≥3k\geq 3. In [AS15c, AS17], the two positive parts of the above conjecture are proved, with an extended result applying to the general SBM. We next discuss these various results.

Theorem 30 implies the achievability part of Conjecture 1 part (i).

The algorithm used in [BLM15] is a spectral algorithm using the second eigenvector of the NB matrix discussed in Section 5.3.1. The algorithm used in [AS17] is an approximate acyclic belief propagation (ABP) algorithm, which corresponds to a power iteration method to extract the second eigenvector of the rr-NB matrix.

3 Partial recovery

The Sphere-comparison algorithm discussed in Section 6.1 gives the following result:

Tight expressions for partial recovery in the general SBM and at a finite SNR is open. We note the exception of a result obtained recently in [CKPZ16], which requires the assortative regime. We also refer to [GMZZ15, YP14a].

Chapter 8 The information-computation gap

The information-theoretic bound described below is obtained by using a non-efficient algorithm that samples uniformly at random a clustering that is typical, i.e., that has the right proportions of edges inside and across the clusters. We describe below how this gives a tight expression in various regimes. Note that to capture the exact information-theoretic threshold in all regimes, one would have to rely on tighter estimates on the posterior distribution of the clusters given the graph. A possibility is to estimate the limit of the normalized mutual information between the clusters and the graph, i.e., 1nI(X;G)\frac{1}{n}I(X;G), as done in [DAM15] for the regime of finite SNR with diverging degreesSimilar results were also obtained recently in a more general context in [CLM16, LM].—see Section 6.3. Recent results also obtained the expression for the finite degree regime in the disassortative case [CKPZ16]. Another possibility is to estimate the limiting total variation or KL-divergence between the graph distribution in the SBM vs. Erdős-Rényi model of matching expected degree. The limiting total variation is positive if and only if an hypothesis test can distinguish between the two models with a chance better than half. The easy implication of this is that if the total variation is vanishing, the weak recovery is not solvable (otherwise we would detect virtual clusters in the Erdős-Rényi model). This used in [BM16] to obtain a lower-bound on the information-theoretic threshold, using a contiguity argument, see further details at the end of this section.

To obtain our information-theoretic upper-bound, we rely on the following sampling algorithm:

where the above assumes that a≥ba\geq b; flip the above two inequalities in the case a<ba<b.

This bound strictly improves on the KS threshold for k≥4k\geq 4. See [AS17] for a numerical example.

The above bound corresponds to the regime where there is no bad clustering that is typical with high probability. The analog of this bound in the unbalanced case already provides examples to crossing KS for two communities, such as for p=(1/10,9/10)p=(1/10,9/10) and Q=(0,81;81,72)Q=(0,81;81,72). However, the above bound is not tight in the extreme regime of b=0b=0, since it reads a>2ka>2k as opposed to a>ka>k, and it only crosses the KS threshold at k=5k=5. Before explaining how to obtain tight interpolations, we provide further insight on the bound of Theorem 32.

Defining ak(b)a_{k}(b) as the unique solution of

and simplifying the bound in Theorem 32 gives the following.

Note that (8.9) approaches the optimal bound given by the presence of the giant at b=0b=0, and we further conjecture that ak(b)a_{k}(b) gives the correct first order approximation of the information-theoretic bound for small bb.

Note that the kk-colorability threshold for Erdős-Rényi graphs grows as 2klog⁡k2k\log k [AN05]. This may be used to obtain an information-theoretic bound, which would however be looser than the one obtained above.

It is possible to see that this gives also the correct scaling in kk for a=0a=0, i.e., that for b<(1−ε)klog⁡(k)+ok(1)b<(1-\varepsilon)k\log(k)+o_{k}(1), ε>0\varepsilon>0, weak recovery is information-theoretically impossible. To see this, consider v∈Gv\in G, b=(1−ϵ)klog⁡(k)b=(1-\epsilon)k\log(k), and assume that we know the communities of all vertices more than r=log⁡(log⁡(n))r=\log(\log(n)) edges away from vv. For each vertex rr edges away from vv, there will be approximately kϵk^{\epsilon} communities that it has no neighbors in. Then vertices r−1r-1 edges away from vv have approximately kϵlog⁡(k)k^{\epsilon}\log(k) neighbors that are potentially in each community, with approximately log⁡(k)\log(k) fewer neighbors suspected of being in its community than in the average other community. At that point, the noise has mostly drowned out the signal and our confidence that we know anything about the vertices’ communities continues to degrade with each successive step towards vv.

A different approach is developed in [BM16] to prove that the scaling in kk is in fact optimal, obtaining both upper and lower bounds on the information-theoretic threshold that match in the regime of large kk when (a−b)/d=O(1)(a-b)/d=O(1). In terms of the expected degree, the threshold reads as follows.

The upper-bound in [BM16] corresponds essentially to (8.5), the regime in which the first moment bound is vanishing. The lower-bound is based on a contiguity argument and second moment estimates from [AN05]. The idea is to compare the distribution of graphs drawn from the SBM, i.e.,

which is shown in [BM16]; see [Moo17] for more details.

2 Nature of the gap

The nature of such gap phenomena can be seen from different perspectives. One interpretation comes from the behavior of belief propagation. See also [Moo17] for further discussions.

Above the Kesten-Stigum threshold, the uniform fixed point is unstable and BP does not get attracted to it and reaches a non-trivial solution on most initializations. In particular, the ABP algorithm discussed in Section 5.3.1, which starts with a random initialization with order n\sqrt{n} vertices towards the true partition (due to the Central Limit Theorem), is enough to make linearized BP reach a non-trivial fixed point. Below the information-theoretic threshold, the non-trivial fixed points are no longer present, and BP settles in a solution that represents a noisy clustering, i.e., one that would also take place in the Erős-Rényi model due to the noise fluctuations in the model. In the gap region, non-trivial fixed points are still present, but the trivial fixed points are locally stable and attract most initializations. One could try multiple initializations until a non-trivial fixed point is reached, using for example the graph-splitting technique discussed in Section 5.2.2 to test such solutions. However, it is believed that an exponential number of initializations is needed to reach a good solution.

This connects to the “energy landscape” of the possible clusterings: in this gap region, the non-trivial fixed points have a very small basin of attraction, and they can only attract an exponentially small fraction of initializations. To connect to the results from Section 7.1, the success of the two-round procedure can also be related to the energy landscape, i.e., the objective function of MAP in this case. Above the CH threshold, an almost exact solution having n−o(n)n-o(n) correctly labeled vertices can be converted to an exact solution by the degree-profiling hypothesis test. This is essentially saying that BP at depth 1, i.e., computing the likelihood of a vertex based on its direct neighbors, allows us to reach the global maximum of the likelihood function with such a strong initialization. In other words, the BP view, or more precisely understanding the question of how accurate our initial beliefs need to be in order to amplify these to non-trivial levels based on neighbors at a given depth, is related to the landscape of the objective function.

The gap phenomenon also admits a local manifestation in the context of ABP, having to do with the approximation discussed in Section 5.3.1, where the non-linear terms behave differently from k=3k=3 to k=4k=4 due to the loss of a diminishing return property. Better understanding such gap phenomena is an active research area.

3 Proof technique for crossing KS

We explain in this section how to obtain the bound in Theorem 32. A first problem is to estimate the likelihood that a bad clustering, i.e., one that has an overlap close to 1/k1/k with the true clustering, belongs to the typical set. As clusters sampled from the TS algorithm are balanced, a bad clustering must split each cluster roughly into kk balanced subgroups that belong to each community, see Figure 8.1. Thus it is unlikely to keep the right proportions of edges inside and across the clusters, but depending on the exponent of this rare event, and since there are exponentially many bad clusterings, there may exist one bad clustering that looks typical.

As illustrated in Figure 8.1, the number of edges that are contained in the clusters of a bad clustering is roughly distributed as the sum of two Binomial random variables,

when ε,δ\varepsilon,\delta are arbitrarily small, where A:=a+b(k−1)2log⁡ka+(k−1)b+a2log⁡a+b(k−1)2log⁡bA:=\frac{a+b(k-1)}{2}\log\frac{k}{a+(k-1)b}+\frac{a}{2}\log a+\frac{b(k-1)}{2}\log b. One can then use the fact that ∣Tδ(G)∣≥1|T_{\delta}(G)|\geq 1 with high probability, since the planted clustering is typical with high probability, and using a union bound and the fact that there are at most knk^{n} bad clusterings:

Since the algorithm samples a typical clustering, we only need the number of bad and typical clusterings to be small compared to the total number of typical clusterings, in expectation. Namely, we can get a tighter bound on the probability of error of the TS algorithm by obtaining a tighter bound on the typical set size than simply 1, i.e., estimating (8.12) without relying on the loose bound from (8.13). We proceed here with three levels of refinements to bound the typical set size. In each level, we construct a random labelling of the vertices that remains typical, and then use entropic estimates to count the number of such typical labellings.

First we exploit the large fraction of nodes that are in tree-like components outside of the giant, and the labels are distributed on such trees as in the broadcasting on trees problem 5.1. Specifically, for a uniformly drawn root node XX, each edge in the tree acts as a kk-ary symmetric channel. Thus, labelling the nodes in the trees according to the above distribution and freezing the giant to the correct labels leads to a typical clustering with high probability. The resulting bound matches the giant component bound at b=0b=0, but is unlikely to scale properly for small bb. To improve on this, we next take into account the vertices in the giant that belong to planted trees, and follow the same program as above, except that the root node (in the giant) is now frozen to the correct label rather than being uniformly drawn. This gives a bound that we claim is tight at the first order approximation when bb is small. Finally, we also take into account vertices that are not saturated, i.e., whose neighbors do not cover all communities and who can thus be swapped without affecting typicality. The final bound allows to cross at k=4k=4.

Chapter 9 Other block models

There are various extensions of the basic SBM discussed in previous section. The variations increase yearly, and we mention here a few basic variants:

Labelled SBMs: allowing for edges to carry a label, which can model intensities of similarity functions between vertices; see for example [HLM, XLM14, JL15, YP15]; see also [Abb17] for a reduction from labelled edges to unlabelled edges for certain recovery requirements;

Degree-corrected SBMs: allowing for a degree parameter for each vertex that scales the edge probabilities in order to make expected degrees match the observed degrees; see for example [KN11] and [GLM15b, GLM15a] for sharp results on such models;

Overlapping SBMs: allowing for the communities to overlap, such as in the mixed-membership SBM [ABFX08], where each vertex has a profile of community memberships or a continuous label—see also [For10, NP15, BKN11, Pei15, PDFV05, GB13, AS15a]; also [Abb17] for reductions to non-overlapping community models in some cases and recent results that sharp for MMSBM in [HS17];

Metric and geometric SBMs: allowing for labels at the vertices that leave in metric spaces, e.g., a grid, a Euclidean space or a sphere, and where connectivity depends on the distance between the vertices’ labels as further discussed below; see [AMM+17, ABS17a, GMPS17, ABS17b];

We define here two geometric block models with two communities, the sphere-GBM and the mixture-GBM. For each model, Xn=(X1,…,Xn)X^{n}=(X_{1},\dots,X_{n}) has i.i.d. Bernoulli(1/2)(1/2) components, which represents the abstract community labels for each vertex. We next add a geometric label for each vertex, and draw the graph depending on both the abstract and geometric labels:

In the sphere-GBM(n,d,τ,a,b)(n,d,\tau,a,b), Un=(U1,…,Un)U^{n}=(U_{1},\dots,U_{n}) has i.i.d. components drawn uniformly at random on a sphere of dimension dd; the graph G=([n],E)G=([n],E) is drawn with edges independent conditionally on Xn,UnX^{n},U^{n}, such that for 1≤i<j≤n1\leq i<j\leq n,

In the mixture-GBM(n,d,s,τ)(n,d,s,\tau), Un=(U1,…,Un)U^{n}=(U_{1},\dots,U_{n}) has independent components conditionally on XnX^{n} with UiU_{i} drawn from N(0d,Id)\mathcal{N}(0^{d},I_{d}) if Xi=0X_{i}=0 and from N((s,0d−1),Id)\mathcal{N}((s,0^{d-1}),I_{d}) if Xi=1X_{i}=1 (two isotropic Gaussians in dimension dd at distance ss); the graph G=([n],E)G=([n],E) is drawn with edges independent conditionally on UnU^{n}, such that for 1≤i<j≤n1\leq i<j\leq n,

In dimension dd, we want τ\tau to be at least of order n−1/dn^{-1/d} with a large enough constant in order for the graphs to have giant components, and (log⁡(n)/n)1/d(\log(n)/n)^{1/d} with a large enough constant for connectivity.

Previous models have a much larger number of short loops than the SBM does, which captures a feature of various real world graphs having transitive attributes (“friends of friends are more likely to be friends”). On the flip side, these models do not have ‘abstract edges’ as in the SBM, which can also occur frequently in applications given the “small-world phenomenon”. This says that real graphs often have relatively low diameter (about 6 in the case of Milgram’s experiment), which does not take place in purely geometric block models. Therefore, a natural candidate is to superpose an SBM and a GBM to form an hybrid block model (HBM), see for example [ABS17b]. The many loops of the GBM can be challenging for some of the algorithms discussed in this monograph, in particular for basic spectral methods and even belief propagation; we discussed in Section 5.3.2 how graph powering provides a more robust alternative in such cases.

Another variant that circumvents the discussions about non-edges is to consider a censored block model (CBM), defined as follows (see [HLM, ABBS14a]).

Let G=([n],E)G=([n],E) be a graph and ε∈\varepsilon\in. Let Xn=(X1,…,Xn)X^{n}=(X_{1},\dots,X_{n}) with i.i.d. Bernoulli(1/2)(1/2) components. Let YY be a random vector of dimension (n2){n\choose 2} taking values in {0,1,⋆}\{0,1,\star\} such that

The case of an Erdős-Rényi graph is discussed in [ABBS14a, ABBS14b, CRV15, SKLZ, CHG14, CG14] and the case of a grid in [AMM+17]. For a random geometric graph on a sphere, it is closely related to the above sphere-GBM. Inserting the ⋆\star symbol simplifies a few aspects compared to SBMs, such as Lemma 12, which is needed in the weak recovery converse of the SBM. In this sense, the CBM is a more convenient model than the SBM from a mathematical viewpoint, while behaving similarly to the SBM (when GG is an Erdős-Rényi graph of degree (a+b)/2(a+b)/2 and ε=b/(a+b)\varepsilon=b/(a+b) for the two community symmetric case). The CBM can also be viewed as a synchronization model over the binary field, and more general synchronization models have been studied in [PWBM16b, PWBM16a], with a complete description both at the fundamental and algorithmic level (generalizing in particular the results from Section 6.3).

Note all previously mentioned models are different forms of latent variable models. Focusing on the graphical nature, on can also consider the more general inhomogenous random graphs [BJR07], which attach to each vertex a label in a set that is not necessarily finite, and where edges are drawn independently from a given kernel conditionally on these labels. This gives in fact a way to model mixed-membership, and is also related to graphons, which corresponds to the case where each vertex has a continuous label.

It may be worth saying a few words about the theory of graphons and its implications for us. Lovász and co-authors introduced graphons [LS06, BCL+08, Lov12] in the study of large graphs (also related to Szemerédi’s Regularity Lemma [Sze76]), showing thatInitially in dense regimes and more recently for sparse regimes [BCCZ14]. a convergent sequence of graphs admits a limit object, the graphon, that preserves many local and global properties of the sequence. Graphons can be represented by a measurable function w:2→w:^{2}\to, which can be viewed as a continuous extension of the connectivity matrix WW used throughout this paper. Most relevant to us is that any network model that is invariant under node labelings, such as most models of practical interest, can be described by an edge distribution that is conditionally independent on hidden node labels, via such a measurable map ww. This gives a de Finetti’s theorem for label-invariant models [Hoo79, Ald81, DJ07], but does not require the topological theory behind it. Thus the theory of graphons may give a broader meaning to the study of block models, which are precisely building blocks to graphons, but for the sole purpose of studying exchangeable network models, inhomogeneous random graphs give enough degrees of freedom.

Further, many problems in machine learning and networks are also concerned with interactions of items that go beyond the pairwise setting. For example, citation or metabolic networks rely on interactions among kk-tuples of vertices. These can be captured by extending previous models to hypergraphs.Recent results for community detection in hypergraphs were obtained in [KBG17].

Chapter 10 Concluding remarks and open problems

One may cast the SBM and the previously discussed variants into a comprehensive class of conditional random fields [Laf01] or graphical channels [AM15], where edge labels depend on vertex labels.

Let V=[n]V=[n] and G=(V,E(G))G=(V,E(G)) be a hypergraph with N=∣E(G)∣N=|E(G)|. Let X\mathcal{X} and Y\mathcal{Y} be two finite sets called, respectively, the input and output alphabets, and Q(⋅∣⋅)Q(\cdot|\cdot) be a channel from Xk\mathcal{X}^{k} to Y\mathcal{Y} called the kernel. To each vertex in VV, assign a vertex-variable in X\mathcal{X}, and to each edge in E(G)E(G), assign an edge-variable in Y\mathcal{Y}. Let yIy_{I} denote the edge-variable attached to edge II, and x[I]x[I] denote the kk node-variables adjacent to II. We define a graphical channel with graph GG and kernel QQ as the channel P(⋅∣⋅)P(\cdot|\cdot) given by

Quantities that are key to understanding how much information can be carried in such graphical channels are:

how “rich” is the observation graph GG and

how “noisy” is the connectivity kernel QQ.

This survey quantifies the tradeoffs between these two quantities in the SBM (which corresponds to a discrete X\mathcal{X} and a specific graph GG and kernel QQ), in order to recover the input from the output. It shows that depending on the recovery requirements, different phase transitions take place: For exact recovery, the CH threshold is efficiently achievable for any fixed number of communities. For weak recovery, the KS threshold is efficiently achievable for any fixed number of communities, but it is not necessarily the information-theoretic threshold, leaving a question mark on whether the KS threshold is indeed the fundamental limit for efficient algorithms. We also presented partial results on the optimal tradeoffs between various measures of distortion and the SNR in the partial recovery regime.

In the quest to achieve these thresholds, novel algorithmic ideas emerged, similarly to the quest to achieve the capacity in channel coding, with sphere-comparison, graph-splitting, linearized BP, nonbacktracking operators and graph powering. This program can now be pursued in different directions, refining the models, improving the algorithms and expanding the realm of applications. In particular, similar tradeoffs are expected to take place in other graphical channels, such as ranking, synchronization, topic modelling, collaboration filtering, planted embeddings and more. We list below a series of possible open problems.

Exact recovery for sub-linear communities. The survey gives a comprehensive treatment for exact recovery with linear-size communities, i.e., when the entries of pp and its dimension kk do not scale with nn. If k=o(log⁡(n))k=o(\log(n)), most of the developed techniques tend to extend. What happens for larger kk? In [ABKK15, YC14], some of this is captured by looking at coarse regimes of the parameters. It would be interesting to pursue sub-linear communities in the lens of phase transitions and information-computation gaps.

Partial recovery. What is the fundamental tradeoff between the SNR and the distortion (MMSE, agreement or mutual information) for partial recovery and arbitrary constant degrees? As a preliminary result, one may attempt to show that I(X;G)/nI(X;G)/n admits a limit in the constant degree regime. This is proved in [AM15] for two symmetric disassortative communities, but the assortative case remains open. A recent result from [CKPZ16] further gives the expression for the limit in the disassortative case, but the assortative case remains open.

Related to the last point; can we locate the exact information-theoretic threshold for weak recovery when k≥3k\geq 3? Recent results and precise conjectures were recently obtained in [CLM16], for the regime of finite SNR with diverging degrees discussed in Section 6.3. Arbitrary constant degrees remain open.

Can we strengthen the evidence that the KS threshold is the computational threshold? In the general sparse SBM, this corresponds to the following conjecture:

Scaling laws: What is the optimal scaling/exponents of the probability of error for the various recovery requirements? How large need the graph be, i.e., what is the scaling in nn, so that the probability of error in the discussed resultsRecent work [YDHD+16] has investigated finite size information-theoretic analysis for weak recovery. is below a given threshold?

How do previous results and open problems generalize to the extensions of SBMs with labels, degree-corrections, overlaps (see [HS17]), etc. In the related line of work for graphons [CWA12, ACC13, BCS15], are there fundamental limits in learning the model or recovering the vertex parameters up to a given distortion? The approach of [AS15a] and sphere-comparison were generalized to the case of overlapping communities in [BCLS17] with applications to collaborative filtering. Can we establish fundamental limits and algorithms achieving the limits for other unsupervised machine learning problems, such as topic modelling, ranking, Gaussian mixture clustering (see [BMV+]), low-rank matrix recovery (see [DM14] for sparse PCA) or general graphical channels?

How robust are the thresholds to model perturbations or adversaries? It was shown in [MMV, MPW16] that monotone adversaries can interestingly shift the threshold for weak recovery; what is the threshold for such adversarial models or adversaries having a budget of edges to perturb? What are robust algorithms (see also Section 5.3.2)? What are the exact and weak recovery thresholds in geometric block models (see also previous section)?

Semi-supervised extensions: How do the fundamental limits change in a semi-supervised setting,Partial results and experiments were obtained for a semi-supervised model [ZMZ14]. Another setting with side-information is considered in [CNM04] with metadata available at the network vertices. Effects on the exact recovery threshold have also been recently investigated in [AAV17]. i.e., when some of the vertex labels are revealed, exactly or probabilistically?

Dynamical extensions: In some cases, the network may be dynamical and one may observe different time instances of the network. How does one integrate such dynamics to understand community detection?Partial results were recently obtained in [GZC+16].

I am thankful to my collaborators from the main papers discussed in this monograph, in particular, A. Bandeira, Y. Deshpande, J. Fan, A. Montanari, C. Sandon, K. Wang, Y. Zhong. Special thanks to Colin and Kaizheng for their valuable inputs on this monograph. I would like to also thank the many colleagues with whom I had various conservations on the topic over the past years, in particular, C. Bordenave, F. Krzakala, M. Lelarge, L. Massoulié, C. Moore, E. Mossel, Y. Peres, A. Sly, V. Vu, L. Zdeborová, as well as the colleagues, students and anonymous reviewers who contributed to the significant improvements of the drafts. Finally, I would like to thank the Institute for Advanced Study in Princeton for providing an ideal environment to write part of this monograph.

Bibliography