Decoding binary node labels from censored edge measurements: Phase transition and efficient recovery

Emmanuel Abbe, Afonso S. Bandeira, Annina Bracher, Amit Singer

Introduction

A large variety of problems in information theory, machine learning, and image processing are concerned with inverse problems on graphs, i.e., problems where a graphical structure governs the dependencies between the variables that are observed and the variables that are unknown. In simple cases, the dependency model is captured by an undirected graph with the unknown variables attached at the vertices and the observed variables attached at the edges. Let G=(V,E)G=(V,E) be a graph with vertex set VV and edge set EE, and let xVx^{V} be the vertex- and yEy^{E} the edge-variables. In many cases of interest (detailed below), the probabilistic model for the edge-variables conditionally on the vertex-variables has a simple structure: it factorizes as

where yey_{e} denotes the variable attached to edge ee, x[e]x[e] denotes the two vertex-variables incident to edge ee, and QQ is a local probability kernel. In this paper, we consider Boolean edge- and vertex-variables, and assume that the kernel QQ is symmetric and depends only on the XOR of the vertex-variables.Symmetry means that Q(y∣x1,x2)=P(y∣x1⊕x2)Q(y|x_{1},x_{2})=P(y|x_{1}\oplus x_{2}) for some PP that satisfies P(1∣1)=P(0∣0)P(1|1)=P(0|0). The edge-variables can then be viewed as a random vector YEY^{E} that satisfies

where BGB_{G} is the incidence matrix of the graph, i.e., the m×nm\times n matrix, with m=∣E∣m=|E| and n=∣V∣n=|V|, such that BG(e,v)=1B_{G}(e,v)=1 if and only if edge ee is incident to vertex vv, and ZZ is a random vector of dimension ∣E∣|E| representing the noise.

In the above setting, the forward problem of recovering the most likely edge-variables given the vertex-variables is trivial and amounts to maximizing QQ for each edge. The inverse problem, however, is more challenging: the most likely vertex-variables (say with a uniform prior) given the edge-variables cannot be found by local maximization.

This problem can be interpreted as a community detection problem with censored edges: Consider a population with nn vertices and two communities, the blues and the reds. The colors of the vertices, encoded by the binary variables {Xi}i∈[n]\{X_{i}\}_{i\in[n]}, are unknown and the goal is to recover them by observing pairwise interactions of these nodes. However, not all (n2){n\choose 2} interactions are observed, only the ones encoded by the graph GG. In the noiseless case, the observation is perfect and allows to determine whether XiX_{i} and XjX_{j} are in the same community or not, i.e., Yij=Xi⊕XjY_{ij}=X_{i}\oplus X_{j}. Hence, recovering the partition in this case amounts to having a connected graph GG, and the recovery is obtained by picking a vertex label and recovering the other vertices along any spanning tree. Note that we can only hope to recover the partition and not the exact colors, as a global flipping of all the colors gives the same observations. In the more interesting setting, the observations are assumed to be noisy, i.e., with probability ε\varepsilon an error is made on the parity of the two colors: Yij=Xi⊕Xj⊕ZijY_{ij}=X_{i}\oplus X_{j}\oplus Z_{ij}, where the ZijZ_{ij}’s are i.i.d. Bernoulli(ε)(\varepsilon). In this case, the connectivity of GG is a necessary condition, but it is in general not sufficient to cope with the noise. This paper investigates how to strengthen the connectivity assumption, in terms of the edge probability for random graphs or in terms of the spectral gap for deterministic graphs, in order to recover the partition despite the noise.

There are various interpretations and models that connect to this problem.

Community detection: It is worth connecting the above model to other existing models for community networks. The model in (1) can be seen as a general probabilistic model of networks, that extends the basic Erdős-Rényi model , which often turns out to be too simplistic since all vertices have the same expected degree and no cluster structure appears. One possibility to obtain cluster structure is precisely to attach latent variables to the vertices and assume an edge distribution that depends on these variables. There are various models with latent variables, such as the exchangeable, inhomogeneous or stochastic block models . The general model in (1) can be used for this purpose, as explained above in the special case of (2). The vertex-variables represent the community assignment, the edge-variables the connectivity, and the graph GG encodes where the information is available. The model (2) is related to the stochastic block model through the following censored block model, introduced in in a different context. Given a base-graph G=(V,E(G))G=(V,E(G)) and a community assignment X∈{0,1}VX\in\{0,1\}^{V}, the following random graph is generated on the vertex set VV with ternary edge labels Eij∈{∗,0,1}E_{ij}\in\{*,0,1\} drawn independently with the following probability distribution:

Put differently, (3) is a graph model where information is only available on the base-graph GG, the ∗*-variable encodes the absence of information, and when information is available, two vertices are connected with probability q1q_{1} if they are in the same community and with probability q2q_{2} if they are in different communities. When G=KnG=K_{n} is the complete graph and XX is uniformly distributed, this is the standard stochastic block model with two communities, and q1=a/nq_{1}=a/n, q2=b/nq_{2}=b/n gives the sparse regime of . In the case of (2), the linear structure implies q1=1−q2=εq_{1}=1-q_{2}=\varepsilon, which may be both of order 1, whereas the base-graph may be sparse. This raises an important distinction: in the sparse stochastic block model, it is assumed that most node pairs are unlikely to be connected, whereas in the model of this paper, it is assumed that information is not available for most node pairs. These are not the same, and the latter may help preventing false-alarm type of errors. However, we restrict ourselves in this paper to the symmetric case q1=1−q2=εq_{1}=1-q_{2}=\varepsilon, which simplifies the computations.

Correlation clustering: considers the problem of clustering a complete graph with edges labeled in {−,+}\{-,+\} in order to maximize the number of agreeing edges (having a ++ label within a cluster and a −- label otherwise). Another variant is proposed in . The original motivation behind correlation clustering is to let the number of clusters be a design parameter, although the case of constraining the number of clusters has also been considered . In our setting, the number of clusters is fixed and assumed to be 2. More importantly, our goal is to understand how sparse the measurement graph can be in order to still be able to recover the original clustering, which is planted. In that regard, we are proposing a planted correlation clustering problem with a fixed number of clusters, censored measurements, and with a probabilistic model.

