Achieving Exact Cluster Recovery Threshold via Semidefinite Programming: Extensions
Bruce Hajek, Yihong Wu, Jiaming Xu
Introduction
The stochastic block model (SBM) , also known as the planted partition model , is a popular statistical model for studying the community detection and graph partitioning problem (see, e.g., and the references therein). In its simple form, it assumes that out of a total of vertices, of them are partitioned into clusters with sizes and the remaining vertices do not belong to any clusters (called outlier vertices); a random graph is then generated based on the cluster structure, where each pair of vertices is connected independently with probability if they are in the same cluster or otherwise. In this paper, we focus on the problem of exactly recovering the clusters (up to a permutation of cluster indices) based on the graph .
In the setting of two equal-sized clusters or a single cluster plus outlier vertices, recently it has been shown in that the semidefinite programming (SDP) relaxation of the maximum likelihood (ML) estimator achieves the optimal recovery threshold with high probability, in the asymptotic regime of and for fixed constants and cluster sizes growing linearly in as . The result for two equal-sized clusters was originally conjectured in and another resolution was recently given in independently.
In this paper, we extend the optimality of SDP to the following three cases, while still assuming and with :
Stochastic block model with two asymmetric clusters: the first cluster consists of vertices and the second cluster consists of vertices with for some The value of may be known or unknown to the recovery procedure.
Stochastic block model with clusters of equal size : is a fixed integer and .
Censored block model with two clusters: given an Erdős-Rényi random graph , each edge has a label independently drawn according to the distribution:
where if vertex is in the first cluster and otherwise; is a fixed constant.Under the censored block model, the graph itself does not contain any information about the underlying clusters and we are interested in recovering the clusters by observing the graph and edge labels.
In all three cases, we show that a necessary condition for the maximum likelihood (ML) estimator to succeed coincides with a sufficient condition for the correctness of the SDP procedure, thereby establishing both the optimal recovery threshold and the optimality of the SDP relaxation. The proof techniques in this paper are similar to those in ; however, the construction and validation of dual certificates for the success of SDP are more challenging especially in the multiple-cluster case. Notably, we resolve an open problem raised in [1, Section 6] about the optimal recovery threshold in the censored block model and show that the optimal recovery threshold can be achieved in polynomial-time via SDP.
To further investigate the applicability of SDP procedures for community detection, we explored two cases for which the algorithm is adaptive to the unknown cluster sizes. First, we found that for two clusters, the conditions for exact recovery are the strongest in the equal-sized case. This suggests, and it is shown in Section 2.2, that if the cluster size constraint is replaced by an appropriate Lagrangian term not depending on the cluster size, exact recovery is achieved for all cluster sizes under the condition required for two equal-sized clusters. Secondly, we examined the general community detection problem with a fixed number of unequal-sized clusters and with outlier vertices, and identified a sufficient condition for the SDP procedure to achieve exact recovery with knowledge of only the smallest cluster size and the parameters (See Section 5.)
The optimality result of SDP has recently been extended to the cases with number of equal-sized clusters in and a fixed number of clusters with unequal sizes in .
For the case of equal-sized clusters, it is independently shown in that the optimal recovery threshold can be obtained in polynomial-time. Their clustering algorithm is a two-step procedure similar to , where the partial recovery is achieved via a simple spectral algorithm. For the case with two unequal-sized clusters, a sufficient (but not tight) recovery condition is also derived in .
Further literature on SDP for cluster recovery
There has been a recent surge of interest in analyzing the semidefinite programming relaxation approach for cluster recovery; some of the latest development are summarized below. For different recovery approaches such as spectral methods, we refer the reader to for details.
The SDP approach is mostly analyzed in the regime where the average degrees scale as , with the objective of exact cluster recovery. In this setting, the analysis often relies on the standard technique of dual witnesses, which amounts to constructing the dual variables so that the desired KKT conditions are satisfied for the primal variable corresponding to the true clusters. The SDP has been applied to recover cliques or densest subgraphs in . For the stochastic block model with possibly unbounded number of clusters, a sufficient condition for an SDP procedure to achieve exact recovery is obtained in , which improves the sufficient conditions in in terms of scaling. Various formulations of SDP for cluster recovery are discussed in . The robustness of the SDP has been investigated in for minimum bisection in the semirandom model with monotone adversary and, more recently, in for generalized SBM with arbitrary outlier vertices. The SDP machinery has also been applied to recover clusters with partially observed graphs and binary matrices . In the converse direction, necessary conditions for the success of particular SDPs are obtained in . In contrast to the previous work mentioned above where the constants are often loose, the recent line of work initiated by , and followed by and the current paper, focus on establishing necessary and sufficient conditions in the special case of a fixed number of clusters with sharp constants, attained via SDP relaxations.
In the sparse graph case with bounded average degree, exact recovery is provably impossible and instead the goal is to achieve partial recovery, namely, to correctly cluster all but a small fraction of vertices. Using Grothendieck’s inequality, a sufficient condition for SDP to achieve partial recovery is obtained in ; the technique is extended to the labeled stochastic block model in . In , an SDP-based test is applied to distinguish the binary symmetric stochastic block model versus the Erdős-Rényi random graph and shown to attain the optimal detection threshold.
Notation
Denote the identity matrix by , the all-one matrix by and the all-one vector by . We write if is symmetric and positive semidefinite and if all the entries of are non-negative. Let denote the set of all symmetric matrices. For , let denote its second smallest eigenvalue. For any matrix , let denote its spectral norm. For any positive integer , let . For any set , let denote its cardinality and denote its complement. For , let . We use standard big notations, e.g., for any sequences and , if there is an absolute constant such that ; or if there exists an absolute constant such that . Let denote the Bernoulli distribution with mean and denote the binomial distribution with trials and success probability . All logarithms are natural and we use the convention .
Binary asymmetric SBM
Let denote the adjacency matrix of the graph, and denote the underlying true partition, where the clusters and have cardinalities and , respectively, and we consider the asymptotic regime as for fixed. In this subsection we assume that is known to the recovery procedure and the goal is to obtain the -dependent optimal recovery threshold attained by SDP relaxations.
The cluster structure under the binary stochastic block model can be represented by a vector such that if vertex is in the first cluster and otherwise. Let correspond to the true clusters. Then the ML estimator of for the case can be simply stated as
which maximizes the number of in-cluster edges minus the number of out-cluster edges subject to the cluster size constraint. If , (1) reduces to the minimum graph bisection problem which is NP-hard in the worst case. Due to the computational intractability of the ML estimator, next we turn to its convex relaxation. Let . Then is equivalent to , and if and only if . Therefore, (1) can be recast asHenceforth, all matrix variables in the optimization are symmetric.
Notice that any feasible solution is a rank-one positive semidefinite matrix. Relaxing this condition by dropping the rank-one restriction, we obtain the following convex relaxation of (2), which is a semidefinite program:
We note that the only model parameter needed by the estimator (3) is the cluster size .
Let correspond to the true partition and denote the set of all admissible partitions. The following result establishes the optimality of the SDP procedure.
with , , , and
The proof of Theorem 1 is similar in outline to the proof given in , but a considerable detour is needed to handle the imbalance. Notice that by definition, , and . The threshold function turns out to be the error exponent in the following large deviation events. For vertex , let denotes the number of edges between vertex and vertices in , and define similarly. Then,
Next we prove a converse for Theorem 1 which shows that the recovery threshold achieved by the SDP relaxation is in fact optimal.
In the special case with two equal-sized clusters, we have and . The corresponding threshold has been established in , and the achievability by SDP has been shown in and independently by later.
A recent work also studies the exact recovery problem in the unbalanced case and provides the sufficient (but not tight) recovery condition for a polynomial-time two-step procedure based on the spectral method.
2 Unknown cluster size
Theorem 4 shows that if one knows the relative cluster size , the SDP relaxation (3) achieves the size-dependent optimal threshold . For fixed and , is minimized at (see Appendix A for a proof). This suggests that for two communities the equal-sized case is the most difficult to cluster. Indeed, the next result proves that if there is no constraint on the cluster size, then the optimal recovery threshold coincides with that in the balanced case, i.e., , which can be achieved by a penalized SDP.
Theorem 3 holds for all cluster sizes including the extreme case where the entire network forms a single cluster (), in which case the SDP (5) outputs with high probability. The downside is that the penalization parameter depends on the parameters and . Nevertheless, there exists a fully data-driven choice of based on the degree distribution of the network, so that Theorem 3 continues to hold whenever the cluster sizes scale linearly, i.e., ; the price to pay for adaptivity is that the probability of error vanishes polylogarithmically instead of polynomially as . See Appendix B for details.
SBM with multiple equal-sized clusters
The cluster structure under the stochastic block model with clusters of equal size can be represented by binary vectors , where is the indicator function of the cluster , such that if vertex is in cluster and otherwise. Let correspond to the true clusters and let denote the adjacency matrix. Then the maximum likelihood (ML) estimator of for the case can be simply stated as
We remark that we could as well have worked with the constraint , which, for , is equivalent to the last constraint in (8). Letting , we can also equivalently rewrite (8) as
The only model parameter needed by the estimator (9) is the cluster size . Let correspond to the true clusters and define
The sufficient condition for the success of SDP in (9) is given as follows.
The following result establishes the optimality of the SDP procedure.
The optimal recovery threshold is also obtained by two parallel independent works via a polynomial-time two-step procedure, consisting of a partial recovery algorithm followed by a cleanup stage. The previous work studies the stochastic block model in a much more general setting with clusters of equal size plus outlier vertices, where and the edge probabilities may scale with arbitrarily as long as ; it is shown that an SDP achieves exact recovery with high probability provided that
for some universal constant . In the special setting where the network consists of a fixed number of clusters without outliers and , the sufficient condition (10) simplifies to for some absolute constant , which is off by a constant factor compared to the sharp sufficient condition given by Theorem 4.
It is straightforward to extend the current proof of Theorem 5 to the regime where , for any fixed and , showing that SDP achieves the optimal recovery threshold . Indeed, the preprint shows similar optimality results of SDP for number of equal-sized clusters. Conversely, it has been recently proved in that SDP relaxations cease to be optimal for logarithmically many communities in the sense that SDP is constantwise suboptimal when for a large enough constant and orderwise suboptimal when .
Binary censored block model
Under the binary censored block model, with possibly unequal cluster sizes, the cluster structure can be represented by a vector such that if vertex is in the first cluster and if vertex is in the second cluster. Let correspond to the true clusters. Let denote the weighted adjacency matrix such that if are not connected by an edge; if are connected by an edge with label ; if are connected by an edge with label . Then the ML estimator of can be simply stated as
which maximizes the number of in-cluster edges minus that of in-cluster edges, or equivalently, maximizes the number of cross-cluster edges minus that of cross-cluster edges. The NP-hard max-cut problem can be reduced to (11) by simply labeling all the edges in the input graph as edges, and thus (11) is computationally intractable in the worst case. Instead, we consider the SDP studied in obtained by convex relaxation. Let . Then is equivalent to . Therefore, (6) can be recast as
Replacing the rank-one constraint by positive semidefiniteness, we obtain the following convex relaxation of (12), which is an SDP:
We remark that (13) does not rely on any knowledge of the model parameters. Let and . The following result establishes the success condition of the SDP procedure in the scaling regime for a fixed constant :
Next we prove a converse for Theorem 6 which shows that the recovery threshold achieved by the SDP relaxation is in fact optimal.
Theorem 7 still holds if the cluster sizes are proportional to and known to the estimators, i.e., the prior distribution of is uniform over for with .
Denote by the optimal recovery threshold, namely, the infimum of such that exact cluster recovery is possible with probability converging to one as . Our results show that for all , the optimal recovery threshold is given by
and can be achieved by the SDP relaxations. The optimal recovery threshold is insensitive to , which is in contrast to what we have seen for the binary stochastic block model.
Exact cluster recovery in the censored block model is previously studied in and it is shown that if , the maximum likelihood estimator achieves the optimal recovery threshold , while an SDP relaxation of the ML estimator succeeds if . The optimal recovery threshold for any fixed and whether it can be achieved in polynomial-time were previously unknown. Theorem 6 and Theorem 7 together show that the SDP relaxation achieves the optimal recovery threshold for any fixed constant . Notice that when . For the censored block model with the background graph being random regular graph, it is further shown in that the SDP relaxations also achieve the optimal exact recovery threshold.
The above exact recovery threshold in the regime shall be contrasted with the positively correlated recovery threshold in the sparse regime for constant . In this sparse regime, there exists at least a constant fraction of vertices with no neighbors and exactly recovering the clusters is hopeless; instead, the goal is to find an estimator positively correlated with up to a global flip of signs. It was conjectured in that the positively correlated recovery is possible if and only if ; the converse part is shown in and recently it is proved in that spectral algorithms achieve the sharp threshold in polynomial-time.
An SDP for general cluster structure
In this section we consider SDPs for the general case of multiple clusters and outliers. We assume there are clusters with sizes and outlier vertices. Vertices in the same cluster are connected with probability , while other pairs of vertices are connected between them with probability We consider the asymptotic regime and as for fixed, with Let We derive sufficient conditions for exact recovery by SDPs. While the conditions are not the tightest possible for specific cases, we would like to identify an algorithm that recovers the cluster matrix exactly without knowing the details of the cluster structure. As in Section 3, the true cluster matrix can be expressed as where is the indicator function of the cluster. Denote by the collection of all such cluster matrices.
Implementing the SDP (15) requires no knowledge of the density parameters and , the number of clusters or the sizes of the individual clusters; but it does require the exact knowledge of the sum as well as the sum of squares of the cluster sizes, which, in practical applications, may be unrealistic to assume. Therefore, similar to (5), we also consider the following penalized SDP, obtained by removing the constraints for those two quantities while augmenting the objective function:
Here the penalization parameters and must be specified.
Clearly the above two SDPs are different and need not have the same solutions; nevertheless, they are similar enough so that in the following theorem we state a sufficient condition for either of the SDPs to exactly recover with high probability. Define
For fixed, is a strictly convex, nonnegative function in which is zero if and only if
Suppose there exists and with such that
We examine two simpler sufficient conditions for recovery, assuming we have enough information to implement one of the two SDPs, and we also have a lower bound on the ’s, but we don’t know how many clusters there are nor whether there are outlier vertices. The conditions of Theorem 8 are most stringent when there are two clusters of the smallest possible size and in that case we get the tightest result from the theorem by selecting yielding the following corollary:
There is no simple expression for in Corollary 1. If instead we consider the equation we have the smaller but explicit solution where Using this in the test we obtain the following weaker but more explicit recovery condition, which, nevertheless, is within a factor of eight of the necessary condition (see Remark 32 below):
Let us compare the sufficient condition provided by Corollary 2 with necessary conditions for recovery. In the presence of outliers, is a necessary condition as shown in [24, Theorem 4], for otherwise we can swap a vertex in the smallest cluster with an outlier vertex to increase the number of in-cluster edges. Also, with at least two clusters,
is necessary, because we could have two smallest clusters of sizes and even if a genie were to reveal all the other clusters, we would still need (32) to recover the two smallest ones, as shown by [2, Theorem 1]. By Lemma 11, ; so with or without outliers, is necessary. By Lemma 12, . Therefore we conclude that the sufficient condition of Corollary 2 is within a factor of four (resp. eight) of the necessary condition in the presence (resp. absence) of outliers.
Conclusions
This paper shows that the SDP procedure works for recovering community structure at the asymptotically optimal threshold in various important settings beyond the case of two equal-sized clusters or that of a single cluster and outliers considered in . In particular, SDP relaxations works asymptotically optimally for two unequal clusters (with or without knowing the cluster size), or equal clusters, or the binary censored block model with the background graph being Erdős-Rényi. These results demonstrate the versatility of SDP relaxation as a simple, general purpose, computationally feasible methodology for community detection.
The picture is less impressive when these cases are combined to have a general case with clusters of various sizes plus outliers. Still, we found that an SDP procedure can achieve exact recovery even without the knowledge of the cluster sizes; the sufficient condition for recovery is within a factor of eight of the necessary information-theoretic bound. An interesting open problem is whether the SDP relaxation can achieve the optimal recovery threshold in this general case. The preprint addresses this problem, showing that the SDP relaxation still achieves the optimal threshold for recovering a fixed number of clusters with unequal sizes.
Proofs
with
We first prove the upper tail bound in (36) using Chernoff’s bound. In particular,
with . Thus, using the inequality that , we have
If , , and , then we let
with . It follows that
and thus the upper tail bound in (35) holds in view of (37). Next, we prove the lower tail bound in (35).
Case 1: . For any choice of the constant with
Setting in the last displayed equation yields
where the last inequality follows from Lemma 1. ∎
The following lemma provides a deterministic sufficient condition for the success of SDP (3) in the case .
Then is the unique solution to (3).
where holds because ; holds because by (38). Hence, is an optimal solution. It remains to establish its uniqueness. To this end, suppose is an optimal solution. Then,
where holds because , , and for all . In view of (38), since , with , must be a multiple of . Because for all , . ∎
Let with
and choose , where . It suffices to show that satisfies the conditions in Lemma 3 with high probability.
By definition, for all , i.e., . Since , it follows that the desired (38) holds, that is, . It remains to verify that and with high probability, which amounts to showing that
where holds because . It follows from (41) that for any and , where
We next bound from the below. Consider the specific vector that maximizes subject to the unit norm constraint and It has coordinates for the vertices of the first cluster and coordinates for the vertices of the other cluster. Let is the set of vectors that are constant over each cluster. Then
Notice that for any vector with It follows that
We bound the three terms in the parenthesis separately in the sequel.
Lower bound on : Notice that and thus
Since , where , it follows that is Lipschitz continuous in with Lipschitz constant . Moreover, is $c>0c^{\prime}>0\rho$, such that
Hence, with probability at least ,
Lower bound on : Note that So for any vector with . Hence,
where the last inequality follows from the Cauchy-Schwartz inequality. It follows from the Talagrand’s concentration inequality for Lipschitz convex functions that for any , there exists such that
Lower bound on : Notice that for , so it suffices to bound from the below. For , is equal in distribution to , where and . It follows from Lemma 2 that
For , is equal in distribution to , where and . It follows from Lemma 2 that
It follows from the definition of that
where the last inequality follows from the assumption that .
Combing all the three lower bounds together, we get that with high probability,
Notice that we have shown that with high probability . It follows from (44) that with high probability,
Notice that and thus . Therefore, the desired (40) holds and the theorem follows from Lemma 3. ∎
By symmetry, we can condition on being the first vertices. Let denote the set of first vertex. Then
Suppose that the true clusters are and of cardinality and , respectively. One can easily check that Lemma 3 still holds with , where . Choose the same in (39) as in the proof of Theorem 1. It suffices to show for any ,
First, consider the case or where and the graph is simply . Then for , . Recall that and notice that in this case, . It follows from Lemma 1 that
where and the last inequality follows from Lemma 13 in Appendix A. By the union bound,
where the last inequality holds because by assumption. Moreover, since , any such that satisfies . It follows from (41) that
Next, we consider the case . For , is stochastically larger than , where and . Let and . Applying the non-asymptotic upper bound in Lemma 2 yields
We proceed to show that . First note that
and , where and . Furthermore, for any fixed ,
for some function independent of and . To see this, let , where . First consider the case of . Then . Hence . Then
Since whenever and , both the numerator and denominator in (50) are bounded away from zero and infinity uniformly in . The case of follows analogously. Therefore
where (51) is due to (49), (52) is by definition of , and (53) follows from Lemma 13.
Similarly, for , is stochastically larger than , where and . Let . It follows from Lemma 2 that
where the last inequality follows from the same steps as in (51) – (53). It follows from the definition of that
where the last inequality follows from the assumption that . Furthermore one can verify that with high probability, where the functions and are defined in (42)–(43). We divide the remaining analysis into the two cases:
Case 1: or . Notice that and recall the definition of in the proof of Theorem 1. Then
Thus the desired (48) follows by the same argument used in the proof of Theorem 1.
Then the desired (48) follows by the same argument used in the proof of Theorem 1.
2 Proofs for Section 3: Multiple equal-sized clusters
Theorem 4 is proved after three lemmas are given. For , denote by the support of the cluster. For a set of vertices, let and Let denote the index of the cluster containing vertex Denote the number of neighbors of in its own cluster by and the maximum number of neighbors of in other clusters by
Notice that and for , . It is shown in that
Applying the union bound over all possible vertices, we complete the proof. ∎
There exists a constant depending only on and such that
where follows from Bernstein’s inequality. Furthermore,
It follows from McDiarmid’s inequality that
Thus, with probability at most , . The lemma follows in view of the union bound. ∎
The following lemma provides a deterministic sufficient condition for the success of SDP (9) in the case .
Then is the unique solution to (9).
Let where is an arbitrary feasible matrix for the SDP (9). Since and are both feasible, Since
with equality if and only if That is because and
with equality if and only if That is because (because ) and (because and for all ).
Thus, so that is a solution to the SDP.
To prove that is the unique solution, restrict attention to the case that is another solution to the SDP. We need to show Since both and are solutions, so that Therefore, by the above two points: For each , if and only if vertices and are in the same cluster. Also, the fact and for all implies for all Thus, the only way can meet the constraint is that whenever and are in the same cluster. Therefore and hence is the unique solution. ∎
We now begin the proof of Theorem 4. Let denote the subspace spanned by vectors , i.e., Ultimately, we will show that
Since is assumed to be symmetric, (59) is equivalent to requiring that
for some and . Next we ensure that for . Equivalently, we want to ensure that for any distinct and any ,
Requiring (62) for all distinct and all is equivalent to requiring
for all distinct and all (by swapping for and for ). Moreover, it is equivalent to checking both (62) and (63) under the additional assumption that Substituting (60) into (62) and (63) gives that for all with
For and , set
where and are to be determined. Equations (64) and (65) both reduce to:
(which must hold whenever ) and (61) becomes
In view of Lemma 4 and the assumption that , with high probability. By Lemma 5, with high probability. Finally set
Thus, the desired (57) holds in view of (69) and (58). Also, note that . For with , Chernoff’s bound yields
Applying the union bound, we have that with high probability, for all . Hence and for all and and so that for all in distinct clusters as desired. ∎
3 Proofs for Section 4: Binary censored block model
Our analysis of the SDP relies on two key ingredients: the spectrum of labeled Erdős-Rényi random graph and the tail bounds for the binomial distributions, which we first present.
Let denote an matrix with independent entries drawn from , which is the distribution of a Rademacher random variable multiplied with an independent Bernoulli with bias . Define as and for all . Let be an independent copy of . Let be a zero-diagonal symmetric matrix whose entries are drawn from and be an independent copy of . Let denote an zero-diagonal symmetric matrix whose entries are Rademacher and independent from and . We apply the usual symmetrization arguments:
where follow from the Jensen’s inequality; follows because has the same distribution as , where denotes the element-wise product; follow from the triangle inequality; follows from the fact that has the same distribution as . In particular, first, the diagonal entries of and are all equal to zero. Second, both and are symmetric matrices with independent upper triangular entries. Third, is equal in distribution to for all by definition.
Then, we apply the result of Seginer which characterized the expected spectral norm of i.i.d. random matrices within universal constant factors. Let , which are independent . Since is symmetric, [39, Theorem 1.1] and Jensen’s inequality yield
for some universal constant . In view of the following Chernoff bound for the binomial distribution [31, Theorem 4.4]:
for all , setting and applying the union bound, we have
where the last inequality follows from . Assembling (70) – (72), we obtain
Assume that and . Then
If , then and the lemma follows from Lemma 1. Next we focus on the case . It follows from the Chernoff bound that
Hence, by setting , we get and thus
where the last equality holds due to the Taylor expansion of at and . Combining the last displayed equation with (75) gives the desired (74). ∎
The following lemma establishes a lower tail bound for .
Let . Notice that . Let Then
We use the following non-asymptotic bound on the binomial tail probability [9, Lemma 4.7.2]: For ,
where and is the binary divergence function. Let . Then,
Moreover, using the following bound on binomial coefficients [9, Lemma 4.7.1]:
where and is the binary entropy function, we have that
Observe that by the definition of , and it follows from (76) that
The following lemma provides a deterministic sufficient condition for the success of SDP (13) in the case of .
Suppose there exist such that satisfies , and
Then is the unique solution to (13).
where the Lagrangian multipliers are and . Then for any satisfying the constraints in (13),
where holds because ; holds because by (77). Hence, is an optimal solution. It remains to establish its uniqueness. To this end, suppose is an optimal solution. Then,
where holds because and for all . In view of (77), since , with , must be a multiple of . Because for all , . ∎
Let with
It suffices to show that satisfies the conditions in Lemma 9 with high probability.
By definition, for all , i.e., . Thus (77) holds, that is, . It remains to verify that and with probability converging to one, which amounts to showing that
Applying the union bound implies that holds with probability at least . It follows from the assumption and (80) that the desired (79) holds, completing the proof. ∎
The prior distribution of is uniform over . First consider the case of . If , then the number of isolated vertices tends to infinity in probability . Notice that for isolated vertices , vertex is equally likely to be or conditional on the graph. Hence, the probability of exact recovery converges to .
Let denote the set of first vertices and . Let and . Then
4 Proofs for Section 5: General cluster structure
We first present a dual certificate lemma which is useful for the proof of Theorem 8. Recall that denotes the indicator vector of cluster for and
(If the penalized SDP (22) is used, the same and should be used in the SDP and in this lemma.) Then is the unique solution to both SDP (15) and (22) (i.e., produced by either SDP is equal to ).
Let where is either an arbitrary feasible matrix for the SDP (15) or an arbitrary feasible matrix for the SDP (22). Since
with equality if and only if for all inlier s That is because for inliers , , and for outliers
with equality if and only if That is because and
with equality if and only if That is because (because ) and (because is a sum of matrices of the form and for all )
Thus, Therefore, is a solution to SDP (22). If is a feasible solution for the SDP (15), (as is), then so we conclude that so is also a solution to SDP (15).
To prove that is the unique solution, restrict attention to the case that is another solution to either one of the SDPs. We need to show Since both and are solutions, so that Therefore, by the above three points: for all inliers , and
Since whenever and are in distinct clusters, and and , the condition implies that whenever and are in distinct clusters. By assumption, is an eigenvector of with corresponding eigenvalue zero, for Since , it follows that all the other eigenvalues of are strictly positive. The condition thus implies that all the other eigenvectors of are in the null space of so the eigenvectors of corresponding to the positive eigenvalues of must be in the span of It follows that is a linear combination of matrices of the form for It follows that if either or is an outlier vertex, or both are outlier vertices. Moreover, whenever and are in the same cluster, . In conclusion, . ∎
For , denote by the support of the cluster. Also, let denote the set of outlier vertices. For a set of vertices, let and Let denote the index of the cluster containing vertex Denote the number of neighbors of in its own cluster by and the maximum number of neighbors of in other clusters by
Now, let us construct such that the conditions of Lemma 10 hold with high probability. Notice that if is an outlier and for . In order that for and , we must choose:
The condition for also partially constrains the symmetric matrix We should try to be economical in the choice of so that we have a chance to prove that
where we used the fact that for each pair of distinct and , each of the terms in the definition of is either constant in or constant in , or both, and if the terms are constant in and if the terms are constant in The needed condition involves getting a lower bound on the number of edges a vertex has to other vertices in its own cluster (we can concentrate on the smallest cluster for that purpose), while the needed condition involves an upper bound on the number of edges between a vertex in one cluster and the vertices of a different cluster.
where is the indicator function for the set of outlier vertices and we used the fact that and From this it is clear that if then So we will be sure to select In fact, that will be needed to ensure that for all
It remains to select so that and for all with high probability. Let with , where and satisfy the assumptions (28)-(31). Then, for inlier vertex , in view of Lemma 1 and the definition of in (27),
Turning next to ’s for it suffices to consider the two following cases:
Note that will be very close to with high probability, so we can replace it by , which is also the mean of and Specifically, it follows from the Chernoff bound that
where and In view of Lemma 1 and the union bound,
By the assumptions and , it follows that with high probability .
By the assumptions , it follows that with high probability .
In conclusion, we have constructed such that the conditions of Lemma 10 hold with high probability. Therefore, the theorem follows by applying Lemma 10. ∎
Let for Then
Notice that is strictly convex in . By setting the derivative to be zero, we find that it achieves its minimum value, at By definition, and Thus, . Moreover, is decreasing for and is non-negative. Therefore, ∎
For any and
Let for . Then and Therefore,
Thus, using a change of variables ,
Comparing the expressions for and completes the proof. ∎
Appendix A Behavior of threshold function in (4)
Recall defined in (4) which governs the sharp recovery threshold for the asymmetric binary SBM. The following lemma implies is minimized at
For any , is convex in over and symmetric about
and from this expression it is easily checked that is symmetric about
Let denote the first-order and second-order derivative of with respect to , respectively. We show that . Recall that . Hence,
Let and then
where follows using the expression of . Therefore,
where the last inequality follows because by letting ,
Appendix B A data-driven choice of the penalization parameter in (5)
Set , and , which are consistent estimates for , respectively. From these we can readily obtain consistent estimates for whenever . Furthermore, when , we claim that
Now we are ready to choose the penalty parameter , so that Theorem 3 continues to hold upon replacing the deterministic by . Let
Let and . Let for . Then