Introduction
The stochastic block model is a long-studied random graph model for graphs with community structure . In the n n n -vertex, degree-d d d two-community stochastic block model (SBM), SBM( n , d , λ ) (n,d,\lambda) ( n , d , λ ) , we first assign to each vertex u ∈ [ n ] u \in[n] u ∈ [ n ] a random community label σ u ⋆ ∼ { ± 1 } \sigma_u^\star\sim\{\pm1\} σ u ⋆ ∼ { ± 1 } , then add each possible edge { u , v } \{u,v\} { u , v } independently with probability d n ( 1 + λ σ u ⋆ σ v ⋆ ) \frac{d}{n}(1+\lambda\sigma_u^\star\sigma_v^\star) n d ( 1 + λ σ u ⋆ σ v ⋆ ) to form a graph G G G , where λ ∈ ( − 1 , 1 ) \lambda\in(-1,1) λ ∈ ( − 1 , 1 ) captures the degree of (dis)affinity within communities.
The SBM arose independently in several research communities – algorithms [11 , 30 , 17 ] , statistics and the social sciences [46 ] , statistical physics [SöD02, DKMZ11b, DKMZ11a], and mathematics [13 ] . Across all of them, it is an important testbed for algorithmic and analytical techniques, since it provides a (relatively) simple model organism for a wide range of phenomena spanning clustering, spin glasses, social networks, and more. In computer science, studying the SBM has led to new clustering algorithms [DKMZ11a, KMM+13, SKZ14, GV16, MS16, HS17, AS18], new insights about average-case computational complexity [DKMZ11a, HS17, Hop18, BBK+21, KWB22], novel understanding of the differences between random and semirandom input models in beyond-worst-case analysis [69 ] , and much more.
We focus on the sparse graph setting, with constant average degree d d d , where the most interesting algorithmic and probabilistic phenomena occur. A long line of work has tackled the problem of estimating the community labels σ ⋆ \sigma^\star σ ⋆ after observing the sparse graph G G G via computationally efficient algorithms [23 DKMZ11a, KMM+13, 61 , 74 , 8 , 2 ] . A major theme has been the pursuit of algorithms which work for all d , λ d,\lambda d , λ obeying d λ 2 > 1 d\lambda^2 > 1 d λ 2 > 1 , the Kesten–Stigum threshold – this is the best that can be hoped for, since if d λ 2 < 1 d\lambda^2 < 1 d λ 2 < 1 estimating σ ⋆ \sigma^\star σ ⋆ with any constant advantage over oblivious guessing is information-theoretically impossible [64 ] .
Some highlights include [61 , 67 , 14 ] , which gave the first polynomial-time estimators to perform better than randomly guessing the labels (the weak recovery problem ) all the way down to the Kesten–Stigum threshold, [65 YP24] which give the first polynomial-time algorithm with information-theoretically optimal recovery rate (see also [42 ] for more than two communities), and [43 , 16 , 29 , 28 , 31 MRW24, 59 , 62 , 49 , 20 , 12 ] which aim to design robust algorithms to estimate σ ⋆ \sigma^\star σ ⋆ , that is, algorithms which can tolerate some adversarial corruption of the observed graph.
Robust estimation of communities with optimal error rate We focus on the latter problem, estimating the community labels σ ⋆ \sigma^\star σ ⋆ given an adversarial corruption G ′ G' G ′ of the SBM graph G G G . We give the first polynomial-time algorithm which recovers the ground-truth labels with information-theoretically optimal accuracy for every d d d and λ \lambda λ while tolerating a constant fraction of adversarially corrupted edges. More formally, for every d , λ d,\lambda d , λ , there is a number O P T d , λ ∈ [ 0 , 1 ) \mathrm{OPT}_{d,\lambda} \in[0,1) OPT d , λ ∈ [ 0 , 1 ) , defined as
O P T d , λ = lim n → ∞ sup estimator σ ^ 1 n E ( σ ⋆ , G ) ∼ S B M ( n , d , λ ) [ ∣ σ ⋆ , σ ^ ( G ) ∣ ] . \mathrm{OPT}_{d,\lambda} = \lim_{n \to\infty} \sup_{\text{estimator }\hat{\sigma}} \frac{1}{n}\mathbb{E}_{(\sigma^\star,G)\sim\mathrm{SBM}(n,d,\lambda)}\left[\left\lvert\sigma^\star,\hat{\sigma}(G)\right\rvert\right]. OPT d , λ = n → ∞ lim estimator σ ^ sup n 1 E ( σ ⋆ , G ) ∼ SBM ( n , d , λ ) [ ∣ σ ⋆ , σ ^ ( G ) ∣ ] .
For any constant d , λ d,\lambda d , λ , O P T d , λ < 1 \mathrm{OPT}_{d,\lambda}<1 OPT d , λ < 1 – indeed, with high probability the graph G G G will have isolated vertices, for which the graph structure gives no useful information about their label, though this is not the only reason for O P T < 1 \mathrm{OPT}<1 OPT < 1 ; it is also strictly smaller than the size of the giant component.
Our main result is an algorithm which for every d > 1 d > 1 d > 1 , and ε > 0 \varepsilon> 0 ε > 0 , and λ ∈ [ − 1 , 1 ] \lambda\in[-1,1] λ ∈ [ − 1 , 1 ] , obtains recovery accuracy OPT d , λ − ε \operatorname{OPT}_{d,\lambda} - \varepsilon OPT d , λ − ε , even in the presence of a small constant fraction η > 0 \eta> 0 η > 0 of adversarial corruptions.
Theorem 1.1 (Main theorem, follows from Theorems 4.2 and 5.1 ). For every d > 1 d > 1 d > 1 , ε > 0 \varepsilon> 0 ε > 0 , and λ ∈ [ − 1 , 1 ] \lambda\in[-1,1] λ ∈ [ − 1 , 1 ] , there is η > 0 \eta> 0 η > 0 and a nearly-linear time algorithm which takes a graph G G G , returns a { ± 1 } \{\pm1\} { ± 1 } -labeling σ ^ ( G ) \hat{\sigma}(G) σ ^ ( G ) of the vertices, and satisfies
E ( σ ⋆ , G ) ∼ SBM ( n , d , λ ) min { 1 n ⋅ ∣ ⟨ σ ⋆ , σ ^ ( G ′ ) ⟩ ∣ | ∣ E ( G ) △ E ( G ′ ) ∣ ≤ η n } ≥ OPT d , λ − ε − o ( 1 ) . \underset{(\sigma^\star,G)\sim\operatorname{SBM}(n,d,\lambda)}{\mathbb{E}}\min\left\{\frac{1}{n}\cdot\left|\left\langle\sigma^\star,\hat{\sigma}(G')\right\rangle\right|\ \middle|\ \lvert E(G)\mathbin{\triangle}E(G')\rvert\leq\eta n\right\}\geq\operatorname{OPT}_{d,\lambda}-\varepsilon-o(1). ( σ ⋆ , G ) ∼ SBM ( n , d , λ ) E min { n 1 ⋅ ∣ ⟨ σ ⋆ , σ ^ ( G ′ ) ⟩ ∣ ∣ E ( G ) △ E ( G ′ )∣ ≤ η n } ≥ OPT d , λ − ε − o ( 1 ) .
Here E ( G ) △ E ( G ′ ) E(G)\mathbin{\triangle}E(G') E ( G ) △ E ( G ′ ) denotes the symmetric difference between the edges of the graphs G G G and G ′ G' G ′ , capturing that we allow an adversary to add or remove any η n \eta n η n edges.
Prior efficient algorithms that obtained correlation OPT d , λ − ε \operatorname{OPT}_{d,\lambda}-\varepsilon OPT d , λ − ε but did not tolerate any adversarial corruption [65 YP24] were already a major achievement. Prior efficient algorithms which do tolerate adversarial corruption either do not obtain information-theoretically optimal accuracy [29 , 28 MRW24] , or obtain information-theoretically optimal accuracy only in the limit of large signal-to-noise ratio d λ 2 → ∞ d\lambda^2\to\infty d λ 2 → ∞ [59 , 31 ] , rather than for every d , λ d,\lambda d , λ such that d λ 2 > 1 d\lambda^2>1 d λ 2 > 1 —as we will see, the latter requires a substantially different algorithm. Our algorithm runs in nearly-linear time.
Figure 1. OPT d , λ \operatorname{OPT}_{d,\lambda} OPT d , λ plotted for d = 3 d=3 d = 3 . The Kesten–Stigum threshold occurs at 1 / 3 1/\sqrt{3} 1/ 3 . Even at λ = 1 \lambda=1 λ = 1 we have OPT d , 1 < 1 \operatorname{OPT}_{d,1}<1 OPT d , 1 < 1 because of isolated vertices. The accuracy of our algorithm is described precisely by this curve.
Why adversarial robustness? Algorithmic techniques designed for average-case models like the SBM can overfit to their models – they may exploit features of the random input which have little to do with the structure they are meant to find, and fail when the input deviates even slightly from the model. This concern is behind a long tradition of semirandom models, in which the input is generated by a combination of random and adversarial choices [18 , 39 , 38 ] . Aiming for robust algorithms often leads to fundamentally new algorithmic insights – see, for instance, the revolution in high-dimensional algorithmic statistics sparked by the search for robust algorithms [32 ] . Our problem is especially ripe for this kind of development – the only prior efficient algorithm which achieves accuracy OPT d , λ − ε \operatorname{OPT}_{d,\lambda}-\varepsilon OPT d , λ − ε for every d , λ d,\lambda d , λ [65 YP24] is built on belief propagation, and prior to our work it was not known how to make belief-propagation-based algorithms robust to adversarial corruptions.
Our algorithm: spectral initialization of BP Our algorithm is quite simple; we present an overview in Algorithm 1. The basic idea is to compute the second eigenvector of the nonbacktracking matrix of the SBM graph G G G , or approximate this vector via a semidefinite program if given a corrupted graph G ′ G' G ′ , and then use this vector to initialize an algorithm called belief propagation (BP). BP aggregates the values that y y y assigns to edges in a neighborhood of each vertex u u u into a guess for the label of u u u . Although our algorithm is simple, the interplay between the spectral initialization Algorithm 1: BP initialized at the nonbacktracking eigenvector
Input: a graph G ′ G' G ′ on [ n ] [n] [ n ] which differs from an SBM graph G G G on at most η n \eta n η n edges and parameter t ≥ 1 t \ge1 t ≥ 1 depending on the target accuracy.
Compute the second eigenvector. Let E ⃗ ( G ) \vec{E}(G) E ( G ) be the set of directed edges of G G G , and let B G ∈ { 0 , 1 } E ⃗ ( G ) × E ⃗ ( G ) B_G \in\{0,1\}^{\vec{E}(G)\times\vec{E}(G)} B G ∈ { 0 , 1 } E ( G ) × E ( G ) be the nonbacktracking matrix , which has ( B G ) u → v , x → w = 1 (B_G)_{u\to v,x\to w}=1 ( B G ) u → v , x → w = 1 if x = v x=v x = v and w ≠ u w\ne u w = u , and 0 otherwise. If η = 0 \eta=0 η = 0 , compute a unit eigenvector y y y of B G B_G B G for eigenvalue of second-largest modulus. If η > 0 \eta>0 η > 0 , use a semidefinite program to compute a vector y y y with correlation 1 − η ′ ( η ) 1-\eta'(\eta) 1 − η ′ ( η ) to this unit eigenvector.
Round. Independently for each directed edge e e e , draw τ e ∈ { ± 1 } \tau_e\in\{\pm1\} τ e ∈ { ± 1 } with E τ e = tanh ( β ∣ E ⃗ ( G ′ ) ∣ y e ) \mathbb{E}\tau_e=\tanh\left(\beta\sqrt{|\vec{E}(G')|}y_e\right) E τ e = tanh ( β ∣ E ( G ′ ) ∣ y e ) . (β \beta β is a constant depending on d d d and λ \lambda λ .)
Iterate BP update rule. Set m u → v ( 0 ) = γ τ v → u m_{u\to v}^{(0)}=\gamma\tau_{v\to u} m u → v ( 0 ) = γ τ v → u for each directed edge u → v u\to v u → v in G ′ G' G ′ , and for s = 1 , … , t s=1,\ldots,t s = 1 , … , t set m u → v ( s ) = BP ( { m w → u ( s − 1 ) : w ∈ ∂ u ∖ { v } } ) m_{u\to v}^{(s)}=\operatorname{BP}\left(\{m_{w\to u}^{(s-1)}:w\in\partial u\setminus\{v\}\}\right) m u → v ( s ) = BP ( { m w → u ( s − 1 ) : w ∈ ∂ u ∖ { v }} ) , where ∂ u \partial u ∂ u is the set of neighbors of u u u in G ′ G' G ′ and
BP ( { m 1 , … , m k } ) = ∏ i ≤ k ( 1 + λ m i ) − ∏ i ≤ k ( 1 − λ m i ) ∏ i ≤ k ( 1 + λ m i ) + ∏ i ≤ k ( 1 − λ m i ) . \operatorname{BP}(\{m_1,\ldots,m_k\})=\frac{\prod_{i\le k}(1+\lambda m_i)-\prod_{i\le k}(1-\lambda m_i)}{\prod_{i\le k}(1+\lambda m_i)+\prod_{i\le k}(1-\lambda m_i)}. BP ({ m 1 , … , m k }) = ∏ i ≤ k ( 1 + λ m i ) + ∏ i ≤ k ( 1 − λ m i ) ∏ i ≤ k ( 1 + λ m i ) − ∏ i ≤ k ( 1 − λ m i ) .
(γ \gamma γ is a constant depending on d , λ d,\lambda d , λ , and t t t .)
Round by signs. Output σ ^ v = sign BP ( { m w → v ( t ) : w ∈ ∂ v } ) \hat{\sigma}_v=\operatorname{sign}\operatorname{BP}(\{m_{w\to v}^{(t)}:w\in\partial v\}) σ ^ v = sign BP ({ m w → v ( t ) : w ∈ ∂ v }) for each vertex $v.
and BP is subtle, and our main technical contribution is an analysis which allows these two tools to be put together.
Belief propagation (BP) is a canonical algorithm for computing marginal probabilities in graphical models, based on a simple dynamic program. Also known as the sum-product algorithm, BP is fundamental enough to be commonly taught in undergraduate courses, and yet rigorous correctness analyses for BP on non-tree-like graphical models are very scarce. (BP is easily shown to compute marginal probabilities exactly in tree-structured graphical models.) BP is the only tool we have which can lead to accuracy O P T d , λ \mathrm{OPT}_{d,\lambda} OPT d , λ in the SBM, but because it is challenging to analyze, prior work [65 ] had to build a complicated initialization scheme to make the analysis tractable. (We will discuss this further in § 2 .)
Zdeborová [81 ] therefore poses the open problem of whether the simple spectral initialization of BP we use here also leads to optimal-error community estimation. We resolve this problem positively in the two-community case. This gives us a nearly-linear-time algorithm and furnishes a rare example of a rigorous analysis of BP on a nontrivial family of non-tree graphs. In the non-corrupted case, our analysis is not too complicated: if η = 0 \eta=0 η = 0 , the proof that Algorithm 1 gives an optimal estimate of σ ⋆ \sigma^\star σ ⋆ will be done by the end of § 4 .
Related work
There is a vast literature on algorithms and information-theoretic limits for the SBM beyond the works we have already discussed – see for instance [21 , 25 , 3 , 66 BMNN16, 63 , 82 , 41 , 27 , 75 , 1 , 37 , 4 , 60 ] and the survey [2 ] . The Bethe Hessian of [74 ] has also been analyzed rigorously: [MRW24] construct its outlier eigenvectors above the Kesten–Stigum threshold, and Stephan and Zhu [79 ] show that its negative outliers detect the number of communities above the Kesten–Stigum threshold when d ≥ 2 d \ge2 d ≥ 2 . Rigorous analyses of BP on graphs which are not trees are rare (though there are exceptions, e.g. [24 ] ). More broadly, algorithms for statistical estimation in the presence of adversarial contamination have flourished over the last decade; see [32 ] . We highlight a couple of works closely related to ours.
Liu–Moitra robust community detection [59 ] This work studies community detection with a stronger adversary than ours – it can make an unbounded number of monotone changes, adding edges inside communities and deleting edges connecting communities (when λ > 0 \lambda> 0 λ > 0 ). The model is also nominally stronger in that η n \eta n η n nodes can have their adjacency lists modified arbitrarily; however, [28 Appendix C] show that this node-corruption model reduces to our edge-corruption model.
But, the [59 ] approach requires d λ 2 d\lambda^2 d λ 2 to be at least a large constant, and achieves optimal accuracy only in the limit d λ 2 → ∞ d\lambda^2 \to\infty d λ 2 → ∞ . More quantitatively, in our notation, the accuracy guarantee of [59 ] even in the η = 0 \eta= 0 η = 0 case is 1 − ( 1 − O P T d , λ ) 1 − o d λ 2 → ∞ ( 1 ) 1 - (1 - \mathrm{OPT}_{d,\lambda})^{1-o_{d\lambda^2 \to\infty}(1)} 1 − ( 1 − OPT d , λ ) 1 − o d λ 2 → ∞ ( 1 ) . By contrast, we obtain overlap O P T d , λ − ε \mathrm{OPT}_{d,\lambda} - \varepsilon OPT d , λ − ε for every d , λ d,\lambda d , λ with d λ 2 > 1 d\lambda^2 > 1 d λ 2 > 1 and every ε > 0 \varepsilon> 0 ε > 0 . This difference in guarantees corresponds to an important algorithmic difference. The optimal accuracy as d λ 2 → ∞ d\lambda^2 \to\infty d λ 2 → ∞ can be obtained by starting with a weak recovery algorithm and greedily flipping vertices whose labels disagree with a majority of their neighbors—this is sort of a “poor man’s belief propagation,” whereas we need to use actual BP to achieve the O P T d , λ \mathrm{OPT}_{d,\lambda} OPT d , λ accuracy guarantee.
Robust approximate message passing [51 , 52 , 53 ] A recent line of work by Ivkov and Schramm studies the robustness of approximate message passing (AMP), the dense-matrix analogue of BP, to adversarial corruption of a principal minor of the input matrix. Especially relevant is [53 ] , which studies Z 2 \mathbb{Z}_2 Z 2 synchronization, a dense analogue of the two-community block model. Their algorithm has the same outline as ours: after spectral preprocessing, robustly estimate the top eigenvector to obtain a spectral initialization, then run the message-passing iteration, which turns out to be robust once its initialization is. As is typical when generalizing from dense to sparse random matrix models, however, the analysis in our sparse setting is quite different. Even in the non-corrupted setting, spectral initialization of the message-passing algorithm (in this case AMP) was well understood going back to [72 ] . In the sparse case the analogous result was not known until our work.
Concurrent work In concurrent and independent work, Dong and McKenzie [35 ] show that the outlier eigenvectors of the Bethe Hessian achieve weak recovery down to the Kesten–Stigum threshold, for every d > 1 d > 1 d > 1 . Our analysis of the corrected Bethe Hessian establishes a similar result.
Technical overview
We introduce the key players in our algorithm – the nonbacktracking matrix and belief propagation. We then describe how our algorithm and analysis put these components together, and why it leads naturally to an adversarially robust algorithm. The technical sections of our paper divide the implementation of this plan into two parts. In § 4 we show that BP, initialized at the second eigenvector of the nonbacktracking matrix, succeeds at optimal community estimation. Then in § 5 we show how to estimate this vector in the presence of adversarial corruptions, with supporting lemmas proved in subsequent sections.
Weak recovery and nonbacktracking walks Weak recovery refers to finding σ ^ \hat{\sigma} σ ^ so that
1 n E ( σ ⋆ , G ) ∼ SBM ( n , d , λ ) ∣ ⟨ σ ^ , σ ⋆ ⟩ ∣ ≥ Ω ( 1 ) . \frac{1}{n}\mathbb{E}_{(\sigma^\star,G)\sim\operatorname{SBM}(n,d,\lambda)}\left|\langle\hat{\sigma},\sigma^\star\rangle\right| \ge\Omega(1). n 1 E ( σ ⋆ , G ) ∼ SBM ( n , d , λ ) ∣ ⟨ σ ^ , σ ⋆ ⟩ ∣ ≥ Ω ( 1 ) .
This is information-theoretically possible so long as d λ 2 > 1 d\lambda^2 > 1 d λ 2 > 1 , the Kesten–Stigum threshold [64 , 61 , 67 ] .
The algorithm “from the book” for weak recovery in sparse SBM graphs assigns labels based on the second eigenvector of the nonbacktracking matrix . For a graph G = ( V , E ) G=(V,E) G = ( V , E ) , let E ⃗ \vec{E} E be the set of directed edges of G G G , so ∣ E ⃗ ∣ = 2 ∣ E ∣ |\vec{E}|=2|E| ∣ E ∣ = 2∣ E ∣ . The nonbacktracking matrix B ∈ R E ⃗ × E ⃗ B\in\mathbb{R}^{\vec{E}\times\vec{E}} B ∈ R E × E has entries given by
B ( u , v ) , ( w , z ) = { 1 if w = v and z ≠ u , 0 otherwise . B_{(u,v),(w,z)} =
\begin{cases}
1 & \text{if } w=v \text{ and } z\ne u,\\
0 & \text{otherwise}.
\end{cases} B ( u , v ) , ( w , z ) = { 1 0 if w = v and z = u , otherwise .
The adjacency matrix of a sparse random graph has top eigenvectors dominated by unusually high degree vertices; they are not useful for finding global community structure in the graph. The nonbacktracking matrix fixes this issue. Concretely, [14 Theorem 5] proves that with high probability, taking ξ \xi ξ to be an eigenvector associated to a second-largest-magnitude eigenvalue of B B B (which w.h.p. has real entries), the algorithm which thresholds the value of ∑ u ∼ v ξ ( u , v ) \sum_{u\sim v}\xi(u,v) ∑ u ∼ v ξ ( u , v ) at each vertex v v v achieves weak recovery. This eigenvector “pokes out” of the spectrum, creating a gap in the eigenvalue spectrum of B B B . We will return to this second eigenvector ξ \xi ξ later, but for now we move on to the second key ingredient.
Tree reconstruction and BP For our purposes, it is convenient to define BP through the lens of the broadcast tree reconstruction problem.
Definition 2.1 (Broadcasting on trees and tree reconstruction). Let T d , t T_{d,t} T d , t be a d d d -ary tree with height t t t .1 In the broadcast-on-trees process, a uniformly random label σ r ∈ { ± 1 } \sigma_r\in\{\pm1\} σ r ∈ { ± 1 } is assigned to the root vertex r r r . This label is then propagated down the tree by having each vertex independently choose to copy the label of its parent with probability ( 1 + λ ) / 2 (1+\lambda)/2 ( 1 + λ ) /2 and otherwise flip the label, for a parameter λ ∈ [ − 1 , 1 ] \lambda\in[-1,1] λ ∈ [ − 1 , 1 ] . At the end each vertex in the tree has a ± 1 \pm1 ± 1 label.
The tree reconstruction problem is to guess the value σ r \sigma_r σ r given access to the signs σ t ∈ { ± 1 } d t \sigma_t \in\{\pm1\}^{d^t} σ t ∈ { ± 1 } d t of the leaf vertices. In the noisy tree reconstruction problem , the goal is to guess the value σ r \sigma_r σ r given access to σ t ′ \sigma'_t σ t ′ , which is σ t \sigma_t σ t with every bit flipped independently with some probability ρ \rho ρ .2
The Bayes-optimal algorithm for tree reconstruction is to output sign ( E [ σ r ∣ σ t ] ) \operatorname{sign}(\mathbb{E}[\sigma_r \mid\sigma_t]) sign ( E [ σ r ∣ σ t ]) , the sign of the expected value of the root conditioned on the leaves, or sign ( E [ σ r ∣ σ t ′ ] ) \operatorname{sign}(\mathbb{E}[\sigma_r \mid\sigma'_t]) sign ( E [ σ r ∣ σ t ′ ]) in the noisy case. Let T r e e - O P T d , λ , ρ ∈ [ 0 , 1 ] \mathrm{Tree\text{-}OPT}_{d,\lambda,\rho} \in[0,1] Tree - OPT d , λ , ρ ∈ [ 0 , 1 ] be the limit of the correlation of the root sign with this optimal guess as t → ∞ t \to\infty t → ∞ , which captures the optimal probability with which a tree reconstruction algorithm can correctly guess the sign of the root:
T r e e - O P T d , λ , ρ = lim t → ∞ E [ σ r ⋅ sign ( E [ σ r ∣ σ t ′ ] ) ] \mathrm{Tree\text{-}OPT}_{d,\lambda,\rho}=\lim_{t\to\infty}\mathbb{E}\left[\sigma_r\cdot\operatorname{sign}\left(\mathbb{E}[\sigma_r\mid\sigma'_t]\right)\right] Tree - OPT d , λ , ρ = t → ∞ lim E [ σ r ⋅ sign ( E [ σ r ∣ σ t ′ ] ) ]
where σ t ′ = σ t \sigma'_t=\sigma_t σ t ′ = σ t when ρ = 0 \rho=0 ρ = 0 .
An important and surprising theorem we will need later is that the optimal probability of correctly guessing the root is actually independent of the noise rate ρ \rho ρ , as long as ρ \rho ρ is not exactly 1 / 2 1/2 1/2 (which would destroy all the signal about σ r \sigma_r σ r ).
Theorem 2.2 ([65 YP24] ). If d > 1 d>1 d > 1 , λ ∈ ( − 1 , 1 ) \lambda\in(-1,1) λ ∈ ( − 1 , 1 ) , and ρ ≠ 1 / 2 \rho\ne1/2 ρ = 1/2 , then T r e e - O P T d , λ , ρ = T r e e - O P T d , λ , 0 \mathrm{Tree\text{-}OPT}_{d,\lambda,\rho}=\mathrm{Tree\text{-}OPT}_{d,\lambda,0} Tree - OPT d , λ , ρ = Tree - OPT d , λ , 0 .
BP is a dynamic program to compute the posterior expected value E [ σ r ∣ σ t ] \mathbb{E}[\sigma_r\mid\sigma_t] E [ σ r ∣ σ t ] or E [ σ r ∣ σ t ′ ] \mathbb{E}[\sigma_r\mid\sigma'_t] E [ σ r ∣ σ t ′ ] . For concreteness we have described it explicitly in Algorithm 1, but actually all we will need to use about BP is that it computes this posterior expected value.
Algorithms for estimating σ ∗ \sigma^* σ ∗ in the SBM with optimal error use BP as a subroutine, feeding it inputs which are not actually derived from a broadcast-on-tree process, but rather computed in some way from an SBM graph. The key challenge is to analyze BP initialized with these “off distribution” inputs, by relating those inputs back to a tree process.
The basic relationship between the SBM and broadcasting on trees, pioneered in [64 ] , stems from taking a “local view” of the SBM. For a vertex u u u , let B t ( u ) B_t(u) B t ( u ) be a ball of radius t t t in G G G and look at the joint distribution ( σ B t ( u ) ∗ , B t ( u ) ) (\sigma^*_{B_t(u)}, B_t(u)) ( σ B t ( u ) ∗ , B t ( u )) , where σ B t ( u ) ∗ \sigma^*_{B_t(u)} σ B t ( u ) ∗ is the restriction of σ ∗ \sigma^* σ ∗ to coordinates in B t ( u ) B_t(u) B t ( u ) . It turns out that this distribution is very close to the broadcast-on-trees distribution.
Lemma 2.3 (Simplified version of Fact 4.7, [14 Proposition 36] ). Let f f f be a function mapping depth-t t t trees whose vertices have ± 1 \pm1 ± 1 labels to [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] , let d > 0 d>0 d > 0 , and let T d , t T_{d,t} T d , t be a depth-t t t Galton-Watson tree (where every vertex has Poi ( d ) \operatorname{Poi}(d) Poi ( d ) children). Then
1 n ∑ u ∈ [ n ] f ( B t ( u ) , σ B t ( u ) ∗ ) ⟶ E f ( T d , t , σ ) \frac{1}{n}\sum_{u\in[n]}f\left(B_t(u),\sigma^*_{B_t(u)}\right)\longrightarrow\mathbb{E}f(T_{d,t},\sigma) n 1 u ∈ [ n ] ∑ f ( B t ( u ) , σ B t ( u ) ∗ ) ⟶ E f ( T d , t , σ ) in probability as n → ∞ n\to\infty n → ∞ , where σ \sigma σ is the broadcast labeling of T d , t T_{d,t} T d , t with parameter λ \lambda λ , and B t ( u ) B_t(u) B t ( u ) is rooted at u u u . (With high probability B t ( u ) B_t(u) B t ( u ) is a tree for all but o ( n ) o(n) o ( n ) vertices u u u , so it does not matter how f f f is defined on the others.)
A related fact, proved by [65 Theorem 2.8] , is that Tree-OPTd , λ _{d,\lambda} d , λ ≥ \ge ≥ OPTd , λ _{d,\lambda} d , λ , because even an estimator for σ u ⋆ \sigma^\star_u σ u ⋆ which is also given the true labels of all vertices at distance exactly t t t from u u u can do no better than tree reconstruction — conditioned on those labels, the rest of the graph carries only vanishing information about σ u ⋆ \sigma^\star_u σ u ⋆ , and by Lemma 2.3 the ball B t ( u ) B_t(u) B t ( u ) together with its labels looks like a depth-t t t broadcast tree.
Idealized model for combining weak recovery and BP. We are building towards an algorithm for estimating σ ⋆ \sigma^\star σ ⋆ which combines BP and nonbacktracking walks, and achieves correlation Tree-OPTd , λ _{d,\lambda} d , λ , the best possible in light of Tree-OPTd , λ _{d,\lambda} d , λ ≥ \ge ≥ OPTd , λ _{d,\lambda} d , λ . The basic idea is to initialize BP using the entries of the second eigenvector ξ \xi ξ of the nonbacktracking matrix. At this point we have all the ingredients to describe a useful idealized model to explain why this kind of approach should work.
Imagine that in addition to G G G , our algorithm had access to an idealized weak recovery σ ′ \sigma' σ ′ , which is σ ⋆ \sigma^\star σ ⋆ with every entry flipped independently with probability ρ < 1 / 2 \rho< 1/2 ρ < 1/2 (this is the block model with side information studied in [73 ] ). The labeling σ ′ \sigma' σ ′ is itself a weak recovery of σ ⋆ \sigma^\star σ ⋆ because E ∣ ⟨ σ ⋆ , σ ′ ⟩ ∣ ≥ Ω ( n ) \mathbb{E} \lvert\langle\sigma^\star,\sigma'\rangle\rvert\ge\Omega(n) E ∣⟨ σ ⋆ , σ ′ ⟩∣ ≥ Ω ( n ) .
We could then “boost” the correlation of σ ′ \sigma' σ ′ with σ ⋆ \sigma^\star σ ⋆ by applying BP in a neighborhood of each vertex – that is, for each vertex u u u , we could take σ ^ u \hat{\sigma}_u σ ^ u to be the sign of the output of BP initialized with σ B t ( u ) ′ \sigma'_{B_t(u)} σ B t ( u ) ′ , the noisy signs of vertices in a depth-t t t neighborhood (see also [56 ] on combining graph and node information). Lemma 2.3 and Theorem 2.2 together show that for this choice of σ ^ \hat{\sigma} σ ^ , 1 n E ∣ ⟨ σ ^ , σ ⋆ ⟩ ∣ → \frac{1}{n}\mathbb{E}\lvert\langle\hat{\sigma},\sigma^\star\rangle\rvert\to n 1 E ∣⟨ σ ^ , σ ⋆ ⟩∣ → OPTd , λ _{d,\lambda} d , λ .
The main challenge: the need for independence in the input to BP. Departing from the idealized model, of course in reality we don’t get access to σ ′ \sigma' σ ′ which is an independent noisy copy of the ground truth σ ⋆ \sigma^\star σ ⋆ . We would like to simulate such nice σ ′ \sigma' σ ′ to generate inputs to BP as before, but using a weak recovery algorithm we can actually run.
The major difficulty is that independence of the noise added to σ ⋆ \sigma^\star σ ⋆ to produce σ ′ \sigma' σ ′ in the idealized model is crucial to being able to apply Theorem 2.2 . Indeed, no analog of Theorem 2.2 is possible if independent random flips of the leaf labels are replaced by adversarial flips – the output of BP becomes useless in the presence of a vanishing fraction of adversarial bit-flips at the leaves (this is folklore; see, e.g., [45 ] ). But the locations where the output σ w e a k \sigma_{\mathrm{weak}} σ weak of a weak recovery algorithm differs from σ ⋆ \sigma^\star σ ⋆ , which become the leaf-flip locations when we feed σ w e a k \sigma_{\mathrm{weak}} σ weak to BP, will be correlated in an inscrutable way.
The prior work [65 ] tackles this issue by wrapping a weak recovery algorithm in a graph-splitting procedure which creates enough of the necessary independence to simulate σ ′ \sigma' σ ′ by “repurposing” some of the independent randomness in the edges of the SBM graph. (This is sometimes called the “cavity method.”)
Unlike [65 ] , we are looking for an algorithm that works in the presence of adversarial corruptions to the edge structure of the graph. A first idea is to use the graph-splitting approach in conjunction with a robust weak recovery algorithm like [29 MRW24] which still achieves weak recovery even with a small constant fraction of adversarial edge corruptions. The problem is that the adversarial corruptions destroy the independence in the edges of the SBM graph which the graph-splitting approach relies on. Thus, the edge-corrupting adversary might be able to arrange their corruptions so that the output σ w e a k \sigma_{\mathrm{weak}} σ weak still has ∣ ⟨ σ w e a k , σ ⋆ ⟩ ∣ ≥ Ω ( n ) \lvert\langle\sigma_{\mathrm{weak}},\sigma^\star\rangle\rvert\ge\Omega(n) ∣⟨ σ weak , σ ⋆ ⟩∣ ≥ Ω ( n ) , but for most vertices u u u , the locations among B t ( u ) B_t(u) B t ( u ) where σ w e a k \sigma_{\mathrm{weak}} σ weak and σ ⋆ \sigma^\star σ ⋆ disagree have a very non-random structure, which fools BP. We need a different approach.
Key idea: local characterization of the second eigenvector Let us return to the setting without adversarial corruptions to the graph, to design an algorithm for optimal-error community estimation without relying on graph splitting. Our key insight is that a simple rounding scheme applied to the second eigenvector of the nonbacktracking matrix produces a sign vector which acts enough like the idealized σ ′ \sigma^\prime σ ′ that we can use it directly to initialize BP. In particular, we show that the locations of entries where σ ⋆ \sigma^\star σ ⋆ and the rounded vector differ are “random enough” – this makes it unlike a generic weak recovery algorithm, where we wouldn’t have control over the locations of these disagreements, only over their number.
The crucial technical ingredient is a new local characterization of the second eigenvector of the nonbacktracking matrix. Here “local” means that we show that the ( u , v ) (u,v) ( u , v ) entry of the second eigenvector is essentially a function of a constant-radius local neighborhood of ( u , v ) (u,v) ( u , v ) in G G G , together with the labels σ ⋆ \sigma^\star σ ⋆ in that local neighborhood.
Lemma 2.4 (Local characterization of the second eigenvector, informal version of Lemma 4.3). Let d λ 2 > 1 d\lambda^2 > 1 d λ 2 > 1 . With high probability , the vector W ( ℓ ) ∈ R E ⃗ W^{(\ell)} \in\mathbb{R}^{\vec{E}} W ( ℓ ) ∈ R E given by aggregating σ ⋆ \sigma^\star σ ⋆ over depth-ℓ \ell ℓ nonbacktracking walks
W ( u , v ) ( ℓ ) = ∑ ( u 0 , … , u ℓ + 1 ) σ u ℓ + 1 ⋆ , W^{(\ell)}_{(u,v)} = \sum_{(u_0,\ldots,u_{\ell+1})} \sigma^\star_{u_{\ell+1}}, W ( u , v ) ( ℓ ) = ( u 0 , … , u ℓ + 1 ) ∑ σ u ℓ + 1 ⋆ , where the sum is over nonbacktracking walks with u 0 = u u_0=u u 0 = u and u 1 = v u_1=v u 1 = v , has correlation 1 − o ℓ → ∞ ( 1 ) 1-o_{\ell\to\infty}(1) 1 − o ℓ → ∞ ( 1 ) with the eigenvector of B G B_G B G with eigenvalue of second-largest modulus.
Intuition for Lemma 2.4 Because we are working with a sparse random graph and the non-Hermitian matrix B B B , proving Lemma 2.4 requires some care; for instance we cannot rely on an orthonormal basis of eigenvectors. We are able to prove it by combining tools from [14 ] , especially Lemma 2.3. But the intuition for why it ought to be true is simple. Suppose we pretend that B B B is a symmetric matrix with an orthonormal basis of eigenvectors such that:
B B B has constant size gaps in the spectrum: ∣ λ 1 ( B ) ∣ ≥ ∣ λ 2 ( B ) ∣ + Ω ( 1 ) ⋅ ∣ λ 1 ( B ) ∣ |\lambda_1(B)| \ge|\lambda_2(B)| + \Omega(1) \cdot|\lambda_1(B)| ∣ λ 1 ( B ) ∣ ≥ ∣ λ 2 ( B ) ∣ + Ω ( 1 ) ⋅ ∣ λ 1 ( B ) ∣ and ∣ λ 2 ( B ) ∣ ≥ ∣ λ 3 ( B ) ∣ + Ω ( 1 ) ⋅ ∣ λ 1 ( B ) ∣ |\lambda_2(B)| \ge|\lambda_3(B)| + \Omega(1) \cdot|\lambda_1(B)| ∣ λ 2 ( B ) ∣ ≥ ∣ λ 3 ( B ) ∣ + Ω ( 1 ) ⋅ ∣ λ 1 ( B ) ∣ , where the eigenvalues are ordered by magnitude, and
the vector lift ( σ ⋆ ) ∈ R E ⃗ \operatorname{lift}(\sigma^\star) \in\mathbb{R}^{\vec{E}} lift ( σ ⋆ ) ∈ R E placing σ w ⋆ \sigma^\star_w σ w ⋆ on each directed edge ( x , w ) (x,w) ( x , w ) , has Ω ( 1 ) \Omega(1) Ω ( 1 ) correlation with the second eigenvector, and is orthogonal to the top eigenvector.
This is roughly the picture established by [14 Theorem 4] . Then if we do O ( 1 ) O(1) O ( 1 ) steps of power iteration initialized at lift ( σ ⋆ ) \operatorname{lift}(\sigma^\star) lift ( σ ⋆ ) , applying the spectral theorem we will arrive at a vector with correlation 0.99 0.99 0.99 to the second eigenvector. The walk score vector W ( ℓ ) W^{(\ell)} W ( ℓ ) is exactly the result of ℓ \ell ℓ steps of power iteration initialized at lift ( σ ⋆ ) \operatorname{lift}(\sigma^\star) lift ( σ ⋆ ) .
The heart of the argument – consequences of Lemma 2.4 for spectral initialization of BP
The local view of the second eigenvector means that we can pretend that our algorithm has direct access to the walk score vector W ( ℓ ) W^{(\ell)} W ( ℓ ) , for large constant ℓ \ell ℓ . How can we use this vector to initialize BP in a way which simulates the idealized argument using σ ⋆ \sigma^\star σ ⋆ ?
Consider using BP to infer the label of vertex u u u by initializing BP at each leaf w w w of B t ( u ) B_t(u) B t ( u ) with the sign of W ( parent ( w ) , w ) ( ℓ ) W^{(\ell)}_{(\operatorname{parent}(w),w)} W ( parent ( w ) , w ) ( ℓ ) , where parent ( w ) \operatorname{parent}(w) parent ( w ) is the parent of w w w in the tree B t ( u ) B_t(u) B t ( u ) . The key idea is: when running BP on this depth-t t t tree, the input { sign ( W ( parent ( w ) , w ) ( ℓ ) ) } w ∈ leaves ( B t ( u ) ) \{\operatorname{sign}(W^{(\ell)}_{(\operatorname{parent}(w),w)})\}_{w\in\operatorname{leaves}(B_t(u))} { sign ( W ( parent ( w ) , w ) ( ℓ ) ) } w ∈ leaves ( B t ( u )) essentially acts like σ leaves ( B t ( u ) ) ⋆ \sigma^\star_{\operatorname{leaves}(B_t(u))} σ leaves ( B t ( u )) ⋆ !
To see why, note that W ( parent ( w ) , w ) ( ℓ ) W^{(\ell)}_{(\operatorname{parent}(w),w)} W ( parent ( w ) , w ) ( ℓ ) only depends on the labels σ ⋆ \sigma^\star σ ⋆ at distance ℓ \ell ℓ below w w w – that is, on the depth-ℓ \ell ℓ subtree hanging off w w w , grown away from u u u (see Figure 2 ). So everything involved lives in B t + ℓ ( u ) B_{t+\ell}(u) B t + ℓ ( u ) , and by Lemma 2.3 we may pretend that this ball is a depth-( t + ℓ ) (t+\ell) ( t + ℓ ) broadcast tree. In the broadcast process, once we condition on σ w ⋆ \sigma^\star_w σ w ⋆ , the labels in the subtree below w w w are independent of σ u ⋆ \sigma^\star_u σ u ⋆ and of the subtrees below all the other leaves, which do not overlap because of nonbacktracking.
Figure 2. The walk score W ( u , v ) ( ℓ ) W^{(\ell)}_{(u,v)} W ( u , v ) ( ℓ ) , drawn for ℓ = 2 \ell=2 ℓ = 2 . The nonbacktracking walks starting with the directed edge ( u , v ) (u,v) ( u , v ) form a tree grown outwards from v v v , which does not include u u u , and W ( u , v ) ( ℓ ) W^{(\ell)}_{(u,v)} W ( u , v ) ( ℓ ) sums the labels σ ⋆ \sigma^\star σ ⋆ at its leaves.
All together, conditioned on the labels of the leaves of B t ( u ) B_t(u) B t ( u ) , the signs { sign ( W ( parent ( w ) , w ) ( ℓ ) ) } w ∈ leaves ( B t ( u ) ) \{\operatorname{sign}(W^{(\ell)}_{(\operatorname{parent}(w),w)})\}_{w\in\operatorname{leaves}(B_t(u))} { sign ( W ( parent ( w ) , w ) ( ℓ ) ) } w ∈ leaves ( B t ( u )) are independent, and by symmetry each one equals σ w ⋆ \sigma^\star_w σ w ⋆ with the same probability 1 − ρ 1-\rho 1 − ρ . This is exactly the noisy tree reconstruction problem with noise rate ρ \rho ρ . And as long as ρ < 1 / 2 \rho< 1/2 ρ < 1/2 , Theorem 2.2 says that as t → ∞ t \to\infty t → ∞ , BP from these inputs is just as good as BP from the true labels of the leaves. We just need to analyze the noise rate ρ \rho ρ , which is not so hard because the process which starts at a leaf w w w and produces W ( parent ( w ) , w ) ( ℓ ) W^{(\ell)}_{(\operatorname{parent}(w),w)} W ( parent ( w ) , w ) ( ℓ ) is itself a broadcast process on a depth-ℓ \ell ℓ tree. We can show that ρ \rho ρ stays bounded away from 1 / 2 1/2 1/2 as ℓ → ∞ \ell\to\infty ℓ → ∞ precisely when d λ 2 > 1 d\lambda^2 > 1 d λ 2 > 1 [57 , 36 , 68 , 64 ] . This completes the non-robust version of our argument. The formal version is captured by Theorem 4.2 .
Robustness of BP and the second-eigenvector initialization Now, what if instead of G G G , we get as input G ′ G' G ′ for which ∣ E ( G ) △ E ( G ′ ) ∣ ≤ η n |E(G)\mathbin{\triangle}E(G')| \le\eta n ∣ E ( G ) △ E ( G ′ ) ∣ ≤ η n ? Our goal is to estimate σ ⋆ \sigma^\star σ ⋆ with accuracy OPT d , λ − ε \operatorname{OPT}_{d,\lambda}-\varepsilon OPT d , λ − ε while allowing η ( d , λ , ε ) > 0 \eta(d,\lambda,\varepsilon)>0 η ( d , λ , ε ) > 0 .
A first observation is that for every t t t , only around η d t n \eta d^t n η d t n vertices are distance ≤ t \le t ≤ t to an adversarially corrupted edge in G ′ G' G ′ . So if we initialize depth-t t t BP with the same vector in G G G and G ′ G' G ′ , at all but η d t n \eta d^t n η d t n vertices we will get the same output. Furthermore, if the initializations were to differ at some δ n \delta n δ n locations, it would introduce only an additional δ d t n \delta d^t n δ d t n disagreements in the outputs. We can tolerate this so long as δ , η ≪ ε d − t \delta,\eta\ll\varepsilon d^{-t} δ , η ≪ ε d − t , which we can in turn ensure so long as t t t is constant with respect to n n n , which it always is in the above arguments.
Figure 3. The two-level ball B t + ℓ ( u ) B_{t+\ell}(u) B t + ℓ ( u ) , drawn for t = 2 t=2 t = 2 . BP runs on the inner ball B t ( u ) B_t(u) B t ( u ) (dashed). Each leaf w w w of B t ( u ) B_t(u) B t ( u ) is initialized with sign ( W parent ( w ) , w ( ℓ ) ) \operatorname{sign}(W^{(\ell)}_{\operatorname{parent}(w),w}) sign ( W parent ( w ) , w ( ℓ ) ) , which depends only on the labels σ ⋆ \sigma^\star σ ⋆ at the bottom of the depth-ℓ \ell ℓ subtree hanging off w w w (shaded). These subtrees are disjoint, so conditioned on the labels of the leaves of B t ( u ) B_t(u) B t ( u ) , the inputs to BP are independent.
Thus, to robustify the whole algorithm, all we need to do is show that given G ′ G' G ′ we can find a vector y y y which has correlation 1 − δ O ( 1 ) 1-\delta^{O(1)} 1 − δ O ( 1 ) with the second eigenvector of B G B_G B G (and hence also has correlation close to 1 1 1 with the walk score vector W ( ℓ ) W^{(\ell)} W ( ℓ ) ). This suffices, because our procedure to round the second eigenvector to the signs we use to initialize BP produces sign vectors which differ on only δ n \delta n δ n locations if given inputs which are 1 − δ O ( 1 ) 1-\delta^{O(1)} 1 − δ O ( 1 ) correlated. (Ignoring dependence on d d d , which is constant anyway.)
As a first attempt, we could try directly using the second eigenvector of B G ′ B_{G'} B G ′ . But it is well known that a small adversarial corruption of the graph can dramatically shift the eigenvectors of B G ′ B_{G'} B G ′ (this argument is typically phrased for the adjacency matrix, but the phenomenon carries over to the nonbacktracking matrix).
Robustly estimating the second eigenvector We design a new algorithm to obtain an estimate of the second eigenvector of B G B_G B G , captured by Theorem 5.1 . For any δ > 0 \delta>0 δ > 0 there is η > 0 \eta>0 η > 0 such that our algorithm can find a vector whose correlation to the second eigenvector of B G B_G B G is 1 − δ 1-\delta 1 − δ , given a graph G ′ G' G ′ with η n \eta n η n edge corruptions.
Before describing our algorithm, we discuss the basic intuition for why enough information is still present after η n \eta n η n edge corruptions to approximately recover the second eigenvector of B G B_G B G . Let’s briefly adopt the following simple toy model for how B G B_G B G behaves.
Toy model and robust PCA Imagine that M ∈ R m × m M\in\mathbb{R}^{m\times m} M ∈ R m × m is a symmetric matrix with a spectral gap , having λ 1 ( M ) = 1 \lambda_1(M)=1 λ 1 ( M ) = 1 and all other eigenvalues of M M M at most 1 / 2 1/2 1/2 in magnitude, and imagine further that the top eigenvector v v v is delocalized; say ∥ v ∥ 2 = 1 \lVert v\rVert_2=1 ∥ v ∥ 2 = 1 and the maximum magnitude entry of v v v satisfies ∥ v ∥ ∞ ≤ C / m \lVert v\rVert_\infty\le C/\sqrt{m} ∥ v ∥ ∞ ≤ C / m . M M M is our stand-in for B G B_G B G and v v v is our stand-in for the second eigenvector of B G B_G B G . When the adversary modifies η n \eta n η n edges of the graph G G G , the matrix B G B_G B G can change by at most 1 in around η n \eta n η n locations; in our toy model we can imagine we get access to a matrix M ~ \widetilde{M} M for which M − M ~ M-\widetilde{M} M − M is small in the entrywise ℓ 1 \ell_1 ℓ 1 norm ∥ ⋅ ∥ e n t , 1 \|\cdot\|_{\mathrm{ent},1} ∥ ⋅ ∥ ent , 1 .
It is well known that given access to such M ~ \widetilde{M} M , it is possible to find a good approximation to v v v , and this can be done computationally efficiently [43 , 71 ] ; see also the robust PCA literature [22 , 26 ] . This can be done by solving a semidefinite programming (SDP) relaxation of the optimization problem
max ⟨ M ~ , x x ⊤ ⟩ s.t. ∥ x ∥ 2 = 1 , ∥ x ∥ ∞ ≤ C / m . \max\langle\widetilde{M},xx^{\top}\rangle\quad\text{s.t. } \|x\|_2=1,\ \|x\|_{\infty}\le C/\sqrt{m}. max ⟨ M , x x ⊤ ⟩ s.t. ∥ x ∥ 2 = 1 , ∥ x ∥ ∞ ≤ C / m .
The SDP is closely related to the cut-norm/Grothendieck SDP. The important feature of the analysis is that for any feasible solution, ⟨ M − M ~ , x x ⊤ ⟩ ≤ ∥ x ∥ ∞ 2 ∥ M − M ~ ∥ e n t , 1 \langle M-\widetilde{M},xx^{\top}\rangle\le\|x\|_{\infty}^{2}\|M-\widetilde{M}\|_{\mathrm{ent},1} ⟨ M − M , x x ⊤ ⟩ ≤ ∥ x ∥ ∞ 2 ∥ M − M ∥ ent , 1 by Hölder’s inequality, and this is preserved by the SDP relaxation. The analysis relies on the spectral gap of M M M and the delocalization of the top eigenvector. Similar approaches were used in the context of the SBM in e.g. [43 ] .
From the toy model back to the nonbacktracking matrix Our toy model fails to reflect the actual behavior of the nonbacktracking matrix B G B_G B G in a few key ways, which our algorithm is designed to work around. First, B G B_G B G is not symmetric – we could still try to use the above approach, but it would need a gap in the singular value spectrum, which does not happen for B G B_G B G . Second, we are interested in the second eigenvector of B G B_G B G , not the top one – we will have to do something about the top eigenvalue so we can access the second one. Third, the eigenvector we want to recover doesn’t actually have ℓ ∞ \ell_{\infty} ℓ ∞ norm O ( 1 / dim ( B G ) ) O(1/\sqrt{\dim(B_G)}) O ( 1/ dim ( B G ) ) . We can see why by recalling the local characterization of the second eigenvector (Lemma 2.4 ), a few unusually dense neighborhoods in the graph will contain a lot of nonbacktracking walks, driving up the magnitude of a few entries. We address each of these issues in turn.
Passing to a symmetric matrix – the corrected Bethe Hessian There is by now an established trick to obtain a symmetric matrix with a spectral gap whose eigenvectors can be transformed into good approximations to the eigenvectors of B G B_G B G . This matrix is called the Bethe Hessian [74 ] . It is actually a family of matrices, indexed by a real-valued parameter t t t
H ( t ) = I − t A + t 2 ( D − I ) , H(t)=I-tA+t^{2}(D-I), H ( t ) = I − t A + t 2 ( D − I ) ,
where A A A is the adjacency matrix and D D D is the diagonal matrix of degrees. This careful balancing of degree and adjacency matrices, for the right choices of t t t , regularizes the spectrum of A A A to get rid of noisy localized eigenvectors, so that the community structure of G G G can emerge.
More concretely, a technique pioneered by [MRW24] shows that by choosing t t t appropriately, when the underlying graph is G ∼ S B M ( n , d , λ ) G\sim\mathrm{SBM}(n,d,\lambda) G ∼ SBM ( n , d , λ ) , the matrix H ( t ) H(t) H ( t ) has at most two negative eigenvalues, and the associated eigenvectors correspond roughly to the top and second eigenvectors of the nonbacktracking matrix. Furthermore, H ( t ) H(t) H ( t ) has spectral gaps and it cannot change much in entrywise ℓ 1 \ell_1 ℓ 1 norm when the adversary edits η n \eta n η n edges, meaning we can hope to robustly recover those eigenvectors. (Here “correspond” means that if we get access to the H ( t ) H(t) H ( t ) eigenvectors we can in linear time construct good estimates of the corresponding eigenvectors of the nonbacktracking matrix, see Lemma 5.3.)
Because we want to estimate the second eigenvector of B G B_G B G to very high accuracy, we need the correspondence between H ( t ) H(t) H ( t ) ’s eigenvectors and B G B_G B G ’s to be quantitatively stronger than in prior work [MRW24]. To achieve this, we make two technical refinements on top of the ideas from [MRW24]. First, our algorithm computes a careful explicit rank-one correction to H ( t ) H(t) H ( t ) to excise an uninformative eigenvector (the analog of the Perron-Frobenius eigenvector). Second, to even better align the eigenvectors of H ( t ) H(t) H ( t ) with those of B G B_G B G we actually work with A ( ℓ ) H ( t ) A ( ℓ ) A^{(\ell)}H(t)A^{(\ell)} A ( ℓ ) H ( t ) A ( ℓ ) , where A ( ℓ ) A^{(\ell)} A ( ℓ ) counts nonbacktracking walks of large constant length. Importantly, these changes preserve the robustness to edge corruptions in the graph, if we first preprocess the graph by removing very high degree vertices, another standard trick [40 ] . The details are in Definition 5.5 and Lemmas 5.6 and 5.8.
Tolerating approximate delocalization We turn to the last technical issue making our toy model differ from reality – large entries of the second eigenvector. (The solution would apply to B G B_G B G or H ( t ) H(t) H ( t ) or our modified version thereof so we don’t distinguish carefully among them now.) It turns out that the eigenvector we want to find still has a good enough delocalization property – its 4-norm is small. Concretely, if we normalize so ∥ v ∥ 2 = 1 \lVert v\rVert_2 = 1 ∥ v ∥ 2 = 1 , we are able to show that ∥ v ∥ 4 4 ≤ O ( 1 / n ) \lVert v\rVert_4^4 \leq O(1/n) ∥ v ∥ 4 4 ≤ O ( 1/ n ) , with high probability over G G G . We adapt the standard robust PCA-style arguments to show that this ℓ 4 \ell_4 ℓ 4 -style delocalization is still enough to approximately recover v v v using an SDP relaxation of
max ⟨ − A ( ℓ ) ( H ( t ) − (rank-one correction) ) A ( ℓ ) , x x ⊤ ⟩ s.t. ∥ x ∥ 2 = 1 , ∥ x ∥ 4 4 ≤ O ( 1 / n ) , \max\langle-A^{(\ell)}(H(t) - \text{(rank-one correction)})A^{(\ell)},xx^\top\rangle\text{ s.t. } \lVert x\rVert_2 = 1,\ \lVert x\rVert_4^4 \leq O(1/n), max ⟨ − A ( ℓ ) ( H ( t ) − (rank-one correction) ) A ( ℓ ) , x x ⊤ ⟩ s.t. ∥ x ∥ 2 = 1 , ∥ x ∥ 4 4 ≤ O ( 1/ n ) ,
even in the presence of adversarial edge corruptions. The argument uses that A ( ℓ ) ( H ( t ) − rank-one correction ) A ( ℓ ) A^{(\ell)}(H(t) - \text{rank-one correction})A^{(\ell)} A ( ℓ ) ( H ( t ) − rank-one correction ) A ( ℓ ) is stable under edge corruptions in a slightly stronger norm than entrywise ℓ 1 \ell_1 ℓ 1 . Finally, we also show that we can solve this SDP in nearly-linear time via matrix multiplicative weights [6 ] .
The details are in Lemmas 5.8 and 5.9.
Preliminaries
Stochastic block model and community detection
Fix d > 0 d > 0 d > 0 and λ ∈ ( − 1 , 1 ) \lambda\in(-1,1) λ ∈ ( − 1 , 1 ) . For all sufficiently large n n n , in the symmetric two-community stochastic block model SBM ( n , d , λ ) \operatorname{SBM}(n,d,\lambda) SBM ( n , d , λ ) , the hidden labels σ ⋆ ∈ { ± 1 } n \boldsymbol{\sigma}^{\star} \in\{\pm1\}^n σ ⋆ ∈ { ± 1 } n are independent and uniform. Conditional on the labels, each unordered pair of distinct vertices is joined independently with probability
d n ( 1 + λ σ u ⋆ σ v ⋆ ) . \frac{d}{n}(1+\lambda\sigma_u^{\star}\sigma_v^{\star}). n d ( 1 + λ σ u ⋆ σ v ⋆ ) .
We work above the Kesten–Stigum threshold, namely d λ 2 > 1 d\lambda^2 > 1 d λ 2 > 1 . The problem of estimating σ ⋆ \sigma^\star σ ⋆ from the graph G G G is called community detection . The performance of an estimator σ ^ ∈ { ± 1 } n \widehat{\sigma} \in\{\pm1\}^n σ ∈ { ± 1 } n for community detection is measured by
ov ( σ ^ , σ ⋆ ) = 1 n ∣ ⟨ σ ^ , σ ⋆ ⟩ ∣ . \operatorname{ov}(\widehat{\sigma},\sigma^\star) = \frac{1}{n}\left|\langle\widehat{\sigma},\sigma^\star\rangle\right|. ov ( σ , σ ⋆ ) = n 1 ∣ ⟨ σ , σ ⋆ ⟩ ∣ .
Let OPT d , λ \operatorname{OPT}_{d,\lambda} OPT d , λ denote the information-theoretically optimal asymptotic overlap. § 3.3 recalls its equivalent characterization by reconstruction on a Poisson broadcast tree.
As a convention, random objects are written in boldface and their realizations are plaintext.
Nonbacktracking matrix
For a graph G G G , let ∂ v \partial v ∂ v denote the set of neighbors of a vertex v v v , let E ⃗ ( G ) \vec{E}(G) E ( G ) be its set of directed edges, containing both orientations u → v u \to v u → v and v → u v \to u v → u of every edge { u , v } \{u,v\} { u , v } . The nonbacktracking matrix [44 ] B G ∈ { 0 , 1 } E ⃗ ( G ) × E ⃗ ( G ) B_G \in\{0,1\}^{\vec{E}(G)\times\vec{E}(G)} B G ∈ { 0 , 1 } E ( G ) × E ( G ) has entries
( B G ) u → v , x → w = 1 [ x = v ] 1 [ w ≠ u ] , (B_G)_{u\to v,x\to w} = \mathbf{1}[x=v]\mathbf{1}[w\ne u], ( B G ) u → v , x → w = 1 [ x = v ] 1 [ w = u ] ,
so a directed edge u → v u \to v u → v may be followed by any edge leaving v v v other than its reversal v → u v \to u v → u . Equivalently, for z ∈ R E ⃗ ( G ) z \in\mathbb{R}^{\vec{E}(G)} z ∈ R E ( G ) ,
( B G z ) u → v = ∑ w ∈ ∂ v ∖ { u } z v → w . (B_Gz)_{u\to v} = \sum_{w\in\partial v\setminus\{u\}} z_{v\to w}. ( B G z ) u → v = w ∈ ∂ v ∖ { u } ∑ z v → w .
Broadcast trees, belief propagation, and optimal recovery
The optimal overlap OPT d , λ \operatorname{OPT}_{d,\lambda} OPT d , λ achieved by any community-detection algorithm is characterized by reconstruction on a Poisson broadcast tree [65 Theorem 2.8] , [YP24, Theorem 38].
Definition 3.1 (Broadcast process on Galton–Watson tree). Fix d > 0 d > 0 d > 0 and λ ∈ ( − 1 , 1 ) \lambda\in(-1,1) λ ∈ ( − 1 , 1 ) . Let T d T_d T d be the rooted Galton–Watson tree [7 ] in which every vertex has an independent Poi ( d ) \operatorname{Poi}(d) Poi ( d ) number of children. Give its root o o o a uniformly random spin x o ∈ { ± 1 } x_o \in\{\pm1\} x o ∈ { ± 1 } , and let each child independently copy its parent’s spin with probability ( 1 + λ ) / 2 (1+\lambda)/2 ( 1 + λ ) /2 . Write ( T d , λ , x ) (T_{d,\lambda},x) ( T d , λ , x ) for the resulting tree together with the vector x x x of spins.
Let x t x_t x t consist of the spins at the depth-t t t vertices. The depth-t t t root posterior mean conditioned on the tree itself and the depth-t t t spins is
M t = E [ x o ∣ ( T , x t ) ] . M_t = \mathbb{E}[x_o \mid(T,x_t)]. M t = E [ x o ∣ ( T , x t )] . The problem of computing x o x_o x o given the tree T T T and leaf spins x t x_t x t is called broadcast tree reconstruction . The canonical algorithm for broadcast tree reconstruction is belief propagation .
Definition 3.2 (Belief propagation). The belief propagation (BP) algorithm on a depth-t t t tree with + 1 / − 1 +1/-1 + 1/ − 1 labels x u x_u x u on its leaves u u u is defined as follows. Initialize every directed child-to-parent edge u → v u \to v u → v at depth t t t with a message m u → v = x u m_{u\to v}=x_u m u → v = x u . Moving upward, after u u u receives the messages from its children, it sends its parent v v v
m u → v = BP ( { m w → u : w ∈ ch ( u ) } ) : = ∏ w ∈ ch ( u ) ( 1 + λ m w → u ) − ∏ w ∈ ch ( u ) ( 1 − λ m w → u ) ∏ w ∈ ch ( u ) ( 1 + λ m w → u ) + ∏ w ∈ ch ( u ) ( 1 − λ m w → u ) , (1) m_{u\to v} = \operatorname{BP}(\{m_{w\to u}:w\in\operatorname{ch}(u)\}) := \frac{\prod_{w\in\operatorname{ch}(u)}(1+\lambda m_{w\to u})-\prod_{w\in\operatorname{ch}(u)}(1-\lambda m_{w\to u})}{\prod_{w\in\operatorname{ch}(u)}(1+\lambda m_{w\to u})+\prod_{w\in\operatorname{ch}(u)}(1-\lambda m_{w\to u})}, \tag*{(1)} m u → v = BP ({ m w → u : w ∈ ch ( u )}) := ∏ w ∈ ch ( u ) ( 1 + λ m w → u ) + ∏ w ∈ ch ( u ) ( 1 − λ m w → u ) ∏ w ∈ ch ( u ) ( 1 + λ m w → u ) − ∏ w ∈ ch ( u ) ( 1 − λ m w → u ) , (1) where ch ( u ) \operatorname{ch}(u) ch ( u ) is the set of children of u u u . Apply the same rule at the root to obtain m o m_o m o . The denominator is positive because ∣ λ ∣ < 1 |\lambda| < 1 ∣ λ ∣ < 1 and every message lies in [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] .
The following fact is standard.
Fact 3.3 (Exactness of tree BP). For every initialization x t x_t x t on the vertices at depth t t t , m o m_o m o is the exact posterior mean of the root. Equivalently, m o = M t m_o=M_t m o = M t .
Robust tree reconstruction and Bayes-optimal algorithms. As pioneered by Mossel, Neeman, and Sly [65 ] , the algorithmic question of optimal recovery in block models is closely related to the problem of broadcast tree reconstruction after additional independent noise is applied to the leaves. To be consistent with the literature, we call this the robust tree reconstruction problem [54 ] . However, importantly, this problem does not involve adversarial corruption of the observations in any way, making it quite distinct from the robust block model problem studied in this paper. But, we will still make extensive use of this random-leaf-noise version of broadcast tree reconstruction.
Definition 3.4 (Robust tree reconstruction). Run the broadcast process through generation t t t . Independently at every boundary vertex v v v , retain x v x_v x v with probability γ ∈ ( 0 , 1 ] \gamma\in(0,1] γ ∈ ( 0 , 1 ] and otherwise replace it by an independent uniform spin; denote the resulting noisy spin by τ v \tau_v τ v , and let τ t \tau_t τ t consist of all these noisy spins at the depth-t t t vertices. The root posterior mean conditioned on the noisy spins is
M t ( γ ) = E [ x o ∣ ( T , τ t ) ] . M_t^{(\gamma)} = \mathbb{E}[x_o \mid(T,\tau_t)]. M t ( γ ) = E [ x o ∣ ( T , τ t )] . Robust reconstruction asks how well the root can be recovered as t → ∞ t \to\infty t → ∞ .
Given the tree, x t + 1 x_{t+1} x t + 1 is obtained from x t x_t x t by one more step of broadcasting, so E ∣ M t + 1 ∣ ≤ E ∣ M t ∣ \mathbb{E}|M_{t+1}| \le\mathbb{E}|M_t| E ∣ M t + 1 ∣ ≤ E ∣ M t ∣ . Define
OPT d , λ = lim t → ∞ E ∣ M t ∣ . \operatorname{OPT}_{d,\lambda} = \lim_{t \to\infty} \mathbb{E}|M_t|. OPT d , λ = t → ∞ lim E ∣ M t ∣.
We justify momentarily the collision of notation between the tree reconstruction problem and the previously-defined optimal overlap for the stochastic block model.
Following Mossel, Neeman, and Sly [65 ] , who proved this when d λ 2 d\lambda^2 d λ 2 is sufficiently large, Yu and Polyanskiy showed that the noise in robust reconstruction does not change this limit.3
Fact 3.6 (Robust reconstruction [YP24, Theorem 34 and Proposition 48(7)]). For every d > 0 d > 0 d > 0 , λ ∈ ( − 1 , 1 ) \lambda\in(-1,1) λ ∈ ( − 1 , 1 ) , and γ ∈ ( 0 , 1 ] \gamma\in(0,1] γ ∈ ( 0 , 1 ] ,
lim t → ∞ E ∣ M t ( γ ) ∣ = OPT d , λ . (2) \lim_{t \to\infty} \mathbb{E}|M_t^{(\gamma)}| = \operatorname{OPT}_{d,\lambda}. \tag*{(2)} t → ∞ lim E ∣ M t ( γ ) ∣ = OPT d , λ . (2) Further, for any t ≥ 0 t \ge0 t ≥ 0 and 0 ≤ γ ′ ≤ γ ≤ 1 0 \le\gamma' \le\gamma\le1 0 ≤ γ ′ ≤ γ ≤ 1 , we have E ∣ M t ( γ ) ∣ ≥ E ∣ M t ( γ ′ ) ∣ \mathbb{E}|M_t^{(\gamma)}| \ge\mathbb{E}|M_t^{(\gamma')}| E ∣ M t ( γ ) ∣ ≥ E ∣ M t ( γ ′ ) ∣ .
The following theorem relates the (robust) broadcast tree reconstruction problem to the problem of recovering the community labels in the stochastic block model.
Theorem 3.7 (Tree characterization of optimal recovery [65 YP24] ). For ( G , σ ⋆ ) (G,\sigma^\star) ( G , σ ⋆ ) distributed according to the stochastic block model with parameters d , λ d,\lambda d , λ , and every estimator σ ^ ( G ) \hat{\sigma}(G) σ ^ ( G ) , and every ε > 0 \varepsilon>0 ε > 0 ,
Pr ( ov ( σ ^ , σ ⋆ ) > OPT d , λ + ε ) ⟶ 0. \Pr\left(\operatorname{ov}(\hat{\sigma},\sigma^\star)>\operatorname{OPT}_{d,\lambda}+\varepsilon\right)\longrightarrow0. Pr ( ov ( σ ^ , σ ⋆ ) > OPT d , λ + ε ) ⟶ 0. Conversely, for every ε > 0 \varepsilon>0 ε > 0 there is an estimator, computable in time n 1 + o ( 1 ) n^{1+o(1)} n 1 + o ( 1 ) , whose overlap is at least OPT d , λ − ε \operatorname{OPT}_{d,\lambda}-\varepsilon OPT d , λ − ε with high probability.
The fact that no estimator in the block model setting performs better than tree reconstruction is Mossel, Neeman, and Sly [65 Theorem 2.8] . Yu and Polyanskiy showed there is an estimator for the communities in the block model which obtains overlap OPT d , λ \operatorname{OPT}_{d,\lambda} OPT d , λ , for every choice of d , λ d,\lambda d , λ , by improving the analysis of the algorithm of Mossel, Neeman, and Sly [YP24, Theorem 38].
Initialization of belief propagation at the second eigenvector of the nonbacktracking matrix
In this section we show that belief propagation, initialized from the second eigenvector of the nonbacktracking matrix, gives an optimal recovery algorithm in the stochastic block model. We also show that this is robust in two senses:
It suffices to initialize BP at any vector close to this eigenvector, and
Running BP on a corrupted graph (with a small constant fraction of adversarial edge corruptions) also produces a near-optimal solution, with a loss that depends on the fraction of corrupted edges.
We will need to compare vectors indexed by the directed edges of different graphs on [ n ] [n] [ n ] . To make this meaningful, we view R E ⃗ ( G ) \mathbb{R}^{\vec{E}(G)} R E ( G ) , for every graph G G G on [ n ] [n] [ n ] , as the subspace of R n 2 − n \mathbb{R}^{n^2-n} R n 2 − n consisting of the vectors indexed by ordered pairs of distinct vertices that vanish off E ⃗ ( G ) \vec{E}(G) E ( G ) . Inner products and distances between vectors on the directed edges of different graphs are taken in R n 2 − n \mathbb{R}^{n^2-n} R n 2 − n , extending vectors in R E ⃗ ( G ) \mathbb{R}^{\vec{E}(G)} R E ( G ) by padding with zeros as necessary.
Definition 4.1 (BP from an initialization). Given a graph G G G , an initialization Y ∈ R E ⃗ ( G ) Y\in\mathbb{R}^{\vec{E}(G)} Y ∈ R E ( G ) , an integer t ≥ 1 t\ge1 t ≥ 1 , and γ ∈ ( 0 , 1 ) \gamma\in(0,1) γ ∈ ( 0 , 1 ) , the procedure B P t , γ ( G , Y ) \mathrm{BP}_{t,\gamma}(G,Y) BP t , γ ( G , Y ) does the following.
Independently for each directed edge e e e , draw τ e ∈ { ± 1 } \tau_e\in\{\pm1\} τ e ∈ { ± 1 } with E τ e = tanh Y e \mathbb{E}\tau_e=\tanh Y_e E τ e = tanh Y e .
Set m u → v ( 0 ) = γ τ v → u m^{(0)}_{u\to v}=\gamma\tau_{v\to u} m u → v ( 0 ) = γ τ v → u and, for s = 1 , … , t s=1,\ldots,t s = 1 , … , t , m u → v ( s ) = B P ( { m w → u ( s − 1 ) : w ∈ ∂ u ∖ { v } } ) m^{(s)}_{u\to v}=\mathrm{BP}(\{m^{(s-1)}_{w\to u}:w\in\partial u\setminus\{v\}\}) m u → v ( s ) = BP ({ m w → u ( s − 1 ) : w ∈ ∂ u ∖ { v }}) .
Output σ ^ v = sign ( B P ( { m w → v ( t ) : w ∈ ∂ v } ) ) \hat{\sigma}_v=\operatorname{sign}(\mathrm{BP}(\{m^{(t)}_{w\to v}:w\in\partial v\})) σ ^ v = sign ( BP ({ m w → v ( t ) : w ∈ ∂ v })) .
The first, randomized step is a technical convenience that makes it easier to apply the results of [YP24]; we expect that with a more delicate analysis a deterministic initialization procedure mapping Y e Y_e Y e to initial messages would also work.
Our main theorem for this section is:
Theorem 4.2 (BP from the second eigenvector is optimal, robustly). Let d λ 2 > 1 d\lambda^2 > 1 d λ 2 > 1 and ( G , σ ⋆ ) ∼ SBM ( n , d , λ ) (G,\sigma^\star) \sim\operatorname{SBM}(n,d,\lambda) ( G , σ ⋆ ) ∼ SBM ( n , d , λ ) , and let ξ \xi ξ be a unit eigenvector for the eigenvalue of B G B_G B G of second-largest modulus. For every ε > 0 \varepsilon> 0 ε > 0 there are t ≥ 1 t \ge1 t ≥ 1 , γ ∈ ( 0 , 1 ) \gamma\in(0,1) γ ∈ ( 0 , 1 ) , β > 0 \beta> 0 β > 0 , and η > 0 \eta> 0 η > 0 such that the following holds with high probability. For every graph G ′ G' G ′ on [ n ] [n] [ n ] with ∣ E ( G ) △ E ( G ′ ) ∣ ≤ η n |E(G) \mathbin{\triangle} E(G')| \le\eta n ∣ E ( G ) △ E ( G ′ ) ∣ ≤ η n and every unit y ∈ R E → ( G ′ ) y \in\mathbb{R}^{\overrightarrow{E}(G')} y ∈ R E ( G ′ ) such that ⟨ y , ξ ⟩ 2 ≥ 1 − η \langle y,\xi\rangle^2 \ge1-\eta ⟨ y , ξ ⟩ 2 ≥ 1 − η , the output σ ^ \hat{\sigma} σ ^ of BP t , γ ( G ′ , β ∣ E → ( G ′ ) ∣ y ) \operatorname{BP}_{t,\gamma}(G',\beta\sqrt{|\overrightarrow{E}(G')|}\,y) BP t , γ ( G ′ , β ∣ E ( G ′ ) ∣ y ) satisfies
E ov ( σ ^ , σ ⋆ ) ≥ OPT d , λ − ε , \mathbb{E}\operatorname{ov}(\hat{\sigma},\sigma^\star) \ge\operatorname{OPT}_{d,\lambda}-\varepsilon, E ov ( σ ^ , σ ⋆ ) ≥ OPT d , λ − ε , where the expectation is over the random rounding in BP t , γ \operatorname{BP}_{t,\gamma} BP t , γ , and the procedure uses O d , λ , ε ( n ) O_{d,\lambda,\varepsilon}(n) O d , λ , ε ( n ) arithmetic operations.
We state the main lemmas from which Theorem 4.2 follows and then put them together to prove Theorem 4.2 .
The most important lemma establishes a local characterization of the second eigenvector of the nonbacktracking matrix – it shows that the ( u , v ) (u,v) ( u , v ) entry of the second eigenvector is essentially a function of the ground-truth labels σ ⋆ \sigma^\star σ ⋆ in a constant-radius neighborhood of the edge ( u , v ) (u,v) ( u , v ) .
Setting up some notation, for a blockmodel graph G \boldsymbol{G} G with ground-truth labeling σ ⋆ \sigma^\star σ ⋆ and for ℓ ≥ 0 \ell\ge0 ℓ ≥ 0 , the walk score W ( ℓ ) ∈ R E → ( G ) W^{(\ell)} \in\mathbb{R}^{\overrightarrow{E}(G)} W ( ℓ ) ∈ R E ( G ) is
W u → v ( ℓ ) = ( d λ ) − ℓ ∑ ( u 0 , … , u ℓ + 1 ) σ u ℓ + 1 ⋆ , W^{(\ell)}_{u\to v} = (d\lambda)^{-\ell}\sum_{(u_0,\ldots,u_{\ell+1})} \sigma^\star_{u_{\ell+1}}, W u → v ( ℓ ) = ( d λ ) − ℓ ( u 0 , … , u ℓ + 1 ) ∑ σ u ℓ + 1 ⋆ ,
where the sum is over nonbacktracking walks in G G G with u 0 = u u_0=u u 0 = u , u 1 = v u_1=v u 1 = v , and u i + 1 ≠ u i − 1 u_{i+1}\ne u_{i-1} u i + 1 = u i − 1 for 1 ≤ i ≤ ℓ 1\le i\le\ell 1 ≤ i ≤ ℓ . The normalization by ( d λ ) − ℓ (d\lambda)^{-\ell} ( d λ ) − ℓ is chosen so that when translated to the broadcast tree, W ( ℓ ) W^{(\ell)} W ( ℓ ) is an unbiased estimator of σ v ⋆ \sigma^\star_v σ v ⋆ .
Lemma 4.3 (The eigenvector is close to a walk score). Let d λ 2 > 1 d\lambda^2 > 1 d λ 2 > 1 , let ( G , σ ⋆ ) ∼ SBM ( n , d , λ ) (G,\sigma^\star) \sim\operatorname{SBM}(n,d,\lambda) ( G , σ ⋆ ) ∼ SBM ( n , d , λ ) , and let ξ \xi ξ be as in Theorem 4.2 . For every fixed ℓ ≥ 0 \ell\ge0 ℓ ≥ 0 , ⟨ ξ , W ( ℓ ) ⟩ 2 / ∥ W ( ℓ ) ∥ 2 → 1 − O ( ( d λ 2 ) − ℓ ) \langle\xi,W^{(\ell)}\rangle^2/\|W^{(\ell)}\|^2 \to1-O((d\lambda^2)^{-\ell}) ⟨ ξ , W ( ℓ ) ⟩ 2 /∥ W ( ℓ ) ∥ 2 → 1 − O (( d λ 2 ) − ℓ ) in probability.
We prove the above in § 4.1 .
The next lemma shows that these walk scores provide a good initialization for BP on the SBM graph. Some notation is needed:
For a graph G G G , a vector y ∈ R E → ( G ) y\in\mathbb{R}^{\overrightarrow{E}(G)} y ∈ R E ( G ) , t ≥ 1 t\ge1 t ≥ 1 , and γ ∈ ( 0 , 1 ) \gamma\in(0,1) γ ∈ ( 0 , 1 ) , and a vector σ ⋆ ∈ { ± 1 } n \sigma^\star\in\{\pm1\}^n σ ⋆ ∈ { ± 1 } n which will be clear from context, let Ov t , γ ( G , y ) \operatorname{Ov}_{t,\gamma}(G,y) Ov t , γ ( G , y ) be the expected overlap E ov ( σ ^ , σ ⋆ ) \mathbb{E}\operatorname{ov}(\hat{\sigma},\sigma^\star) E ov ( σ ^ , σ ⋆ ) of the output σ ^ \hat{\sigma} σ ^ of BP t , γ ( G , β ∣ E → ( G ) ∣ y ) \operatorname{BP}_{t,\gamma}(G,\beta\sqrt{|\overrightarrow{E}(G)|}\,y) BP t , γ ( G , β ∣ E ( G ) ∣ y ) , where the expectation is over the randomized rounding.
let β = 1 2 1 − 1 d λ 2 \beta=\frac{1}{2}\sqrt{1-\frac{1}{d\lambda^2}} β = 2 1 1 − d λ 2 1 , and
returning to the broadcast tree Definition 3.1 , let W ℓ = ( d λ ) − ℓ ∑ u x u W_\ell=(d\lambda)^{-\ell}\sum_u x_u W ℓ = ( d λ ) − ℓ ∑ u x u be the sum over the spins of the depth-ℓ \ell ℓ vertices of the broadcast tree, and let γ ℓ = E [ x o tanh ( β W ℓ ( E W ℓ 2 ) 1 / 2 ) ] \gamma_\ell=\mathbb{E}\left[x_o\tanh\left(\frac{\beta W_\ell}{(\mathbb{E}W_\ell^2)^{1/2}}\right)\right] γ ℓ = E [ x o tanh ( ( E W ℓ 2 ) 1/2 β W ℓ ) ] . Equivalently, if τ ∈ { ± 1 } \tau\in\{\pm1\} τ ∈ { ± 1 } is drawn with E [ τ ∣ W ℓ ] = tanh ( β W ℓ ( E W ℓ 2 ) 1 / 2 ) \mathbb{E}[\tau\mid W_\ell]=\tanh\left(\frac{\beta W_\ell}{(\mathbb{E}W_\ell^2)^{1/2}}\right) E [ τ ∣ W ℓ ] = tanh ( ( E W ℓ 2 ) 1/2 β W ℓ ) , which is how BP t , γ \operatorname{BP}_{t,\gamma} BP t , γ rounds a score, then γ ℓ = E [ x o τ ] \gamma_\ell=\mathbb{E}[x_o\tau] γ ℓ = E [ x o τ ] is the correlation of the root spin with the rounded, normalized depth-ℓ \ell ℓ walk score.
Lemma 4.4 (BP initialized from constant-depth walk score is near-optimal). Let d λ 2 > 1 d\lambda^2 > 1 d λ 2 > 1 and ( G , σ ⋆ ) ∼ SBM ( n , d , λ ) (G,\sigma^\star) \sim\operatorname{SBM}(n,d,\lambda) ( G , σ ⋆ ) ∼ SBM ( n , d , λ ) . For every ε > 0 \varepsilon> 0 ε > 0 there is t = t ( d , λ , ε ) ≥ 1 t = t(d,\lambda,\varepsilon) \ge1 t = t ( d , λ , ε ) ≥ 1 such that for every ℓ ≥ 0 \ell\ge0 ℓ ≥ 0 , with high probability, Ov t , γ ( G , W ( ℓ ) / ∥ W ( ℓ ) ∥ ) ≥ OPT d , λ − ε \operatorname{Ov}_{t,\gamma}(G,W^{(\ell)}/\lVert W^{(\ell)}\rVert) \ge\operatorname{OPT}_{d,\lambda} - \varepsilon Ov t , γ ( G , W ( ℓ ) / ∥ W ( ℓ ) ∥) ≥ OPT d , λ − ε and the same holds for − W ( ℓ ) / ∥ W ( ℓ ) ∥ -W^{(\ell)}/\lVert W^{(\ell)}\rVert − W ( ℓ ) / ∥ W ( ℓ ) ∥ .
We prove the above in § 4.2 . Because ℓ \ell ℓ is constant, we can prove Lemma 4.4 by comparing each tree-like neighborhood of G G G to a broadcast tree.
The next two lemmas, proved in § 4.3 , establish the robustness aspects of Theorem 4.2 . Both can be established by simple direct analysis of the BP operation.
Lemma 4.5 (BP is stable under changes to the initialization). Let d λ 2 > 1 d\lambda^2 > 1 d λ 2 > 1 and ( G , σ ⋆ ) ∼ SBM ( n , d , λ ) (G,\sigma^\star) \sim\operatorname{SBM}(n,d,\lambda) ( G , σ ⋆ ) ∼ SBM ( n , d , λ ) . For every t ≥ 1 t \ge1 t ≥ 1 there is C = C ( d , λ , t ) > 0 C = C(d,\lambda,t) > 0 C = C ( d , λ , t ) > 0 such that with high probability, for all γ ∈ ( 0 , 1 ) \gamma\in(0,1) γ ∈ ( 0 , 1 ) and all y , y ′ ∈ R E ⃗ ( G ) y,y' \in\mathbb{R}^{\vec{E}(G)} y , y ′ ∈ R E ( G ) ,
∣ Ov t , γ ( G , y ) − Ov t , γ ( G , y ′ ) ∣ ≤ C ∥ y − y ′ ∥ . \left|\operatorname{Ov}_{t,\gamma}(G,y)-\operatorname{Ov}_{t,\gamma}(G,y')\right| \le C\lVert y-y'\rVert. ∣ Ov t , γ ( G , y ) − Ov t , γ ( G , y ′ ) ∣ ≤ C ∥ y − y ′ ∥ .
Lemma 4.6 (BP is stable under edge edits). Let d λ 2 > 1 d\lambda^2 > 1 d λ 2 > 1 and ( G , σ ⋆ ) ∼ SBM ( n , d , λ ) (G,\sigma^\star) \sim\operatorname{SBM}(n,d,\lambda) ( G , σ ⋆ ) ∼ SBM ( n , d , λ ) . For every t ≥ 1 t \ge1 t ≥ 1 there is C = C ( d , λ , t ) > 0 C = C(d,\lambda,t) > 0 C = C ( d , λ , t ) > 0 such that with high probability the following holds for all η , γ ∈ ( 0 , 1 ) \eta,\gamma\in(0,1) η , γ ∈ ( 0 , 1 ) . Let G ′ G' G ′ be a graph on [ n ] [n] [ n ] with ∣ E ( G ) △ E ( G ′ ) ∣ ≤ η n \lvert E(G)\mathbin{\triangle}E(G')\rvert\le\eta n ∣ E ( G ) △ E ( G ′ )∣ ≤ η n , let y ∈ R E ⃗ ( G ′ ) y \in\mathbb{R}^{\vec{E}(G')} y ∈ R E ( G ′ ) have ∥ y ∥ ≤ 1 \lVert y\rVert\le1 ∥ y ∥ ≤ 1 , and let y ∣ E ⃗ ( G ) y|_{\vec{E}(G)} y ∣ E ( G ) be the restriction of y y y to E ⃗ ( G ) \vec{E}(G) E ( G ) , that is, the vector in R E ⃗ ( G ) \mathbb{R}^{\vec{E}(G)} R E ( G ) that agrees with y y y on the directed edges of both graphs and vanishes elsewhere. Then
∣ Ov t , γ ( G ′ , y ) − Ov t , γ ( G , y ∣ E ⃗ ( G ) ) ∣ ≤ C η . \left|\operatorname{Ov}_{t,\gamma}(G',y)-\operatorname{Ov}_{t,\gamma}(G,y|_{\vec{E}(G)})\right| \le C\sqrt{\eta}. Ov t , γ ( G ′ , y ) − Ov t , γ ( G , y ∣ E ( G ) ) ≤ C η .
The proofs of Lemmas 4.5 and 4.6 use only that with high probability G G G has O d ( n ) O_d(n) O d ( n ) edges and its radius-( t + 1 ) (t+1) ( t + 1 ) neighborhoods are not too large on average.
We are ready to prove Theorem 4.2 .
Proof of Theorem 4.2 . We need to show how to choose t t t , γ \gamma γ and η > 0 \eta> 0 η > 0 such that there is a high-probability event under ( G , σ ⋆ ) ∼ SBM ( n , d , λ ) (G,\sigma^\star) \sim\operatorname{SBM}(n,d,\lambda) ( G , σ ⋆ ) ∼ SBM ( n , d , λ ) for which Ov t , γ ( G ′ , y ) ≥ OPT d , λ − ε \operatorname{Ov}_{t,\gamma}(G',y) \ge\operatorname{OPT}_{d,\lambda} - \varepsilon Ov t , γ ( G ′ , y ) ≥ OPT d , λ − ε , for every G ′ , y G',y G ′ , y allowed by the theorem statement.
First, for any t , γ t,\gamma t , γ we eventually choose, by Lemma 4.6 there is a high probability event such that for every G ′ , y G',y G ′ , y allowed by the theorem, we have
Ov t , γ ( G ′ , y ) ≥ Ov t , γ ( G , y ∣ E ⃗ ( G ) ) − O d , λ , t ( η ) . \operatorname{Ov}_{t,\gamma}(G',y) \ge\operatorname{Ov}_{t,\gamma}(G,y|_{\vec{E}(G)}) - O_{d,\lambda,t}(\sqrt{\eta}). Ov t , γ ( G ′ , y ) ≥ Ov t , γ ( G , y ∣ E ( G ) ) − O d , λ , t ( η ) .
where y ∣ E ⃗ ( G ) y|_{\vec{E}(G)} y ∣ E ( G ) is the restriction of y y y to E ⃗ ( G ) \vec{E}(G) E ( G ) , as in Lemma 4.6.
Next, for any ℓ \ell ℓ we eventually choose, write W ^ = W ( ℓ ) / ∥ W ( ℓ ) ∥ \widehat{W} = W^{(\ell)}/\lVert W^{(\ell)}\rVert W = W ( ℓ ) / ∥ W ( ℓ ) ∥ , where W ( ℓ ) W^{(\ell)} W ( ℓ ) is the walk score vector of the SBM graph G G G . By Lemma 4.5, applied to the pairs of vectors y ∣ E ⃗ ( G ) y|_{\vec{E}(G)} y ∣ E ( G ) and ± W ^ \pm\widehat{W} ± W , there is a high-probability event on which, for every G ′ , y G',y G ′ , y allowed by the theorem,
Ov t , γ ( G , y ∣ E ⃗ ( G ) ) ≥ min s = ± 1 Ov t , γ ( G , s W ^ ) − O d , λ , t ( min s = ± 1 ∥ y ∣ E ⃗ ( G ) − s W ^ ∥ ) . \operatorname{Ov}_{t,\gamma}(G,y|_{\vec{E}(G)}) \ge\min_{s=\pm1}\operatorname{Ov}_{t,\gamma}(G,s\widehat{W}) - O_{d,\lambda,t}\left(\min_{s=\pm1}\lVert y|_{\vec{E}(G)}-s\widehat{W}\rVert\right). Ov t , γ ( G , y ∣ E ( G ) ) ≥ s = ± 1 min Ov t , γ ( G , s W ) − O d , λ , t ( s = ± 1 min ∥ y ∣ E ( G ) − s W ∥ ) .
Next, by Lemma 4.3, with high probability min s = ± 1 ∥ ξ − s W ^ ∥ 2 = 2 − 2 ∣ ⟨ ξ , W ^ ⟩ ∣ ≤ 2 ( d λ 2 ) − ( ℓ + 1 ) + o ( 1 ) \min_{s=\pm1}\lVert\xi-s\widehat{W}\rVert^2 = 2-2|\langle\xi,\widehat{W}\rangle| \le2(d\lambda^2)^{-(\ell+1)}+o(1) min s = ± 1 ∥ ξ − s W ∥ 2 = 2 − 2∣ ⟨ ξ , W ⟩ ∣ ≤ 2 ( d λ 2 ) − ( ℓ + 1 ) + o ( 1 ) , where o ( 1 ) o(1) o ( 1 ) tends to $0$ as n → ∞ n\to\infty n → ∞ with all other parameters fixed. Since ∥ y ∥ ≤ 1 \lVert y\rVert\le1 ∥ y ∥ ≤ 1 and ⟨ y , ξ ⟩ ≥ 1 − η \langle y,\xi\rangle\ge1-\eta ⟨ y , ξ ⟩ ≥ 1 − η , also min s = ± 1 ∥ y − s ξ ∥ 2 ≤ 2 − 2 1 − η ≤ 2 η \min_{s=\pm1}\lVert y-s\xi\rVert^2 \le2-2\sqrt{1-\eta} \le2\eta min s = ± 1 ∥ y − s ξ ∥ 2 ≤ 2 − 2 1 − η ≤ 2 η . As vectors in R n 2 − n \mathbb{R}^{n^2-n} R n 2 − n , y ∣ E ⃗ ( G ) y|_{\vec{E}(G)} y ∣ E ( G ) is obtained from $y by setting its entries off E ⃗ ( G ) \vec{E}(G) E ( G ) to zero, and ξ ⃗ \vec{\xi} ξ and W ^ \widehat{W} W vanish off E ⃗ ( G ) \vec{E}(G) E ( G ) , so ∥ y ∣ E ⃗ ( G ) − s W ^ ∥ ≤ ∥ y − s W ^ ∥ \lVert y|_{\vec{E}(G)}-s\widehat{W}\rVert\le\lVert y-s\widehat{W}\rVert ∥ y ∣ E ( G ) − s W ∥ ≤ ∥ y − s W ∥ for both signs s s s . So by the triangle inequality
min s = ± 1 ∥ y ∣ E ⃗ ( G ) − s W ^ ∥ ≤ min s = ± 1 ∥ y − s W ^ ∥ ≤ 2 η + 2 ( d λ 2 ) − ( ℓ + 1 ) + o ( 1 ) . \min_{s=\pm1}\lVert y|_{\vec{E}(G)}-s\widehat{W}\rVert\le\min_{s=\pm1}\lVert y-s\widehat{W}\rVert\le\sqrt{2\eta}+\sqrt{2(d\lambda^2)^{-(\ell+1)}}+o(1). s = ± 1 min ∥ y ∣ E ( G ) − s W ∥ ≤ s = ± 1 min ∥ y − s W ∥ ≤ 2 η + 2 ( d λ 2 ) − ( ℓ + 1 ) + o ( 1 ) .
Finally, take t = t ( d , λ , ε / 3 ) t=t(d,\lambda,\varepsilon/3) t = t ( d , λ , ε /3 ) from Lemma 4.4 and γ = γ ℓ \gamma=\gamma_{\ell} γ = γ ℓ (defined just before Lemma 4.4). Then for every ℓ \ell ℓ , with high probability,
min s = ± 1 Ov t , γ ( G , s W ^ ) ≥ OPT d , λ − ε / 3. \min_{s=\pm1}\operatorname{Ov}_{t,\gamma}(G,s\widehat{W}) \ge\operatorname{OPT}_{d,\lambda}-\varepsilon/3. s = ± 1 min Ov t , γ ( G , s W ) ≥ OPT d , λ − ε /3.
Putting these together, with high probability, for every G ′ G' G ′ , y y y allowed by the theorem,
Ov t , γ ( G ′ , y ) ≥ OPT d , λ − ε / 3 − O d , λ , t ( η + ( d λ 2 ) − ( ℓ + 1 ) / 2 ) − o ( 1 ) . \operatorname{Ov}_{t,\gamma}(G',y) \ge\operatorname{OPT}_{d,\lambda}-\varepsilon/3-O_{d,\lambda,t}\left(\sqrt{\eta}+(d\lambda^2)^{-(\ell+1)/2}\right)-o(1). Ov t , γ ( G ′ , y ) ≥ OPT d , λ − ε /3 − O d , λ , t ( η + ( d λ 2 ) − ( ℓ + 1 ) /2 ) − o ( 1 ) .
Since t t t depends only on d , λ , ε d,\lambda,\varepsilon d , λ , ε , we can choose ℓ \ell ℓ large and then η \eta η small, also depending only on d , λ , ε d,\lambda,\varepsilon d , λ , ε , so that the O ( ⋅ ) O(\cdot) O ( ⋅ ) term is at most ε / 3 \varepsilon/3 ε /3 ; for large n n n the o ( 1 ) o(1) o ( 1 ) term is also at most ε / 3 \varepsilon/3 ε /3 . Each round of B P t , γ \mathrm{BP}_{t,\gamma} BP t , γ takes O ( ∣ E ⃗ ( G ′ ) ∣ ) = O ( n ) O(|\vec{E}(G')|)=O(n) O ( ∣ E ( G ′ ) ∣ ) = O ( n ) operations: each vertex u u u computes ∏ v ∈ ∂ u ( 1 ± λ m v → u ) \prod_{v\in\partial u}(1\pm\lambda m_{v\to u}) ∏ v ∈ ∂ u ( 1 ± λ m v → u ) once and divides out one factor per outgoing message. This establishes the running time and completes the proof. ■
In the sections that follow, we will use the following statement proved in [14 ] , which shows that the local neighborhoods of a graph drawn from the stochastic block model resemble broadcast processes on Galton–Watson trees.
Fact 4.7 (Local law [14 Proposition 36] ). Let q ≤ L + 1 q\le L+1 q ≤ L + 1 . Let f f f and F F F be functions of a rooted graph whose vertices carry ± 1 \pm1 ± 1 labels, depending only on the radius-q q q neighborhood of the root, with ∣ f ∣ ≤ F |f|\le F ∣ f ∣ ≤ F and F F F nondecreasing under the addition of edges. Write f ( G , v ) f(G,v) f ( G , v ) for f f f evaluated on G G G rooted at v v v with the labels σ ⋆ \sigma^\star σ ⋆ , and f ( T d , λ , o ) f(T_{d,\lambda},o) f ( T d , λ , o ) for f f f evaluated on the broadcast tree with its spins x x x . Condition on labels σ ⋆ \sigma^\star σ ⋆ for which both communities have size n / 2 ± n 3 / 4 n/2\pm n^{3/4} n /2 ± n 3/4 . Then
E ∣ 1 n ∑ v ∈ [ n ] f ( G , v ) − E f ( T d , λ , o ) ∣ ≤ C d q / 2 n − 1 / 8 log n max { ( E max v F ( G , v ) 4 ) 1 / 4 , ( E F ( T d , λ , o ) 2 ) 1 / 2 } , \mathbb{E}\left|\frac{1}{n}\sum_{v\in[n]}f(G,v)-\mathbb{E}f(T_{d,\lambda},o)\right|
\le C d^{q/2}n^{-1/8}\log n\max\left\{\left(\mathbb{E}\max_v F(G,v)^4\right)^{1/4},\left(\mathbb{E}F(T_{d,\lambda},o)^2\right)^{1/2}\right\}, E n 1 v ∈ [ n ] ∑ f ( G , v ) − E f ( T d , λ , o ) ≤ C d q /2 n − 1/8 log n max { ( E v max F ( G , v ) 4 ) 1/4 , ( E F ( T d , λ , o ) 2 ) 1/2 } , where C = C ( d , λ ) C=C(d,\lambda) C = C ( d , λ ) .
The eigenvector is close to a constant-depth walk score
In this section, we establish Lemma 4.3, restated for convenience.
Lemma 4.3 (The eigenvector is close to a walk score). Let d λ 2 > 1 d\lambda^2>1 d λ 2 > 1 , let ( G , σ ⋆ ) ∼ SBM ( n , d , λ ) (G,\sigma^\star)\sim\operatorname{SBM}(n,d,\lambda) ( G , σ ⋆ ) ∼ SBM ( n , d , λ ) , and let ξ ⃗ \vec{\xi} ξ be as in Theorem 4.2 . For every fixed ℓ ≥ 0 \ell\ge0 ℓ ≥ 0 , ⟨ ξ ⃗ , W ( ℓ ) ⟩ 2 / ∥ W ( ℓ ) ∥ 2 → 1 − O ( ( d λ 2 ) − ℓ ) \langle\vec{\xi},W^{(\ell)}\rangle^2/\lVert W^{(\ell)}\rVert^2\to1-O((d\lambda^2)^{-\ell}) ⟨ ξ , W ( ℓ ) ⟩ 2 / ∥ W ( ℓ ) ∥ 2 → 1 − O (( d λ 2 ) − ℓ ) in probability.
Throughout, we fix a sufficiently small constant κ > 0 \kappa> 0 κ > 0 possibly depending on d d d and λ \lambda λ , and L : = κ log d n L := \kappa\log_d n L := κ log d n . We first show that ξ \xi ξ is close to the walk score W ( L ) W^{(L)} W ( L ) of logarithmic depth, and then compare W ( L ) W^{(L)} W ( L ) with W ( ℓ ) W^{(\ell)} W ( ℓ ) .
We will need the following two ingredients. The first shows that the second eigenvector of the nonbacktracking matrix is roughly equal to the logarithmic-depth walk scores, and can be found in [76 Eq. (5.1) and Section 5.2, Page 226] .
Lemma 4.8 (The logarithmic-depth walk score is the eigenvector). Let d λ 2 > 1 d\lambda^2 > 1 d λ 2 > 1 , let ( G , σ ⋆ ) ∼ SBM ( n , d , λ ) (G,\sigma^\star) \sim\operatorname{SBM}(n,d,\lambda) ( G , σ ⋆ ) ∼ SBM ( n , d , λ ) , and let ξ \xi ξ be as in Theorem 4.2 . Then min s = ± 1 ∥ ξ − s W ( L ) / ∥ W ( L ) ∥ ∥ → 0 \min_{s=\pm1}\left\|\xi-sW^{(L)}/\|W^{(L)}\|\right\| \to0 min s = ± 1 ξ − s W ( L ) /∥ W ( L ) ∥ → 0 in probability.
The second is a bound on the difference between consecutive walk scores from [76 Eq. (8.11)] .
Lemma 4.9. There exists a constant C > 0 C > 0 C > 0 depending on d d d and λ \lambda λ such that with high probability over G G G , we have for every ℓ ≤ L \ell\le L ℓ ≤ L :
∥ W ( ℓ + 1 ) − W ( ℓ ) ∥ ≤ n ⋅ ( C ( λ 2 d ) − ℓ / 2 + C t log 7 n n ) . \left\|W^{(\ell+1)}-W^{(\ell)}\right\| \le\sqrt{n}\cdot\left(C(\lambda^2 d)^{-\ell/2}+\frac{C^t\log^7 n}{\sqrt{n}}\right). W ( ℓ + 1 ) − W ( ℓ ) ≤ n ⋅ ( C ( λ 2 d ) − ℓ /2 + n C t log 7 n ) .
Proof of Lemma 4.3. Without loss of generality, assume s = + 1 s=+1 s = + 1 in Lemma 4.8 . Then we have:
∥ ξ − W ( ℓ ) ∥ W ( ℓ ) ∥ ∥ ≤ ∥ ξ − W ( L ) ∥ W ( L ) ∥ ∥ + ∥ W ( L ) ∥ W ( L ) ∥ − W ( ℓ ) ∥ W ( ℓ ) ∥ ∥ ≤ o ( 1 ) + 2 ∥ W ( L ) − W ( ℓ ) ∥ ∥ W ( L ) ∥ . \begin{aligned}
\left\|\xi-\frac{W^{(\ell)}}{\|W^{(\ell)}\|}\right\| \le\left\|\xi-\frac{W^{(L)}}{\|W^{(L)}\|}\right\|+\left\|\frac{W^{(L)}}{\|W^{(L)}\|}-\frac{W^{(\ell)}}{\|W^{(\ell)}\|}\right\| \\
&\le o(1)+2\frac{\left\|W^{(L)}-W^{(\ell)}\right\|}{\|W^{(L)}\|}.
\end{aligned} ξ − ∥ W ( ℓ ) ∥ W ( ℓ ) ≤ ξ − ∥ W ( L ) ∥ W ( L ) + ∥ W ( L ) ∥ W ( L ) − ∥ W ( ℓ ) ∥ W ( ℓ ) ≤ o ( 1 ) + 2 ∥ W ( L ) ∥ W ( L ) − W ( ℓ ) .
where we bounded the first term with Lemma 4.8 . The numerator of the second term can be bounded by ( C ( d λ 2 ) − ℓ / 2 + o ( 1 ) ) ⋅ n (C(d\lambda^2)^{-\ell/2}+o(1))\cdot\sqrt{n} ( C ( d λ 2 ) − ℓ /2 + o ( 1 )) ⋅ n by triangle inequality and Lemma 4.9 . The denominator is lower bounded by Ω ( n ) \Omega(\sqrt{n}) Ω ( n ) by [76 Proposition 10, Eq. (8.9)] , and therefore the bound above translates to O ( ( d λ 2 ) − ℓ / 2 ) + o ( 1 ) O((d\lambda^2)^{-\ell/2})+o(1) O (( d λ 2 ) − ℓ /2 ) + o ( 1 ) . Rearranging this bound yields the desired statement. ■
BP from the walk score is near-optimal
In this section, we establish Lemma 4.4.
Lemma 4.4 (BP initialized from constant-depth walk score is near-optimal). Let d λ 2 > 1 d\lambda^2 > 1 d λ 2 > 1 and ( G , σ ⋆ ) ∼ SBM ( n , d , λ ) (G,\sigma^\star) \sim\operatorname{SBM}(n,d,\lambda) ( G , σ ⋆ ) ∼ SBM ( n , d , λ ) . For every ϵ > 0 \epsilon> 0 ϵ > 0 there is t = t ( d , λ , ϵ ) ≥ 1 t=t(d,\lambda,\epsilon)\ge1 t = t ( d , λ , ϵ ) ≥ 1 such that for every ℓ ≥ 0 \ell\ge0 ℓ ≥ 0 , with high probability, Ov t , γ ℓ ( G , W ( ℓ ) / ∥ W ( ℓ ) ∥ ) ≥ OPT d , λ − ϵ \operatorname{Ov}_{t,\gamma_\ell}\left(G,W^{(\ell)}/\|W^{(\ell)}\|\right)\ge\operatorname{OPT}_{d,\lambda}-\epsilon Ov t , γ ℓ ( G , W ( ℓ ) /∥ W ( ℓ ) ∥ ) ≥ OPT d , λ − ϵ and the same holds for − W ( ℓ ) / ∥ W ( ℓ ) ∥ -W^{(\ell)}/\|W^{(\ell)}\| − W ( ℓ ) /∥ W ( ℓ ) ∥ .
Proof. We will prove the desired statement by comparing the following pair of experiments we perform after conditioning on ( G , σ ⋆ ) (G,\sigma^\star) ( G , σ ⋆ ) . We will choose t t t sufficiently large depending on ϵ \epsilon ϵ .
Experiment 1. Pick a uniformly random vertex o ∼ V ( G ) o\sim V(G) o ∼ V ( G ) . Let T o T_o T o be the radius-t + ℓ + 1 t+\ell+1 t + ℓ + 1 ball around o o o , and let x x x be a labeling of the vertices of T T T according to its true labeling σ ⋆ \sigma^\star σ ⋆ . Denote by D 1 D_1 D 1 the law of ( T , x ) (T,x) ( T , x ) arising from this experiment.
Experiment 2. Draw a tree T T T rooted at a vertex o o o along with a labeling x x x of the vertices from the depth t + ℓ + 1 t+\ell+1 t + ℓ + 1 broadcast process tree with parameters d d d and λ \lambda λ as in Definition 3.1 . Denote by D 2 D_2 D 2 the law of ( T , x ) (T,x) ( T , x ) arising from this experiment.
Let ( T , x ) (T,x) ( T , x ) be a pair arising from Experiment 1 or 2 where T T T is rooted at a vertex o o o . Now, consider the following process.
For each vertex v v v at depth-t t t , and each child w w w of v v v , define W v → w ( ℓ , T ) \mathbf{W}^{(\ell,T)}_{v\to w} W v → w ( ℓ , T ) as the vector
W v → w ( ℓ , T ) = ( d λ ) − ℓ ∑ a descendant of w at depth t + ℓ + 1 x a . \mathbf{W}^{(\ell,T)}_{v\to w}=(d\lambda)^{-\ell}\sum_{\substack{a\text{ descendant of }w\\\text{at depth }t+\ell+1}}x_a. W v → w ( ℓ , T ) = ( d λ ) − ℓ a descendant of w at depth t + ℓ + 1 ∑ x a .
For each such w → v w\to v w → v , let y w → v y_{w\to v} y w → v be drawn from { ± γ ℓ } \{\pm\gamma_\ell\} { ± γ ℓ } such that E y w → v = γ ℓ tanh ( β W v → w ( ℓ , T ) E W ℓ 2 ) \mathbb{E}y_{w\to v}=\gamma_\ell\tanh\left(\frac{\beta\mathbf{W}^{(\ell,T)}_{v\to w}}{\sqrt{\mathbb{E}\mathbf{W}_\ell^2}}\right) E y w → v = γ ℓ tanh ( E W ℓ 2 β W v → w ( ℓ , T ) ) .
Observe that Ov t , γ ℓ ( G , W ( ℓ ) / ∥ W ( ℓ ) ∥ ) = E ( T , x ) ∼ D 1 x o ⋅ x ^ o \operatorname{Ov}_{t,\gamma_\ell}\left(G,\mathbf{W}^{(\ell)}/\lVert\mathbf{W}^{(\ell)}\rVert\right)=\mathbb{E}_{(T,x)\sim D_1}x_o\cdot\widehat{x}_o Ov t , γ ℓ ( G , W ( ℓ ) / ∥ W ( ℓ ) ∥ ) = E ( T , x ) ∼ D 1 x o ⋅ x o .
A consequence of Fact 4.7 is the fact that d T V ( D 1 , D 2 ) = o ( 1 ) d_{\mathrm{TV}}(D_1,D_2)=o(1) d TV ( D 1 , D 2 ) = o ( 1 ) with high probability over G G G . Therefore, we have:
E ( T , x ) ∼ D 1 x o ⋅ x ^ o ≥ E ( T , x ) ∼ D 2 x o ⋅ x ^ o − o ( 1 ) ≥ OPT d , λ − o ( 1 ) , \mathbb{E}_{(T,x)\sim D_1}x_o\cdot\widehat{x}_o\geq\mathbb{E}_{(T,x)\sim D_2}x_o\cdot\widehat{x}_o-o(1)\geq\operatorname{OPT}_{d,\lambda}-o(1), E ( T , x ) ∼ D 1 x o ⋅ x o ≥ E ( T , x ) ∼ D 2 x o ⋅ x o − o ( 1 ) ≥ OPT d , λ − o ( 1 ) ,
where the first inequality used closeness in total variation distance. The second inequality follows from Fact 3.6 ; we elaborate on details below. Under Experiment 2, conditional on the labels at depth-t t t , the labels on the subtrees rooted at each of the depth-t t t vertices are independent. Thus, W ( ℓ , T ) E W ℓ 2 \frac{\mathbf{W}^{(\ell,T)}}{\sqrt{\mathbb{E}\mathbf{W}_\ell^2}} E W ℓ 2 W ( ℓ , T ) restricted to the depth-t t t leaves can be construed as passing each label σ v \sigma_v σ v through an independent noisy channel. It can also be verified that there is an absolute constant c > 0 c>0 c > 0 such that γ ℓ > c \gamma_\ell>c γ ℓ > c , and therefore the hypothesis of Fact 3.6 applies. In particular, we may choose t t t independent of ℓ \ell ℓ . ■
Stability of BP
In this subsection we prove Lemmas 4.5 and 4.6, starting with Lemma 4.5. Throughout, for a graph G G G , a vertex v v v and s ≥ 0 s\geq0 s ≥ 0 , we write ∣ B G ( v , s ) ∣ \lvert B_G(v,s)\rvert ∣ B G ( v , s )∣ for the number of vertices of G G G within distance s s s of v v v .
Proof of Lemma 4.5
Lemma 4.5 (BP is stable under changes to the initialization). Let d λ 2 > 1 d\lambda^2>1 d λ 2 > 1 and ( G , σ ⋆ ) ∼ SBM ( n , d , λ ) (G,\sigma^\star)\sim\operatorname{SBM}(n,d,\lambda) ( G , σ ⋆ ) ∼ SBM ( n , d , λ ) . For every t ≥ 1 t\geq1 t ≥ 1 there is C = C ( d , λ , t ) > 0 C=C(d,\lambda,t)>0 C = C ( d , λ , t ) > 0 such that with high probability, for all γ ∈ ( 0 , 1 ) \gamma\in(0,1) γ ∈ ( 0 , 1 ) and all y , y ′ ∈ R E ⃗ ( G ) y,y'\in\mathbb{R}^{\vec{E}(G)} y , y ′ ∈ R E ( G ) ,
∣ Ov t , γ ( G , y ) − Ov t , γ ( G , y ′ ) ∣ ≤ C ∥ y − y ′ ∥ . \left\lvert\operatorname{Ov}_{t,\gamma}(G,y)-\operatorname{Ov}_{t,\gamma}(G,y')\right\rvert\leq C\lVert y-y'\rVert. ∣ Ov t , γ ( G , y ) − Ov t , γ ( G , y ′ ) ∣ ≤ C ∥ y − y ′ ∥ .
The idea behind Lemma 4.5 is that after t t t rounds of BP, the output at a vertex v v v depends only on the initialization Y Y Y at directed edges near v v v . Furthermore, if we round two initializations Y Y Y and Y ′ Y' Y ′ using the same randomness, the two outputs can differ at v v v only if the two roundings differ at some directed edge e e e near v v v , which happens with probability at most ∣ Y e − Y e ′ ∣ / 2 |Y_e-Y'_e|/2 ∣ Y e − Y e ′ ∣/2 . Summing over v v v , the expected number of vertices at which the outputs differ is at most ∥ Y − Y ′ ∥ \|Y-Y'\| ∥ Y − Y ′ ∥ times a measure of the size of a typical neighborhood. We isolate this deterministic part of the argument in the following lemma.
Lemma 4.10 (BP outputs from nearby scores can be coupled). Let G G G be a graph on [ n ] [n] [ n ] , let t ≥ 1 t \ge1 t ≥ 1 and γ ∈ ( 0 , 1 ) \gamma\in(0,1) γ ∈ ( 0 , 1 ) , and let Y , Y ′ ∈ R E ⃗ ( G ) Y,Y' \in\mathbb{R}^{\vec{E}(G)} Y , Y ′ ∈ R E ( G ) . Then the outputs σ ^ \hat{\sigma} σ ^ and σ ^ ′ \hat{\sigma}' σ ^ ′ of BP t , γ ( G , Y ) \operatorname{BP}_{t,\gamma}(G,Y) BP t , γ ( G , Y ) and BP t , γ ( G , Y ′ ) \operatorname{BP}_{t,\gamma}(G,Y') BP t , γ ( G , Y ′ ) can be coupled so that
E ∣ { v : σ ^ v ≠ σ ^ v ′ } ∣ ≤ 1 2 ( ∑ v ∈ [ n ] ∣ B G ( v , t + 1 ) ∣ 3 ) 1 / 2 ∥ Y − Y ′ ∥ . (3) \mathbb{E}\left|\left\{v:\hat{\sigma}_v\ne\hat{\sigma}'_v\right\}\right|\le\frac{1}{2}\left(\sum_{v\in[n]}|B_G(v,t+1)|^3\right)^{1/2}\|Y-Y'\|. \tag*{(3)} E ∣ { v : σ ^ v = σ ^ v ′ } ∣ ≤ 2 1 v ∈ [ n ] ∑ ∣ B G ( v , t + 1 ) ∣ 3 1/2 ∥ Y − Y ′ ∥. (3)
The second ingredient is that neighborhoods in the block model are small on average. This is an immediate corollary of Fact 4.7, and that the moments of ∣ B T d , λ ( o , s ) ∣ |B_{T_{d,\lambda}}(o,s)| ∣ B T d , λ ( o , s ) ∣ and ∣ B G ( v , s ) ∣ |B_G(v,s)| ∣ B G ( v , s ) ∣ are finite.
Lemma 4.11 (Neighborhoods are small on average). Let d λ 2 > 1 d\lambda^2>1 d λ 2 > 1 and ( G , σ ⋆ ) ∼ SBM ( n , d , λ ) (G,\sigma^\star)\sim\operatorname{SBM}(n,d,\lambda) ( G , σ ⋆ ) ∼ SBM ( n , d , λ ) . For every s ≥ 1 s\ge1 s ≥ 1 there is C = C ( d , λ , s ) C=C(d,\lambda,s) C = C ( d , λ , s ) such that, with high probability,
∑ v ∈ [ n ] ∣ B G ( v , s ) ∣ 3 ≤ C n . \sum_{v\in[n]}|B_G(v,s)|^3\le Cn. v ∈ [ n ] ∑ ∣ B G ( v , s ) ∣ 3 ≤ C n .
We now put these together, and then prove Lemma 4.10 .
Proof of Lemma 4.5. Let C 0 = C ( d , λ , t + 1 ) C_0=C(d,\lambda,t+1) C 0 = C ( d , λ , t + 1 ) be the constant of Lemma 4.11 , and condition on the high-probability event that ∑ v ∣ B G ( v , t + 1 ) ∣ 3 ≤ C 0 n \sum_v|B_G(v,t+1)|^3\le C_0n ∑ v ∣ B G ( v , t + 1 ) ∣ 3 ≤ C 0 n . On this event also ∣ E ⃗ ( G ) ∣ ≤ C 0 n |\vec{E}(G)|\le C_0n ∣ E ( G ) ∣ ≤ C 0 n .
Fix γ ∈ ( 0 , 1 ) \gamma\in(0,1) γ ∈ ( 0 , 1 ) and y , y ′ ∈ R E ⃗ ( G ) y,y'\in\mathbb{R}^{\vec{E}(G)} y , y ′ ∈ R E ( G ) . Let σ ^ \hat{\sigma} σ ^ and σ ^ ′ \hat{\sigma}' σ ^ ′ be the outputs of BP t , γ \operatorname{BP}_{t,\gamma} BP t , γ initialized at Y = β ∣ E ⃗ ( G ) ∣ y Y=\beta\sqrt{|\vec{E}(G)|}\,y Y = β ∣ E ( G ) ∣ y and Y ′ = β ∣ E ⃗ ( G ) ∣ y ′ Y'=\beta\sqrt{|\vec{E}(G)|}\,y' Y ′ = β ∣ E ( G ) ∣ y ′ , respectively, coupled as in Lemma 4.10 . Changing the output at one vertex changes the overlap by at most 2 / n 2/n 2/ n . Indeed, since ov ( σ ^ , σ ⋆ ) = 1 n ∣ ⟨ σ ^ , σ ⋆ ⟩ ∣ \operatorname{ov}(\hat{\sigma},\sigma^\star)=\frac{1}{n}|\langle\hat{\sigma},\sigma^\star\rangle| ov ( σ ^ , σ ⋆ ) = n 1 ∣ ⟨ σ ^ , σ ⋆ ⟩ ∣ and ∣ x ∣ − ∣ x ′ ∣ ≤ ∣ x − x ′ ∣ |x|-|x'|\le|x-x'| ∣ x ∣ − ∣ x ′ ∣ ≤ ∣ x − x ′ ∣ for real numbers x , x ′ x,x' x , x ′ ,
∣ ov ( σ ^ , σ ⋆ ) − ov ( σ ^ ′ , σ ⋆ ) ∣ = 1 n ∣ ∣ ⟨ σ ^ , σ ⋆ ⟩ ∣ − ∣ ⟨ σ ^ ′ , σ ⋆ ⟩ ∣ ∣ ≤ 1 n ∣ ⟨ σ ^ − σ ^ ′ , σ ⋆ ⟩ ∣ ≤ 2 n ∣ { v : σ ^ v ≠ σ ^ v ′ } ∣ . \left|\operatorname{ov}(\hat{\sigma},\sigma^\star)-\operatorname{ov}(\hat{\sigma}',\sigma^\star)\right|=\frac{1}{n}\left||\langle\hat{\sigma},\sigma^\star\rangle|-|\langle\hat{\sigma}',\sigma^\star\rangle|\right|
\le\frac{1}{n}|\langle\hat{\sigma}-\hat{\sigma}',\sigma^\star\rangle|\le\frac{2}{n}\left|\left\{v:\hat{\sigma}_v\ne\hat{\sigma}'_v\right\}\right|. ∣ ov ( σ ^ , σ ⋆ ) − ov ( σ ^ ′ , σ ⋆ ) ∣ = n 1 ∣ ∣ ⟨ σ ^ , σ ⋆ ⟩ ∣ − ∣ ⟨ σ ^ ′ , σ ⋆ ⟩ ∣ ∣ ≤ n 1 ∣ ⟨ σ ^ − σ ^ ′ , σ ⋆ ⟩ ∣ ≤ n 2 ∣ { v : σ ^ v = σ ^ v ′ } ∣ .
The quantities Ov t , γ ( G , y ) \operatorname{Ov}_{t,\gamma}(G,y) Ov t , γ ( G , y ) and Ov t , γ ( G , y ′ ) \operatorname{Ov}_{t,\gamma}(G,y') Ov t , γ ( G , y ′ ) are the expectations of the two overlaps, whatever the coupling. So taking expectations and applying (3) with ∥ Y − Y ′ ∥ = β ∣ E ⃗ ( G ) ∣ ∥ y − y ′ ∥ \|Y-Y'\|=\beta\sqrt{|\vec{E}(G)|}\|y-y'\| ∥ Y − Y ′ ∥ = β ∣ E ( G ) ∣ ∥ y − y ′ ∥ ,
∣ Ov t , γ ( G , y ) − Ov t , γ ( G , y ′ ) ∣ ≤ 2 n E ∣ { v : σ ^ v ≠ σ ^ v ′ } ∣ ≤ 1 n ( ∑ v ∣ B G ( v , t + 1 ) ∣ 3 ) 1 / 2 β ∣ E ⃗ ( G ) ∣ ∥ y − y ′ ∥ ≤ 1 n C 0 n ⋅ β C 0 n ∥ y − y ′ ∥ = β C 0 ∥ y − y ′ ∥ . \begin{aligned}
|\operatorname{Ov}_{t,\gamma}(G,y)-\operatorname{Ov}_{t,\gamma}(G,y')|
&\le\frac{2}{n}\mathbb{E}\left|\left\{v:\hat{\sigma}_v\ne\hat{\sigma}'_v\right\}\right|\\
&\le\frac{1}{n}\left(\sum_v|B_G(v,t+1)|^3\right)^{1/2}\beta\sqrt{|\vec{E}(G)|}\|y-y'\|\\
&\le\frac{1}{n}\sqrt{C_0n}\cdot\beta\sqrt{C_0n}\|y-y'\|=\beta C_0\|y-y'\|.
\end{aligned} ∣ Ov t , γ ( G , y ) − Ov t , γ ( G , y ′ ) ∣ ≤ n 2 E ∣ { v : σ ^ v = σ ^ v ′ } ∣ ≤ n 1 ( v ∑ ∣ B G ( v , t + 1 ) ∣ 3 ) 1/2 β ∣ E ( G ) ∣ ∥ y − y ′ ∥ ≤ n 1 C 0 n ⋅ β C 0 n ∥ y − y ′ ∥ = β C 0 ∥ y − y ′ ∥.
This proves Lemma 4.5 with C = β C 0 C=\beta C_0 C = β C 0 , which depends only on d d d , λ \lambda λ and t t t . ■
Proof of Lemma 4.10 . We first couple the random rounding in Definition 4.1 . For each directed edge e e e , let U e U_e U e be uniform on [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] , independently over e e e , and set
τ e = { 1 if U e ≤ tanh Y e , − 1 otherwise . \tau_e =
\begin{cases}
1 & \text{if } U_e \le\tanh Y_e,\\
-1 & \text{otherwise}.
\end{cases} τ e = { 1 − 1 if U e ≤ tanh Y e , otherwise .
and define τ e ′ \tau'_e τ e ′ in the same way from Y e ′ Y'_e Y e ′ , with the same U e U_e U e . Then E τ e = tanh Y e \mathbb{E}\,\tau_e=\tanh Y_e E τ e = tanh Y e and E τ e ′ = tanh Y e ′ \mathbb{E}\,\tau'_e=\tanh Y'_e E τ e ′ = tanh Y e ′ , as required, and τ e ≠ τ e ′ \tau_e\ne\tau'_e τ e = τ e ′ only if U e U_e U e lies between tanh Y e \tanh Y_e tanh Y e and tanh Y e ′ \tanh Y'_e tanh Y e ′ , an interval of length ∣ tanh Y e − tanh Y e ′ ∣ |\tanh Y_e-\tanh Y'_e| ∣ tanh Y e − tanh Y e ′ ∣ on which U e U_e U e has density 1 / 2 1/2 1/2 . Since tanh \tanh tanh is 1-Lipschitz,
Pr ( τ e ≠ τ e ′ ) = 1 2 ∣ tanh Y e − tanh Y e ′ ∣ ≤ 1 2 ∣ Y e − Y e ′ ∣ . (4) \Pr(\tau_e\ne\tau'_e)=\frac{1}{2}|\tanh Y_e-\tanh Y'_e|\le\frac{1}{2}|Y_e-Y'_e|. \tag*{(4)} Pr ( τ e = τ e ′ ) = 2 1 ∣ tanh Y e − tanh Y e ′ ∣ ≤ 2 1 ∣ Y e − Y e ′ ∣. (4)
Let σ ^ \widehat{\sigma} σ and σ ^ ′ \widehat{\sigma}' σ ′ be the outputs of the remaining steps of B P t , γ \mathrm{BP}_{t,\gamma} BP t , γ run on τ \tau τ and on τ ′ \tau' τ ′ .
Since t t t rounds of BP only propagate information a distance t t t , the output σ ^ v \widehat{\sigma}_v σ v depends only on τ e \tau_e τ e for directed edges e e e whose head is within distance t + 1 t+1 t + 1 of v v v , and likewise for σ ^ v ′ \widehat{\sigma}'_v σ v ′ and τ ′ \tau' τ ′ . So σ ^ v ≠ σ ^ v ′ \widehat{\sigma}_v\ne\widehat{\sigma}'_v σ v = σ v ′ only if τ e ≠ τ e ′ \tau_e\ne\tau'_e τ e = τ e ′ for some directed edge e e e whose head is within distance t + 1 t+1 t + 1 of v v v . The head v v v of a directed edge u → v u\to v u → v is within distance t + 1 t+1 t + 1 of exactly ∣ B G ( v , t + 1 ) ∣ |B_G(v,t+1)| ∣ B G ( v , t + 1 ) ∣ vertices. So a union bound over these edges, followed by (4) , gives
E ∣ { v : σ ^ v ≠ σ ^ v ′ } ∣ ≤ ∑ u → v ∣ B G ( v , t + 1 ) ∣ Pr ( τ u → v ≠ τ u → v ′ ) ≤ 1 2 ∑ u → v ∣ B G ( v , t + 1 ) ∣ ∣ Y u → v − Y u → v ′ ∣ . \mathbb{E}\left|\left\{v:\widehat{\sigma}_v\ne\widehat{\sigma}'_v\right\}\right|
\le\sum_{u\to v}|B_G(v,t+1)|\Pr(\tau_{u\to v}\ne\tau'_{u\to v})
\le\frac{1}{2}\sum_{u\to v}|B_G(v,t+1)||Y_{u\to v}-Y'_{u\to v}|. E ∣ { v : σ v = σ v ′ } ∣ ≤ u → v ∑ ∣ B G ( v , t + 1 ) ∣ Pr ( τ u → v = τ u → v ′ ) ≤ 2 1 u → v ∑ ∣ B G ( v , t + 1 ) ∣∣ Y u → v − Y u → v ′ ∣.
By the Cauchy–Schwarz inequality, and since each vertex v v v is the head of deg ( v ) \deg(v) deg ( v ) directed edges,
∑ u → v ∣ B G ( v , t + 1 ) ∣ ∣ Y u → v − Y u → v ′ ∣ ≤ ( ∑ u → v ∣ B G ( v , t + 1 ) ∣ 2 ) 1 / 2 ∥ Y − Y ′ ∥ = ( ∑ v ∈ [ n ] deg ( v ) ∣ B G ( v , t + 1 ) ∣ 2 ) 1 / 2 ∥ Y − Y ′ ∥ . \begin{aligned}
\sum_{u\to v}|B_G(v,t+1)||Y_{u\to v}-Y'_{u\to v}|
\le\left(\sum_{u\to v}|B_G(v,t+1)|^2\right)^{1/2}\|Y-Y'\| \\
&= \left(\sum_{v\in[n]}\deg(v)|B_G(v,t+1)|^2\right)^{1/2}\|Y-Y'\|.
\end{aligned} u → v ∑ ∣ B G ( v , t + 1 ) ∣∣ Y u → v − Y u → v ′ ∣ ≤ ( u → v ∑ ∣ B G ( v , t + 1 ) ∣ 2 ) 1/2 ∥ Y − Y ′ ∥ = v ∈ [ n ] ∑ deg ( v ) ∣ B G ( v , t + 1 ) ∣ 2 1/2 ∥ Y − Y ′ ∥.
Finally deg ( v ) ≤ ∣ B G ( v , t + 1 ) ∣ \deg(v)\le|B_G(v,t+1)| deg ( v ) ≤ ∣ B G ( v , t + 1 ) ∣ , which gives (3) .
Proof of Lemma 4.6
Lemma 4.6 (BP is stable under edge edits). Let d λ 2 > 1 d\lambda^2>1 d λ 2 > 1 and ( G , σ ⋆ ) ∼ SBM ( n , d , λ ) (G,\sigma^\star)\sim\operatorname{SBM}(n,d,\lambda) ( G , σ ⋆ ) ∼ SBM ( n , d , λ ) . For every t ≥ 1 t\ge1 t ≥ 1 there is C = C ( d , λ , t ) > 0 C=C(d,\lambda,t)>0 C = C ( d , λ , t ) > 0 such that with high probability the following holds for all η , γ ∈ ( 0 , 1 ) \eta,\gamma\in(0,1) η , γ ∈ ( 0 , 1 ) . Let G ′ G' G ′ be a graph on [ n ] [n] [ n ] with ∣ E ( G ) △ E ( G ′ ) ∣ ≤ η n |E(G)\mathbin{\triangle}E(G')|\le\eta n ∣ E ( G ) △ E ( G ′ ) ∣ ≤ η n , let y ∈ R E ⃗ ( G ′ ) y\in\mathbb{R}^{\vec{E}(G')} y ∈ R E ( G ′ ) have ∥ y ∥ ≤ 1 \|y\|\le1 ∥ y ∥ ≤ 1 , and let y ∣ E ⃗ ( G ) y|_{\vec{E}(G)} y ∣ E ( G ) be the restriction of y y y to E ⃗ ( G ) \vec{E}(G) E ( G ) , that is, the vector in R E ⃗ ( G ) \mathbb{R}^{\vec{E}(G)} R E ( G ) that agrees with y y y on the directed edges of both graphs and vanishes elsewhere. Then
∣ Ov t , γ ( G ′ , y ) − Ov t , γ ( G , y ∣ E ⃗ ( G ) ) ∣ ≤ C η . \left|\operatorname{Ov}_{t,\gamma}(G',y)-\operatorname{Ov}_{t,\gamma}(G,y|_{\vec{E}(G)})\right|\le C\sqrt{\eta}. Ov t , γ ( G ′ , y ) − Ov t , γ ( G , y ∣ E ( G ) ) ≤ C η .
The idea behind the above is again locality: if a vertex v v v is far from every corrupted edge, then t t t rounds of BP compute the same output at v v v on both graphs if initialized at the same vector. By Lemma 4.11 , most vertices have no corrupted edges nearby. Apart from this, BP on the corrupted graph and non-corrupted graph differ only in the normalization β ∣ E ⃗ ( G ) ∣ \beta\sqrt{|\vec{E}(G)|} β ∣ E ( G ) ∣ of the initialization, which changes by a factor 1 + O ( η ) 1+O(\eta) 1 + O ( η ) and is handled by Lemma 4.5. We isolate the deterministic part of the argument in the following lemma.
Lemma 4.12 (BP only sees nearby edits). Let G G G and G ′ G' G ′ be graphs on [ n ] [n] [ n ] , let t ≥ 1 t \ge1 t ≥ 1 and γ ∈ ( 0 , 1 ) \gamma\in(0,1) γ ∈ ( 0 , 1 ) , and let A A A be the set of endpoints of the edges in E ( G ) △ E ( G ′ ) E(G) \mathbin{\triangle} E(G') E ( G ) △ E ( G ′ ) . Let y ∈ R n 2 − n y \in\mathbb{R}^{n^2-n} y ∈ R n 2 − n . Then the outputs σ ^ \widehat{\sigma} σ of BP t , γ ( G , y ∣ E ⃗ ( G ) ) \operatorname{BP}_{t,\gamma}(G,y|_{\vec{E}(G)}) BP t , γ ( G , y ∣ E ( G ) ) and σ ^ ′ \widehat{\sigma}' σ ′ of BP t , γ ( G ′ , y ∣ E ⃗ ( G ′ ) ) \operatorname{BP}_{t,\gamma}(G',y|_{\vec{E}(G')}) BP t , γ ( G ′ , y ∣ E ( G ′ ) ) can be coupled so that with probability 1 over the randomized rounding of the initialization,
∣ { v : σ ^ v ≠ σ ^ v ′ } ∣ ≤ ∑ a ∈ A ∣ B G ( a , t ) ∣ . \left|\left\{v:\widehat{\sigma}_v \ne\widehat{\sigma}'_v\right\}\right| \le\sum_{a\in A} |B_G(a,t)|. ∣ { v : σ v = σ v ′ } ∣ ≤ a ∈ A ∑ ∣ B G ( a , t ) ∣.
We now prove Lemma 4.6, and then Lemma 4.12 .
Proof of Lemma 4.6. Let C 0 C_0 C 0 be the constant of Lemma 4.11 with s = t + 1 s=t+1 s = t + 1 , and let C 1 = C ( d , λ , t ) C_1=C(d,\lambda,t) C 1 = C ( d , λ , t ) be the constant of Lemma 4.5. We work on the intersection of the high-probability events of these two lemmas and the event ∣ E ⃗ ( G ) ∣ ≥ d n / 2 |\vec{E}(G)|\ge dn/2 ∣ E ( G ) ∣ ≥ d n /2 , which has high probability because ∣ E ⃗ ( G ) ∣ / n → d |\vec{E}(G)|/n\to d ∣ E ( G ) ∣/ n → d in probability. Fix η , γ ∈ ( 0 , 1 ) \eta,\gamma\in(0,1) η , γ ∈ ( 0 , 1 ) , and G ′ G' G ′ and y y y as in the statement, and let
c = ( ∣ E ⃗ ( G ′ ) ∣ ∣ E ⃗ ( G ) ∣ ) 1 / 2 . c=\left(\frac{|\vec{E}(G')|}{|\vec{E}(G)|}\right)^{1/2}. c = ( ∣ E ( G ) ∣ ∣ E ( G ′ ) ∣ ) 1/2 .
We compare Ov t , γ ( G ′ , y ) \operatorname{Ov}_{t,\gamma}(G',y) Ov t , γ ( G ′ , y ) and Ov t , γ ( G , y ∣ E ⃗ ( G ) ) \operatorname{Ov}_{t,\gamma}(G,y|_{\vec{E}(G)}) Ov t , γ ( G , y ∣ E ( G ) ) with Ov t , γ ( G , c y ∣ E ⃗ ( G ) ) \operatorname{Ov}_{t,\gamma}(G,cy|_{\vec{E}(G)}) Ov t , γ ( G , cy ∣ E ( G ) ) .
Changing the graph. We apply Lemma 4.12 with β ∣ E ⃗ ( G ′ ) ∣ y \beta\sqrt{|\vec{E}(G')|}y β ∣ E ( G ′ ) ∣ y in place of y y y . Its restriction to E ⃗ ( G ) \vec{E}(G) E ( G ) is β ∣ E ⃗ ( G ′ ) ∣ y ∣ E ⃗ ( G ) = β ∣ E ⃗ ( G ) ∣ c y ∣ E ⃗ ( G ) \beta\sqrt{|\vec{E}(G')|}y|_{\vec{E}(G)}=\beta\sqrt{|\vec{E}(G)|}cy|_{\vec{E}(G)} β ∣ E ( G ′ ) ∣ y ∣ E ( G ) = β ∣ E ( G ) ∣ cy ∣ E ( G ) . So the expected overlaps of the two outputs in Lemma 4.12 are Ov t , γ ( G ′ , y ) \operatorname{Ov}_{t,\gamma}(G',y) Ov t , γ ( G ′ , y ) and Ov t , γ ( G , c y ∣ E ⃗ ( G ) ) \operatorname{Ov}_{t,\gamma}(G,cy|_{\vec{E}(G)}) Ov t , γ ( G , cy ∣ E ( G ) ) . As in the proof of Lemma 4.5, changing the output at one vertex changes the overlap by at most 2 / n 2/n 2/ n , so Lemma 4.12 gives
∣ Ov t , γ ( G ′ , y ) − Ov t , γ ( G , c y ∣ E ⃗ ( G ) ) ∣ ≤ 2 n ∑ a ∈ A ∣ B G ( a , t ) ∣ . \left|\operatorname{Ov}_{t,\gamma}(G',y)-\operatorname{Ov}_{t,\gamma}(G,cy|_{\vec{E}(G)})\right|\le\frac{2}{n}\sum_{a\in A}|B_G(a,t)|. Ov t , γ ( G ′ , y ) − Ov t , γ ( G , cy ∣ E ( G ) ) ≤ n 2 a ∈ A ∑ ∣ B G ( a , t ) ∣.
where A A A is the set of endpoints of the edges in E ( G ) △ E ( G ′ ) E(G)\mathbin{\triangle}E(G') E ( G ) △ E ( G ′ ) , so that ∣ A ∣ ≤ 2 η n |A|\le2\eta n ∣ A ∣ ≤ 2 η n . Then we have
∑ a ∈ A ∣ B G ( a , t ) ∣ ≤ ∣ A ∣ 1 / 2 ( ∑ v ∈ [ n ] ∣ B G ( v , t ) ∣ 2 ) 1 / 2 ≤ ∣ A ∣ 1 / 2 ( ∑ v ∈ [ n ] ∣ B G ( v , t + 1 ) ∣ 3 ) 1 / 2 ≤ ( 2 η n ) 1 / 2 ( C 0 n ) 1 / 2 = 2 C 0 η n , \sum_{a\in A}|B_G(a,t)|\le|A|^{1/2}\left(\sum_{v\in[n]}|B_G(v,t)|^2\right)^{1/2}\le|A|^{1/2}\left(\sum_{v\in[n]}|B_G(v,t+1)|^3\right)^{1/2}\le(2\eta n)^{1/2}(C_0n)^{1/2}=\sqrt{2C_0\eta}\,n, a ∈ A ∑ ∣ B G ( a , t ) ∣ ≤ ∣ A ∣ 1/2 v ∈ [ n ] ∑ ∣ B G ( v , t ) ∣ 2 1/2 ≤ ∣ A ∣ 1/2 v ∈ [ n ] ∑ ∣ B G ( v , t + 1 ) ∣ 3 1/2 ≤ ( 2 η n ) 1/2 ( C 0 n ) 1/2 = 2 C 0 η n ,
where we used Cauchy–Schwarz, then 1 ≤ ∣ B G ( v , t ) ∣ ≤ ∣ B G ( v , t + 1 ) ∣ 1\le|B_G(v,t)|\le|B_G(v,t+1)| 1 ≤ ∣ B G ( v , t ) ∣ ≤ ∣ B G ( v , t + 1 ) ∣ , and finally Lemma 4.11 .
Changing the normalization. By Lemma 4.5, and since ∥ y ∣ E ⃗ ( G ) ∥ ≤ ∥ y ∥ ≤ 1 \|y|_{\vec{E}(G)}\|\le\|y\|\le1 ∥ y ∣ E ( G ) ∥ ≤ ∥ y ∥ ≤ 1 ,
∣ Ov t , γ ( G , c y ∣ E ⃗ ( G ) ) − Ov t , γ ( G , y ∣ E ⃗ ( G ) ) ∣ ≤ C 1 ∣ c − 1 ∣ ∥ y ∣ E ⃗ ( G ) ∥ ≤ C 1 ∣ c − 1 ∣ . \left|\operatorname{Ov}_{t,\gamma}(G,cy|_{\vec{E}(G)})-\operatorname{Ov}_{t,\gamma}(G,y|_{\vec{E}(G)})\right|\le C_1|c-1|\|y|_{\vec{E}(G)}\|\le C_1|c-1|. Ov t , γ ( G , cy ∣ E ( G ) ) − Ov t , γ ( G , y ∣ E ( G ) ) ≤ C 1 ∣ c − 1∣∥ y ∣ E ( G ) ∥ ≤ C 1 ∣ c − 1∣.
Each edge in E ( G ) △ E ( G ′ ) E(G)\mathbin{\triangle}E(G') E ( G ) △ E ( G ′ ) accounts for two directed edges, so ∣ ∣ E ⃗ ( G ′ ) ∣ − ∣ E ⃗ ( G ) ∣ ∣ ≤ 2 η n ||\vec{E}(G')|-|\vec{E}(G)||\le2\eta n ∣∣ E ( G ′ ) ∣ − ∣ E ( G ) ∣∣ ≤ 2 η n . Since ∣ x − 1 ∣ ≤ ∣ x − 1 ∣ |\sqrt{x}-1|\le|x-1| ∣ x − 1∣ ≤ ∣ x − 1∣ for x ≥ 0 x\ge0 x ≥ 0 and ∣ E ⃗ ( G ) ∣ ≥ d n / 2 |\vec{E}(G)|\ge dn/2 ∣ E ( G ) ∣ ≥ d n /2 ,
∣ c − 1 ∣ ≤ ∣ ∣ E ⃗ ( G ′ ) ∣ − ∣ E ⃗ ( G ) ∣ ∣ ∣ E ⃗ ( G ) ∣ ≤ 2 η n d n / 2 = 4 η d . |c-1|\le\frac{\left||\vec{E}(G')|-|\vec{E}(G)|\right|}{|\vec{E}(G)|}\le\frac{2\eta n}{dn/2}=\frac{4\eta}{d}. ∣ c − 1∣ ≤ ∣ E ( G ) ∣ ∣ E ( G ′ ) ∣ − ∣ E ( G ) ∣ ≤ d n /2 2 η n = d 4 η .
Putting the two steps together, and using η ≤ η \eta\le\sqrt{\eta} η ≤ η ,
∣ Ov t , γ ( G ′ , y ) − Ov t , γ ( G , y ∣ E ⃗ ( G ) ) ∣ ≤ 2 2 C 0 η + 4 C 1 η d ≤ ( 2 2 C 0 + 4 C 1 d ) η . \left|\operatorname{Ov}_{t,\gamma}(G',y)-\operatorname{Ov}_{t,\gamma}(G,y|_{\vec{E}(G)})\right|\le2\sqrt{2C_0\eta}+\frac{4C_1\eta}{d}\le\left(2\sqrt{2C_0}+\frac{4C_1}{d}\right)\sqrt{\eta}. Ov t , γ ( G ′ , y ) − Ov t , γ ( G , y ∣ E ( G ) ) ≤ 2 2 C 0 η + d 4 C 1 η ≤ ( 2 2 C 0 + d 4 C 1 ) η .
This proves Lemma 4.6 with C = 2 2 C 0 + 4 C 1 / d C=2\sqrt{2C_0}+4C_1/d C = 2 2 C 0 + 4 C 1 / d , which depends only on d d d , λ \lambda λ and t t t . ■
Proof of Lemma 4.12 . We couple the random rounding of the initialization in the two runs of BP as in the proof of Lemma 4.10 . That is, we use the same uniform variable U e U_e U e for each directed edge e e e that belongs to both graphs, and independent uniform variables for all other directed edges. Since the score of such an edge e e e is y e y_e y e in both runs, the rounded spins agree on every directed edge of both graphs.
Now, if the distance-t t t neighborhood of a vertex v v v in G G G is disjoint from A A A , then every vertex within distance t t t of v v v has the same neighbors in G G G and in G ′ G' G ′ . So the vertices within distance t + 1 t+1 t + 1 of v v v , and the edges incident to vertices within distance t t t of v v v , are the same in the two graphs. The output at v v v after t t t rounds of BP is computed from these edges and the rounded spins on them, so σ ^ v = σ ^ v ′ \hat{\sigma}_v=\hat{\sigma}'_v σ ^ v = σ ^ v ′ . Every other vertex is within distance t t t of some a ∈ A a\in A a ∈ A in G G G , and there are at most ∑ a ∈ A ∣ B G ( a , t ) ∣ \sum_{a\in A}|B_G(a,t)| ∑ a ∈ A ∣ B G ( a , t ) ∣ such vertices. ■
Robustly estimating the second eigenvector of the nonbacktracking matrix
We prove the following main theorem for this section.
Theorem 5.1 (Robust estimation of the informative eigenvector). For every d ≥ 1 d\ge1 d ≥ 1 , λ ∈ ( − 1 , 1 ) \lambda\in(-1,1) λ ∈ ( − 1 , 1 ) with d λ 2 > 1 d\lambda^2>1 d λ 2 > 1 , and ε > 0 \varepsilon>0 ε > 0 there is η > 0 \eta>0 η > 0 and a nearly-linear time algorithm with the following guarantee. Let ( G , σ ⋆ ) ∼ SBM ( n , d , λ ) (G,\sigma^\star)\sim\operatorname{SBM}(n,d,\lambda) ( G , σ ⋆ ) ∼ SBM ( n , d , λ ) and let ξ \xi ξ be a unit eigenvector for the eigenvalue of B G B_G B G of second-largest modulus. With high probability over ( G , σ ⋆ ) (G,\sigma^\star) ( G , σ ⋆ ) , for every graph F F F satisfying ∣ E ( F ) △ E ( G ) ∣ ≤ η n |E(F)\mathbin{\triangle}E(G)|\le\eta n ∣ E ( F ) △ E ( G ) ∣ ≤ η n , with high probability over its internal randomness the algorithm outputs ξ ^ ( F ) \hat{\xi}(F) ξ ^ ( F ) with
min a ∈ { ± 1 } ∥ ξ ^ ( F ) − a ξ ∥ ≤ ε . \min_{a\in\{ \pm1\}}\|\hat{\xi}(F)-a\xi\|\le\varepsilon. a ∈ { ± 1 } min ∥ ξ ^ ( F ) − a ξ ∥ ≤ ε .
We will gather the lemmas we need, capturing several algorithmic subroutines, and then prove Theorem 5.1 .
A key challenge in designing and analyzing an algorithm for Theorem 5.1 is the asymmetry of the nonbacktracking matrix—in particular, ξ ∈ R E ⃗ ( G ) \xi\in\mathbb{R}^{\vec{E}(G)} ξ ∈ R E ( G ) does not live in an orthonormal basis of eigenvectors. To design an algorithm which proves Theorem 5.1 , we therefore take a somewhat indirect approach, inspired by [MRW24]. We reduce to the problem of recovering, in the presence of corruptions, a certain n n n -dimensional vector which counts signed nonbacktracking walks, defined below. We will be able to postprocess this vector in a simple (linear time) way to recover ξ \xi ξ .
Definition 5.2. For a graph G G G on [ n ] [n] [ n ] and ℓ ∈ N \ell\in\mathbb{N} ℓ ∈ N , let A G ( ℓ ) ∈ R n × n A_G^{(\ell)}\in\mathbb{R}^{n\times n} A G ( ℓ ) ∈ R n × n count length-ℓ \ell ℓ nonbacktracking walks in G G G . We write A ( ℓ ) A^{(\ell)} A ( ℓ ) if G G G is not clear from context, and by convention let A ( 0 ) = I A^{(0)}=I A ( 0 ) = I . Moreover, for ( G , σ ⋆ ) ∼ SBM (G,\sigma^\star)\sim\operatorname{SBM} ( G , σ ⋆ ) ∼ SBM , let σ ( s ) = ( d λ ) − s A ( s ) σ ⋆ \sigma^{(s)}=(d\lambda)^{-s}A^{(s)}\sigma^\star σ ( s ) = ( d λ ) − s A ( s ) σ ⋆ .
The choice of ( d λ ) − s (d\lambda)^{-s} ( d λ ) − s as a normalization factor will ensure that σ ( s ) \sigma^{(s)} σ ( s ) converges to a nonzero vector as s → ∞ s\to\infty s → ∞ .
For ( G , σ ⋆ ) ∼ SBM (G,\sigma^\star)\sim\operatorname{SBM} ( G , σ ⋆ ) ∼ SBM , the following lemma, proved in § 9 , lets us reduce to the problem of recovering σ ( s ) \sigma^{(s)} σ ( s ) given an adversarial corruption of G G G .
Lemma 5.3 (Robust postprocessing). Let ( G , σ ⋆ ) ∼ SBM ( n , d , λ ) (G,\sigma^\star) \sim\operatorname{SBM}(n,d,\lambda) ( G , σ ⋆ ) ∼ SBM ( n , d , λ ) and ξ \xi ξ be a unit eigenvector for the eigenvalue of B G B_G B G of second-largest modulus. For every d ≥ 1 d \ge1 d ≥ 1 , λ ∈ ( − 1 , 1 ) \lambda\in(-1,1) λ ∈ ( − 1 , 1 ) with d λ 2 > 1 d\lambda^2 > 1 d λ 2 > 1 , and ε > 0 \varepsilon> 0 ε > 0 , there are η > 0 \eta> 0 η > 0 , δ > 0 \delta> 0 δ > 0 , s 0 ∈ N s_0 \in\mathbb{N} s 0 ∈ N , and a linear-time algorithm with the following guarantee for every s ≥ s 0 s \ge s_0 s ≥ s 0 : with high probability over ( G , σ ⋆ ) (G,\sigma^\star) ( G , σ ⋆ ) , given input y ∈ R n y \in\mathbb{R}^n y ∈ R n satisfying
min a ∈ { ± 1 } ∥ y − a σ ( s ) ∥ σ ( s ) ∥ ∥ ≤ δ , \min_{a \in\{\pm1\}} \left\| y-a\frac{\sigma^{(s)}}{\|\sigma^{(s)}\|} \right\| \le\delta, a ∈ { ± 1 } min y − a ∥ σ ( s ) ∥ σ ( s ) ≤ δ , and an arbitrary graph F F F satisfying ∣ E ( F ) △ E ( G ) ∣ ≤ η n |E(F)\mathbin{\triangle}E(G)| \le\eta n ∣ E ( F ) △ E ( G ) ∣ ≤ η n , the algorithm outputs a vector ξ ^ ( F ) \widehat{\xi}(F) ξ ( F ) such that
min a ∈ { ± 1 } ∥ ξ ^ ( F ) − a ξ ∥ ≤ ε . \min_{a \in\{\pm1\}} \|\widehat{\xi}(F)-a\xi\| \le\varepsilon. a ∈ { ± 1 } min ∥ ξ ( F ) − a ξ ∥ ≤ ε .
Our strategy to robustly recover σ ( s ) \sigma^{(s)} σ ( s ) has two parts. First, we show that if we had access to the non-corrupted graph G G G , a spectral algorithm based on the Bethe Hessian matrix (defined below) would recover σ ( s ) \sigma^{(s)} σ ( s ) with approximation error going to zero as s → ∞ s \to\infty s → ∞ . Then we show that even given access to an adversarially corrupted graph, there is a simple preprocessing step together with a semidefinite program which “robustifies” this spectral algorithm and hence still recovers σ ( s ) \sigma^{(s)} σ ( s ) . The ability to robustify this spectral algorithm in a straightforward way is our reason for working with the n × n n \times n n × n symmetric matrices rather than directly with the nonbacktracking matrix. To state the main lemmas capturing these algorithms we need to define the key matrices involved, which we denote M s = M s ( G ) M_s=M_s(G) M s = M s ( G ) where G G G is an underlying graph and s ∈ N s \in\mathbb{N} s ∈ N .
Definition 5.4 (Bethe Hessian). Our starting point is the Bethe Hessian [74 ] , a one-parameter family of n × n n \times n n × n matrices associated to a graph G G G .
H ( t ) = I − t A + t 2 ( D − I ) . H(t)=I-tA+t^2(D-I). H ( t ) = I − t A + t 2 ( D − I ) . The Ihara–Bass formula [50 , 9 ] gives a correspondence between t t t which make H ( t ) H(t) H ( t ) singular and eigenvalues of the nonbacktracking matrix. We will use something more general, that at some carefully chosen values of t t t where H ( t ) H(t) H ( t ) is nonsingular, H ( t ) H(t) H ( t ) has a small number of negative eigenvectors and the vector we want, σ G ( s ) \sigma_G^{(s)} σ G ( s ) , lies close to their span, after applying a simple linear transformation depending on G G G . This strategy was also followed by [MRW24]. We refine it here by (approximately) isolating σ G ( s ) \sigma_G^{(s)} σ G ( s ) in the span of these negative eigenvectors by applying a delicate rank-one correction to H ( t ) H(t) H ( t ) . This leads to more accurate recovery of σ G ( s ) \sigma_G^{(s)} σ G ( s ) via the Bethe Hessian than was previously achieved. We package this into an analysis of a family of matrices we call “corrected Bethe Hessian matrices.”
Definition 5.5 (Corrected Bethe-Hessian Matrices). For each s ∈ N s \in\mathbb{N} s ∈ N and n n n -vertex graph G G G , we define a matrix M s ( G ) ∈ R n × n M_s(G) \in\mathbb{R}^{n \times n} M s ( G ) ∈ R n × n . When the block-model parameters d , λ d,\lambda d , λ are clear from context, let t = t ( d , λ ) = 1 d λ ( 1 + d − 1 d ( d λ 2 − 1 ) ) t=t(d,\lambda)=\frac{1}{d\lambda}\left(1+\frac{\sqrt{d}-1}{d}(d\lambda^2-1)\right) t = t ( d , λ ) = d λ 1 ( 1 + d d − 1 ( d λ 2 − 1 ) ) .4 Since t t t is always now fixed to the quantity above, we just write H = H ( t ) H=H(t) H = H ( t ) for the Bethe Hessian going forward.
Our choice of t t t results in 2 eigenvalues of H H H below zero (when λ > 0 \lambda> 0 λ > 0 ). Roughly, these correspond to the top two eigenvalues (by modulus) of the nonbacktracking matrix. We can remove one of those eigenvalues as follows. Let
b = 1 + ∑ j = 1 L t j ( A ( j ) − d A ( j − 1 ) ) 1 , b = 1 + \sum_{j=1}^{L} t^j\left(A^{(j)} - dA^{(j-1)}\right)\mathbf{1}, b = 1 + j = 1 ∑ L t j ( A ( j ) − d A ( j − 1 ) ) 1 ,
where L = L ( d , λ ) ≥ 2 L = L(d,\lambda) \ge2 L = L ( d , λ ) ≥ 2 will be a sufficiently large constant (see Lemma 6.5 (i)). We will eventually see that, when λ > 0 \lambda> 0 λ > 0 , the chosen b b b satisfies b T H b < 0 b^{\mathsf{T}}Hb < 0 b T H b < 0 with high probability.
To align an eigenvector of H H H with σ ( s ) \sigma^{(s)} σ ( s ) we also need to multiply by A G ( s ) A_G^{(s)} A G ( s ) . All together, we get the corrected Bethe Hessian:
M s ( G ) = ( d λ ) − 2 s { A G ( s ) ( H + 2 ( H b ) ( H b ) T − b T H b ) A G ( s ) , λ > 0 , A G ( s ) H A G ( s ) , λ < 0. M_s(G) = (d\lambda)^{-2s}
\begin{cases}
A_G^{(s)}\left(H + \frac{2(Hb)(Hb)^{\mathsf{T}}}{-b^{\mathsf{T}}Hb}\right)A_G^{(s)}, & \lambda> 0, \\
A_G^{(s)}HA_G^{(s)}, & \lambda< 0.
\end{cases} M s ( G ) = ( d λ ) − 2 s { A G ( s ) ( H + − b T H b 2 ( H b ) ( H b ) T ) A G ( s ) , A G ( s ) H A G ( s ) , λ > 0 , λ < 0.
Now we can state the key properties of the M s M_s M s matrices when G ∼ S B M G \sim\mathrm{SBM} G ∼ SBM . First is that σ ( s ) \sigma^{(s)} σ ( s ) can be recovered from its (unique) negative eigenvector; for making this recovery algorithm robust it is also important that this vector is delocalized in the sense of having small ℓ 4 \ell_4 ℓ 4 norm.
Lemma 5.6 (Informative negative eigenvector). Let d λ 2 > 1 d\lambda^2 > 1 d λ 2 > 1 . There is a constant g ( d , λ ) > 0 g(d,\lambda) > 0 g ( d , λ ) > 0 such that for every ε > 0 \varepsilon> 0 ε > 0 there is s 0 ( ε ) s_0(\varepsilon) s 0 ( ε ) such that for every s > s 0 s > s_0 s > s 0 , with high probability M s M_s M s has exactly one negative eigenvalue, and σ ( s ) \sigma^{(s)} σ ( s ) is approximately an associated eigenvector, in that
∥ ( M s + g I ) σ ( s ) ∥ ≤ ε ∥ σ ( s ) ∥ . \left\|(M_s + gI)\sigma^{(s)}\right\| \le\varepsilon\left\|\sigma^{(s)}\right\|. ( M s + g I ) σ ( s ) ≤ ε σ ( s ) . Moreover, there is C = C ( d , λ ) C = C(d,\lambda) C = C ( d , λ ) , not depending on s s s , such that with high probability, σ ( s ) \sigma^{(s)} σ ( s ) is delocalized, in that
∥ σ ( s ) ∥ 4 4 ∥ σ ( s ) ∥ 1 4 ≤ C n . \frac{\left\|\sigma^{(s)}\right\|_4^4}{\left\|\sigma^{(s)}\right\|_1^4} \le\frac{C}{n}. σ ( s ) 1 4 σ ( s ) 4 4 ≤ n C .
We prove the above in § 6 . In light of Lemma 5.6, our goal will be to recover the negative eigenvector of the corrected Bethe Hessian M s ( G ) M_s(G) M s ( G ) , given access only to an adversarially corrupted graph F F F . A first ingredient is to define a norm in which the adversarial corruptions cannot change M s M_s M s too much (allowing for some light preprocessing).
Definition 5.7 (Row-sum norms). For E ∈ R n × n E \in\mathbb{R}^{n \times n} E ∈ R n × n ,
∥ E ∥ 1 , 2 = ( ∑ i ∈ [ n ] ( ∑ j ∈ [ n ] ∣ E i j ∣ ) 2 ) 1 / 2 and ∥ E ∥ 1 , ∞ = max i ∈ [ n ] ∑ j ∈ [ n ] ∣ E i j ∣ . \|E\|_{1,2} = \left(\sum_{i \in[n]}\left(\sum_{j \in[n]} |E_{ij}|\right)^2\right)^{1/2}
\qquad\text{and}\qquad
\|E\|_{1,\infty} = \max_{i \in[n]}\sum_{j \in[n]} |E_{ij}|. ∥ E ∥ 1 , 2 = i ∈ [ n ] ∑ j ∈ [ n ] ∑ ∣ E ij ∣ 2 1/2 and ∥ E ∥ 1 , ∞ = i ∈ [ n ] max j ∈ [ n ] ∑ ∣ E ij ∣.
A simple preprocessing routine – removing high degree vertices – can use the adversarially-corrupted graph F F F and arrive at a matrix M ~ \widetilde{M} M which is close to M s ( G ) M_s(G) M s ( G ) .
Lemma 5.8 (Preprocessing for robustness). Let ( G , σ ∗ ) ∼ SBM ( n , d , λ ) (G,\sigma^*) \sim\operatorname{SBM}(n,d,\lambda) ( G , σ ∗ ) ∼ SBM ( n , d , λ ) and d λ 2 > 1 d\lambda^2 > 1 d λ 2 > 1 . For every s ∈ N s \in\mathbb{N} s ∈ N and ε > 0 \varepsilon> 0 ε > 0 , there is a linear-time algorithm, C ≥ 1 C \ge1 C ≥ 1 and η > 0 \eta> 0 η > 0 which with high probability over G G G , given as input any n n n -vertex graph F F F such that ∣ E ( F ) △ E ( G ) ∣ ≤ η n |E(F) \mathbin{\triangle} E(G)| \le\eta n ∣ E ( F ) △ E ( G ) ∣ ≤ η n , produces a symmetric matrix M ~ ∈ R n × n \widetilde{M} \in\mathbb{R}^{n \times n} M ∈ R n × n such that
∥ M ~ − M s ( G ) ∥ 1 , 2 ≤ ε n , ∥ M ~ ∥ 1 , ∞ ≤ C . \lVert\widetilde{M} - M_s(G) \rVert_{1,2} \le\varepsilon\sqrt{n}, \qquad\lVert\widetilde{M} \rVert_{1,\infty} \le C. ∥ M − M s ( G ) ∥ 1 , 2 ≤ ε n , ∥ M ∥ 1 , ∞ ≤ C . Moreover, matrix-vector products by M ~ \widetilde{M} M can be computed in linear time.
We prove the above in § 7 . Finally, we arrive at the key algorithm: a convex program which approximately recovers a delocalized negative eigenvector from a matrix, tolerating perturbations in ∥ ⋅ ∥ 1 , 2 \lVert\cdot\rVert_{1,2} ∥ ⋅ ∥ 1 , 2 norm. Its analysis is presented in § 8 .
Lemma 5.9 (Robust recovery of a delocalized negative eigenvector). There is a randomized algorithm with the following properties. Let ε , g > 0 \varepsilon, g > 0 ε , g > 0 and M , M ~ ∈ R n × n M, \widetilde{M} \in\mathbb{R}^{n \times n} M , M ∈ R n × n be symmetric, with M M M having exactly one negative eigenvalue − g -g − g . Suppose there exists a unit vector w ∈ R n w \in\mathbb{R}^n w ∈ R n satisfying
∥ w ∥ 4 4 ≤ 1 ε n and w ⊤ M w ≤ − ( 1 − ε ) g . \lVert w \rVert_4^4 \le\frac{1}{\varepsilon n}
\qquad\text{and}\qquad
w^\top M w \le-(1-\varepsilon)g. ∥ w ∥ 4 4 ≤ ε n 1 and w ⊤ M w ≤ − ( 1 − ε ) g . Suppose also that ∥ M ~ − M ∥ 1 , 2 ≤ ε g n \lVert\widetilde{M} - M \rVert_{1,2} \le\varepsilon g\sqrt{n} ∥ M − M ∥ 1 , 2 ≤ ε g n . Then, given matrix-vector access to M ~ \widetilde{M} M , an upper bound C ≥ ∥ M ~ ∥ 1 , ∞ + 1 C \ge\lVert\widetilde{M} \rVert_{1,\infty}+1 C ≥ ∥ M ∥ 1 , ∞ + 1 , and ε \varepsilon ε (but not g g g ) as inputs, the algorithm returns a unit vector w ^ \widehat{w} w such that with probability at least 1 − n − 10 1-n^{-10} 1 − n − 10 over the internal randomness of the algorithm,
⟨ w ^ , w ⟩ 2 ≥ 1 − O ( ε ) . \langle\widehat{w},w\rangle^2 \ge1-O(\sqrt{\varepsilon}). ⟨ w , w ⟩ 2 ≥ 1 − O ( ε ) . On the same event, the algorithm performs at most ( 1 + C log n ε g ) O ( 1 ) \left(1+\frac{C\log n}{\varepsilon g}\right)^{O(1)} ( 1 + ε g C l o g n ) O ( 1 ) matrix-vector products with M ~ \widetilde{M} M and at most n n n times as many additional operations.
The algorithm applies matrix entropy mirror descent (that is, the matrix multiplicative weights update) to approximately minimize the following convex function F F F over the set of density matrices { X ∈ R n × n : X ⪰ 0 , Tr X = 1 } \{X \in\mathbb{R}^{n \times n}: X \succeq0, \operatorname{Tr} X = 1\} { X ∈ R n × n : X ⪰ 0 , Tr X = 1 }
F ( X ) = ⟨ M ~ , X ⟩ + C ⋅ dist 1 ( diag X , D 1 / ε ) , F(X)=\langle\widetilde{M},X\rangle+C\cdot\operatorname{dist}_1(\operatorname{diag}X,D_{1/\varepsilon}), F ( X ) = ⟨ M , X ⟩ + C ⋅ dist 1 ( diag X , D 1/ ε ) ,
where D 1 / ε = { q ∈ R n : ∥ q ∥ 2 2 ≤ 1 / ( ε n ) } D_{1/\varepsilon}=\{q\in\mathbb{R}^n:\lVert q\rVert_2^2\le1/(\varepsilon n)\} D 1/ ε = { q ∈ R n : ∥ q ∥ 2 2 ≤ 1/ ( ε n )} .
We are ready to prove Theorem 5.1 .
Proof of Theorem 5.1 . The algorithm runs the preprocessing algorithm of Lemma 5.8 on F F F , gives the resulting matrix M ~ \widetilde{M} M to the algorithm of Lemma 5.9, and runs the postprocessing algorithm of Lemma 5.3 on the resulting unit vector w ^ \widehat{w} w and on F F F .
We choose the parameters in the following order. Let η 1 \eta_1 η 1 , δ \delta δ , and s 0 s_0 s 0 be given by Lemma 5.3 with accuracy ε \varepsilon ε . Let g g g and C C C be the constants of Lemma 5.6, and let ε ′ > 0 \varepsilon' > 0 ε ′ > 0 be small enough that ε ′ ≤ 1 / C \varepsilon' \le1/C ε ′ ≤ 1/ C and the O ( ε ′ ) O(\sqrt{\varepsilon'}) O ( ε ′ ) in Lemma 5.9 is at most δ 2 / 2 \delta^2/2 δ 2 /2 . Fix s ≥ s 0 s \ge s_0 s ≥ s 0 large enough to apply Lemma 5.6 with accuracy ε ′ g / 4 \varepsilon'g/4 ε ′ g /4 . Let η 2 \eta_2 η 2 and C ′ C' C ′ be given by Lemma 5.8 for this s s s and accuracy ε ′ g / 2 \varepsilon'g/2 ε ′ g /2 , and let η = min { η 1 , η 2 } \eta=\min\{\eta_1,\eta_2\} η = min { η 1 , η 2 } . The algorithm of Lemma 5.9 is run with accuracy ε ′ \varepsilon' ε ′ and upper bound C ′ + 1 C'+1 C ′ + 1 .
With high probability over ( G , σ ⋆ ) (G,\sigma^\star) ( G , σ ⋆ ) , the conclusions of Lemmas 5.3, 5.6 and 5.8 all hold. Fix such ( G , σ ⋆ ) (G,\sigma^\star) ( G , σ ⋆ ) and a graph F F F with ∣ E ( F ) △ E ( G ) ∣ ≤ η n |E(F)\triangle E(G)| \le\eta n ∣ E ( F ) △ E ( G ) ∣ ≤ η n . Let M = M s ( G ) M=M_s(G) M = M s ( G ) , let − g ′ -g' − g ′ be its unique negative eigenvalue, and let w = σ ( s ) / ∥ σ ( s ) ∥ w=\sigma^{(s)}/\|\sigma^{(s)}\| w = σ ( s ) /∥ σ ( s ) ∥ , so that ∥ ( M + g I ) w ∥ ≤ ε ′ g / 4 \|(M+gI)w\|\le\varepsilon'g/4 ∥ ( M + g I ) w ∥ ≤ ε ′ g /4 . Expanding w w w in an eigenbasis of M M M shows that M M M has an eigenvalue within ε ′ g / 4 \varepsilon'g/4 ε ′ g /4 of − g -g − g . That eigenvalue is negative, so it is − g ′ -g' − g ′ , and ∣ g ′ − g ∣ ≤ ε ′ g / 4 |g'-g|\le\varepsilon'g/4 ∣ g ′ − g ∣ ≤ ε ′ g /4 ; in particular g ′ ≥ g / 2 g'\ge g/2 g ′ ≥ g /2 . So the hypotheses of Lemma 5.9 hold for M M M , M ~ \widetilde M M , w w w , and ε ′ \varepsilon' ε ′ :
∥ w ∥ 4 4 ≤ C n ≤ 1 ε ′ n . \|w\|_4^4 \le\frac{C}{n}\le\frac{1}{\varepsilon'n}. ∥ w ∥ 4 4 ≤ n C ≤ ε ′ n 1 .
w T M w = w T ( M + g I ) w − g ≤ − g ′ + ε ′ g 2 ≤ − ( 1 − ε ′ ) g ′ , w^\mathsf{T}Mw=w^\mathsf{T}(M+gI)w-g\le-g'+\frac{\varepsilon'g}{2}\le-(1-\varepsilon')g', w T M w = w T ( M + g I ) w − g ≤ − g ′ + 2 ε ′ g ≤ − ( 1 − ε ′ ) g ′ ,
∥ M ~ − M ∥ 1 , 2 ≤ ε ′ g 2 n ≤ ε ′ g ′ n , \|\widetilde M-M\|_{1,2}\le\frac{\varepsilon'g}{2}\sqrt{n}\le\varepsilon'g'\sqrt{n}, ∥ M − M ∥ 1 , 2 ≤ 2 ε ′ g n ≤ ε ′ g ′ n ,
and ∥ M ~ ∥ 1 , ∞ ≤ C ′ \|\widetilde M\|_{1,\infty}\le C' ∥ M ∥ 1 , ∞ ≤ C ′ . Hence with probability at least 1 − n − 10 1-n^{-10} 1 − n − 10 over its internal randomness, the algorithm returns w ^ \widehat w w with ⟨ w ^ , w ⟩ 2 ≥ 1 − δ 2 / 2 \langle\widehat w,w\rangle^2\ge1-\delta^2/2 ⟨ w , w ⟩ 2 ≥ 1 − δ 2 /2 , and then
min a ∈ { ± 1 } ∥ w ^ − a w ∥ 2 = 2 − 2 ∣ ⟨ w ^ , w ⟩ ∣ ≤ 2 ( 1 − ⟨ w ^ , w ⟩ 2 ) ≤ δ 2 . \min_{a\in\{\pm1\}}\|\widehat w-aw\|^2=2-2|\langle\widehat w,w\rangle|\le2(1-\langle\widehat w,w\rangle^2)\le\delta^2. a ∈ { ± 1 } min ∥ w − a w ∥ 2 = 2 − 2∣ ⟨ w , w ⟩ ∣ ≤ 2 ( 1 − ⟨ w , w ⟩ 2 ) ≤ δ 2 .
So Lemma 5.3 gives min a ∈ { ± 1 } ∥ ξ ^ ( F ) − a ξ ∥ ≤ ε \min_{a\in\{\pm1\}}\|\widehat\xi(F)-a\xi\|\le\varepsilon min a ∈ { ± 1 } ∥ ξ ( F ) − a ξ ∥ ≤ ε .
For the running time, preprocessing and postprocessing take linear time. Since C ′ C' C ′ , ε ′ \varepsilon' ε ′ , and g ′ ≥ g / 2 g'\ge g/2 g ′ ≥ g /2 are constants, Lemma 5.9 uses ( log n ) O ( 1 ) (\log n)^{O(1)} ( log n ) O ( 1 ) matrix-vector products with M ~ \widetilde M M , each taking linear time by Lemma 5.8, and n ( log n ) O ( 1 ) n(\log n)^{O(1)} n ( log n ) O ( 1 ) further operations. ■
Negative eigenvalues of the Bethe Hessian
In this section we prove Lemma 5.6.
Lemma 5.6 (Informative negative eigenvector). Let d λ 2 > 1 d\lambda^2>1 d λ 2 > 1 . There is a constant g ( d , λ ) > 0 g(d,\lambda)>0 g ( d , λ ) > 0 such that for every ε > 0 \varepsilon>0 ε > 0 there is s 0 ( ε ) s_0(\varepsilon) s 0 ( ε ) such that for every s > s 0 s>s_0 s > s 0 , with high probability M s M_s M s has exactly one negative eigenvalue, and σ ( s ) \sigma^{(s)} σ ( s ) is approximately an associated eigenvector, in that
∥ ( M s + g I ) σ ( s ) ∥ ≤ ε ∥ σ ( s ) ∥ . \|(M_s+gI)\sigma^{(s)}\|\le\varepsilon\|\sigma^{(s)}\|. ∥ ( M s + g I ) σ ( s ) ∥ ≤ ε ∥ σ ( s ) ∥. Moreover, there is C = C ( d , λ ) C=C(d,\lambda) C = C ( d , λ ) , not depending on s s s , such that with high probability, σ ( s ) \sigma^{(s)} σ ( s ) is delocalized, in that
∥ σ ( s ) ∥ 4 4 ∥ σ ( s ) ∥ 4 ≤ C n . \frac{\|\sigma^{(s)}\|_4^4}{\|\sigma^{(s)}\|^4}\le\frac{C}{n}. ∥ σ ( s ) ∥ 4 ∥ σ ( s ) ∥ 4 4 ≤ n C .
Throughout this section, d λ 2 > 1 d\lambda^2>1 d λ 2 > 1 , and t t t , H = H ( t ) H=H(t) H = H ( t ) , b b b , and M s M_s M s are as in Definition 5.5 . We have yet to choose the constant L ( d , λ ) L(d,\lambda) L ( d , λ ) in the definition of b b b but we will do so in this section. We split the proof into two lemmas.
Lemma 6.1 (Negative eigenvalue bound for the Bethe Hessian). With high probability,
n − ( H ) ≤ { 2 , λ > 0 , 1 , λ < 0. n_-(H)\le
\begin{cases}
2, & \lambda>0,\\
1, & \lambda<0.
\end{cases} n − ( H ) ≤ { 2 , 1 , λ > 0 , λ < 0. where n − ( H ) n_-(H) n − ( H ) counts the number of strictly negative eigenvalues of H H H .
Lemma 6.1 is a quick consequence of [14 ] and [MRW24] so we discharge its proof now.
Proof of Lemma 6.1. Recall that B = B G B=B_G B = B G is the nonbacktracking matrix. By [MRW24, Lemma 5.4], n − ( H ) n_-(H) n − ( H ) is at most the number of real eigenvalues θ \theta θ of B B B with t θ > 1 t\theta>1 tθ > 1 , counted with multiplicity. By [14 Theorem 4] , with high probability all eigenvalues of B B B other than d + o ( 1 ) d+o(1) d + o ( 1 ) and d λ + o ( 1 ) d\lambda+o(1) d λ + o ( 1 ) have modulus at most d + o ( 1 ) \sqrt{d}+o(1) d + o ( 1 ) . Since ∣ t ∣ d < 1 |t|\sqrt{d}<1 ∣ t ∣ d < 1 , none of these other eigenvalues satisfies t θ > 1 t\theta>1 tθ > 1 , so n − ( H ) ≤ 2 n_-(H)\leq2 n − ( H ) ≤ 2 . When λ < 0 \lambda<0 λ < 0 , also t < 0 t<0 t < 0 , so t θ > 1 t\theta>1 tθ > 1 forces θ < 0 \theta<0 θ < 0 , which rules out the eigenvalue near d d d ; hence in this case n − ( H ) ≤ 1 n_-(H)\leq1 n − ( H ) ≤ 1 . ■
The second main lemma shows that several scalar inequalities related to H H H , M s M_s M s , and σ ( s ) \sigma^{(s)} σ ( s ) hold with high probability in the SBM. We will prove it in subsequent subsections. The notation is as in Definition 5.5 and Lemma 5.6.
Lemma 6.2. (Estimates for the corrected Bethe Hessian, see § 6.1 ).
(a) If λ > 0 \lambda>0 λ > 0 , then 1 n b T H b \frac{1}{n}b^{\mathsf T}Hb n 1 b T H b converges in probability to a negative constant.
(b) There is a constant g = g ( d , λ ) > 0 g=g(d,\lambda)>0 g = g ( d , λ ) > 0 such that for every ε > 0 \varepsilon>0 ε > 0 there is s 0 s_0 s 0 such that for every s ≥ s 0 s\geq s_0 s ≥ s 0 , with high probability,
∥ ( M s + g I ) σ ( s ) ∥ ≤ ε ∥ σ ( s ) ∥ . \left\|(M_s+gI)\sigma^{(s)}\right\|\leq\varepsilon\left\|\sigma^{(s)}\right\|. ( M s + g I ) σ ( s ) ≤ ε σ ( s ) . (c) There is C = C ( d , λ ) C=C(d,\lambda) C = C ( d , λ ) such that for every s s s , with high probability
∥ σ ( s ) ∥ 4 4 ≤ C n ∥ σ ( s ) ∥ 4 . \left\|\sigma^{(s)}\right\|_4^4\leq\frac{C}{n}\left\|\sigma^{(s)}\right\|^4. σ ( s ) 4 4 ≤ n C σ ( s ) 4 .
Now we can prove Lemma 5.6.
Proof of Lemma 5.6. The bound on ∥ ( M s + g I ) σ ( s ) ∥ \left\|(M_s+gI)\sigma^{(s)}\right\| ( M s + g I ) σ ( s ) and the delocalization bounds in Lemma 5.6 are Lemma 6.2(b) and (c) respectively. It remains to count negative eigenvalues of M s M_s M s . Let g g g be the constant in Lemma 6.2(b). Fix ε > 0 \varepsilon>0 ε > 0 , without loss of generality we can assume ε < g / 2 \varepsilon<g/2 ε < g /2 . Let s 0 s_0 s 0 be given by Lemma 6.2(b) applied with min { ε , g / 2 } \min\{\varepsilon,g/2\} min { ε , g /2 } in place of ε \varepsilon ε . Fix s > s 0 s>s_0 s > s 0 . Everything below holds on the intersection of the high-probability events in Lemmas 6.1 and 6.2.
First we show that M s M_s M s has at most one negative eigenvalue. If λ < 0 \lambda<0 λ < 0 then M s = ( d λ ) − 2 s A ( s ) H A ( s ) M_s=(d\lambda)^{-2s}A^{(s)}HA^{(s)} M s = ( d λ ) − 2 s A ( s ) H A ( s ) . Multiplication on right and left by A ( s ) A^{(s)} A ( s ) cannot increase the number of negative eigenvalues, and by Lemma 6.1 H H H has at most one negative eigenvalue.
If λ > 0 \lambda>0 λ > 0 , then H H H could have 2 negative eigenvalues. It will be enough to show that the rank-one corrected matrix
H ′ = H + 2 ( H b ) ( H b ) T − b T H b H'=H+\frac{2(Hb)(Hb)^{\mathsf T}}{-b^{\mathsf T}Hb} H ′ = H + − b T H b 2 ( H b ) ( H b ) T
has at most one negative eigenvalue. This uses only simple linear algebra to show that such a rank-one correction of a matrix with 2 negative eigenvalues leads to one with a single negative eigenvalue. We construct an ( n − 1 ) (n-1) ( n − 1 ) -dimensional subspace on which H ′ H' H ′ is PSD. Let U U U be the span of the eigenvectors of H H H with nonnegative eigenvalues, so that dim U ≥ n − 2 \dim U\geq n-2 dim U ≥ n − 2 by Lemma 6.1 . By Lemma 6.2(a), − b ⊤ H b > 0 -b^{\top}Hb > 0 − b ⊤ H b > 0 , so b ∉ U b \notin U b ∈ / U and U ⊕ span { b } U \oplus\operatorname{span}\{b\} U ⊕ span { b } has dimension at least n − 1 n - 1 n − 1 . For y = u + α b y = u + \alpha b y = u + α b with u ∈ U u \in U u ∈ U , expanding and completing the square gives
y ⊤ H ′ y = u ⊤ H u − b ⊤ H b ( α + b ⊤ H u b ⊤ H b ) 2 − ( b ⊤ H u ) 2 b ⊤ H b ≥ 0. y^{\top}H'y = u^{\top}Hu - b^{\top}Hb\left(\alpha+ \frac{b^{\top}Hu}{b^{\top}Hb}\right)^2 - \frac{(b^{\top}Hu)^2}{b^{\top}Hb} \ge0. y ⊤ H ′ y = u ⊤ H u − b ⊤ H b ( α + b ⊤ H b b ⊤ H u ) 2 − b ⊤ H b ( b ⊤ H u ) 2 ≥ 0.
It remains now to show that M s M_s M s also has at least one negative eigenvalue. Let u = σ ( s ) / ∥ σ ( s ) ∥ u = \sigma^{(s)} / \lVert\sigma^{(s)} \rVert u = σ ( s ) / ∥ σ ( s ) ∥ . By Lemma 6.2(b), ∥ ( M s + g I ) u ∥ ≤ g / 2 \lVert(M_s + gI)u \rVert\le g/2 ∥( M s + g I ) u ∥ ≤ g /2 , so
u ⊤ M s u = u ⊤ ( M s + g I ) u − g ≤ ∥ ( M s + g I ) u ∥ − g < 0. u^{\top}M_su = u^{\top}(M_s + gI)u - g \le\lVert(M_s + gI)u \rVert- g < 0. u ⊤ M s u = u ⊤ ( M s + g I ) u − g ≤ ∥( M s + g I ) u ∥ − g < 0.
Reduction to the broadcast tree
In this section we prove Lemma 6.2 by assembling a number of facts about the broadcasting on trees process. We start with some definitions.
Definition 6.3 (Local statistics). An R R R -local statistic is a real-valued function f f f of a rooted graph whose vertices carry ± 1 \pm1 ± 1 labels such that, for some R R R , f f f depends only on the radius-R R R neighborhood of the root, whose magnitude is always at most ( 1 + N ) R (1 + N)^R ( 1 + N ) R , where N N N is the number of vertices of that neighborhood. For a labeled graph which will be clear from context and a vertex v v v , we write f ( v ) f(v) f ( v ) for f f f evaluated on the graph rooted at v v v .
Local statistics form a vector space – it’s easy to check that if f , h f,h f , h are both R R R -local then c ⋅ f c \cdot f c ⋅ f is ( R + log ∣ c ∣ ) (R + \log|c|) ( R + log ∣ c ∣ ) -local and f + h f + h f + h is ( R + 1 ) (R + 1) ( R + 1 ) -local. (This fact depends on using ( 1 + N ) R (1 + N)^R ( 1 + N ) R in the definition rather than the more-natural-looking N R N^R N R .) Furthermore, the broadcast process induces an inner product on local statistics. Let ⟨ f , h ⟩ = E T , x [ f ( o ) h ( o ) ] \langle f,h\rangle= \mathbb{E}_{T,x}[f(o)h(o)] ⟨ f , h ⟩ = E T , x [ f ( o ) h ( o )] where ( T , x ) (T,x) ( T , x ) is a labeled broadcast tree with parameters d , λ d,\lambda d , λ whose root is o o o , and let ∥ f ∥ L p = ( E ∣ f ( o ) ∣ p ) 1 / p \lVert f \rVert_{L^p} = (\mathbb{E}|f(o)|^p)^{1/p} ∥ f ∥ L p = ( E ∣ f ( o ) ∣ p ) 1/ p . We write ∥ f ∥ \lVert f \rVert ∥ f ∥ for ∥ f ∥ L 2 \lVert f \rVert_{L^2} ∥ f ∥ L 2 .
Mildly abusing notation, for each of the matrices involved in Definition 5.5 we introduce a linear operator on local statistics with the same name. In particular,
( A ( j ) f ) ( v ) = ∑ ( v 0 , … , v j ) f ( v j ) , ( D f ) ( v ) = deg ( v ) ⋅ f ( v ) (A^{(j)}f)(v) = \sum_{(v_0,\ldots,v_j)} f(v_j), \qquad(Df)(v) = \deg(v) \cdot f(v) ( A ( j ) f ) ( v ) = ( v 0 , … , v j ) ∑ f ( v j ) , ( D f ) ( v ) = deg ( v ) ⋅ f ( v )
where the sum is over nonbacktracking walks with v 0 = v v_0 = v v 0 = v , and the notation f ( v j ) f(v_j) f ( v j ) means that f f f is evaluated on the same underlying labeled graph which contains v v v , but moving the root to vertex v j v_j v j . H H H is defined analogously. Locality is well behaved under these linear transformations: A ( j ) A^{(j)} A ( j ) maps R R R -local statistics to ( R + j ) (R + j) ( R + j ) -local statistics, and D D D maps R R R -local statistics to ( R + 1 ) (R + 1) ( R + 1 ) -local statistics.
In particular, continuing to abuse notation by conflating vectors in R n \mathbb{R}^n R n and local statistics, σ ( s ) \sigma^{(s)} σ ( s ) is the local statistic ( d λ ) − s A ( s ) x (d\lambda)^{-s}A^{(s)}x ( d λ ) − s A ( s ) x , and b b b and H b Hb H b are local statistics. Products of local statistics are again local statistics.
We will repeatedly use the following immediate consequence of Fact 4.7, which justifies our abuse of notation – it says that as far as local statistics are concerned, the inner product spaces induced by the SBM graph and by the broadcast tree act the same.
Lemma 6.4 (Transfer to the broadcast tree, corollary of Fact 4.7). For every R ∈ N R \in\mathbb{N} R ∈ N and every pair of R R R -local statistics f , h f,h f , h , if ( G , σ ⋆ ) ∼ SBM ( n , d , λ ) (G,\sigma^\star) \sim\operatorname{SBM}(n,d,\lambda) ( G , σ ⋆ ) ∼ SBM ( n , d , λ ) ,
1 n ∑ v ∈ [ n ] f ( v ) h ( v ) → P r ⟨ f , h ⟩ T , \frac{1}{n}\sum_{v\in[n]} f(v)h(v) \xrightarrow{\mathrm{Pr}} \langle f,h\rangle_T, n 1 v ∈ [ n ] ∑ f ( v ) h ( v ) Pr ⟨ f , h ⟩ T , where in the sum v v v ranges over vertices of G G G .
The following lemma collects the estimates on the broadcast tree that we need; we prove it in the next subsection. Importantly, each of the quantities in the lemma concerns a local statistic.
Lemma 6.5 (Tree estimates, proved in § 6.2 ).
(i) If λ > 0 \lambda> 0 λ > 0 and L L L is large enough, then ⟨ b , H b ⟩ T < 0 \langle b,Hb\rangle_T < 0 ⟨ b , H b ⟩ T < 0 .
(ii) If λ > 0 \lambda> 0 λ > 0 , then ⟨ H b , A ( s ) σ ( s ) ⟩ T = 0 \langle Hb,A^{(s)}\sigma^{(s)}\rangle_T = 0 ⟨ H b , A ( s ) σ ( s ) ⟩ T = 0 for every s s s .
(iii) For every s s s , ∥ σ ( s ) ∥ L 2 ≥ 1 \|\sigma^{(s)}\|_{L^2} \ge1 ∥ σ ( s ) ∥ L 2 ≥ 1 , and sup s ∥ σ ( s ) ∥ L 4 < ∞ \sup_s\|\sigma^{(s)}\|_{L^4} < \infty sup s ∥ σ ( s ) ∥ L 4 < ∞ .
(iv) There is a constant g = g ( d , λ ) > 0 g=g(d,\lambda)>0 g = g ( d , λ ) > 0 such that, as s → ∞ s\to\infty s → ∞ ,
∥ ( d λ ) − 2 s A ( s ) H A ( s ) σ ( s ) + g σ ( s ) ∥ L 2 → 0. \left\|(d\lambda)^{-2s}A^{(s)}HA^{(s)}\sigma^{(s)}+g\sigma^{(s)}\right\|_{L^2}\to0. ( d λ ) − 2 s A ( s ) H A ( s ) σ ( s ) + g σ ( s ) L 2 → 0.
Proof of Lemma 6.2. Part (a) is immediate from Lemma 6.4 and Lemma 6.5 (i). Part (c) is immediate from Lemma 6.4 and Lemma 6.5 (iii).
We turn to part (b). Most of the work is to show that the rank-one correction term has negligible interaction with σ ( s ) \sigma^{(s)} σ ( s ) . For notational convenience, let
r s = ( d λ ) − 2 s A ( s ) H A ( s ) σ ( s ) + g σ ( s ) r_s=(d\lambda)^{-2s}A^{(s)}HA^{(s)}\sigma^{(s)}+g\sigma^{(s)} r s = ( d λ ) − 2 s A ( s ) H A ( s ) σ ( s ) + g σ ( s )
be the local statistic in Lemma 6.5 (iv). (As usual we sometimes abuse notation and also write r s r_s r s for the n n n -dimensional vector associated to an SBM graph.)
Fix ε > 0 \varepsilon>0 ε > 0 . By Lemma 6.5 (iv), there is s 0 s_0 s 0 such that ∥ r s ∥ L 2 ≤ ε / 4 \|r_s\|_{L^2}\le\varepsilon/4 ∥ r s ∥ L 2 ≤ ε /4 for every s ≥ s 0 s\ge s_0 s ≥ s 0 ; fix such an s s s . By Lemma 6.4 , 1 n ∥ r s ∥ 2 \frac{1}{n}\|r_s\|^2 n 1 ∥ r s ∥ 2 converges in probability to a limit at most ε 2 / 16 \varepsilon^2/16 ε 2 /16 , so with high probability ∥ r s ∥ ≤ ε 3 n ≤ ε 2 ∥ σ ( s ) ∥ \|r_s\|\le\frac{\varepsilon}{3}\sqrt{n}\le\frac{\varepsilon}{2}\|\sigma^{(s)}\| ∥ r s ∥ ≤ 3 ε n ≤ 2 ε ∥ σ ( s ) ∥ , using ∥ σ ( s ) ∥ 2 ≥ n / 2 \|\sigma^{(s)}\|^2\ge n/2 ∥ σ ( s ) ∥ 2 ≥ n /2 . If λ < 0 \lambda<0 λ < 0 , then M s = ( d λ ) − 2 s A ( s ) H A ( s ) M_s=(d\lambda)^{-2s}A^{(s)}HA^{(s)} M s = ( d λ ) − 2 s A ( s ) H A ( s ) , so ( M s + g I ) σ ( s ) = r s (M_s+gI)\sigma^{(s)}=r_s ( M s + g I ) σ ( s ) = r s , so we are done with the λ < 0 \lambda<0 λ < 0 case. If λ > 0 \lambda>0 λ > 0 , then
( M s + g I ) σ ( s ) = r s + ( d λ ) − 2 s A ( s ) 2 ( H b ) ( H b ) ⊤ − b ⊤ H b A ( s ) σ ( s ) . (M_s+gI)\sigma^{(s)}=r_s+(d\lambda)^{-2s}A^{(s)}\frac{2(Hb)(Hb)^\top}{-b^\top Hb}A^{(s)}\sigma^{(s)}. ( M s + g I ) σ ( s ) = r s + ( d λ ) − 2 s A ( s ) − b ⊤ H b 2 ( H b ) ( H b ) ⊤ A ( s ) σ ( s ) .
The last term is A ( s ) H b A^{(s)}Hb A ( s ) H b times the scalar 2 ( H b ) ⊤ A ( s ) σ ( s ) / ( ( d λ ) 2 s ( − b ⊤ H b ) ) 2(Hb)^\top A^{(s)}\sigma^{(s)}/((d\lambda)^{2s}(-b^\top Hb)) 2 ( H b ) ⊤ A ( s ) σ ( s ) / (( d λ ) 2 s ( − b ⊤ H b )) , so divided by n \sqrt{n} n it has norm
2 ∥ A ( s ) H b ∥ ( d λ ) 2 s n ⋅ ∣ 1 n ( H b ) ⊤ A ( s ) σ ( s ) ∣ − 1 n b ⊤ H b . \frac{2\|A^{(s)}Hb\|}{(d\lambda)^{2s}\sqrt{n}}\cdot\frac{\left|\frac{1}{n}(Hb)^\top A^{(s)}\sigma^{(s)}\right|}{-\frac{1}{n}b^\top Hb}. ( d λ ) 2 s n 2∥ A ( s ) H b ∥ ⋅ − n 1 b ⊤ H b n 1 ( H b ) ⊤ A ( s ) σ ( s ) .
By Lemma 6.4 , the first factor converges to 2 ( d λ ) − 2 s ∥ A ( s ) H b ∥ L 2 < ∞ 2(d\lambda)^{-2s}\|A^{(s)}Hb\|_{L^2}<\infty 2 ( d λ ) − 2 s ∥ A ( s ) H b ∥ L 2 < ∞ , the numerator converges to ⟨ H b , A ( s ) σ ( s ) ⟩ T = 0 \langle Hb,A^{(s)}\sigma^{(s)}\rangle_T=0 ⟨ H b , A ( s ) σ ( s ) ⟩ T = 0 by Lemma 6.5 (ii), and the denominator converges to − ⟨ b , H b ⟩ T > 0 -\langle b,Hb\rangle_T>0 − ⟨ b , H b ⟩ T > 0 by Lemma 6.5 (i). So with high probability the last term has norm at most ε 3 n ≤ ε 2 ∥ σ ( s ) ∥ \frac{\varepsilon}{3}\sqrt{n}\le\frac{\varepsilon}{2}\|\sigma^{(s)}\| 3 ε n ≤ 2 ε ∥ σ ( s ) ∥ , and the triangle inequality gives (b). ■
Proof of the tree estimates
We now prove Lemma 6.5 . We prove them roughly in order of difficulty, (ii), (iii), (i), and finally (iv), building up the necessary infrastructure about broadcast trees along the way.
Definition 6.6 (Odd and even local statistics). Call a local statistic odd if reversing all labels negates it, and even if reversing all labels leaves it unchanged. For example, the root label x x x is odd, 1 is even, and A ( j ) A^{(j)} A ( j ) , D D D , and H H H preserve parity, since they do not look at labels.
Since the law of the Galton-Watson tree is invariant under flipping the signs of the labels, even and odd local statistics are mutually orthogonal. Now we can discharge the proof of (ii).
Proof of Lemma 6.5 (ii). The statistic H b Hb H b is even and A ( s ) σ ( s ) A^{(s)}\sigma^{(s)} A ( s ) σ ( s ) is odd. ■
Now we assemble a few more tools needed for (iii). For m ≥ 0 m \ge0 m ≥ 0 , let F m \mathcal{F}_m F m be the σ \sigma σ -algebra generated by the broadcast tree and its labels up to depth m m m , and let Z m Z_m Z m be the number of vertices at depth m m m , so that E Z m = d m \mathbb{E} Z_m = d^m E Z m = d m .
Lemma 6.7 (Convergence of σ ( s ) \sigma^{(s)} σ ( s ) ). As r → ∞ r \to\infty r → ∞ , sup s ≥ r ∥ σ ( s ) − σ ( r ) ∥ L 4 → 0 \sup_{s \ge r}\|\sigma^{(s)}-\sigma^{(r)}\|_{L^4} \to0 sup s ≥ r ∥ σ ( s ) − σ ( r ) ∥ L 4 → 0 .
Proof. Writing σ ( s ) − σ ( r ) = ∑ j = r + 1 s ( σ ( j ) − σ ( j − 1 ) ) \sigma^{(s)}-\sigma^{(r)}=\sum_{j=r+1}^{s}(\sigma^{(j)}-\sigma^{(j-1)}) σ ( s ) − σ ( r ) = ∑ j = r + 1 s ( σ ( j ) − σ ( j − 1 ) ) as a telescoping sum, it suffices to show that ∥ σ ( j ) − σ ( j − 1 ) ∥ L 4 \|\sigma^{(j)}-\sigma^{(j-1)}\|_{L^4} ∥ σ ( j ) − σ ( j − 1 ) ∥ L 4 is summable in j j j . Given F j − 1 \mathcal{F}_{j-1} F j − 1 , each vertex u u u at depth j − 1 j-1 j − 1 has independent Poi ( d ( 1 + λ ) / 2 ) \operatorname{Poi}(d(1+\lambda)/2) Poi ( d ( 1 + λ ) /2 ) and Poi ( d ( 1 − λ ) / 2 ) \operatorname{Poi}(d(1-\lambda)/2) Poi ( d ( 1 − λ ) /2 ) numbers of children with signs x u x_u x u and − x u -x_u − x u , and expanding σ ( j ) \sigma^{(j)} σ ( j ) and σ ( j − 1 ) \sigma^{(j-1)} σ ( j − 1 ) each evaluated at the root we get
( σ ( j ) − σ ( j − 1 ) ) ( o ) = ( d λ ) − j ⋅ ∑ u at depth j − 1 ( ∑ c child of u x c − d λ x u ) . (\sigma^{(j)}-\sigma^{(j-1)})(o)=(d\lambda)^{-j}\cdot\sum_{u\text{ at depth }j-1}\left(\sum_{c\text{ child of }u}x_c-d\lambda x_u\right). ( σ ( j ) − σ ( j − 1 ) ) ( o ) = ( d λ ) − j ⋅ u at depth j − 1 ∑ ( c child of u ∑ x c − d λ x u ) .
Given F j − 1 \mathcal{F}_{j-1} F j − 1 , the terms in the sum ∑ u at depth j − 1 ( ⋯ ) \sum_{u\text{ at depth }j-1}(\cdots) ∑ u at depth j − 1 ( ⋯ ) are independent and mean zero, and the terms in the sum all have the same fourth moment, which depends only on d , λ d,\lambda d , λ and is independent of j j j . There are Z j − 1 Z_{j-1} Z j − 1 terms in the sum. So
E [ ( σ ( j ) − σ ( j − 1 ) ) ( o ) 4 ∣ F j − 1 ] ≤ ( d λ ) − 4 j ⋅ O d , λ ( Z j − 1 2 ) . \mathbb{E}\left[(\sigma^{(j)}-\sigma^{(j-1)})(o)^4\mid\mathcal{F}_{j-1}\right]\le(d\lambda)^{-4j}\cdot O_{d,\lambda}(Z_{j-1}^2). E [ ( σ ( j ) − σ ( j − 1 ) ) ( o ) 4 ∣ F j − 1 ] ≤ ( d λ ) − 4 j ⋅ O d , λ ( Z j − 1 2 ) .
Since E Z m 2 ≤ O d ( d 2 m ) \mathbb{E}Z_m^2\le O_d(d^{2m}) E Z m 2 ≤ O d ( d 2 m ) , taking expectations,
∥ σ ( j ) − σ ( j − 1 ) ∥ L 4 4 ≤ ( d λ ) − 4 j ⋅ O d , λ ( d 2 j ) = O d , λ ( ( d λ 2 ) − 2 j ) , \|\sigma^{(j)}-\sigma^{(j-1)}\|_{L^4}^4\le(d\lambda)^{-4j}\cdot O_{d,\lambda}(d^{2j})=O_{d,\lambda}((d\lambda^2)^{-2j}), ∥ σ ( j ) − σ ( j − 1 ) ∥ L 4 4 ≤ ( d λ ) − 4 j ⋅ O d , λ ( d 2 j ) = O d , λ (( d λ 2 ) − 2 j ) ,
so ∥ σ ( j ) − σ ( j − 1 ) ∥ L 4 = O d , λ ( ( d λ 2 ) − j / 2 ) \|\sigma^{(j)}-\sigma^{(j-1)}\|_{L^4}=O_{d,\lambda}((d\lambda^2)^{-j/2}) ∥ σ ( j ) − σ ( j − 1 ) ∥ L 4 = O d , λ (( d λ 2 ) − j /2 ) , which is summable in j j j since d λ 2 > 1 d\lambda^2>1 d λ 2 > 1 . ■
Now we can prove Lemma 6.5 (iii).
Proof of Lemma 6.5 (iii). A quick calculation shows ⟨ x , σ ( s ) ⟩ = 1 \langle x,\sigma^{(s)}\rangle=1 ⟨ x , σ ( s ) ⟩ = 1 , and since ∥ x ∥ = 1 \|x\|=1 ∥ x ∥ = 1 , by Cauchy-Schwarz we must have ∥ σ ( s ) ∥ ≥ 1 \|\sigma^{(s)}\|\ge1 ∥ σ ( s ) ∥ ≥ 1 . The fourth moment bound is immediate from Lemma 6.7 . ■
Next we prove Lemma 6.5 (i), using a similar telescoping-sum strategy. The only computation needed is the following truncation of the generating function of nonbacktracking walks. It is an identity of matrices on any graph, and of operators on local statistics.
Fact 6.8 (Nonbacktracking generating function). For every m ≥ 1 m \ge1 m ≥ 1 ,
H ∑ j = 0 m t j A ( j ) = ( 1 − t 2 ) I − t m + 1 A ( m + 1 ) + t m + 2 ( D − I ) A ( m ) . H \sum_{j=0}^{m} t^{j}A^{(j)} = (1-t^{2})I-t^{m+1}A^{(m+1)}+t^{m+2}(D-I)A^{(m)}. H j = 0 ∑ m t j A ( j ) = ( 1 − t 2 ) I − t m + 1 A ( m + 1 ) + t m + 2 ( D − I ) A ( m ) . Proof. Expand H = I − t A + t 2 ( D − I ) H=I-tA+t^{2}(D-I) H = I − t A + t 2 ( D − I ) and apply A A ( j ) = A ( j + 1 ) + ( D − I ) A ( j − 1 ) AA^{(j)}=A^{(j+1)}+(D-I)A^{(j-1)} A A ( j ) = A ( j + 1 ) + ( D − I ) A ( j − 1 ) for j ≥ 2 j \ge2 j ≥ 2 and A A ( 1 ) = A ( 2 ) + ( D − I ) + I AA^{(1)}=A^{(2)}+(D-I)+I A A ( 1 ) = A ( 2 ) + ( D − I ) + I . All terms other than the displayed ones cancel in pairs.
Proof of Lemma 6.5(i). By definition, b = F L − d t F L − 1 b=F_L-dtF_{L-1} b = F L − d t F L − 1 , where F m = ∑ j = 0 m t j A ( j ) 1 F_m=\sum_{j=0}^{m}t^jA^{(j)}\mathbf{1} F m = ∑ j = 0 m t j A ( j ) 1 . Writing Δ j = A ( j ) 1 − d A ( j − 1 ) 1 \Delta_j=A^{(j)}\mathbf{1}-dA^{(j-1)}\mathbf{1} Δ j = A ( j ) 1 − d A ( j − 1 ) 1 , Fact 6.8, applied with m = L m=L m = L and m = L − 1 ≥ 1 m=L-1 \ge1 m = L − 1 ≥ 1 , gives
H b = H F L − d t H F L − 1 = ( 1 − t 2 ) 1 − t L + 1 A ( L + 1 ) 1 + t L + 2 ( D − I ) A ( L ) 1 \begin{aligned}
Hb=HF_L-dt\,HF_{L-1} \\
&=(1-t^2)\mathbf{1}-t^{L+1}A^{(L+1)}\mathbf{1}+t^{L+2}(D-I)A^{(L)}\mathbf{1}
\end{aligned} H b = H F L − d t H F L − 1 = ( 1 − t 2 ) 1 − t L + 1 A ( L + 1 ) 1 + t L + 2 ( D − I ) A ( L ) 1
− d t ( ( 1 − t 2 ) 1 − t L A ( L ) 1 + t L + 1 ( D − I ) A ( L − 1 ) 1 ) = ( 1 − t 2 ) ( 1 − d t ) 1 − t L + 1 Δ L + 1 + t L + 2 ( D − I ) Δ L . \begin{aligned}
-dt\left((1-t^2)\mathbf{1}-t^LA^{(L)}\mathbf{1}+t^{L+1}(D-I)A^{(L-1)}\mathbf{1}\right) \\
&=(1-t^2)(1-dt)\mathbf{1}-t^{L+1}\Delta_{L+1}+t^{L+2}(D-I)\Delta_L.
\end{aligned} − d t ( ( 1 − t 2 ) 1 − t L A ( L ) 1 + t L + 1 ( D − I ) A ( L − 1 ) 1 ) = ( 1 − t 2 ) ( 1 − d t ) 1 − t L + 1 Δ L + 1 + t L + 2 ( D − I ) Δ L .
Using the same telescoping expansion as in the proof of (iii) applied to Δ j \Delta_j Δ j shows ∥ Δ j ∥ ≤ O ( d j / 2 ) \|\Delta_j\|\le O(d^{j/2}) ∥ Δ j ∥ ≤ O ( d j /2 ) and ∥ ( D − I ) Δ j ∥ ≤ O ( d j / 2 ) \|(D-I)\Delta_j\|\le O(d^{j/2}) ∥ ( D − I ) Δ j ∥ ≤ O ( d j /2 ) . Hence we have
H b = ( 1 − t 2 ) ( 1 − d t ) 1 − O d ( ( d t 2 ) L / 2 ) . Hb=(1-t^2)(1-dt)\mathbf{1}-O_d((dt^2)^{L/2}). H b = ( 1 − t 2 ) ( 1 − d t ) 1 − O d (( d t 2 ) L /2 ) .
Furthermore, b = 1 + ∑ j = 1 L t j Δ j b=\mathbf{1}+\sum_{j=1}^{L}t^j\Delta_j b = 1 + ∑ j = 1 L t j Δ j has ⟨ b , 1 ⟩ = 1 \langle b,\mathbf{1}\rangle=1 ⟨ b , 1 ⟩ = 1 and ∥ b ∥ 2 = ∑ j = 0 L ( d t 2 ) j = O ( 1 ) \|b\|^2=\sum_{j=0}^{L}(dt^2)^j=O(1) ∥ b ∥ 2 = ∑ j = 0 L ( d t 2 ) j = O ( 1 ) where we used d t 2 < 1 dt^2<1 d t 2 < 1 . Hence, ⟨ b , H b ⟩ = ( 1 − t 2 ) ( 1 − d t ) + O ( ( d t 2 ) L / 2 ) \langle b,Hb\rangle=(1-t^2)(1-dt)+O((dt^2)^{L/2}) ⟨ b , H b ⟩ = ( 1 − t 2 ) ( 1 − d t ) + O (( d t 2 ) L /2 ) , which is negative for L L L large enough, since d t 2 < 1 < d t dt^2<1<dt d t 2 < 1 < d t .
We turn to the proof of (iv), which is a bit more involved. Write C ( j ) = ( d λ ) − j A ( j ) C^{(j)}=(d\lambda)^{-j}A^{(j)} C ( j ) = ( d λ ) − j A ( j ) , so that σ ( j ) = C ( j ) x \sigma^{(j)}=C^{(j)}x σ ( j ) = C ( j ) x . The key ingredient for (iv) is the following lemma.
Lemma 6.9 (σ ( s ) \sigma^{(s)} σ ( s ) is an approximate eigenvector of C ( s ) C^{(s)} C ( s ) ). Let c = d λ 2 / ( d λ 2 − 1 ) c=d\lambda^2/(d\lambda^2-1) c = d λ 2 / ( d λ 2 − 1 ) . As s → ∞ s\to\infty s → ∞ , for each s ′ ∈ { s − 1 , s , s + 1 } s'\in\{s-1,s,s+1\} s ′ ∈ { s − 1 , s , s + 1 } ,
(a) ∥ C ( s ) σ ( s ′ ) − c σ ( s ) ∥ → 0 \|C^{(s)}\sigma^{(s')}-c\,\sigma^{(s)}\|\to0 ∥ C ( s ) σ ( s ′ ) − c σ ( s ) ∥ → 0 ,
(b) ∥ C ( s ) ( D − I ) σ ( s ′ ) − ( d c + 1 ) σ ( s ) ∥ → 0 \|C^{(s)}(D-I)\sigma^{(s')}- (dc+1)\sigma^{(s)}\|\to0 ∥ C ( s ) ( D − I ) σ ( s ′ ) − ( d c + 1 ) σ ( s ) ∥ → 0 , and
(c) ∥ C ( s ) H ( C ( s ) σ ( s ) − c σ ( s ) ) ∥ → 0 \|C^{(s)}H(C^{(s)}\sigma^{(s)}-c\,\sigma^{(s)})\|\to0 ∥ C ( s ) H ( C ( s ) σ ( s ) − c σ ( s ) ) ∥ → 0 .
The basic idea of this lemma is simple: once you are summing up the signs at depth s s s , there isn’t much additional information in signs at depth 2 s 2s 2 s . The main difficulty in proving Lemma 6.9 is that as s → ∞ s\to\infty s → ∞ both C ( s ) C^{(s)} C ( s ) and σ ( s ) \sigma^{(s)} σ ( s ) “see” more of the tree at the same time; if instead we only needed to analyze C ( s ) σ ( a ) C^{(s)}\sigma^{(a)} C ( s ) σ ( a ) for a fixed a a a as s → ∞ s\to\infty s → ∞ it would be much easier. We prove Lemma 6.9 in Appendix § 12 , and turn to the proof of Lemma 6.5(iv).
Proof of Lemma 6.5(iv). By Lemma 6.9(c),
∥ C ( s ) H C ( s ) σ ( s ) − c C ( s ) H σ ( s ) ∥ → 0 , (5) \|C^{(s)}HC^{(s)}\sigma^{(s)}-c\,C^{(s)}H\sigma^{(s)}\|\to0, \tag*{(5)} ∥ C ( s ) H C ( s ) σ ( s ) − c C ( s ) H σ ( s ) ∥ → 0 , (5)
as s → ∞ s \to\infty s → ∞ , so it suffices to show that C ( s ) H σ ( s ) C^{(s)}H\sigma^{(s)} C ( s ) H σ ( s ) is close to a negative multiple of σ ( s ) \sigma^{(s)} σ ( s ) . For s ≥ 2 s \ge2 s ≥ 2 , the recurrence A A ( s ) = A ( s + 1 ) + ( D − I ) A ( s − 1 ) AA^{(s)} = A^{(s+1)} + (D-I)A^{(s-1)} A A ( s ) = A ( s + 1 ) + ( D − I ) A ( s − 1 ) gives A σ ( s ) = d λ σ ( s + 1 ) + ( d λ ) − 1 ( D − I ) σ ( s − 1 ) A\sigma^{(s)} = d\lambda\sigma^{(s+1)} + (d\lambda)^{-1}(D-I)\sigma^{(s-1)} A σ ( s ) = d λ σ ( s + 1 ) + ( d λ ) − 1 ( D − I ) σ ( s − 1 ) , so
C ( s ) H σ ( s ) = C ( s ) σ ( s ) − d λ t C ( s ) σ ( s + 1 ) − t d λ C ( s ) ( D − I ) σ ( s − 1 ) + t 2 C ( s ) ( D − I ) σ ( s ) . C^{(s)}H\sigma^{(s)} = C^{(s)}\sigma^{(s)} - d\lambda t C^{(s)}\sigma^{(s+1)} - \frac{t}{d\lambda} C^{(s)}(D-I)\sigma^{(s-1)} + t^2 C^{(s)}(D-I)\sigma^{(s)}. C ( s ) H σ ( s ) = C ( s ) σ ( s ) − d λ t C ( s ) σ ( s + 1 ) − d λ t C ( s ) ( D − I ) σ ( s − 1 ) + t 2 C ( s ) ( D − I ) σ ( s ) .
By Lemma 6.9(a), the first two terms on the right are close to c σ ( s ) c\sigma^{(s)} c σ ( s ) and − d λ t c σ ( s ) -d\lambda t c\sigma^{(s)} − d λ t c σ ( s ) , and by Lemma 6.9(b), the last two are close to − t d λ ( d c + 1 ) σ ( s ) -\frac{t}{d\lambda}(dc+1)\sigma^{(s)} − d λ t ( d c + 1 ) σ ( s ) and t 2 ( d c + 1 ) σ ( s ) t^2(dc+1)\sigma^{(s)} t 2 ( d c + 1 ) σ ( s ) . Adding these, ∥ C ( s ) H σ ( s ) − q σ ( s ) ∥ → 0 \|C^{(s)}H\sigma^{(s)}-q\sigma^{(s)}\|\to0 ∥ C ( s ) H σ ( s ) − q σ ( s ) ∥ → 0 , where
q = ( 1 − d λ t ) c + ( t 2 − t d λ ) ( d c + 1 ) = ( 1 − d λ t ) ( c − t ( d c + 1 ) d λ ) . q=(1-d\lambda t)c+\left(t^2-\frac{t}{d\lambda}\right)(dc+1)=(1-d\lambda t)\left(c-\frac{t(dc+1)}{d\lambda}\right). q = ( 1 − d λ t ) c + ( t 2 − d λ t ) ( d c + 1 ) = ( 1 − d λ t ) ( c − d λ t ( d c + 1 ) ) .
Hence ∥ C ( s ) H C ( s ) σ ( s ) + g σ ( s ) ∥ → 0 \|C^{(s)}HC^{(s)}\sigma^{(s)}+g\sigma^{(s)}\|\to0 ∥ C ( s ) H C ( s ) σ ( s ) + g σ ( s ) ∥ → 0 with g = − c q g=-cq g = − c q , and C ( s ) H C ( s ) = ( d λ ) − 2 s A ( s ) H A ( s ) C^{(s)}HC^{(s)}=(d\lambda)^{-2s}A^{(s)}HA^{(s)} C ( s ) H C ( s ) = ( d λ ) − 2 s A ( s ) H A ( s ) . Finally, the choice of t t t in Definition 5.5 ensures that d λ t > 1 d\lambda t>1 d λ t > 1 and t ( d c + 1 ) / ( d λ ) < c t(dc+1)/(d\lambda)<c t ( d c + 1 ) / ( d λ ) < c , so q < 0 q<0 q < 0 and g > 0 g>0 g > 0 . ■
Analysis of degree-cutoff preprocessing
Algorithm (Degree-Cutoff Preprocessing). Choose a sufficiently large fixed integer k k k . Delete every edge incident to a vertex whose degree in F F F exceeds k k k , retaining all vertices. Let the degree truncated graph be F k F_k F k and return M ~ = M s ( F k ) \widetilde{M}=M_s(F_k) M = M s ( F k ) .
Since all the statistics of M s ( ⋅ ) M_s(\cdot) M s ( ⋅ ) can be computed by fixed-radius neighborhoods, the Degree-Cutoff Preprocessing algorithm can be implemented in linear time. Now, we show that the output M ~ \widetilde{M} M of Degree-Cutoff Preprocessing satisfies Lemma 5.8.
Lemma 5.8 (Preprocessing for robustness ). Let ( G , σ ∗ ) ∼ SBM ( n , d , λ ) (G,\sigma^*)\sim\operatorname{SBM}(n,d,\lambda) ( G , σ ∗ ) ∼ SBM ( n , d , λ ) and d λ 2 > 1 d\lambda^2>1 d λ 2 > 1 . For every s ∈ N s\in\mathbb{N} s ∈ N and ε > 0 \varepsilon>0 ε > 0 , there is a linear-time algorithm, C ≥ 1 C\ge1 C ≥ 1 and η > 0 \eta>0 η > 0 which with high probability over G G G , given as input any n n n -vertex graph F F F such that ∣ E ( F ) △ E ( G ) ∣ ≤ η n |E(F)\mathbin{\triangle}E(G)|\le\eta n ∣ E ( F ) △ E ( G ) ∣ ≤ η n , produces a symmetric matrix M ~ ∈ R n × n \widetilde{M}\in\mathbb{R}^{n\times n} M ∈ R n × n such that
∥ M ~ − M s ( G ) ∥ 1 , 2 ≤ ε n , ∥ M ~ ∥ 1 , ∞ ≤ C . \|\widetilde{M}-M_s(G)\|_{1,2}\le\varepsilon\sqrt{n},\qquad\|\widetilde{M}\|_{1,\infty}\le C. ∥ M − M s ( G ) ∥ 1 , 2 ≤ ε n , ∥ M ∥ 1 , ∞ ≤ C . Moreover, matrix-vector products by M ~ \widetilde{M} M can be computed in linear time.
Notation. In this section, we use subscripts to denote the graph on which the matrix is computed, e.g., A G ( s ) A_G^{(s)} A G ( s ) and A F k ( s ) A_{F_k}^{(s)} A F k ( s ) denote the length-s s s nonbacktracking adjacency matrix of G G G and F k F_k F k respectively. For notational simplicity, we define, for any graph G G G ,
C G ( s ) : = ( d λ ) − s A G ( s ) , a G : = − b G T H G b G , h G = C G ( s ) H G b G . C_G^{(s)}:=(d\lambda)^{-s}A_G^{(s)},\qquad a_G:=-b_G^{\mathsf T}H_Gb_G,\qquad h_G=C_G^{(s)}H_Gb_G. C G ( s ) := ( d λ ) − s A G ( s ) , a G := − b G T H G b G , h G = C G ( s ) H G b G .
Proof of Lemma 5.8. Let G k G_k G k be the degree-truncated graph of G G G . By the triangle inequality,
∥ M ~ − M s ( G ) ∥ 1 , 2 ≤ ∥ M s ( F k ) − M s ( G k ) ∥ 1 , 2 + ∥ M s ( G k ) − M s ( G ) ∥ 1 , 2 . (6) \|\widetilde{M}-M_s(G)\|_{1,2}\le\|M_s(F_k)-M_s(G_k)\|_{1,2}
+\|M_s(G_k)-M_s(G)\|_{1,2}. \tag*{(6)} ∥ M − M s ( G ) ∥ 1 , 2 ≤ ∥ M s ( F k ) − M s ( G k ) ∥ 1 , 2 + ∥ M s ( G k ) − M s ( G ) ∥ 1 , 2 . (6)
The first term is the edge corruption error and the second is the cutoff error. We bound them separately.
Edge corruption error. Let S S S be the endpoints of edited edges. Notice that η n \eta n η n edge edits can change the degrees of at most 2 η n 2\eta n 2 η n vertices. Only these vertices can change cutoff status between F k F_k F k and G k G_k G k and each contributes at most k k k edge differences. Hence,
∣ E ( F k ) △ E ( G k ) ∣ ≤ ( 2 k + 1 ) η n . |E(F_k)\triangle E(G_k)| \le(2k+1)\eta n. ∣ E ( F k ) △ E ( G k ) ∣ ≤ ( 2 k + 1 ) η n .
Since both F k F_k F k and G k G_k G k have maximum degree k k k , each vertex starts at most k s k^s k s nonbacktracking walks of length s s s . Moreover, each row of the Bethe Hessian has at most k k k off-diagonal entries of magnitude ∣ t ∣ |t| ∣ t ∣ and diagonal entries of magnitude at most 1 + t 2 ( k + 1 ) 1+t^2(k+1) 1 + t 2 ( k + 1 ) . Therefore,
∥ C F k ( s ) ∥ 1 , ∞ , ∥ C G k ( s ) ∥ 1 , ∞ ≤ ∣ d λ ∣ − s k s , ∥ H F k ∥ 1 , ∞ , ∥ H G k ∥ 1 , ∞ ≤ 1 + ∣ t ∣ k + t 2 ( k + 1 ) . \|C_{F_k}^{(s)}\|_{1,\infty},\ \|C_{G_k}^{(s)}\|_{1,\infty} \le|\mathrm{d}\lambda|^{-s}k^s,\qquad\|H_{F_k}\|_{1,\infty},\ \|H_{G_k}\|_{1,\infty} \le1+|t|k+t^2(k+1). ∥ C F k ( s ) ∥ 1 , ∞ , ∥ C G k ( s ) ∥ 1 , ∞ ≤ ∣ d λ ∣ − s k s , ∥ H F k ∥ 1 , ∞ , ∥ H G k ∥ 1 , ∞ ≤ 1 + ∣ t ∣ k + t 2 ( k + 1 ) .
It follows that
∥ C F k ( s ) H F k C F k ( s ) ∥ 1 , ∞ ≤ ∥ C F k ( s ) ∥ 1 , ∞ 2 ∥ H F k ∥ 1 , ∞ = O ( 1 ) . \|C_{F_k}^{(s)}H_{F_k}C_{F_k}^{(s)}\|_{1,\infty} \le\|C_{F_k}^{(s)}\|_{1,\infty}^2\|H_{F_k}\|_{1,\infty}=O(1). ∥ C F k ( s ) H F k C F k ( s ) ∥ 1 , ∞ ≤ ∥ C F k ( s ) ∥ 1 , ∞ 2 ∥ H F k ∥ 1 , ∞ = O ( 1 ) .
Observe that the ( u , v ) (u,v) ( u , v ) entry of the matrix C G ( s ) H G C G ( s ) C_G^{(s)}H_GC_G^{(s)} C G ( s ) H G C G ( s ) is a normalized weighted sum over pairs of length-s s s nonbacktracking walks in G G G , one starting at u u u and one at v v v , whose endpoints coincide or are adjacent. Therefore, only rows within distance 2 s + 1 2s+1 2 s + 1 of S S S can differ between C F k ( s ) H F k C F k ( s ) C_{F_k}^{(s)}H_{F_k}C_{F_k}^{(s)} C F k ( s ) H F k C F k ( s ) and C G k ( s ) H G k C G k ( s ) C_{G_k}^{(s)}H_{G_k}C_{G_k}^{(s)} C G k ( s ) H G k C G k ( s ) . Hence, the row-sum bounds give
∥ C F k ( s ) H F k C F k ( s ) − C G k ( s ) H G k C G k ( s ) ∥ 1 , 2 = O ( η n ) . \|C_{F_k}^{(s)}H_{F_k}C_{F_k}^{(s)}-C_{G_k}^{(s)}H_{G_k}C_{G_k}^{(s)}\|_{1,2}=O(\sqrt{\eta n}). ∥ C F k ( s ) H F k C F k ( s ) − C G k ( s ) H G k C G k ( s ) ∥ 1 , 2 = O ( η n ) .
This concludes the bound for λ < 0 \lambda<0 λ < 0 . For λ > 0 \lambda>0 λ > 0 , we need to bound the error in the rank-one corrections. Recall that, by the definition of b G k b_{G_k} b G k , it is an L L L -neighbourhood local statistic. Since the degrees are bounded by k k k and L , s L,s L , s are fixed constants, the entries of h F k h_{F_k} h F k and h G k h_{G_k} h G k are bounded. The differences in h h h between the two graphs are supported on distance L + s + 1 L+s+1 L + s + 1 neighbourhood of vertices in S S S , and, hence, the support of h F k − h G k h_{F_k}-h_{G_k} h F k − h G k is of size at most O ( ( 2 k ) L + s + 1 η n ) O((2k)^{L+s+1}\eta n) O (( 2 k ) L + s + 1 η n ) . Thus,
∥ h F k ∥ ∞ , ∥ h G k ∥ ∞ = O ( 1 ) , ∥ h F k − h G k ∥ 1 = O ( η n ) , ∥ h F k − h G k ∥ 2 = O ( η n ) . \|h_{F_k}\|_\infty,\|h_{G_k}\|_\infty=O(1),\qquad\|h_{F_k}-h_{G_k}\|_1=O(\eta n),\qquad\|h_{F_k}-h_{G_k}\|_2=O(\sqrt{\eta n}). ∥ h F k ∥ ∞ , ∥ h G k ∥ ∞ = O ( 1 ) , ∥ h F k − h G k ∥ 1 = O ( η n ) , ∥ h F k − h G k ∥ 2 = O ( η n ) .
Hence,
∥ h F k h F k T − h G k h G k T ∥ 1 , 2 ≤ ∥ ( h F k − h G k ) h F k T ∥ 1 , 2 + ∥ h G k ( h F k − h G k ) T ∥ 1 , 2 ≤ ∥ h F k − h G k ∥ 2 ∥ h F k ∥ 1 + ∥ h G k ∥ 2 ∥ h F k − h G k ∥ 1 = O ( ( η + η ) n 3 / 2 ) = O ( η n 3 / 2 ) . \begin{aligned}
\|h_{F_k}h_{F_k}^{\mathsf T}-h_{G_k}h_{G_k}^{\mathsf T}\|_{1,2}
&\le\|(h_{F_k}-h_{G_k})h_{F_k}^{\mathsf T}\|_{1,2}+\|h_{G_k}(h_{F_k}-h_{G_k})^{\mathsf T}\|_{1,2}\\
&\le\|h_{F_k}-h_{G_k}\|_2\|h_{F_k}\|_1+\|h_{G_k}\|_2\|h_{F_k}-h_{G_k}\|_1\\
&=O\left((\eta+\sqrt{\eta})n^{3/2}\right)=O(\sqrt{\eta}n^{3/2}).
\end{aligned} ∥ h F k h F k T − h G k h G k T ∥ 1 , 2 ≤ ∥ ( h F k − h G k ) h F k T ∥ 1 , 2 + ∥ h G k ( h F k − h G k ) T ∥ 1 , 2 ≤ ∥ h F k − h G k ∥ 2 ∥ h F k ∥ 1 + ∥ h G k ∥ 2 ∥ h F k − h G k ∥ 1 = O ( ( η + η ) n 3/2 ) = O ( η n 3/2 ) .
Following similar local analysis, we can show that
∣ a F k − a G k ∣ = O ( η n ) . |a_{F_k}-a_{G_k}|=O(\eta n). ∣ a F k − a G k ∣ = O ( η n ) .
By Lemma 6.2, we have a G = Ω ( n ) a_G=\Omega(n) a G = Ω ( n ) with high probability. Taking a large enough k k k and using similar local analysis on a G k a_{G_k} a G k yields the lower bound a G k = Ω ( n ) a_{G_k}=\Omega(n) a G k = Ω ( n ) . Therefore, we can get a F k , a G k = Ω ( n ) a_{F_k},a_{G_k}=\Omega(n) a F k , a G k = Ω ( n ) with high probability. Now, we can bound the rank-one correction differences as
∥ 2 h F k h F k T a F k − 2 h G k h G k T a G k ∥ 1 , 2 = ∥ 2 h F k h F k T a F k − 2 h G k h G k T a F k + 2 h G k h G k T a F k − 2 h G k h G k T a G k ∥ 1 , 2 ≤ 2 a F k ∥ h F k h F k T − h G k h G k T ∥ 1 , 2 + 2 ∣ a F k − a G k ∣ a F k a G k ∥ h G k ∥ 1 ∥ h G k ∥ 2 = O ( ( η + η ) n ) = O ( η n ) . \begin{aligned}
\left\|\frac{2h_{F_k}h_{F_k}^{\mathsf T}}{a_{F_k}}-\frac{2h_{G_k}h_{G_k}^{\mathsf T}}{a_{G_k}}\right\|_{1,2}
=
\left\|\frac{2h_{F_k}h_{F_k}^{\mathsf T}}{a_{F_k}}-\frac{2h_{G_k}h_{G_k}^{\mathsf T}}{a_{F_k}}+\frac{2h_{G_k}h_{G_k}^{\mathsf T}}{a_{F_k}}-\frac{2h_{G_k}h_{G_k}^{\mathsf T}}{a_{G_k}}\right\|_{1,2} \\
&\le\frac{2}{a_{F_k}}\left\|h_{F_k}h_{F_k}^{\mathsf{T}}-h_{G_k}h_{G_k}^{\mathsf{T}}\right\|_{1,2}+\frac{2\lvert a_{F_k}-a_{G_k}\rvert}{a_{F_k}a_{G_k}}\left\|h_{G_k}\right\|_1\left\|h_{G_k}\right\|_2 \\
&=O\left((\eta+\sqrt{\eta})\sqrt{n}\right)=O\left(\sqrt{\eta n}\right).
\end{aligned} a F k 2 h F k h F k T − a G k 2 h G k h G k T 1 , 2 = a F k 2 h F k h F k T − a F k 2 h G k h G k T + a F k 2 h G k h G k T − a G k 2 h G k h G k T 1 , 2 ≤ a F k 2 h F k h F k T − h G k h G k T 1 , 2 + a F k a G k 2 ∣ a F k − a G k ∣ ∥ h G k ∥ 1 ∥ h G k ∥ 2 = O ( ( η + η ) n ) = O ( η n ) .
Thus, by picking η \eta η small enough, we can get
∥ M ~ − M s ( G k ) ∥ 1 , 2 ≤ ∥ C F k ( s ) H F k C F k ( s ) − C G k ( s ) H G k C G k ( s ) ∥ 1 , 2 + ∥ 2 h F k h F k T a F k − 2 h G k h G k T a G k ∥ 1 , 2 = O ( η n ) ≤ ε 2 n . (7) \begin{aligned}
\left\|\widetilde{M}-M_s(G_k)\right\|_{1,2}\leq\left\|C_{F_k}^{(s)}H_{F_k}C_{F_k}^{(s)}-C_{G_k}^{(s)}H_{G_k}C_{G_k}^{(s)}\right\|_{1,2}
+\left\|\frac{2h_{F_k}h_{F_k}^{\mathsf{T}}}{a_{F_k}}-\frac{2h_{G_k}h_{G_k}^{\mathsf{T}}}{a_{G_k}}\right\|_{1,2} \\
&=O\left(\sqrt{\eta n}\right)\leq\frac{\varepsilon}{2}\sqrt{n}. \tag*{(7)}
\end{aligned} M − M s ( G k ) 1 , 2 ≤ C F k ( s ) H F k C F k ( s ) − C G k ( s ) H G k C G k ( s ) 1 , 2 + a F k 2 h F k h F k T − a G k 2 h G k h G k T 1 , 2 = O ( η n ) ≤ 2 ε n . (7)
and,
∥ M ~ ∥ 1 , ∞ ≤ ∥ C F k ( s ) H F k C F k ( s ) ∥ 1 , ∞ + 2 ∥ h F k ∥ ∞ ∥ h F k ∥ 1 a F k = O ( 1 ) . (8) \left\|\widetilde{M}\right\|_{1,\infty}\leq\left\|C_{F_k}^{(s)}H_{F_k}C_{F_k}^{(s)}\right\|_{1,\infty}+\frac{2\left\|h_{F_k}\right\|_\infty\left\|h_{F_k}\right\|_1}{a_{F_k}}=O(1). \tag*{(8)} M 1 , ∞ ≤ C F k ( s ) H F k C F k ( s ) 1 , ∞ + a F k 2 ∥ h F k ∥ ∞ ∥ h F k ∥ 1 = O ( 1 ) . (8)
Cutoff error. Let r k ( i ) r_k(i) r k ( i ) denote the absolute row sum for row i i i of C G k ( s ) H G k C G k ( s ) − C G ( s ) H G C G ( s ) C_{G_k}^{(s)}H_{G_k}C_{G_k}^{(s)}-C_G^{(s)}H_GC_G^{(s)} C G k ( s ) H G k C G k ( s ) − C G ( s ) H G C G ( s ) . Define r k ( o ) r_k(o) r k ( o ) analogously for the Poisson tree. Since the row sums r k ( i ) r_k(i) r k ( i ) are local statistics of radius 2 s + 2 2s+2 2 s + 2 , the walk-counting bound on the Poisson tree gives
r k ( o ) 2 ≤ C 2 ( 1 + ∣ B 2 s + 2 ( o ) ∣ ) 4 s + 2 1 [ ∃ v ∈ B 2 s + 1 ( o ) : deg ( v ) > k ] , r_k(o)^2\leq C^2\left(1+\left|B_{2s+2}(o)\right|\right)^{4s+2}\mathbf{1}\left[\exists v\in B_{2s+1}(o):\deg(v)>k\right], r k ( o ) 2 ≤ C 2 ( 1 + ∣ B 2 s + 2 ( o ) ∣ ) 4 s + 2 1 [ ∃ v ∈ B 2 s + 1 ( o ) : deg ( v ) > k ] ,
where B r ( o ) B_r(o) B r ( o ) is the radius r r r neighbourhood of o o o and C C C is a constant independent of k k k . The indicator tends to zero almost surely as k → ∞ k\to\infty k → ∞ . Since fixed-radius Poisson-tree neighborhoods have moments of every order, by dominated convergence, we have E [ r k ( o ) 2 ] → 0 \mathbb{E}[r_k(o)^2]\to0 E [ r k ( o ) 2 ] → 0 . Hence, by the local law Fact 4.7, it follows that
1 n ∥ C G k ( s ) H G k C G k ( s ) − C G ( s ) H G C G ( s ) ∥ 1 , 2 2 = 1 n ∑ i r k ( i ) 2 → Pr E [ r k ( o ) 2 ] . \frac{1}{n}\left\|C_{G_k}^{(s)}H_{G_k}C_{G_k}^{(s)}-C_G^{(s)}H_GC_G^{(s)}\right\|_{1,2}^2=\frac{1}{n}\sum_i r_k(i)^2\xrightarrow{\Pr}\mathbb{E}[r_k(o)^2]. n 1 C G k ( s ) H G k C G k ( s ) − C G ( s ) H G C G ( s ) 1 , 2 2 = n 1 i ∑ r k ( i ) 2 P r E [ r k ( o ) 2 ] .
Consequently, for every δ > 0 \delta>0 δ > 0 and every sufficiently large fixed k k k , with high probability,
∥ C G k ( s ) H G k C G k ( s ) − C G ( s ) H G C G ( s ) ∥ 1 , 2 ≤ δ n . \left\|C_{G_k}^{(s)}H_{G_k}C_{G_k}^{(s)}-C_G^{(s)}H_GC_G^{(s)}\right\|_{1,2}\leq\delta\sqrt{n}. C G k ( s ) H G k C G k ( s ) − C G ( s ) H G C G ( s ) 1 , 2 ≤ δ n .
This concludes the cutoff bound for λ < 0 \lambda<0 λ < 0 . For λ > 0 \lambda>0 λ > 0 , we can apply the same argument to bound the squared coordinate differences of h G k h_{G_k} h G k and h G h_G h G and ∣ a G k − a G ∣ \lvert a_{G_k}-a_G\rvert ∣ a G k − a G ∣ . Therefore, using the same analysis as in edge corruption error , it follows that, for every δ > 0 \delta>0 δ > 0 and every sufficiently large fixed k k k , with high probability,
∥ 2 h G h G T a G − 2 h G k h G k T a G k ∥ 1 , 2 ≤ δ n . \left\|\frac{2h_Gh_G^{\mathsf{T}}}{a_G}-\frac{2h_{G_k}h_{G_k}^{\mathsf{T}}}{a_{G_k}}\right\|_{1,2}\leq\delta\sqrt{n}. a G 2 h G h G T − a G k 2 h G k h G k T 1 , 2 ≤ δ n .
Combining both parts and choosing δ \delta δ sufficiently small yields
∥ M s ( G k ) − M s ( G ) ∥ 1 , 2 ≤ ε 2 n . (9) \left\|M_s(G_k)-M_s(G)\right\|_{1,2}\leq\frac{\varepsilon}{2}\sqrt{n}. \tag*{(9)} ∥ M s ( G k ) − M s ( G ) ∥ 1 , 2 ≤ 2 ε n . (9)
Conclusion Plugging (7) and (9) into (6) , it follows that, with high probability,
∥ M ~ − M S ( G ) ∥ 1 , 2 ≤ ε n . \lVert\widetilde{M}-M_S(G)\rVert_{1,2}\le\varepsilon\sqrt{n}. ∥ M − M S ( G ) ∥ 1 , 2 ≤ ε n .
Combining this with the bound for ∥ M ~ ∥ 1 , ∞ \lVert\widetilde{M}\rVert_{1,\infty} ∥ M ∥ 1 , ∞ in (8) finishes the proof. ■
SDP recovery and implementation
Let n n n be an integer with n ≥ 2 n\ge2 n ≥ 2 . For K ≥ 1 K\ge1 K ≥ 1 , define
S : = { X ∈ R n × n : X ⪰ 0 , Tr X = 1 } , D K : = { q ∈ R n : ∥ q ∥ 2 2 ≤ K / n } . \mathcal{S}:=\{X\in\mathbb{R}^{n\times n}:X\succeq0,\ \operatorname{Tr}X=1\},\qquad D_K:=\{q\in\mathbb{R}^{n}:\lVert q\rVert_2^2\le K/n\}. S := { X ∈ R n × n : X ⪰ 0 , Tr X = 1 } , D K := { q ∈ R n : ∥ q ∥ 2 2 ≤ K / n } .
For matrices E E E , write ∥ E ∥ 1 , p : = ( ∑ i ( ∑ j ∣ E i j ∣ ) p ) 1 / p \lVert E\rVert_{1,p}:=\left(\sum_i\left(\sum_j\lvert E_{ij}\rvert\right)^p\right)^{1/p} ∥ E ∥ 1 , p := ( ∑ i ( ∑ j ∣ E ij ∣ ) p ) 1/ p . For matrices B , C ∈ R n × n B,C\in\mathbb{R}^{n\times n} B , C ∈ R n × n , write ⟨ B , C ⟩ = Tr ( B T C ) \langle B,C\rangle=\operatorname{Tr}(B^{T}C) ⟨ B , C ⟩ = Tr ( B T C ) . For p ∈ R n p\in\mathbb{R}^{n} p ∈ R n and D ⊆ R n D\subseteq\mathbb{R}^{n} D ⊆ R n , write dist 1 ( p , D ) = inf q ∈ D ∥ p − q ∥ 1 \operatorname{dist}_1(p,D)=\inf_{q\in D}\lVert p-q\rVert_1 dist 1 ( p , D ) = inf q ∈ D ∥ p − q ∥ 1 .
The following theorem shows that almost optimal solutions of a particular convex optimization problem over density matrices S \mathcal{S} S are close to the projector to our target vector’s span. Its proof in § 8.1 combines ideas from earlier recovery algorithms for stochastic block models [43 ] and robust principal component analysis [22 ] .
Theorem 8.1 (Matrix recovery). Let K ≥ 1 K\ge1 K ≥ 1 , g > 0 g>0 g > 0 , and ε ≥ 0 \varepsilon\ge0 ε ≥ 0 . Suppose M , E ∈ R n × n M,E\in\mathbb{R}^{n\times n} M , E ∈ R n × n are symmetric and v , w ∈ R n v,w\in\mathbb{R}^{n} v , w ∈ R n are unit vectors satisfying
M ⪰ − g v v T , n ∥ w ∥ 4 4 ≤ K , w T M w ≤ − ( 1 − ε ) ⋅ g . M\succeq-gvv^{T},\qquad n\lVert w\rVert_4^4\le K,\qquad w^{T}Mw\le-(1-\varepsilon)\cdot g. M ⪰ − g v v T , n ∥ w ∥ 4 4 ≤ K , w T M w ≤ − ( 1 − ε ) ⋅ g . Set A = M + E A=M+E A = M + E and let P ≥ ∥ A ∥ 1 , ∞ P\ge\lVert A\rVert_{1,\infty} P ≥ ∥ A ∥ 1 , ∞ . Define F ( X ) = ⟨ A , X ⟩ + P ⋅ dist 1 ( diag X , D K ) F(X)=\langle A,X\rangle+P\cdot\operatorname{dist}_1(\operatorname{diag}X,D_K) F ( X ) = ⟨ A , X ⟩ + P ⋅ dist 1 ( diag X , D K ) . Then
∣ 1 g min S F + 1 ∣ ≤ ε + K / n ∥ E ∥ 1 , 2 / g , \left|\frac{1}{g}\min_{S}F+1\right|\le\varepsilon+\sqrt{K/n}\lVert E\rVert_{1,2}/g, g 1 S min F + 1 ≤ ε + K / n ∥ E ∥ 1 , 2 / g , and every X ∈ S X\in\mathcal{S} X ∈ S with F ( X ) ≤ min S F + ε g F(X)\le\min_{\mathcal{S}}F+\varepsilon g F ( X ) ≤ min S F + ε g satisfies
∥ X − w w T ∥ F 2 ≤ 20 ( ε + K / n ∥ E ∥ 1 , 2 / g ) . \lVert X-ww^{T}\rVert_F^2\le20\left(\varepsilon+\sqrt{K/n}\lVert E\rVert_{1,2}/g\right). ∥ X − w w T ∥ F 2 ≤ 20 ( ε + K / n ∥ E ∥ 1 , 2 / g ) .
The next theorem shows that the convex program from the previous theorem statement admits nearly-linear time algorithms assuming that the input matrix supports nearly-linear time matrix-vector operations. Its proof in § 8.2 adapts ideas from [6 ] .
Theorem 8.2 (Fast optimization). Given K ≥ 1 K\ge1 K ≥ 1 , 0 < δ ≤ P 0<\delta\le P 0 < δ ≤ P , a symmetric matrix A ∈ R n × n A\in\mathbb{R}^{n\times n} A ∈ R n × n through a matrix-vector multiplication oracle, and a bound P ≥ ∥ A ∥ 1 , ∞ + 1 P\ge\lVert A\rVert_{1,\infty}+1 P ≥ ∥ A ∥ 1 , ∞ + 1 , a randomized algorithm computes Z ∈ R n × r Z\in\mathbb{R}^{n\times r} Z ∈ R n × r such that
Z Z T ∈ S , E F ( Z Z T ) ≤ min S F + δ , r ≤ O ( 1 + P 4 log n / δ 4 ) , ZZ^{T}\in\mathcal{S},\qquad\mathbb{E}F(ZZ^{T})\le\min_{\mathcal{S}}F+\delta,\qquad r\le O(1+P^4\log n/\delta^4), Z Z T ∈ S , E F ( Z Z T ) ≤ S min F + δ , r ≤ O ( 1 + P 4 log n / δ 4 ) , where F ( X ) = ⟨ A , X ⟩ + P ⋅ dist 1 ( diag X , D K ) F(X)=\langle A,X\rangle+P\cdot\operatorname{dist}_1(\operatorname{diag}X,D_K) F ( X ) = ⟨ A , X ⟩ + P ⋅ dist 1 ( diag X , D K ) . The algorithm uses O ( ( 1 + P / δ ) 5 ( log n ) 2 ) O((1+P/\delta)^5(\log n)^2) O (( 1 + P / δ ) 5 ( log n ) 2 ) matrix-vector multiplications with A A A and at most n n n times as many additional operations.
Together the above theorems imply the main algorithmic lemma from § 5 .
Lemma 5.9 (Robust recovery of a delocalized negative eigenvector). There is a randomized algorithm with the following properties. Let ε , g > 0 \varepsilon, g > 0 ε , g > 0 and M , M ~ ∈ R n × n M, \widetilde{M} \in\mathbb{R}^{n \times n} M , M ∈ R n × n be symmetric, with M M M having exactly one negative eigenvalue − g -g − g . Suppose there exists a unit vector w ∈ R n w \in\mathbb{R}^{n} w ∈ R n satisfying
∥ w ∥ 4 4 ≤ 1 ε n and w T M w ≤ − ( 1 − ε ) g . \lVert w\rVert_{4}^{4} \le\frac{1}{\varepsilon n} \quad\text{and}\quad w^{\mathsf{T}}Mw \le-(1-\varepsilon)g. ∥ w ∥ 4 4 ≤ ε n 1 and w T M w ≤ − ( 1 − ε ) g . Suppose also that ∥ M ~ − M ∥ 1 , 2 ≤ ε g n \lVert\widetilde{M}-M\rVert_{1,2} \le\varepsilon g\sqrt{n} ∥ M − M ∥ 1 , 2 ≤ ε g n . Then, given matrix-vector access to M ~ \widetilde{M} M , an upper bound C ≥ ∥ M ~ ∥ 1 , ∞ + 1 C \ge\lVert\widetilde{M}\rVert_{1,\infty}+1 C ≥ ∥ M ∥ 1 , ∞ + 1 , and ε \varepsilon ε (but not g g g ) as inputs, the algorithm returns a unit vector w ^ \widehat{w} w such that with probability at least 1 − n − 10 1-n^{-10} 1 − n − 10 over the internal randomness of the algorithm,
⟨ w ^ , w ⟩ 2 ≥ 1 − O ( ε ) . \langle\widehat{w},w\rangle^{2} \ge1-O(\sqrt{\varepsilon}). ⟨ w , w ⟩ 2 ≥ 1 − O ( ε ) . On the same event, the algorithm performs at most ( 1 + C log n ε g ) O ( 1 ) \left(1+\frac{C\log n}{\varepsilon g}\right)^{O(1)} ( 1 + ε g C l o g n ) O ( 1 ) matrix-vector products with M ~ \widetilde{M} M and at most n n n times as many additional operations.
Proof. Assume n ≥ 2 n \ge2 n ≥ 2 and ε \varepsilon ε is sufficiently small; otherwise the conclusion is trivial. Set A = M ~ A=\widetilde{M} A = M , P = C P=C P = C , and K = 1 / ε K=1/\varepsilon K = 1/ ε . Since K / n ∥ A − M ∥ 1 , 2 ≤ ε g \sqrt{K/n}\lVert A-M\rVert_{1,2}\le\sqrt{\varepsilon}g K / n ∥ A − M ∥ 1 , 2 ≤ ε g , Theorem 8.1 gives F ∗ : = min S F ∈ [ − 2 g , − g / 2 ] F^{*}:=\min_{S}F\in[-2g,-g/2] F ∗ := min S F ∈ [ − 2 g , − g /2 ] , so g / 2 ≤ ∣ F ∗ ∣ ≤ 2 g g/2\le\lvert F^{*}\rvert\le2g g /2 ≤ ∣ F ∗ ∣ ≤ 2 g .
At stage j ∈ { 0 , 1 , … } j\in\{0,1,\ldots\} j ∈ { 0 , 1 , … } , run the fast solver from Theorem 8.2 with δ j = C 2 − j \delta_j=C2^{-j} δ j = C 2 − j . Retain the best output X j X_j X j among ⌈ log 2 ( 1 / ρ j ) ⌉ \lceil\log_{2}(1/\rho_j)\rceil ⌈ log 2 ( 1/ ρ j )⌉ independent runs, where ρ j = n − 10 / ( 10 j + 10 ) 2 \rho_j=n^{-10}/(10j+10)^2 ρ j = n − 10 / ( 10 j + 10 ) 2 . Markov’s inequality gives, simultaneously at all stages except with probability ∑ j ρ j < n − 10 / 4 \sum_j\rho_j<n^{-10}/4 ∑ j ρ j < n − 10 /4 ,
0 ≤ F ( X j ) − F ∗ ≤ 2 δ j . 0\le F(X_j)-F^{*}\le2\delta_j. 0 ≤ F ( X j ) − F ∗ ≤ 2 δ j .
Stop when 4 δ j ≤ ε ( − F ( X j ) ) 4\delta_j\le\varepsilon(-F(X_j)) 4 δ j ≤ ε ( − F ( X j )) .5 This condition holds once δ j ≤ ε ∣ F ∗ ∣ / 8 \delta_j\le\varepsilon\lvert F^{*}\rvert/8 δ j ≤ ε ∣ F ∗ ∣ /8 , and at stopping
F ( X j ) − F ∗ ≤ 2 δ j ≤ ε ∣ F ∗ ∣ / 2 ≤ ε g . F(X_j)-F^{*}\le2\delta_j\le\varepsilon\lvert F^{*}\rvert/2\le\varepsilon g. F ( X j ) − F ∗ ≤ 2 δ j ≤ ε ∣ F ∗ ∣ /2 ≤ ε g .
Hence the recovery theorem gives ∥ X j − w w T ∥ F 2 = O ( ε ) \lVert X_j-ww^{\mathsf{T}}\rVert_{F}^{2}=O(\sqrt{\varepsilon}) ∥ X j − w w T ∥ F 2 = O ( ε ) .
Write X j = λ u u T + R X_j=\lambda uu^{\mathsf{T}}+R X j = λ u u T + R , where u u u is its leading unit eigenvector. Then λ ≥ 1 / 2 \lambda\ge1/2 λ ≥ 1/2 , ∥ R ∥ F 2 = O ( ε ) \lVert R\rVert_{F}^{2}=O(\sqrt{\varepsilon}) ∥ R ∥ F 2 = O ( ε ) , and 1 − ⟨ u , w ⟩ 2 = O ( ε ) 1-\langle u,w\rangle^{2}=O(\sqrt{\varepsilon}) 1 − ⟨ u , w ⟩ 2 = O ( ε ) . For a uniform random sign vector ξ \xi ξ ,
Pr [ ∣ ⟨ u , ξ ⟩ ∣ ≥ 1 / 2 ] ≥ 1 / 12 , E ∥ R ξ ∥ 2 = ∥ R ∥ F 2 . \Pr\left[\lvert\langle u,\xi\rangle\rvert\ge1/\sqrt{2}\right]\ge1/12,\qquad\mathbb{E}\lVert R\xi\rVert^{2}=\lVert R\rVert_{F}^{2}. Pr [ ∣⟨ u , ξ ⟩∣ ≥ 1/ 2 ] ≥ 1/12 , E ∥ R ξ ∥ 2 = ∥ R ∥ F 2 .
Thus, with constant probability, normalizing X j ξ X_j\xi X j ξ gives squared correlation 1 − O ( ε ) 1-O(\sqrt{\varepsilon}) 1 − O ( ε ) with u u u . Repeat O ( log n ) O(\log n) O ( log n ) times with independent randomness and retain the normalized nonzero vector with largest Rayleigh quotient for X j X_j X j . In this way, the selected vector has squared correlation 1 − O ( ε ) 1-O(\sqrt{\varepsilon}) 1 − O ( ε ) with u u u , except with probability n − 10 / 2 n^{-10}/2 n − 10 /2 , and therefore also squared correlation 1 − O ( ε ) 1-O(\sqrt{\varepsilon}) 1 − O ( ε ) with w w w as claimed.
The search uses O ( 1 + log ( C / ( ε g ) ) ) O(1+\log(C/(\varepsilon g))) O ( 1 + log ( C / ( ε g ))) stages, all with δ j = Ω ( ε g ) \delta_j=\Omega(\varepsilon g) δ j = Ω ( ε g ) . The fast-solver invocations, objective evaluations, and the matrix-vector products X j ξ = Z j ( Z j T ξ ) X_j\xi=Z_j(Z_j^{\mathsf{T}}\xi) X j ξ = Z j ( Z j T ξ ) therefore are within the desired bounds on the number of matrix-vector products with M ~ \widetilde{M} M and the number of additional operations. The total failure probability is at most n − 10 n^{-10} n − 10 . ■
Recovery analysis
To prove Theorem 8.1 , we show that an ε g \varepsilon g ε g -approximate minimizer X ∈ S X \in\mathcal{S} X ∈ S of the penalized objective F F F is close to w w T ww^{T} w w T in Frobenius norm. Here w w w is the unit witness vector from the theorem, and E E E is the perturbation in A = M + E A = M + E A = M + E . Recall that M ⪰ − γ v v T M \succeq-\gamma vv^{T} M ⪰ − γ v v T , w T M w ≤ − γ + ε γ w^{T}Mw \leq-\gamma+ \varepsilon\gamma w T M w ≤ − γ + ε γ , and F ( X ) = ⟨ A , X ⟩ + P dist 1 ( diag X , D K ) F(X) = \langle A,X\rangle+ P\operatorname{dist}_{1}(\operatorname{diag} X,\mathcal{D}_{K}) F ( X ) = ⟨ A , X ⟩ + P dist 1 ( diag X , D K ) with A = M + E A = M + E A = M + E and P ≥ ∥ A ∥ 1 , ∞ P \geq\lVert A\rVert_{1,\infty} P ≥ ∥ A ∥ 1 , ∞ .
Proof of Theorem 8.1 . Put r = K / n r = \sqrt{K}/n r = K / n and b = r ∥ E ∥ 1 , 2 b = r\lVert E\rVert_{1,2} b = r ∥ E ∥ 1 , 2 . For every U ⪰ 0 U \succeq0 U ⪰ 0 , symmetry and ∣ U i j ∣ ≤ ( U i i + U j j ) / 2 \lvert U_{ij}\rvert\leq(U_{ii}+U_{jj})/2 ∣ U ij ∣ ≤ ( U ii + U j j ) /2 give
∣ ⟨ E , U ⟩ ∣ ≤ ∑ i U i i ∑ j ∣ E i j ∣ ≤ ∥ diag U ∥ 2 ∥ E ∥ 1 , 2 . \lvert\langle E,U\rangle\rvert\leq\sum_i U_{ii}\sum_j\lvert E_{ij}\rvert\leq\lVert\operatorname{diag} U\rVert_2\lVert E\rVert_{1,2}. ∣⟨ E , U ⟩∣ ≤ i ∑ U ii j ∑ ∣ E ij ∣ ≤ ∥ diag U ∥ 2 ∥ E ∥ 1 , 2 .
Let X ∈ S X \in\mathcal{S} X ∈ S and write d = diag X d = \operatorname{diag} X d = diag X . If ∥ d ∥ 2 ≤ r \lVert d\rVert_2 \leq r ∥ d ∥ 2 ≤ r , set q = d q = d q = d . Otherwise choose t > 0 t > 0 t > 0 such that q i = min ( d i , t ) q_i = \min(d_i,t) q i = min ( d i , t ) satisfies ∥ q ∥ 2 = r \lVert q\rVert_2 = r ∥ q ∥ 2 = r . Then
h : = ∑ i ( d i − q i ) = dist 1 ( d , D K ) . h := \sum_i(d_i-q_i)=\operatorname{dist}_1(d,\mathcal{D}_K). h := i ∑ ( d i − q i ) = dist 1 ( d , D K ) .
Indeed, in the latter case y = q / t y=q/t y = q / t satisfies ∥ y ∥ ∞ ≤ 1 \lVert y\rVert_\infty\leq1 ∥ y ∥ ∞ ≤ 1 , ⟨ y , d − q ⟩ = h \langle y,d-q\rangle= h ⟨ y , d − q ⟩ = h , and ⟨ y , z ⟩ ≤ ⟨ y , q ⟩ \langle y,z\rangle\leq\langle y,q\rangle ⟨ y , z ⟩ ≤ ⟨ y , q ⟩ for every z ∈ D K z \in\mathcal{D}_K z ∈ D K . Hence ∥ d − z ∥ 1 ≥ h \lVert d-z\rVert_1 \geq h ∥ d − z ∥ 1 ≥ h .
Let D i i = q i / d i D_{ii} = \sqrt{q_i/d_i} D ii = q i / d i when d i > 0 d_i > 0 d i > 0 , and D i i = 1 D_{ii}=1 D ii = 1 otherwise, and put Y = D X D Y=DXD Y = D X D . Then Y ⪰ 0 Y\succeq0 Y ⪰ 0 , diag Y = q ∈ D K \operatorname{diag}Y=q\in\mathcal{D}_K diag Y = q ∈ D K , and Tr Y ≤ 1 \operatorname{Tr}Y\leq1 Tr Y ≤ 1 . Moreover,
∣ X i j − Y i j ∣ ≤ d i d j − q i q j ≤ d i − q i + d j − q j 2 . \lvert X_{ij}-Y_{ij}\rvert\leq\sqrt{d_i d_j}-\sqrt{q_iq_j}\leq\frac{d_i-q_i+d_j-q_j}{2}. ∣ X ij − Y ij ∣ ≤ d i d j − q i q j ≤ 2 d i − q i + d j − q j .
The last inequality follows from the AM-GM inequality when both coordinates are clipped; when only d i d_i d i is clipped, use d j ≤ t \sqrt{d_j}\leq\sqrt{t} d j ≤ t and 2 t ( d i − t ) ≤ d i − t 2\sqrt{t}(\sqrt{d_i}-\sqrt{t})\leq d_i-t 2 t ( d i − t ) ≤ d i − t . By symmetry of A A A and the entrywise bound,
∣ ⟨ A , X − Y ⟩ ∣ ≤ ∑ i ( d i − q i ) ∑ j ∣ A i j ∣ ≤ P h . \lvert\langle A,X-Y\rangle\rvert\leq\sum_i(d_i-q_i)\sum_j\lvert A_{ij}\rvert\leq Ph. ∣⟨ A , X − Y ⟩∣ ≤ i ∑ ( d i − q i ) j ∑ ∣ A ij ∣ ≤ P h .
Thus the penalty pays for clipping:
F ( X ) = ⟨ A , X ⟩ + P h ≥ ⟨ A , Y ⟩ . F(X)=\langle A,X\rangle+Ph\geq\langle A,Y\rangle. F ( X ) = ⟨ A , X ⟩ + P h ≥ ⟨ A , Y ⟩ .
Since Y ⪰ 0 Y\succeq0 Y ⪰ 0 , M ⪰ − γ v v T M\succeq-\gamma vv^{T} M ⪰ − γ v v T , and ∥ diag Y ∥ 2 ≤ r \lVert\operatorname{diag}Y\rVert_2\leq r ∥ diag Y ∥ 2 ≤ r ,
⟨ A , Y ⟩ ≥ − γ v T Y v − ∣ ⟨ E , Y ⟩ ∣ ≥ − γ v T Y v − b ≥ − γ − b . \langle A,Y\rangle\geq-\gamma v^{T}Yv-\lvert\langle E,Y\rangle\rvert\geq-\gamma v^{T}Yv-b\geq-\gamma-b. ⟨ A , Y ⟩ ≥ − γ v T Y v − ∣⟨ E , Y ⟩∣ ≥ − γ v T Y v − b ≥ − γ − b .
where the last inequality uses v T Y v ≤ Tr Y ≤ 1 v^{T}Yv\leq\operatorname{Tr}Y\leq1 v T Y v ≤ Tr Y ≤ 1 . On the other hand, diag ( w w T ) ∈ D K \operatorname{diag}(ww^{T})\in\mathcal{D}_K diag ( w w T ) ∈ D K , so
min S F ≤ F ( w w T ) ≤ − ( 1 − ε ) γ + b . \min_{S}F\leq F(ww^{T})\leq-(1-\varepsilon)\gamma+b. S min F ≤ F ( w w T ) ≤ − ( 1 − ε ) γ + b .
Together these prove the first assertion.
Now suppose F ( X ) ≤ min S F + ε γ F(X)\leq\min_{S}F+\varepsilon\gamma F ( X ) ≤ min S F + ε γ . The preceding bounds imply
− γ v T Y v − b ≤ F ( X ) ≤ − γ + 2 ε γ + b , 1 − v T Y v ≤ 2 ε + 2 b / γ . -\gamma v^{T}Yv-b\leq F(X)\leq-\gamma+2\varepsilon\gamma+b,\qquad1-v^{T}Yv\leq2\varepsilon+2b/\gamma. − γ v T Y v − b ≤ F ( X ) ≤ − γ + 2 ε γ + b , 1 − v T Y v ≤ 2 ε + 2 b / γ .
It remains to transfer alignment from Y = D X D Y=DXD Y = D X D to X X X . Put C = 2 D − I C=2D-I C = 2 D − I , so ∥ C ∥ op ≤ 1 \lVert C\rVert_{\operatorname{op}}\le1 ∥ C ∥ op ≤ 1 . Since 0 ⪯ X ⪯ I 0\preceq X\preceq I 0 ⪯ X ⪯ I ,
v T Y v = 1 4 ∥ X 1 / 2 v + X 1 / 2 C v ∥ 2 2 ≤ 1 2 v T X v + 1 2 v T C X C v ≤ 1 2 v T X v + 1 2 . v^{T}Yv=\frac{1}{4}\lVert X^{1/2}v+X^{1/2}Cv\rVert_{2}^{2}\le\frac{1}{2}v^{T}Xv+\frac{1}{2}v^{T}CXCv\le\frac{1}{2}v^{T}Xv+\frac{1}{2}. v T Y v = 4 1 ∥ X 1/2 v + X 1/2 C v ∥ 2 2 ≤ 2 1 v T X v + 2 1 v T C X C v ≤ 2 1 v T X v + 2 1 .
Therefore, using Tr ( X 2 ) ≤ 1 \operatorname{Tr}(X^{2})\le1 Tr ( X 2 ) ≤ 1 ,
∥ X − v v T ∥ F 2 = Tr ( X 2 ) + 1 − 2 v T X v ≤ 4 ( 1 − v T Y v ) ≤ 8 ε + 8 b / g . \lVert X-vv^{T}\rVert_{F}^{2}=\operatorname{Tr}(X^{2})+1-2v^{T}Xv\le4(1-v^{T}Yv)\le8\varepsilon+8b/g. ∥ X − v v T ∥ F 2 = Tr ( X 2 ) + 1 − 2 v T X v ≤ 4 ( 1 − v T Y v ) ≤ 8 ε + 8 b / g .
The witness assumption also gives ( v T w ) 2 ≥ 1 − ε (v^{T}w)^{2}\ge1-\varepsilon ( v T w ) 2 ≥ 1 − ε , hence ∥ v v T − w w T ∥ F 2 ≤ 2 ε \lVert vv^{T}-ww^{T}\rVert_{F}^{2}\le2\varepsilon ∥ v v T − w w T ∥ F 2 ≤ 2 ε . The squared triangle inequality now yields
∥ X − w w T ∥ F 2 ≤ 2 ∥ X − v v T ∥ F 2 + 2 ∥ v v T − w w T ∥ F 2 ≤ 20 ε + 16 b / g . \lVert X-ww^{T}\rVert_{F}^{2}\le2\lVert X-vv^{T}\rVert_{F}^{2}+2\lVert vv^{T}-ww^{T}\rVert_{F}^{2}\le20\varepsilon+16b/g. ∥ X − w w T ∥ F 2 ≤ 2 ∥ X − v v T ∥ F 2 + 2 ∥ v v T − w w T ∥ F 2 ≤ 20 ε + 16 b / g .
Fast implementation
For a convex function F F F on all real symmetric matrices and a real symmetric matrix X X X , let ∂ F ( X ) \partial F(X) ∂ F ( X ) denote the set of symmetric matrices H H H satisfying F ( U ) ≥ F ( X ) + ⟨ H , U − X ⟩ F(U)\ge F(X)+\langle H,U-X\rangle F ( U ) ≥ F ( X ) + ⟨ H , U − X ⟩ for every real symmetric matrix U U U .
The following theorem is the starting point for our fast implementation. At iteration t t t , we compute X ~ t ∈ S \widetilde{X}_{t}\in S X t ∈ S and H t ∈ ∂ F ( X ~ t ) H_{t}\in\partial F(\widetilde{X}_{t}) H t ∈ ∂ F ( X t ) . We will work with a low-rank representation of X ~ t \widetilde{X}_{t} X t in order to be able to efficiently compute H t H_{t} H t . The theorem shows that if X ~ t \widetilde{X}_{t} X t approximates in direction H t H_{t} H t a particular matrix X t X_{t} X t , defined as a function of H 1 + ⋯ + H t − 1 H_{1}+\cdots+H_{t-1} H 1 + ⋯ + H t − 1 , then the average of the computed iterates approximately minimizes F F F over S S S . Its proof in Appendix § 13 is adapted from [5 ] .
Theorem 8.3 (Nearby-point entropy descent). Let F F F be convex on all real symmetric matrices and attain its minimum over S S S . Let η > 0 \eta>0 η > 0 , let T ≥ 1 T\ge1 T ≥ 1 be an integer, and let H 1 , … , H T ∈ R n × n H_{1},\ldots,H_{T}\in\mathbb{R}^{n\times n} H 1 , … , H T ∈ R n × n be symmetric matrices. For 1 ≤ t ≤ T 1\le t\le T 1 ≤ t ≤ T , define
S t = − η ∑ s < t H s , X t = e S t Tr e S t . S_{t}=-\eta\sum_{s<t}H_{s},\qquad X_{t}=\frac{e^{S_{t}}}{\operatorname{Tr}e^{S_{t}}}. S t = − η s < t ∑ H s , X t = Tr e S t e S t . Suppose X ~ 1 , … , X ~ T ∈ S \widetilde{X}_{1},\ldots,\widetilde{X}_{T}\in S X 1 , … , X T ∈ S satisfy H t ∈ ∂ F ( X ~ t ) H_{t}\in\partial F(\widetilde{X}_{t}) H t ∈ ∂ F ( X t ) for 1 ≤ t ≤ T 1\le t\le T 1 ≤ t ≤ T . Then X ‾ = T − 1 ∑ t = 1 T X ~ t \overline{X}=T^{-1}\sum_{t=1}^{T}\widetilde{X}_{t} X = T − 1 ∑ t = 1 T X t satisfies
F ( X ‾ ) − min S F ≤ log n η T + 2 η max 1 ≤ t ≤ T ∥ H t ∥ op 2 + 1 T ∑ t = 1 T ⟨ H t , X ~ t − X t ⟩ . F(\overline{X})-\min_{S}F\le\frac{\log n}{\eta T}+2\eta\max_{1\le t\le T}\lVert H_{t}\rVert_{\operatorname{op}}^{2}+\frac{1}{T}\sum_{t=1}^{T}\langle H_{t},\widetilde{X}_{t}-X_{t}\rangle. F ( X ) − S min F ≤ η T log n + 2 η 1 ≤ t ≤ T max ∥ H t ∥ op 2 + T 1 t = 1 ∑ T ⟨ H t , X t − X t ⟩ .
Recall that F ( X ) = ⟨ A , X ⟩ + P dist 1 ( diag X , D K ) F(X)=\langle A,X\rangle+P\operatorname{dist}_{1}(\operatorname{diag}X,D_{K}) F ( X ) = ⟨ A , X ⟩ + P dist 1 ( diag X , D K ) . The linear part of F F F contributes the constant subgradient A A A . For the ℓ 1 \ell_{1} ℓ 1 -distance term to D K D_{K} D K , the following fact bounds the entries of subgradients of the distance function.
Fact 8.4 (Distance to a convex set). Let C ⊆ R n C\subseteq\mathbb{R}^{n} C ⊆ R n be nonempty and convex. The function
f C ( x ) = inf q ∈ C ∥ x − q ∥ 1 ( x ∈ R n ) f_{C}(x)=\inf_{q\in C}\lVert x-q\rVert_{1}\qquad(x\in\mathbb{R}^{n}) f C ( x ) = q ∈ C inf ∥ x − q ∥ 1 ( x ∈ R n ) is finite, convex [19 Example 3.16, p. 88] , and 1-Lipschitz in ℓ 1 \ell_{1} ℓ 1 . At every x ∈ R n x\in\mathbb{R}^{n} x ∈ R n , its subdifferential satisfies ∅ ≠ ∂ f C ( x ) ⊆ [ − 1 , 1 ] n \varnothing\ne\partial f_{C}(x)\subseteq[-1,1]^{n} ∅ = ∂ f C ( x ) ⊆ [ − 1 , 1 ] n .
The above fact directly gives us the form of the subgradients of our objective function F F F , recorded in the following lemma.
Lemma 8.5 (Subgradients of the penalized objective). Let K ≥ 1 K \ge1 K ≥ 1 , P ≥ 0 P \ge0 P ≥ 0 , and A ∈ R n × n A \in\mathbb{R}^{n \times n} A ∈ R n × n be symmetric. Let F ( X ) = ⟨ A , X ⟩ + P dist 1 ( diag X , D K ) F(X) = \langle A, X\rangle+ P\,\operatorname{dist}_1(\operatorname{diag} X, \mathcal{D}_K) F ( X ) = ⟨ A , X ⟩ + P dist 1 ( diag X , D K ) on all real symmetric matrices. Every subgradient H H H of F F F at a point of S \mathcal{S} S has the form
H = A + Diag ( z ) , z ∈ R n , ∥ z ∥ ∞ ≤ P . H = A + \operatorname{Diag}(z), \qquad z \in\mathbb{R}^n, \qquad\lVert z\rVert_\infty\le P. H = A + Diag ( z ) , z ∈ R n , ∥ z ∥ ∞ ≤ P . In particular,
∥ H ∥ op ≤ ∥ A ∥ op + P . \lVert H\rVert_{\operatorname{op}} \le\lVert A\rVert_{\operatorname{op}} + P. ∥ H ∥ op ≤ ∥ A ∥ op + P .
The following lemma lets us replace the matrix exponential in Theorem 8.3 by a low-degree matrix polynomial. (For completeness, we include its standard proof in Appendix § 13 .) The degree of this polynomial depends linearly on the spectral norm of the exponent S t S_t S t . Since the number of iterations of the algorithm is logarithmic in n n n , we have a bound on this spectral norm that is logarithmic in n n n . Hence matrix-vector multiplications for Q Q Q have the same cost as for S t S_t S t up to this logarithmic factor. However, explicitly computing Q Q Q may take quadratic time even for sparse matrices S t S_t S t .
Lemma 8.6 (Approximate matrix exponential). Let S ∈ R n × n S \in\mathbb{R}^{n \times n} S ∈ R n × n be symmetric with ∥ S ∥ op ≤ L \lVert S\rVert_{\operatorname{op}} \le L ∥ S ∥ op ≤ L , where L ≥ 0 L \ge0 L ≥ 0 , and let 0 < α < 1 0 < \alpha< 1 0 < α < 1 . Set m = ⌈ 8 ( L + log ( 3 / α ) + 1 ) ⌉ m = \lceil8(L + \log(3/\alpha) + 1)\rceil m = ⌈ 8 ( L + log ( 3/ α ) + 1 )⌉ and
Q = ∑ j = 0 m − 1 ( S / 2 ) j j ! . Q = \sum_{j=0}^{m-1} \frac{(S/2)^j}{j!}. Q = j = 0 ∑ m − 1 j ! ( S /2 ) j . Then
( 1 − α ) e S ⪯ Q 2 ⪯ ( 1 + α ) e S . (1-\alpha)e^S \preceq Q^2 \preceq(1+\alpha)e^S. ( 1 − α ) e S ⪯ Q 2 ⪯ ( 1 + α ) e S . If one product with S S S costs T S T_S T S operations, then, for any u ∈ R n u \in\mathbb{R}^n u ∈ R n , computing Q u Qu Q u costs O ( ( L + log ( 3 / α ) + 1 ) ( T S + n ) ) O((L+\log(3/\alpha)+1)(T_S+n)) O (( L + log ( 3/ α ) + 1 ) ( T S + n )) operations.
As a final ingredient, we sketch PSD matrices X X X , given access to a factorization X = V V T X = VV^{T} X = V V T , by a low-rank matrix Z Z T ZZ^{T} Z Z T while controlling quadratic forms in expectation in each fixed direction.
Lemma 8.7 (Random-sign quadratic-form estimate). Let V ∈ R n × n V \in\mathbb{R}^{n \times n} V ∈ R n × n and let k ≥ 1 k \ge1 k ≥ 1 be an integer. Draw G ∈ { − 1 , 1 } n × k G \in\{-1,1\}^{n \times k} G ∈ { − 1 , 1 } n × k with independent uniform entries and set Z = k − 1 / 2 V G Z = k^{-1/2}VG Z = k − 1/2 V G . For every fixed u ∈ R n u \in\mathbb{R}^n u ∈ R n ,
E [ ∣ u T ( Z Z T − V V T ) u ∣ ] ≤ 2 k ⟨ u , V V T u ⟩ . \mathbb{E}\left[\left\lvert u^{T}(ZZ^{T}-VV^{T})u\right\rvert\right] \le\sqrt{\frac{2}{k}}\langle u,VV^{T}u\rangle. E [ u T ( Z Z T − V V T ) u ] ≤ k 2 ⟨ u , V V T u ⟩ .
Proof. We bound the variance of the scalar error. Put a = V T u a=V^{T}u a = V T u and let g j g_j g j be the columns of G G G , so
u T ( Z Z T − V V T ) u = k − 1 ∑ j = 1 k ( ( a T g j ) 2 − ∥ a ∥ 2 2 ) . u^{T}(ZZ^{T}-VV^{T})u = k^{-1}\sum_{j=1}^{k}\left((a^{T}g_j)^2-\lVert a\rVert_2^2\right). u T ( Z Z T − V V T ) u = k − 1 j = 1 ∑ k ( ( a T g j ) 2 − ∥ a ∥ 2 2 ) .
Independence of the signs gives E ( a T g j ) 2 = ∥ a ∥ 2 2 \mathbb{E}(a^{T}g_j)^2=\lVert a\rVert_2^2 E ( a T g j ) 2 = ∥ a ∥ 2 2 and
Var ( ( a T g j ) 2 ) = 4 ∑ i < ℓ a i 2 a ℓ 2 ≤ 2 ∥ a ∥ 2 4 . \operatorname{Var}((a^{T}g_j)^2)=4\sum_{i<\ell}a_i^2a_\ell^2\le2\lVert a\rVert_2^4. Var (( a T g j ) 2 ) = 4 i < ℓ ∑ a i 2 a ℓ 2 ≤ 2 ∥ a ∥ 2 4 .
Independence of the columns and Cauchy–Schwarz therefore give E ∣ u T ( Z Z T − V V T ) u ∣ ≤ 2 / k ∥ a ∥ 2 2 \mathbb{E}\lvert u^{T}(ZZ^{T}-VV^{T})u\rvert\le\sqrt{2/k}\lVert a\rVert_2^2 E ∣ u T ( Z Z T − V V T ) u ∣ ≤ 2/ k ∥ a ∥ 2 2 , the claimed bound since ∥ a ∥ 2 2 = u T V V T u \lVert a\rVert_2^2=u^{T}VV^{T}u ∥ a ∥ 2 2 = u T V V T u . ■
The following lemma combines the preceding two lemmas to efficiently construct a low-rank approximation X ~ \widetilde{X} X of X X X , with error controlled in the subgradient directions relevant to minimizing F F F . We defer its proof to Appendix § 13 .
Lemma 8.8 (Exponential matrix density sketch). There is a randomized algorithm that, given a symmetric matrix S ∈ R n × n S \in\mathbb{R}^{n \times n} S ∈ R n × n through a matrix–vector product oracle, a bound L ≥ ∥ S ∥ o p L \ge\lVert S\rVert_{\mathrm{op}} L ≥ ∥ S ∥ op , and 0 < α < 1 0 < \alpha< 1 0 < α < 1 , returns Z ∈ R n × k Z \in\mathbb{R}^{n \times k} Z ∈ R n × k with ∥ Z ∥ F = 1 \lVert Z\rVert_{\mathrm{F}} = 1 ∥ Z ∥ F = 1 and k ≤ O ( α − 2 ) k \le O(\alpha^{-2}) k ≤ O ( α − 2 ) , such that X ~ = Z Z T ∈ S \widetilde{X} = ZZ^{\mathsf{T}} \in\mathcal{S} X = Z Z T ∈ S satisfies, for every symmetric A ∈ R n × n A \in\mathbb{R}^{n \times n} A ∈ R n × n and every P ≥ 0 , P \ge0, P ≥ 0 ,
E sup ∥ d ∥ ∞ ≤ P ∣ ⟨ A + Diag ( d ) , X ~ − X ⟩ ∣ ≤ α ( ∥ A ∥ o p + P ) , \mathbb{E}\ \sup_{\lVert d\rVert_{\infty}\le P}\left\lvert\left\langle A+\operatorname{Diag}(d),\widetilde{X}-X\right\rangle\right\rvert\le\alpha\left(\lVert A\rVert_{\mathrm{op}}+P\right), E ∥ d ∥ ∞ ≤ P sup ⟨ A + Diag ( d ) , X − X ⟩ ≤ α ( ∥ A ∥ op + P ) , where X = e S / Tr e S X=e^S/\operatorname{Tr}e^S X = e S / Tr e S . The algorithm uses O ( α − 2 ( 1 + L + log ( 1 / α ) ) ) O(\alpha^{-2}(1+L+\log(1/\alpha))) O ( α − 2 ( 1 + L + log ( 1/ α ))) matrix-vector products with S S S and n n n times as many additional operations.
In order to efficiently compute subgradients for F F F at the points X ~ t \widetilde{X}_t X t , we also need the following lemma.
Lemma 8.9 (Ball distance oracle). There is a deterministic algorithm that, given K ≥ 1 K \ge1 K ≥ 1 and p ∈ R n p \in\mathbb{R}^n p ∈ R n , computes y ∈ ∂ f ( p ) y \in\partial f(p) y ∈ ∂ f ( p ) , where f ( x ) = dist 1 ( x , D K ) f(x)=\operatorname{dist}_1(x,\mathcal{D}_K) f ( x ) = dist 1 ( x , D K ) for x ∈ R n x \in\mathbb{R}^n x ∈ R n . The algorithm uses O ( n log n ) O(n\log n) O ( n log n ) arithmetic operations.
Proof of Theorem 8.2 . Set
η = δ 32 P 2 , T = ⌈ 128 P 2 log n δ 2 ⌉ , α = δ 16 P . \eta=\frac{\delta}{32P^2},\qquad T=\left\lceil\frac{128P^2\log n}{\delta^2}\right\rceil,\qquad\alpha=\frac{\delta}{16P}. η = 32 P 2 δ , T = ⌈ δ 2 128 P 2 log n ⌉ , α = 16 P δ .
Initialize S 1 = 0 S_1=0 S 1 = 0 . At iteration t t t , apply Lemma 8.8 with fresh independent randomness and the bound L t = 2 η ( t − 1 ) P L_t=2\eta(t-1)P L t = 2 η ( t − 1 ) P to obtain X ~ t = Z t Z t T \widetilde{X}_t=Z_tZ_t^{\mathsf{T}} X t = Z t Z t T . Compute diag X ~ t \operatorname{diag}\widetilde{X}_t diag X t from the squared row norms of Z t Z_t Z t . Writing f ( p ) = dist 1 ( p , D K ) f(p)=\operatorname{dist}_1(p,\mathcal{D}_K) f ( p ) = dist 1 ( p , D K ) , Lemma 8.9 computes y t ∈ ∂ f ( diag X ~ t ) y_t\in\partial f(\operatorname{diag}\widetilde{X}_t) y t ∈ ∂ f ( diag X t ) in O ( n log n ) O(n\log n) O ( n log n ) operations. Thus
H t = A + P Diag ( y t ) ∈ ∂ F ( X ~ t ) . H_t=A+P\operatorname{Diag}(y_t)\in\partial F(\widetilde{X}_t). H t = A + P Diag ( y t ) ∈ ∂ F ( X t ) .
By Lemma 8.5 , ∥ H t ∥ o p ≤ ∥ A ∥ o p + P ≤ 2 P \lVert H_t\rVert_{\mathrm{op}}\le\lVert A\rVert_{\mathrm{op}}+P\le2P ∥ H t ∥ op ≤ ∥ A ∥ op + P ≤ 2 P . Set S t + 1 = S t − η H t S_{t+1}=S_t-\eta H_t S t + 1 = S t − η H t . In this way, the iterations maintain the invariant ∥ S t ∥ o p ≤ L t \lVert S_t\rVert_{\mathrm{op}}\le L_t ∥ S t ∥ op ≤ L t .
Conditioned on the preceding iterations, S t S_t S t is fixed. Although y t y_t y t depends on the current sketch, ∥ y t ∥ ∞ ≤ 1 \lVert y_t\rVert_{\infty}\le1 ∥ y t ∥ ∞ ≤ 1 , so the supremum over diagonal perturbations in Lemma 8.8 gives
E ⟨ H t , X ~ t − X t ⟩ ≤ α ( ∥ A ∥ o p + P ) ≤ 2 α P , X t = e S t Tr e S t . \mathbb{E}\langle H_t,\widetilde{X}_t-X_t\rangle\le\alpha(\lVert A\rVert_{\mathrm{op}}+P)\le2\alpha P,\qquad X_t=\frac{e^{S_t}}{\operatorname{Tr}e^{S_t}}. E ⟨ H t , X t − X t ⟩ ≤ α (∥ A ∥ op + P ) ≤ 2 α P , X t = Tr e S t e S t .
Consequently, Theorem 8.3 yields
E F ( 1 T ∑ t = 1 T X ~ t ) − min S F ≤ log n η T + 8 η P 2 + 2 α P ≤ δ . \mathbb{E}F\left(\frac{1}{T}\sum_{t=1}^{T}\widetilde{X}_t\right)-\min_{S}F\le\frac{\log n}{\eta T}+8\eta P^2+2\alpha P\le\delta. E F ( T 1 t = 1 ∑ T X t ) − S min F ≤ η T log n + 8 η P 2 + 2 α P ≤ δ .
Return Z = T − 1 / 2 [ Z 1 ⋯ Z T ] Z=T^{-1/2}[Z_1\ \cdots\ Z_T] Z = T − 1/2 [ Z 1 ⋯ Z T ] . Its Gram matrix is the average above and belongs to S \mathcal{S} S .
It remains to bound the cost. Maintain b t = ∑ s < t y s b_t=\sum_{s<t}y_s b t = ∑ s < t y s incrementally, so
S t x = − η ( ( t − 1 ) A x + P Diag ( b t ) x ) . S_t x=-\eta\left((t-1)Ax+P\operatorname{Diag}(b_t)x\right). S t x = − η ( ( t − 1 ) A x + P Diag ( b t ) x ) .
Each product with S t S_t S t therefore uses one product with A A A and O ( n ) O(n) O ( n ) additional operations. Since 0 < δ ≤ P 0<\delta\le P 0 < δ ≤ P ,
T = O ( ( P / δ ) 2 log n ) , 1 + L t + log ( 1 / α ) = O ( ( P / δ ) log n ) . T=O\left((P/\delta)^2\log n\right),\qquad1+L_t+\log(1/\alpha)=O\left((P/\delta)\log n\right). T = O ( ( P / δ ) 2 log n ) , 1 + L t + log ( 1/ α ) = O ( ( P / δ ) log n ) .
The sketch lemma thus gives a total of O ( ( P / δ ) 5 ( log n ) 2 ) O\left((P/\delta)^5(\log n)^2\right) O ( ( P / δ ) 5 ( log n ) 2 ) products with A A A and
r = O ( T α − 2 ) = O ( P 4 log n / δ 4 ) r=O(T\alpha^{-2})=O\left(P^4\log n/\delta^4\right) r = O ( T α − 2 ) = O ( P 4 log n / δ 4 )
output columns. Computing the diagonals, forming the output factor, maintaining b t b_t b t , and the T T T ball-oracle calls all fit n n n times this product bound. ■
Analysis of postprocessing by lifting
In this section we prove Lemma 5.3.
Lemma 5.3 (Robust postprocessing). Let ( G , σ ∗ ) ∼ SBM ( n , d , λ ) (G,\sigma^\ast)\sim\operatorname{SBM}(n,d,\lambda) ( G , σ ∗ ) ∼ SBM ( n , d , λ ) and ξ \xi ξ be a unit eigenvector for the eigenvalue of B G B_G B G of second-largest modulus. For every d ≥ 1 d\ge1 d ≥ 1 , λ ∈ ( − 1 , 1 ) \lambda\in(-1,1) λ ∈ ( − 1 , 1 ) with d λ 2 > 1 d\lambda^2>1 d λ 2 > 1 , and ϵ > 0 \epsilon>0 ϵ > 0 , there are η > 0 \eta>0 η > 0 , δ > 0 \delta>0 δ > 0 , s 0 ∈ N s_0\in\mathbb{N} s 0 ∈ N , and a linear-time algorithm with the following guarantee for every s ≥ s 0 s\ge s_0 s ≥ s 0 : with high probability over ( G , σ ∗ ) (G,\sigma^\ast) ( G , σ ∗ ) , given input y ∈ R n y\in\mathbb{R}^n y ∈ R n satisfying
min a ∈ { ± 1 } ∥ y − a σ ( s ) ∥ σ ( s ) ∥ ∥ ≤ δ , \min_{a\in\{\pm1\}}\left\|y-a\frac{\sigma^{(s)}}{\|\sigma^{(s)}\|}\right\|\le\delta, a ∈ { ± 1 } min y − a ∥ σ ( s ) ∥ σ ( s ) ≤ δ , and an arbitrary graph F F F satisfying ∣ E ( F ) △ E ( G ) ∣ ≤ η n |E(F)\mathbin{\triangle}E(G)|\le\eta n ∣ E ( F ) △ E ( G ) ∣ ≤ η n , the algorithm outputs a vector ξ ^ ( F ) \widehat{\xi}(F) ξ ( F ) such that
min a ∈ { ± 1 } ∥ ξ ^ ( F ) − a ξ ∥ ≤ ϵ . \min_{a\in\{\pm1\}}\|\widehat{\xi}(F)-a\xi\|\le\epsilon. a ∈ { ± 1 } min ∥ ξ ( F ) − a ξ ∥ ≤ ϵ .
We first describe the algorithm. For a graph Q Q Q on [ n ] [n] [ n ] and x ∈ R n x\in\mathbb{R}^n x ∈ R n , let R Q x ∈ R E ⃗ ( Q ) R_Qx\in\mathbb{R}^{\vec{E}(Q)} R Q x ∈ R E ( Q ) lift to a vector on directed edges:
( R Q x ) u → v = x v − x u d λ . (R_Qx)_{u\to v}=x_v-\frac{x_u}{d\lambda}. ( R Q x ) u → v = x v − d λ x u .
For J ≥ 1 J\ge1 J ≥ 1 let Q J Q_J Q J be the graph obtained from Q Q Q by deleting every edge with an endpoint of degree more than J J J in Q Q Q . As in § 4 , vectors on the directed edges of different graphs are compared as vectors indexed by all ordered pairs, in R n 2 − n \mathbb{R}^{n^2-n} R n 2 − n . Given y y y and F F F , the postprocessing algorithm A p o s t A_{\mathrm{post}} A post outputs ξ ^ ( F ) = R F J y / ∥ R F J y ∥ \widehat{\xi}(F)=R_{F_J}y/\|R_{F_J}y\| ξ ( F ) = R F J y /∥ R F J y ∥ , for a constant J = J ( d , λ , ϵ ) J=J(d,\lambda,\epsilon) J = J ( d , λ , ϵ ) chosen below; it runs in time O ( n + ∣ E ( F ) ∣ ) O(n+|E(F)|) O ( n + ∣ E ( F ) ∣ ) .
We put together a few lemmas to prove Lemma 5.3. First, recall the “walk score vector” from § 4 ,
W u → v ( ℓ ) = ( d λ ) − ℓ ∑ nonbacktracking ( u 0 , … , u ℓ + 1 ) u 0 = u , u 1 = v σ u ℓ + 1 ∗ . W^{(\ell)}_{u\to v}=(d\lambda)^{-\ell}
\sum_{\substack{\text{nonbacktracking }(u_0,\ldots,u_{\ell+1})\\u_0=u,\ u_1=v}}\sigma^\ast_{u_{\ell+1}}. W u → v ( ℓ ) = ( d λ ) − ℓ nonbacktracking ( u 0 , … , u ℓ + 1 ) u 0 = u , u 1 = v ∑ σ u ℓ + 1 ∗ .
which is close to the second eigenvector ξ \xi ξ of the nonbacktracking matrix for SBM graphs. The first lemma shows that the lifting operation R G R_G R G lifts the vector A ( s ) σ ∗ A^{(s)}\sigma^\ast A ( s ) σ ∗ to a vector close to W ( s ) W^{(s)} W ( s ) (up to rescaling). We prove it at the end of this section.
Lemma 9.1 (Lifting the vertex walk score). Let ( G , σ ⋆ ) ∼ SBM ( n , d , λ ) (G,\sigma^\star) \sim\operatorname{SBM}(n,d,\lambda) ( G , σ ⋆ ) ∼ SBM ( n , d , λ ) with d λ 2 > 1 d\lambda^2 > 1 d λ 2 > 1 , and let W ( ℓ ) W^{(\ell)} W ( ℓ ) be the walk scores of § 4 . For every ε > 0 \varepsilon> 0 ε > 0 there is s 0 = s 0 ( d , λ , ε ) s_0 = s_0(d,\lambda,\varepsilon) s 0 = s 0 ( d , λ , ε ) such that for every fixed s ≥ s 0 s \ge s_0 s ≥ s 0 , with high probability,
∥ ( d λ ) 2 ( d λ ) 2 − 1 ⋅ R G A G ( s ) σ ⋆ ( d λ ) s − W ( s ) ∥ ≤ ε n . \left\| \frac{(d\lambda)^2}{(d\lambda)^2-1} \cdot R_G \frac{A_G^{(s)}\sigma^\star}{(d\lambda)^s} - W^{(s)} \right\| \le\varepsilon\sqrt{n}. ( d λ ) 2 − 1 ( d λ ) 2 ⋅ R G ( d λ ) s A G ( s ) σ ⋆ − W ( s ) ≤ ε n .
The second lemma captures robustness of the lifting operation – it’s not too harmful that the algorithm uses the corrupted graph F F F to do the lifting. We prove it at the end of this section.
Lemma 9.2 (Lifting using the corrupted graph is ok). For every ε > 0 \varepsilon> 0 ε > 0 there is J 0 ( ε ) J_0(\varepsilon) J 0 ( ε ) such that for every J ≥ J 0 J \ge J_0 J ≥ J 0 there is η > 0 \eta> 0 η > 0 such that for every sufficiently large fixed s s s , with high probability, every graph F F F on [ n ] [n] [ n ] with ∣ E ( F ) △ E ( G ) ∣ ≤ η n |E(F)\mathbin{\triangle}E(G)| \le\eta n ∣ E ( F ) △ E ( G ) ∣ ≤ η n satisfies
∥ R F J A G ( s ) σ ⋆ ( d λ ) s − R G A G ( s ) σ ⋆ ( d λ ) s ∥ ≤ ε n . \left\|R_{F_J}\frac{A_G^{(s)}\sigma^\star}{(d\lambda)^s} - R_G\frac{A_G^{(s)}\sigma^\star}{(d\lambda)^s}\right\| \le\varepsilon\sqrt{n}. R F J ( d λ ) s A G ( s ) σ ⋆ − R G ( d λ ) s A G ( s ) σ ⋆ ≤ ε n . Moreover, every graph Q Q Q on [ n ] [n] [ n ] with maximum degree at most J J J satisfies ∥ R Q ∥ ≤ O d , λ , J ( 1 ) \|R_Q\| \le O_{d,\lambda,J}(1) ∥ R Q ∥ ≤ O d , λ , J ( 1 ) .
Finally, we will need some basic bounds on norms of W ( s ) W^{(s)} W ( s ) and A G ( s ) σ ⋆ A_G^{(s)}\sigma^\star A G ( s ) σ ⋆ .
Fact 9.3 (Norms of the walk scores). Let ( G , σ ⋆ ) ∼ SBM ( n , d , λ ) (G,\sigma^\star) \sim\operatorname{SBM}(n,d,\lambda) ( G , σ ⋆ ) ∼ SBM ( n , d , λ ) with d λ 2 > 1 d\lambda^2 > 1 d λ 2 > 1 . There is C = C ( d , λ ) C = C(d,\lambda) C = C ( d , λ ) , not depending on s s s , such that for every fixed s ≥ 1 s \ge1 s ≥ 1 , with high probability,
n C ≤ ∥ W ( s ) ∥ ≤ C n and ∥ A G ( s ) σ ⋆ ( d λ ) s ∥ ≤ C n . \frac{\sqrt{n}}{C} \le\|W^{(s)}\| \le C\sqrt{n}
\quad\text{and}\quad
\left\|\frac{A_G^{(s)}\sigma^\star}{(d\lambda)^s}\right\| \le C\sqrt{n}. C n ≤ ∥ W ( s ) ∥ ≤ C n and ( d λ ) s A G ( s ) σ ⋆ ≤ C n .
These follow from Fact 4.7 and [76 Proposition 6] ; see also [76 Proposition 10] .
Proof of Lemma 5.3. We elide the min a ∈ { ± 1 } \min_{a\in\{\pm1\}} min a ∈ { ± 1 } through this proof for simplicity. Fix ε > 0 \varepsilon> 0 ε > 0 . It will be more convenient to work with a rescaling of y y y given by z = ∥ A G ( s ) σ ⋆ / ( d λ ) s ∥ ⋅ y z = \|A_G^{(s)}\sigma^\star/(d\lambda)^s\|\cdot y z = ∥ A G ( s ) σ ⋆ / ( d λ ) s ∥ ⋅ y . With δ \delta δ to be chosen later, the algorithm gets as input z z z such that
∥ z − A G ( s ) σ ⋆ ( d λ ) s ∥ ≤ δ ∥ A G ( s ) σ ⋆ ( d λ ) s ∥ ≤ C δ n \left\|z-\frac{A_G^{(s)}\sigma^\star}{(d\lambda)^s}\right\| \le\delta\left\|\frac{A_G^{(s)}\sigma^\star}{(d\lambda)^s}\right\| \le C\delta\sqrt{n} z − ( d λ ) s A G ( s ) σ ⋆ ≤ δ ( d λ ) s A G ( s ) σ ⋆ ≤ C δ n
with high probability, where C = C ( d , λ ) C = C(d,\lambda) C = C ( d , λ ) is the constant of Fact 9.3.
We use this to bound the difference between the lifted vector R F J z R_{F_J}z R F J z and the second eigenvector, with some convenient scalings chosen to create cancelations.
We have
∥ ( d λ ) 2 ( d λ ) 2 − 1 R F J z − ∥ W ( s ) ∥ ξ ∥ ≤ ( d λ ) 2 ( d λ ) 2 − 1 ∥ R F J ( z − A G ( s ) σ ⋆ ( d λ ) s ) ∥ + ( d λ ) 2 ( d λ ) 2 − 1 ∥ R F J A G ( s ) σ ⋆ ( d λ ) s − R G A G ( s ) σ ⋆ ( d λ ) s ∥ + ∥ ( d λ ) 2 ( d λ ) 2 − 1 R G A G ( s ) σ ⋆ ( d λ ) s − W ( s ) ∥ + ∥ W ( s ) − ∥ W ( s ) ∥ ξ ∥ . \left\|\frac{(d\lambda)^2}{(d\lambda)^2-1}R_{F_J}z-\|W^{(s)}\|\xi\right\|
\le
\frac{(d\lambda)^2}{(d\lambda)^2-1}\left\|R_{F_J}\left(z-\frac{A_G^{(s)}\sigma^\star}{(d\lambda)^s}\right)\right\|
+
\frac{(d\lambda)^2}{(d\lambda)^2-1}\left\|R_{F_J}\frac{A_G^{(s)}\sigma^\star}{(d\lambda)^s}-R_G\frac{A_G^{(s)}\sigma^\star}{(d\lambda)^s}\right\|
+
\left\|\frac{(d\lambda)^2}{(d\lambda)^2-1}R_G\frac{A_G^{(s)}\sigma^\star}{(d\lambda)^s}-W^{(s)}\right\|
+
\left\|W^{(s)}-\|W^{(s)}\|\xi\right\|. ( d λ ) 2 − 1 ( d λ ) 2 R F J z − ∥ W ( s ) ∥ ξ ≤ ( d λ ) 2 − 1 ( d λ ) 2 R F J ( z − ( d λ ) s A G ( s ) σ ⋆ ) + ( d λ ) 2 − 1 ( d λ ) 2 R F J ( d λ ) s A G ( s ) σ ⋆ − R G ( d λ ) s A G ( s ) σ ⋆ + ( d λ ) 2 − 1 ( d λ ) 2 R G ( d λ ) s A G ( s ) σ ⋆ − W ( s ) + W ( s ) − ∥ W ( s ) ∥ ξ .
For the first term, ∥ R F J ∥ ≤ O d , λ , J ( 1 ) \|R_{F_J}\| \le O_{d,\lambda,J}(1) ∥ R F J ∥ ≤ O d , λ , J ( 1 ) by Lemma 9.2 and ∥ z − A G ( s ) σ ⋆ / ( d λ ) s ∥ ≤ C δ n \|z-A_G^{(s)}\sigma^\star/(d\lambda)^s\| \le C\delta\sqrt{n} ∥ z − A G ( s ) σ ⋆ / ( d λ ) s ∥ ≤ C δ n , so it is at most O d , λ , J ( δ ) n O_{d,\lambda,J}(\delta)\sqrt{n} O d , λ , J ( δ ) n . For the second term, Lemma 9.2 bounds it by ( d λ ) 2 ( d λ ) 2 − 1 ε n \frac{(d\lambda)^2}{(d\lambda)^2-1}\varepsilon\sqrt{n} ( d λ ) 2 − 1 ( d λ ) 2 ε n , choosing J J J large enough and then η \eta η small enough.
For the third term, Lemma 9.1 bounds it by ε n \varepsilon\sqrt{n} ε n once s s s is large.
For the fourth term, ∥ W ( s ) − ∥ W ( s ) ∥ ξ ∥ = ∥ W ( s ) ∥ ⋅ ∥ W ( s ) ∥ W ( s ) ∥ − ξ ∥ ≤ C n ⋅ o s → ∞ ( 1 ) \left\|W^{(s)}-\|W^{(s)}\|\xi\right\|=\|W^{(s)}\|\cdot\left\|\frac{W^{(s)}}{\|W^{(s)}\|}-\xi\right\|\le C\sqrt{n}\cdot o_{s\to\infty}(1) W ( s ) − ∥ W ( s ) ∥ ξ = ∥ W ( s ) ∥ ⋅ ∥ W ( s ) ∥ W ( s ) − ξ ≤ C n ⋅ o s → ∞ ( 1 ) by Fact 9.3 and Lemma 4.3.
All together, the left-hand side is at most ( O d , λ , J ( δ ) + O d , λ ( ε ) + o s → ∞ ( 1 ) ) n (O_{d,\lambda,J}(\delta)+O_{d,\lambda}(\varepsilon)+o_{s\to\infty}(1))\sqrt{n} ( O d , λ , J ( δ ) + O d , λ ( ε ) + o s → ∞ ( 1 )) n . Since ∥ W ( s ) ∥ ξ \|W^{(s)}\|\xi ∥ W ( s ) ∥ ξ has norm ∥ W ( s ) ∥ ≥ n / C \|W^{(s)}\|\ge\sqrt{n}/C ∥ W ( s ) ∥ ≥ n / C , the inequality ∥ x ∥ x ∥ − x ′ ∥ x ′ ∥ ∥ ≤ 2 ∥ x − x ′ ∥ / ∥ x ′ ∥ \left\|\frac{x}{\|x\|}-\frac{x'}{\|x'\|}\right\|\le2\|x-x'\|/\|x'\| ∥ x ∥ x − ∥ x ′ ∥ x ′ ≤ 2∥ x − x ′ ∥/∥ x ′ ∥ gives ∥ ξ ^ ( F ) − ξ ∥ ≤ 2 C ( O d , λ , J ( δ ) + O d , λ ( ε ) + o s → ∞ ( 1 ) ) \|\widehat{\xi}(F)-\xi\|\le2C(O_{d,\lambda,J}(\delta)+O_{d,\lambda}(\varepsilon)+o_{s\to\infty}(1)) ∥ ξ ( F ) − ξ ∥ ≤ 2 C ( O d , λ , J ( δ ) + O d , λ ( ε ) + o s → ∞ ( 1 )) , which is small once ε \varepsilon ε and then δ \delta δ are small and s s s is large. ■
It remains to prove Lemmas 9.1 and 9.2.
Proof of Lemma 9.1. We will show that R G A G ( s ) σ ∗ R_G A_G^{(s)}\sigma^* R G A G ( s ) σ ∗ is W u → v W_{u\to v} W u → v up to rescaling and some explicit low-order corrections.
Fix a directed edge u → v u\to v u → v of G G G . ( A G ( s ) σ ∗ ) v (A_G^{(s)}\sigma^*)_v ( A G ( s ) σ ∗ ) v is a sum over nonbacktracking walks beginning at v v v . We can split that sum according to whether the first step from v v v goes to u u u or not, to get
( A G ( s ) σ ∗ ) v = ( d λ ) s W u → v ( s ) + ( d λ ) s − 1 W v → u ( s − 1 ) . (A_G^{(s)}\sigma^*)_v=(d\lambda)^sW_{u\to v}^{(s)}+(d\lambda)^{s-1}W_{v\to u}^{(s-1)}. ( A G ( s ) σ ∗ ) v = ( d λ ) s W u → v ( s ) + ( d λ ) s − 1 W v → u ( s − 1 ) .
Exchanging the roles of u u u and v v v ,
( A G ( s ) σ ∗ ) u = ( d λ ) s W v → u ( s ) + ( d λ ) s − 1 W u → v ( s − 1 ) . (A_G^{(s)}\sigma^*)_u=(d\lambda)^sW_{v\to u}^{(s)}+(d\lambda)^{s-1}W_{u\to v}^{(s-1)}. ( A G ( s ) σ ∗ ) u = ( d λ ) s W v → u ( s ) + ( d λ ) s − 1 W u → v ( s − 1 ) .
Substituting both into ( R G x ) u → v = x v − x u / ( d λ ) (R_Gx)_{u\to v}=x_v-x_u/(d\lambda) ( R G x ) u → v = x v − x u / ( d λ ) ,
( R G A G ( s ) σ ∗ ( d λ ) s ) u → v = W u → v ( s ) − W u → v ( s − 1 ) ( d λ ) 2 − W v → u ( s ) − W v → u ( s − 1 ) d λ = ( 1 − 1 ( d λ ) 2 ) W u → v ( s ) + W u → v ( s ) − W u → v ( s − 1 ) ( d λ ) 2 − W v → u ( s ) − W v → u ( s − 1 ) d λ . \begin{aligned}
\left(R_G\frac{A_G^{(s)}\sigma^*}{(d\lambda)^s}\right)_{u\to v}
=W_{u\to v}^{(s)}-\frac{W_{u\to v}^{(s-1)}}{(d\lambda)^2}-\frac{W_{v\to u}^{(s)}-W_{v\to u}^{(s-1)}}{d\lambda} \\
&=\left(1-\frac{1}{(d\lambda)^2}\right)W_{u\to v}^{(s)}
+\frac{W_{u\to v}^{(s)}-W_{u\to v}^{(s-1)}}{(d\lambda)^2}
-\frac{W_{v\to u}^{(s)}-W_{v\to u}^{(s-1)}}{d\lambda}.
\end{aligned} ( R G ( d λ ) s A G ( s ) σ ∗ ) u → v = W u → v ( s ) − ( d λ ) 2 W u → v ( s − 1 ) − d λ W v → u ( s ) − W v → u ( s − 1 ) = ( 1 − ( d λ ) 2 1 ) W u → v ( s ) + ( d λ ) 2 W u → v ( s ) − W u → v ( s − 1 ) − d λ W v → u ( s ) − W v → u ( s − 1 ) .
By triangle inequality,
∥ ( d λ ) 2 ( d λ ) 2 − 1 R G A G ( s ) σ ∗ ( d λ ) s − W ( s ) ∥ ≤ 1 + ∣ d λ ∣ ( d λ ) 2 − 1 ∥ W ( s ) − W ( s − 1 ) ∥ . \left\|\frac{(d\lambda)^2}{(d\lambda)^2-1}R_G\frac{A_G^{(s)}\sigma^*}{(d\lambda)^s}-W^{(s)}\right\|
\le\frac{1+|d\lambda|}{(d\lambda)^2-1}\left\|W^{(s)}-W^{(s-1)}\right\|. ( d λ ) 2 − 1 ( d λ ) 2 R G ( d λ ) s A G ( s ) σ ∗ − W ( s ) ≤ ( d λ ) 2 − 1 1 + ∣ d λ ∣ W ( s ) − W ( s − 1 ) .
By Lemma 4.9 , with high probability ∥ W ( s ) − W ( s − 1 ) ∥ ≤ ( O d , λ ( ( d λ 2 ) − s / 2 ) + o ( 1 ) ) n \|W^{(s)}-W^{(s-1)}\|\le(O_{d,\lambda}((d\lambda^2)^{-s/2})+o(1))\sqrt{n} ∥ W ( s ) − W ( s − 1 ) ∥ ≤ ( O d , λ (( d λ 2 ) − s /2 ) + o ( 1 )) n , which is at most ε n ⋅ ( ( d λ ) 2 − 1 ) / ( 1 + ∣ d λ ∣ ) \varepsilon\sqrt{n}\cdot((d\lambda)^2-1)/(1+|d\lambda|) ε n ⋅ (( d λ ) 2 − 1 ) / ( 1 + ∣ d λ ∣ ) once s s s is large. ■
Proof of Lemma 9.2. We first establish the spectral norm bound in the “moreover”. Let Q Q Q be any graph on [ n ] [n] [ n ] with maximum degree J J J ; let x ∈ R n x\in\mathbb{R}^n x ∈ R n . Then
∑ u ∼ v ( R Q x ) u → v 2 ≤ O d , λ ( 1 ) ⋅ ∑ u ∼ v ( x u 2 + x v 2 ) ≤ O d , λ ( J ) ∥ x ∥ 2 . \sum_{u\sim v}(R_Qx)_{u\to v}^2\le O_{d,\lambda}(1)\cdot\sum_{u\sim v}(x_u^2+x_v^2)\le O_{d,\lambda}(J)\|x\|^2. u ∼ v ∑ ( R Q x ) u → v 2 ≤ O d , λ ( 1 ) ⋅ u ∼ v ∑ ( x u 2 + x v 2 ) ≤ O d , λ ( J ) ∥ x ∥ 2 .
Now we turn to the main statement of the lemma. Henceforth in this proof let x = A G ( s ) σ ∗ / ( d λ ) s x=A_G^{(s)}\sigma^*/(d\lambda)^s x = A G ( s ) σ ∗ / ( d λ ) s , so our goal is to bound ∥ R F J x − R G x ∥ \|R_{F_J}x-R_Gx\| ∥ R F J x − R G x ∥ . For any edge u , v u,v u , v in both G G G and F J F_J F J the vector ( R F J x − R G x ) u → v (R_{F_J}x-R_Gx)_{u\to v} ( R F J x − R G x ) u → v is zero. So
∥ R F J x − R G x ∥ 2 ≤ O d , λ ( 1 ) ∑ { u , v } ∈ E ( F J ) △ E ( G ) ( x u 2 + x v 2 ) . \|R_{F_J}x-R_Gx\|^2\le O_{d,\lambda}(1)\sum_{\{u,v\}\in E(F_J)\mathbin{\triangle}E(G)}(x_u^2+x_v^2). ∥ R F J x − R G x ∥ 2 ≤ O d , λ ( 1 ) { u , v } ∈ E ( F J ) △ E ( G ) ∑ ( x u 2 + x v 2 ) .
Let m ( v ) m(v) m ( v ) be the number of edges of E ( F J ) △ E ( G ) E(F_J)\triangle E(G) E ( F J ) △ E ( G ) at v v v . By Cauchy–Schwarz,
∑ { u , v } ∈ E ( F J ) △ E ( G ) ( x u 2 + x v 2 ) = ∑ v ∈ [ n ] m ( v ) x v 2 ≤ ( ∑ v ∈ [ n ] m ( v ) 2 ) 1 / 2 ∥ x ∥ 4 2 . \sum_{\{u,v\}\in E(F_J)\triangle E(G)}(x_u^2+x_v^2)=\sum_{v\in[n]}m(v)x_v^2\leq\left(\sum_{v\in[n]}m(v)^2\right)^{1/2}\lVert x\rVert_4^2. { u , v } ∈ E ( F J ) △ E ( G ) ∑ ( x u 2 + x v 2 ) = v ∈ [ n ] ∑ m ( v ) x v 2 ≤ v ∈ [ n ] ∑ m ( v ) 2 1/2 ∥ x ∥ 4 2 .
The vector x x x is the local statistic σ ( s ) \sigma^{(s)} σ ( s ) of § 6 , so by Lemma 6.4 and Lemma 6.5 (iii), with high probability ∥ x ∥ 4 4 ≤ C n \lVert x\rVert_4^4\leq Cn ∥ x ∥ 4 4 ≤ C n for a constant C = C ( d , λ ) C=C(d,\lambda) C = C ( d , λ ) not depending on s s s . So we just need to bound ∑ v ∈ [ n ] m ( v ) 2 \sum_{v\in[n]}m(v)^2 ∑ v ∈ [ n ] m ( v ) 2 with high probability.
Since E ( G J ) ⊆ E ( G ) E(G_J)\subseteq E(G) E ( G J ) ⊆ E ( G ) , every edge of E ( F J ) △ E ( G ) E(F_J)\triangle E(G) E ( F J ) △ E ( G ) lies in E ( G ) ∖ E ( G J ) E(G)\setminus E(G_J) E ( G ) ∖ E ( G J ) or in E ( F J ) △ E ( G J ) E(F_J)\triangle E(G_J) E ( F J ) △ E ( G J ) . So m ( v ) ≤ g J ( v ) + m ′ ( v ) m(v)\leq g_J(v)+m'(v) m ( v ) ≤ g J ( v ) + m ′ ( v ) , where g J ( v ) g_J(v) g J ( v ) is the number of edges of E ( G ) ∖ E ( G J ) E(G)\setminus E(G_J) E ( G ) ∖ E ( G J ) at v v v and m ′ ( v ) m'(v) m ′ ( v ) is the number of edges of E ( F J ) △ E ( G J ) E(F_J)\triangle E(G_J) E ( F J ) △ E ( G J ) at v v v , and
∑ v ∈ [ n ] m ( v ) 2 ≤ 2 ∑ v ∈ [ n ] g J ( v ) 2 + 2 ∑ v ∈ [ n ] m ′ ( v ) 2 . \sum_{v\in[n]}m(v)^2\leq2\sum_{v\in[n]}g_J(v)^2+2\sum_{v\in[n]}m'(v)^2. v ∈ [ n ] ∑ m ( v ) 2 ≤ 2 v ∈ [ n ] ∑ g J ( v ) 2 + 2 v ∈ [ n ] ∑ m ′ ( v ) 2 .
The first sum is the error from the degree cutoff, and the second is the error from the corruptions.
For the first sum, g J ( v ) g_J(v) g J ( v ) is the number of edges at v v v touching a vertex of degree more than J J J , so g J 2 g_J^2 g J 2 is a local statistic and by Lemma 6.4 , 1 n ∑ v ∈ [ n ] g J ( v ) 2 → ∥ g J ∥ L 2 2 \frac{1}{n}\sum_{v\in[n]}g_J(v)^2\to\lVert g_J\rVert_{L^2}^2 n 1 ∑ v ∈ [ n ] g J ( v ) 2 → ∥ g J ∥ L 2 2 . On the broadcast tree, g J ( o ) ≤ deg ( o ) g_J(o)\leq\deg(o) g J ( o ) ≤ deg ( o ) and g J ( o ) → 0 g_J(o)\to0 g J ( o ) → 0 as J → ∞ J\to\infty J → ∞ , so ∥ g J ∥ L 2 → 0 \lVert g_J\rVert_{L^2}\to0 ∥ g J ∥ L 2 → 0 .
For the second sum, both F J F_J F J and G J G_J G J have maximum degree at most J J J , so m ′ ( v ) ≤ 2 J m'(v)\leq2J m ′ ( v ) ≤ 2 J and
∑ v ∈ [ n ] m ′ ( v ) 2 ≤ 2 J ∑ v ∈ [ n ] m ′ ( v ) = 4 J ∣ E ( F J ) △ E ( G J ) ∣ . \sum_{v\in[n]}m'(v)^2\leq2J\sum_{v\in[n]}m'(v)=4J\lvert E(F_J)\triangle E(G_J)\rvert. v ∈ [ n ] ∑ m ′ ( v ) 2 ≤ 2 J v ∈ [ n ] ∑ m ′ ( v ) = 4 J ∣ E ( F J ) △ E ( G J )∣ .
We claim that ∣ E ( F J ) △ E ( G J ) ∣ ≤ O ( J η n ) \lvert E(F_J)\triangle E(G_J)\rvert\leq O(J\eta n) ∣ E ( F J ) △ E ( G J )∣ ≤ O ( J η n ) . An edge of E ( G J ) ∖ E ( F J ) E(G_J)\setminus E(F_J) E ( G J ) ∖ E ( F J ) was either removed by the adversary, or it is still in F F F but has an endpoint whose degree the adversary pushed above J J J . There are at most 2 η n 2\eta n 2 η n endpoints of corrupted edges, and each has at most J J J edges in G J G_J G J , so ∣ E ( G J ) ∖ E ( F J ) ∣ ≤ ( 2 J + 1 ) η n \lvert E(G_J)\setminus E(F_J)\rvert\leq(2J+1)\eta n ∣ E ( G J ) ∖ E ( F J )∣ ≤ ( 2 J + 1 ) η n . Symmetrically, ∣ E ( F J ) ∖ E ( G J ) ∣ ≤ ( 2 J + 1 ) η n \lvert E(F_J)\setminus E(G_J)\rvert\leq(2J+1)\eta n ∣ E ( F J ) ∖ E ( G J )∣ ≤ ( 2 J + 1 ) η n .
Putting these together, with high probability, simultaneously for every F F F with ∣ E ( F ) △ E ( G ) ∣ ≤ η n \lvert E(F)\triangle E(G)\rvert\leq\eta n ∣ E ( F ) △ E ( G )∣ ≤ η n ,
1 n ∑ v ∈ [ n ] m ( v ) 2 ≤ 4 ∥ g J ∥ L 2 2 + O ( J 2 η ) . \frac{1}{n}\sum_{v\in[n]}m(v)^2\leq4\lVert g_J\rVert_{L^2}^2+O(J^2\eta). n 1 v ∈ [ n ] ∑ m ( v ) 2 ≤ 4 ∥ g J ∥ L 2 2 + O ( J 2 η ) .
Choosing J J J large enough and then η \eta η small enough makes this as small as desired, which concludes the proof. ■
AI methodology
In May 2026, the authors proved, without any AI assistance, that initializing belief propagation at the second eigenvector succeeds at optimal recovery for any set of parameters above the KS threshold, along with a robust algorithm based on the Bethe Hessian matrix to estimate the second eigenvector in the presence of adversarial corruptions when the degree d → ∞ d\to\infty d → ∞ sufficiently above the KS threshold.
In July 2026, the authors extensively interacted with GPT-5.6 Sol to upgrade the robust algorithm to estimate the second eigenvector for all d > 1 d>1 d > 1 and all SNR above the KS threshold based on a degree-truncated nonbacktracking matrix power. The analysis was highly technical, and required proving spectral norm estimates on asymmetric random matrices with correlated entries. To abet verification, the authors used GPT-5.6 Sol to produce a Lean certificate.
However, this paper ultimately did not use that proof in favor of a shorter and more human-verifiable proof—in September 2026, the authors fed their earlier research notes to GPT-6 Astra with instructions to upgrade the Bethe Hessian-based algorithm to all parameter regimes, and in a single shot it produced a robust algorithm for second eigenvector estimation based on a suitably “corrected” Bethe Hessian matrix presented here.
The authors interacted extensively with frontier models (GPT-6 Astra, GPT-6.1 Sol, Opus 5.5, and Fable 5.1) to streamline proofs by finding simplifications, and to identify relevant literature containing quantitative estimates used in our proofs. These models were used as writing and editing aids in generating this manuscript.
Acknowledgements
The authors thank Prasad Raghavendra for many conversations about robust community estimation.
Proof of Lemma 6.9
In this section, we establish Lemma 6.9.
Lemma 6.9 (σ ( s ) \sigma^{(s)} σ ( s ) is an approximate eigenvector of C ( s ) C^{(s)} C ( s ) ). Let c = d λ 2 / ( d λ 2 − 1 ) c = d\lambda^2/(d\lambda^2 - 1) c = d λ 2 / ( d λ 2 − 1 ) . As s → ∞ s \to\infty s → ∞ , for each s ′ ∈ { s − 1 , s , s + 1 } s' \in\{s - 1,s,s + 1\} s ′ ∈ { s − 1 , s , s + 1 } ,
(a) ∥ C ( s ) σ ( s ′ ) − c σ ( s ) ∥ → 0 , \lVert C^{(s)}\sigma^{(s')}-c\sigma^{(s)}\rVert\to0, ∥ C ( s ) σ ( s ′ ) − c σ ( s ) ∥ → 0 ,
(b) ∥ C ( s ) ( D − I ) σ ( s ′ ) − ( d c + 1 ) σ ( s ) ∥ → 0 , \lVert C^{(s)}(D-I)\sigma^{(s') }-(dc+1)\sigma^{(s)}\rVert\to0, ∥ C ( s ) ( D − I ) σ ( s ′ ) − ( d c + 1 ) σ ( s ) ∥ → 0 , and
(c) ∥ C ( s ) H ( C ( s ) σ ( s ) − c σ ( s ) ) ∥ → 0. \lVert C^{(s)}H(C^{(s)}\sigma^{(s)}-c\sigma^{(s)})\rVert\to0. ∥ C ( s ) H ( C ( s ) σ ( s ) − c σ ( s ) )∥ → 0.
Denote ρ = d λ 2 > 1 \rho=d\lambda^2>1 ρ = d λ 2 > 1 . We start by proving (a) and (b).
Proof of (a,b). We begin with s ′ = s s'=s s ′ = s . For succinctness, denote μ = d λ \mu=d\lambda μ = d λ . For a vertex v v v , denote by Z t ( v ) Z_t(v) Z t ( v ) the number of descendants of v v v that are t t t levels lower, and by S t ( v ) S_t(v) S t ( v ) the sum of spins of descendants of v v v that are t t t levels lower. Let F j \mathcal{F}_j F j reveal the tree and its spins through depth j j j .
For simplicity, denote
Q s = ( ( C ( s ) ) 2 x ) ( o ) and R s = ( C ( s ) ( D − I ) C ( s ) x ) ( o ) , Q_s=((C^{(s)})^2x)(o) \quad\text{and}\quad R_s=(C^{(s)}(D-I)C^{(s)}x)(o), Q s = (( C ( s ) ) 2 x ) ( o ) and R s = ( C ( s ) ( D − I ) C ( s ) x ) ( o ) ,
Let us denote
M t = ( C ( t ) x ) ( o ) = μ − t S t ( o ) , F s = ∑ j = 0 s − 1 ρ − j M s − j . M_t=(C^{(t)}x)(o)=\mu^{-t}S_t(o), \qquad F_s=\sum_{j=0}^{s-1}\rho^{-j}M_{s-j}. M t = ( C ( t ) x ) ( o ) = μ − t S t ( o ) , F s = j = 0 ∑ s − 1 ρ − j M s − j .
We shall show that
E ( Q s − F s ) 2 ≲ ρ − s , (10) \mathbb{E}(Q_s-F_s)^2\lesssim\rho^{-s}, \tag*{(10)} E ( Q s − F s ) 2 ≲ ρ − s , (10)
E ( R s − d F s − M s ) 2 ≲ ρ − s , (11) \mathbb{E}(R_s-dF_s-M_s)^2\lesssim\rho^{-s}, \tag*{(11)} E ( R s − d F s − M s ) 2 ≲ ρ − s , (11)
E ( F s − c M s ) 2 ≲ ρ − s . (12) \mathbb{E}(F_s-cM_s)^2\lesssim\rho^{-s}. \tag*{(12)} E ( F s − c M s ) 2 ≲ ρ − s . (12)
Given this, (a) and (b) for s ′ = s s'=s s ′ = s follow immediately.
The proof of the above bounds is relatively simple—the expression for ( ( C ( s ) ) 2 x ) ( o ) ((C^{(s)})^2x)(o) (( C ( s ) ) 2 x ) ( o ) involves a sum over vertices reachable from o o o by the concatenation of two nonbacktracking paths, each of length s s s . The depth at which a given concatenation ends depends solely on the size of the intersection of these two paths, that is, the part that is “retraced.”
Let us focus on (10) . Summing over the length of the retraced part of the path,
μ 2 s Q s = S 2 s ( o ) + ∑ j = 1 s − 1 ∑ ∣ z ∣ = s − j L j − 1 , s − j − 1 ( z ) + Z s ( o ) x o . (13) \mu^{2s}Q_s=S_{2s}(o)+\sum_{j=1}^{s-1}\sum_{\lvert z\rvert=s-j}L_{j-1,s-j-1}(z)+Z_s(o)x_o. \tag*{(13)} μ 2 s Q s = S 2 s ( o ) + j = 1 ∑ s − 1 ∣ z ∣ = s − j ∑ L j − 1 , s − j − 1 ( z ) + Z s ( o ) x o . (13)
where ∣ z ∣ = dist ( o , z ) \lvert z\rvert=\operatorname{dist}(o,z) ∣ z ∣ = dist ( o , z ) .
The martingale argument from the proof of Lemma 6.7 , gives, for b ≥ a b\ge a b ≥ a ,
E ( M b − M a ) 2 = ∑ k = a + 1 b ρ − k ≤ ρ − a ρ − 1 , sup t E M t 2 ≤ c . (14) \mathbb{E}(M_b-M_a)^2=\sum_{k=a+1}^{b}\rho^{-k}\le\frac{\rho^{-a}}{\rho-1},\qquad\sup_t\mathbb{E}M_t^2\le c. \tag*{(14)} E ( M b − M a ) 2 = k = a + 1 ∑ b ρ − k ≤ ρ − 1 ρ − a , t sup E M t 2 ≤ c . (14)
This allows us to replace S 2 s ( o ) S_{2s}(o) S 2 s ( o ) with μ s S s ( o ) \mu^s S_s(o) μ s S s ( o ) .
Simplifying the other terms requires calculations that have essentially already been performed in [14 ] —let us describe the upshot thereof. Denote
L p , q ( z ) = ∑ a , b children of z a ≠ b Z p ( a ) S q ( b ) . L_{p,q}(z)=\sum_{\substack{a,b\ \text{children of }z\\a\ne b}} Z_p(a)S_q(b). L p , q ( z ) = a , b children of z a = b ∑ Z p ( a ) S q ( b ) .
The proof of [14 Theorem 25] gives
E [ L p , q ( z ) ∣ x z ] = d p + 1 μ q + 1 x z , E [ L p , q ( z ) 2 ∣ x z ] ≲ d 2 p μ 2 q . \begin{aligned}
\mathbb{E}[L_{p,q}(z)\mid x_z]&=d^{p+1}\mu^{q+1}x_z,\\
\mathbb{E}[L_{p,q}(z)^2\mid x_z]&\lesssim d^{2p}\mu^{2q}.
\end{aligned} E [ L p , q ( z ) ∣ x z ] E [ L p , q ( z ) 2 ∣ x z ] = d p + 1 μ q + 1 x z , ≲ d 2 p μ 2 q .
It follows that, for 1 ≤ j ≤ s 1\le j\le s 1 ≤ j ≤ s ,
E [ μ − 2 s ∑ ∣ z ∣ = s − j L j − 1 , s − j − 1 ( z ) ∣ F s − j ] = μ − 2 s d j μ s − j S s − j ( o ) = ρ − j M s − j . \mathbb{E}\left[\left.\mu^{-2s}\sum_{|z|=s-j}L_{j-1,s-j-1}(z)\right|\mathcal{F}_{s-j}\right]=\mu^{-2s}d^j\mu^{s-j}S_{s-j}(o)=\rho^{-j}M_{s-j}. E μ − 2 s ∣ z ∣ = s − j ∑ L j − 1 , s − j − 1 ( z ) F s − j = μ − 2 s d j μ s − j S s − j ( o ) = ρ − j M s − j .
On the other hand, using independence of the subtrees of different vertices at the same depth, we may replace the conditional variance of the sum with the sum of the conditional variances. That is,
E ( μ − 2 s ∑ ∣ z ∣ = s − j L j − 1 , s − j − 1 ( z ) − ρ − j M s − j ) 2 = μ − 4 s E [ Var ( ∑ ∣ z ∣ = s − j L j − 1 , s − j − 1 ( z ) ∣ F s − j ) ] ≲ μ − 4 s d s − j d 2 j μ 2 ( s − j ) = ρ − ( s + j ) . \begin{aligned}
\mathbb{E}\left(\mu^{-2s}\sum_{|z|=s-j}L_{j-1,s-j-1}(z)-\rho^{-j}M_{s-j}\right)^2
&=\mu^{-4s}\mathbb{E}\left[\operatorname{Var}\left(\left.\sum_{|z|=s-j}L_{j-1,s-j-1}(z)\right|\mathcal{F}_{s-j}\right)\right]\\
&\lesssim\mu^{-4s}d^{s-j}d^{2j}\mu^{2(s-j)}=\rho^{-(s+j)}.
\end{aligned} E μ − 2 s ∣ z ∣ = s − j ∑ L j − 1 , s − j − 1 ( z ) − ρ − j M s − j 2 = μ − 4 s E Var ∣ z ∣ = s − j ∑ L j − 1 , s − j − 1 ( z ) F s − j ≲ μ − 4 s d s − j d 2 j μ 2 ( s − j ) = ρ − ( s + j ) .
We also have E ( μ − 2 s Z s ( o ) ) 2 ≲ ρ − 2 s \mathbb{E}(\mu^{-2s}Z_s(o))^2\lesssim\rho^{-2s} E ( μ − 2 s Z s ( o ) ) 2 ≲ ρ − 2 s . Taking square roots of the variance bounds and summing over j j j gives a total error
O ( ∑ j = 1 s − 1 ρ − ( s + j ) / 2 ) = O ( ρ − s / 2 ) . O\left(\sum_{j=1}^{s-1}\rho^{-(s+j)/2}\right)=O(\rho^{-s/2}). O ( j = 1 ∑ s − 1 ρ − ( s + j ) /2 ) = O ( ρ − s /2 ) .
Substituting these bounds in (13) allows us to conclude that
E ( Q s − ∑ j = 0 s − 1 ρ − j M s − j ) 2 ≲ ρ − s , \mathbb{E}\left(Q_s-\sum_{j=0}^{s-1}\rho^{-j}M_{s-j}\right)^2\lesssim\rho^{-s}, E ( Q s − j = 0 ∑ s − 1 ρ − j M s − j ) 2 ≲ ρ − s ,
as desired.
The second bound (10) is very similar. Indeed, observing that Z 1 ( u ) S s ( u ) = S s ( u ) + L 0 , s − 1 ( u ) Z_1(u)S_s(u)=S_s(u)+L_{0,s-1}(u) Z 1 ( u ) S s ( u ) = S s ( u ) + L 0 , s − 1 ( u ) ,
μ 2 s R s = ∑ ∣ u ∣ = s Z 1 ( u ) S s ( u ) + ∑ j = 1 s − 1 ∑ ∣ z ∣ = s − j L j , s − j − 1 ( z ) + Z s + 1 ( o ) x o = S 2 s ( o ) + ∑ j = 0 s − 1 ∑ ∣ z ∣ = s − j L j , s − j − 1 ( z ) + Z s + 1 ( o ) x o . \begin{aligned}
\mu^{2s}R_s=\sum_{|u|=s}Z_1(u)S_s(u)+\sum_{j=1}^{s-1}\sum_{|z|=s-j}L_{j,s-j-1}(z)+Z_{s+1}(o)x_o \\
&= S_{2s}(o) + \sum_{j=0}^{s-1} \sum_{|z|=s-j} L_{j,s-j-1}(z) + Z_{s+1}(o)x_o.
\end{aligned} μ 2 s R s = ∣ u ∣ = s ∑ Z 1 ( u ) S s ( u ) + j = 1 ∑ s − 1 ∣ z ∣ = s − j ∑ L j , s − j − 1 ( z ) + Z s + 1 ( o ) x o = S 2 s ( o ) + j = 0 ∑ s − 1 ∣ z ∣ = s − j ∑ L j , s − j − 1 ( z ) + Z s + 1 ( o ) x o .
We may therefore perform essentially the same manipulations to prove (11) . We omit the details. Finally, let us prove (12) . By (14) and the triangle inequality,
E ( F s − c M s ) 2 = E ( ∑ j = 0 s − 1 ρ − j ( M s − j − M s ) − ρ − s 1 − ρ − 1 M s ) 2 ≤ ( ∑ j = 0 s − 1 ρ − j ρ − ( s − j ) ρ − 1 + ρ − s ) 2 ≲ ρ − s . \begin{aligned}
\mathbb{E}(F_s-cM_s)^2=\mathbb{E}\left(\sum_{j=0}^{s-1}\rho^{-j}(M_{s-j}-M_s)-\frac{\rho^{-s}}{1-\rho^{-1}}M_s\right)^2 \\
&\leq\left(\sum_{j=0}^{s-1}\rho^{-j}\sqrt{\frac{\rho^{-(s-j)}}{\rho-1}}+\rho^{-s}\right)^2\lesssim\rho^{-s}.
\end{aligned} E ( F s − c M s ) 2 = E ( j = 0 ∑ s − 1 ρ − j ( M s − j − M s ) − 1 − ρ − 1 ρ − s M s ) 2 ≤ j = 0 ∑ s − 1 ρ − j ρ − 1 ρ − ( s − j ) + ρ − s 2 ≲ ρ − s .
This proves (a) and (b) for s ′ = s s'=s s ′ = s .
When s ′ ∈ { s − 1 , s + 1 } s'\in\{s-1,s+1\} s ′ ∈ { s − 1 , s + 1 } , by Lemma 6.7 , ∥ σ ( s ′ ) − σ ( s ) ∥ → 0 \|\sigma^{(s')}-\sigma^{(s)}\|\to0 ∥ σ ( s ′ ) − σ ( s ) ∥ → 0 . Using the Cauchy–Schwarz inequality allows us to transfer this estimate over to conclude that E ∥ C ( s ) ( σ ( s ′ ) − σ ( s ) ) ∥ 2 → 0 \mathbb{E}\left\|C^{(s)}\left(\sigma^{(s')}-\sigma^{(s)}\right)\right\|^2\to0 E C ( s ) ( σ ( s ′ ) − σ ( s ) ) 2 → 0 and E ∥ C ( s ) ( D − I ) ( σ ( s ′ ) − σ ( s ) ) ∥ 2 → 0 \mathbb{E}\left\|C^{(s)}(D-I)\left(\sigma^{(s')}-\sigma^{(s)}\right)\right\|^2\to0 E C ( s ) ( D − I ) ( σ ( s ′ ) − σ ( s ) ) 2 → 0 . Combining this with the case s ′ = s s'=s s ′ = s proves (a) and (b). ■
It remains to prove (c). This will require us to prove the following lemma, which yields a loose O ( 1 ) O(1) O ( 1 ) bound when looking at P x Px P x for P P P being not just C ( s ) C^{(s)} C ( s ) , but the products of many such matrices.
Lemma A.1. Let P P P be a product of p p p matrices, each of which is either one of the { C ( j ) : j ≥ 0 } \{C^{(j)}:j\geq0\} { C ( j ) : j ≥ 0 } or one of { D , D − I } \{D,D-I\} { D , D − I } . Then, there is a constant K = K p , d , λ < ∞ K=K_{p,d,\lambda}<\infty K = K p , d , λ < ∞ such that ∥ P x ∥ ≤ K \|Px\|\leq K ∥ P x ∥ ≤ K .
Proof. We are interested in E [ ( P x ) ( o ) 2 ] \mathbb{E}\left[(Px)(o)^2\right] E [ ( P x ) ( o ) 2 ] . For starters, we may assume that all the matrices are either D − I d D-I_d D − I d or one of the { C ( j ) } \{C^{(j)}\} { C ( j ) } , by replacing any occurrences of D D D with ( D − I d ) + I d (D-I_d)+I_d ( D − I d ) + I d . Let us understand what ( P x ) ( o ) (Px)(o) ( P x ) ( o ) looks like. For example, consider ( C ( 2 ) ⋅ ( D − I d ) ⋅ C ( 3 ) x ) ( o ) (C^{(2)}\cdot(D-I_d)\cdot C^{(3)}x)(o) ( C ( 2 ) ⋅ ( D − I d ) ⋅ C ( 3 ) x ) ( o ) . We can then express this as a summation over concatenations of two non-backtracking paths, the first of length 2 and the second of length 3. For each such concatenation, the summand is the product of the spin at the terminal vertex with the number of children of the intermediate vertex.
More generally, ( P x ) ( o ) (Px)(o) ( P x ) ( o ) is a summation over concatenations of non-backtracking paths of some prescribed length, with each summand being the products of the terminal spin, with the number of children of some subcollection of intermediate vertex.
When looking at ( P x ) ( o ) 2 (Px)(o)^2 ( P x ) ( o ) 2 , we multiply two such terms. Since each degree term appears a constant number of times (with the constant depending on p p p ), and the marginal degree distribution of each vertex is Poi ( d ) \operatorname{Poi}(d) Poi ( d ) , we can essentially replace the contributions of each of these terms with an O p ( d ) O_p(d) O p ( d ) , resulting in at most a d O ( p ) d^{O(p)} d O ( p ) term that we may absorb into K K K —in other words, we may in fact assume that all the matrices in P P P are one of the { C ( j ) } \{C^{(j)}\} { C ( j ) } . On the other hand, the expectation of the product of two spins at distinct vertices v , w v,w v , w is given by λ dist ( v , w ) \lambda^{\operatorname{dist}(v,w)} λ dist ( v , w ) .
Let us carry out this calculation for P = C ( s ) P=C^{(s)} P = C ( s ) . The two walks involved in the expectation are then length s s s walks down the tree having some intersection size j j j (for some parameter j j j that we will eventually sum over)—in expectation, there are d s ⋅ d s − j d^s\cdot d^{s-j} d s ⋅ d s − j such pairs. The normalization of C ( s ) C^{(s)} C ( s ) adds an additional factor of ( d λ ) − 2 s (d\lambda)^{-2s} ( d λ ) − 2 s . Finally, the two endpoints being distance 2 ( s − j ) 2(s-j) 2 ( s − j ) apart results
in a λ 2 s − 2 j \lambda^{2s-2j} λ 2 s − 2 j multiplicative term. That is, E ( P x ) ( o ) 2 \mathbb{E}(Px)(o)^2 E ( P x ) ( o ) 2 is, up to a constant, ∑ j ≥ 0 d 2 s − j ⋅ λ 2 s − 2 j ⋅ ( d λ ) − 2 s = ∑ j ≥ 0 ρ − j < ∞ \sum_{j\ge0} d^{2s-j}\cdot\lambda^{2s-2j}\cdot(d\lambda)^{-2s}=\sum_{j\ge0}\rho^{-j}<\infty ∑ j ≥ 0 d 2 s − j ⋅ λ 2 s − 2 j ⋅ ( d λ ) − 2 s = ∑ j ≥ 0 ρ − j < ∞ . Such calculations are very similar to those executed in [14 ] .
The general computation when P = ∏ i = 1 p C ( s i ) P=\prod_{i=1}^{p}C^{(s_i)} P = ∏ i = 1 p C ( s i ) is very similar. In this case, we can sum over ( r j ) 1 ≤ j ≤ 2 p (r_j)_{1\le j\le2p} ( r j ) 1 ≤ j ≤ 2 p , where r i r_i r i is the number of edges in the i i i th walk that are contained in the part of the tree that have already been “exposed” so far by the previous walks. The number of such p p p -tuples of vertices is then d 2 ∑ i = 1 p s i − ∑ j = 1 2 p r j d^{2\sum_{i=1}^{p}s_i-\sum_{j=1}^{2p}r_j} d 2 ∑ i = 1 p s i − ∑ j = 1 2 p r j . The normalization of the C ( s i ) C^{(s_i)} C ( s i ) yields an additional ( λ d ) − 2 ∑ i = 1 p s i (\lambda d)^{-2\sum_{i=1}^{p}s_i} ( λ d ) − 2 ∑ i = 1 p s i term. Finally, the spin correlation can be bounded from above by λ 2 ∑ i = 1 p s i − 2 ∑ j = 1 2 p r j \lambda^{2\sum_{i=1}^{p}s_i-2\sum_{j=1}^{2p}r_j} λ 2 ∑ i = 1 p s i − 2 ∑ j = 1 2 p r j . Summing over ( r j ) (r_j) ( r j ) yields
E ( P x ) ( o ) 2 ≤ ∑ ( r j ) d 2 ∑ i = 1 p s i − ∑ j = 1 2 p r j ⋅ ( λ d ) − 2 ∑ i = 1 p s i ⋅ λ 2 ∑ i = 1 p s i − 2 ∑ j = 1 2 p r j = ∑ ( r j ) ρ − ∑ j = 1 2 p r j = ( ∑ r ≥ 0 ρ − r ) 2 p < ∞ . \begin{aligned}
\mathbb{E}(Px)(o)^2\leq\sum_{(r_j)}d^{2\sum_{i=1}^{p}s_i-\sum_{j=1}^{2p}r_j}\cdot(\lambda d)^{-2\sum_{i=1}^{p}s_i}\cdot\lambda^{2\sum_{i=1}^{p}s_i-2\sum_{j=1}^{2p}r_j} \\
&=\sum_{(r_j)}\rho^{-\sum_{j=1}^{2p}r_j}=\left(\sum_{r\geq0}\rho^{-r}\right)^{2p}<\infty.
\end{aligned} E ( P x ) ( o ) 2 ≤ ( r j ) ∑ d 2 ∑ i = 1 p s i − ∑ j = 1 2 p r j ⋅ ( λ d ) − 2 ∑ i = 1 p s i ⋅ λ 2 ∑ i = 1 p s i − 2 ∑ j = 1 2 p r j = ( r j ) ∑ ρ − ∑ j = 1 2 p r j = ( r ≥ 0 ∑ ρ − r ) 2 p < ∞.
We omit the details of the proof when P P P involves D − I D-I D − I terms—as mentioned earlier, this only results in an additional d O ( p ) d^{O(p)} d O ( p ) multiplicative term. ■
Given the above, proving (c) is relatively easy.
Proof of Lemma 6.9(c). Set
e s = C ( s ) σ ( s ) − c σ ( s ) = ( ( C ( s ) ) 2 − c C ( s ) ) x . e_s=C^{(s)}\sigma^{(s)}-c\sigma^{(s)}=\left((C^{(s)})^2-cC^{(s)}\right)x. e s = C ( s ) σ ( s ) − c σ ( s ) = ( ( C ( s ) ) 2 − c C ( s ) ) x .
By (a), ∥ e s ∥ → 0 \lVert e_s\rVert\to0 ∥ e s ∥ → 0 . By Lemma 6.4 , the operators C ( j ) C^{(j)} C ( j ) , D D D , and H H H are self-adjoint. As a result,
∥ C ( s ) H e s ∥ 2 = ⟨ e s , H ( C ( s ) ) 2 H e s ⟩ ≤ ∥ e s ∥ ⋅ ∥ H ( C ( s ) ) 2 H e s ∥ . \lVert C^{(s)}He_s\rVert^2=\langle e_s,H(C^{(s)})^2He_s\rangle\leq\lVert e_s\rVert\cdot\lVert H(C^{(s)})^2He_s\rVert. ∥ C ( s ) H e s ∥ 2 = ⟨ e s , H ( C ( s ) ) 2 H e s ⟩ ≤ ∥ e s ∥ ⋅ ∥ H ( C ( s ) ) 2 H e s ∥ .
Note that the second vector is some bounded linear combinations of vectors P x Px P x , where P P P is a product of finitely many terms of the form C ( j ) C^{(j)} C ( j ) , D D D , or D − I D-I D − I , exactly as in Lemma A.1 . Therefore, we may bound the second term by O ( 1 ) O(1) O ( 1 ) , uniformly in s s s , and conclude that
∥ C ( s ) H e s ∥ 2 ≲ ∥ e s ∥ → 0. \lVert C^{(s)}He_s\rVert^2\lesssim\lVert e_s\rVert\to0. ∥ C ( s ) H e s ∥ 2 ≲ ∥ e s ∥ → 0.
■
Deferred proofs for fast implementation
In this appendix, we prove multiple lemmas used in the SDP implementation: Theorem 8.3 and Lemmas 8.6, 8.8 and 8.9.
Theorem 8.3 (Nearby-point entropy descent). Let F F F be convex on all real symmetric matrices and attain its minimum over S S S . Let η > 0 \eta>0 η > 0 , let T ≥ 1 T\geq1 T ≥ 1 be an integer, and let H 1 , … , H T ∈ R n × n H_1,\ldots,H_T\in\mathbb{R}^{n\times n} H 1 , … , H T ∈ R n × n be symmetric matrices. For 1 ≤ t ≤ T 1\leq t\leq T 1 ≤ t ≤ T , define
S t = − η ∑ s < t H s , X t = e S t Tr e S t . S_t=-\eta\sum_{s<t}H_s,\qquad X_t=\frac{e^{S_t}}{\operatorname{Tr}e^{S_t}}. S t = − η s < t ∑ H s , X t = Tr e S t e S t .
Suppose X ~ 1 , … , X ~ T ∈ S \widetilde{X}_1,\ldots,\widetilde{X}_T \in S X 1 , … , X T ∈ S satisfy H t ∈ ∂ F ( X ~ t ) H_t \in\partial F(\widetilde{X}_t) H t ∈ ∂ F ( X t ) for 1 ≤ t ≤ T 1 \le t \le T 1 ≤ t ≤ T . Then X ‾ = T − 1 ∑ t = 1 T X ~ t \overline{X}=T^{-1}\sum_{t=1}^{T}\widetilde{X}_t X = T − 1 ∑ t = 1 T X t satisfies
F ( X ‾ ) − min S F ≤ log n η T + 2 η max 1 ≤ t ≤ T ∥ H t ∥ o p 2 + 1 T ∑ t = 1 T ⟨ H t , X ~ t − X t ⟩ . F(\overline{X})-\min_{S}F \le\frac{\log n}{\eta T}+2\eta\max_{1\le t\le T}\lVert H_t\rVert_{\mathrm{op}}^2+\frac{1}{T}\sum_{t=1}^{T}\langle H_t,\widetilde{X}_t-X_t\rangle. F ( X ) − S min F ≤ η T log n + 2 η 1 ≤ t ≤ T max ∥ H t ∥ op 2 + T 1 t = 1 ∑ T ⟨ H t , X t − X t ⟩ .
The following proof is adapted from the matrix multiplicative-weights potential argument of Arora, Hazan, and Kale [5 Section 5] .
Proof. Put R = max t ∥ H t ∥ o p R=\max_t\lVert H_t\rVert_{\mathrm{op}} R = max t ∥ H t ∥ op , a t = ∥ H t ∥ o p a_t=\lVert H_t\rVert_{\mathrm{op}} a t = ∥ H t ∥ op , and K t = H t + a t I K_t=H_t+a_tI K t = H t + a t I , so 0 ⪯ K t ⪯ 2 a t I 0\preceq K_t\preceq2a_tI 0 ⪯ K t ⪯ 2 a t I . The scalar inequality e − u ≤ 1 − u + u 2 / 2 e^{-u}\le1-u+u^2/2 e − u ≤ 1 − u + u 2 /2 for u ≥ 0 u\ge0 u ≥ 0 gives e − η K t ⪯ I − η K t + η 2 K t 2 / 2 e^{-\eta K_t}\preceq I-\eta K_t+\eta^2K_t^2/2 e − η K t ⪯ I − η K t + η 2 K t 2 /2 . Golden–Thompson and log x ≤ x − 1 \log x\le x-1 log x ≤ x − 1 give
log Tr e S t − η H t − log Tr e S t ≤ η a t + log Tr ( X t e − η K t ) ≤ η a t − η Tr ( X t K t ) + η 2 2 Tr ( X t K t 2 ) ≤ − η ⟨ H t , X t ⟩ + 2 η 2 a t 2 . \begin{aligned}
\log\operatorname{Tr}e^{S_t-\eta H_t}-\log\operatorname{Tr}e^{S_t}\le\eta a_t+\log\operatorname{Tr}(X_te^{-\eta K_t}) \\
&\le\eta a_t-\eta\operatorname{Tr}(X_tK_t)+\frac{\eta^2}{2}\operatorname{Tr}(X_tK_t^2)\le-\eta\langle H_t,X_t\rangle+2\eta^2a_t^2.
\end{aligned} log Tr e S t − η H t − log Tr e S t ≤ η a t + log Tr ( X t e − η K t ) ≤ η a t − η Tr ( X t K t ) + 2 η 2 Tr ( X t K t 2 ) ≤ − η ⟨ H t , X t ⟩ + 2 η 2 a t 2 .
For every U ∈ S U\in S U ∈ S and symmetric B B B , log Tr e B ≥ ⟨ B , U ⟩ \log\operatorname{Tr}e^B\ge\langle B,U\rangle log Tr e B ≥ ⟨ B , U ⟩ . Telescoping from S 1 = 0 S_1=0 S 1 = 0 therefore gives
1 T ∑ t ⟨ H t , X t − U ⟩ ≤ log n η T + 2 η R 2 . \frac{1}{T}\sum_t\langle H_t,X_t-U\rangle\le\frac{\log n}{\eta T}+2\eta R^2. T 1 t ∑ ⟨ H t , X t − U ⟩ ≤ η T log n + 2 η R 2 .
The support inequality at X ~ t \widetilde{X}_t X t is
F ( X ~ t ) − F ( U ) ≤ ⟨ H t , X ~ t − U ⟩ = ⟨ H t , X t − U ⟩ + ⟨ H t , X ~ t − X t ⟩ . F(\widetilde{X}_t)-F(U)\le\langle H_t,\widetilde{X}_t-U\rangle=\langle H_t,X_t-U\rangle+\langle H_t,\widetilde{X}_t-X_t\rangle. F ( X t ) − F ( U ) ≤ ⟨ H t , X t − U ⟩ = ⟨ H t , X t − U ⟩ + ⟨ H t , X t − X t ⟩ .
Sum, apply convexity at X ‾ \overline{X} X , and choose a minimizer U U U . ■
Lemma 8.6 (Approximate matrix exponential). Let S ∈ R n × n S\in\mathbb{R}^{n\times n} S ∈ R n × n be symmetric with ∥ S ∥ o p ≤ L \lVert S\rVert_{\mathrm{op}}\le L ∥ S ∥ op ≤ L , where L ≥ 0 L\ge0 L ≥ 0 , and let 0 < α < 1 0<\alpha<1 0 < α < 1 . Set m = ⌈ 8 ( L + log ( 3 / α ) + 1 ) ⌉ m=\lceil8(L+\log(3/\alpha)+1)\rceil m = ⌈ 8 ( L + log ( 3/ α ) + 1 )⌉ and
Q = ∑ j = 0 m − 1 ( S / 2 ) j j ! . Q=\sum_{j=0}^{m-1}\frac{(S/2)^j}{j!}. Q = j = 0 ∑ m − 1 j ! ( S /2 ) j . Then
( 1 − α ) e S ⪯ Q 2 ⪯ ( 1 + α ) e S . (1-\alpha)e^S\preceq Q^2\preceq(1+\alpha)e^S. ( 1 − α ) e S ⪯ Q 2 ⪯ ( 1 + α ) e S . If one product with S S S costs T S T_S T S operations, then, for any u ∈ R n u\in\mathbb{R}^n u ∈ R n , computing Q u Qu Q u costs O ( ( L + log ( 3 / α ) + 1 ) ( T S + n ) ) O((L+\log(3/\alpha)+1)(T_S+n)) O (( L + log ( 3/ α ) + 1 ) ( T S + n )) operations.
For a related Taylor-expansion tail estimate, see [78 Proof of Lemma 4.2, p. 151] .
Proof. Set δ = α / 3 \delta=\alpha/3 δ = α /3 and p ( x ) = ∑ j = 0 m − 1 x j / j ! p(x)=\sum_{j=0}^{m-1}x^j/j! p ( x ) = ∑ j = 0 m − 1 x j / j ! . If L = 0 L=0 L = 0 , then S = 0 S=0 S = 0 and Q = I Q=I Q = I , so the sandwich is immediate. For L > 0 L>0 L > 0 and ∣ x ∣ ≤ L / 2 |x|\le L/2 ∣ x ∣ ≤ L /2 , the scalar Taylor remainder gives
∣ e x − p ( x ) ∣ e x ≤ e L ( L / 2 ) m m ! ≤ e L ( e L 2 m ) m ≤ e L − m ≤ δ , \frac{|e^x-p(x)|}{e^x}\le e^L\frac{(L/2)^m}{m!}\le e^L\left(\frac{eL}{2m}\right)^m\le e^{L-m}\le\delta, e x ∣ e x − p ( x ) ∣ ≤ e L m ! ( L /2 ) m ≤ e L ( 2 m e L ) m ≤ e L − m ≤ δ , using m ! ≥ ( m / e ) m m!\ge(m/e)^m m ! ≥ ( m / e ) m , m ≥ 8 L m\ge8L m ≥ 8 L , e / 16 < e − 1 e/16<e^{-1} e /16 < e − 1 , and m ≥ L + log ( 1 / δ ) m\ge L+\log(1/\delta) m ≥ L + log ( 1/ δ ) . By orthogonal diagonalization of S S S , the scalar bounds 1 − δ ≤ p ( x ) / e x ≤ 1 + δ 1-\delta\le p(x)/e^x\le1+\delta 1 − δ ≤ p ( x ) / e x ≤ 1 + δ imply
( 1 − δ ) 2 e S ⪯ Q 2 ⪯ ( 1 + δ ) 2 e S . (1-\delta)^2e^S\preceq Q^2\preceq(1+\delta)^2e^S. ( 1 − δ ) 2 e S ⪯ Q 2 ⪯ ( 1 + δ ) 2 e S .
Since 0 < α < 1 0 < \alpha< 1 0 < α < 1 , ( 1 − δ ) 2 ≥ 1 − α (1-\delta)^2 \ge1-\alpha ( 1 − δ ) 2 ≥ 1 − α and ( 1 + δ ) 2 ≤ 1 + α (1+\delta)^2 \le1+\alpha ( 1 + δ ) 2 ≤ 1 + α , proving the claimed Löwner-order sandwich. Finally, compute w 0 = u w_0 = u w 0 = u , w j = S w j − 1 / ( 2 j ) w_j = Sw_{j-1}/(2j) w j = S w j − 1 / ( 2 j ) for 1 ≤ j < m 1 \le j < m 1 ≤ j < m , and sum Q u = ∑ j = 0 m − 1 w j Qu = \sum_{j=0}^{m-1} w_j Q u = ∑ j = 0 m − 1 w j . This costs O ( m ( T S + n ) ) O(m(T_S+n)) O ( m ( T S + n )) exact-real operations, as claimed. ■
Lemma 8.8 (Exponential matrix density sketch). There is a randomized algorithm that, given a symmetric matrix S ∈ R n × n S \in\mathbb{R}^{n \times n} S ∈ R n × n through a matrix–vector product oracle, a bound L ≥ ∥ S ∥ o p L \ge\lVert S\rVert_{\mathrm{op}} L ≥ ∥ S ∥ op , and 0 < α < 1 0 < \alpha< 1 0 < α < 1 , returns Z ∈ R n × k Z \in\mathbb{R}^{n \times k} Z ∈ R n × k with ∥ Z ∥ F = 1 \lVert Z\rVert_F = 1 ∥ Z ∥ F = 1 and k ≤ O ( α − 2 ) k \le O(\alpha^{-2}) k ≤ O ( α − 2 ) , such that X ~ = Z Z T ∈ S \widetilde{X} = ZZ^{\mathsf{T}} \in\mathcal{S} X = Z Z T ∈ S satisfies, for every symmetric A ∈ R n × n A \in\mathbb{R}^{n \times n} A ∈ R n × n and every P ≥ 0 P \ge0 P ≥ 0 ,
E sup ∥ d ∥ ∞ ≤ P ∣ ⟨ A + Diag ( d ) , X ~ − X ⟩ ∣ ≤ α ( ∥ A ∥ o p + P ) , \mathbb{E}\sup_{\lVert d\rVert_\infty\le P} \left|\left\langle A+\operatorname{Diag}(d),\widetilde{X}-X\right\rangle\right| \le\alpha(\lVert A\rVert_{\mathrm{op}}+P), E ∥ d ∥ ∞ ≤ P sup ⟨ A + Diag ( d ) , X − X ⟩ ≤ α (∥ A ∥ op + P ) , where X = e S / Tr e S X=e^S/\operatorname{Tr}e^S X = e S / Tr e S . The algorithm uses O ( α − 2 ( 1 + L + log ( 1 / α ) ) ) O(\alpha^{-2}(1+L+\log(1/\alpha))) O ( α − 2 ( 1 + L + log ( 1/ α ))) matrix-vector products with S S S and n n n times as many additional operations.
Proof. Set δ = α / 4 \delta=\alpha/4 δ = α /4 and k = ⌈ 32 / α 2 ⌉ k=\lceil32/\alpha^2\rceil k = ⌈ 32/ α 2 ⌉ . Take Q Q Q from Lemma 8.6 at accuracy δ \delta δ , draw independent uniform signs G ∈ { − 1 , 1 } n × k G \in\{-1,1\}^{n \times k} G ∈ { − 1 , 1 } n × k , and return Z = Q G / ∥ Q G ∥ F Z=QG/\lVert QG\rVert_F Z = QG / ∥ QG ∥ F . Write B = Q 2 B=Q^2 B = Q 2 , a = Tr B a=\operatorname{Tr}B a = Tr B , W = Q G G T Q / k W=QGG^{\mathsf{T}}Q/k W = QG G T Q / k , b = Tr W b=\operatorname{Tr}W b = Tr W , C = B / a C=B/a C = B / a , and Y = Z Z T = W / b = X ~ Y=ZZ^{\mathsf{T}}=W/b=\widetilde{X} Y = Z Z T = W / b = X . The Löwner-order sandwich makes Q Q Q invertible, so Z ≠ 0 Z\ne0 Z = 0 and b > 0 b>0 b > 0 . For fixed A , P A,P A , P , put h = ∥ A ∥ o p + P h=\lVert A\rVert_{\mathrm{op}}+P h = ∥ A ∥ op + P and
N ( D ) = ∣ ⟨ A , D ⟩ ∣ + P ∥ diag D ∥ 1 = sup ∥ d ∥ ∞ ≤ P ∣ ⟨ A + Diag ( d ) , D ⟩ ∣ . N(D)=|\langle A,D\rangle|+P\lVert\operatorname{diag}D\rVert_1
=\sup_{\lVert d\rVert_\infty\le P}|\langle A+\operatorname{Diag}(d),D\rangle|. N ( D ) = ∣ ⟨ A , D ⟩ ∣ + P ∥ diag D ∥ 1 = ∥ d ∥ ∞ ≤ P sup ∣ ⟨ A + Diag ( d ) , D ⟩ ∣.
The equality holds pointwise, allowing d d d to depend on G G G . With r = 2 / k r=\sqrt{2/k} r = 2/ k , Lemma 8.7 , applied with V = Q V=Q V = Q and summed over the coordinate basis, gives E ∥ diag ( W − B ) ∥ 1 ≤ r a \mathbb{E}\lVert\operatorname{diag}(W-B)\rVert_1\le ra E ∥ diag ( W − B ) ∥ 1 ≤ r a and E ∣ b − a ∣ ≤ r a \mathbb{E}|b-a|\le ra E ∣ b − a ∣ ≤ r a . Summing the same estimate over a fixed orthonormal eigenbasis of A A A with weights equal to its absolute eigenvalues gives E ∣ ⟨ A , W − B ⟩ ∣ ≤ r a ∥ A ∥ o p \mathbb{E}|\langle A,W-B\rangle|\le ra\lVert A\rVert_{\mathrm{op}} E ∣ ⟨ A , W − B ⟩ ∣ ≤ r a ∥ A ∥ op . Since Y Y Y is a density matrix, N ( Y ) ≤ h N(Y)\le h N ( Y ) ≤ h ; hence the identity
Y − C = ( W − B ) / a + ( a − b ) Y / a Y-C=(W-B)/a+(a-b)Y/a Y − C = ( W − B ) / a + ( a − b ) Y / a
yields E N ( Y − C ) ≤ 2 r h \mathbb{E}N(Y-C)\le2rh E N ( Y − C ) ≤ 2 r h . Put E = e S E=e^S E = e S and t = Tr E t=\operatorname{Tr}E t = Tr E . The sandwich and simultaneous diagonalization of B , E B,E B , E give ∥ B − E ∥ ∗ ≤ δ t \lVert B-E\rVert_*\le\delta t ∥ B − E ∥ ∗ ≤ δ t and ∣ a − t ∣ ≤ δ t |a-t|\le\delta t ∣ a − t ∣ ≤ δ t . Thus C − X = ( B − E ) / t + ( t − a ) C / t C-X=(B-E)/t+(t-a)C/t C − X = ( B − E ) / t + ( t − a ) C / t implies ∥ C − X ∥ ∗ ≤ 2 δ \lVert C-X\rVert_*\le2\delta ∥ C − X ∥ ∗ ≤ 2 δ , and consequently N ( C − X ) ≤ 2 δ h N(C-X)\le2\delta h N ( C − X ) ≤ 2 δ h . Therefore E N ( Y − X ) ≤ 2 ( r + δ ) h ≤ α h \mathbb{E}N(Y-X)\le2(r+\delta)h\le\alpha h E N ( Y − X ) ≤ 2 ( r + δ ) h ≤ α h . Finally, the degree bound in Lemma 8.6 at accuracy δ \delta δ gives the claimed product and additional-operation counts for the k k k columns, with O ( n k ) O(nk) O ( nk ) further operations to compute ∥ Q G ∥ F \lVert QG\rVert_F ∥ QG ∥ F and scale Q G QG QG ; neither a a a nor t t t is computed. ■
Lemma 8.9 (Ball distance oracle). There is a deterministic algorithm that, given K ≥ 1 K\ge1 K ≥ 1 and p ∈ R n p\in\mathbb{R}^n p ∈ R n , computes y ∈ ∂ f ( p ) y\in\partial f(p) y ∈ ∂ f ( p ) , where f ( x ) = dist 1 ( x , D K ) f(x)=\operatorname{dist}_1(x,D_K) f ( x ) = dist 1 ( x , D K ) for x ∈ R n x\in\mathbb{R}^n x ∈ R n . The algorithm uses O ( n log n ) O(n\log n) O ( n log n ) arithmetic operations.
Proof. If p ∈ D K p\in D_K p ∈ D K , return y = 0 y=0 y = 0 . Otherwise find t > 0 t>0 t > 0 satisfying that, if we truncate coordinates of p p p to magnitude at most t t t , the resulting vector p ∗ p^* p ∗ has squared ℓ 2 \ell_2 ℓ 2 norm exactly K / n K/n K / n , i.e.,
p i ∗ = sgn ( p i ) min { ∣ p i ∣ , t } , ∑ i ( p i ∗ ) 2 = K / n . p_i^*=\operatorname{sgn}(p_i)\min\{|p_i|,t\},\qquad\sum_i(p_i^*)^2=K/n. p i ∗ = sgn ( p i ) min { ∣ p i ∣ , t } , i ∑ ( p i ∗ ) 2 = K / n .
Let y = p ∗ / t y=p^*/t y = p ∗ / t , we will show that y ∈ ∂ f ( p ) y\in\partial f(p) y ∈ ∂ f ( p ) .
Consider arbitrary z ∈ R n z \in\mathbb{R}^n z ∈ R n and its closest point z ∗ ∈ D K z^* \in D_K z ∗ ∈ D K . By the definition of y y y , we have y ⊤ p ∗ ≥ y ⊤ z ∗ y^\top p^* \ge y^\top z^* y ⊤ p ∗ ≥ y ⊤ z ∗ and ∥ y ∥ ∞ ≤ 1 \lVert y\rVert_\infty\le1 ∥ y ∥ ∞ ≤ 1 . Therefore, it follows that
y ⊤ ( z − p ∗ ) ≤ y ⊤ ( z − z ∗ ) ≤ ∥ z − z ∗ ∥ 1 = f ( z ) . y^\top(z-p^*) \le y^\top(z-z^*) \le\lVert z-z^*\rVert_1 = f(z). y ⊤ ( z − p ∗ ) ≤ y ⊤ ( z − z ∗ ) ≤ ∥ z − z ∗ ∥ 1 = f ( z ) .
Since y i = sgn ( p i ) y_i=\operatorname{sgn}(p_i) y i = sgn ( p i ) for ∣ p i ∣ > t |p_i|>t ∣ p i ∣ > t and p − p ∗ p-p^* p − p ∗ is supported on those coordinates, we have y ⊤ ( p − p ∗ ) = ∥ p − p ∗ ∥ 1 y^\top(p-p^*)=\lVert p-p^*\rVert_1 y ⊤ ( p − p ∗ ) = ∥ p − p ∗ ∥ 1 . Hence,
f ( z ) ≥ y ⊤ ( z − p ∗ ) = y ⊤ ( z − p ) + y ⊤ ( p − p ∗ ) ≥ y ⊤ ( z − p ) + ∥ p − p ∗ ∥ 1 ≥ y ⊤ ( z − p ) + f ( p ) . f(z) \ge y^\top(z-p^*)=y^\top(z-p)+y^\top(p-p^*) \ge y^\top(z-p)+\lVert p-p^*\rVert_1 \ge y^\top(z-p)+f(p). f ( z ) ≥ y ⊤ ( z − p ∗ ) = y ⊤ ( z − p ) + y ⊤ ( p − p ∗ ) ≥ y ⊤ ( z − p ) + ∥ p − p ∗ ∥ 1 ≥ y ⊤ ( z − p ) + f ( p ) .
To find t t t , we sort the coordinate magnitudes of p p p and scan the sorted list to locate the clipping threshold. Sorting takes O ( n log n ) O(n\log n) O ( n log n ) time, and the scan takes O ( n ) O(n) O ( n ) time. ■ \blacksquare ■