Coding: Equation (2) provides the output on a binary symmetric channel of a code whose generator matrix is the adjacency matrix of the graph GG. More precisely, since here GG is assumed to be a graph and not a hyper-graph, this is a very simple code, namely a 2-right-degree LDGM code. While this is not a particularly interesting code by itself (e.g., at any fixed rate, it has a constant fraction of isolated vertices), it is a relevant primitive for the construction of other codes such as LT or raptor codes . Note that this paper will consider such a code at a vanishing rate, namely c/log⁡(n)c/\log(n), and determine for which values of cc the successful decoding of this code is still possible. Somehow unexpectedly, the Shannon capacity will also arise in this regime as shown in our main results.

Constraint satisfaction problems: (1) is a particular case of the graphical channel studied in in the context of hypergraphs. This class of models allows in particular to recover instances of planted constraint satisfaction problems (CSPs) by choosing uniform kernels QQ, where the vertex-variables represent the planted assignment and the edge-variables represent the clauses. In the case of a simple graph and not a hypergraph, this provides a model for planted formulae such as 2-XORSAT (model (2)).

Synchronization: Equation (2) results also from the synchronization problem studied in , if the dimension is one (e.g., when each vertex-variable is the 1-bit quantization of the reflection of a signal). The goal in synchronization over O(r)O(r), the group of orthogonal matricesNote that O(r)O(r) denotes the group of orthogonal matrices of size r×rr\times r and does not refer to the big-O notation frequently used in algorithm analysis. of size r×rr\times r, is to recover the original values of the node-variables {xj}j∈[n]\{x_{j}\}_{j\in[n]} in O(r)O(r) given the relative measurements {Zijxi−1xj}i,j∈[n]\{Z_{ij}x_{i}^{-1}x_{j}\}_{i,j\in[n]}, where ZijZ_{ij} is randomly drawn in O(r)O(r) if the vertices ii and jj are adjacent and all-zero otherwise.If ZijZ_{ij} is the r×rr\times r identity matrix, then the measurement is noise-free. When r=1r=1, we have O(1)={−1,+1}O(1)=\{-1,+1\} and the synchronization problem is equivalent to (2).

While the above mentioned problems are all concerned with related inverse problems on graphs, there are various recovery goals that can be considered. This paper focuses on exact recovery, which requires all vertex-variables to be recovered simultaneously with high probability as the number of vertices diverges. The probability measure may depend on the graph ensemble or simply on the kernel QQ if the graph is deterministic. Note, as mentioned previously, that exact recovery of all variables in the model (2) is not quite possible: the vertex-variables xVx^{V} and 1V⊕xV1^{V}\oplus x^{V} produce the same output YEY^{E}. Exact recovery is meant “up to a global flipping of the variables”. For partial recovery, only a strictly dominant constant fraction of the vertex-variables are to be recovered correctly with high probability as the number of vertices diverges. Put differently, the true assignment need only be positively correlated with the reconstruction.We have recently became aware that studies partial recovery for the model of this paper. The recovery requirements vary with the applications, e.g., exact recovery is typically required in coding theory to ensure reliable communication, while both exact and partial recovery are of interest in community detection problems.

This paper focuses on exact recovery for the linear model (2) with Boolean variables, and on random Erdős-Rényi and deterministic base-graphs GG. For this setup, we identify the information theoretic (IT) phase transition for exact recovery in terms of the edge density of the graph and the noise level and devise an efficient algorithm based on semidefinite programming (SDP), which approaches the threshold up to a factor of 22 in the Erdős-Rényi case. This SDP based method was first proposed in , and it shares many aspects with the SDP methods in several other problems .

Related work

While writing this paper we became aware of various exciting related work that was being independently developed:

A similar exact recovery sufficient condition, as (44) for the SDP, was independently obtained by Huang and Guibas in the context of consistent shape map estimation (see Theorem 5.1. in ). Their analysis goes on to show, essentially, that as long as the probability of a wrong edge is a constant strictly smaller than 12\frac{1}{2}, the probability of exact recovery converges to 11 as the size of the graph is arbitrarily large. In the context of our particular problem, that claim was also shown in . Later, this analysis was improved by Chen, Huang, and Guibas and, when restricted to our setting, it includes guarantees on the rates at which this phase transition happens. However, these rates are, to the best of our knowledge, only optimal up to polylog factors. On the other hand, we are able to show near tight rates. For a given ϵ\epsilon that is arbitrarily close to 12\frac{1}{2} we give an essentially-tight bound (off by at most a factor of 22) on the size of the graph and edge density needed for exact recovery (Theorem 5.2). To the best of our knowledge, our Theorem 5.3 is the only available result for deterministic graphs.

On the IT side, both converse and direct guarantees were independently obtained by Chen and Goldsmith . However, while considering a more general problem, the results they obtain are only optimal up to polylog factors.

Model and results

In this paper, we focus on the linear Boolean model

The goal of this paper is to find the replacement to the erasure threshold 1−ε1-\varepsilon for the setting where the noise causes errors. Similarly to channel coding where the Shannon capacity of the BSC(ε)(\varepsilon) differs from the BEC(ε)(\varepsilon) capacity, we obtain for the considered inverse problem the expression

where D(1/2∣∣ε)D(1/2||\varepsilon) is the Kullback-Leibler divergenceAll logarithms have base ee, i.e., we denote by D(1/2∣∣ε)=1/2log⁡(1/(2ε))+1/2log⁡(1/(2(1−ε)))D(1/2||\varepsilon)=1/2\log(1/(2\varepsilon))+1/2\log(1/(2(1-\varepsilon))) the Kullback-Leibler divergence between 1/21/2 and ε\varepsilon and by H ⁣(ε)=εlog⁡(1/ε)+(1−ε)log⁡(1/(1−ε))H\!\left(\varepsilon\right)=\varepsilon\log(1/\varepsilon)+(1-\varepsilon)\log(1/(1-\varepsilon)) the entropy (in nats) of a binary random variable that assumes the value 11 with probability ε∈[0,1]\varepsilon\in\left[0,1\right]. between 1/21/2 and ε\varepsilon. Hence the Shannon capacity provides the threshold for the low-SNR regime, although the considered inverse problem is a priori not related to the channel coding theorem.

More precisely, this paper establishes an IT necessary condition that holds for every graph (Theorem 4.1), an IT sufficient condition for Erdős-Rényi graphs (Theorem 4.2), and an IT sufficient condition that holds for any graph (Theorem 4.3) and depends on the graph’s Cheeger constant, a common measure of the connectivity of a graph (see (33)) related to its spectral gap by Cheeger’s inequality (see Theorem 5.5). Moreover, we also give a recovery guarantee that holds for an efficient algorithm based on SDP (Theorems 5.2 and 5.3).

In particular, we show that, for ε→12\varepsilon\to\frac{1}{2} and 12−ε=Ω ⁣(n−τ)\frac{1}{2}-\varepsilon=\Omega\!\left(n^{-\tau}\right) for every τ>0\tau>0: The bounds for the necessary condition for a general graph and the IT sufficient condition for the Erdős-Rényi graph match.The regime ε→12\varepsilon\to\frac{1}{2} is frequently studied in the synchronization problem in dimension d=1d=1. Remarkably, the sufficient condition for the efficient SDP-based method to achieve exact recovery matches the IT bound up to a factor of 22.

If the noise parameter ε\varepsilon is bounded away from both zero and 1/21/2, then all conditions imply d=Θ ⁣(log⁡ ⁣(n))d=\Theta\!\left(\log\!\left(n\right)\right), where dd is the expected average degree: d=pnd=pn. The factors by which the bounds differ decrease with an increasing noise parameter ε\varepsilon. Since in the noise-free case exact recovery is possible if and only if the graph is connected, which is true for trees (with d≤2d\leq 2) and, for Erdős-Rényi graphs only when d≥log⁡ ⁣(n)d\geq\log\!\left(n\right), the factors between the necessary condition and the sufficient conditions necessarily approach infinity when ε\varepsilon decreases to zero (since D(1/2∣∣ε)D(1/2||\varepsilon) diverges).

Information Theoretic Bounds

This section presents necessary and sufficient conditions for exact recovery of the vertex-variables xVx^{V} from the edge-variables YEY^{E}. We speak of exact recovery if there is a decoding algorithm that recovers the vertex-variables xVx^{V} up to an unavoidable additive offset ϕ∈{0V,1V}\phi\in\left\{0^{V},1^{V}\right\} with some probability that converges to 11 as the number of vertices approaches infinity.

For each graph G=(V,E)G=\left(V,E\right) (drawn from the Erdős-Rényi model or not), the following result holds:

Let 0<τ<2/30<\tau<2/3 and let dd be the average degree of GG. If d≤nτd\leq n^{\tau} then, recovery with high probability is possible only if

If ε→1/2\varepsilon\rightarrow 1/2, this condition implies

Before proving this Theorem, we compare it with the necessary condition d≥2/(1−H ⁣(ε)/log⁡2),d\geq 2/(1-H\!\left(\varepsilon\right)/\log 2), previously shown in [31, Section 5]. If ε∈(0,1/2)\varepsilon\in\left(0,1/2\right) does not depend on nn, then this condition only implies d=Ω ⁣(1)d=\Omega\!\left(1\right) and is thus weaker than d=Ω ⁣(log⁡n)d=\Omega\!\left(\log n\right), which follows from Theorem 4.1. If ε→1/2\varepsilon\to 1/2, then H ⁣(ε)=log⁡2−(1−2ε)2/2+o ⁣((1−2ε)2)H\!\left(\varepsilon\right)=\log 2-(1-2\varepsilon)^{2}/2+o\!\left((1-2\varepsilon)^{2}\right), and we can write the condition in as 1-2\varepsilon=\Omega\bigl{(}\sqrt{1/d}\bigr{)}. If there is a τ′<2/3\tau^{\prime}<2/3 for which 1−2ε≥n−τ′/21-2\varepsilon\geq n^{-\tau^{\prime}/2}, then Theorem 4.1 is tighter: it implies 1-2\varepsilon=\Omega\bigl{(}\sqrt{\log\!\left(n\right)/d}\bigr{)}. However, if there is no such τ′\tau^{\prime}, then Theorem 4.1 cannot be applied.Using Slud’s inequality to lower-bound Prob⁡ ⁣[Ej]\operatorname{Prob}\!\left[\mathcal{E}_{j}\right], one can improve the bound for ε→1/2\varepsilon\rightarrow 1/2 and show that whenever there is a 0<τ′<10<\tau^{\prime}<1 for which 1−2ε≥n−τ′/21-2\varepsilon\geq n^{-\tau^{\prime}/2}, then a necessary condition is 1-2\varepsilon=\Omega\bigl{(}\sqrt{\log\!\left(n\right)/d}\bigr{)}.

[of Theorem 4.1] Fix a vertex vjv_{j}, and let Ej\mathcal{E}_{j} denote the event that the variables attached to at least half of the edges that are incident to vertex vjv_{j} are noisy. As we argue next, if event Ej\mathcal{E}_{j} occurs, then ML decoding recovers vertex-variables other than xVx^{V} or xV⊕1Vx^{V}\oplus 1^{V} with probability at least 1/21/2. Indeed, if ML decoding correctly recovers the vertex-variables that are attached to the vertices adjacent to vjv_{j} up to a global additive offset ϕ∈{0,1}\phi\in\left\{0,1\right\}, then—by assumption that event Ej\mathcal{E}_{j} occurs—the probability that ML decoding recovers xjx_{j} with offset ϕ⊕1\phi\oplus 1 is at least 1/21/2. In particular, this implies that ML decoding can only be successful if the event ⋂vj∈VEjc\bigcap_{v_{j}\in V}\mathcal{E}_{j}^{c} occurs. Let Q\mathcal{Q} be an independent subset of [n][n], i.e. a set such that no two vertices in it are adjacent. Since the noise ZEZ^{E} is drawn IID, the events {Ej}j∈Q\left\{\mathcal{E}_{j}\right\}_{j\in\mathcal{Q}} are independent and the probability of the event ⋂j∈QEjc\bigcap_{j\in\mathcal{Q}}\mathcal{E}_{j}^{c} is easily computable. Moreover, the event ⋂j∈[n]Ejc\bigcap_{j\in[n]}\mathcal{E}_{j}^{c} can only occur if ⋂j∈QEjc\bigcap_{j\in\mathcal{Q}}\mathcal{E}_{j}^{c} occurs. A necessary condition for exact recovery thus is that the probability of the event ⋂j∈QEjc\bigcap_{j\in\mathcal{Q}}\mathcal{E}_{j}^{c} converges to one as the number of vertices increases. In the following, we prove the claim by identifying an independent set Q\mathcal{Q} and by upper-bounding the probability of the event ⋂j∈QEjc\bigcap_{j\in\mathcal{Q}}\mathcal{E}_{j}^{c}.

Let deg ⁣(vj)\text{deg}\!\left(v_{j}\right) be the degree of vertex vjv_{j}, and assume w.l.o.g. deg ⁣(v1)≤deg ⁣(v2)≤…≤deg ⁣(vn)\text{deg}\!\left(v_{1}\right)\leq\text{deg}\!\left(v_{2}\right)\leq\ldots\leq\text{deg}\!\left(v_{n}\right). For every 0<δ≤10<\delta\leq 1

For j≤⌈δn⌉j\leq\left\lceil\delta n\right\rceil, we therefore find

This implies that for every set L⊆{1,…,⌈δn⌉}\mathcal{L}\subseteq\left\{1,\ldots,\left\lceil\delta n\right\rceil\right\}, the vertices {vj ⁣:j∈L}\left\{v_{j}\colon j\in\mathcal{L}\right\} are disconnected from at least

vertices in the set {vj ⁣:j≤⌈δn⌉}\left\{v_{j}\colon j\leq\left\lceil\delta n\right\rceil\right\}. We can construct an independent set Q⊆{vj ⁣:j≤⌈δn⌉}\mathcal{Q}\subseteq\left\{v_{j}\colon j\leq\left\lceil\delta n\right\rceil\right\} by iteratively including vertices in Q\mathcal{Q} while keeping independence, until no vertex can be added. In fact, using the degree bound in (10), it is easy to see that this process constructs an independent set Q\mathcal{Q} such that

To simplify notation, we introduce the variables

If j≤⌈δn⌉j\leq\left\lceil\delta n\right\rceil, then

b)b) is due to the inequality of arithmetic and geometric means, the relation ε/(1−ε)<1\varepsilon/\left(1-\varepsilon\right)<1, the fact that for every t≥1t\geq 1

and the inequality 22π/(1.3e2)≥122\sqrt{2\pi}/\left(1.3e^{2}\right)\geq\frac{1}{2}, and c)c) is due to (9).

Since the events {Ejc ⁣:j∈Q}\left\{\mathcal{E}^{c}_{j}\colon j\in\mathcal{Q}\right\} are jointly independent,

where a)a) holds since 1−x≤e−x1-x\leq e^{-x} for x≥0x\geq 0 and because of (12), and b)b) is due to (11). Clearly, a necessary condition for the RHS of (13) to converge to 11 is

Take δ=1/log⁡(n)\delta=1/\log(n). Clearly, the average degree dd must be nonnegative. If d≤1d\leq 1, then

where (a)(a) is due to 1−ε≤11-\varepsilon\leq 1, and (b)(b) holds because δ=1/log⁡n\delta=1/\log n and since D(1/2∣∣ε)=−log⁡2−log⁡(ε(1−ε))/2D(1/2||\varepsilon)=-\log 2-\log(\varepsilon(1-\varepsilon))/2. If 1<d≤nτ1<d\leq n^{\tau}, then

where (a)(a) holds since d≤nτd\leq n^{\tau}, because δ=1/log⁡(n)\delta=1/\log(n), since 1−ε≤11-\varepsilon\leq 1, and because D(1/2∣∣ε)=−log⁡2−log⁡(ε(1−ε))/2D(1/2||\varepsilon)=-\log 2-\log(\varepsilon(1-\varepsilon))/2. For d≤nτd\leq n^{\tau}, we thus obtain from (15) (if d≤1d\leq 1) or (16) (if d>1d>1) that (14) cannot hold unless (6) holds.

2. Sufficient Conditions for Successful Recovery

We next present sufficient conditions for exact recovery. We first focus on graphs from the Erdős-Rényi model. Then, we consider arbitrary graphs and present a condition that is sufficient for every graph and depends only on the graph’s Cheeger constant.

For a random base-graph G=(V,E)G=(V,E) from the Erdős-Rényi model, we require the vertex-variables xVx^{V} to be recoverable from the edge-variables YEY^{E} except with some probability that vanishes as the number of vertices increases.

Suppose the base-graph is drawn from the Erdős-Rényi model ER ⁣(n,p)ER\!\left(n,p\right) with p>2log⁡n/np>2\log n/n, and let dd denote its expected average degree, i.e., d=(n−1)pd=(n-1)p. Then the condition

is sufficient to guarantee exact recovery with high probability. If ϵ→1/2\epsilon\rightarrow 1/2, the condition is

where (a)(a) is due to the multiplicative Chernoff bound, (b)(b) holds since for nn large (nk){n\choose k} is upper-bounded by nkn^{k} as well as en(H ⁣(k/n)+η)e^{n\left(H\!\left(k/n\right)+\eta\right)}, where H(k/n)=k/nlog⁡(n/k)+(1−k/n)log⁡(n/(n−k))H(k/n)=k/n\log(n/k)+(1-k/n)\log(n/(n-k)), and (c)(c) is true because d=(n−1)pd=\left(n-1\right)p, binary entropy satisfies H(k/n)≤log⁡2H(k/n)\leq\log 2, and a(1−a)a\left(1-a\right) is concave on [0,1]\left[0,1\right]. Moreover, the union bound implies for every ν,η>0\nu,\eta>0 and sufficiently large nn

The law of total probability implies that

From (20) and (24)–(25) we conclude that ML decoding succeeds if (log⁡2+η)/ν<log⁡n\left(\log 2+\eta\right)/\nu<\log n and

If we choose η=1\eta=1 and ν=o ⁣(1)\nu=o\!\left(1\right) so that 1/ν=o ⁣(log⁡n)1/\nu=o\!\left(\log n\right), then we find that the following conditions are sufficient

Since δ2/2≤δ+(1−δ)log⁡ ⁣(1−δ)\delta^{2}/2\leq\delta+\left(1-\delta\right)\log\!\left(1-\delta\right) for δ∈(0,1)\delta\in\left(0,1\right), the above two constraints are satisfied if (17) holds.

In the proof of Theorem 4.2, we used the fact that, for a graph from the Erdős-Rényi model ER ⁣(n,p)ER\!\left(n,p\right), the cut of each subset S⊆V\mathcal{S}\subseteq V is with high probability approximately as large as its expectation, i.e., for δ>0\delta>0 it holds with high probability that

For every set S⊆V\mathcal{S}\subseteq V, define

Recalling that the Cheeger constant hGh_{G} of a graph is

it is clear that (32) holds for every subset S⊆V\mathcal{S}\subseteq V if

This motivates our next result, which is a recovery guarantee in terms of the Cheeger constant:

If the base-graph G=(V,E)G=\left(V,E\right) has Cheeger constant hGh_{G} and the minimum degree satisfies

then exact recovery with high probability is possible. In particular, if the base-graph G=(V,E)G=\left(V,E\right) is dd-regular, then a sufficient condition for exact recovery is

If ϵ→1/2\epsilon\rightarrow 1/2, then (35) is equivalent to

Denote c=min⁡jdeg ⁣(vj)/log⁡nc=\min_{j}\text{deg}\!\left(v_{j}\right)/\log n. Because of (20)–(22), the union bound, and since ∣T∣=cut ⁣(S)≥hG vol ⁣(S)≥c hG ∣S∣log⁡ ⁣(n)\lvert\mathcal{T}\rvert=\text{cut}\!\left(\mathcal{S}\right)\geq h_{G}\,\text{vol}\!\left(\mathcal{S}\right)\geq c\,h_{G}\,\lvert\mathcal{S}\rvert\log\!\left(n\right) holds for every subset S⊆V\mathcal{S}\subseteq V with ∣S∣≤n/2\lvert\mathcal{S}\rvert\leq n/2, we find that

Hence, if (34) holds, then ML decoding recovers the correct vertex-variables xVx^{V}.

If the base-graph is drawn from the Erdős-Rényi model ER ⁣(n,p)ER\!\left(n,p\right), then it has a non-vanishing spectral gap for p>Clog⁡n/np>C\log n/n (see ). Moreover, for every δ∈(0,1)\delta\in\left(0,1\right) and p>2log⁡n/(δ2n)p>2\log n/\left(\delta^{2}n\right)

Observe that if vol ⁣(S)>(1−δ)p ∣S∣(n−1)\text{vol}\!\left(\mathcal{S}\right)>\left(1-\delta\right)p\,\lvert\mathcal{S}\rvert\left(n-1\right) for every S⊆V\mathcal{S}\subseteq V, then min⁡jdeg ⁣(vj)≥(1−δ)(n−1)p\min_{j}\text{deg}\!\left(v_{j}\right)\geq\left(1-\delta\right)\left(n-1\right)p.

It is natural to give recovery guarantees in terms of the Cheeger constant: A graph with a small minimum cut consists of two rather disconnected components so that the probability of decoding one component without additive offset and the other component with constant additive offset 11 is non-negligible. As we argue next, deriving a necessary condition that bounds the Cheeger constant away from zero is, however, impossible. Indeed, suppose the base-graph consists of two equally sized components, which are connected by log⁡n\log n edges. Moreover, assume the two graphs that are obtained by disconnecting the two components have Cheeger constant hGh_{G} and minimum degree clog⁡nc\log n, where cc is some positive constant for which the sufficient condition (35) of Theorem 4.3 holds. Then, Theorem 4.3 implies that each component can be recovered correctly (up to an inevitable additive offset). Moreover, with high probability less than half of the log⁡n\log n edges that connect the two components are corrupted by noise. Hence, ML decoding indeed recovers the correct vertex-variables up to a constant additive binary offset. But the Cheeger constant of the graph satisfies hg≤2/(cn)h_{g}\leq 2/\left(cn\right) and thus converges to zero as nn approaches infinity. This leaves the interesting open question of investigating a characteristic of the graph that captures how easy it is to solve (on it) the type of inverse problems considered here.

Computationally efficient recovery - the SDP

In this section we analyze a tractable method to recover xVx^{V} from the noisy measurements YEY^{E}, which is based on SDP. Ideally, one would like to find the maximum likelihood estimator x∗=argmin⁡xi∈{0,1}∑(i,j)∈E1{xi≠y(i,j)⊕xj}x^{\ast}=\operatorname{argmin}_{x_{i}\in\{0,1\}}\sum_{(i,j)\in E}1_{\left\{x_{i}\neq y_{(i,j)}\oplus x_{j}\right\}}. By defining the {±1}\{\pm 1\}-valued variables gi=(−1)xig_{i}=(-1)^{x_{i}} and the coefficients ρij=(−1)y(i,j)\rho_{ij}=(-1)^{y_{(i,j)}}, the ML problem is reformulated as

This problem is known to be NP-hard in general (in fact, it is easy to see that it can encode Max-Cut). In what follows, we will describe and analyze a tractable algorithm, which was first proposed in to approximate the solution of (38). We will state conditions under which the algorithm is able to recover the vertex-variables xVx^{V}. The idea is to consider a natural semidefinite relaxation. Other properties of this SDP have been studied in .

Let WW be the n×nn\times n matrix with W(i,j)=ρijW(i,j)=\rho_{ij} if (i,j)∈E(i,j)\in E and W(i,j)=0W(i,j)=0 otherwise. Problem (38) has the same solutions as max⁡gi∈{±1}Tr⁡[WggT],\max_{g_{i}\in\{\pm 1\}}\operatorname{Tr}\left[Wgg^{T}\right], which in turn is equivalent to

(Given the optimal rank 1 solution XX of (39), gi=(−1)xig_{i}=(-1)^{x_{i}} is the only non-trivial eigenvector of XX.) As the rank constraint is non-convex, we consider the following convex relaxation

Note that (40) is an SDP and can be solved, up to arbitrary precision, in polynomial time . Note that a solution of (40) need not be rank 1 and thus need not be a solution of (39). However, we will show that under certain conditions (40) recovers the same optimal solution as (39). In this case, gi=(−1)xig_{i}=(-1)^{x_{i}} is the only non-trivial eigenvector of XX and xVx^{V} can be recovered via the tractable program (40).

Notation: Recall that GG is the underlying graph on nn nodes, and let HH be the subgraph representing the incorrect edges (corresponding to Z(i,j)=1Z_{(i,j)}=1). Let AGA_{G}, AHA_{H}, DGD_{G}, DHD_{H}, LGL_{G}, and LHL_{H} be, respectively, the adjacency, degree, and Laplacian matrices of the graphs GG and HH.

As in , we assume w.l.o.g.It is not difficult to see that the recovery success of either (39) or (40) only depends on which edges are correct and which are incorrect, and not on the values of xVx^{V} (or gg). that xV≡0x^{V}\equiv 0 so that g≡1g\equiv 1. Then, W=AG−2AHW=A_{G}-2A_{H}, and (40) can be rewritten as:

Our objective is to understand when X=ggT=11TX=gg^{T}=11^{T} is the unique optimal solution to (41). The dual of the SDP is

Duality guarantees that the objective value of (41) cannot exceed that of (42). Thus, if there exists QQ, feasible solution of (42), such that Tr⁡(Q)=Tr⁡[(AG−2AH)11T]\operatorname{Tr}(Q)=\operatorname{Tr}\left[\left(A_{G}-2A_{H}\right)11^{T}\right], then X=11TX=11^{T} is an optimal solution of (41). Moreover, QQ and 11T11^{T} have to satisfy complementary slackness: Tr⁡(11T(Q−(AG−2AH)))=0\operatorname{Tr}(11^{T}(Q-\left(A_{G}-2A_{H}\right)))=0. Given these constraints, one can ask that the equality holds for each row partial sum and construct the natural candidate Q=DG−2DHQ=D_{G}-2D_{H}. Indeed, it is easy to see that Tr⁡(DG−2DH)=Tr⁡[(AG−2AH)11T]\operatorname{Tr}(D_{G}-2D_{H})=\operatorname{Tr}\left[\left(A_{G}-2A_{H}\right)11^{T}\right]. Hence, if

i.e., the dual variable is positive-semidefinite (PSD), then 11T11^{T} must be an optimal solution of (41). Additionally, if LG−2LHL_{G}-2L_{H} is not only PSD but also its second smallest eigenvalue is non-zero, since the complementarity conditions guarantee that any optimal solution X′X^{\prime} needs to satisfy Tr⁡(X′(LG−2LH))=0\operatorname{Tr}\left(X^{\prime}(L_{G}-2L_{H})\right)=0, it is not difficult to show that any optimal solution needs to be a multiple of 11T11^{T}. As one can easily see from the constraints of the SDP that no other multiple of 11T11^{T} is a feasible solution, 11T11^{T} must be the unique optimal solution. Since the success of (41) does not depend on the value gi=(−1)xig_{i}=(-1)^{x_{i}} of the ground truth, we have thus shown:

then ggTgg^{T}, where gi=(−1)xig_{i}=(-1)^{x_{i}} corresponds to the ground truth, is the unique solution to (40).

For each pair of vertices i<ji<j, let Λij\Lambda_{ij} be an n×nn\times n symmetric matrix with Λij(i,i)=1\Lambda_{ij}(i,i)=1, Λij(j,j)=1\Lambda_{ij}(j,j)=1, Λij(i,j)=Λij(j,i)=−1\Lambda_{ij}(i,j)=\Lambda_{ij}(j,i)=-1, and Λij(k,l)=0\Lambda_{ij}(k,l)=0 for all other pairs (k,l)(k,l). Observe that Λij⪰0\Lambda_{ij}\succeq 0, and LG=∑i<j:(i,j)∈EΛij.L_{G}=\sum_{i<j:(i,j)\in E}\Lambda_{ij}. Let αij\alpha_{ij} be the random variable that takes the value if edge (i,j)(i,j) is not in GG, the value 11 if it is in GG but not in HH, and the value −1-1 if it is in HH. Hence αij\alpha_{ij} are i.i.d. with distribution

We define the centered random variables Aij=(p(1−2ε)−αij)Λij.A_{ij}=\left(p(1-2\varepsilon)-\alpha_{ij}\right)\Lambda_{ij}. For A=∑i<jAijA=\sum_{i<j}A_{ij}, we can write

Since Λij\Lambda_{ij} always contains the vector 11 in the null-space, (44) is equivalent to λmax⁡(A)<p(1−2ε)n.\lambda_{\max}(A)<p(1-2\varepsilon)n.

We are now interested in understanding for which values of pp, ε\varepsilon, and nn there is some δ>0\delta>0 such that

To this end, we use the Matrix Bernstein inequality (Theorem 1.4 in ), which implies

which gives σ2=2np[1−p(1−2ε)2]\sigma^{2}=2np\left[1-p(1-2\varepsilon)^{2}\right]. Also, λmax⁡(Aij)≤2p(1−2ε)+2.\lambda_{\max}(A_{ij})\leq 2p(1-2\varepsilon)+2. Setting t=p(1−2ϵ)nt=p(1-2\epsilon)n gives

which together with (44) concludes the proof of the following Theorem:

Let dd be the expected average degree d=(n−1)pd=(n-1)p. If

then the SDP achieves exact recovery with probability at least 1−n−δ1-n^{-\delta}. When ϵ→12\epsilon\to\frac{1}{2}, condition (45) is equivalent to

Note that, when ϵ→12\epsilon\to\frac{1}{2}, condition (46) differs from (18), the sufficient condition for exact recovery with the maximum likelihood estimator, by a multiplicative factor of 22. This gap is further discussed in Section 6.

2. Deterministic regular graph

We now treat the case in which the underlying graph is a deterministic dd-regular graph G=(V,E)G=(V,E) and use condition (44) to give guarantees for exact recovery.

We need a measure of connectivity for GG. Let AG=dIn×n−LGA_{G}=dI_{n\times n}-L_{G} be the adjacency matrix of GG, let λ2\lambda_{2} be the second largest eigenvalue of 1dAG\frac{1}{d}A_{G}, and let λn\lambda_{n} be the smallest eigenvalue of 1dAG\frac{1}{d}A_{G}. Since GG has no self-loop we have λn<0\lambda_{n}<0, which means

This immediately gives λmin⁡′(LG)=d(1−λ2)\lambda^{\prime}_{\min}(L_{G})=d(1-\lambda_{2}) and λmax⁡(LG)≤d(1+∣λn∣)\lambda_{\max}(L_{G})\leq d(1+|\lambda_{n}|), where λmin⁡′(⋅)\lambda^{\prime}_{\min}(\cdot) does not take into account the subspace generated by 11.

As in the previous section, for each edge ee incident in the pair of vertices i<ji<j, let Λe\Lambda_{e} be the matrix that is 11 in the entries (i,i)(i,i) and (j,j)(j,j), −1-1 in the entries (i,j)(i,j) and (j,i)(j,i), and elsewhere. Observe that Λij⪰0\Lambda_{ij}\succeq 0 and LG=∑e∈EΛe.L_{G}=\sum_{e\in E}\Lambda_{e}.

Given e∈Ee\in E, let αe\alpha_{e} be the random variable that takes the value 11 if edge ee is not in HH and the value −1-1 if it is in HH. Hence αe\alpha_{e} are i.i.d. and take the values 1,−11,-1 with probability

In the new notation, LG−2LH=∑e∈EαeΛe.L_{G}-2L_{H}=\sum_{e\in E}\alpha_{e}\Lambda_{e}.

Recall that we want to understand when there exists δ>0\delta>0 for which:

As before, let us consider the centered variables Ae=(1−2ε−αe)ΛeA_{e}=\left(1-2\varepsilon-\alpha_{e}\right)\Lambda_{e} and A=∑e∈EAeA=\sum_{e\in E}A_{e}. We have

This means that λmax⁡(A)≤(1−2ε)λmin⁡(LG)\lambda_{\max}(A)\leq(1-2\varepsilon)\lambda_{\min}(L_{G}) is a sufficient condition for LG−2LH⪰0L_{G}-2L_{H}\succeq 0. Since λmin⁡(LG)≥d(1−λ2)\lambda_{\min}(L_{G})\geq d(1-\lambda_{2}),

and we can take R=4(1−ε).R=4(1-\varepsilon). Plugging everything together,

Setting t=d(1−2ε)(1−λ2)t=d(1-2\varepsilon)(1-\lambda_{2}) gives,

Prob⁡[λmax⁡(A)≥d(1−2ε)(1−λ2)]\operatorname{Prob}\left[\lambda_{\max}(A)\geq d(1-2\varepsilon)(1-\lambda_{2})\right]   ≤ n exp⁡(−d(1−2ε)2(1−λ2)216ε(1−ε)(1+∣λn∣)+83(1−ε)(1−2ε)(1−λ2))\quad~{}\quad~{}\leq~{}n~{}\exp\left(-d\frac{(1-2\varepsilon)^{2}(1-\lambda_{2})^{2}}{16\varepsilon(1-\varepsilon)(1+|\lambda_{n}|)+\frac{8}{3}(1-\varepsilon)(1-2\varepsilon)(1-\lambda_{2})}\right).

nexp⁡(−d(1−2ε)2(1−λ2)216ε(1−ε)(1+∣λn∣)+83(1−ε)(1−2ε)(1−λ2))≤n−δ,n\exp\left(-d\frac{(1-2\varepsilon)^{2}(1-\lambda_{2})^{2}}{16\varepsilon(1-\varepsilon)(1+|\lambda_{n}|)+\frac{8}{3}(1-\varepsilon)(1-2\varepsilon)(1-\lambda_{2})}\right)\leq n^{-\delta}, which is equivalent to

d≥[16ε(1−ε)(1−2ε)2+83(1−ε)(1−λ2)(1−2ε)(1+∣λn∣)]1+∣λn∣(1−λ2)2(1+δ)log⁡nd\geq\left[16\frac{\varepsilon(1-\varepsilon)}{(1-2\varepsilon)^{2}}+\frac{8}{3}\frac{(1-\varepsilon)(1-\lambda_{2})}{(1-2\varepsilon)(1+|\lambda_{n}|)}\right]\frac{1+|\lambda_{n}|}{(1-\lambda_{2})^{2}}(1+\delta)\log n

Since ε(1−ε)=14−(1−2ε)24\varepsilon(1-\varepsilon)=\frac{1}{4}-\frac{(1-2\varepsilon)^{2}}{4} and 1−ε=12+12(1−2ε)1-\varepsilon=\frac{1}{2}+\frac{1}{2}(1-2\varepsilon), we can rewrite the expression above as d/(1+δ)≥d/(1+\delta)\geq

[1(1−2ε)2−1+13(1+11−2ε)1−λ21+∣λn∣]41+∣λn∣(1−λ2)2log⁡n\left[\frac{1}{(1-2\varepsilon)^{2}}-1+\frac{1}{3}\left(1+\frac{1}{1-2\varepsilon}\right)\frac{1-\lambda_{2}}{1+|\lambda_{n}|}\right]4\frac{1+|\lambda_{n}|}{(1-\lambda_{2})^{2}}\log n,

which concludes the proof of the main result of this section.

Let GG be a dd-regular graph, and let λ2\lambda_{2} and λn\lambda_{n} be defined as in (47). As long as

the SDP achieves exact recovery with probability at least 1−nδ1-n^{\delta}.

Moreover, if ε→12\varepsilon\to\frac{1}{2}, this can be rewritten as

If, furthermore, λ2=o(1)\lambda_{2}=o(1) and ∣λn∣=o(1)|\lambda_{n}|=o(1) the condition reads:

The case where max⁡{λ2,∣λn∣}=o(1)\max\{\lambda_{2},|\lambda_{n}|\}=o(1) is of particular interest as this is satisfied for random dd-regular graphs as, for every δ>0\delta>0, max⁡{λ2,∣λn∣}≤2d−1+δd\max\{\lambda_{2},|\lambda_{n}|\}\leq 2\frac{\sqrt{d-1}+\delta}{d} with high probability . Also, if GG is a dd-regular Ramanujan expander, then max⁡{λ2,∣λn∣}≤2d−1d\max\{\lambda_{2},|\lambda_{n}|\}\leq 2\frac{\sqrt{d-1}}{d}.

Theorem 5.3 and Theorem 4.3 can be compared using Cheeger’s inequality.

Let GG be a dd-regular graph and let hGh_{G} be its Cheeger constant (see (33)) and λ2\lambda_{2} as defined in (47), then

Using (51) it is easy to see that (when ε→12\varepsilon\to\frac{1}{2}) the IT sufficient condition (36) in Theorem 4.3 is implied by

3. An alternative method based on 222-length path voting

In this Section we analyse a simple method to recover the vertex-variables based on 22-length path voting. This method was proposed to the authors by Andrea Montanari, we thank Andrea for allowing us to analyse the method in this paper.

We will consider the Erdős-Rényi model. Let GG be drawn from the Erdős-Rényi distribution with parameters nn and pp and ε\varepsilon be the probability of an edge being incorrect. The recovery algorithm consists of: first one picks a center node, sets it to 11, and then sets the value of every other node by looking at all paths of length 22 between this node and the center node and by taking majority-voting among those.

In order to analyse the method, let us assume that the center node has been picked. For each of the other nodes, there are n−2n-2 possible 2-length paths (corresponding to each one of the other n−2n-2 vertices). For each of these vertices let us define the random variable YkY_{k} to be if there is no path, −1-1 if the path gives the wrong answer and 11 if it gives the correct one. This means that the random variables YkY_{k} are i.i.d. and distributed as

The voting scheme succeeds for that one node as long as ∑k=1n−2Yk>0\sum_{k=1}^{n-2}Y_{k}>0.

Since we want to union-bound over n−1n-1 vertices, and we want recovery to hold with probability at least n−δn^{-\delta}, we want to understand for which pp and ε\varepsilon we have

This means we are interested in understanding when

where Xk=Yk−p2(1−2ε)2X_{k}=Y_{k}-{p^{2}}(1-2\varepsilon)^{2} is centered with distribution

Also ∣Xk∣≤1+p2(1−2ε)2|X_{k}|\leq 1+{p^{2}}(1-2\varepsilon)^{2} and

Replacing tt by (n−2)p2(1−2ε)2(n-2){p^{2}}(1-2\varepsilon)^{2} one gets

In particular, when ε→12\varepsilon\to\frac{1}{2}, the sufficient condition can be written as

where d=pnd=pn is the expected average degree. Finally, we rewrite it in terms of dlog⁡n\frac{d}{\log n}:

Note that condition (52) is asymptotically worse than the one obtained for the SDP-based approach (Theorem 5.2). In particular, it forces the average degree to be at least of order n\sqrt{n}.

Directions and open problems

There are various extensions to consider for the above models, including the generalization to qq-ary instead of binary variables and the extension to problems with hyperedges instead of edges as in . Non-binary variables would be particularly interesting for the synchronization problem in higher dimension, where the orthogonal matrices are quantized to a higher order. There are several extensions that are interesting for applications in community detection. First, it would be important to investigate non-symmetric noise models, i.e., noise models that are non-additive. First steps towards this were recently taken in . Then, it would be interesting to study partial (as opposed to exact) recovery for sparse graphs with constant degrees, or to incorporate constraints on the size of the communities. In particular, it would be interesting to analyze the behavior of the SDP approach in the partial recovery regime, as it would potentially require a rounding step. One can also extend the family of base-graph ensembles. A particularly interesting future direction is to investigate characteristics of deterministic graphs that can provide IT lower-bounds for recovery. As we have seen, the lack of spectral gap alone is insufficient for that purpose.

Finally, it would be interesting to better understand the gap between the IT rates and the ones we showed for our SDP-based algorithm. With this in mind, we ran a simple simulation where, given pp and ϵ\epsilon, we generated random instances of the problem for different values of nn and checked whether the dual certificate proposed was feasible. The results, reported in Figure 1, suggest that this does not happen all the way down to the IT threshold suggesting that the gap might be a shortcoming of the method and not an artefact of the analysis. However, it is possible that a sharper analysis can yield better guarantees for the SDP-based algorithm. In particular, our analysis hinges on an all-purpose matrix Bernstein inequality that may be suboptimal in this case, and a specialized study of the particular random matrix in question may yield better results. We defer such a study for future investigations. Although the fact that the dual certificate is not feasible does not necessarily imply that the SDP is not achieving exact recovery, checking the dual certificate is considerably cheaper from a computational point of view, and other experiments, not reported, showed that the two tests are essentially equivalent in practice. This poses the natural question of whether there exists a polynomial-time algorithm that is able to match the rates achieved by the ML estimator. The existence of a gap between the performance of the ML estimator and the best polynomial-time algorithm would be extremely interesting.

Acknowledgements

We thank Andrea Montanari for suggesting to us the algorithm described in Section 5.3 and Joel Tropp for insightful discussions regarding .

We would also like to thank Yuxin Chen, Andrea Goldsmith, Peter Huang, and Leo Guibas for useful discussions and for making their related, then unpublished, work available to us following the announcement of the results of this paper by ASB at a seminar in Stanford University. It would otherwise have been impossible for us to appropriately address their results in this paper.

A. S. Bandeira was supported by AFOSR Grant No. FA9550-12-1-0317. A. Singer was partially supported by Award Number R01GM090200 from the NIGMS, by Award Number FA9550-12-1-0317 and FA9550-13-1-0076 from AFOSR, and by Award Number LTR DTD 06-05-2012 from the Simons Foundation.

References