Introduction
Link prediction (LP) is a standard self-supervised objective for graph representation learning: hide part of the edge set, train an encoder–decoder to predict those edges, and reuse the node embeddings for downstream tasks. This idea appears in graph autoencoders with inner-product decoders [19 ] , in proximity-based unsupervised objectives such as GraphSAGE [11 ] , and as a core component of generative graph pretraining frameworks such as GPT-GNN [17 ] . It is also central to graph foundation models and the pretrain–finetune/prompt paradigm [23 , 35 , 24 ] , where LP can help align pretraining with downstream node tasks. Empirically, this recipe is effective even with few labels.
The theoretical picture is less clear. LP is trained on edges , while the downstream task is defined over nodes ; the LP loss does not use community labels and does not define a linear decision boundary in the embedding space. This leads to our central question: why should low LP loss imply that a linear classifier on the learned embeddings recovers communities, and how is the classification error controlled by LP-training quality? Similar questions have been answered for contrastive self-supervised learning under latent-class or augmentation-graph assumptions [31 , 13 ] . To our knowledge, a finite-sample guarantee of this form is still missing for LP-based graph pretraining. Any guarantee of this kind needs an assumption that links the graph to the node labels. LP never sees labels, so if the labels were independent of the graph, no classifier built on graph-derived embeddings could beat the trivial classifier, however well the embeddings predict edges. This is analogous to contrastive-learning theory, where positive pairs are assumed to share latent classes [31 ] or to lie in the same component of an augmentation graph [13 ] . For graphs, the stochastic block model (SBM) [16 , 34 ] is the canonical model of such a link: edge probabilities are determined by latent community memberships. It is also the standard setting of community-detection theory [1 , 22 ] . Therefore, in our analysis, the SBM plays the role of the latent-class assumption. We study finite-sample SBMs with identifiable communities and bounded bilinear encoder–decoder models.
In this setting, our main result directly connects downstream classification error to LP risk. For masked LP pretraining with a bounded GNN encoder and a symmetric bilinear decoder, small LP excess risk implies that the learned embeddings admit a transductive linear classifier that recovers the communities. The classifier can also be built explicitly from a small labeled set. The bound takes the schematic form
1 n ∑ i = 1 n 1 { h ^ ( z i ) ≠ c i } ≲ C Δ s 2 [ ε o p t + ε a p p ] + O ~ ( Δ s − 2 d n ) , (1) \frac{1}{n}\sum_{i=1}^{n}\mathbf{1}\{\hat{h}(z_i)\ne c_i\}\lesssim\frac{C}{\Delta_s^2}\left[\varepsilon_{\mathrm{opt}}+\varepsilon_{\mathrm{app}}\right]+\widetilde{O}\left(\Delta_s^{-2}\sqrt{\frac{d}{n}}\right), \tag*{(1)} n 1 i = 1 ∑ n 1 { h ^ ( z i ) = c i } ≲ Δ s 2 C [ ε opt + ε app ] + O ( Δ s − 2 n d ) , (1)
where n n n is the number of nodes, d d d the embedding dimension, and Δ s \Delta_s Δ s a community-separation margin. ε o p t + ε a p p \varepsilon_{\mathrm{opt}}+\varepsilon_{\mathrm{app}} ε opt + ε app is the population LP excess-risk decomposition: ε o p t \varepsilon_{\mathrm{opt}} ε opt is an in-class optimization residual, and ε a p p \varepsilon_{\mathrm{app}} ε app is an architectural approximation residual. Full notation is given in Sec. 3.2 and App. A.
Contributions. Our three main contributions are:
(1) A finite-sample LP-risk-to-classification bound (Thm. 6, Cor. 8, Cor. 9). For any bounded GNN encoder paired with a symmetric bilinear decoder, LP excess risk controls linear community-classification error on the SBM through (1). The population LP quantity can be replaced by the held-out empirical loss (Cor. 8), and Cor. 9 further relates it to the train-side residual, the quantity directly optimized by gradient descent during training. Thus the guarantee is stated in terms of LP losses that can be monitored during pretraining, rather than an unobservable population measure of embedding quality.
(2) A constructive few-label classifier with LP-coupled label complexity (Thm. 6 Part II, Prop. 7). Beyond showing that a low-error linear classifier exists when the LP risk is small, we construct one explicitly from a few labeled nodes per community, and show it is exactly the classical nearest-centroid rule in embedding space, under the data-dependent Mahalanobis metric G = W Z T Z W G=WZ^{\mathsf{T}}ZW G = W Z T Z W [14 ] induced by the learned decoder and embeddings. The guarantee therefore covers an explicit linear probe with closed-form weights, applied at O ( d 2 ) O(d^2) O ( d 2 ) cost per node. Its error bound contains an LP-quality floor that more labels cannot remove, and the number of labels the bound requires decreases with the LP risk. The analysis also explains the choice of decoder: for K ≥ 3 K\ge3 K ≥ 3 , inner-product+bias decoders cannot realize some SBM oracle score matrices, while bilinear decoders can under a mild capacity condition.
(3) Architecture instantiation and empirical evidence (Prop. 10, Sec. 4). The reduction is architecture-agnostic through the approximation residual ε a p p \varepsilon_{\mathrm{app}} ε app , which can be instantiated for specific encoder families. We show that ε a p p = O ~ ( log n / n ) \varepsilon_{\mathrm{app}}=\widetilde{O}(\log n/n) ε app = O ( log n / n ) for a graph isomorphism network (GIN) [43 ] with spectral positional encoding (PE) (Prop. 10); by the in-class infimum structure, the same rate applies to any encoder–decoder class containing this construction. Synthetic SBM experiments validate the theoretical predictions from LP risk to score error and classification error, and show that the worst-case curvature factor μ B − 1 \mu_B^{-1} μ B − 1 can be replaced in practice by a much tighter effective curvature μ e f f − 1 \mu_{\mathrm{eff}}^{-1} μ eff − 1 .
Scope and limitations. Our main result is conditional on the LP quality that the trained model achieves. This is a deliberate boundary of the theory. Proving that gradient descent globally optimizes a nonconvex GNN encoder–decoder is a separate problem, open for most deep-learning models, and we do not assume that training automatically reaches a good solution. Our theorem instead answers: once a model reaches a certain LP-risk level, what can we guarantee about the downstream linear usability of its embeddings. We do not claim to improve classical SBM recovery rates (App. M), nor that LP pretraining outperforms methods designed specifically for SBM recovery, such as spectral clustering [22 ] or adjacency spectral embedding [36 ] . Our goal is a guarantee for reusable embeddings, not a new recovery algorithm. Finally, ε a p p \varepsilon_{\mathrm{app}} ε app has no uniform rate across encoder families. We instantiate it for spectral-PE GIN. Encoder families that do not contain this construction need separate arguments. In sparse regimes the bound remains valid but uninformative, since μ B − 1 \mu_B^{-1} μ B − 1 grows and the dense-regime assumption of the construction fails (App. L.4).
Related Work
Community recovery in the SBM. Classical SBM theory characterizes how accurately specific procedures recover communities from the adjacency matrix, including spectral clustering, semidefinite programming, and adjacency spectral embedding [22 , 10 , 26 , 1 ] , with sharp exact-recovery thresholds [2 , 29 ] and minimax misclassification rates [45 , 8 ] . SBM structure has also guided GNN-based recovery [3 ] . These analyses fix the recovery algorithm and use its node-wise statistics to obtain sharp rates. Our question comes from the pretraining pipeline instead: without specifying the algorithm or imposing conditions on individual embeddings, we ask what the LP risk achieved by a bounded encoder–decoder, an observable black-box quantity, guarantees about its embeddings. Spectral PE enters our analysis only to instantiate ε a p p \varepsilon_{\mathrm{app}} ε app . The bilinear decoder itself fits a low-rank matrix of logits, a learned, logit-scale analogue of the generalized random dot product graph, whose latent positions spectral embedding estimates [30 ] .
Link-prediction objectives and SBM-aware architectures. Link and neighborhood prediction are common ways to train graph embeddings, from node2vec and GraphSAGE [9 , 11 ] to variational graph autoencoders (VGAE) with an inner-product decoder [19 ] . Modern graph pretraining and prompting methods also use LP-style or node–pair matching objectives, including GPT-GNN, GPPT, and GraphPrompt [17 , 35 , 24 ] , and some architectures make the LP model explicitly block-aware, such as the variational-autoencoder GNN of Mehta et al. [2019]. These methods motivate our setting but do not by themselves give a finite-sample statement of the form “LP risk controls linear node-classification error”; our result supplies one under the SBM coupling.
Self-supervised pretraining to downstream guarantees. Recent work has started to turn a self-supervised loss into a quantitative downstream-classification bound. Saunshi et al. [2019] assume positive pairs share a latent class, and HaoChen et al. [2021] replace this with augmentation-graph connectivity; Tosh et al. [2021] use multi-view redundancy, Lee et al. [2021] conditional independence between input parts, and Wei et al. [2021] analyze masked prediction in language models. Graph self-supervised learning has developed contrastive losses on augmented views [40 , 44 , 46 ] , but quantitative downstream guarantees remain rare. The closest result is by Davison et al. [2024]: for minimizers of the node2vec loss over free per-node embeddings, k-means consistently recovers communities in (degree-corrected) SBMs as n n n grows. We instead study masked LP with GNN encoder–decoders, the form widely used in practical graph pretraining, and bound the finite-sample error of an explicit few-label linear classifier through the LP risk the model attains, not through optimality of the training objective.
Theoretical Framework
Setting and Definitions
Let G = ( V , E ) \mathcal{G}=(V,E) G = ( V , E ) be an undirected, unweighted graph with node set V = [ n ] : = { 1 , … , n } V=[n]:=\{1,\ldots,n\} V = [ n ] := { 1 , … , n } and edge set E ⊆ ( V 2 ) E\subseteq\binom{V}{2} E ⊆ ( 2 V ) ; equivalently, G \mathcal{G} G is encoded by a symmetric adjacency matrix A ∈ { 0 , 1 } n × n A\in\{0,1\}^{n\times n} A ∈ { 0 , 1 } n × n with A i j = 1 { { i , j } ∈ E } A_{ij}=\mathbb{1}\{\{i,j\}\in E\} A ij = 1 {{ i , j } ∈ E } and A i i = 0 A_{ii}=0 A ii = 0 .
Stochastic block model. The SBM [16 , 34 ] partitions V V V into K K K communities: each node i ∈ V i\in V i ∈ V has an unobserved community label c i ∈ [ K ] c_i\in[K] c i ∈ [ K ] with proportions π a = ∣ { i : c i = a } ∣ / n ≥ π min > 0 \pi_a=|\{i:c_i=a\}|/n\geq\pi_{\min}>0 π a = ∣ { i : c i = a } ∣/ n ≥ π m i n > 0 , and edges are drawn independently as A i j ∼ Ber ( P i j ) A_{ij}\sim\operatorname{Ber}(P_{ij}) A ij ∼ Ber ( P ij ) for i < j i<j i < j , where P i j = p c i c j P_{ij}=p_{c_i c_j} P ij = p c i c j is the ( c i , c j ) (c_i,c_j) ( c i , c j ) entry of a symmetric block probability matrix Θ = ( p a b ) a , b ∈ [ K ] ∈ ( 0 , 1 ) K × K \Theta=(p_{ab})_{a,b\in[K]}\in(0,1)^{K\times K} Θ = ( p ab ) a , b ∈ [ K ] ∈ ( 0 , 1 ) K × K . We write N : = ( n 2 ) N:=\binom{n}{2} N := ( 2 n ) for the total number of node pairs.
Masking. Fix a held-out fraction τ ∈ ( 0 , 1 ) \tau\in(0,1) τ ∈ ( 0 , 1 ) , draw a set H \mathcal{H} H of ⌈ τ N ⌉ \lceil\tau N \rceil ⌈ τ N ⌉ node pairs uniformly at random from { ( i , j ) : i < j } \{(i,j): i<j\} {( i , j ) : i < j } , and let T = { ( i , j ) : i < j } ∖ H \mathcal{T}=\{(i,j):i<j\}\setminus\mathcal{H} T = {( i , j ) : i < j } ∖ H be the remaining pairs. The encoder input is the masked adjacency A e n c A^{\mathrm{enc}} A enc , obtained from A A A by zeroing the held-out entries:
A i j e n c = A j i e n c = A i j 1 { ( i , j ) ∈ T } for i < j and A i i e n c = 0. A_{ij}^{\mathrm{enc}}=A_{ji}^{\mathrm{enc}}=A_{ij}\mathbf{1}\{(i,j)\in\mathcal{T}\}\quad\text{for }i<j\quad\text{and}\quad A_{ii}^{\mathrm{enc}}=0. A ij enc = A j i enc = A ij 1 {( i , j ) ∈ T } for i < j and A ii enc = 0.
Pairs in T \mathcal{T} T (edges and non-edges) are the visible/train pairs used in the LP training objective, while pairs in H \mathcal{H} H are hidden from the encoder and used for held-out evaluation. All n n n nodes remain in the graph: only node pairs are split. Since H \mathcal{H} H and T \mathcal{T} T are disjoint and the entries A i j A_{ij} A ij are independent, A e n c A^{\mathrm{enc}} A enc is independent of { A i j : ( i , j ) ∈ H } \{A_{ij}:(i,j)\in\mathcal{H}\} { A ij : ( i , j ) ∈ H } conditional on the split ( H , T ) (\mathcal{H},\mathcal{T}) ( H , T ) (App. B).
Encoder and general bilinear decoder. A GNN encoder f θ f_\theta f θ produces embeddings z i : = f θ ( A e n c , i ) ∈ R d z_i:=f_\theta(A^{\mathrm{enc}},i)\in\mathbb{R}^d z i := f θ ( A enc , i ) ∈ R d for node i i i , where the embedding dimension d d d is treated as fixed throughout, and the general bilinear decoder outputs scores (estimates of logit P i j \operatorname{logit}P_{ij} logit P ij )
s i j = b ^ + z i T W z j , i ≠ j , W = W T ∈ R d × d , b ^ ∈ R , (2) s_{ij}=\hat{b}+z_i^{\mathsf{T}}Wz_j,\quad i\ne j,\qquad W=W^{\mathsf{T}}\in\mathbb{R}^{d\times d},\ \hat{b}\in\mathbb{R}, \tag*{(2)} s ij = b ^ + z i T W z j , i = j , W = W T ∈ R d × d , b ^ ∈ R , (2)
with the notational extension s i i : = b ^ + z i T W z i s_{ii}:=\hat{b}+z_i^{\mathsf{T}}Wz_i s ii := b ^ + z i T W z i , used only in Step 3 of the proof strategy (Sec. 3.2) and not in the LP objective. The inner-product decoder is the special case W = I d W=I_d W = I d , the d × d d\times d d × d identity matrix. We retain the general bilinear W W W because for K ≥ 3 K\ge3 K ≥ 3 there exist SBM regimes in which the community-level oracle score matrix M ⋆ ∈ R K × K M^\star\in\mathbb{R}^{K\times K} M ⋆ ∈ R K × K with entries m a b ⋆ : = logit ( p a b ) m^\star_{ab}:=\operatorname{logit}(p_{ab}) m ab ⋆ := logit ( p ab ) is not realizable by any inner-product+bias decoder, while the bilinear form recovers it exactly under a mild capacity condition (made precise after Assumption 1; App. B). The map f θ f_\theta f θ is left abstract: any GNN family is admissible, with ∥ z i ∥ ≤ R \lVert z_i\rVert\le R ∥ z i ∥ ≤ R enforced via a final projection if needed.
LP risks. LP is commonly trained with the binary cross-entropy (BCE) loss ℓ ( s ; p ) = − p log σ ( s ) − ( 1 − p ) log ( 1 − σ ( s ) ) \ell(s;p)=-p\log\sigma(s)-(1-p)\log(1-\sigma(s)) ℓ ( s ; p ) = − p log σ ( s ) − ( 1 − p ) log ( 1 − σ ( s )) [19 ] , with σ ( s ) = ( 1 + e − s ) − 1 \sigma(s)=(1+e^{-s})^{-1} σ ( s ) = ( 1 + e − s ) − 1 . We use this loss to define, for any pair set E ⊆ { ( i , j ) : i < j } \mathcal{E}\subseteq\{(i,j):i<j\} E ⊆ {( i , j ) : i < j } , the empirical and population LP risks
R ^ E ( S ) : = 1 ∣ E ∣ ∑ ( i , j ) ∈ E ℓ ( s i j ; A i j ) , R E P ( S ) : = 1 ∣ E ∣ ∑ ( i , j ) ∈ E ℓ ( s i j ; P i j ) = E A [ R ^ E ( S ) ] . \widehat{R}_{\mathcal{E}}(S):=\frac{1}{|\mathcal{E}|}\sum_{(i,j)\in\mathcal{E}}\ell(s_{ij};A_{ij}),\qquad R_{\mathcal{E}}^{P}(S):=\frac{1}{|\mathcal{E}|}\sum_{(i,j)\in\mathcal{E}}\ell(s_{ij};P_{ij})=\mathbb{E}_{A}\left[\widehat{R}_{\mathcal{E}}(S)\right]. R E ( S ) := ∣ E ∣ 1 ( i , j ) ∈ E ∑ ℓ ( s ij ; A ij ) , R E P ( S ) := ∣ E ∣ 1 ( i , j ) ∈ E ∑ ℓ ( s ij ; P ij ) = E A [ R E ( S ) ] .
The empirical R ^ E \widehat{R}_{\mathcal{E}} R E uses the observed Bernoulli targets A i j A_{ij} A ij , and the population R E P R_{\mathcal{E}}^{P} R E P replaces them by the underlying probabilities P i j P_{ij} P ij . Specializing to E = T \mathcal{E}=\mathcal{T} E = T gives the training objective R ^ T \widehat{R}_{\mathcal{T}} R T that gradient descent optimizes directly, and E = H \mathcal{E}=\mathcal{H} E = H gives the held-out risks R ^ H , R H P \widehat{R}_{\mathcal{H}},R_{\mathcal{H}}^{P} R H , R H P used in the main theorem.
Assumption 1 (Bounded encoder–decoder class). We restrict the encoder–decoder family to parameters ( θ , W , b ^ ) (\theta,W,\hat{b}) ( θ , W , b ^ ) with ∥ z i ∥ ≤ R \lVert z_i\rVert\le R ∥ z i ∥ ≤ R for all i i i , W = W T W=W^{\mathsf{T}} W = W T , ∥ W ∥ o p ≤ W max \lVert W\rVert_{\mathrm{op}}\le W_{\max} ∥ W ∥ op ≤ W m a x , and ∣ b ^ ∣ ≤ B 0 |\hat{b}|\le B_0 ∣ b ^ ∣ ≤ B 0 , for some constants R , W max , B 0 < ∞ R,W_{\max},B_0<\infty R , W m a x , B 0 < ∞ , and assume that the trained score matrix S ^ \widehat{S} S comes from this family.
Cauchy–Schwarz bounds every learned score by ∣ s i j ∣ ≤ B m o d e l : = B 0 + W max R 2 |s_{ij}|\le B_{\mathrm{model}}:=B_0+W_{\max}R^2 ∣ s ij ∣ ≤ B model := B 0 + W m a x R 2 , and the oracle scores m a b ⋆ m^\star_{ab} m ab ⋆ are bounded by B ⋆ : = max a , b ∣ m a b ⋆ ∣ B^\star:=\max_{a,b}|m^\star_{ab}| B ⋆ := max a , b ∣ m ab ⋆ ∣ . With B : = max ( B m o d e l , B ⋆ , log 2 ) B:=\max(B_{\mathrm{model}},B^\star,\log2) B := max ( B model , B ⋆ , log 2 ) , all learned and oracle scores lie in [ − B , B ] [-B,B] [ − B , B ] , and the log loss ensures ℓ ( s ; p ) ∈ [ 0 , 2 B ] \ell(s;p)\in[0,2B] ℓ ( s ; p ) ∈ [ 0 , 2 B ] (App. H). Boundedness caps the complexity of the encoder–decoder class and gives finite-sample concentration. We call W max R 2 W_{\max}R^2 W m a x R 2 the bilinear capacity : if ∥ M ⋆ − b 11 T ∥ o p ≤ W max R 2 \lVert M^\star-b\mathbf{1}\mathbf{1}^{\mathsf{T}}\rVert_{\mathrm{op}}\le W_{\max}R^2 ∥ M ⋆ − b 1 1 T ∥ op ≤ W m a x R 2 for some bias ∣ b ∣ ≤ B 0 |b|\le B_0 ∣ b ∣ ≤ B 0 , then M ⋆ M^\star M ⋆ is exactly realizable by the bilinear form within this class (App. B).
Key Quantities and Proof Strategy
Oracle, hypothesis class, and excess risk. The oracle scores m a b ⋆ = logit ( p a b ) m^\star_{ab}=\operatorname{logit}(p_{ab}) m ab ⋆ = logit ( p ab ) induce the oracle score matrix S ⋆ : = ( m c i c j ⋆ ) i , j ∈ [ n ] ∈ R n × n S^\star:=(m^\star_{c_i c_j})_{i,j\in[n]}\in\mathbb{R}^{n\times n} S ⋆ := ( m c i c j ⋆ ) i , j ∈ [ n ] ∈ R n × n . Per-pair BCE is strictly convex with unique minimizer logit ( P i j ) = m c i c j ⋆ \operatorname{logit}(P_{ij})=m^\star_{c_i c_j} logit ( P ij ) = m c i c j ⋆ , so S ⋆ S^\star S ⋆ minimizes R H P R_{\mathcal{H}}^{P} R H P , uniquely on H \mathcal{H} H . The encoder–decoder hypothesis class is
S ( A , T ) : = { ( s i j ) i , j ∈ [ n ] : s i j = b ^ + z i T W z j , z i = f θ ( A e n c , i ) , ( θ , W , b ^ ) satisfies Assumption 1 } . \mathcal{S}(A,\mathcal{T}):=\{(s_{ij})_{i,j\in[n]}:s_{ij}=\hat{b}+z_i^{\mathsf{T}}Wz_j,\ z_i=f_\theta(A^{\mathrm{enc}},i),\ (\theta,W,\hat{b})\text{ satisfies Assumption 1}\}. S ( A , T ) := {( s ij ) i , j ∈ [ n ] : s ij = b ^ + z i T W z j , z i = f θ ( A enc , i ) , ( θ , W , b ^ ) satisfies Assumption 1 } .
Let R H P , † : = inf S ∈ S ( A , T ) R H P ( S ) R_{\mathcal{H}}^{P,\dagger}:=\inf_{S\in\mathcal{S}(A,\mathcal{T})}R_{\mathcal{H}}^{P}(S) R H P , † := inf S ∈ S ( A , T ) R H P ( S ) denote the in-class population minimum. The population held-out excess risk decomposes exactly as residuals
R H P ( S ^ ) − R H P ( S ⋆ ) = ϵ o p t + ϵ a p p , ϵ o p t : = R H P ( S ^ ) − R H P , † , ϵ a p p : = R H P , † − R H P ( S ⋆ ) , (3) R_{\mathcal{H}}^{P}(\widehat{S})-R_{\mathcal{H}}^{P}(S^\star)=\epsilon_{\mathrm{opt}}+\epsilon_{\mathrm{app}},\qquad\epsilon_{\mathrm{opt}}:=R_{\mathcal{H}}^{P}(\widehat{S})-R_{\mathcal{H}}^{P,\dagger},\quad\epsilon_{\mathrm{app}}:=R_{\mathcal{H}}^{P,\dagger}-R_{\mathcal{H}}^{P}(S^\star), \tag*{(3)} R H P ( S ) − R H P ( S ⋆ ) = ϵ opt + ϵ app , ϵ opt := R H P ( S ) − R H P , † , ϵ app := R H P , † − R H P ( S ⋆ ) , (3)
both non-negative. The held-out statistical deviation is Γ H : = sup S ∈ S ( A , T ) ∣ R ^ H ( S ) − R H P ( S ) ∣ \Gamma_{\mathcal{H}}:=\sup_{S\in\mathcal{S}(A,\mathcal{T})}|\widehat{R}_{\mathcal{H}}(S)-R_{\mathcal{H}}^{P}(S)| Γ H := sup S ∈ S ( A , T ) ∣ R H ( S ) − R H P ( S ) ∣ .
Interpretation of the separation: in-class vs. out-of-class. ϵ o p t \epsilon_{\mathrm{opt}} ϵ opt measures how well the trained model approaches the in-class population optimum and is controllable through training (Cor. 9). ϵ a p p \epsilon_{\mathrm{app}} ϵ app measures how closely the encoder–decoder class can in principle approach the unrestricted Bayes optimum: it is an architectural ceiling set by the class’s expressiveness, irreducible by any training procedure (Sec. 3.4). All training-side statistics (R ^ R \widehat{R}_{\mathcal{R}} R R , and uniform deviations Γ H , Γ T , Γ T H \Gamma_{\mathcal{H}},\Gamma_{\mathcal{T}},\Gamma_{\mathcal{TH}} Γ H , Γ T , Γ T H ) operate inside the class and therefore control only ϵ o p t \epsilon_{\mathrm{opt}} ϵ opt .
Geometric quantities. The held-out and full score mean squared errors (MSE) are
ScoreMSE H : = 1 ∣ H ∣ ∑ ( i , j ) ∈ H ( s i j − m c i c j ⋆ ) 2 , ScoreMSE f u l l : = 1 n 2 ∑ i , j ∈ [ n ] ( s i j − m c i c j ⋆ ) 2 . \operatorname{ScoreMSE}_{\mathcal{H}} := \frac{1}{|\mathcal{H}|}\sum_{(i,j)\in\mathcal{H}}(s_{ij}-m^{\star}_{c_i c_j})^2,\qquad\operatorname{ScoreMSE}_{\mathrm{full}} := \frac{1}{n^2}\sum_{i,j\in[n]}(s_{ij}-m^{\star}_{c_i c_j})^2. ScoreMSE H := ∣ H ∣ 1 ( i , j ) ∈ H ∑ ( s ij − m c i c j ⋆ ) 2 , ScoreMSE full := n 2 1 i , j ∈ [ n ] ∑ ( s ij − m c i c j ⋆ ) 2 .
the latter using the diagonal extension s i i s_{ii} s ii . We further define two constants used in the bound: the strong-convexity parameter of BCE on [ − B , B ] [-B,B] [ − B , B ] , μ B : = σ ( B ) ( 1 − σ ( B ) ) = min ∣ s ∣ ≤ B σ ′ ( s ) > 0 \mu_B := \sigma(B)(1-\sigma(B)) = \min_{|s|\le B}\sigma'(s)>0 μ B := σ ( B ) ( 1 − σ ( B )) = min ∣ s ∣ ≤ B σ ′ ( s ) > 0 , entering Step 1; and the score-profile separation Δ s 2 : = min a ≠ b ∑ c = 1 K π c ( m a c ⋆ − m b c ⋆ ) 2 \Delta_s^2 := \min_{a\ne b}\sum_{c=1}^{K}\pi_c(m^{\star}_{ac}-m^{\star}_{bc})^2 Δ s 2 := min a = b ∑ c = 1 K π c ( m a c ⋆ − m b c ⋆ ) 2 , entering Step 3 (Δ s 2 > 0 \Delta_s^2>0 Δ s 2 > 0 if and only if the rows of M ⋆ M^\star M ⋆ are distinct, the SBM identifiability condition).
Four-step proof strategy. Our proof of the classification-error bound is divided into four steps, R ^ H → R H P → ScoreMSE H → ScoreMSE f u l l → e r r o r \widehat{R}_{\mathcal{H}}\to R_{\mathcal{H}}^P\to\operatorname{ScoreMSE}_{\mathcal{H}}\to\operatorname{ScoreMSE}_{\mathrm{full}}\to\mathrm{error} R H → R H P → ScoreMSE H → ScoreMSE full → error . Detailed proofs are in Appendices § 9 –§ 12 .
Lemma 2 (Step 0: empirical → \to → population on H \mathcal{H} H ). Under Assumption 1, there exists a universal constant C 0 > 0 C_0>0 C 0 > 0 such that with probability at least 1 − n − 1 1-n^{-1} 1 − n − 1 ,
Γ H : = sup S ∈ S ( A , T ) ∣ R ^ H ( S ) − R H P ( S ) ∣ ≤ C 0 B d log ( n B R W max ) τ n . \Gamma_{\mathcal{H}}:=\sup_{S\in\mathcal{S}(A,\mathcal{T})}\left|\widehat{R}_{\mathcal{H}}(S)-R_{\mathcal{H}}^P(S)\right|\le C_0B\sqrt{\frac{d\log(nBRW_{\max})}{\tau n}}. Γ H := S ∈ S ( A , T ) sup R H ( S ) − R H P ( S ) ≤ C 0 B τ n d log ( n B R W m a x ) .
Empirical-to-population bridge. Since the encoder–decoder class is bounded, held-out empirical risks concentrate around their population values uniformly over the class, so Γ H = O ~ ( d / ( τ n ) ) → 0 ‘ ( x r e f ‘ A p p . C ‘ ) . W i t h o u t b o u n d e d n e s s , t h e c l a s s c a n c o n t a i n s c o r e m a t r i c e s t h a t f i t t h e r e a l i z e d h e l d − o u t e n t r i e s \Gamma_{\mathcal{H}}=\widetilde{O}\left(\sqrt{d/(\tau n)}\right)\to0` ({xref}`App. C`). Without boundedness, the class can contain score matrices that fit the realized held-out entries Γ H = O ( d / ( τ n ) ) → 0‘ ( x r e f ‘ A pp . C ‘ ) . W i t h o u t b o u n d e d n ess , t h ec l a ssc an co n t ain scor e ma t r i ces t ha t f i tt h er e a l i z e d h e l d − o u t e n t r i es A_{ij}$, and for these the two risks can be arbitrarily far apart.
Lemma 3 (Step 1: population strong convexity). Under Assumption 1,
ScoreMSE H ≤ 2 μ B ( R H P ( S ^ ) − R H P ( S ⋆ ) ) = 2 μ B ( ϵ o p t + ϵ a p p ) . \operatorname{ScoreMSE}_{\mathcal{H}}\le\frac{2}{\mu_B}\left(R_{\mathcal{H}}^P(\widehat{S})-R_{\mathcal{H}}^P(S^\star)\right)=\frac{2}{\mu_B}(\epsilon_{\mathrm{opt}}+\epsilon_{\mathrm{app}}). ScoreMSE H ≤ μ B 2 ( R H P ( S ) − R H P ( S ⋆ ) ) = μ B 2 ( ϵ opt + ϵ app ) .
Excess risk drives scores toward the oracle. Per-pair BCE on [ − B , B ] [-B,B] [ − B , B ] is μ B \mu_B μ B -strongly convex with Bayes minimum at m c i c j ⋆ = logit ( P i j ) m^\star_{c_i c_j}=\operatorname{logit}(P_{ij}) m c i c j ⋆ = logit ( P ij ) , so excess risk upper-bounds score MSE quadratically.
Lemma 4 (Step 2: held-out → \to → full ScoreMSE). Under Assumption 1, there exists a universal constant C 1 > 0 C_1>0 C 1 > 0 such that with probability at least 1 − n − 1 1-n^{-1} 1 − n − 1 , simultaneously for all S ∈ S ( A , T ) S\in\mathcal{S}(A,\mathcal{T}) S ∈ S ( A , T ) ,
ScoreMSE f u l l ≤ ScoreMSE H + ν n s t a t , ν n s t a t : = C 1 B 2 τ d log ( n B R W max ) n + 4 B 2 n . \operatorname{ScoreMSE}_{\mathrm{full}}\le\operatorname{ScoreMSE}_{\mathcal{H}}+\nu_n^{\mathrm{stat}},\qquad\nu_n^{\mathrm{stat}}:=\frac{C_1B^2}{\sqrt{\tau}}\sqrt{\frac{d\log(nBRW_{\max})}{n}}+\frac{4B^2}{n}. ScoreMSE full ≤ ScoreMSE H + ν n stat , ν n stat := τ C 1 B 2 n d log ( n B R W m a x ) + n 4 B 2 .
Held-out averages transfer to all pairs. H \mathcal{H} H is a uniform random τ \tau τ -fraction of node pairs; uniform sampling-without-replacement concentration over the bounded class transfers averages from H \mathcal{H} H to all i < j i<j i < j , plus a 4 B 2 / n 4B^2/n 4 B 2 / n correction for the diagonal entries.
Proposition 5 (Step 3: ScoreMSE → \to → classification error). Fix a trained ( Z , W , b ^ ) (Z,W,\hat{b}) ( Z , W , b ^ ) satisfying Assumption 1, where Z ∈ R n × d Z\in\mathbb{R}^{n\times d} Z ∈ R n × d stacks the embeddings z i z_i z i as rows. For each node i i i , let s ~ i : = ( s i j ) j ∈ [ n ] ∈ R n \widetilde{s}_i:=(s_{ij})_{j\in[n]}\in\mathbb{R}^n s i := ( s ij ) j ∈ [ n ] ∈ R n be the full score profile, and μ a : = ( m a , c j ⋆ ) j ∈ [ n ] ∈ R n \mu_a:=(m^\star_{a,c_j})_{j\in[n]}\in\mathbb{R}^n μ a := ( m a , c j ⋆ ) j ∈ [ n ] ∈ R n the oracle prototype (the ideal score profile under community a a a ). We define the oracle classifier h ⋆ h^\star h ⋆ to assign each node to its nearest oracle prototype in score-profile space; using W = W ⊤ W=W^\top W = W ⊤ , the bilinear identity s ~ i = b 1 n + Z W z i \widetilde{s}_i=b\mathbf{1}_n+ZWz_i s i = b 1 n + Z W z i allows this rule to be rewritten as an equivalent linear classifier in the embedding z i z_i z i :
h ⋆ ( z i ) : = arg min a ∈ [ K ] ∥ s ~ i − μ a ∥ = arg max a ∈ [ K ] ( w a ⋆ ⊤ z i + b a ⋆ ) , h^\star(z_i):=\arg\min_{a\in[K]}\|\widetilde{s}_i-\mu_a\|=\arg\max_{a\in[K]}(w_a^{\star\top}z_i+b_a^\star), h ⋆ ( z i ) := arg a ∈ [ K ] min ∥ s i − μ a ∥ = arg a ∈ [ K ] max ( w a ⋆ ⊤ z i + b a ⋆ ) ,
where w a ⋆ : = W Z ⊤ μ a w_a^\star:=WZ^\top\mu_a w a ⋆ := W Z ⊤ μ a and b a ⋆ : = b ^ μ a ⊤ 1 n − 1 2 ∥ μ a ∥ 2 b_a^\star:=\hat{b}\mu_a^\top\mathbf{1}_n-\frac{1}{2}\|\mu_a\|^2 b a ⋆ := b ^ μ a ⊤ 1 n − 2 1 ∥ μ a ∥ 2 . Identifiability Δ s > 0 \Delta_s>0 Δ s > 0 separates prototypes by n Δ s \sqrt{n}\Delta_s n Δ s , and Markov’s inequality on e ~ i 2 : = n − 1 ∥ s ~ i − μ c i ∥ 2 \widetilde{e}_i^2:=n^{-1}\|\widetilde{s}_i-\mu_{c_i}\|^2 e i 2 := n − 1 ∥ s i − μ c i ∥ 2 bounds the error of h ⋆ h^\star h ⋆ :
1 n ∑ i = 1 n 1 { h ⋆ ( z i ) ≠ c i } ≤ 4 ScoreMSE f u l l Δ s 2 . \frac{1}{n}\sum_{i=1}^{n}\mathbf{1}\{h^\star(z_i)\ne c_i\}\le\frac{4\operatorname{ScoreMSE}_{\mathrm{full}}}{\Delta_s^2}. n 1 i = 1 ∑ n 1 { h ⋆ ( z i ) = c i } ≤ Δ s 2 4 ScoreMSE full .
Main Results
Combining Steps 0–3 yields a finite-sample classification guarantee in two forms. Part I (Oracle) follows by combining the Step 0–2 envelope ScoreMSE f u l l ≤ E n \operatorname{ScoreMSE}_{\mathrm{full}} \le\mathcal{E}_n ScoreMSE full ≤ E n with the geometric reduction of Prop. 5. Part II (Plug-in) estimates the unobservable oracle prototypes μ a \mu_a μ a from a small labeled set L = ⋃ a = 1 K L a L = \bigcup_{a=1}^{K} L_a L = ⋃ a = 1 K L a , giving a constructive linear classifier that uses only the trained model and L L L .
Theorem 6. (LP-trained embeddings enable linear community detection). Let ( Z , W , b ^ ) (Z, W, \widehat{b}) ( Z , W , b ) be any trained model satisfying Assumption 1 ; it may depend on the data and on optimizer randomness. Assume Δ s > 0 \Delta_s > 0 Δ s > 0 and that L L L is drawn independently of the trained model. Then, for every n ≥ 2 n \ge2 n ≥ 2 , with probability ≥ 1 − 3 n − 1 \ge1 - 3n^{-1} ≥ 1 − 3 n − 1 over ( A , H , L ) (A, \mathcal{H}, L) ( A , H , L ) :
Part I (Oracle). The oracle classifier h ⋆ h^\star h ⋆ of Prop. 5 satisfies
1 n ∑ i = 1 n 1 { h ⋆ ( z i ) ≠ c i } ≤ 4 E n Δ s 2 , E n : = 2 μ B ( ε o p t + ε a p p ) + V n s t a t , \frac{1}{n}\sum_{i=1}^{n}\mathbf{1}\{h^\star(z_i) \ne c_i\} \le\frac{4\mathcal{E}_n}{\Delta_s^2}, \qquad\mathcal{E}_n := \frac{2}{\mu B}(\varepsilon_{\mathrm{opt}}+\varepsilon_{\mathrm{app}})+\mathcal{V}_n^{\mathrm{stat}}, n 1 i = 1 ∑ n 1 { h ⋆ ( z i ) = c i } ≤ Δ s 2 4 E n , E n := μ B 2 ( ε opt + ε app ) + V n stat , V n s t a t : = C 1 B 2 T d log ( n B R W max ) n + 4 B 2 n . \mathcal{V}_n^{\mathrm{stat}} := \frac{C_1B^2}{\sqrt{T}}\sqrt{\frac{d\log(nBRW_{\max})}{n}}+\frac{4B^2}{n}. V n stat := T C 1 B 2 n d log ( n B R W m a x ) + n 4 B 2 . Part II (Plug-in). For each a ∈ [ K ] a \in[K] a ∈ [ K ] sample a set L a L_a L a of nodes in community a a a uniformly without replacement, with ∣ L a ∣ = m a |L_a| = m_a ∣ L a ∣ = m a and m min : = min a m a m_{\min} := \min_a m_a m m i n := min a m a ; form the empirical prototype estimate μ ^ a : = ∣ L a ∣ − 1 ∑ i ∈ L a s ~ i \widehat{\mu}_a := |L_a|^{-1}\sum_{i\in L_a}\widetilde{s}_i μ a := ∣ L a ∣ − 1 ∑ i ∈ L a s i . Then
η L : = max a 1 n ∥ μ ^ a − μ a ∥ ≤ E n π min + 2 E n λ n m min π min + 4 B λ n 3 m min , λ n : = log ( 2 K n ) ; \eta_L := \max_a \frac{1}{\sqrt{n}}\lVert\widehat{\mu}_a-\mu_a\rVert\le\sqrt{\frac{\mathcal{E}_n}{\pi_{\min}}}+\sqrt{\frac{2\mathcal{E}_n\lambda_n}{m_{\min}\pi_{\min}}}+\frac{4B\lambda_n}{3m_{\min}}, \qquad\lambda_n := \log(2K n); η L := a max n 1 ∥ μ a − μ a ∥ ≤ π m i n E n + m m i n π m i n 2 E n λ n + 3 m m i n 4 B λ n , λ n := log ( 2 K n ) ; on the event η L < Δ s / 2 \eta_L < \Delta_s/2 η L < Δ s /2 , the linear plug-in classifier h ^ p l u g ( z ) : = arg max a ( w ^ a T z + b ^ a ) \widehat{h}^{\mathrm{plug}}(z) := \arg\max_a(\widehat{w}_a^\mathsf{T}z+\widehat{b}_a) h plug ( z ) := arg max a ( w a T z + b a ) with w ^ a : = W Z T μ ^ a \widehat{w}_a := WZ^\mathsf{T}\widehat{\mu}_a w a := W Z T μ a , b ^ a : = b ^ μ ^ a T 1 n − 1 2 ∥ μ ^ a ∥ 2 \widehat{b}_a := \widehat{b}\widehat{\mu}_a^\mathsf{T}\mathbf{1}_n-\frac{1}{2}\lVert\widehat{\mu}_a\rVert^2 b a := b μ a T 1 n − 2 1 ∥ μ a ∥ 2 , i.e., h ⋆ h^\star h ⋆ with μ a \mu_a μ a replaced by μ ^ a \widehat{\mu}_a μ a , satisfies
1 n ∑ i = 1 n 1 { h ^ p l u g ( z i ) ≠ c i } ≤ 4 E n ( Δ s − 2 η L ) 2 . \frac{1}{n}\sum_{i=1}^{n}\mathbf{1}\{\widehat{h}^{\mathrm{plug}}(z_i)\ne c_i\}\le\frac{4\mathcal{E}_n}{(\Delta_s-2\eta_L)^2}. n 1 i = 1 ∑ n 1 { h plug ( z i ) = c i } ≤ ( Δ s − 2 η L ) 2 4 E n .
In the bound on η L \eta_L η L , the term E n / π min \sqrt{\mathcal{E}_n/\pi_{\min}} E n / π m i n is an LP-quality floor: it does not vanish with more labels. Define the label complexity as the total number of labels ∣ L ∣ = ∑ a m a |L| = \sum_a m_a ∣ L ∣ = ∑ a m a required to guarantee η L < Δ s / 2 \eta_L < \Delta_s/2 η L < Δ s /2 . It is coupled with LP quality: smaller E n \mathcal{E}_n E n lowers the label requirement, and when η L \eta_L η L is small, the plug-in bound approaches the oracle bound 4 E n / Δ s 2 4\mathcal{E}_n/\Delta_s^2 4 E n / Δ s 2 . Unlike VC-type linear-probing bounds, which scale with the embedding dimension, our label requirement depends on d d d only through E n \mathcal{E}_n E n , that is, through the quality of the LP-trained embeddings.
Proposition 7. (Mahalanobis nearest-centroid form of the plug-in classifier). Let z ˉ a : = ∣ L a ∣ − 1 ∑ i ∈ L a z i ∈ R d \bar{z}_a := |L_a|^{-1}\sum_{i\in L_a}z_i \in\mathbb{R}^d z ˉ a := ∣ L a ∣ − 1 ∑ i ∈ L a z i ∈ R d be the empirical embedding centroid of class a a a , and G : = W Z T Z W ∈ R d × d G := WZ^\mathsf{T}ZW \in\mathbb{R}^{d\times d} G := W Z T Z W ∈ R d × d . Then G G G is positive semi-definite (PSD; G ⪰ 0 G \succeq0 G ⪰ 0 ), and
h ^ p l u g ( z ) = arg min a ∈ [ K ] ( z − z ˉ a ) T G ( z − z ˉ a ) = arg max a ∈ [ K ] { z ˉ a T G z − 1 2 z ˉ a T G z ˉ a } . \widehat{h}^{\mathrm{plug}}(z)=\arg\min_{a\in[K]}(z-\bar{z}_a)^\mathsf{T}G(z-\bar{z}_a)=\arg\max_{a\in[K]}\left\{\bar{z}_a^\mathsf{T}Gz-\frac{1}{2}\bar{z}_a^\mathsf{T}G\bar{z}_a\right\}. h plug ( z ) = arg a ∈ [ K ] min ( z − z ˉ a ) T G ( z − z ˉ a ) = arg a ∈ [ K ] max { z ˉ a T G z − 2 1 z ˉ a T G z ˉ a } .
The plug-in classifier is therefore the classical nearest-centroid rule [28 , 33 ] in the embedding space under the data-dependent PSD form G G G , with z ˉ a \bar{z}_a z ˉ a the centroid of the labeled embeddings (not score profiles). The inner-product case W = I W=I W = I gives G = Z T Z G=Z^\mathsf{T}Z G = Z T Z , the embedding Gram matrix, and the general bilinear case is the same construction with a W W W -deformed metric. Once G G G is formed from all embeddings, classifying a node needs only its own embedding and takes O ( d 2 ) O(d^2) O ( d 2 ) time, with no need to construct the n n n -dim score profile s ~ i \widetilde{s}_i s i explicitly.
Without labels, the same form gives an unsupervised guarantee: if ( 16 + 8 κ ) E n / Δ s 2 < π min (16+8\kappa)\mathcal{E}_n/\Delta_s^2<\pi_{\min} ( 16 + 8 κ ) E n / Δ s 2 < π m i n , any ( 1 + κ ) (1+\kappa) ( 1 + κ ) -approximate K K K -means clustering of the embeddings under G G G misclassifies at most a ( 16 + 8 κ ) E n / Δ s 2 (16+8\kappa)\mathcal{E}_n/\Delta_s^2 ( 16 + 8 κ ) E n / Δ s 2 fraction of nodes, up to a label permutation (App. § 13 .§ 3 , based on Lei and Rinaldo, 2015, Lemma 5.3). Hence E n \mathcal{E}_n E n and Δ s \Delta_s Δ s control the error bounds of the oracle, plug-in, and unsupervised classifiers alike.
Corollary 8 (Half-empirical bound). Replacing the held-out population risk R H P ( S ^ ) R^{P}_{\mathcal{H}}(\widehat{S}) R H P ( S ) in Theorem 6 Part I by the empirical loss R ^ H ( S ^ ) \widehat{R}_{\mathcal{H}}(\widehat{S}) R H ( S ) adds the Step 0 edge-noise concentration term Γ H \Gamma_{\mathcal{H}} Γ H :
1 n ∑ i = 1 n 1 { h ⋆ ( z i ) ≠ c i } ≤ 8 μ B Δ s 2 [ R ^ H ( S ^ ) − R H P ( S ⋆ ) + Γ H ] + 4 V n s t a t Δ s 2 . \frac{1}{n}\sum_{i=1}^{n}\mathbf{1}\{h^{\star}(z_i)\ne c_i\}\leq\frac{8}{\mu_B\Delta_s^2}\left[\widehat{R}_{\mathcal{H}}(\widehat{S})-R^{P}_{\mathcal{H}}(S^{\star})+\Gamma_{\mathcal{H}}\right]+\frac{4V_n^{\mathrm{stat}}}{\Delta_s^2}. n 1 i = 1 ∑ n 1 { h ⋆ ( z i ) = c i } ≤ μ B Δ s 2 8 [ R H ( S ) − R H P ( S ⋆ ) + Γ H ] + Δ s 2 4 V n stat . Here R ^ H ( S ^ ) \widehat{R}_{\mathcal{H}}(\widehat{S}) R H ( S ) is read from held-out evaluation. The Bayes floor R H P ( S ⋆ ) R^{P}_{\mathcal{H}}(S^{\star}) R H P ( S ⋆ ) is unknown but does not depend on the trained model, and both Γ H \Gamma_{\mathcal{H}} Γ H and V n s t a t V_n^{\mathrm{stat}} V n stat vanish at the parametric rate O ~ ( d / n ) \widetilde{O}(\sqrt{d/n}) O ( d / n ) (App. § 9 and E). The same replacement applies to Part II (plug-in).
Train-side bridge. ε o p t \varepsilon_{\mathrm{opt}} ε opt measures LP-training quality (§ 3.2 ). We bound it via the empirical train-set risk that gradient descent directly minimizes. Define the in-class empirical floor and residual
R ^ T † : = inf S ∈ S ( A , T ) R ^ T ( S ) , ρ ^ : = R ^ T ( S ^ ) − R ^ T † ≥ 0. \widehat{R}^{\dagger}_{T}:=\inf_{S\in\mathcal{S}(A,T)}\widehat{R}_{T}(S),\qquad\widehat{\rho}:=\widehat{R}_{T}(\widehat{S})-\widehat{R}^{\dagger}_{T}\geq0. R T † := S ∈ S ( A , T ) inf R T ( S ) , ρ := R T ( S ) − R T † ≥ 0.
Corollary 9 (Train-side bound). Define the train-side and cross-side uniform deviations
Γ T : = sup S ∈ S ( A , T ) ∣ R ^ T ( S ) − R T P ( S ) ∣ , Γ T H : = sup S ∈ S ( A , T ) ∣ R T P ( S ) − R H P ( S ) ∣ , \Gamma_T:=\sup_{S\in\mathcal{S}(A,T)}\left|\widehat{R}_T(S)-R^{P}_T(S)\right|,\qquad\Gamma_{T\mathcal{H}}:=\sup_{S\in\mathcal{S}(A,T)}\left|R^{P}_T(S)-R^{P}_{\mathcal{H}}(S)\right|, Γ T := S ∈ S ( A , T ) sup R T ( S ) − R T P ( S ) , Γ T H := S ∈ S ( A , T ) sup R T P ( S ) − R H P ( S ) , each bounded by O ~ ( B 2 d log ( n B R W max ) / n ) \widetilde{O}(B^2\sqrt{d\log(nBRW_{\max})/n}) O ( B 2 d log ( n B R W m a x ) / n ) with probability ≥ 1 − 2 n − 1 \geq1-2n^{-1} ≥ 1 − 2 n − 1 (App. § 14 ). Then ε o p t ≤ ρ ^ + 2 ( Γ T + Γ T H ) \varepsilon_{\mathrm{opt}}\leq\widehat{\rho}+2(\Gamma_T+\Gamma_{T\mathcal{H}}) ε opt ≤ ρ + 2 ( Γ T + Γ T H ) , and Theorem 6 Part I becomes
1 n ∑ i 1 { h ⋆ ( z i ) ≠ c i } ≤ 8 μ B Δ s 2 [ ρ ^ + ε a p p + 2 ( Γ T + Γ T H ) ] + 4 V n s t a t Δ s 2 . \frac{1}{n}\sum_i\mathbf{1}\{h^{\star}(z_i)\ne c_i\}\leq\frac{8}{\mu_B\Delta_s^2}\left[\widehat{\rho}+\varepsilon_{\mathrm{app}}+2(\Gamma_T+\Gamma_{T\mathcal{H}})\right]+\frac{4V_n^{\mathrm{stat}}}{\Delta_s^2}. n 1 i ∑ 1 { h ⋆ ( z i ) = c i } ≤ μ B Δ s 2 8 [ ρ + ε app + 2 ( Γ T + Γ T H ) ] + Δ s 2 4 V n stat .
Gradient descent targets ρ ^ \widehat{\rho} ρ , while Γ T \Gamma_T Γ T and Γ T H \Gamma_{T\mathcal{H}} Γ T H quantify overfitting. Here ρ ^ → 0 \widehat{\rho}\to0 ρ → 0 means that training reaches the in-class optimum, a nonconvex optimization question outside our scope. Γ T \Gamma_T Γ T measures overfitting to the realized training edges, and Γ T H \Gamma_{T\mathcal{H}} Γ T H the mismatch between train and held-out pairs. Boundedness (Assumption 1) caps the complexity of the class, so both vanish at the parametric rate. At small n n n they can dominate, and even ρ ^ = 0 \widehat{\rho}=0 ρ = 0 then certifies only ε o p t ≤ 2 ( Γ T + Γ T H ) \varepsilon_{\mathrm{opt}}\leq2(\Gamma_T+\Gamma_{T\mathcal{H}}) ε opt ≤ 2 ( Γ T + Γ T H ) .
Architectural Realization of ε a p p \varepsilon_{\mathrm{app}} ε app and Scope
The approximation residual ε a p p \varepsilon_{\mathrm{app}} ε app depends on the chosen architecture and admits no uniform rate, so we treat it as a half black box : we verify the rate on one representative GNN family, and the in-class infimum structure transfers it to any class containing this family.
Proposition 10 (ε a p p \varepsilon_{\mathrm{app}} ε app rate for spectral-PE GIN; informal). Consider a GIN encoder {[citep]}[Xu et al., 2019] with L ≥ 1 L\geq1 L ≥ 1 layers and hidden width at least 2 K 2K 2 K , taking the top-D P E D_{\mathrm{PE}} D PE absolute-eigenvalue eigenvectors of A e n c A^{\mathrm{enc}} A enc (rescaled by n \sqrt{n} n ) as positional encoding for a fixed D P E ≥ K D_{\mathrm{PE}}\geq K D PE ≥ K , paired with the general bilinear decoder of § 3.1 with embedding dimension d ≥ K d\geq K d ≥ K . Under (A1) dense regime p a b ∈ [ p min , 1 − p min ] p_{ab}\in[p_{\min},1-p_{\min}] p ab ∈ [ p m i n , 1 − p m i n ] for some p min ∈ ( 0 , 1 / 2 ) p_{\min}\in(0,1/2) p m i n ∈ ( 0 , 1/2 ) , (A2) balanced communities π a ≥ π min > 0 \pi_a\geq\pi_{\min}>0 π a ≥ π m i n > 0 , (A3) rank ( Θ ) = K \operatorname{rank}(\Theta)=K rank ( Θ ) = K with min k ≤ K ∣ λ k ⋆ ∣ ≥ c γ n \min_{k\leq K}|\lambda_k^{\star}|\geq c_{\gamma}n min k ≤ K ∣ λ k ⋆ ∣ ≥ c γ n for the nonzero eigenvalues λ k ⋆ \lambda_k^{\star} λ k ⋆ of P P P , (A4) nontrivial masking τ ∈ ( 0 , 1 − τ 0 ] \tau\in(0,1-\tau_0] τ ∈ ( 0 , 1 − τ 0 ] , and the bilinear capacity condition W max R 2 ≥ min ∣ b ∣ ≤ B 0 ∥ M ⋆ − b 11 T ∥ o p W_{\max}R^2\geq\min_{|b|\leq B_0}\|M^{\star}-b11^{\mathsf{T}}\|_{\mathrm{op}} W m a x R 2 ≥ min ∣ b ∣ ≤ B 0 ∥ M ⋆ − b 1 1 T ∥ op , there exist constants C , c > 0 C,c>0 C , c > 0 depending only on ( K , p min , π min , c γ , τ 0 , W max , R ) (K,p_{\min},\pi_{\min},c_{\gamma},\tau_0,W_{\max},R) ( K , p m i n , π m i n , c γ , τ 0 , W m a x , R ) such that, with probability ≥ 1 − n − c \geq1-n^{-c} ≥ 1 − n − c , the spectral-PE GIN class satisfies
ε a p p ≤ C log n n = O ~ ( 1 / n ) . \varepsilon_{\mathrm{app}}\leq\frac{C\log n}{n}=\widetilde{O}(1/n). ε app ≤ n C log n = O ( 1/ n ) .
Proposition 10 is an existence statement: it exhibits one admissible parameter setting, which may depend on A e n c A^{\mathrm{enc}} A enc . The complete proof is in App. I.
Scope. Thm. 6 together with Cor. 9 and Prop. 10 closes the loop. If gradient descent on R ^ T \widehat{R}_T R T successfully drives the empirical residual to ρ ^ = O ~ ( d / n ) \widehat{\rho}=\widetilde{O}(\sqrt{d/n}) ρ = O ( d / n ) and the architecture realizes ε a p p = O ~ ( 1 / n ) \varepsilon_{\mathrm{app}}=\widetilde{O}(1/n) ε app = O ( 1/ n ) , then ε o p t = O ~ ( d / n ) \varepsilon_{\mathrm{opt}}=\widetilde{O}(\sqrt{d/n}) ε opt = O ( d / n ) by Cor. 9 , and ε n \varepsilon_n ε n decays at the parametric rate O ~ ( d log ( n B R W max ) / n ) \widetilde{O}(\sqrt{d\log(nBRW_{\max})/n}) O ( d log ( n B R W m a x ) / n ) , dominated by the statistical terms. By Thm. 6 ,
1 n ∑ i = 1 n 1 { h ⋆ ( z i ) ≠ c i } = O ~ ( 1 Δ s 2 d log n n ) → n → ∞ 0. \frac{1}{n}\sum_{i=1}^{n}\mathbf{1}\{h^{\star}(z_i)\ne c_i\}=\widetilde{O}\left(\frac{1}{\Delta_s^2}\sqrt{\frac{d\log n}{n}}\right)\xrightarrow[n\to\infty]{}0. n 1 i = 1 ∑ n 1 { h ⋆ ( z i ) = c i } = O ( Δ s 2 1 n d log n ) n → ∞ 0.
However, the conditional clause is non-trivial: this rate antecedent requires both a sufficiently expressive architecture and successful optimization, neither of which is automatic. The result is therefore a theoretical guarantee on the achievable error once these antecedents are met, not a claim about training dynamics.
Experiments
We empirically validate the finite-sample predictions of § 3 on synthetic SBMs. We use symmetric assortative SBMs with K ∈ { 2 , 3 , 4 } K \in\{2,3,4\} K ∈ { 2 , 3 , 4 } , balanced communities, held-out fraction τ = 0.2 \tau= 0.2 τ = 0.2 , embedding dimension d = 16 d = 16 d = 16 , norm bound R = 1.5 R = 1.5 R = 1.5 , and the general bilinear decoder. The baseline is K = 3 K = 3 K = 3 , p i n = 0.10 p_{\mathrm{in}} = 0.10 p in = 0.10 , p o u t = 0.04 p_{\mathrm{out}} = 0.04 p out = 0.04 (Δ s = 0.80 \Delta_s = 0.80 Δ s = 0.80 ), and density multiplier ρ n = 1 \rho_n = 1 ρ n = 1 , which scales all block probabilities. We denote configurations by architecture+features. GIN+PE uses a GIN encoder [43 ] with spectral PE: the D P E = 8 D_{\mathrm{PE}} = 8 D PE = 8 eigenvectors of A e n c A^{\mathrm{enc}} A enc with the largest absolute eigenvalues, rescaled by n \sqrt{n} n , a setting covered by Prop. 10 . GCN+PE uses a graph convolutional network (GCN) encoder [20 ] with Laplacian PE: the 8 eigenvectors of the normalized Laplacian of A e n c A^{\mathrm{enc}} A enc with the smallest nontrivial eigenvalues, each column standardized. GIN+random replaces the PE with i.i.d. Gaussian features, and CP+random uses a centered-power (CP) encoder, a power-iteration encoder inspired by ChebNet [6 ] . All main-text results are at K = 3 K = 3 K = 3 . Results for K ∈ { 2 , 4 } K \in\{2,4\} K ∈ { 2 , 4 } and for GAT+PE (a graph attention network (GAT) [39 ] with Laplacian PE) are in App. § 16 , and full hyperparameters are in App. § 16 .§ 1 .
Norm rules and training. A sufficient condition for the bilinear form to realize M ⋆ M^\star M ⋆ (§ 3.1 ) is W max R 2 ≥ cap : = min ∣ b ∣ ≤ B 0 ∥ M ⋆ − b 11 T ∥ o p W_{\max}R^2 \ge\operatorname{cap} := \min_{|b|\le B_0} \lVert M^\star- b\mathbf{1}\mathbf{1}^{\mathsf{T}}\rVert_{\mathrm{op}} W m a x R 2 ≥ cap := min ∣ b ∣ ≤ B 0 ∥ M ⋆ − b 1 1 T ∥ op . We set B 0 = ∣ b ⋆ ∣ + 0.5 B_0 = |b^\star| + 0.5 B 0 = ∣ b ⋆ ∣ + 0.5 for an unconstrained minimizer b ⋆ b^\star b ⋆ , so cap = ∣ logit p i n − logit p o u t ∣ \operatorname{cap} = |\operatorname{logit} p_{\mathrm{in}} - \operatorname{logit} p_{\mathrm{out}}| cap = ∣ logit p in − logit p out ∣ for our SBMs, and set W max R 2 = ( cap-ratio ) ⋅ cap W_{\max}R^2 = (\text{cap-ratio}) \cdot\operatorname{cap} W m a x R 2 = ( cap-ratio ) ⋅ cap with default cap-ratio 2. The bound ∥ W ∥ o p ≤ W max \lVert W\rVert_{\mathrm{op}} \le W_{\max} ∥ W ∥ op ≤ W m a x is enforced by clipping the eigenvalues of W W W . The Δ s \Delta_s Δ s sweep instead fixes W max = 1.5 W_{\max} = 1.5 W m a x = 1.5 to keep the bilinear capacity fixed, while the ρ n \rho_n ρ n sweep follows the same rule as the n n n -sweep (App. § 16 .§ 1 ). We train with full-batch BCE using Adam (lr 10 − 3 10^{-3} 1 0 − 3 ) for 2500 epochs, initialize the bias at zero, and report medians over 10 seeds with IQR shading. Code is available at https://github.com/YChen1103/LP-to-Linear-Community-Detection.
Theorem chain at K = 3 K = 3 K = 3 (Figure 1 ). At this configuration, the three chain quantities (population excess risk, held-out score MSE, and classification error) decrease together as n n n grows, validating the vanishing trend predicted by Thm. 6. Excess and score-MSE curves are nearly parallel for every architecture: the Step 1 ratio (excess → \to → ScoreMSE) ScoreMSE / [ R H P ( S ^ ) − R H P ( S ⋆ ) ] \operatorname{ScoreMSE}/[R_{\mathcal{H}}^{P}(\hat{S}) - R_{\mathcal{H}}^{P}(S^\star)] ScoreMSE / [ R H P ( S ^ ) − R H P ( S ⋆ )] stays between 32 and 39, far below the worst-case 2 / μ B ≈ 425 2/\mu_B \approx425 2/ μ B ≈ 425 , a gap we revisit at the end of this section.
Figure 1. Theorem chain at K = 3 K = 3 K = 3 . (A) Population excess risk (held-out) R H P ( S ^ ) − R H P ( S ⋆ ) R_{\mathcal{H}}^{P}(\hat{S}) - R_{\mathcal{H}}^{P}(S^\star) R H P ( S ^ ) − R H P ( S ⋆ ) . (B) Held-out score MSE. (C) Classification error of the plug-in classifier of Thm. 6 Part II (m = 10 m = 10 m = 10 , solid) and of the oracle classifier of each configuration (dashed, same color). Curves are medians over seeds with IQR shading. Slopes are log–log fits over n ∈ [ 100 , 2000 ] n \in[100,2000] n ∈ [ 100 , 2000 ] , excluding errors below 10 − 3 10^{-3} 1 0 − 3 in (C).
The decay rate is, however, architecture-dependent. Both PE-based configurations drive the excess risk toward zero, at empirical slopes of about − 0.7 -0.7 − 0.7 (GIN+PE) and − 1.1 -1.1 − 1.1 (GCN+PE). For GIN+PE this is broadly compatible with the O ~ ( log n / n ) \widetilde{O}(\log n/n) O ( log n / n ) rate of Prop. 10 . Random-feature configurations decay only at slope − 0.3 -0.3 − 0.3 and, for n ≥ 1000 n \ge1000 n ≥ 1000 , sit above the PE-based ones, consistent with an ε a p p \varepsilon_{\mathrm{app}} ε app floor absent an architectural argument. GIN+random also plateaus in error for large n n n , while the other three configurations reach near-zero error.
Classification error decays faster than score MSE. Since Δ s \Delta_s Δ s is fixed, this gap shows that the Markov inequality in Step 3 (ScoreMSE → \to → error) is loose deep inside the recovery regime (App. § 18 .§ 2 ). Direct logistic regression on the same labels closely matches our plug-in classifier (Table 6 in App. § 17 .§ 3 ). Applied instead to the raw 8-dimensional PE that GIN+PE receives, the same probe has higher median error at every n ∈ { 500 , 1000 , 2000 } n \in\{500, 1000, 2000\} n ∈ { 500 , 1000 , 2000 } and m ∈ { 1 , 5 , 10 , 20 } m \in\{1, 5, 10, 20\} m ∈ { 1 , 5 , 10 , 20 } , e.g., 0.392 versus 0.109 at n = 1000 n = 1000 n = 1000 with one label per class, so LP training itself adds to its spectral input (App. § 17 .§ 4 ).
Table 6. Three-classifier comparison at K = 3 K=3 K = 3 baseline: oracle (using ground-truth labels), plug-in (Theorem Part II, m ∈ { 1 , 5 , 10 , 20 } m \in\{1, 5, 10, 20\} m ∈ { 1 , 5 , 10 , 20 } labeled prototypes per class), and direct (logistic regression, LogReg, trained on the same m m m labels per class), evaluated on all n n n nodes. Medians over 10 seeds.
Closure to the Bayes floor (Figure 2 ). As n n n increases, the empirical and population held-out risks closely track each other, and both are within 0.004 of the Bayes floor R H P ( S ⋆ ) R_{\mathcal{H}}^{P}(S^\star) R H P ( S ⋆ ) at n = 2000 n = 2000 n = 2000 . This supports the predicted decay of the statistical-noise term Γ H \Gamma_{\mathcal{H}} Γ H and justifies using the empirical held-out loss as a numerical monitor. The empirical train risk can be far below the floor for small n n n , because the encoder may overfit the realized Bernoulli edges. This is a finite-sample noise artifact: as n n n grows, it diminishes because the bounded encoder–decoder class restricts overfitting, consistent with Cor. 9.
Figure 2. Risk closure on the Bayes floor (GIN+PE, K = 3 K = 3 K = 3 ): empirical train, empirical held-out, and population held-out risks all close on R H P ( S ⋆ ) R_{\mathcal{H}}^{P}(S^\star) R H P ( S ⋆ ) as n n n grows.
Geometric factor Δ s \Delta_s Δ s (Figure 3 ). We vary Δ s \Delta_s Δ s from 0.60 to 1.90 through p i n p_{\mathrm{in}} p in (p o u t p_{\mathrm{out}} p out fixed) at fixed architecture and capacity. Classification error decreases monotonically as Δ s \Delta_s Δ s grows (Figure 3 A), while the population excess risk changes only mildly (coefficient of variation (CV) ≤ 15 % \le15\% ≤ 15% , Figure 3 B). Thus, larger Δ s \Delta_s Δ s seems to help mainly through the geometric factor in Error ≤ 4 E n / Δ s 2 \operatorname{Error} \le4\mathcal{E}_n/\Delta_s^2 Error ≤ 4 E n / Δ s 2 (Thm. 6 ), rather than by substantially reducing the LP excess risk. This matches the bound, since Steps 0–2 have no explicit Δ s \Delta_s Δ s dependence. The Δ s − 2 \Delta_s^{-2} Δ s − 2 factor is empirically tight near the recovery boundary, but looser deep inside the recovery regime (App. § 18 .§ 2 ).
Figure 3. Δ s \Delta_s Δ s sweep (GIN+PE, K = 3 K = 3 K = 3 ). (A ) Error decreases monotonically with Δ s \Delta_s Δ s at every n n n . (B ) Population excess varies little across Δ s \Delta_s Δ s (CV ≤ 15 % \le15\% ≤ 15% ).
Ablations of the decoder bounds and the density (Figure 4 ). The three parameters enter the bound differently: W max W_{\max} W m a x sets both the bilinear capacity W max R 2 W_{\max}R^2 W m a x R 2 (hence ε a p p \varepsilon_{\mathrm{app}} ε app ) and the score range B B B entering μ B \mu_B μ B , B 0 B_0 B 0 bounds the bias and enlarges B B B , and ρ n \rho_n ρ n changes the SBM itself. (A,B ) Cap-ratio 1 in Prop. 10 is sufficient, and realizability needs at least cap-ratio ( K − 1 ) / K = 2 / 3 (K-1)/K = 2/3 ( K − 1 ) / K = 2/3 (Prop. 14). Below 2/3, the lower bound on ε a p p \varepsilon_{\mathrm{app}} ε app is small: 0.0026 at cap-ratio 0.25 and 0.0004 at 0.5. The observed excess is larger and flat in n n n . For n ≥ 500 n \ge500 n ≥ 500 it equals the excess of the constant score b ^ − W max R 2 \hat b-W_{\max}R^2 b ^ − W m a x R 2 (0.0077 and 0.0070): the trained bias stays too high, and the bilinear term spends its whole budget lowering every score. Training thus stops at a trivial solution, and the plateau is mainly ε o p t \varepsilon_{\mathrm{opt}} ε opt (App. § 18 .§ 3 ). From cap-ratio 0.55 to 0.75, the share of seeds that recover rises from 1/10 to 7/10 at n = 2000 n=2000 n = 2000 , and some seeds recover below 2/3. In our training setup, a small W max W_{\max} W m a x therefore acts mainly through optimization. Very large capacity instead hurts at small n n n (0.124 at cap-ratio 10 vs. 0.020 at 2, n = 100 n = 100 n = 100 ), consistent with Γ T , Γ T , H ∼ B 2 d / n \Gamma_T,\Gamma_{T,H}\sim B^2\sqrt{d/n} Γ T , Γ T , H ∼ B 2 d / n in Cor. 9, and the gap disappears by n = 2000 n=2000 n = 2000 . The error curves for cap-ratio 2 and 10 nearly coincide although 2 / μ B 2/\mu_B 2/ μ B changes by 2500× \times × , so the worst-case curvature factor is not active at the trained solution. (C ) Similarly, increasing B 0 B_0 B 0 from 2 to 12 inflates 2 / μ B 2/\mu_B 2/ μ B by 2 × 10 4 × 2\times10^4\times 2 × 1 0 4 × with no visible effect on error. (D ) Varying ρ n \rho_n ρ n changes Δ s \Delta_s Δ s by only 13% but inflates 2 / μ B 2/\mu_B 2/ μ B by 2 × 32 × 2\times32\times 2 × 32 × . Error is small for ρ n > 0.5 \rho_n > 0.5 ρ n > 0.5 , partial at ρ n = 0.2 \rho_n = 0.2 ρ n = 0.2 (plug-in error 0.41, well below random), and near chance for ρ n ≤ 0.1 \rho_n \le0.1 ρ n ≤ 0.1 . Since Δ s \Delta_s Δ s barely changes and (C ) shows that a small μ B \mu_B μ B alone does not hurt error, neither explains the failure. App. § 18 .§ 4 traces the gap at ρ n = 0.2 \rho_n=0.2 ρ n = 0.2 partly to optimization, and the failure at ρ n ≤ 0.1 \rho_n \le0.1 ρ n ≤ 0.1 to the sparse regime, where (A1) in Prop. 10 fails.
Figure 4. Ablations of the decoder bounds and the density (GIN+PE, K = 3 K = 3 K = 3 ). (A,B) W max W_{\max} W m a x ablation across cap-ratio ∈ { 0.25 , 0.5 , 0.75 , 2 , 10 } \in\{0.25, 0.5, 0.75, 2, 10\} ∈ { 0.25 , 0.5 , 0.75 , 2 , 10 } : excess (log scale, panel A) and plug-in classification error (m = 10 m = 10 m = 10 , panel B). (C) B 0 B_0 B 0 ablation: classification error across B 0 ∈ { 2 , 2.6 , 3.4 , 5 , 8 , 12 } B_0 \in\{2, 2.6, 3.4, 5, 8, 12\} B 0 ∈ { 2 , 2.6 , 3.4 , 5 , 8 , 12 } . (D) ρ n \rho_n ρ n ablation: classification error across ρ n ∈ { 0.05 , 0.1 , 0.2 , 0.5 , 1 , 2 } \rho_n \in\{0.05, 0.1, 0.2, 0.5, 1, 2\} ρ n ∈ { 0.05 , 0.1 , 0.2 , 0.5 , 1 , 2 } .
Effective vs. worst-case Hessian. The empirical Step-1 ratio is likewise not governed by the worst-case curvature μ B \mu_B μ B . In Lemma 3, μ B \mu_B μ B lower-bounds the BCE Hessian uniformly on the whole score range [ − B , B ] [-B,B] [ − B , B ] , which makes the formal bound conservative. The relevant curvature in practice is instead the curvature along the path between m c i c j ⋆ m^\star_{c_i c_j} m c i c j ⋆ and s ^ i j \hat{s}_{ij} s ^ ij . A simple SBM-level proxy is
μ e f f : = E ( i , j ) ∼ H [ P i j ( 1 − P i j ) ] , (4) \mu_{\mathrm{eff}} := \mathbb{E}_{(i,j)\sim\mathcal{H}}\left[P_{ij}(1-P_{ij})\right], \tag*{(4)} μ eff := E ( i , j ) ∼ H [ P ij ( 1 − P ij ) ] , (4)
which depends only on the block probabilities { p a b } \{p_{ab}\} { p ab } . At the K = 3 K = 3 K = 3 baseline, μ e f f ≈ 0.056 \mu_{\mathrm{eff}} \approx0.056 μ eff ≈ 0.056 , so 2 / μ e f f ≈ 36 2/\mu_{\mathrm{eff}} \approx36 2/ μ eff ≈ 36 , against an observed ratio of 38.5. Across the W max W_{\max} W m a x and B 0 B_0 B 0 ablations, 2 / μ B 2/\mu_B 2/ μ B ranges from 80 to 2 × 10 6 2 \times10^6 2 × 1 0 6 , yet the ratio stays within 36.5–42. When ρ n ∈ [ 0.1 , 2 ] \rho_n \in[0.1, 2] ρ n ∈ [ 0.1 , 2 ] moves 2 / μ e f f 2/\mu_{\mathrm{eff}} 2/ μ eff from 19.5 to 336, the ratio stays 1–16% above it. This small excess is expected: the exact ratio is an error-weighted curvature average, which grows when errors fall more on lower-curvature block pairs (App. § 17 .§ 1 ).
Conclusion
We proved a finite-sample bound that turns the held-out LP risk of any bounded GNN encoder with a bilinear decoder into a guarantee for linear community detection on its embeddings. The guarantee is constructive. A nearest-centroid rule under the learned Mahalanobis metric G = W Z T Z W G = WZ^{\mathsf{T}}ZW G = W Z T Z W , built from a few labeled nodes per community, attains it, and its label complexity improves with LP quality. On synthetic SBMs, classification error follows LP risk in most configurations. The empirical Step-1 ratio stays near the SBM-dependent scale 2 / μ e f f 2/\mu_{\mathrm{eff}} 2/ μ eff rather than the worst-case 2 / μ B 2/\mu_B 2/ μ B , and the Markov factor Δ s − 2 \Delta_s^{-2} Δ s − 2 is close to tight only near the recovery boundary.
Several directions remain open. Showing that gradient-based training reaches a small LP risk is a separate optimization problem. We realize ε a p p \varepsilon_{\mathrm{app}} ε app only for GIN with spectral PE. The K = 4 K = 4 K = 4 collapse of GCN+PE and GAT+PE (App. § 18 ), which change both the aggregator and the PE, calls for constructions covering other aggregators and PEs. Sparse SBMs need a different analysis. Finally, our O ~ ( n − 1 / 2 ) \widetilde{O}(n^{-1/2}) O ( n − 1/2 ) rate is slower than the exponential rates of SBM-specific procedures [45 , 8 ] . Our bound depends on the trained model only through its average LP risk. This average cannot exclude errors concentrated on a few nodes, so the linear dependence on it is worst-case tight (App. § 19 ). Faster rates need node-level control, and thus a fixed architecture and training algorithm, both left general by design. Empirically, the error decays faster than the bound.
Acknowledgments and Disclosure of Funding
Yixuan He is supported by a Jetstream2 AI Fellowship [12 ] and an NVIDIA Academic Grant Program award. Zhangyang Wang is supported in part by NSF Awards 2145346 (CAREER), 2523383 (DMS), and the NSF AI Institute for Foundations of Machine Learning (IFML).
Notation Table
This appendix collects the symbols used throughout the paper, grouped by role.
Table Notation Table.
Architectural Scope and Decoder Realizability
Architectural Scope
Encoder and decoder admissibility. Any GNN family (message-passing, attention-based, spectral) is admissible for f θ f_\theta f θ , provided the boundedness ∥ z i ∥ ≤ R \lVert z_i\rVert\le R ∥ z i ∥ ≤ R of Assumption 1 holds; a final normalization or projection layer suffices when needed. The decoder parameter W W W is jointly learnable with ( θ , b ^ ) (\theta,\hat b) ( θ , b ^ ) and bounded by ∥ W ∥ o p ≤ W max \lVert W\rVert_{\mathrm{op}} \le W_{\max} ∥ W ∥ op ≤ W m a x . Beyond W = W T W = W^{\mathsf{T}} W = W T , no sign constraint is imposed, so W W W may be indefinite.
Feature conventions. Auxiliary inputs to f θ f_\theta f θ are admissible under two conventions, both keeping held-out outcomes out of the encoder:
Graph-derived features. Constant features (X = 1 X = 1 X = 1 ) and graph-derived features (Laplacian or random-walk positional encodings) must be computed from A e n c A^{\mathrm{enc}} A enc , not from A A A . They are then measurable in ( A e n c , T ) (A^{\mathrm{enc}},\mathcal{T}) ( A enc , T ) and may be absorbed into the first layer of f θ f_\theta f θ without changing the notation z i = f θ ( A e n c , i ) z_i = f_\theta(A^{\mathrm{enc}},i) z i = f θ ( A enc , i ) .
Random features. Random features X X X independent of ( A , H ) (A,\mathcal{H}) ( A , H ) are treated as sampled once and held fixed; probability statements are conditional on X X X (equivalently, X X X is absorbed into θ \theta θ ).
Proposition 11 (Held-out independence). Under the conventions above , { A i j : ( i , j ) ∈ H } \{A_{ij} : (i,j) \in\mathcal{H}\} { A ij : ( i , j ) ∈ H } is independent of A e n c A^{\mathrm{enc}} A enc given H \mathcal{H} H .
Proof. Given H \mathcal{H} H , the partition ( T , H ) (\mathcal{T},\mathcal{H}) ( T , H ) is deterministic and A e n c A^{\mathrm{enc}} A enc is measurable in { A i j : ( i , j ) ∈ T } \{A_{ij} : (i,j) \in\mathcal{T}\} { A ij : ( i , j ) ∈ T } . Disjointness of T , H \mathcal{T},\mathcal{H} T , H and independence of the underlying Bernoullis give the claim. Graph-derived features (measurable in ( A e n c , T ) (A^{\mathrm{enc}},\mathcal{T}) ( A enc , T ) ) and fixed random features add no dependence on { A i j : ( i , j ) ∈ H } \{A_{ij} : (i,j) \in\mathcal{H}\} { A ij : ( i , j ) ∈ H } .
Proposition 11 is a property of the training protocol: the encoder never sees held-out outcomes. The concentration steps do not rely on it. Steps 0 and 2 (Lemmas 2 and 4) hold uniformly over the deterministic class Z \mathcal{Z} Z of all ( Z , W , b ) (Z,W,b) ( Z , W , b ) obeying the bounds of Assumption 1 (App. C), and use only that H \mathcal{H} H is drawn uniformly and independently of A A A . The resulting event therefore covers the trained model however it depends on ( A , H ) (A,\mathcal{H}) ( A , H ) , including optimizer and model-selection randomness, which enter only through ϵ o p t \epsilon_{\mathrm{opt}} ϵ opt . Architectural choices (GNN family, depth, hidden width, features) leave the form of the main theorem unchanged: they enter through ϵ o p t \epsilon_{\mathrm{opt}} ϵ opt and ε a p p \varepsilon_{\mathrm{app}} ε app , while the embedding dimension d d d and the norm budgets ( R , W max , B 0 ) (R,W_{\max},B_0) ( R , W m a x , B 0 ) also enter through ν n e s t \nu_n^{\mathrm{est}} ν n est and B B B .
Decoder Realizability
We compare the inner-product+bias and general bilinear decoders at the K × K K \times K K × K community level: do there exist { z a } a ∈ [ K ] \{z_a\}_{a\in[K]} { z a } a ∈ [ K ] and ( W , b ) (W,b) ( W , b ) with z a T W z b + b = M a b ∗ z_a^{\mathsf{T}}Wz_b+b=M^*_{ab} z a T W z b + b = M ab ∗ for every ( a , b ) (a,b) ( a , b ) ? A negative answer gives a structural floor on ε a p p \varepsilon_{\mathrm{app}} ε app that no encoder can erase for large n n n . The Bayes-optimal scores logit ( p i j ) = M c i c j ∗ \operatorname{logit}(p_{ij}) = M^*_{c_i c_j} logit ( p ij ) = M c i c j ∗ depend only on the community pair. Let ζ a \zeta_a ζ a be the mean embedding of community a a a , so ∥ ζ a ∥ ≤ R \lVert\zeta_a \rVert\le R ∥ ζ a ∥ ≤ R . Averaging s i j = b ^ + z i ⊤ W z j s_{ij}=\hat{b}+z_i^{\top}Wz_j s ij = b ^ + z i ⊤ W z j over C a × C b C_a \times C_b C a × C b gives b ^ + ζ a ⊤ W ζ b \hat{b}+\zeta_a^{\top}W\zeta_b b ^ + ζ a ⊤ W ζ b , up to O ( W max R 2 / ( n π min ) ) O(W_{\max}R^2/(n\pi_{\min})) O ( W m a x R 2 / ( n π m i n )) from the diagonal terms. Scores that match M ⋆ M^\star M ⋆ therefore force an approximate community-level realization. Inner-product+bias and general bilinear give different answers at K ≥ 3 K \ge3 K ≥ 3 .
Proposition 12 (Decoder realizability: inner-product+bias vs. general bilinear). Let M ⋆ = ( logit ( p a b ) ) a , b ∈ [ K ] M^\star=(\operatorname{logit}(p_{ab}))_{a,b\in[K]} M ⋆ = ( logit ( p ab ) ) a , b ∈ [ K ] .
(a) (Inner-product+bias is locked to PSD on 1 ⊥ 1^\perp 1 ⊥ .) If M ⋆ = U U ⊤ + b 11 ⊤ M^\star=UU^\top+b\mathbf{1}\mathbf{1}^\top M ⋆ = U U ⊤ + b 1 1 ⊤ for some U ∈ R K × d U\in\mathbb{R}^{K\times d} U ∈ R K × d and b ∈ R b\in\mathbb{R} b ∈ R , then x ⊤ M ⋆ x ≥ 0 x^\top M^\star x\ge0 x ⊤ M ⋆ x ≥ 0 for every x ⊥ 1 x\perp\mathbf{1} x ⊥ 1 . Consequently the obstruction
∃ x ⊥ 1 with x ⊤ M ⋆ x < 0 (5) \exists\ x\perp\mathbf{1}\ \text{with}\ x^\top M^\star x<0 \tag*{(5)} ∃ x ⊥ 1 with x ⊤ M ⋆ x < 0 (5) forbids exact inner-product+bias realization, regardless of d d d and b b b .
(b) (The obstruction is realized at every K ≥ 3 K\ge3 K ≥ 3 .) The hub SBM p 11 = p 22 = p 13 = 0.1 p_{11}=p_{22}=p_{13}=0.1 p 11 = p 22 = p 13 = 0.1 , p 33 = 0.2 p_{33}=0.2 p 33 = 0.2 , p 12 = p 23 = 0.9 p_{12}=p_{23}=0.9 p 12 = p 23 = 0.9 (full-rank, hence compatible with the standing assumption rank ( Θ ) = K \operatorname{rank}(\Theta)=K rank ( Θ ) = K ) satisfies (5) via x = ( 1 , − 2 , 1 ) ⊤ x=(1,-2,1)^\top x = ( 1 , − 2 , 1 ) ⊤ , with x ⊤ M ⋆ x = − 15 log 9 − 2 log 2 < 0 x^\top M^\star x=-15\log9-2\log2<0 x ⊤ M ⋆ x = − 15 log 9 − 2 log 2 < 0 . For K > 3 K>3 K > 3 , padding x x x with zeros extends the witness to any larger community count.
(c) (General bilinear realizes M ⋆ M^\star M ⋆ under the bilinear capacity condition.) For every symmetric M ⋆ M^\star M ⋆ and every d ≥ K d\ge K d ≥ K , there exist Z ∈ R K × d Z\in\mathbb{R}^{K\times d} Z ∈ R K × d with ∥ z a ∥ ≤ R \lVert z_a\rVert\le R ∥ z a ∥ ≤ R , symmetric W ∈ R d × d W\in\mathbb{R}^{d\times d} W ∈ R d × d with ∥ W ∥ o p ≤ W max \lVert W\rVert_{\mathrm{op}}\le W_{\max} ∥ W ∥ op ≤ W m a x , and ∣ b ∣ ≤ B 0 \lvert b\rvert\le B_0 ∣ b ∣ ≤ B 0 such that M ⋆ = Z W Z ⊤ + b 11 ⊤ M^\star=ZWZ^\top+b\mathbf{1}\mathbf{1}^\top M ⋆ = Z W Z ⊤ + b 1 1 ⊤ , provided
W max R 2 ≥ min ∣ b ∣ ≤ B 0 ∥ M ⋆ − b 11 ⊤ ∥ o p . (6) W_{\max}R^2\ge\min_{\lvert b\rvert\le B_0}\lVert M^\star-b\mathbf{1}\mathbf{1}^\top\rVert_{\mathrm{op}}. \tag*{(6)} W m a x R 2 ≥ ∣ b ∣ ≤ B 0 min ∥ M ⋆ − b 1 1 ⊤ ∥ op . (6)
Proof. (a). For x ⊥ 1 x\perp\mathbf{1} x ⊥ 1 ,
x ⊤ M ⋆ x = ∥ U ⊤ x ∥ 2 + b ( x ⊤ 1 ) 2 = ∥ U ⊤ x ∥ 2 ≥ 0 ; x^\top M^\star x=\lVert U^\top x\rVert^2+b(x^\top\mathbf{1})^2=\lVert U^\top x\rVert^2\ge0; x ⊤ M ⋆ x = ∥ U ⊤ x ∥ 2 + b ( x ⊤ 1 ) 2 = ∥ U ⊤ x ∥ 2 ≥ 0 ;
the contrapositive proves the obstruction direction.
(b). Direct expansion at x = ( 1 , − 2 , 1 ) ⊤ x=(1,-2,1)^\top x = ( 1 , − 2 , 1 ) ⊤ , using logit ( 0.1 ) = − log 9 \operatorname{logit}(0.1)=-\log9 logit ( 0.1 ) = − log 9 , logit ( 0.2 ) = − log 4 \operatorname{logit}(0.2)=-\log4 logit ( 0.2 ) = − log 4 , and logit ( 0.9 ) = log 9 \operatorname{logit}(0.9)=\log9 logit ( 0.9 ) = log 9 , gives x ⊤ M ⋆ x = 7 logit ( 0.1 ) + logit ( 0.2 ) − 8 logit ( 0.9 ) = − 15 log 9 − 2 log 2 x^\top M^\star x=7\operatorname{logit}(0.1)+\operatorname{logit}(0.2)-8\operatorname{logit}(0.9)=-15\log9-2\log2 x ⊤ M ⋆ x = 7 logit ( 0.1 ) + logit ( 0.2 ) − 8 logit ( 0.9 ) = − 15 log 9 − 2 log 2 . Padding x x x with zeros to length K > 3 K>3 K > 3 leaves the value unchanged, since entries outside the top-left 3 × 3 3\times3 3 × 3 block do not contribute.
(c). Pick b ⋆ ∈ arg min ∣ b ∣ ≤ B 0 ∥ M ⋆ − b 11 ⊤ ∥ o p b^\star\in\arg\min_{\lvert b\rvert\le B_0}\lVert M^\star-b\mathbf{1}\mathbf{1}^\top\rVert_{\mathrm{op}} b ⋆ ∈ arg min ∣ b ∣ ≤ B 0 ∥ M ⋆ − b 1 1 ⊤ ∥ op (attained, since the objective is continuous on a compact interval) and set M ~ = M ⋆ − b ⋆ 11 ⊤ \widetilde{M}=M^\star-b^\star\mathbf{1}\mathbf{1}^\top M = M ⋆ − b ⋆ 1 1 ⊤ . Spectrally decompose M ~ = ∑ k = 1 K λ k v k v k ⊤ \widetilde{M}=\sum_{k=1}^{K}\lambda_kv_kv_k^\top M = ∑ k = 1 K λ k v k v k ⊤ with orthonormal { v k } ⊂ R K \{v_k\}\subset\mathbb{R}^K { v k } ⊂ R K . Form Z ∈ R K × d Z\in\mathbb{R}^{K\times d} Z ∈ R K × d by stacking ( v 1 , … , v K ) (v_1,\ldots,v_K) ( v 1 , … , v K ) into the first K K K columns and zeros elsewhere; set W = diag ( λ 1 , … , λ K , 0 , … , 0 ) W=\operatorname{diag}(\lambda_1,\ldots,\lambda_K,0,\ldots,0) W = diag ( λ 1 , … , λ K , 0 , … , 0 ) and b = b ⋆ b=b^\star b = b ⋆ . Then Z W Z ⊤ + b 11 ⊤ = M ⋆ ZWZ^\top+b\mathbf{1}\mathbf{1}^\top=M^\star Z W Z ⊤ + b 1 1 ⊤ = M ⋆ with ∥ z a ∥ ≤ 1 \lVert z_a\rVert\le1 ∥ z a ∥ ≤ 1 and ∥ W ∥ o p = ∥ M ~ ∥ o p \lVert W\rVert_{\mathrm{op}}=\lVert\widetilde{M}\rVert_{\mathrm{op}} ∥ W ∥ op = ∥ M ∥ op . The rescaling ( Z , W ) ↦ ( α Z , W / α 2 ) (Z,W)\mapsto(\alpha Z,W/\alpha^2) ( Z , W ) ↦ ( α Z , W / α 2 ) preserves the identity and redistributes the norm budgets to any ( R , W max ) (R,W_{\max}) ( R , W m a x ) satisfying (6). □ \square □
Geometric picture. Inner-product+bias decomposes scores as U U ⊤ + b 11 ⊤ UU^\top+b\mathbf{1}\mathbf{1}^\top U U ⊤ + b 1 1 ⊤ : a PSD term plus a rank-one correction supported on 1 \mathbf{1} 1 . The bias acts only on 1 \mathbf{1} 1 ; the action on 1 ⊥ \mathbf{1}^\perp 1 ⊥ is locked to PSD, independently of b b b . At K = 2 K=2 K = 2 , 1 ⊥ \mathbf{1}^\perp 1 ⊥ is one-dimensional, and any assortative regime (p a a > p 12 p_{aa}>p_{12} p aa > p 12 ) gives logit ( p 11 ) + logit ( p 22 ) − 2 logit ( p 12 ) > 0 \operatorname{logit}(p_{11})+\operatorname{logit}(p_{22})-2\operatorname{logit}(p_{12})>0 logit ( p 11 ) + logit ( p 22 ) − 2 logit ( p 12 ) > 0 on the single direction ( 1 , − 1 ) (1,-1) ( 1 , − 1 ) , so restriction is never active. At K ≥ 3 K\ge3 K ≥ 3 , 1 ⊥ \mathbf{1}^\perp 1 ⊥ has dimension ≥ 2 \ge2 ≥ 2 and M ⋆ ∣ 1 ⊥ M^\star|_{\mathbf{1}^\perp} M ⋆ ∣ 1 ⊥ can be indefinite; the hub SBM in (b) realizes this. General bilinear lifts the PSD restriction by allowing an indefinite symmetric W W W : Z W Z ⊤ ZWZ^\top Z W Z ⊤ can have eigenvalues of either sign. The remaining requirement is capacity: by (6), it suffices that R 2 W max R^2W_{\max} R 2 W m a x dominates ∥ M ⋆ − b 11 ⊤ ∥ o p \lVert M^\star-b\mathbf{1}\mathbf{1}^\top\rVert_{\mathrm{op}} ∥ M ⋆ − b 1 1 ⊤ ∥ op for some admissible bias b b b . Bilinear is therefore not free: it pays for indefinite expressivity with operator-norm capacity.
Architectural implication. For any K ≥ 3 K\ge3 K ≥ 3 SBM satisfying (5), inner-product+bias has a decoder-level floor on ϵ a p p \epsilon_{\mathrm{app}} ϵ app that no GNN encoder can erase, whatever its depth, width, or expressivity. General bilinear removes this floor under the bilinear capacity condition (6). The only remaining architectural source of ϵ a p p \epsilon_{\mathrm{app}} ϵ app is then the encoder, a GNN approximation question treated in App. I. We adopt the bilinear form for this reason: it separates the structural decoder limit from encoder expressivity.
Remark 13 (Operator vs. entrywise norm in (6)). The bound (6) is in operator norm, while the score range B B B (§ 3.1 ) controls M ⋆ M^\star M ⋆ entrywise via B ⋆ = ∥ M ⋆ ∥ max B^\star=\lVert M^\star\rVert_{\max} B ⋆ = ∥ M ⋆ ∥ m a x ; the two differ by at most a factor of K K K . A sufficient entrywise replacement (take b = 0 b=0 b = 0 in (6)) is
W max R 2 ≥ K B ⋆ , (7) W_{\max}R^2\ge K B^\star, \tag*{(7)} W m a x R 2 ≥ K B ⋆ , (7)
which is easy to check but typically loose for structured M ⋆ M^\star M ⋆ : the symmetric planted partition M ⋆ = ( α − β ) I K + β 11 ⊤ M^\star=(\alpha-\beta)I_K+\beta\,11^\top M ⋆ = ( α − β ) I K + β 1 1 ⊤ admits b ⋆ = β b^\star=\beta b ⋆ = β (when B 0 ≥ ∣ β ∣ B_0\ge|\beta| B 0 ≥ ∣ β ∣ ) and ∥ M ⋆ − b ⋆ 11 ⊤ ∥ o p = ∣ α − β ∣ \lVert M^\star-b^\star11^\top\rVert_{\mathrm{op}}=|\alpha-\beta| ∥ M ⋆ − b ⋆ 1 1 ⊤ ∥ op = ∣ α − β ∣ , with no K K K factor. Capacity enters the bounds through ε a p p \varepsilon_{\mathrm{app}} ε app and through the score range B B B .
A necessary condition for symmetric SBMs. Condition (6) is sufficient. For symmetric SBMs, a trace argument also gives a necessary condition, and a floor on ε a p p \varepsilon_{\mathrm{app}} ε app when it fails.
Proposition 14 (Necessary capacity for symmetric SBMs). Let p a b = p i n p_{ab}=p_{\mathrm{in}} p ab = p in for a = b a=b a = b and p a b = p o u t p_{ab}=p_{\mathrm{out}} p ab = p out for a ≠ b a\ne b a = b , with p i n > p o u t p_{\mathrm{in}}>p_{\mathrm{out}} p in > p out . Write γ : = logit p i n − logit p o u t \gamma:=\operatorname{logit}p_{\mathrm{in}}-\operatorname{logit}p_{\mathrm{out}} γ := logit p in − logit p out , m ˉ : = 1 K logit p i n + K − 1 K logit p o u t \bar m:=\frac{1}{K}\operatorname{logit}p_{\mathrm{in}}+\frac{K-1}{K}\operatorname{logit}p_{\mathrm{out}} m ˉ := K 1 logit p in + K K − 1 logit p out , and C : = W max R 2 C:=W_{\max}R^2 C := W m a x R 2 . For u 1 , … , u K ∈ R d u_1,\ldots,u_K\in\mathbb{R}^d u 1 , … , u K ∈ R d with ∥ u a ∥ ≤ R \lVert u_a\rVert\le R ∥ u a ∥ ≤ R , symmetric W W W with ∥ W ∥ o p ≤ W max \lVert W\rVert_{\mathrm{op}}\le W_{\max} ∥ W ∥ op ≤ W m a x , and b ∈ R b\in\mathbb{R} b ∈ R , let s ˉ a b : = b + u a ⊤ W u b \bar s_{ab}:=b+u_a^\top W u_b s ˉ ab := b + u a ⊤ W u b .
(a) (Necessary condition.) Every such s ˉ \bar s s ˉ satisfies
1 K ∑ a s ˉ a a − 1 K 2 ∑ a , b s ˉ a b + ∣ 1 K 2 ∑ a , b s ˉ a b − b ∣ ≤ C . \frac{1}{K}\sum_a\bar s_{aa}-\frac{1}{K^2}\sum_{a,b}\bar s_{ab}+\left|\frac{1}{K^2}\sum_{a,b}\bar s_{ab}-b\right|\le C. K 1 a ∑ s ˉ aa − K 2 1 a , b ∑ s ˉ ab + K 2 1 a , b ∑ s ˉ ab − b ≤ C . Hence s ˉ = M ⋆ \bar s=M^\star s ˉ = M ⋆ with ∣ b ∣ ≤ B 0 |b|\le B_0 ∣ b ∣ ≤ B 0 requires
C ≥ K − 1 K γ + dist ( m ˉ , [ − B 0 , B 0 ] ) . (8) C\ge\frac{K-1}{K}\gamma+\operatorname{dist}(\bar m,[-B_0,B_0]). \tag*{(8)} C ≥ K K − 1 γ + dist ( m ˉ , [ − B 0 , B 0 ]) . (8) (b) (Community-level floor.) For symmetric T ∈ R K × K T\in\mathbb{R}^{K\times K} T ∈ R K × K , let Φ ( T ) : = 1 K 2 ∑ a , b KL ( p a b ∥ σ ( T a b ) ) \Phi(T):=\frac{1}{K^2}\sum_{a,b}\operatorname{KL}(p_{ab}\mathbin\Vert\sigma(T_{ab})) Φ ( T ) := K 2 1 ∑ a , b KL ( p ab ∥ σ ( T ab )) , where KL \operatorname{KL} KL is the Bernoulli divergence. Every symmetric T T T with ∑ a T a a − 1 K ∑ a , b T a b ≤ K C \sum_aT_{aa}-\frac{1}{K}\sum_{a,b}T_{ab}\le KC ∑ a T aa − K 1 ∑ a , b T ab ≤ K C satisfies Φ ( T ) ≥ F K ( C ) \Phi(T)\ge F_K(C) Φ ( T ) ≥ F K ( C ) , where
F K ( C ) : = min s i n − s o u t ≤ K C / ( K − 1 ) [ 1 K KL ( p i n ∥ σ ( s i n ) ) + K − 1 K KL ( p o u t ∥ σ ( s o u t ) ) ] . F_K(C):=\min_{s_{\mathrm{in}}-s_{\mathrm{out}}\le KC/(K-1)}
\left[\frac{1}{K}\operatorname{KL}(p_{\mathrm{in}}\mathbin\Vert\sigma(s_{\mathrm{in}}))+\frac{K-1}{K}\operatorname{KL}(p_{\mathrm{out}}\mathbin\Vert\sigma(s_{\mathrm{out}}))\right]. F K ( C ) := s in − s out ≤ K C / ( K − 1 ) min [ K 1 KL ( p in ∥ σ ( s in )) + K K − 1 KL ( p out ∥ σ ( s out )) ] . By (a), this applies to every s ˉ \bar s s ˉ . Moreover, F K ( C ) > 0 F_K(C)>0 F K ( C ) > 0 if and only if C < K − 1 K γ C<\frac{K-1}{K}\gamma C < K K − 1 γ .
(c) (Floor on ε a p p \varepsilon_{\mathrm{app}} ε app .) Let n min : = min a ∣ C a ∣ ≥ 2 n_{\min}:=\min_a|\mathcal{C}_a|\ge2 n m i n := min a ∣ C a ∣ ≥ 2 , κ n : = K 2 n min ( n min − 1 ) n ( n − 1 ) \kappa_n:=\frac{K^2n_{\min}(n_{\min}-1)}{n(n-1)} κ n := n ( n − 1 ) K 2 n m i n ( n m i n − 1 ) , and C n : = C ( 1 + 2 ( K − 1 ) K ( n min − 1 ) ) C_n:=C\left(1+\frac{2(K-1)}{K(n_{\min}-1)}\right) C n := C ( 1 + K ( n m i n − 1 ) 2 ( K − 1 ) ) . With probability at least 1 − n − 1 1-n^{-1} 1 − n − 1 over the draw of H \mathcal{H} H , every ( Z , W , b ^ ) (Z,W,\hat b) ( Z , W , b ^ ) obeying Assumption 1 satisfies
R H P ( S ) − R H P ( S ⋆ ) ≥ κ n F K ( C n ) − Γ n 0 , Γ n 0 : = C 2 B n d log ( n B R W max ) n , R_{\mathcal{H}}^P(S)-R_{\mathcal{H}}^P(S^\star)\ge\kappa_nF_K(C_n)-\Gamma_n^0,\qquad\Gamma_n^0:=\frac{C_2B}{\sqrt{n}}\sqrt{\frac{d\log(nBRW_{\max})}{n}}, R H P ( S ) − R H P ( S ⋆ ) ≥ κ n F K ( C n ) − Γ n 0 , Γ n 0 := n C 2 B n d log ( n B R W m a x ) , for a universal constant C 2 > 0 C_2>0 C 2 > 0 . In particular, ε a p p \varepsilon_{\mathrm{app}} ε app obeys the same lower bound for every encoder family. For balanced communities, κ n → 1 \kappa_n\to1 κ n → 1 and C n → C C_n\to C C n → C .
Proof. Let U = [ u 1 , … , u K ] ∈ R d × K U=[u_1,\ldots,u_K]\in\mathbb{R}^{d\times K} U = [ u 1 , … , u K ] ∈ R d × K , u ˉ : = U 1 / K \bar u:=U1/K u ˉ := U 1/ K , Π : = I K − 11 ⊤ / K \Pi:=I_K-11^\top/K Π := I K − 1 1 ⊤ / K , and G : = U ⊤ W U = s ˉ − b 11 ⊤ G:=U^\top WU=\bar s-b11^\top G := U ⊤ W U = s ˉ − b 1 1 ⊤ .
(a). Since Π 1 = 0 \Pi1=0 Π1 = 0 , the left side equals 1 K tr ( Π G ) + ∣ u ˉ ⊤ W u ˉ ∣ \frac{1}{K}\operatorname{tr}(\Pi G)+|\bar u^\top W\bar u| K 1 tr ( Π G ) + ∣ u ˉ ⊤ W u ˉ ∣ . The matrix U Π U ⊤ U\Pi U^\top U Π U ⊤ is positive semidefinite, so tr ( Π G ) = tr ( W U Π U ⊤ ) ≤ W max tr ( U Π U ⊤ ) = W max ( ∑ a ∥ u a ∥ 2 − K ∥ u ˉ ∥ 2 ) \operatorname{tr}(\Pi G)=\operatorname{tr}(WU\Pi U^\top)\le W_{\max}\operatorname{tr}(U\Pi U^\top)=W_{\max}\left(\sum_a\lVert u_a\rVert^2-K\lVert\bar u\rVert^2\right) tr ( Π G ) = tr ( W U Π U ⊤ ) ≤ W m a x tr ( U Π U ⊤ ) = W m a x ( ∑ a ∥ u a ∥ 2 − K ∥ u ˉ ∥ 2 ) . Also ∣ u ˉ ⊤ W u ˉ ∣ ≤ W max ∥ u ˉ ∥ 2 |\bar u^\top W\bar u|\le W_{\max}\lVert\bar u\rVert^2 ∣ u ˉ ⊤ W u ˉ ∣ ≤ W m a x ∥ u ˉ ∥ 2 . The sum is at most W max K ∑ a ∥ u a ∥ 2 ≤ C \frac{W_{\max}}{K}\sum_a\lVert u_a\rVert^2\le C K W m a x ∑ a ∥ u a ∥ 2 ≤ C . For s ˉ = M ⋆ \bar s=M^\star s ˉ = M ⋆ , the two terms equal K − 1 K γ \frac{K-1}{K}\gamma K K − 1 γ and ∣ m ˉ − b ∣ ≥ dist ( m ˉ , [ − B 0 , B 0 ] ) |\bar m-b|\ge\operatorname{dist}(\bar m,[-B_0,B_0]) ∣ m ˉ − b ∣ ≥ dist ( m ˉ , [ − B 0 , B 0 ]) , which proves (7).
(b). The map Φ \Phi Φ is convex. Both Φ \Phi Φ and the constraint are invariant under T ↦ P T P ⊤ T\mapsto PTP^\top T ↦ P T P ⊤ for every permutation matrix P P P , because P Π P ⊤ = Π P\Pi P^\top=\Pi P Π P ⊤ = Π and ∑ a T a a − 1 K ∑ a , b T a b = tr ( Π T ) \sum_aT_{aa}-\frac{1}{K}\sum_{a,b}T_{ab}=\operatorname{tr}(\Pi T) ∑ a T aa − K 1 ∑ a , b T ab = tr ( Π T ) . Averaging over all K ! K! K ! permutations therefore gives a feasible T ˉ = s o u t 11 ⊤ + ( s i n − s o u t ) I K \bar T=s_{\mathrm{out}}11^\top+(s_{\mathrm{in}}-s_{\mathrm{out}})I_K T ˉ = s out 1 1 ⊤ + ( s in − s out ) I K with Φ ( T ˉ ) ≤ Φ ( T ) \Phi(\bar T)\le\Phi(T) Φ ( T ˉ ) ≤ Φ ( T ) . Its constraint reads ( K − 1 ) ( s i n − s o u t ) ≤ K C (K-1)(s_{\mathrm{in}}-s_{\mathrm{out}})\le KC ( K − 1 ) ( s in − s out ) ≤ K C , and Φ ( T ˉ ) \Phi(\bar T) Φ ( T ˉ ) is the bracket in F K F_K F K . The bracket vanishes only at ( logit p i n , logit p o u t ) (\operatorname{logit}p_{\mathrm{in}},\operatorname{logit}p_{\mathrm{out}}) ( logit p in , logit p out ) , which is feasible if and only if γ ≤ K C / ( K − 1 ) \gamma\le KC/(K-1) γ ≤ K C / ( K − 1 ) . For T = s ˉ T=\bar s T = s ˉ , the constraint holds because tr ( Π s ˉ ) = tr ( Π G ) ≤ K C \operatorname{tr}(\Pi\bar s)=\operatorname{tr}(\Pi G)\le KC tr ( Π s ˉ ) = tr ( Π G ) ≤ K C by (a).
(c). Per pair, ℓ ( s ; p ) − ℓ ( logit p ; p ) = KL ( p ∥ σ ( s ) ) \ell(s;p)-\ell(\operatorname{logit}p;p)=\operatorname{KL}(p\mathbin\Vert\sigma(s)) ℓ ( s ; p ) − ℓ ( logit p ; p ) = KL ( p ∥ σ ( s )) . So R H P ( S ) − R H P ( S ⋆ ) R_{\mathcal{H}}^P(S)-R_{\mathcal{H}}^P(S^\star) R H P ( S ) − R H P ( S ⋆ ) is the average over H \mathcal{H} H of g ( i , j ) : = KL ( P i j ∥ σ ( s ( i j ) ) ) g(i,j):=\operatorname{KL}(P_{ij}\mathbin\Vert\sigma(s_{(ij)})) g ( i , j ) := KL ( P ij ∥ σ ( s ( ij ) )) . Let g ˉ \bar g g ˉ be the average of g g g over all N N N pairs i < j i<j i < j .
Step 1: from H \mathcal{H} H to all pairs. The function g g g takes values in [ 0 , 2 B ] [0,2B] [ 0 , 2 B ] and is 1-Lipschitz in s i j s_{ij} s ij , since ∣ ∂ s ℓ ( s ; p ) ∣ = ∣ σ ( s ) − p ∣ ≤ 1 |\partial_s\ell(s;p)|=|\sigma(s)-p|\le1 ∣ ∂ s ℓ ( s ; p ) ∣ = ∣ σ ( s ) − p ∣ ≤ 1 . Repeating the proof of Lemma 18 (App. E) with this g g g shows that, with probability at least 1 − n − 1 1-n^{-1} 1 − n − 1 , the average of g g g over H \mathcal{H} H is at least g ˉ − Γ n ∘ \bar{g}-\Gamma_n^\circ g ˉ − Γ n ∘ for all ( Z , W , b ^ ) (Z,W,\widehat{b}) ( Z , W , b ) obeying Assumption 1.
Step 2: block averaging. Let n a : = ∣ C a ∣ n_a:=|\mathcal{C}_a| n a := ∣ C a ∣ , u a : = 1 n a ∑ i ∈ C a z i u_a:=\frac{1}{n_a}\sum_{i\in\mathcal{C}_a}z_i u a := n a 1 ∑ i ∈ C a z i , and s ˉ a b : = b ^ + u a T W u b \bar{s}_{ab}:=\widehat{b}+u_a^{\mathsf T}Wu_b s ˉ ab := b + u a T W u b . Since W W W is symmetric, the average of s i j s_{ij} s ij over the n a n b n_an_b n a n b pairs between communities a ≠ b a\ne b a = b equals T a b : = s ˉ a b T_{ab}:=\bar{s}_{ab} T ab := s ˉ ab . Over the n a ( n a − 1 ) / 2 n_a(n_a-1)/2 n a ( n a − 1 ) /2 pairs inside community a a a , it equals T a a : = s ˉ a a + δ a T_{aa}:=\bar{s}_{aa}+\delta_a T aa := s ˉ aa + δ a , where δ a : = 1 n a − 1 ( u a T W u a − 1 n a ∑ i ∈ C a z i T W z i ) \delta_a:=\frac{1}{n_a-1}\left(u_a^{\mathsf T}Wu_a-\frac{1}{n_a}\sum_{i\in\mathcal{C}_a}z_i^{\mathsf T}Wz_i\right) δ a := n a − 1 1 ( u a T W u a − n a 1 ∑ i ∈ C a z i T W z i ) , so ∣ δ a ∣ ≤ 2 C / ( n min − 1 ) |\delta_a|\le2C/(n_{\min}-1) ∣ δ a ∣ ≤ 2 C / ( n m i n − 1 ) . Jensen’s inequality within each block, applied to the convex map s ↦ KL ( p ∥ σ ( s ) ) s\mapsto\operatorname{KL}(p\mathbin\Vert\sigma(s)) s ↦ KL ( p ∥ σ ( s )) , gives
g ˉ ≥ ∑ a n a ( n a − 1 ) 2 N KL ( p i n ∥ σ ( T a a ) ) + ∑ a < b n a n b N KL ( p o u t ∥ σ ( T a b ) ) ≥ κ n Φ ( T ) . \bar{g}\ge\sum_a\frac{n_a(n_a-1)}{2N}\operatorname{KL}(p_{\mathrm{in}}\mathbin\Vert\sigma(T_{aa}))+\sum_{a<b}\frac{n_an_b}{N}\operatorname{KL}(p_{\mathrm{out}}\mathbin\Vert\sigma(T_{ab}))\ge\kappa_n\Phi(T). g ˉ ≥ a ∑ 2 N n a ( n a − 1 ) KL ( p in ∥ σ ( T aa )) + a < b ∑ N n a n b KL ( p out ∥ σ ( T ab )) ≥ κ n Φ ( T ) .
The last step uses n a ( n a − 1 ) 2 N ≥ κ n K 2 \frac{n_a(n_a-1)}{2N}\ge\frac{\kappa_n}{K^2} 2 N n a ( n a − 1 ) ≥ K 2 κ n and n a n b N ≥ 2 κ n K 2 \frac{n_an_b}{N}\ge\frac{2\kappa_n}{K^2} N n a n b ≥ K 2 2 κ n , with N = n ( n − 1 ) / 2 N=n(n-1)/2 N = n ( n − 1 ) /2 .
Step 3: the constraint. By (a), tr ( Π T ) = tr ( Π s ˉ ) + K − 1 K ∑ a δ a ≤ K C + 2 ( K − 1 ) C n min − 1 = K C n \operatorname{tr}(\Pi T)=\operatorname{tr}(\Pi\bar{s})+\frac{K-1}{K}\sum_a\delta_a\le KC+\frac{2(K-1)C}{n_{\min}-1}=KC_n tr ( Π T ) = tr ( Π s ˉ ) + K K − 1 ∑ a δ a ≤ K C + n m i n − 1 2 ( K − 1 ) C = K C n . Hence Φ ( T ) ≥ F K ( C n ) \Phi(T)\ge F_K(C_n) Φ ( T ) ≥ F K ( C n ) by (b). Combining the three steps proves the bound. It holds for every ( Z , W , b ^ ) (Z,W,\widehat{b}) ( Z , W , b ) obeying Assumption 1, so it also holds for the infimum over S ( A , T ) \mathcal{S}(A,\mathcal{T}) S ( A , T ) , which gives the bound on ε a p p \varepsilon_{\mathrm{app}} ε app .
For these SBMs, (6) reads C ≥ γ C\ge\gamma C ≥ γ when B 0 ≥ ∣ b ∗ ∣ B_0\ge|b^*| B 0 ≥ ∣ b ∗ ∣ (Remark 13), and (7) reads C ≥ K − 1 K γ C\ge\frac{K-1}{K}\gamma C ≥ K K − 1 γ when B 0 ≥ ∣ m ˉ ∣ B_0\ge|\bar{m}| B 0 ≥ ∣ m ˉ ∣ . The capacity at which M ⋆ M^\star M ⋆ becomes realizable therefore lies between the two, a range of the factor K / ( K − 1 ) K/(K-1) K / ( K − 1 ) . In our experiments (K = 3 K=3 K = 3 , γ = 0.981 \gamma=0.981 γ = 0.981 , m ˉ = − 2.85 \bar{m}=-2.85 m ˉ = − 2.85 , B 0 = 3.39 B_0=3.39 B 0 = 3.39 ), it lies between cap-ratio 2 / 3 2/3 2/3 and 1 1 1 . Below 2 / 3 2/3 2/3 , F 3 = 0.0026 F_3=0.0026 F 3 = 0.0026 at cap-ratio 0.25 0.25 0.25 and 0.0004 0.0004 0.0004 at 0.5 0.5 0.5 . The minimizer of F K F_K F K then still has s i n − s o u t = K C / ( K − 1 ) > 0 s_{\mathrm{in}}-s_{\mathrm{out}}=KC/(K-1)>0 s in − s out = K C / ( K − 1 ) > 0 , so a positive floor does not by itself prevent recovery.
Proof of Step 0 (Lemma 2)
Lemma 15 (Step 0, restated). *Under Assumption 1, with probability at least 1 − n − 1 1-n^{-1} 1 − n − 1 over A A A ,
Γ H ≤ C 0 B d log ( n B R W max ) τ n \Gamma_{\mathcal{H}}\le C_0B\sqrt{\frac{d\log(nBRW_{\max})}{\tau n}} Γ H ≤ C 0 B τ n d log ( n B R W m a x ) for a universal C 0 > 0 C_0>0 C 0 > 0 .*
Proof. Define Z : = { ( Z , W , b ) : ∥ z i ∥ ≤ R ∀ i , W = W T , ∥ W ∥ o p ≤ W max , ∣ b ∣ ≤ B 0 } \mathcal{Z}:=\{(Z,W,b):\|z_i\|\le R\ \forall i,\ W=W^{\mathsf T},\ \|W\|_{\mathrm{op}}\le W_{\max},\ |b|\le B_0\} Z := {( Z , W , b ) : ∥ z i ∥ ≤ R ∀ i , W = W T , ∥ W ∥ op ≤ W m a x , ∣ b ∣ ≤ B 0 } , s i j ( Z , W , b ) : = b + z i T W z j s_{ij}(Z,W,b):=b+z_i^{\mathsf T}Wz_j s ij ( Z , W , b ) := b + z i T W z j , and
U H ( Z , W , b ) : = 1 ∣ H ∣ ∑ ( i , j ) ∈ H ( ℓ ( s i j ; A i j ) − ℓ ( s i j ; P i j ) ) . U_{\mathcal{H}}(Z,W,b):=\frac{1}{|\mathcal{H}|}\sum_{(i,j)\in\mathcal{H}}\bigl(\ell(s_{ij};A_{ij})-\ell(s_{ij};P_{ij})\bigr). U H ( Z , W , b ) := ∣ H ∣ 1 ( i , j ) ∈ H ∑ ( ℓ ( s ij ; A ij ) − ℓ ( s ij ; P ij ) ) .
The exact identity ℓ ( s ; a ) − ℓ ( s ; p ) = ( p − a ) s \ell(s;a)-\ell(s;p)=(p-a)s ℓ ( s ; a ) − ℓ ( s ; p ) = ( p − a ) s gives
U H ( Z , W , b ) = 1 ∣ H ∣ ∑ ( i , j ) ∈ H ( P i j − A i j ) s i j ( Z , W , b ) , (9) U_{\mathcal{H}}(Z,W,b)=\frac{1}{|\mathcal{H}|}\sum_{(i,j)\in\mathcal{H}}(P_{ij}-A_{ij})s_{ij}(Z,W,b), \tag*{(9)} U H ( Z , W , b ) = ∣ H ∣ 1 ( i , j ) ∈ H ∑ ( P ij − A ij ) s ij ( Z , W , b ) , (9)
so Γ H ≤ sup Z ∣ U H ∣ \Gamma_{\mathcal{H}}\le\sup_Z|U_{\mathcal{H}}| Γ H ≤ sup Z ∣ U H ∣ . Throughout, ∣ H ∣ = ⌈ τ N ⌉ |\mathcal{H}|=\lceil\tau N\rceil ∣ H ∣ = ⌈ τ N ⌉ is deterministic.
(a) Hoeffding. Conditional on the partition ( T , H ) (\mathcal{T},\mathcal{H}) ( T , H ) , the held-out { A i j : ( i , j ) ∈ H } \{A_{ij}:(i,j)\in\mathcal{H}\} { A ij : ( i , j ) ∈ H } are independent of A T A_{\mathcal{T}} A T and of each other (since SBM edges are globally independent and H ⊥ A \mathcal{H}\perp A H ⊥ A ), with E [ A i j ∣ H ] = P i j \mathbb{E}[A_{ij}\mid\mathcal{H}]=P_{ij} E [ A ij ∣ H ] = P ij . The summands ( P i j − A i j ) s i j (P_{ij}-A_{ij})s_{ij} ( P ij − A ij ) s ij of (8) are therefore independent, mean-zero, bounded in [ − B , B ] [-B,B] [ − B , B ] (since ∣ s i j ∣ ≤ B |s_{ij}|\le B ∣ s ij ∣ ≤ B , ∣ P i j − A i j ∣ ≤ 1 |P_{ij}-A_{ij}|\le1 ∣ P ij − A ij ∣ ≤ 1 ). Hoeffding gives
P [ ∣ U H ( Z , W , b ) ∣ > t ∣ H ] ≤ 2 exp ( − ∣ H ∣ t 2 / ( 2 B 2 ) ) . (10) \mathbb{P}\left[|U_{\mathcal{H}}(Z,W,b)|>t\mid\mathcal{H}\right]\le2\exp\left(-|\mathcal{H}|t^2/(2B^2)\right). \tag*{(10)} P [ ∣ U H ( Z , W , b ) ∣ > t ∣ H ] ≤ 2 exp ( − ∣ H ∣ t 2 / ( 2 B 2 ) ) . (10)
(b) Covering. Standard ε \varepsilon ε -nets of { ∥ z ∥ ≤ R } ⊂ R d \{\|z\|\le R\}\subset\mathbb{R}^d { ∥ z ∥ ≤ R } ⊂ R d , of symmetric W W W with ∥ W ∥ o p ≤ W max \|W\|_{\mathrm{op}}\le W_{\max} ∥ W ∥ op ≤ W m a x , and of ∣ b ∣ ≤ B 0 |b|\le B_0 ∣ b ∣ ≤ B 0 have sizes ( 3 R / ε ) d (3R/\varepsilon)^d ( 3 R / ε ) d , ( C 0 ′ W max / ε ) d ( d + 1 ) / 2 (C'_0W_{\max}/\varepsilon)^{d(d+1)/2} ( C 0 ′ W m a x / ε ) d ( d + 1 ) /2 , 3 B 0 / ε 3B_0/\varepsilon 3 B 0 / ε for a universal C 0 ′ C'_0 C 0 ′ . Their product (over n n n embedding copies, W W W , and b b b ) gives an ε \varepsilon ε -net N ε \mathcal{N}_\varepsilon N ε of Z \mathcal{Z} Z with
∣ N ε ∣ ≤ ( 3 R / ε ) n d ( C 0 ′ W max / ε ) d ( d + 1 ) / 2 ( 3 B 0 / ε ) . (11) |\mathcal{N}_\varepsilon|\le(3R/\varepsilon)^{nd}(C'_0W_{\max}/\varepsilon)^{d(d+1)/2}(3B_0/\varepsilon). \tag*{(11)} ∣ N ε ∣ ≤ ( 3 R / ε ) n d ( C 0 ′ W m a x / ε ) d ( d + 1 ) /2 ( 3 B 0 / ε ) . (11)
(c) Lipschitz. For ( Z , W , b ) , ( Z ′ , W ′ , b ′ ) ∈ Z (Z,W,b),(Z',W',b') \in\mathcal{Z} ( Z , W , b ) , ( Z ′ , W ′ , b ′ ) ∈ Z agreeing to ε \varepsilon ε in each component, the telescope
z i ⊤ W z j − z i ′ ⊤ W ′ z j ′ = ( z i − z i ′ ) ⊤ W z j + z i ′ ⊤ ( W − W ′ ) z j + z i ′ ⊤ W ′ ( z j − z j ′ ) z_i^\top W z_j-z_i'^\top W'z_j'=(z_i-z_i')^\top Wz_j+z_i'^\top(W-W')z_j+z_i'^\top W'(z_j-z_j') z i ⊤ W z j − z i ′⊤ W ′ z j ′ = ( z i − z i ′ ) ⊤ W z j + z i ′⊤ ( W − W ′ ) z j + z i ′⊤ W ′ ( z j − z j ′ )
with Cauchy–Schwarz gives sup i , j ∣ s i j − s i j ′ ∣ ≤ ( 1 + 2 R W max + R 2 ) ε = : L ε \sup_{i,j}|s_{ij}-s_{ij}'|\le(1+2RW_{\max}+R^2)\varepsilon=:L\varepsilon sup i , j ∣ s ij − s ij ′ ∣ ≤ ( 1 + 2 R W m a x + R 2 ) ε =: L ε , hence ∣ U H ( Z , W , b ) − U H ( Z ′ , W ′ , b ′ ) ∣ ≤ L ε |U_{\mathcal{H}}(Z,W,b)-U_{\mathcal{H}}(Z',W',b')|\le L\varepsilon ∣ U H ( Z , W , b ) − U H ( Z ′ , W ′ , b ′ ) ∣ ≤ L ε via ∣ P i j − A i j ∣ ≤ 1 |P_{ij}-A_{ij}|\le1 ∣ P ij − A ij ∣ ≤ 1 .
(d) Assembly. Fix ε : = 1 / ( L n 2 ) ≤ 1 \varepsilon:=1/(Ln^2)\le1 ε := 1/ ( L n 2 ) ≤ 1 . In the net sizes (11) we read R , W max , B 0 R,W_{\max},B_0 R , W m a x , B 0 as max ( ⋅ , 1 ) \max(\cdot,1) max ( ⋅ , 1 ) , which keeps (11) valid for ε ≤ 1 \varepsilon\le1 ε ≤ 1 , and likewise R , W max R,W_{\max} R , W m a x inside log ( n B R W max ) \log(nBRW_{\max}) log ( n B R W m a x ) , so that log ( n B R W max ) ≥ log ( 2 log 2 ) > 0 \log(nBRW_{\max})\ge\log(2\log2)>0 log ( n B R W m a x ) ≥ log ( 2 log 2 ) > 0 for n ≥ 2 n\ge2 n ≥ 2 . We may assume d < 2 n d<2n d < 2 n : otherwise the claimed bound exceeds B B B for C 0 ≥ 2 C_0\ge2 C 0 ≥ 2 , while ∣ U ‾ H ∣ ≤ B |\overline{U}_{\mathcal{H}}|\le B ∣ U H ∣ ≤ B always. Then d ( d + 1 ) / 2 ≤ n d d(d+1)/2\le nd d ( d + 1 ) /2 ≤ n d , and (11) gives log ∣ N ε ∣ = O ( n d log ( n B R W max ) ) \log|\mathcal{N}_{\varepsilon}|=O(nd\log(nBRW_{\max})) log ∣ N ε ∣ = O ( n d log ( n B R W m a x )) . Set
t : = B 2 ( log ∣ N ε ∣ + log ( 2 n ) ) ∣ H ∣ . (12) t:=B\sqrt{\frac{2(\log|\mathcal{N}_{\varepsilon}|+\log(2n))}{|\mathcal{H}|}}. \tag*{(12)} t := B ∣ H ∣ 2 ( log ∣ N ε ∣ + log ( 2 n )) . (12)
A union bound of (10) over N ε \mathcal{N}_{\varepsilon} N ε gives total failure probability ≤ n − 1 \le n^{-1} ≤ n − 1 . On this event, for any ( Z , W , b ) ∈ Z (Z,W,b)\in\mathcal{Z} ( Z , W , b ) ∈ Z with nearest net point in N ε \mathcal{N}_{\varepsilon} N ε , ∣ U H ( Z , W , b ) ∣ ≤ t + L ε |U_{\mathcal{H}}(Z,W,b)|\le t+L\varepsilon ∣ U H ( Z , W , b ) ∣ ≤ t + L ε by (c). Since τ n 2 / 4 ≤ ∣ H ∣ ≤ n 2 \tau n^2/4\le|\mathcal{H}|\le n^2 τ n 2 /4 ≤ ∣ H ∣ ≤ n 2 and B ≥ log 2 B\ge\log2 B ≥ log 2 ,
L ε = 1 n 2 ≤ B 2 log ( 2 n ) n ≤ t ≤ C 0 2 B d log ( n B R W max ) τ n , L\varepsilon=\frac{1}{n^2}\le\frac{B\sqrt{2\log(2n)}}{n}\le t\le\frac{C_0}{2}B\sqrt{\frac{d\log(nBRW_{\max})}{\tau n}}, L ε = n 2 1 ≤ n B 2 log ( 2 n ) ≤ t ≤ 2 C 0 B τ n d log ( n B R W m a x ) ,
so ∣ U H ∣ ≤ 2 t ≤ C 0 B d log ( n B R W max ) / ( τ n ) |U_{\mathcal{H}}|\le2t\le C_0B\sqrt{d\log(nBRW_{\max})/(\tau n)} ∣ U H ∣ ≤ 2 t ≤ C 0 B d log ( n B R W m a x ) / ( τ n ) uniformly on Z \mathcal{Z} Z for every n ≥ 2 n\ge2 n ≥ 2 . The same bound holds for Γ H \Gamma_{\mathcal{H}} Γ H , hence for the trained ( Z ^ , W ^ , b ^ ) ∈ Z (\widehat{Z},\widehat{W},\widehat{b})\in\mathcal{Z} ( Z , W , b ) ∈ Z .
Proof of Step 1 (Lemma 3)
We split the argument: a population strong-convexity statement for any score matrix in the bounded class (Lemma 16), then application to S ^ \widehat{S} S via the excess-risk identity.
Lemma 16 (Risk-level strong convexity). For any S = ( s i j ) S=(s_{ij}) S = ( s ij ) with ∣ s i j ∣ ≤ B |s_{ij}|\le B ∣ s ij ∣ ≤ B on H \mathcal{H} H ,
R H P ( S ) − R H P ( S ⋆ ) ≥ μ B 2 ScoreMSE H ( S ) . (13) R_{\mathcal{H}}^P(S)-R_{\mathcal{H}}^P(S^\star)\ge\frac{\mu_B}{2}\operatorname{ScoreMSE}_{\mathcal{H}}(S). \tag*{(13)} R H P ( S ) − R H P ( S ⋆ ) ≥ 2 μ B ScoreMSE H ( S ) . (13)
Proof. Fix ( i , j ) ∈ H (i,j)\in\mathcal{H} ( i , j ) ∈ H . Since ℓ ′ ′ ( s ; P i j ) = σ ( s ) ( 1 − σ ( s ) ) ≥ σ ( B ) ( 1 − σ ( B ) ) = μ B \ell''(s;P_{ij})=\sigma(s)(1-\sigma(s))\ge\sigma(B)(1-\sigma(B))=\mu_B ℓ ′′ ( s ; P ij ) = σ ( s ) ( 1 − σ ( s )) ≥ σ ( B ) ( 1 − σ ( B )) = μ B on [ − B , B ] [-B,B] [ − B , B ] , the per-pair BCE ℓ ( ⋅ ; P i j ) \ell(\cdot;P_{ij}) ℓ ( ⋅ ; P ij ) is μ B \mu_B μ B -strongly convex on [ − B , B ] [-B,B] [ − B , B ] with minimizer m c i c j ⋆ = logit ( P i j ) ∈ [ − B , B ] m^\star_{c_i c_j}=\operatorname{logit}(P_{ij})\in[-B,B] m c i c j ⋆ = logit ( P ij ) ∈ [ − B , B ] . Taylor’s theorem yields
ℓ ( s i j ; P i j ) − ℓ ( m c i c j ⋆ ; P i j ) ≥ μ B 2 ( s i j − m c i c j ⋆ ) 2 . (14) \ell(s_{ij};P_{ij})-\ell(m^\star_{c_i c_j};P_{ij})\ge\frac{\mu_B}{2}(s_{ij}-m^\star_{c_i c_j})^2. \tag*{(14)} ℓ ( s ij ; P ij ) − ℓ ( m c i c j ⋆ ; P ij ) ≥ 2 μ B ( s ij − m c i c j ⋆ ) 2 . (14)
The population target P i j P_{ij} P ij is essential: ℓ ( ⋅ ; A i j ) \ell(\cdot;A_{ij}) ℓ ( ⋅ ; A ij ) for A i j ∈ { 0 , 1 } A_{ij}\in\{0,1\} A ij ∈ { 0 , 1 } is monotone in s s s with no interior minimizer, so strong convexity on [ − B , B ] [-B,B] [ − B , B ] would not yield a useful Taylor bound. Averaging (14) over H \mathcal{H} H gives (13) .
Lemma 17 (Step 1, restated). Under Assumption 1,
ScoreMSE H ≤ 2 μ B ( R H P ( S ^ ) − R H P ( S ⋆ ) ) = 2 μ B ( ε o p t + ε a p p ) . \operatorname{ScoreMSE}_{\mathcal{H}}\le\frac{2}{\mu_B}\left(R_{\mathcal{H}}^P(\widehat{S})-R_{\mathcal{H}}^P(S^\star)\right)=\frac{2}{\mu_B}(\varepsilon_{\mathrm{opt}}+\varepsilon_{\mathrm{app}}). ScoreMSE H ≤ μ B 2 ( R H P ( S ) − R H P ( S ⋆ ) ) = μ B 2 ( ε opt + ε app ) .
Proof. ∣ s ^ i j ∣ ≤ B |\widehat{s}_{ij}|\le B ∣ s ij ∣ ≤ B by Assumption 1 (no clipping), so Lemma 16 applies to S ^ \widehat{S} S . The equality with ε o p t + ε a p p \varepsilon_{\mathrm{opt}}+\varepsilon_{\mathrm{app}} ε opt + ε app is (3) .
Both sides of the bound are population objects, so no concentration is needed at this stage.
Proof of Step 2 (Lemma 4)
Lemma 18 (Step 2, restated). Under Assumption 1, with probability at least 1 − n − 1 1-n^{-1} 1 − n − 1 over the random draw of H \mathcal{H} H , simultaneously for all S ∈ S ( A , T ) S \in\mathcal{S}(A,\mathcal{T}) S ∈ S ( A , T ) ,
ScoreMSE f u l l ≤ ScoreMSE H + ν n s t a t , ν n s t a t : = C 1 B 2 τ d log ( n B R W max ) n + 4 B 2 n , \operatorname{ScoreMSE}_{\mathrm{full}} \le\operatorname{ScoreMSE}_{\mathcal{H}} + \nu_n^{\mathrm{stat}}, \qquad\nu_n^{\mathrm{stat}} := \frac{C_1B^2}{\sqrt{\tau}}\sqrt{\frac{d\log(nBRW_{\max})}{n}}+\frac{4B^2}{n}, ScoreMSE full ≤ ScoreMSE H + ν n stat , ν n stat := τ C 1 B 2 n d log ( n B R W m a x ) + n 4 B 2 ,
for a universal C 1 > 0 C_1>0 C 1 > 0 .
Proof. We first bound ScoreMSE a l l − ScoreMSE H \operatorname{ScoreMSE}_{\mathrm{all}}-\operatorname{ScoreMSE}_{\mathcal{H}} ScoreMSE all − ScoreMSE H where ScoreMSE a l l : = 1 N ∑ i < j ( s i j − m c i c j ⋆ ) 2 \operatorname{ScoreMSE}_{\mathrm{all}}:=\frac{1}{N}\sum_{i<j}(s_{ij}-m^\star_{c_i c_j})^2 ScoreMSE all := N 1 ∑ i < j ( s ij − m c i c j ⋆ ) 2 averages over off-diagonal pairs, then add a diagonal correction. With Z \mathcal{Z} Z as in App. C, define g Z , W , b ( i , j ) : = ( b + z i T W z j − m c i c j ⋆ ) 2 g_{Z,W,b}(i,j):=(b+z_i^{\mathsf T}Wz_j-m^\star_{c_i c_j})^2 g Z , W , b ( i , j ) := ( b + z i T W z j − m c i c j ⋆ ) 2 and the held-out and full averages
g ˉ H ( Z , W , b ) : = 1 ∣ H ∣ ∑ ( i , j ) ∈ H g Z , W , b ( i , j ) , g ˉ ( Z , W , b ) : = 1 N ∑ i < j g Z , W , b ( i , j ) = ScoreMSE a l l . \bar{g}_{\mathcal{H}}(Z,W,b):=\frac{1}{|\mathcal{H}|}\sum_{(i,j)\in\mathcal{H}}g_{Z,W,b}(i,j),\qquad\bar{g}(Z,W,b):=\frac{1}{N}\sum_{i<j}g_{Z,W,b}(i,j)=\operatorname{ScoreMSE}_{\mathrm{all}}. g ˉ H ( Z , W , b ) := ∣ H ∣ 1 ( i , j ) ∈ H ∑ g Z , W , b ( i , j ) , g ˉ ( Z , W , b ) := N 1 i < j ∑ g Z , W , b ( i , j ) = ScoreMSE all .
The range bound g ∈ [ 0 , D ] g\in[0,D] g ∈ [ 0 , D ] with D : = 4 B 2 D:=4B^2 D := 4 B 2 follows from ∣ b + z i T W z j ∣ ≤ B 0 + W max R 2 ≤ B |b+z_i^{\mathsf T}Wz_j|\le B_0+W_{\max}R^2\le B ∣ b + z i T W z j ∣ ≤ B 0 + W m a x R 2 ≤ B on Z \mathcal{Z} Z (Cauchy–Schwarz and Assumption 1) and ∣ m c i c j ⋆ ∣ ≤ B ⋆ ≤ B |m^\star_{c_i c_j}|\le B^\star\le B ∣ m c i c j ⋆ ∣ ≤ B ⋆ ≤ B . Since H \mathcal{H} H is a uniform random subset of { ( i , j ) : i < j } \{(i,j):i<j\} {( i , j ) : i < j } of size ∣ H ∣ = ⌈ τ N ⌉ |\mathcal{H}|=\lceil\tau N\rceil ∣ H ∣ = ⌈ τ N ⌉ , we have E [ g ˉ H ] = g ˉ \mathbb{E}[\bar{g}_{\mathcal{H}}]=\bar{g} E [ g ˉ H ] = g ˉ for any fixed ( Z , W , b ) (Z,W,b) ( Z , W , b ) .
(a) Hoeffding–Serfling. For sampling without replacement [32 ] , every fixed ( Z , W , b ) ∈ Z (Z,W,b)\in\mathcal{Z} ( Z , W , b ) ∈ Z satisfies
P [ ∣ g ˉ H ( Z , W , b ) − g ˉ ( Z , W , b ) ∣ > t ] ≤ 2 exp ( − 2 ∣ H ∣ t 2 D 2 ( 1 − f ⋆ ) ) , f ⋆ : = ∣ H ∣ − 1 N . (15) \mathbb{P}\left[\left|\bar{g}_{\mathcal{H}}(Z,W,b)-\bar{g}(Z,W,b)\right|>t\right]\le2\exp\left(-\frac{2|\mathcal{H}|t^2}{D^2(1-f^\star)}\right),\qquad f^\star:=\frac{|\mathcal{H}|-1}{N}. \tag*{(15)} P [ ∣ g ˉ H ( Z , W , b ) − g ˉ ( Z , W , b ) ∣ > t ] ≤ 2 exp ( − D 2 ( 1 − f ⋆ ) 2∣ H ∣ t 2 ) , f ⋆ := N ∣ H ∣ − 1 . (15)
Equivalently, the moment generating function of ∣ H ∣ ( g ˉ H − g ˉ ) |\mathcal{H}|(\bar{g}_{\mathcal{H}}-\bar{g}) ∣ H ∣ ( g ˉ H − g ˉ ) is dominated by that of the i.i.d. analogue (Hoeffding’s reduction theorem, Hoeffding, 1963).
(b) Covering. The same N ε \mathcal{N}_{\varepsilon} N ε as in App. C (Eq. (10)) covers Z \mathcal{Z} Z .
(c) Lipschitz. The score Lipschitz argument of App. C (c) gives ∣ s i j − s i j ′ ∣ ≤ ( 1 + 2 R W max + R 2 ) ε |s_{ij}-s'_{ij}|\le(1+2RW_{\max}+R^2)\varepsilon ∣ s ij − s ij ′ ∣ ≤ ( 1 + 2 R W m a x + R 2 ) ε for ( Z , W , b ) , ( Z ′ , W ′ , b ′ ) (Z,W,b),(Z',W',b') ( Z , W , b ) , ( Z ′ , W ′ , b ′ ) within ε \varepsilon ε in each component. Combined with g − g ′ = ( s − s ′ ) ( s + s ′ − 2 m ⋆ ) g-g'=(s-s')(s+s'-2m^\star) g − g ′ = ( s − s ′ ) ( s + s ′ − 2 m ⋆ ) and ∣ s + s ′ − 2 m ⋆ ∣ ≤ 4 B |s+s'-2m^\star|\le4B ∣ s + s ′ − 2 m ⋆ ∣ ≤ 4 B ,
sup i < j ∣ g Z , W , b ( i , j ) − g Z ′ , W ′ , b ′ ( i , j ) ∣ ≤ 4 B ( 1 + 2 R W max + R 2 ) ε = : L ε , (16) \sup_{i<j}|g_{Z,W,b}(i,j)-g_{Z',W',b'}(i,j)|\le4B(1+2RW_{\max}+R^2)\varepsilon=:L\varepsilon, \tag*{(16)} i < j sup ∣ g Z , W , b ( i , j ) − g Z ′ , W ′ , b ′ ( i , j ) ∣ ≤ 4 B ( 1 + 2 R W m a x + R 2 ) ε =: L ε , (16)
hence max { ∣ g ˉ H − g ˉ H ′ ∣ , ∣ g ˉ − g ˉ ′ ∣ } ≤ L ε \max\{|\bar{g}_{\mathcal{H}}-\bar{g}'_{\mathcal{H}}|,|\bar{g}-\bar{g}'|\}\le L\varepsilon max { ∣ g ˉ H − g ˉ H ′ ∣ , ∣ g ˉ − g ˉ ′ ∣ } ≤ L ε .
(d) Assembly. Use the net N ε \mathcal{N}_{\varepsilon} N ε of App. C (d), with ε = 1 / ( ( 1 + 2 R W max + R 2 ) n 2 ) \varepsilon=1/((1+2RW_{\max}+R^2)n^2) ε = 1/ (( 1 + 2 R W m a x + R 2 ) n 2 ) and the same conventions, so that log ∣ N ε ∣ = O ( n d log ( n B R W max ) ) \log|\mathcal{N}_{\varepsilon}|=O(nd\log(nBRW_{\max})) log ∣ N ε ∣ = O ( n d log ( n B R W m a x )) and L ε = 4 B / n 2 L\varepsilon=4B/n^2 L ε = 4 B / n 2 . As there, the case d ≥ 2 n d\ge2n d ≥ 2 n is trivial, since ScoreMSE f u l l ≤ 4 B 2 \operatorname{ScoreMSE}_{\mathrm{full}}\le4B^2 ScoreMSE full ≤ 4 B 2 always. Set
t : = D ( 1 − f ⋆ ) ( log ∣ N ε ∣ + log ( 2 n ) ) 2 ∣ H ∣ . t:=D\sqrt{\frac{(1-f^\star)(\log|\mathcal{N}_{\varepsilon}|+\log(2n))}{2|\mathcal{H}|}}. t := D 2∣ H ∣ ( 1 − f ⋆ ) ( log ∣ N ε ∣ + log ( 2 n )) .
A union bound of (14) over N ε \mathcal{N}_{\varepsilon} N ε gives total failure probability ≤ n − 1 \le n^{-1} ≤ n − 1 . On this event, for any ( Z , W , b ) ∈ Z (Z,W,b)\in\mathcal{Z} ( Z , W , b ) ∈ Z with nearest net point in N ε \mathcal{N}_{\varepsilon} N ε , ∣ g ˉ H ( Z , W , b ) − g ˉ ( Z , W , b ) ∣ ≤ t + 2 L ε |\bar{g}_{\mathcal{H}}(Z,W,b)-\bar{g}(Z,W,b)|\le t+2L\varepsilon ∣ g ˉ H ( Z , W , b ) − g ˉ ( Z , W , b ) ∣ ≤ t + 2 L ε by triangle inequality and (c). With ∣ H ∣ ≥ τ n 2 / 4 |\mathcal{H}|\ge\tau n^2/4 ∣ H ∣ ≥ τ n 2 /4 , D = 4 B 2 D=4B^2 D = 4 B 2 , and 1 − f ⋆ ≤ 1 1-f^\star\le1 1 − f ⋆ ≤ 1 ,
t ≤ C 0 ′ ′ B 2 τ d log ( n B R W max ) n , 2 L ε = 8 B n 2 ≤ 8 B 2 τ d log ( n B R W max ) n , (17) t\le\frac{C_0''B^2}{\sqrt{\tau}}\sqrt{\frac{d\log(nBRW_{\max})}{n}},\qquad
2L\varepsilon=\frac{8B}{n^2}\le\frac{8B^2}{\sqrt{\tau}}\sqrt{\frac{d\log(nBRW_{\max})}{n}}, \tag*{(17)} t ≤ τ C 0 ′′ B 2 n d log ( n B R W m a x ) , 2 L ε = n 2 8 B ≤ τ 8 B 2 n d log ( n B R W m a x ) , (17)
where the second bound uses B ≥ log 2 B\ge\log2 B ≥ log 2 and log ( n B R W max ) ≥ log ( 2 log 2 ) \log(nBRW_{\max})\ge\log(2\log2) log ( n B R W m a x ) ≥ log ( 2 log 2 ) for n ≥ 2 n\ge2 n ≥ 2 . Hence ∣ g ˉ H − g ˉ ∣ ≤ t + 2 L ε |\bar{g}_{\mathcal{H}}-\bar{g}| \le t+2L\varepsilon ∣ g ˉ H − g ˉ ∣ ≤ t + 2 L ε is at most ( C 0 ′ ′ + 8 ) B 2 d log ( n B R W max ) / ( τ n ) (C_0''+8)B^2\sqrt{d\log(nBRW_{\max})/(\tau n)} ( C 0 ′′ + 8 ) B 2 d log ( n B R W m a x ) / ( τ n ) uniformly on Z \mathcal{Z} Z , for every n ≥ 2. T h e $ 1 / τ n\ge2. The \$1/\sqrt{\tau} n ≥ 2. T h e $1/ τ rate (rather than 1 / τ 1/\tau 1/ τ ) comes from ∣ H ∣ ∼ τ N |\mathcal{H}|\sim\tau N ∣ H ∣ ∼ τ N in the denominator together with 1 − f ⋆ ≤ 1 1-f^\star\le1 1 − f ⋆ ≤ 1 .
Diagonal correction. Using ∣ s i i − m c i c i ⋆ ∣ ≤ 2 B |s_{ii}-m^\star_{c_i c_i}|\le2B ∣ s ii − m c i c i ⋆ ∣ ≤ 2 B and ∣ { ( i , i ) : i ∈ [ n ] } ∣ / n 2 = 1 / n |\{(i,i):i\in[n]\}|/n^2=1/n ∣ {( i , i ) : i ∈ [ n ]} ∣/ n 2 = 1/ n ,
ScoreMSE f u l l ≤ ScoreMSE a l l + 4 B 2 n , \operatorname{ScoreMSE}_{\mathrm{full}}\le\operatorname{ScoreMSE}_{\mathrm{all}}+\frac{4B^2}{n}, ScoreMSE full ≤ ScoreMSE all + n 4 B 2 ,
giving the claim with C 1 : = C 0 ′ ′ + 8 C_1:=C_0''+8 C 1 := C 0 ′′ + 8 . Since the bound on ∣ g ˉ H − g ˉ ∣ |\bar{g}_{\mathcal{H}}-\bar{g}| ∣ g ˉ H − g ˉ ∣ holds simultaneously on Z \mathcal{Z} Z , it covers every S ∈ S ( A , T ) S\in\mathcal{S}(A,\mathcal{T}) S ∈ S ( A , T ) , in particular the trained ( Z ^ , W ^ , b ^ ) (\widehat{Z},\widehat{W},\widehat{b}) ( Z , W , b ) . ∎
Proof of Step 3 (Proposition 5) and Plug-in Variant
Score Profiles, Prototypes, and Node-wise Error
For each i ∈ [ n ] i \in[n] i ∈ [ n ] , the full score profile is s ~ i : = ( s i j ) j ∈ [ n ] ∈ R n \widetilde{s}_i := (s_{ij})_{j\in[n]} \in\mathbb{R}^n s i := ( s ij ) j ∈ [ n ] ∈ R n , where the off-diagonal entries { s i j } j ≠ i \{s_{ij}\}_{j\ne i} { s ij } j = i are the LP scores from (2) and the diagonal entry s i i = b ^ + z i ⊤ W z i s_{ii} = \widehat{b} + z_i^\top W z_i s ii = b + z i ⊤ W z i is the formal extension introduced in § 3.1 . This convention does not affect the LP objective or held-out evaluation; it ensures s ~ i ∈ R n \widetilde{s}_i \in\mathbb{R}^n s i ∈ R n matches Z ∈ R n × d Z \in\mathbb{R}^{n\times d} Z ∈ R n × d in dimension, giving the clean bilinear identity (with W = W ⊤ W = W^\top W = W ⊤ , so z i ⊤ W z j = z j ⊤ W z i z_i^\top W z_j = z_j^\top W z_i z i ⊤ W z j = z j ⊤ W z i )
s ~ i = b ^ 1 n + Z W z i , (18) \widetilde{s}_i = \widehat{b}\,1_n + ZWz_i, \tag*{(18)} s i = b 1 n + Z W z i , (18)
which underlies the equivalence between nearest-prototype classification and linear classification on z i z_i z i (Lemma 20 ). The oracle prototype for community a a a is μ a : = ( m a , c j ⋆ ) j ∈ [ n ] ∈ R n \mu_a := (m^\star_{a,c_j})_{j\in[n]} \in\mathbb{R}^n μ a := ( m a , c j ⋆ ) j ∈ [ n ] ∈ R n , and the node-wise squared error is e ~ i 2 : = n − 1 ∥ s ~ i − μ c i ∥ 2 \widetilde{e}_i^2 := n^{-1}\lVert\widetilde{s}_i-\mu_{c_i}\rVert^2 e i 2 := n − 1 ∥ s i − μ c i ∥ 2 .
Lemma 19 (Average node-wise error equals full ScoreMSE).
1 n ∑ i = 1 n e ~ i 2 = ScoreMSE f u l l . (19) \frac{1}{n}\sum_{i=1}^{n}\widetilde{e}_i^2 = \operatorname{ScoreMSE}_{\mathrm{full}}. \tag*{(19)} n 1 i = 1 ∑ n e i 2 = ScoreMSE full . (19) Proof.
1 n ∑ i = 1 n e ~ i 2 = 1 n ∑ i = 1 n 1 n ∑ j = 1 n ( s i j − m c i c j ⋆ ) 2 = 1 n 2 ∑ i , j ( s i j − m c i c j ⋆ ) 2 = ScoreMSE f u l l . \frac{1}{n}\sum_{i=1}^{n}\widetilde{e}_i^2
= \frac{1}{n}\sum_{i=1}^{n}\frac{1}{n}\sum_{j=1}^{n}(s_{ij}-m^\star_{c_i c_j})^2
= \frac{1}{n^2}\sum_{i,j}(s_{ij}-m^\star_{c_i c_j})^2
= \operatorname{ScoreMSE}_{\mathrm{full}}. n 1 i = 1 ∑ n e i 2 = n 1 i = 1 ∑ n n 1 j = 1 ∑ n ( s ij − m c i c j ⋆ ) 2 = n 2 1 i , j ∑ ( s ij − m c i c j ⋆ ) 2 = ScoreMSE full .
Nearest-Prototype is a Linear Classifier
Define the oracle classifier as nearest-prototype on the score profile,
h ⋆ ( z i ) : = arg min a ∈ [ K ] ∥ s ~ i − μ a ∥ , h^\star(z_i) := \arg\min_{a\in[K]}\lVert\widetilde{s}_i-\mu_a\rVert, h ⋆ ( z i ) := arg a ∈ [ K ] min ∥ s i − μ a ∥ ,
and the plug-in classifier h ^ p l u g ( z i ) : = arg min a ∥ s ~ i − μ ^ a ∥ \widehat{h}^{\mathrm{plug}}(z_i) := \arg\min_a\lVert\widetilde{s}_i-\widehat{\mu}_a\rVert h plug ( z i ) := arg min a ∥ s i − μ a ∥ with sample-mean prototypes μ ^ a : = m a − 1 ∑ i ∈ L a s ~ i \widehat{\mu}_a := m_a^{-1}\sum_{i\in L_a}\widetilde{s}_i μ a := m a − 1 ∑ i ∈ L a s i from a labeled set L = ⨆ a L a L = \bigsqcup_a L_a L = ⨆ a L a .
Lemma 20 (Nearest-prototype is linear in z i z_i z i ). For any prototypes ν 1 , … , ν K ∈ R n \nu_1,\ldots,\nu_K \in\mathbb{R}^n ν 1 , … , ν K ∈ R n ,
arg min a ∈ [ K ] ∥ s ~ i − ν a ∥ = arg max a ∈ [ K ] ( w a ⊤ z i + b a ) , w a : = W Z ⊤ ν a ∈ R d , b a : = b ^ ν a ⊤ 1 n − 1 2 ∥ ν a ∥ 2 . \arg\min_{a\in[K]}\lVert\widetilde{s}_i-\nu_a\rVert
= \arg\max_{a\in[K]}(w_a^\top z_i+b_a),
\qquad
w_a := WZ^\top\nu_a \in\mathbb{R}^d,
\qquad
b_a := \widehat{b}\,\nu_a^\top1_n-\frac{1}{2}\lVert\nu_a\rVert^2. arg a ∈ [ K ] min ∥ s i − ν a ∥ = arg a ∈ [ K ] max ( w a ⊤ z i + b a ) , w a := W Z ⊤ ν a ∈ R d , b a := b ν a ⊤ 1 n − 2 1 ∥ ν a ∥ 2 . In particular, h ⋆ h^\star h ⋆ and h ^ p l u g \widehat{h}^{\mathrm{plug}} h plug are linear classifiers on z i z_i z i with ν a = μ a \nu_a=\mu_a ν a = μ a and ν a = μ ^ a \nu_a=\widehat{\mu}_a ν a = μ a respectively.
Proof. Expand ∥ s ~ i − ν a ∥ 2 = ∥ s ~ i ∥ 2 − 2 ν a ⊤ s ~ i + ∥ ν a ∥ 2 \lVert\widetilde{s}_i-\nu_a\rVert^2=\lVert\widetilde{s}_i\rVert^2-2\nu_a^\top\widetilde{s}_i+\lVert\nu_a\rVert^2 ∥ s i − ν a ∥ 2 = ∥ s i ∥ 2 − 2 ν a ⊤ s i + ∥ ν a ∥ 2 ; the first term is a a a -independent, so
arg min a ∥ s ~ i − ν a ∥ 2 = arg max a ( ν a ⊤ s ~ i − 1 2 ∥ ν a ∥ 2 ) . \arg\min_a\lVert\widetilde{s}_i-\nu_a\rVert^2
= \arg\max_a\left(\nu_a^\top\widetilde{s}_i-\frac{1}{2}\lVert\nu_a\rVert^2\right). arg a min ∥ s i − ν a ∥ 2 = arg a max ( ν a ⊤ s i − 2 1 ∥ ν a ∥ 2 ) . Substituting (17) and using W = W ⊤ W=W^\top W = W ⊤ , ν a ⊤ s ~ i = b ^ ν a ⊤ 1 n + ( W Z ⊤ ν a ) ⊤ z i \nu_a^\top\widetilde{s}_i=\widehat{b}\,\nu_a^\top1_n+(WZ^\top\nu_a)^\top z_i ν a ⊤ s i = b ν a ⊤ 1 n + ( W Z ⊤ ν a ) ⊤ z i , hence ν a ⊤ s ~ i − 1 2 ∥ ν a ∥ 2 = w a ⊤ z i + b a \nu_a^\top\widetilde{s}_i-\frac{1}{2}\lVert\nu_a\rVert^2=w_a^\top z_i+b_a ν a ⊤ s i − 2 1 ∥ ν a ∥ 2 = w a ⊤ z i + b a .
Oracle Classification Error
Lemma 21.
1 n ∑ i 1 { h ⋆ ( z i ) ≠ c i } ≤ 4 ScoreMSE f u l l Δ s 2 . \frac{1}{n}\sum_i 1\{h^\star(z_i)\ne c_i\}\le\frac{4\operatorname{ScoreMSE}_{\mathrm{full}}}{\Delta_s^2}. n 1 i ∑ 1 { h ⋆ ( z i ) = c i } ≤ Δ s 2 4 ScoreMSE full . Proof. ∥ μ a − μ b ∥ 2 = n ∑ c π c ( m a c ⋆ − m b c ⋆ ) 2 \lVert\mu_a-\mu_b\rVert^2=n\sum_c\pi_c(m^\star_{ac}-m^\star_{bc})^2 ∥ μ a − μ b ∥ 2 = n ∑ c π c ( m a c ⋆ − m b c ⋆ ) 2 , so min a ≠ b ∥ μ a − μ b ∥ = n Δ s \min_{a\ne b}\lVert\mu_a-\mu_b\rVert=\sqrt{n}\,\Delta_s min a = b ∥ μ a − μ b ∥ = n Δ s . Node i i i with c i = a c_i=a c i = a is correctly classified when e ~ i < Δ s / 2 \widetilde{e}_i<\Delta_s/2 e i < Δ s /2 . Markov on e ~ i 2 \widetilde{e}_i^2 e i 2 at threshold Δ s 2 / 4 \Delta_s^2/4 Δ s 2 /4 and (18) give
1 n ∑ i 1 { h ⋆ ( z i ) ≠ c i } ≤ 1 n ∑ i 1 { e ~ i ≥ Δ s / 2 } ≤ 4 Δ s 2 ScoreMSE f u l l . \frac{1}{n}\sum_i1\{h^\star(z_i)\ne c_i\}
\le\frac{1}{n}\sum_i1\{\widetilde{e}_i\ge\Delta_s/2\}
\le\frac{4}{\Delta_s^2}\operatorname{ScoreMSE}_{\mathrm{full}}. n 1 i ∑ 1 { h ⋆ ( z i ) = c i } ≤ n 1 i ∑ 1 { e i ≥ Δ s /2 } ≤ Δ s 2 4 ScoreMSE full .
This proves Proposition 5.
Plug-in Prototype Estimation via Direct η L \eta_L η L Bernstein
For each a ∈ [ K ] a \in[K] a ∈ [ K ] , sample L a ⊂ C a L_a \subset\mathcal{C}_a L a ⊂ C a uniformly without replacement, ∣ L a ∣ = m a ≥ 1 |L_a| = m_a \ge1 ∣ L a ∣ = m a ≥ 1 , m min : = min a m a m_{\min} := \min_a m_a m m i n := min a m a . Set η L : = max a n − 1 / 2 ∥ μ ^ a − μ a ∥ \eta_L := \max_a n^{-1/2}\|\hat{\mu}_a-\mu_a\| η L := max a n − 1/2 ∥ μ ^ a − μ a ∥ .
Lemma 22 (Direct η L \eta_L η L Bernstein). With probability ≥ 1 − δ \ge1-\delta ≥ 1 − δ over the draw of L L L (independent of the trained model),
η L ≤ S c o r e M S E f u l l π min + 2 S c o r e M S E f u l l λ δ m min π min + 4 B λ δ 3 m min , λ δ : = log ( 2 K / δ ) . (20) \eta_L \le\sqrt{\frac{\mathrm{ScoreMSE}_{\mathrm{full}}}{\pi_{\min}}}+\sqrt{\frac{2\mathrm{ScoreMSE}_{\mathrm{full}}\lambda_\delta}{m_{\min}\pi_{\min}}}+\frac{4B\lambda_\delta}{3m_{\min}},\qquad\lambda_\delta:=\log(2K/\delta). \tag*{(20)} η L ≤ π m i n ScoreMSE full + m m i n π m i n 2 ScoreMSE full λ δ + 3 m m i n 4 B λ δ , λ δ := log ( 2 K / δ ) . (20)
Proof. Triangle inequality: n − 1 / 2 ∥ μ ^ a − μ a ∥ ≤ m a − 1 ∑ i ∈ L a e ~ i n^{-1/2}\|\hat{\mu}_a-\mu_a\|\le m_a^{-1}\sum_{i\in L_a}\tilde{e}_i n − 1/2 ∥ μ ^ a − μ a ∥ ≤ m a − 1 ∑ i ∈ L a e ~ i . Set y i : = e ~ i ∈ [ 0 , 2 B ] y_i:=\tilde{e}_i\in[0,2B] y i := e ~ i ∈ [ 0 , 2 B ] and y ˉ a : = n a − 1 ∑ i ∈ C a y i \bar{y}_a:=n_a^{-1}\sum_{i\in\mathcal{C}_a}y_i y ˉ a := n a − 1 ∑ i ∈ C a y i . Cauchy–Schwarz gives y ˉ a ≤ E a \bar{y}_a\le\sqrt{E_a} y ˉ a ≤ E a with E a : = n a − 1 ∑ C a e ~ i 2 ≤ S c o r e M S E f u l l / π min E_a:=n_a^{-1}\sum_{\mathcal{C}_a}\tilde{e}_i^2\le\mathrm{ScoreMSE}_{\mathrm{full}}/\pi_{\min} E a := n a − 1 ∑ C a e ~ i 2 ≤ ScoreMSE full / π m i n , and the variance v a ≤ E a v_a\le E_a v a ≤ E a . Sampling without replacement is dominated by i.i.d. sampling in the moment generating function (Hoeffding’s reduction), so Bernstein’s inequality gives
P [ m a − 1 ∑ L a y i > y ˉ a + 2 v a λ / m a + 4 B λ 3 m a ] ≤ e − λ . \mathbb{P}\left[m_a^{-1}\sum_{L_a}y_i>\bar{y}_a+\sqrt{2v_a\lambda/m_a}+\frac{4B\lambda}{3m_a}\right]\le e^{-\lambda}. P [ m a − 1 L a ∑ y i > y ˉ a + 2 v a λ / m a + 3 m a 4 B λ ] ≤ e − λ .
Setting λ = λ δ \lambda=\lambda_\delta λ = λ δ and union-bounding over a ∈ [ K ] a\in[K] a ∈ [ K ] , then combining with the triangle bound and using m a ≥ m min m_a\ge m_{\min} m a ≥ m m i n , gives (19). □ \square □
Remark 23 (Linear vs. quadratic label dependence). Bounding η L \eta_L η L directly (vs. η L 2 \eta_L^2 η L 2 ) gives m min ≳ B log ( K / δ ) / Δ s m_{\min}\gtrsim B\log(K/\delta)/\Delta_s m m i n ≳ B log ( K / δ ) / Δ s (linear in 1 / Δ s 1/\Delta_s 1/ Δ s ) once S c o r e M S E f u l l ≤ π min Δ s 2 / 144 \mathrm{ScoreMSE}_{\mathrm{full}}\le\pi_{\min}\Delta_s^2/144 ScoreMSE full ≤ π m i n Δ s 2 /144 (Cor. 27).
Plug-in Classification Error
Lemma 24. If η L < Δ s / 2 \eta_L<\Delta_s/2 η L < Δ s /2 ,
1 n ∑ i 1 { h ^ p l u g ( z i ) ≠ c i } ≤ 4 S c o r e M S E f u l l ( Δ s − 2 η L ) 2 . \frac{1}{n}\sum_i\mathbf{1}\{\hat{h}^{\mathrm{plug}}(z_i)\ne c_i\}\le\frac{4\mathrm{ScoreMSE}_{\mathrm{full}}}{(\Delta_s-2\eta_L)^2}. n 1 i ∑ 1 { h ^ plug ( z i ) = c i } ≤ ( Δ s − 2 η L ) 2 4 ScoreMSE full .
Proof. Triangle: ∥ μ ^ a − μ ^ b ∥ ≥ n ( Δ s − 2 η L ) \|\hat{\mu}_a-\hat{\mu}_b\|\ge\sqrt{n}(\Delta_s-2\eta_L) ∥ μ ^ a − μ ^ b ∥ ≥ n ( Δ s − 2 η L ) . For c i = a c_i=a c i = a , ∥ s ~ i − μ ^ a ∥ ≤ n ( e ~ i + η L ) \|\tilde{s}_i-\hat{\mu}_a\|\le\sqrt{n}(\tilde{e}_i+\eta_L) ∥ s ~ i − μ ^ a ∥ ≤ n ( e ~ i + η L ) and ∥ s ~ i − μ ^ b ∥ ≥ n ( Δ s − e ~ i − η L ) \|\tilde{s}_i-\hat{\mu}_b\|\ge\sqrt{n}(\Delta_s-\tilde{e}_i-\eta_L) ∥ s ~ i − μ ^ b ∥ ≥ n ( Δ s − e ~ i − η L ) ; correct classification requires e ~ i < ( Δ s − 2 η L ) / 2 \tilde{e}_i<(\Delta_s-2\eta_L)/2 e ~ i < ( Δ s − 2 η L ) /2 . Markov on e ~ i 2 \tilde{e}_i^2 e ~ i 2 with (19) gives the bound. □ \square □
Main Theorem, Mahalanobis Form, and Unsupervised Recovery
Proof of Theorem 6
Let Ω n \Omega_n Ω n be the intersection of the high-probability events of Lemma 15 (Step 0) and Lemma 18 (Step 2); Step 1 (Lemma 17) is deterministic on the bounded class. Union bound: P ( Ω n ) ≥ 1 − 2 n − 1 \mathbb{P}(\Omega_n)\ge1-2n^{-1} P ( Ω n ) ≥ 1 − 2 n − 1 . On Ω n \Omega_n Ω n , chaining Steps 1–2 with the excess-risk identity (3) gives S c o r e M S E f u l l ≤ E n \mathrm{ScoreMSE}_{\mathrm{full}}\le\mathcal{E}_n ScoreMSE full ≤ E n .
Part I. Lemma 21 applied with S c o r e M S E f u l l ≤ E n \mathrm{ScoreMSE}_{\mathrm{full}}\le\mathcal{E}_n ScoreMSE full ≤ E n gives the oracle error bound 4 E n / Δ s 2 4\mathcal{E}_n/\Delta_s^2 4 E n / Δ s 2 .
Part II. Conditional on Ω n \Omega_n Ω n , the label set L L L is independent of the trained ( S ^ , Z ^ , W ^ , b ^ ) (\hat{S},\hat{Z},\hat{W},\hat{b}) ( S ^ , Z ^ , W ^ , b ^ ) , so Lemma 22 (with δ = n − 1 \delta=n^{-1} δ = n − 1 , hence λ δ = log ( 2 K n ) = λ n \lambda_\delta=\log(2Kn)=\lambda_n λ δ = log ( 2 K n ) = λ n ) gives the η L \eta_L η L Bernstein bound with conditional probability ≥ 1 − n − 1 \ge1-n^{-1} ≥ 1 − n − 1 over L L L . On η L < Δ s / 2 \eta_L<\Delta_s/2 η L < Δ s /2 , Lemma 24 with S c o r e M S E f u l l ≤ E n \mathrm{ScoreMSE}_{\mathrm{full}}\le\mathcal{E}_n ScoreMSE full ≤ E n gives the plug-in error 4 E n / ( Δ s − 2 η L ) 2 4\mathcal{E}_n/(\Delta_s-2\eta_L)^2 4 E n / ( Δ s − 2 η L ) 2 . The explicit ( w ^ a , b ^ a ) (\hat{w}_a,\hat{b}_a) ( w ^ a , b ^ a ) form follows from Lemma 20 with ν a = μ ^ a \nu_a=\hat{\mu}_a ν a = μ ^ a . Joint failure probability over ( A , H , L ) (A,\mathcal{H},L) ( A , H , L ) is ≤ 2 n − 1 + n − 1 = 3 n − 1 \le2n^{-1}+n^{-1}=3n^{-1} ≤ 2 n − 1 + n − 1 = 3 n − 1 , matching the theorem.
Proof of Proposition 7
By (17), μ ^ a = ∣ L a ∣ − 1 ∑ i ∈ L a s ~ i = b ^ 1 n + Z W z ˉ a \hat{\mu}_a=|L_a|^{-1}\sum_{i\in L_a}\tilde{s}_i=\hat{b}\mathbf{1}_n+Z W\bar{z}_a μ ^ a = ∣ L a ∣ − 1 ∑ i ∈ L a s ~ i = b ^ 1 n + Z W z ˉ a . For any test embedding z ∈ R d z\in\mathbb{R}^d z ∈ R d , its score profile s ~ ( z ) : = b ^ 1 n + Z W z \tilde{s}(z):=\hat{b}\mathbf{1}_n+ZWz s ~ ( z ) := b ^ 1 n + Z W z satisfies
s ~ ( z ) − μ ^ a = Z W ( z − z ˉ a ) , \tilde{s}(z)-\hat{\mu}_a=ZW(z-\bar{z}_a), s ~ ( z ) − μ ^ a = Z W ( z − z ˉ a ) ,
and
∥ s ~ ( z ) − μ ^ a ∥ 2 = ( z − z ˉ a ) ⊤ W Z ⊤ Z W ( z − z ˉ a ) = ( z − z ˉ a ) ⊤ G ( z − z ˉ a ) , \|\tilde{s}(z)-\hat{\mu}_a\|^2=(z-\bar{z}_a)^\top WZ^\top ZW(z-\bar{z}_a)=(z-\bar{z}_a)^\top G(z-\bar{z}_a), ∥ s ~ ( z ) − μ ^ a ∥ 2 = ( z − z ˉ a ) ⊤ W Z ⊤ Z W ( z − z ˉ a ) = ( z − z ˉ a ) ⊤ G ( z − z ˉ a ) ,
using W = W ⊤ W = W^{\top} W = W ⊤ . The first equality of Proposition 7 follows from h ^ p l u g ( z ) = arg min a ∥ s ~ ( z ) − μ ^ a ∥ 2 \hat{h}^{\mathrm{plug}}(z) = \operatorname*{arg\,min}_{a} \|\tilde{s}(z) - \hat{\mu}_{a}\|^{2} h ^ plug ( z ) = arg min a ∥ s ~ ( z ) − μ ^ a ∥ 2 (Lemma 20 read as a nearest-prototype rule); the second is the standard arg min-to-arg max expansion (drop a a a -independent z ⊤ G z z^{\top}Gz z ⊤ G z ). PSD: v ⊤ G v = ∥ Z W v ∥ 2 ≥ 0 v^{\top}Gv = \|ZWv\|^{2} \ge0 v ⊤ G v = ∥ Z W v ∥ 2 ≥ 0 for all v ∈ R d v \in\mathbb{R}^{d} v ∈ R d .
Unsupervised Recovery by K-means
For an assignment c ^ : [ n ] → [ K ] \hat{c} : [n] \to[K] c ^ : [ n ] → [ K ] and centers c 1 , … , c K ∈ R d c_{1},\ldots,c_{K} \in\mathbb{R}^{d} c 1 , … , c K ∈ R d , define the K K K -means objective under G G G as
J G ( c ^ ; c 1 , … , c K ) : = ∑ i = 1 n ( z i − c c ^ ( i ) ) ⊤ G ( z i − c c ^ ( i ) ) . \mathcal{J}_{G}(\hat{c};c_{1},\ldots,c_{K}) := \sum_{i=1}^{n}(z_{i}-c_{\hat{c}(i)})^{\top}G(z_{i}-c_{\hat{c}(i)}). J G ( c ^ ; c 1 , … , c K ) := i = 1 ∑ n ( z i − c c ^ ( i ) ) ⊤ G ( z i − c c ^ ( i ) ) .
For κ ≥ 0 \kappa\ge0 κ ≥ 0 , an assignment c ^ \hat{c} c ^ is a ( 1 + κ ) (1+\kappa) ( 1 + κ ) -approximate K K K -means clustering of the embeddings under G G G if J G ( c ^ ; c 1 , … , c K ) ≤ ( 1 + κ ) min J G \mathcal{J}_{G}(\hat{c};c_{1},\ldots,c_{K}) \le(1+\kappa)\min\mathcal{J}_{G} J G ( c ^ ; c 1 , … , c K ) ≤ ( 1 + κ ) min J G for some centers, where the minimum is over all assignments and centers. Exact K K K -means corresponds to κ = 0 \kappa= 0 κ = 0 .
Corollary 25 (Unsupervised recovery by K K K -means). Under the setting of Theorem 6 , work on the event Ω n \Omega_{n} Ω n of App. § 13 .§ 1 , and let c ^ \hat{c} c ^ be any ( 1 + κ ) (1+\kappa) ( 1 + κ ) -approximate K K K -means clustering of { z i } i = 1 n \{z_{i}\}_{i=1}^{n} { z i } i = 1 n under G G G . If ( 16 + 8 κ ) E n / Δ s 2 < π min (16+8\kappa)\mathcal{E}_{n}/\Delta_{s}^{2}<\pi_{\min} ( 16 + 8 κ ) E n / Δ s 2 < π m i n , then there exists a permutation σ \sigma σ of [ K ] [K] [ K ] such that
1 n ∑ i = 1 n 1 { c ^ ( i ) ≠ σ ( c i ) } ≤ ( 16 + 8 κ ) E n Δ s 2 . \frac{1}{n}\sum_{i=1}^{n}\mathbf{1}\{\hat{c}(i)\ne\sigma(c_{i})\}\le\frac{(16+8\kappa)\mathcal{E}_{n}}{\Delta_{s}^{2}}. n 1 i = 1 ∑ n 1 { c ^ ( i ) = σ ( c i )} ≤ Δ s 2 ( 16 + 8 κ ) E n .
Proof. Step 1: K K K -means under G G G is Euclidean K K K -means on score profiles. For c ∈ R d c \in\mathbb{R}^{d} c ∈ R d set ν ( c ) : = b ^ 1 n + Z W c ∈ R n \nu(c):=\hat{b}\mathbf{1}_{n}+ZWc\in\mathbb{R}^{n} ν ( c ) := b ^ 1 n + Z W c ∈ R n . By (18) and W = W ⊤ W=W^{\top} W = W ⊤ , s ~ i − ν ( c ) = Z W ( z i − c ) \tilde{s}_{i}-\nu(c)=ZW(z_{i}-c) s ~ i − ν ( c ) = Z W ( z i − c ) , so
( z i − c ) ⊤ G ( z i − c ) = ∥ s ~ i − ν ( c ) ∥ 2 . (z_{i}-c)^{\top}G(z_{i}-c)=\|\tilde{s}_{i}-\nu(c)\|^{2}. ( z i − c ) ⊤ G ( z i − c ) = ∥ s ~ i − ν ( c ) ∥ 2 .
Hence J G ( c ^ ; c 1 , … , c K ) \mathcal{J}_{G}(\hat{c};c_{1},\ldots,c_{K}) J G ( c ^ ; c 1 , … , c K ) equals the Euclidean K K K -means objective ∑ i ∥ s ~ i − ν c c ^ ( i ) ∥ 2 \sum_{i}\|\tilde{s}_{i}-\nu_{c_{\hat{c}(i)}}\|^{2} ∑ i ∥ s ~ i − ν c c ^ ( i ) ∥ 2 of the score profiles with centers ν k : = ν ( c k ) \nu_{k}:=\nu(c_{k}) ν k := ν ( c k ) . Conversely, for a fixed assignment the optimal Euclidean centers on { s ~ i } \{\tilde{s}_{i}\} { s ~ i } are the cluster means, and the mean of the s ~ i \tilde{s}_{i} s ~ i over a cluster equals ν ( ⋅ ) \nu(\cdot) ν ( ⋅ ) evaluated at the mean of the corresponding z i z_{i} z i . The two problems therefore have the same optimal value, and a ( 1 + κ ) (1+\kappa) ( 1 + κ ) -approximate solution of one is a ( 1 + κ ) (1+\kappa) ( 1 + κ ) -approximate solution of the other with the same assignment c ^ \hat{c} c ^ .
Step 2: the K K K -means error bound of Lei and Rinaldo [ [22 ] . Let U ^ ∈ R n × d \hat{U}\in\mathbb{R}^{n\times d} U ^ ∈ R n × d have rows s ~ i ⊤ \tilde{s}_{i}^{\top} s ~ i ⊤ , and let U : = Θ X U:=\Theta X U := Θ X , where Θ ∈ { 0 , 1 } n × K \Theta\in\{0,1\}^{n\times K} Θ ∈ { 0 , 1 } n × K is the membership matrix of the labels c c c and X ∈ R K × d X\in\mathbb{R}^{K\times d} X ∈ R K × d has rows μ 1 ⊤ , … , μ K ⊤ \mu_{1}^{\top},\ldots,\mu_{K}^{\top} μ 1 ⊤ , … , μ K ⊤ . By Lemma 19 , on Ω n \Omega_{n} Ω n ,
∥ U ^ − U ∥ F 2 = ∑ i = 1 n ∥ s ~ i − μ c i ∥ 2 = n 2 ScoreMSE f u l l ≤ n 2 E n . \|\hat{U}-U\|_{F}^{2}=\sum_{i=1}^{n}\|\tilde{s}_{i}-\mu_{c_{i}}\|^{2}=n^{2}\operatorname{ScoreMSE}_{\mathrm{full}}\le n^{2}\mathcal{E}_{n}. ∥ U ^ − U ∥ F 2 = i = 1 ∑ n ∥ s ~ i − μ c i ∥ 2 = n 2 ScoreMSE full ≤ n 2 E n .
The proof of Lemma 21 gives min a ≠ b ∥ μ a − μ b ∥ = n Δ s = : δ \min_{a\ne b}\|\mu_{a}-\mu_{b}\|=\sqrt{n}\Delta_{s}=:\delta min a = b ∥ μ a − μ b ∥ = n Δ s =: δ , and each community has n k ≥ π min n n_{k}\ge\pi_{\min}n n k ≥ π m i n n nodes. Lemma 5.3 of Lei and Rinaldo [ [22 ] states the following for any ( 1 + κ ) (1+\kappa) ( 1 + κ ) -approximate K K K -means solution U ˉ \bar{U} U ˉ of U ^ \hat{U} U ^ . The sets S k : = { i : c i = k , ∥ U ˉ i − U i ∥ ≥ δ / 2 } S_{k}:=\{i:c_{i}=k,\|\bar{U}_{i}-U_{i}\|\ge\delta/2\} S k := { i : c i = k , ∥ U ˉ i − U i ∥ ≥ δ /2 } satisfy
∑ k = 1 K ∣ S k ∣ δ 2 ≤ ( 16 + 8 κ ) ∥ U ^ − U ∥ F 2 . \sum_{k=1}^{K}|S_{k}|\delta^{2}\le(16+8\kappa)\|\hat{U}-U\|_{F}^{2}. k = 1 ∑ K ∣ S k ∣ δ 2 ≤ ( 16 + 8 κ ) ∥ U ^ − U ∥ F 2 .
and if ( 16 + 8 κ ) ∥ U ^ − U ∥ F 2 / δ 2 < n k (16+8\kappa)\|\hat{U}-U\|_{F}^{2}/\delta^{2}<n_{k} ( 16 + 8 κ ) ∥ U ^ − U ∥ F 2 / δ 2 < n k for all k k k , then all nodes outside ⋃ k S k \bigcup_{k}S_{k} ⋃ k S k are clustered correctly up to a permutation of the cluster labels. The lemma is stated with K K K columns, but its proof uses only the triangle inequality, the approximate optimality of U ˉ \bar{U} U ˉ against the feasible competitor U U U , and a pigeonhole argument over the K K K communities, so it holds verbatim with n n n columns. Here ( 16 + 8 κ ) ∥ U ^ − U ∥ F 2 / δ 2 ≤ ( 16 + 8 κ ) n E n / Δ s 2 < π min n ≤ n k (16+8\kappa)\|\hat{U}-U\|_{F}^{2}/\delta^{2}\le(16+8\kappa)n\mathcal{E}_{n}/\Delta_{s}^{2}<\pi_{\min}n\le n_{k} ( 16 + 8 κ ) ∥ U ^ − U ∥ F 2 / δ 2 ≤ ( 16 + 8 κ ) n E n / Δ s 2 < π m i n n ≤ n k by assumption. The number of misclassified nodes is therefore at most
∣ ⋃ k S k ∣ ≤ ( 16 + 8 κ ) ∥ U ^ − U ∥ F 2 δ 2 ≤ ( 16 + 8 κ ) n E n Δ s 2 , \left|\bigcup_{k}S_{k}\right|\le\frac{(16+8\kappa)\|\hat{U}-U\|_{F}^{2}}{\delta^{2}}\le\frac{(16+8\kappa)n\mathcal{E}_{n}}{\Delta_{s}^{2}}, k ⋃ S k ≤ δ 2 ( 16 + 8 κ ) ∥ U ^ − U ∥ F 2 ≤ Δ s 2 ( 16 + 8 κ ) n E n ,
and dividing by n n n gives the claim.
Remark 26 (Solvers, implementation, and relation to the plug-in classifier). Exact K K K -means is NP-hard, so Corollary 25 is stated for any solver with a multiplicative approximation guarantee. Lloyd’s iterations carry no such guarantee in general. Since ( z i − c ) ⊤ G ( z i − c ) = ∥ G 1 / 2 ( z i − c ) ∥ 2 (z_i-c)^{\top}G(z_i-c)=\lVert G^{1/2}(z_i-c)\rVert^2 ( z i − c ) ⊤ G ( z i − c ) = ∥ G 1/2 ( z i − c ) ∥ 2 , K K K -means under G G G can be run as Euclidean K K K -means on G 1 / 2 z i ∈ R d G^{1/2}z_i\in\mathbb{R}^d G 1/2 z i ∈ R d . The plug-in classifier of Proposition 7 and the K K K -means clustering use the same quadratic form G G G and differ only in how the centroids are obtained: from the labeled sets L a L_a L a , or without labels. The price of removing labels is a larger constant, 16 + 8 κ 16+8\kappa 16 + 8 κ instead of 4 4 4 for the oracle classifier, and the condition ( 16 + 8 κ ) E n / Δ s 2 < π min (16+8\kappa)\mathcal{E}_n/\Delta_s^2<\pi_{\min} ( 16 + 8 κ ) E n / Δ s 2 < π m i n , which ensures that every community keeps a correctly clustered node.
Simplified Plug-in Bound in a Clean Regime
Corollary 27 (Simplified bound). Under the setting of Theorem 6 , suppose
E n ≤ π min Δ s 2 144 and m min ≥ 16 B log ( 2 K / δ ) Δ s . (21) \mathcal{E}_n\le\frac{\pi_{\min}\Delta_s^2}{144}
\qquad\text{and}\qquad
m_{\min}\ge\frac{16B\log(2K/\delta)}{\Delta_s}. \tag*{(21)} E n ≤ 144 π m i n Δ s 2 and m m i n ≥ Δ s 16 B log ( 2 K / δ ) . (21) Then, on the event Ω n \Omega_n Ω n of App. § 13 .§ 1 , η L ≤ Δ s / 4 \eta_L\le\Delta_s/4 η L ≤ Δ s /4 with probability ≥ 1 − δ \ge1-\delta ≥ 1 − δ over L L L , and
1 n ∑ i = 1 n 1 { h ^ p l u g ( z i ) ≠ c i } ≤ 16 E n Δ s 2 . (22) \frac{1}{n}\sum_{i=1}^{n}\mathbf{1}\{\widehat h^{\mathrm{plug}}(z_i)\ne c_i\}\le\frac{16\mathcal{E}_n}{\Delta_s^2}. \tag*{(22)} n 1 i = 1 ∑ n 1 { h plug ( z i ) = c i } ≤ Δ s 2 16 E n . (22)
Proof. We show each of the three terms of the η L \eta_L η L Bernstein bound is at most Δ s / 12 \Delta_s/12 Δ s /12 , so η L ≤ Δ s / 4 \eta_L\le\Delta_s/4 η L ≤ Δ s /4 .
Term 1. The first condition of (20) gives E n / π min ≤ Δ s / 12 \sqrt{\mathcal{E}_n/\pi_{\min}}\le\Delta_s/12 E n / π m i n ≤ Δ s /12 .
Term 3. The second condition gives 4 B λ δ / ( 3 m min ) ≤ Δ s / 12 4B\lambda_\delta/(3m_{\min})\le\Delta_s/12 4 B λ δ / ( 3 m m i n ) ≤ Δ s /12 .
Term 2. Factor 2 E n λ δ / ( m min π min ) = 2 λ δ / m min ⋅ E n / π min ≤ 2 λ δ / m min ⋅ Δ s / 12 \sqrt{2\mathcal{E}_n\lambda_\delta/(m_{\min}\pi_{\min})}=\sqrt{2\lambda_\delta/m_{\min}}\cdot\sqrt{\mathcal{E}_n/\pi_{\min}}\le\sqrt{2\lambda_\delta/m_{\min}}\cdot\Delta_s/12 2 E n λ δ / ( m m i n π m i n ) = 2 λ δ / m m i n ⋅ E n / π m i n ≤ 2 λ δ / m m i n ⋅ Δ s /12 . Under the second condition, 2 λ δ / m min ≤ Δ s / ( 4 B ) 2\lambda_\delta/m_{\min}\le\Delta_s/(4B) 2 λ δ / m m i n ≤ Δ s / ( 4 B ) . Since ∣ m a c ⋆ − m b c ⋆ ∣ ≤ 2 B \lvert m_{ac}^\star-m_{bc}^\star\rvert\le2B ∣ m a c ⋆ − m b c ⋆ ∣ ≤ 2 B for all a , b , c a,b,c a , b , c , we have Δ s 2 ≤ ∑ c π c ( 2 B ) 2 = 4 B 2 \Delta_s^2\le\sum_c\pi_c(2B)^2=4B^2 Δ s 2 ≤ ∑ c π c ( 2 B ) 2 = 4 B 2 , so Δ s / ( 4 B ) ≤ 1 / 2 \Delta_s/(4B)\le1/2 Δ s / ( 4 B ) ≤ 1/2 and Term 2 ≤ Δ s / 12 \le\Delta_s/12 ≤ Δ s /12 .
Combining, η L ≤ Δ s / 4 \eta_L\le\Delta_s/4 η L ≤ Δ s /4 , so Δ s − 2 η L ≥ Δ s / 2 \Delta_s-2\eta_L\ge\Delta_s/2 Δ s − 2 η L ≥ Δ s /2 , and Theorem 6 Part II gives 4 E n / ( Δ s / 2 ) 2 = 16 E n / Δ s 2 4\mathcal{E}_n/(\Delta_s/2)^2=16\mathcal{E}_n/\Delta_s^2 4 E n / ( Δ s /2 ) 2 = 16 E n / Δ s 2 .
Proof of Corollary 8
Since Γ H \Gamma_H Γ H is a supremum over S ( A , T ) ∋ S ^ \mathcal{S}(A,\mathcal{T})\ni\widehat S S ( A , T ) ∋ S , its definition gives R H P ( S ^ ) ≤ R ^ H ( S ^ ) + Γ H R_H^P(\widehat S)\le\widehat R_H(\widehat S)+\Gamma_H R H P ( S ) ≤ R H ( S ) + Γ H , and Lemma 15 bounds Γ H \Gamma_H Γ H . Subtracting R H P ( S ⋆ ) R_H^P(S^\star) R H P ( S ⋆ ) gives R H P ( S ^ ) − R H P ( S ⋆ ) ≤ R ^ H ( S ^ ) − R H P ( S ⋆ ) + Γ H R_H^P(\widehat S)-R_H^P(S^\star)\le\widehat R_H(\widehat S)-R_H^P(S^\star)+\Gamma_H R H P ( S ) − R H P ( S ⋆ ) ≤ R H ( S ) − R H P ( S ⋆ ) + Γ H . Substituting into the Part I chain (App. § 13 .§ 1 : Step 1 → \to → Step 2 → \to → Lemma 21) gives the stated bound. Replacing Lemma 21 by Lemma 24 in the same chain yields the analogous half-empirical bound for Part II (plug-in), with Δ s 2 \Delta_s^2 Δ s 2 replaced by ( Δ s − 2 η L ) 2 (\Delta_s-2\eta_L)^2 ( Δ s − 2 η L ) 2 .
Proof of Corollary 9
Throughout this appendix, define the deterministic relaxed score class
S Z : = { ( s i j ) i , j ∈ [ n ] : s i j = b ^ + z i ⊤ W z j , ∥ z i ∥ ≤ R , W = W ⊤ , ∥ W ∥ o p ≤ W max , ∣ b ^ ∣ ≤ B 0 } . \mathcal{S}^{\mathcal{Z}}:=\left\{(s_{ij})_{i,j\in[n]}:s_{ij}=\widehat b+z_i^{\top}Wz_j,\ \lVert z_i\rVert\le R,\ W=W^{\top},\ \lVert W\rVert_{\mathrm{op}}\le W_{\max},\ \lvert\widehat b\rvert\le B_0\right\}. S Z := { ( s ij ) i , j ∈ [ n ] : s ij = b + z i ⊤ W z j , ∥ z i ∥ ≤ R , W = W ⊤ , ∥ W ∥ op ≤ W m a x , ∣ b ∣ ≤ B 0 } .
Boundedness in Assumption 1 gives S ( A , T ) ⊆ S Z \mathcal{S}(A,\mathcal{T})\subseteq\mathcal{S}^{\mathcal{Z}} S ( A , T ) ⊆ S Z , since any encoder output z i = f θ ( A e n c , i ) z_i=f_\theta(A^{\mathrm{enc}},i) z i = f θ ( A enc , i ) with ∥ z i ∥ ≤ R \lVert z_i\rVert\le R ∥ z i ∥ ≤ R realizes an admissible ( Z , W , b ^ ) (Z,W,\widehat b) ( Z , W , b ) in S Z \mathcal{S}^{\mathcal{Z}} S Z . The class S Z \mathcal{S}^{\mathcal{Z}} S Z is deterministic (not a function of A e n c A^{\mathrm{enc}} A enc ); it appears only in the proofs below as a uniform-concentration envelope, and not in the statement of Cor. 9.
Uniform Deviation Rates
Lemma 28 (Γ T \Gamma_{\mathcal{T}} Γ T rate). Under Assumption 1 , with probability ≥ 1 − n − 1 \ge1-n^{-1} ≥ 1 − n − 1 ,
Γ T ≤ sup S ∈ S Z ∣ R ^ T ( S ) − R T P ( S ) ∣ ≤ C 2 B 1 d log ( n B R W max ) ( 1 − τ ) n \Gamma_{\mathcal{T}}\le\sup_{S\in\mathcal{S}^{\mathcal{Z}}}\left|\widehat R_{\mathcal{T}}(S)-R_{\mathcal{T}}^P(S)\right|\le C_2B_1\sqrt{\frac{d\log(nBRW_{\max})}{(1-\tau)n}} Γ T ≤ S ∈ S Z sup R T ( S ) − R T P ( S ) ≤ C 2 B 1 ( 1 − τ ) n d log ( n B R W m a x ) for a universal C 2 > 0 C_2>0 C 2 > 0 .
Proof. First inequality is by inclusion S ( A , T ) ⊆ S Z S(A,T) \subseteq S^{\mathcal Z} S ( A , T ) ⊆ S Z . For the second, we mirror Lemma 15 with H ↔ T \mathcal H \leftrightarrow\mathcal T H ↔ T . The exact identity ℓ ( s ; a ) − ℓ ( s ; p ) = ( p − a ) s \ell(s;a)-\ell(s;p)=(p-a)s ℓ ( s ; a ) − ℓ ( s ; p ) = ( p − a ) s gives
R ^ T ( S ) − R T P ( S ) = 1 ∣ T ∣ ∑ ( i , j ) ∈ T ( P i j − A i j ) s i j . \widehat R_{\mathcal T}(S)-R_{\mathcal T}^{\mathcal P}(S)=\frac{1}{|\mathcal T|}\sum_{(i,j)\in\mathcal T}(P_{ij}-A_{ij})s_{ij}. R T ( S ) − R T P ( S ) = ∣ T ∣ 1 ( i , j ) ∈ T ∑ ( P ij − A ij ) s ij .
Conditional on ( T , H ) (\mathcal T,\mathcal H) ( T , H ) , the summands are independent (SBM edges are globally independent), mean zero, bounded in [ − B , B ] [-B,B] [ − B , B ] on S Z S^{\mathcal Z} S Z . We run App. § 9 (a)–(d) with T \mathcal T T in place of H \mathcal H H : the same net N ε \mathcal N_\varepsilon N ε with ε = 1 / ( ( 1 + 2 R W max + R 2 ) n 2 ) \varepsilon=1/((1+2RW_{\max}+R^2)n^2) ε = 1/ (( 1 + 2 R W m a x + R 2 ) n 2 ) , the same conventions, and the same reduction to d < 2 n d<2n d < 2 n . With probability ≥ 1 − n − 1 \geq1-n^{-1} ≥ 1 − n − 1 this gives sup S ∈ S Z ∣ R ^ T − R T P ∣ ≤ 2 t \sup_{S\in S^{\mathcal Z}}|\widehat R_{\mathcal T}-R_{\mathcal T}^{\mathcal P}|\leq2t sup S ∈ S Z ∣ R T − R T P ∣ ≤ 2 t , where t t t is (11) with ∣ T ∣ |\mathcal T| ∣ T ∣ in place of ∣ H ∣ |\mathcal H| ∣ H ∣ . The step L ε = 1 / n 2 ≤ t L_\varepsilon=1/n^2\leq t L ε = 1/ n 2 ≤ t uses only ∣ T ∣ ≤ n 2 |\mathcal T|\leq n^2 ∣ T ∣ ≤ n 2 . The only other change is the size of the pair set. Since T \mathcal T T is nonempty (otherwise R ^ T \widehat R_{\mathcal T} R T is undefined) and ∣ T ∣ = N − ⌈ τ N ⌉ > ( 1 − τ ) N − 1 |\mathcal T|=N-\lceil\tau N\rceil>(1-\tau)N-1 ∣ T ∣ = N − ⌈ τ N ⌉ > ( 1 − τ ) N − 1 , we have ∣ T ∣ ≥ ( 1 − τ ) N / 2 |\mathcal T|\geq(1-\tau)N/2 ∣ T ∣ ≥ ( 1 − τ ) N /2 (directly if ( 1 − τ ) N ≥ 2 (1-\tau)N\geq2 ( 1 − τ ) N ≥ 2 , and from ∣ T ∣ ≥ 1 |\mathcal T|\geq1 ∣ T ∣ ≥ 1 otherwise). With N ≥ n 2 / 4 N\geq n^2/4 N ≥ n 2 /4 this gives ∣ T ∣ ≥ ( 1 − τ ) n 2 / 8 |\mathcal T|\geq(1-\tau)n^2/8 ∣ T ∣ ≥ ( 1 − τ ) n 2 /8 , and the stated rate follows for every n ≥ 2 n\geq2 n ≥ 2 .
Lemma 29 (Γ T H \Gamma_{\mathcal T\mathcal H} Γ T H rate). Under Assumption 1, with probability ≥ 1 − n − 1 \geq1-n^{-1} ≥ 1 − n − 1 ,
Γ T H ≤ sup S ∈ S Z ∣ R T P ( S ) − R H P ( S ) ∣ ≤ C 3 B 2 τ ( 1 − τ ) d log ( n B R W max ) n . \Gamma_{\mathcal T\mathcal H}\leq\sup_{S\in S^{\mathcal Z}}\left|R_{\mathcal T}^{\mathcal P}(S)-R_{\mathcal H}^{\mathcal P}(S)\right|\leq\frac{C_3B^2}{\sqrt{\tau(1-\tau)}}\sqrt{\frac{d\log(nBRW_{\max})}{n}}. Γ T H ≤ S ∈ S Z sup R T P ( S ) − R H P ( S ) ≤ τ ( 1 − τ ) C 3 B 2 n d log ( n B R W m a x ) . for a universal C 3 > 0 C_3>0 C 3 > 0 .
Proof. First inequality by inclusion. For the second, fix S ∈ S Z S\in S^{\mathcal Z} S ∈ S Z and write
R T P ( S ) − R H P ( S ) = [ 1 ∣ T ∣ ∑ T g S − g ‾ S ] − [ 1 ∣ H ∣ ∑ H g S − g ‾ S ] , R_{\mathcal T}^{\mathcal P}(S)-R_{\mathcal H}^{\mathcal P}(S)=\left[\frac{1}{|\mathcal T|}\sum_{\mathcal T}g_S-\overline g_S\right]-\left[\frac{1}{|\mathcal H|}\sum_{\mathcal H}g_S-\overline g_S\right], R T P ( S ) − R H P ( S ) = [ ∣ T ∣ 1 T ∑ g S − g S ] − [ ∣ H ∣ 1 H ∑ g S − g S ] ,
with g S ( i , j ) : = ℓ ( s i j ; P i j ) ∈ [ 0 , 2 B ] g_S(i,j):=\ell(s_{ij};P_{ij})\in[0,2B] g S ( i , j ) := ℓ ( s ij ; P ij ) ∈ [ 0 , 2 B ] (since ℓ ( s ; p ) ≤ ∣ s ∣ + log 2 ≤ 2 B \ell(s;p)\leq|s|+\log2\leq2B ℓ ( s ; p ) ≤ ∣ s ∣ + log 2 ≤ 2 B for ∣ s ∣ ≤ B |s|\leq B ∣ s ∣ ≤ B and B ≥ log 2 B\geq\log2 B ≥ log 2 by the convention of § 3.1 ) and full-pair mean g ‾ S : = 1 N ∑ i < j g S ( i , j ) \overline g_S:=\frac{1}{N}\sum_{i<j}g_S(i,j) g S := N 1 ∑ i < j g S ( i , j ) . Each bracket is the deviation of a sampling-without-replacement average from its full-pair mean, since H \mathcal H H is a uniform subset of the N N N pairs and so is its complement T \mathcal T T . Hence Hoeffding–Serfling (15) applies to each bracket with D D D replaced by 2 B 2B 2 B , and we use 1 − f ∗ ≤ 1 1-f^*\leq1 1 − f ∗ ≤ 1 .
We use the net N ε \mathcal N_\varepsilon N ε and the conventions of App. § 11 (d), so ε = 1 / ( ( 1 + 2 R W max + R 2 ) n 2 ) \varepsilon=1/((1+2RW_{\max}+R^2)n^2) ε = 1/ (( 1 + 2 R W m a x + R 2 ) n 2 ) and log ∣ N ε ∣ = O ( n d log ( n B R W max ) ) \log|\mathcal N_\varepsilon|=O(nd\log(nBRW_{\max})) log ∣ N ε ∣ = O ( n d log ( n B R W m a x )) . The case d ≥ 2 n d\geq2n d ≥ 2 n is trivial, since ∣ R T P ( S ) − R H P ( S ) ∣ ≤ 2 B |R_{\mathcal T}^{\mathcal P}(S)-R_{\mathcal H}^{\mathcal P}(S)|\leq2B ∣ R T P ( S ) − R H P ( S ) ∣ ≤ 2 B always. BCE is 1-Lipschitz in s s s , because ∣ ∂ s ℓ ( s ; p ) ∣ = ∣ σ ( s ) − p ∣ ≤ 1 |\partial_s\ell(s;p)|=|\sigma(s)-p|\leq1 ∣ ∂ s ℓ ( s ; p ) ∣ = ∣ σ ( s ) − p ∣ ≤ 1 . With the score Lipschitz bound of App. § 9 (c), this gives ∣ g S ( i , j ) − g S ′ ( i , j ) ∣ ≤ 1 / n 2 |g_S(i,j)-g_{S'}(i,j)|\leq1/n^2 ∣ g S ( i , j ) − g S ′ ( i , j ) ∣ ≤ 1/ n 2 for the nearest net point S ′ S' S ′ , so each bracket changes by at most 2 / n 2 2/n^2 2/ n 2 . For E ∈ { T , H } E\in\{\mathcal T,\mathcal H\} E ∈ { T , H } set
t E : = 2 B log ∣ N ε ∣ + log ( 4 n ) 2 ∣ E ∣ . t_E:=2B\sqrt{\frac{\log|\mathcal N_\varepsilon|+\log(4n)}{2|E|}}. t E := 2 B 2∣ E ∣ log ∣ N ε ∣ + log ( 4 n ) .
A union bound over N ε \mathcal N_\varepsilon N ε and the two brackets gives total failure probability ≤ n − 1 \leq n^{-1} ≤ n − 1 . On this event, uniformly on S Z S^{\mathcal Z} S Z ,
∣ R T P ( S ) − R H P ( S ) ∣ ≤ t T + t H + 4 n 2 . \left|R_{\mathcal T}^{\mathcal P}(S)-R_{\mathcal H}^{\mathcal P}(S)\right|\leq t_{\mathcal T}+t_{\mathcal H}+\frac{4}{n^2}. R T P ( S ) − R H P ( S ) ≤ t T + t H + n 2 4 .
Using ∣ H ∣ ≥ τ N |\mathcal H|\geq\tau N ∣ H ∣ ≥ τ N , ∣ T ∣ ≥ ( 1 − τ ) N / 2 |\mathcal T|\geq(1-\tau)N/2 ∣ T ∣ ≥ ( 1 − τ ) N /2 (proof of Lemma 28) and ∣ T ∣ + ∣ H ∣ = N |\mathcal T|+|\mathcal H|=N ∣ T ∣ + ∣ H ∣ = N ,
1 ∣ T ∣ + 1 ∣ H ∣ ≤ 2 N ∣ T ∣ ∣ H ∣ ≤ 2 τ ( 1 − τ ) N . \frac{1}{\sqrt{|\mathcal T|}}+\frac{1}{\sqrt{|\mathcal H|}}\leq\sqrt{\frac{2N}{|\mathcal T||\mathcal H|}}\leq\frac{2}{\sqrt{\tau(1-\tau)N}}. ∣ T ∣ 1 + ∣ H ∣ 1 ≤ ∣ T ∣∣ H ∣ 2 N ≤ τ ( 1 − τ ) N 2 .
so with N ≥ n 2 / 4 N\geq n^2/4 N ≥ n 2 /4 we get t T + t H ≤ C ′ B d log ( n B R W max ) / ( τ ( 1 − τ ) n ) t_{\mathcal T}+t_{\mathcal H}\leq C'B\sqrt{d\log(nBRW_{\max})/(\tau(1-\tau)n)} t T + t H ≤ C ′ B d log ( n B R W m a x ) / ( τ ( 1 − τ ) n ) for a universal C ′ C' C ′ .
The remainder satisfies 4 / n 2 ≤ 4 B 2 d log ( n B R W max ) / ( τ ( 1 − τ ) n ) 4/n^2\leq4B^2\sqrt{d\log(nBRW_{\max})/(\tau(1-\tau)n)} 4/ n 2 ≤ 4 B 2 d log ( n B R W m a x ) / ( τ ( 1 − τ ) n ) for n ≥ 2 n\geq2 n ≥ 2 , by B ≥ log 2 B\geq\log2 B ≥ log 2 , τ ( 1 − τ ) ≤ 1 / 4 \tau(1-\tau)\leq1/4 τ ( 1 − τ ) ≤ 1/4 and log ( n B R W max ) ≥ log ( 2 log 2 ) \log(nBRW_{\max})\geq\log(2\log2) log ( n B R W m a x ) ≥ log ( 2 log 2 ) . Since B ≤ B 2 / log 2 B\leq B^2/\log2 B ≤ B 2 / log 2 , the stated bound holds with C 3 : = C ′ / log 2 + 4 C_3:=C'/\log2+4 C 3 := C ′ / log 2 + 4 , for every n ≥ 2 n\geq2 n ≥ 2 .
Proof of Cor. 9
Union-bound Lemmas 28, 29: with probability ≥ 1 − 2 n − 1 \ge1-2n^{-1} ≥ 1 − 2 n − 1 , both deviation bounds hold simultaneously, and the first inequalities transfer the rates to Γ T , Γ T H \Gamma_{\mathcal{T}},\Gamma_{\mathcal{T}\mathcal{H}} Γ T , Γ T H as defined on S ( A , T ) \mathcal{S}(A,\mathcal{T}) S ( A , T ) . We bound ϵ o p t = R H P ( S ^ ) − R H P , † \epsilon_{\mathrm{opt}}=R_{\mathcal{H}}^{P}(\widehat{S})-R_{\mathcal{H}}^{P,\dagger} ϵ opt = R H P ( S ) − R H P , † in two steps.
Upper bound on R H P ( S ^ ) R_{\mathcal{H}}^{P}(\widehat{S}) R H P ( S ) . Since S ^ ∈ S ( A , T ) \widehat{S}\in\mathcal{S}(A,\mathcal{T}) S ∈ S ( A , T ) ,
R H P ( S ^ ) ≤ R T H P ( S ^ ) + Γ T H ≤ R ^ T ( S ^ ) + Γ T + Γ T H . (23) R_{\mathcal{H}}^{P}(\widehat{S})\le R_{\mathcal{T}\mathcal{H}}^{P}(\widehat{S})+\Gamma_{\mathcal{T}\mathcal{H}}\le\widehat{R}_{\mathcal{T}}(\widehat{S})+\Gamma_{\mathcal{T}}+\Gamma_{\mathcal{T}\mathcal{H}}. \tag*{(23)} R H P ( S ) ≤ R T H P ( S ) + Γ T H ≤ R T ( S ) + Γ T + Γ T H . (23)
Lower bound on R H P , † R_{\mathcal{H}}^{P,\dagger} R H P , † . For ϵ > 0 \epsilon>0 ϵ > 0 , pick S ϵ ∈ S ( A , T ) S_{\epsilon}\in\mathcal{S}(A,\mathcal{T}) S ϵ ∈ S ( A , T ) with R H P ( S ϵ ) ≤ R H P , † + ϵ R_{\mathcal{H}}^{P}(S_{\epsilon})\le R_{\mathcal{H}}^{P,\dagger}+\epsilon R H P ( S ϵ ) ≤ R H P , † + ϵ . Then S ϵ S_{\epsilon} S ϵ is admissible in the R ^ T † \widehat{R}_{\mathcal{T}}^{\dagger} R T † infimum, and
R ^ T † ≤ R ^ T ( S ϵ ) ≤ R T P ( S ϵ ) + Γ T ≤ R H P ( S ϵ ) + Γ T + Γ T H ≤ R H P , † + ϵ + Γ T + Γ T H , \widehat{R}_{\mathcal{T}}^{\dagger}\le\widehat{R}_{\mathcal{T}}(S_{\epsilon})\le R_{\mathcal{T}}^{P}(S_{\epsilon})+\Gamma_{\mathcal{T}}\le R_{\mathcal{H}}^{P}(S_{\epsilon})+\Gamma_{\mathcal{T}}+\Gamma_{\mathcal{T}\mathcal{H}}\le R_{\mathcal{H}}^{P,\dagger}+\epsilon+\Gamma_{\mathcal{T}}+\Gamma_{\mathcal{T}\mathcal{H}}, R T † ≤ R T ( S ϵ ) ≤ R T P ( S ϵ ) + Γ T ≤ R H P ( S ϵ ) + Γ T + Γ T H ≤ R H P , † + ϵ + Γ T + Γ T H ,
using (in order) the infimum, Γ T \Gamma_{\mathcal{T}} Γ T , Γ T H \Gamma_{\mathcal{T}\mathcal{H}} Γ T H , and the choice of S ϵ S_{\epsilon} S ϵ . Letting ϵ → 0 \epsilon\to0 ϵ → 0 ,
R ^ T † − Γ T − Γ T H ≤ R H P , † . (24) \widehat{R}_{\mathcal{T}}^{\dagger}-\Gamma_{\mathcal{T}}-\Gamma_{\mathcal{T}\mathcal{H}}\le R_{\mathcal{H}}^{P,\dagger}. \tag*{(24)} R T † − Γ T − Γ T H ≤ R H P , † . (24)
Combining. Subtracting (23) from (22),
ϵ o p t = R H P ( S ^ ) − R H P , † ≤ [ R ^ T ( S ^ ) − R ^ T † ] + 2 ( Γ T + Γ T H ) = ρ ^ + 2 ( Γ T + Γ T H ) . \epsilon_{\mathrm{opt}}=R_{\mathcal{H}}^{P}(\widehat{S})-R_{\mathcal{H}}^{P,\dagger}\le\left[\widehat{R}_{\mathcal{T}}(\widehat{S})-\widehat{R}_{\mathcal{T}}^{\dagger}\right]+2(\Gamma_{\mathcal{T}}+\Gamma_{\mathcal{T}\mathcal{H}})=\widehat{\rho}+2(\Gamma_{\mathcal{T}}+\Gamma_{\mathcal{T}\mathcal{H}}). ϵ opt = R H P ( S ) − R H P , † ≤ [ R T ( S ) − R T † ] + 2 ( Γ T + Γ T H ) = ρ + 2 ( Γ T + Γ T H ) .
Substituting into Theorem 6 Part I gives the displayed classification bound. This bound holds with probability ≥ 1 − 5 n − 1 \ge1-5n^{-1} ≥ 1 − 5 n − 1 , on the intersection of the above event and the event of Theorem 6 .
Why the Relaxed Envelope
The covering arguments use the relaxed class S Z \mathcal{S}^{Z} S Z as an envelope rather than S ( A , T ) \mathcal{S}(A,\mathcal{T}) S ( A , T ) directly for two structural reasons. First, S Z \mathcal{S}^{Z} S Z is deterministic, so its ϵ \epsilon ϵ -net has data-independent metric entropy; the encoder class S ( A , T ) \mathcal{S}(A,\mathcal{T}) S ( A , T ) depends on A e n c A^{\mathrm{enc}} A enc through f θ f_{\theta} f θ , and a covering would have to be constructed conditionally. Second, and more fundamentally, Hoeffding on Γ T \Gamma_{\mathcal{T}} Γ T 's summands ( P i j − A i j ) s i j (P_{ij}-A_{ij})s_{ij} ( P ij − A ij ) s ij requires s i j s_{ij} s ij to be independent of { A i j : ( i , j ) ∈ T } \{A_{ij}:(i,j)\in\mathcal{T}\} { A ij : ( i , j ) ∈ T } ; for an encoder-induced S S S this fails because A e n c A^{\mathrm{enc}} A enc is itself a deterministic function of { A i j : ( i , j ) ∈ T } \{A_{ij}:(i,j)\in\mathcal{T}\} { A ij : ( i , j ) ∈ T } . The deviation bound therefore cannot be obtained by a direct concentration argument on S ( A , T ) \mathcal{S}(A,\mathcal{T}) S ( A , T ) without an auxiliary independence-restoring split (e.g. a sub-split of T \mathcal{T} T into encoder-input pairs and loss-evaluation pairs), which would alter the setting and decouple training from the loss the optimizer actually minimizes. Bounding the sup on S Z \mathcal{S}^{Z} S Z instead and transferring via inclusion preserves both the setting and the training objective.
Architectural Realization of ϵ a p p \epsilon_{\mathrm{app}} ϵ app : Construction and Proof
This appendix proves Prop. 10. App. I.1 fixes notation, the encoder, and assumptions (A1)–(A5). The Master Lemma (App. I.2) reduces a bound on ϵ a p p \epsilon_{\mathrm{app}} ϵ app to three conditions: node features concentrate around community prototypes, a Lipschitz readout maps the prototypes to target embeddings, and a decoder reproduces the oracle logits at those embeddings. Steps A–D verify these conditions for GIN with spectral PE. Step A shows that the spectral PE concentrates at rate K log n / n \sqrt{K\log n/n} K log n / n uniformly over nodes. Step B shows that its population version is block-constant with separated prototypes. Step C shows that a GIN on A e n c A^{\mathrm{enc}} A enc realizes any readout of the PE given by a 2-layer multilayer perceptron (MLP) with rectified linear unit (ReLU) activations, also with extra PE coordinates and more layers. Step D constructs the decoder. App. I.7 combines the steps, and App. I.8 states the scope of the construction.
Setup and Notation
We retain the setting of the main paper. In particular: P ∈ [ 0 , 1 ] n × n P\in[0,1]^{n\times n} P ∈ [ 0 , 1 ] n × n with P i j = p c i c j P_{ij}=p_{c_i c_j} P ij = p c i c j is the filled population matrix (P = Π Θ Π T P=\Pi\Theta\Pi^{\mathsf{T}} P = ΠΘ Π T , rank K K K ); A ∈ { 0 , 1 } n × n A\in\{0,1\}^{n\times n} A ∈ { 0 , 1 } n × n is the hollow observed adjacency, A i j ∼ Ber ( P i j ) A_{ij}\sim\operatorname{Ber}(P_{ij}) A ij ∼ Ber ( P ij ) for i < j i<j i < j ; H ⊆ { ( i , j ) : i < j } \mathcal{H}\subseteq\{(i,j):i<j\} H ⊆ {( i , j ) : i < j } is drawn uniformly among the size-⌈ τ n ⌉ \lceil\tau n\rceil ⌈ τ n ⌉ subsets of the N : = ( n 2 ) N:=\binom{n}{2} N := ( 2 n ) pairs (matching the fixed-size mask of Sec. 3.1), and T = { ( i , j ) : i < j } ∖ H \mathcal{T}=\{(i,j):i<j\}\setminus\mathcal{H} T = {( i , j ) : i < j } ∖ H ; A e n c A^{\mathrm{enc}} A enc is the symmetric (hollow) encoder input, defined for i < j i<j i < j by A i j e n c = A i j 1 { ( i , j ) ∈ T } A_{ij}^{\mathrm{enc}}=A_{ij}\mathbf{1}\{(i,j)\in\mathcal{T}\} A ij enc = A ij 1 {( i , j ) ∈ T } , extended to i > j i>j i > j by symmetry, with A i i e n c = 0 A_{ii}^{\mathrm{enc}}=0 A ii enc = 0 . The oracle logits are m a b ⋆ = logit ( p a b ) m_{ab}^{\star}=\operatorname{logit}(p_{ab}) m ab ⋆ = logit ( p ab ) , collected in M ⋆ : = ( m a b ⋆ ) a , b ∈ [ K ] M^{\star}:=(m_{ab}^{\star})_{a,b\in[K]} M ⋆ := ( m ab ⋆ ) a , b ∈ [ K ] , and π a = ∣ { i : c i = a } ∣ / n \pi_a=|\{i:c_i=a\}|/n π a = ∣ { i : c i = a } ∣/ n are the community proportions.
Spectral objects. Let P = ∑ k = 1 n λ k ⋆ u k ⋆ ( u k ⋆ ) ⊤ P = \sum_{k=1}^{n} \lambda_k^\star u_k^\star(u_k^\star)^\top P = ∑ k = 1 n λ k ⋆ u k ⋆ ( u k ⋆ ) ⊤ with ∥ u k ⋆ ∥ 2 = 1 \lVert u_k^\star\rVert_2 = 1 ∥ u k ⋆ ∥ 2 = 1 , ordered by absolute value ∣ λ 1 ⋆ ∣ ≥ ∣ λ 2 ⋆ ∣ ≥ ⋯ |\lambda_1^\star| \ge|\lambda_2^\star| \ge\cdots ∣ λ 1 ⋆ ∣ ≥ ∣ λ 2 ⋆ ∣ ≥ ⋯ . Since rank ( P ) = K \operatorname{rank}(P) = K rank ( P ) = K , exactly K K K eigenvalues are nonzero (possibly of mixed signs when Θ \Theta Θ is indefinite) and λ k ⋆ = 0 \lambda_k^\star= 0 λ k ⋆ = 0 for k > K k > K k > K . Define the population signal matrices U K ⋆ : = [ u 1 ⋆ , … , u K ⋆ ] ∈ R n × K U_K^\star:= [u_1^\star,\ldots,u_K^\star] \in\mathbb{R}^{n\times K} U K ⋆ := [ u 1 ⋆ , … , u K ⋆ ] ∈ R n × K , Λ K ⋆ : = diag ( λ 1 ⋆ , … , λ K ⋆ ) \Lambda_K^\star:= \operatorname{diag}(\lambda_1^\star,\ldots,\lambda_K^\star) Λ K ⋆ := diag ( λ 1 ⋆ , … , λ K ⋆ ) , Π K ⋆ : = U K ⋆ ( U K ⋆ ) ⊤ \Pi_K^\star:= U_K^\star(U_K^\star)^\top Π K ⋆ := U K ⋆ ( U K ⋆ ) ⊤ , with signal-noise gap γ K ⋆ : = ∣ λ K ⋆ ∣ − ∣ λ K + 1 ⋆ ∣ = ∣ λ K ⋆ ∣ \gamma_K^\star:= |\lambda_K^\star| - |\lambda_{K+1}^\star| = |\lambda_K^\star| γ K ⋆ := ∣ λ K ⋆ ∣ − ∣ λ K + 1 ⋆ ∣ = ∣ λ K ⋆ ∣ . Analogously, let λ ^ 1 , … , λ ^ n \widehat{\lambda}_1,\ldots,\widehat{\lambda}_n λ 1 , … , λ n be the eigenvalues of A e n c A^{\mathrm{enc}} A enc ordered by absolute value, with eigenvectors ϕ 1 , … , ϕ n \phi_1,\ldots,\phi_n ϕ 1 , … , ϕ n , and define U ^ K : = [ ϕ 1 , … , ϕ K ] \widehat{U}_K := [\phi_1,\ldots,\phi_K] U K := [ ϕ 1 , … , ϕ K ] , Λ ^ K : = diag ( λ ^ 1 , … , λ ^ K ) \widehat{\Lambda}_K := \operatorname{diag}(\widehat{\lambda}_1,\ldots,\widehat{\lambda}_K) Λ K := diag ( λ 1 , … , λ K ) , Π ^ K : = U ^ K U ^ K ⊤ \widehat{\Pi}_K := \widehat{U}_K\widehat{U}_K^\top Π K := U K U K ⊤ . Once ∥ A e n c − P ‾ ∘ ∥ o p \lVert A^{\mathrm{enc}}-\overline{P}^{\circ}\rVert_{\mathrm{op}} ∥ A enc − P ∘ ∥ op is below the gap (Lemma 34), Weyl’s inequality separates the top-K K K absolute-eigenvalue subspace of A e n c A^{\mathrm{enc}} A enc from the remaining eigenspace; the basis is identified only modulo an orthogonal factor. We will repeatedly use the sign-agnostic spectral identity
A e n c U ^ K = U ^ K Λ ^ K , (25) A^{\mathrm{enc}}\widehat{U}_K = \widehat{U}_K\widehat{\Lambda}_K, \tag*{(25)} A enc U K = U K Λ K , (25)
which drives the native message-passing neural network (MPNN) argument in Step C.
Positional encoding. For each i ∈ [ n ] i \in[n] i ∈ [ n ] ,
PE ( i ) : = n ⋅ ( U ^ K ) i , : ∈ R K , PE ⋆ ( i ) : = n ⋅ ( U K ⋆ ) i , : ∈ R K . (26) \operatorname{PE}(i) := \sqrt{n}\cdot(\widehat{U}_K)_{i,:}\in\mathbb{R}^K,\qquad\operatorname{PE}^\star(i) := \sqrt{n}\cdot(U_K^\star)_{i,:}\in\mathbb{R}^K. \tag*{(26)} PE ( i ) := n ⋅ ( U K ) i , : ∈ R K , PE ⋆ ( i ) := n ⋅ ( U K ⋆ ) i , : ∈ R K . (26)
The n \sqrt{n} n rescaling brings entries to O ( 1 ) O(1) O ( 1 ) scale (cf. Dwivedi and Bresson [ [7 ] ). By orthonormality, PE ( i ) \operatorname{PE}(i) PE ( i ) is defined only up to a sample-dependent O ^ ∈ O ( K ) \widehat{O}\in O(K) O ∈ O ( K ) ; Lemma 31 states concentration modulo O ^ \widehat{O} O , which Step C absorbs into the readout’s first linear layer. The encoder may receive more coordinates: its input is X P E : = n [ ϕ 1 , … , ϕ D P E ] X_{\mathrm{PE}} := \sqrt{n}[\phi_1,\ldots,\phi_{D_{\mathrm{PE}}}] X PE := n [ ϕ 1 , … , ϕ D PE ] for a fixed D P E ≥ K D_{\mathrm{PE}}\ge K D PE ≥ K , ordered by ∣ λ ^ k ∣ |\widehat{\lambda}_k| ∣ λ k ∣ . On the event of Lemma 34, Weyl’s inequality gives ∣ λ ^ k ∣ ≥ 1 2 τ 0 c γ n |\widehat{\lambda}_k|\ge\frac{1}{2}\tau_0c_\gamma n ∣ λ k ∣ ≥ 2 1 τ 0 c γ n for k ≤ K k\le K k ≤ K and ∣ λ ^ k ∣ ≤ C o p n log n |\widehat{\lambda}_k|\le C_{\mathrm{op}}\sqrt{n\log n} ∣ λ k ∣ ≤ C op n log n for k > K k>K k > K . For n n n large the top-K K K absolute eigenvalues are therefore separated from the rest, the first K K K columns of X P E X_{\mathrm{PE}} X PE are n U ^ K \sqrt{n}\widehat{U}_K n U K , and PE ( i ) \operatorname{PE}(i) PE ( i ) is the restriction of the i i i -th row of X P E X_{\mathrm{PE}} X PE to these columns.
Encoder architecture. We consider depth-L L L MPNN encoders with node features X P E ∈ R n × D P E X_{\mathrm{PE}}\in\mathbb{R}^{n\times D_{\mathrm{PE}}} X PE ∈ R n × D PE and GIN-style updates Xu et al. [ [43 ]
H i , : ( l + 1 ) = MLP ( l ) ( ( 1 + ϵ ( l ) ) H i , : ( l ) + ( A e n c H ( l ) ) i , : ) , H ( 0 ) : = X P E , (27) H_{i,:}^{(l+1)} = \operatorname{MLP}^{(l)}\left((1+\epsilon^{(l)})H_{i,:}^{(l)}+(A^{\mathrm{enc}}H^{(l)})_{i,:}\right),\qquad H^{(0)}:=X_{\mathrm{PE}}, \tag*{(27)} H i , : ( l + 1 ) = MLP ( l ) ( ( 1 + ϵ ( l ) ) H i , : ( l ) + ( A enc H ( l ) ) i , : ) , H ( 0 ) := X PE , (27)
where each MLP ( l ) \operatorname{MLP}^{(l)} MLP ( l ) is a 2-layer ReLU MLP and ϵ ( l ) \epsilon^{(l)} ϵ ( l ) is a scalar parameter; a ReLU is applied between consecutive layers but not after the last one. Write ρ ( x ) : = max { x , 0 } \rho(x):=\max\{x,0\} ρ ( x ) := max { x , 0 } for the ReLU. A 1-Lipschitz projection Π B R ( 0 ) ( x ) : = x min ( 1 , R / ∥ x ∥ ) \Pi_{B_R(0)}(x):=x\min(1,R/\lVert x\rVert) Π B R ( 0 ) ( x ) := x min ( 1 , R / ∥ x ∥) enforces ∥ z i ∥ ≤ R \lVert z_i\rVert\le R ∥ z i ∥ ≤ R , giving z i : = Π B R ( 0 ) ( H i , : ( L ) ) ∈ B R ( 0 ) ⊂ R d z_i:=\Pi_{B_R(0)}(H_{i,:}^{(L)})\in B_R(0)\subset\mathbb{R}^d z i := Π B R ( 0 ) ( H i , : ( L ) ) ∈ B R ( 0 ) ⊂ R d . Other MPNN families that share this aggregation operator may admit analogous treatments; normalized aggregators (GCN, GraphSAGE) and attention-based aggregators (GAT) require separate compatibility arguments (App. I.8, App. L.1).
Assumptions for Step A–D.
(A1) (dense regime) p a b ∈ [ p min , 1 − p min ] p_{ab}\in[p_{\min},1-p_{\min}] p ab ∈ [ p m i n , 1 − p m i n ] for constant p min ∈ ( 0 , 1 / 2 ) p_{\min}\in(0,1/2) p m i n ∈ ( 0 , 1/2 ) .
(A2) (balanced communities) π a ≥ π min \pi_a\ge\pi_{\min} π a ≥ π m i n for constant π min > 0 \pi_{\min}>0 π m i n > 0 .
(A3) (spectral regularity and embedding dimension) rank ( Θ ) = K \operatorname{rank}(\Theta)=K rank ( Θ ) = K ; the K K K nonzero eigenvalues of P P P (possibly of mixed signs) satisfy min k ≤ K ∣ λ k ⋆ ∣ ≥ c γ n \min_{k\le K}|\lambda_k^\star|\ge c_\gamma n min k ≤ K ∣ λ k ⋆ ∣ ≥ c γ n for constant c γ > 0 c_\gamma>0 c γ > 0 ; embedding dimension d ≥ K d\ge K d ≥ K . Equivalently, γ K ⋆ = ∣ λ K ⋆ ∣ − ∣ λ K + 1 ⋆ ∣ = ∣ λ K ⋆ ∣ ≥ c γ n \gamma_K^\star=|\lambda_K^\star|-|\lambda_{K+1}^\star|=|\lambda_K^\star|\ge c_\gamma n γ K ⋆ = ∣ λ K ⋆ ∣ − ∣ λ K + 1 ⋆ ∣ = ∣ λ K ⋆ ∣ ≥ c γ n , since λ K + 1 ⋆ = ⋯ = λ n ⋆ = 0 \lambda_{K+1}^\star=\cdots=\lambda_n^\star=0 λ K + 1 ⋆ = ⋯ = λ n ⋆ = 0 .
(A4) (nontrivial masking) τ ∈ ( 0 , 1 − τ 0 ) \tau\in(0,1-\tau_0) τ ∈ ( 0 , 1 − τ 0 ) for constant τ 0 > 0 \tau_0>0 τ 0 > 0 .
(A5) (bilinear capacity) W max R 2 ≥ min ∣ b ∣ ≤ B 0 ∥ M ⋆ − b 11 ⊤ ∥ o p W_{\max}R^2\ge\min_{|b|\le B_0}\lVert M^\star-b\mathbf{1}\mathbf{1}^\top\rVert_{\mathrm{op}} W m a x R 2 ≥ min ∣ b ∣ ≤ B 0 ∥ M ⋆ − b 1 1 ⊤ ∥ op , with the minimum taken over the admissible bias range ∣ b ∣ ≤ B 0 |b|\le B_0 ∣ b ∣ ≤ B 0 (cf. Prop. 12 on community-level decoder realizability).
Master Lemma: Abstract Feature-to-Score Bound
The following lemma is the organizational backbone of the proof. It shows that any encoder design satisfying three modular conditions (feature concentration, Lipschitz readout, exact decoder) yields a quantitative ε a p p \varepsilon_{\mathrm{app}} ε app bound.
Lemma 30 (Master Lemma). Let ϕ i ∈ R q \phi_i \in\mathbb{R}^q ϕ i ∈ R q be a sample-dependent feature for each i ∈ [ n ] i \in[n] i ∈ [ n ] . Let μ 1 , … , μ K ∈ R q \mu_1,\ldots,\mu_K \in\mathbb{R}^q μ 1 , … , μ K ∈ R q be deterministic prototypes and g : R q → R d g:\mathbb{R}^q \to\mathbb{R}^d g : R q → R d a deterministic Lipschitz readout . Suppose:
(M1) (Concentration) On an event E n E_n E n with P ( E n ) ≥ 1 − n − c \mathbb{P}(E_n) \ge1-n^{-c} P ( E n ) ≥ 1 − n − c ,
max i ∈ [ n ] ∥ ϕ i − μ c i ∥ 2 ≤ r n . \max_{i\in[n]}\lVert\phi_i-\mu_{c_i}\rVert_2 \le r_n. i ∈ [ n ] max ∥ ϕ i − μ c i ∥ 2 ≤ r n . (M2) (Readout exactness and Lipschitzness) For each a ∈ [ K ] a \in[K] a ∈ [ K ] , g ( μ a ) = u a g(\mu_a)=u_a g ( μ a ) = u a for some u a ∈ R d u_a \in\mathbb{R}^d u a ∈ R d with ∥ u a ∥ 2 ≤ R u \lVert u_a\rVert_2 \le R_u ∥ u a ∥ 2 ≤ R u , and g g g is L g L_g L g -Lipschitz on ⋃ a B r n ( μ a ) \bigcup_a B_{r_n}(\mu_a) ⋃ a B r n ( μ a ) .
(M3) (Decoder exactness) There exist symmetric W ∈ R d × d W \in\mathbb{R}^{d\times d} W ∈ R d × d with ∥ W ∥ o p ≤ W max \lVert W\rVert_{\mathrm{op}} \le W_{\max} ∥ W ∥ op ≤ W m a x and b ∈ R b \in\mathbb{R} b ∈ R such that
b + u a T W u b = m a b ⋆ ∀ a , b ∈ [ K ] . b+u_a^\mathsf{T}Wu_b=m^\star_{ab}\qquad\forall a,b\in[K]. b + u a T W u b = m ab ⋆ ∀ a , b ∈ [ K ] . Define z i : = g ( ϕ i ) z_i:=g(\phi_i) z i := g ( ϕ i ) and s i j : = b + z i T W z j s_{ij}:=b+z_i^\mathsf{T}Wz_j s ij := b + z i T W z j . Then on E n E_n E n ,
max i , j ∈ [ n ] ∣ s i j − m c i c j ⋆ ∣ ≤ W max ( 2 R u L g r n + L g 2 r n 2 ) . \max_{i,j\in[n]}\left|s_{ij}-m^\star_{c_i c_j}\right|
\le W_{\max}\left(2R_uL_gr_n+L_g^2r_n^2\right). i , j ∈ [ n ] max s ij − m c i c j ⋆ ≤ W m a x ( 2 R u L g r n + L g 2 r n 2 ) . If, in addition, the score matrix S = ( s i j ) S=(s_{ij}) S = ( s ij ) belongs to the hypothesis class S ( A , T ) \mathcal{S}(A,T) S ( A , T ) of § 3.1 , then on E n E_n E n
ε a p p ≤ 1 8 W max 2 ( 2 R u L g r n + L g 2 r n 2 ) 2 . \varepsilon_{\mathrm{app}}\le\frac{1}{8}W_{\max}^2\left(2R_uL_gr_n+L_g^2r_n^2\right)^2. ε app ≤ 8 1 W m a x 2 ( 2 R u L g r n + L g 2 r n 2 ) 2 . Proof. Write Δ i : = z i − u c i \Delta_i:=z_i-u_{c_i} Δ i := z i − u c i ; by (M1) and (M2), ∥ Δ i ∥ ≤ L g r n \lVert\Delta_i\rVert\le L_gr_n ∥ Δ i ∥ ≤ L g r n on E n E_n E n . Expanding s i j = b + ( u c i + Δ i ) T W ( u c j + Δ j ) s_{ij}=b+(u_{c_i}+\Delta_i)^\mathsf{T}W(u_{c_j}+\Delta_j) s ij = b + ( u c i + Δ i ) T W ( u c j + Δ j ) and using (M3) to cancel b + u c i T W u c j = m c i c j ⋆ b+u_{c_i}^\mathsf{T}Wu_{c_j}=m^\star_{c_i c_j} b + u c i T W u c j = m c i c j ⋆ ,
∣ s i j − m c i c j ⋆ ∣ = ∣ u c i T W Δ j + Δ i T W u c j + Δ i T W Δ j ∣ ≤ W max ( 2 R u L g r n + L g 2 r n 2 ) = : δ n . \left|s_{ij}-m^\star_{c_i c_j}\right|
=\left|u_{c_i}^\mathsf{T}W\Delta_j+\Delta_i^\mathsf{T}Wu_{c_j}+\Delta_i^\mathsf{T}W\Delta_j\right|
\le W_{\max}\left(2R_uL_gr_n+L_g^2r_n^2\right)=:\delta_n. s ij − m c i c j ⋆ = u c i T W Δ j + Δ i T W u c j + Δ i T W Δ j ≤ W m a x ( 2 R u L g r n + L g 2 r n 2 ) =: δ n . The BCE loss ℓ ( s ; p ) = − p log σ ( s ) − ( 1 − p ) log ( 1 − σ ( s ) ) \ell(s;p)=-p\log\sigma(s)-(1-p)\log(1-\sigma(s)) ℓ ( s ; p ) = − p log σ ( s ) − ( 1 − p ) log ( 1 − σ ( s )) is 1 / 4 1/4 1/4 -smooth on R \mathbb{R} R (since σ ( s ) ( 1 − σ ( s ) ) ≤ 1 / 4 \sigma(s)(1-\sigma(s))\le1/4 σ ( s ) ( 1 − σ ( s )) ≤ 1/4 ) and minimized at s = logit p s=\operatorname{logit}p s = logit p , so ℓ ( s ; p ) − ℓ ( logit p ; p ) ≤ 1 8 ( s − logit p ) 2 \ell(s;p)-\ell(\operatorname{logit}p;p)\le\frac{1}{8}(s-\operatorname{logit}p)^2 ℓ ( s ; p ) − ℓ ( logit p ; p ) ≤ 8 1 ( s − logit p ) 2 . Since S ∈ S ( A , T ) S\in\mathcal{S}(A,T) S ∈ S ( A , T ) , it is feasible for the in-class infimum R H P , † R_{\mathcal{H}}^{P,\dagger} R H P , † in ε a p p = R H P , † − R H P ( S ⋆ ) \varepsilon_{\mathrm{app}}=R_{\mathcal{H}}^{P,\dagger}-R_{\mathcal{H}}^P(S^\star) ε app = R H P , † − R H P ( S ⋆ ) . Averaging over H \mathcal{H} H ,
ε a p p ≤ R H P ( S ) − R H P ( S ⋆ ) ≤ 1 8 ∣ H ∣ ∑ ( i , j ) ∈ H ( s i j − m c i c j ⋆ ) 2 ≤ 1 8 δ n 2 . \varepsilon_{\mathrm{app}}\le R_{\mathcal{H}}^P(S)-R_{\mathcal{H}}^P(S^\star)
\le\frac{1}{8|\mathcal{H}|}\sum_{(i,j)\in\mathcal{H}}\left(s_{ij}-m^\star_{c_i c_j}\right)^2
\le\frac{1}{8}\delta_n^2. ε app ≤ R H P ( S ) − R H P ( S ⋆ ) ≤ 8∣ H ∣ 1 ( i , j ) ∈ H ∑ ( s ij − m c i c j ⋆ ) 2 ≤ 8 1 δ n 2 .
Step A: Spectral PE Concentration
The main result of this section provides the r n r_n r n in the Master Lemma:
Lemma 31 (Step A: PE concentration). Under (A1)–(A4), there exist constants C A , c A > 0 C_A,c_A>0 C A , c A > 0 depending only on ( K , p min , π min , c γ , τ 0 ) (K,p_{\min},\pi_{\min},c_\gamma,\tau_0) ( K , p m i n , π m i n , c γ , τ 0 ) such that, with probability at least 1 − n − c A 1-n^{-c_A} 1 − n − c A , there exists a sample-dependent orthogonal matrix O ^ ∈ O ( K ) \widehat{O}\in O(K) O ∈ O ( K ) satisfying
max i ∈ [ n ] ∥ PE ( i ) O ^ − PE ⋆ ( i ) ∥ 2 ≤ r n : = C A K log n n . (28) \max_{i\in[n]}\left\lVert\operatorname{PE}(i)\widehat{O}-\operatorname{PE}^{\star}(i)\right\rVert_2
\le r_n:=C_A\sqrt{\frac{K\log n}{n}}. \tag*{(28)} i ∈ [ n ] max PE ( i ) O − PE ⋆ ( i ) 2 ≤ r n := C A n K log n . (28)
Proof route. We use Cape–Tang–Priebe only through their deterministic Procrustean 2 → ∞ 2\to\infty 2 → ∞ decomposition [Cape et al., 2019, Theorem 3.7]. The fixed-size mask is handled by comparison with an independent mask (Lemma 32(iv)). Lemma 34 gives an operator-norm event, and Lemma 35 gives the row-wise E U K ⋆ EU_K^\star E U K ⋆ event needed by the leading term of their bound.
Lemma 32 (Masked adjacency under fixed-size sampling). Let A A A be as in the main paper with { A i j } i < j \{A_{ij}\}_{i<j} { A ij } i < j mutually independent, and let H \mathcal{H} H be uniform on size-⌈ τ N ⌉ \lceil\tau N\rceil ⌈ τ N ⌉ subsets of { ( i , j ) : i < j } \{(i,j):i<j\} {( i , j ) : i < j } , independent of A A A . Set η : = ∣ T ∣ / N = 1 − ⌈ τ N ⌉ / N = 1 − τ + O ( 1 / N ) \eta:=|\mathcal{T}|/N=1-\lceil\tau N\rceil/N=1-\tau+O(1/N) η := ∣ T ∣/ N = 1 − ⌈ τ N ⌉ / N = 1 − τ + O ( 1/ N ) . Then:
(i) A i j e n c A_{ij}^{\mathrm{enc}} A ij enc has marginal Ber ( η P i j ) \operatorname{Ber}(\eta P_{ij}) Ber ( η P ij ) for i < j i<j i < j .
(ii) The mask indicators { 1 { ( i , j ) ∈ T } } i < j \{\mathbf{1}\{(i,j)\in\mathcal{T}\}\}_{i<j} { 1 {( i , j ) ∈ T } } i < j are exchangeable but not independent, because ∣ T ∣ |\mathcal{T}| ∣ T ∣ is fixed; they are negatively associated [18 ] . We never treat A e n c A^{\mathrm{enc}} A enc as an independent-entry matrix. The proofs below handle the mask through (iv) and the Bernoulli edge noise conditionally on the mask.
(iii) E A e n c = P ‾ \mathbb{E}A^{\mathrm{enc}}=\overline{P} E A enc = P , where P ‾ i j = η P i j \overline{P}_{ij}=\eta P_{ij} P ij = η P ij for i ≠ j i\ne j i = j and P ‾ i i = 0 \overline{P}_{ii}=0 P ii = 0 . Writing P ‾ ∘ : = ( 1 − τ ) P \overline{P}^{\circ}:=(1-\tau)P P ∘ := ( 1 − τ ) P as the rank-K K K reference, ∥ P ‾ − P ‾ ∘ ∥ o p = O ( 1 ) \|\overline{P}-\overline{P}^{\circ}\|_{\mathrm{op}}=O(1) ∥ P − P ∘ ∥ op = O ( 1 ) (diagonal correction plus the O ( 1 / N ) O(1/N) O ( 1/ N ) rounding shift).
(iv) (Independent-mask comparison.) Let { ξ i j } i < j \{\xi_{ij}\}_{i<j} { ξ ij } i < j be independent Ber ( η ) \operatorname{Ber}(\eta) Ber ( η ) variables, and write P f i x \mathbb{P}_{\mathrm{fix}} P fix and P i n d \mathbb{P}_{\mathrm{ind}} P ind for the laws of { 1 { ( i , j ) ∈ T } } i < j \{\mathbf{1}\{(i,j)\in\mathcal{T}\}\}_{i<j} { 1 {( i , j ) ∈ T } } i < j and of { ξ i j } i < j \{\xi_{ij}\}_{i<j} { ξ ij } i < j . For every event B \mathcal{B} B determined by the mask,
P f i x [ B ] ≤ ( N + 1 ) P i n d [ B ] ≤ n 2 P i n d [ B ] . \mathbb{P}_{\mathrm{fix}}[\mathcal{B}]\le(N+1)\mathbb{P}_{\mathrm{ind}}[\mathcal{B}]\le n^2\mathbb{P}_{\mathrm{ind}}[\mathcal{B}]. P fix [ B ] ≤ ( N + 1 ) P ind [ B ] ≤ n 2 P ind [ B ] .
Proof. (i) P [ A i j e n c = 1 ] = P [ A i j = 1 , ( i , j ) ∈ T ] = P i j ⋅ ∣ T ∣ / N = η P i j \mathbb{P}[A^{\mathrm{enc}}_{ij}=1]=\mathbb{P}[A_{ij}=1,(i,j)\in\mathcal{T}]=P_{ij}\cdot|\mathcal{T}|/N=\eta P_{ij} P [ A ij enc = 1 ] = P [ A ij = 1 , ( i , j ) ∈ T ] = P ij ⋅ ∣ T ∣/ N = η P ij by independence of A A A and H \mathcal{H} H . (ii) T \mathcal{T} T is a uniformly random subset of fixed size, so its indicators are exchangeable and sum to ∣ T ∣ |\mathcal{T}| ∣ T ∣ ; sampling without replacement yields negative association [18 ] . (iii) From (i) off-diagonally; the diagonal is zero by A i i = 0 A_{ii}=0 A ii = 0 . The norm bound follows from the triangle inequality: the diagonal contribution has operator norm ≤ 1 \le1 ≤ 1 , and the off-diagonal O ( 1 / N ) O(1/N) O ( 1/ N ) rounding shift contributes O ( 1 / N ) ∥ P ∥ o p = O ( 1 ) O(1/N)\|P\|_{\mathrm{op}}=O(1) O ( 1/ N ) ∥ P ∥ op = O ( 1 ) . (iv) The uniform law on size-∣ T ∣ |\mathcal{T}| ∣ T ∣ subsets equals the law of { ξ i j } \{\xi_{ij}\} { ξ ij } conditioned on ∑ i < j ξ i j = ∣ T ∣ \sum_{i<j}\xi_{ij}=|\mathcal{T}| ∑ i < j ξ ij = ∣ T ∣ . Since N η = ∣ T ∣ N\eta=|\mathcal{T}| N η = ∣ T ∣ is an integer, it is a mode of Bin ( N , η ) \operatorname{Bin}(N,\eta) Bin ( N , η ) , so P i n d [ ∑ i < j ξ i j = ∣ T ∣ ] ≥ ( N + 1 ) − 1 \mathbb{P}_{\mathrm{ind}}[\sum_{i<j}\xi_{ij}=|\mathcal{T}|]\ge(N+1)^{-1} P ind [ ∑ i < j ξ ij = ∣ T ∣ ] ≥ ( N + 1 ) − 1 . Hence P f i x [ B ] = P i n d [ B ∣ ∑ i < j ξ i j = ∣ T ∣ ] ≤ ( N + 1 ) P i n d [ B ] \mathbb{P}_{\mathrm{fix}}[\mathcal{B}]=\mathbb{P}_{\mathrm{ind}}[\mathcal{B}\mid\sum_{i<j}\xi_{ij}=|\mathcal{T}|]\le(N+1)\mathbb{P}_{\mathrm{ind}}[\mathcal{B}] P fix [ B ] = P ind [ B ∣ ∑ i < j ξ ij = ∣ T ∣ ] ≤ ( N + 1 ) P ind [ B ] , and N + 1 ≤ n 2 N+1\le n^2 N + 1 ≤ n 2 .
Lemma 33 (Spectral invariants). P P P and P ‾ ∘ = ( 1 − τ ) P \overline{P}^{\circ}=(1-\tau)P P ∘ = ( 1 − τ ) P share eigenvectors, with eigenvalues scaled by ( 1 − τ ) (1-\tau) ( 1 − τ ) (preserving signs). In particular, under (A3)–(A4), the K K K nonzero eigenvalues of P ‾ ∘ \overline{P}^{\circ} P ∘ all satisfy
min k ≤ K ∣ λ k ( P ‾ ∘ ) ∣ ≥ τ 0 c γ n = Ω ( n ) , \min_{k\le K}|\lambda_k(\overline{P}^{\circ})|\ge\tau_0c_\gamma n=\Omega(n), k ≤ K min ∣ λ k ( P ∘ ) ∣ ≥ τ 0 c γ n = Ω ( n ) , so the signal-noise gap ∣ λ K ( P ‾ ∘ ) ∣ − ∣ λ K + 1 ( P ‾ ∘ ) ∣ = ∣ λ K ( P ‾ ∘ ) ∣ ≥ τ 0 c γ n |\lambda_K(\overline{P}^{\circ})|-|\lambda_{K+1}(\overline{P}^{\circ})|=|\lambda_K(\overline{P}^{\circ})|\ge\tau_0c_\gamma n ∣ λ K ( P ∘ ) ∣ − ∣ λ K + 1 ( P ∘ ) ∣ = ∣ λ K ( P ∘ ) ∣ ≥ τ 0 c γ n is Ω ( n ) \Omega(n) Ω ( n ) .
Proof. Immediate from P ‾ ∘ = ( 1 − τ ) P \overline{P}^{\circ}=(1-\tau)P P ∘ = ( 1 − τ ) P with 1 − τ ≥ τ 0 1-\tau\ge\tau_0 1 − τ ≥ τ 0 by (A4) and (A3) on ∣ λ k ∗ ∣ |\lambda_k^*| ∣ λ k ∗ ∣ .
In particular, U K ∗ U_K^* U K ∗ remains an orthonormal basis for the rank-K K K column space of P ‾ ∘ \overline{P}^{\circ} P ∘ . We write E : = A e n c − P ‾ ∘ E:=A^{\mathrm{enc}}-\overline{P}^{\circ} E := A enc − P ∘ throughout the rest of Step A.
Lemma 34 (Operator-norm concentration). Under (A1)–(A4), there exist constants C o p , c o p > 0 C_{\mathrm{op}},c_{\mathrm{op}}>0 C op , c op > 0 such that
P [ ∥ E ∥ o p = ∥ A e n c − P ‾ ∘ ∥ o p ≤ C o p n log n ] ≥ 1 − n − c o p . (29) \mathbb{P}\left[\|E\|_{\mathrm{op}}=\|A^{\mathrm{enc}}-\overline{P}^{\circ}\|_{\mathrm{op}}\le C_{\mathrm{op}}\sqrt{n\log n}\right]\ge1-n^{-c_{\mathrm{op}}}. \tag*{(29)} P [ ∥ E ∥ op = ∥ A enc − P ∘ ∥ op ≤ C op n log n ] ≥ 1 − n − c op . (29)
Proof. Let M i j : = 1 { ( i , j ) ∈ T } M_{ij}:=\mathbf{1}\{(i,j)\in\mathcal{T}\} M ij := 1 {( i , j ) ∈ T } for i < j i<j i < j , extend M M M symmetrically, and set M i i = 0 M_{ii}=0 M ii = 0 . Let J : = 11 ⊤ − I n J:=\mathbf{1}\mathbf{1}^{\top}-I_n J := 1 1 ⊤ − I n and D P : = diag ( P 11 , … , P n n ) D_P:=\operatorname{diag}(P_{11},\ldots,P_{nn}) D P := diag ( P 11 , … , P nn ) . Since η = ∣ T ∣ / N = 1 − τ + O ( N − 1 ) \eta=|\mathcal{T}|/N=1-\tau+O(N^{-1}) η = ∣ T ∣/ N = 1 − τ + O ( N − 1 ) , we decompose
E = A e n c − P ‾ ∘ = M ∘ ( A − P ) + ( M − η J ) ∘ P + ( η − ( 1 − τ ) ) ( J ∘ P ) − ( 1 − τ ) D P . (30) E=A^{\mathrm{enc}}-\overline{P}^{\circ}=M\circ(A-P)+(M-\eta J)\circ P+(\eta-(1-\tau))(J\circ P)-(1-\tau)D_P. \tag*{(30)} E = A enc − P ∘ = M ∘ ( A − P ) + ( M − η J ) ∘ P + ( η − ( 1 − τ )) ( J ∘ P ) − ( 1 − τ ) D P . (30)
The last two terms are deterministic given the partition and have operator norm O ( 1 ) O(1) O ( 1 ) : indeed ∣ η − ( 1 − τ ) ∣ = O ( N − 1 ) |\eta-(1-\tau)|=O(N^{-1}) ∣ η − ( 1 − τ ) ∣ = O ( N − 1 ) , ∥ P ∥ o p = O ( n ) \|P\|_{\mathrm{op}}=O(n) ∥ P ∥ op = O ( n ) , and ∥ D P ∥ o p ≤ 1 \|D_P\|_{\mathrm{op}}\le1 ∥ D P ∥ op ≤ 1 .
For the first random term, condition on M M M . The upper-triangular entries of M ∘ ( A − P ) M\circ(A-P) M ∘ ( A − P ) are independent, centered, bounded by 1 1 1 , and have matrix variance proxy at most C n C n C n because each summand M i j ( A i j − P i j ) ( e i e j ⊤ + e j e i ⊤ ) M_{ij}(A_{ij}-P_{ij})(e_i e_j^{\top}+e_j e_i^{\top}) M ij ( A ij − P ij ) ( e i e j ⊤ + e j e i ⊤ ) has squared expectation bounded by M i j P i j ( 1 − P i j ) ( e i e i ⊤ + e j e j ⊤ ) M_{ij}P_{ij}(1-P_{ij})(e_i e_i^{\top}+e_j e_j^{\top}) M ij P ij ( 1 − P ij ) ( e i e i ⊤ + e j e j ⊤ ) and the maximum row sum is at most n n n . Matrix Bernstein [38 ] therefore gives, uniformly in the realized mask,
P [ ∥ M ∘ ( A − P ) ∥ o p > C n log n ∣ M ] ≤ n − c \mathbb{P}\left[\|M\circ(A-P)\|_{\mathrm{op}}>C\sqrt{n\log n}\mid M\right]\le n^{-c} P [ ∥ M ∘ ( A − P ) ∥ op > C n log n ∣ M ] ≤ n − c
for suitable constants C , c > 0 C,c>0 C , c > 0 . Integrating over M M M preserves the same tail.
For the mask-noise term, compare with an independent Bernoulli mask (Lemma 32(iv)). With { ξ i j } i < j \{\xi_{ij}\}_{i<j} { ξ ij } i < j as there, set
Q i n d : = ∑ i < j ( ξ i j − η ) P i j ( e i e j ⊤ + e j e i ⊤ ) . Q_{\mathrm{ind}}:=\sum_{i<j}(\xi_{ij}-\eta)P_{ij}(e_i e_j^{\top}+e_j e_i^{\top}). Q ind := i < j ∑ ( ξ ij − η ) P ij ( e i e j ⊤ + e j e i ⊤ ) .
The summands are independent, centered, have operator norm at most 1 1 1 , and have variance proxy at most
∥ ∑ i < j η ( 1 − η ) P i j 2 ( e i e i ⊤ + e j e j ⊤ ) ∥ o p ≤ n . \left\|\sum_{i<j}\eta(1-\eta)P_{ij}^{2}(e_i e_i^{\top}+e_j e_j^{\top})\right\|_{\mathrm{op}}\le n. i < j ∑ η ( 1 − η ) P ij 2 ( e i e i ⊤ + e j e j ⊤ ) op ≤ n .
Thus matrix Bernstein gives
P { ∥ Q i n d ∥ o p > C n log n } ≤ n − c − 3 \mathbb{P}\{\lVert Q_{\mathrm{ind}}\rVert_{\mathrm{op}} > C\sqrt{n\log n}\} \le n^{-c-3} P {∥ Q ind ∥ op > C n log n } ≤ n − c − 3
for C C C large enough. Under the fixed-size mask, ( M − η J ) ∘ P (M-\eta J)\circ P ( M − η J ) ∘ P is the same function of the indicators { M i j } i < j \{M_{ij}\}_{i<j} { M ij } i < j as Q i n d Q_{\mathrm{ind}} Q ind is of { ξ i j } i < j \{\xi_{ij}\}_{i<j} { ξ ij } i < j , so Lemma 32(iv) gives
P { ∥ ( M − η J ) ∘ P ∥ o p > C n log n } ≤ n 2 ⋅ n − c − 3 = n − c − 1 . \mathbb{P}\{\lVert(M-\eta J)\circ P\rVert_{\mathrm{op}} > C\sqrt{n\log n}\} \le n^2\cdot n^{-c-3}=n^{-c-1}. P {∥( M − η J ) ∘ P ∥ op > C n log n } ≤ n 2 ⋅ n − c − 3 = n − c − 1 .
Combining the two random terms with the O ( 1 ) O(1) O ( 1 ) deterministic remainder in (28) proves the claim after enlarging C o p C_{\mathrm{op}} C op and renaming the exponent.
Lemma 35 (Row-wise eigenvector noise). Let U K ⋆ ∈ R n × K U_K^\star\in\mathbb{R}^{n\times K} U K ⋆ ∈ R n × K be the rank-K K K population eigenbasis of P ˉ ∘ \bar{P}^{\circ} P ˉ ∘ . Under (A1)–(A4) , there exist constants C r o w , c r o w > 0 C_{\mathrm{row}},c_{\mathrm{row}}>0 C row , c row > 0 such that
P [ ∥ E U K ⋆ ∥ 2 → ∞ ≤ C r o w K log n ] ≥ 1 − n − c r o w . (31) \mathbb{P}\left[\lVert EU_K^\star\rVert_{2\to\infty}\le C_{\mathrm{row}}\sqrt{K\log n}\right]\ge1-n^{-c_{\mathrm{row}}}. \tag*{(31)} P [ ∥ E U K ⋆ ∥ 2 → ∞ ≤ C row K log n ] ≥ 1 − n − c row . (31)
Proof. Block-constancy and orthonormality (Lemma 37 below) give ∥ U K ⋆ ∥ 2 → ∞ ≤ K / ( n π min ) \lVert U_K^\star\rVert_{2\to\infty}\le\sqrt{K/(n\pi_{\min})} ∥ U K ⋆ ∥ 2 → ∞ ≤ K / ( n π m i n ) and column normalization ∑ j = 1 n ( U K ⋆ ) j , ℓ 2 = 1 \sum_{j=1}^{n}(U_K^\star)_{j,\ell}^{2}=1 ∑ j = 1 n ( U K ⋆ ) j , ℓ 2 = 1 for each ℓ ∈ [ K ] \ell\in[K] ℓ ∈ [ K ] . Fix i ∈ [ n ] i\in[n] i ∈ [ n ] and ℓ ∈ [ K ] \ell\in[K] ℓ ∈ [ K ] , and decompose
( E U K ⋆ ) i , ℓ = ∑ j ≠ i ( A i j e n c − P ˉ i j ) ( U K ⋆ ) j , ℓ ⏟ ( I ) + ∑ j ≠ i ( P ˉ i j − P ˉ i j ∘ ) ( U K ⋆ ) j , ℓ ⏟ ( I I ) + ( − P ˉ i i ∘ ) ( U K ⋆ ) i , ℓ ⏟ ( I I I ) . (EU_K^\star)_{i,\ell}=
\underbrace{\sum_{j\ne i}(A_{ij}^{\mathrm{enc}}-\bar{P}_{ij})(U_K^\star)_{j,\ell}}_{\mathrm{(I)}}
+\underbrace{\sum_{j\ne i}(\bar{P}_{ij}-\bar{P}_{ij}^{\circ})(U_K^\star)_{j,\ell}}_{\mathrm{(II)}}
+\underbrace{(-\bar{P}_{ii}^{\circ})(U_K^\star)_{i,\ell}}_{\mathrm{(III)}}. ( E U K ⋆ ) i , ℓ = ( I ) j = i ∑ ( A ij enc − P ˉ ij ) ( U K ⋆ ) j , ℓ + ( II ) j = i ∑ ( P ˉ ij − P ˉ ij ∘ ) ( U K ⋆ ) j , ℓ + ( III ) ( − P ˉ ii ∘ ) ( U K ⋆ ) i , ℓ .
Term (III) is ∣ ( 1 − τ ) P i i ( U K ⋆ ) i , ℓ ∣ ≤ ∥ U K ⋆ ∥ 2 → ∞ = O ( 1 / n ) \lvert(1-\tau)P_{ii}(U_K^\star)_{i,\ell}\rvert\le\lVert U_K^\star\rVert_{2\to\infty}=O(1/\sqrt{n}) ∣( 1 − τ ) P ii ( U K ⋆ ) i , ℓ ∣ ≤ ∥ U K ⋆ ∥ 2 → ∞ = O ( 1/ n ) . Term (II) is O ( 1 / N ) ∑ j P i j ∣ ( U K ⋆ ) j , ℓ ∣ ≤ O ( 1 / N ) n = O ( 1 / n ) O(1/N)\sum_jP_{ij}\lvert(U_K^\star)_{j,\ell}\rvert\le O(1/N)\sqrt{n}=O(1/\sqrt{n}) O ( 1/ N ) ∑ j P ij ∣( U K ⋆ ) j , ℓ ∣ ≤ O ( 1/ N ) n = O ( 1/ n ) by Cauchy–Schwarz with ∑ j P i j 2 ≤ n \sum_jP_{ij}^{2}\le n ∑ j P ij 2 ≤ n . Both are o ( log n ) o(\sqrt{\log n}) o ( log n ) uniformly.
Bounding term (I) via Bernstein. Decompose A i j e n c − P ˉ i j = M i j ( A i j − P i j ) + ( M i j − η ) P i j A_{ij}^{\mathrm{enc}}-\bar{P}_{ij}=M_{ij}(A_{ij}-P_{ij})+(M_{ij}-\eta)P_{ij} A ij enc − P ˉ ij = M ij ( A ij − P ij ) + ( M ij − η ) P ij where M i j : = 1 { ( min ( i , j ) , max ( i , j ) ) ∈ T } M_{ij}:=\mathbf{1}\{(\min(i,j),\max(i,j))\in\mathcal{T}\} M ij := 1 {( min ( i , j ) , max ( i , j )) ∈ T } . Substituting,
( I ) = ∑ j ≠ i M i j ( A i j − P i j ) ( U K ⋆ ) j , ℓ ⏟ ( I a ) + ∑ j ≠ i ( M i j − η ) P i j ( U K ⋆ ) j , ℓ ⏟ ( I b ) . \mathrm{(I)}=\underbrace{\sum_{j\ne i}M_{ij}(A_{ij}-P_{ij})(U_K^\star)_{j,\ell}}_{\mathrm{(Ia)}}
+\underbrace{\sum_{j\ne i}(M_{ij}-\eta)P_{ij}(U_K^\star)_{j,\ell}}_{\mathrm{(Ib)}}. ( I ) = ( Ia ) j = i ∑ M ij ( A ij − P ij ) ( U K ⋆ ) j , ℓ + ( Ib ) j = i ∑ ( M ij − η ) P ij ( U K ⋆ ) j , ℓ .
(Ia): conditional Bernstein. Conditional on the mask M M M , the summands are independent (across j j j ), centered, bounded by ∥ U K ⋆ ∥ 2 → ∞ ≤ C / n \lVert U_K^\star\rVert_{2\to\infty}\le C/\sqrt{n} ∥ U K ⋆ ∥ 2 → ∞ ≤ C / n , with conditional variance
∑ j ≠ i M i j P i j ( 1 − P i j ) ( U K ⋆ ) j , ℓ 2 ≤ 1 4 ∑ j ( U K ⋆ ) j , ℓ 2 = 1 4 . \sum_{j\ne i}M_{ij}P_{ij}(1-P_{ij})(U_K^\star)_{j,\ell}^{2}\le\frac{1}{4}\sum_j(U_K^\star)_{j,\ell}^{2}=\frac{1}{4}. j = i ∑ M ij P ij ( 1 − P ij ) ( U K ⋆ ) j , ℓ 2 ≤ 4 1 j ∑ ( U K ⋆ ) j , ℓ 2 = 4 1 .
Standard Bernstein gives P [ ∣ ( I a ) ∣ > t ∣ M ] ≤ 2 exp ( − c t 2 ) \mathbb{P}[\lvert\mathrm{(Ia)}\rvert>t\mid M]\le2\exp(-ct^{2}) P [∣ ( Ia ) ∣ > t ∣ M ] ≤ 2 exp ( − c t 2 ) for t ≤ c ′ n t\le c'\sqrt{n} t ≤ c ′ n . Marginalizing over M M M preserves the bound.
(Ib): independent-mask comparison. Replace the mask indicators by independent ξ i j ∼ Ber ( η ) \xi_{ij}\sim\operatorname{Ber}(\eta) ξ ij ∼ Ber ( η ) as in Lemma 32(iv). The resulting sum ∑ j ≠ i ( ξ i j − η ) P i j ( U K ⋆ ) j , ℓ \sum_{j\ne i}(\xi_{ij}-\eta)P_{ij}(U_K^\star)_{j,\ell} ∑ j = i ( ξ ij − η ) P ij ( U K ⋆ ) j , ℓ has independent, centered summands bounded by ∥ U K ⋆ ∥ 2 → ∞ ≤ C / n \lVert U_K^\star\rVert_{2\to\infty}\le C/\sqrt{n} ∥ U K ⋆ ∥ 2 → ∞ ≤ C / n and variance at most η ( 1 − η ) ∑ j ( U K ⋆ ) j , ℓ 2 ≤ 1 4 \eta(1-\eta)\sum_j(U_K^\star)_{j,\ell}^{2}\le\frac14 η ( 1 − η ) ∑ j ( U K ⋆ ) j , ℓ 2 ≤ 4 1 , so Bernstein’s inequality gives the tail 2 exp ( − c t 2 ) 2\exp(-ct^{2}) 2 exp ( − c t 2 ) for t ≤ c ′ n t\le c'\sqrt{n} t ≤ c ′ n . Since (Ib) is determined by the mask, Lemma 32(iv) transfers this tail to the fixed-size mask at the cost of a factor n 2 n^{2} n 2 : P [ ∣ ( I b ) ∣ > t ] ≤ 2 n 2 exp ( − c t 2 ) \mathbb{P}[\lvert\mathrm{(Ib)}\rvert>t]\le2n^{2}\exp(-ct^{2}) P [∣ ( Ib ) ∣ > t ] ≤ 2 n 2 exp ( − c t 2 ) for t ≤ c ′ n t\le c'\sqrt{n} t ≤ c ′ n .
Union bound. Take t : = 1 3 C r o w log n t:=\frac{1}{3}C_{\mathrm{row}}\sqrt{\log n} t := 3 1 C row log n , which is at most c ′ n c'\sqrt{n} c ′ n for n n n large. Then (Ia) and (Ib) each exceed t t t with probability at most 2 n 2 − c C r o w 2 / 9 2n^{2-cC_{\mathrm{row}}^{2}/9} 2 n 2 − c C row 2 /9 , while (II) + (III) = o ( log n ) ≤ t =o(\sqrt{\log n})\le t = o ( log n ) ≤ t for n n n large. Union-bounding over ( i , ℓ ) ∈ [ n ] × [ K ] (i,\ell)\in[n]\times[K] ( i , ℓ ) ∈ [ n ] × [ K ] , with probability at least 1 − 4 K n 3 − c C r o w 2 / 9 1-4Kn^{3-cC_{\mathrm{row}}^{2}/9} 1 − 4 K n 3 − c C row 2 /9 we have ∣ ( E U K ⋆ ) i , ℓ ∣ ≤ C r o w log n \lvert(EU_K^\star)_{i,\ell}\rvert\le C_{\mathrm{row}}\sqrt{\log n} ∣( E U K ⋆ ) i , ℓ ∣ ≤ C row log n for all ( i , ℓ ) (i,\ell) ( i , ℓ ) , and hence
∥ E U K ⋆ ∥ 2 → ∞ = max i ∑ ℓ ∣ ( E U K ⋆ ) i , ℓ ∣ 2 ≤ K ⋅ C r o w log n . \lVert EU_K^\star\rVert_{2\to\infty}
=\max_i\sqrt{\sum_\ell\lvert(EU_K^\star)_{i,\ell}\rvert^{2}}
\le\sqrt{K}\cdot C_{\mathrm{row}}\sqrt{\log n}. ∥ E U K ⋆ ∥ 2 → ∞ = i max ℓ ∑ ∣( E U K ⋆ ) i , ℓ ∣ 2 ≤ K ⋅ C row log n .
Choosing C r o w C_{\mathrm{row}} C row large enough gives (E2) for any prescribed exponent c r o w c_{\mathrm{row}} c row .
Lemma 36 (2 → ∞ \to\infty → ∞ subspace concentration). Under (A1)–(A4), there exist constants C C T P , c C T P > 0 C_{\mathrm{CTP}},c_{\mathrm{CTP}}>0 C CTP , c CTP > 0 such that, with probability at least 1 − n − c C T P 1-n^{-c_{\mathrm{CTP}}} 1 − n − c CTP , there exists O ^ ∈ O ( K ) \widehat{O}\in O(K) O ∈ O ( K ) satisfying
∥ U ^ K O ^ − U K ⋆ ∥ 2 → ∞ ≤ C C T P ⋅ K log n n . \left\|\widehat{U}_{K}\widehat{O}-U^{\star}_{K}\right\|_{2\to\infty}\le C_{\mathrm{CTP}}\cdot\frac{\sqrt{K\log n}}{n}. U K O − U K ⋆ 2 → ∞ ≤ C CTP ⋅ n K log n .
Proof. Write A e n c = P ‾ ∘ + E A^{\mathrm{enc}}=\overline{P}^{\circ}+E A enc = P ∘ + E and σ K : = σ K ( P ‾ ∘ ) = ∣ λ K ( P ‾ ∘ ) ∣ \sigma_K:=\sigma_K(\overline{P}^{\circ})=\lvert\lambda_K(\overline{P}^{\circ})\rvert σ K := σ K ( P ∘ ) = ∣ λ K ( P ∘ )∣ . We apply Cape–Tang–Priebe’s deterministic Procrustean two-to-infinity bound [4 Theorem 3.7] to this perturbation of the rank-K K K symmetric matrix P ‾ ∘ \overline{P}^{\circ} P ∘ . Since P ‾ ∘ \overline{P}^{\circ} P ∘ may be indefinite, write its rank-K K K eigendecomposition as P ‾ ∘ = U K ⋆ Λ ∘ ( U K ⋆ ) ⊤ \overline{P}^{\circ}=U^{\star}_{K}\Lambda^{\circ}(U^{\star}_{K})^{\top} P ∘ = U K ⋆ Λ ∘ ( U K ⋆ ) ⊤ with Λ ∘ : = ( 1 − τ ) Λ K ⋆ \Lambda^{\circ}:=(1-\tau)\Lambda^{\star}_{K} Λ ∘ := ( 1 − τ ) Λ K ⋆ , and set S : = diag ( sign λ 1 ⋆ , … , sign λ K ⋆ ) S:=\operatorname{diag}(\operatorname{sign}\lambda^{\star}_{1},\ldots,\operatorname{sign}\lambda^{\star}_{K}) S := diag ( sign λ 1 ⋆ , … , sign λ K ⋆ ) . In the singular value decomposition (SVD) notation of Cape–Tang–Priebe one may take the left and right singular-vector matrices to be U K ⋆ U^{\star}_{K} U K ⋆ and U K ⋆ S U^{\star}_{K}S U K ⋆ S ; both projectors then equal Π K ⋆ \Pi^{\star}_{K} Π K ⋆ , and right multiplication by S S S does not change any 2 → ∞ 2\to\infty 2 → ∞ norm. Since rank ( P ‾ ∘ ) = K \operatorname{rank}(\overline{P}^{\circ})=K rank ( P ∘ ) = K , the term in their decomposition involving P ‾ ∘ ( I − Π K ⋆ ) \overline{P}^{\circ}(I-\Pi^{\star}_{K}) P ∘ ( I − Π K ⋆ ) vanishes. For the symmetric matrix A e n c A^{\mathrm{enc}} A enc , the left singular vectors of the K K K largest singular values are the eigenvectors U ^ K \widehat{U}_{K} U K of the K K K largest absolute eigenvalues. Absorbing the fixed sign matrix into the Procrustes factors, Theorem 3.7 yields the existence of O ^ ∈ O ( K ) \widehat{O}\in O(K) O ∈ O ( K ) such that, whenever σ K ≥ 2 ∥ E ∥ o p \sigma_K\ge2\|E\|_{\mathrm{op}} σ K ≥ 2∥ E ∥ op ,
∥ U ^ K O ^ − U K ⋆ ∥ 2 → ∞ ≤ 2 ∥ ( I − Π K ⋆ ) E U K ⋆ ∥ 2 → ∞ σ K + 2 ∥ ( I − Π K ⋆ ) E ( I − Π K ⋆ ) ∥ 2 → ∞ σ K ∥ sin Θ ( U ^ K , U K ⋆ ) ∥ o p + ∥ sin Θ ( U ^ K , U K ⋆ ) ∥ o p 2 ∥ U K ⋆ ∥ 2 → ∞ . (32) \left\|\widehat{U}_{K}\widehat{O}-U^{\star}_{K}\right\|_{2\to\infty}
\le
2\frac{\left\|(I-\Pi^{\star}_{K})EU^{\star}_{K}\right\|_{2\to\infty}}{\sigma_K}
+
2\frac{\left\|(I-\Pi^{\star}_{K})E(I-\Pi^{\star}_{K})\right\|_{2\to\infty}}{\sigma_K}
\left\|\sin\Theta(\widehat{U}_{K},U^{\star}_{K})\right\|_{\mathrm{op}}
+
\left\|\sin\Theta(\widehat{U}_{K},U^{\star}_{K})\right\|_{\mathrm{op}}^{2}
\left\|U^{\star}_{K}\right\|_{2\to\infty}. \tag*{(32)} U K O − U K ⋆ 2 → ∞ ≤ 2 σ K ∥ ( I − Π K ⋆ ) E U K ⋆ ∥ 2 → ∞ + 2 σ K ∥ ( I − Π K ⋆ ) E ( I − Π K ⋆ ) ∥ 2 → ∞ sin Θ ( U K , U K ⋆ ) op + sin Θ ( U K , U K ⋆ ) op 2 ∥ U K ⋆ ∥ 2 → ∞ . (32)
Verifying applicability. On the event (E1) of Lemma 34 , ∥ E ∥ o p ≤ C o p n log n \|E\|_{\mathrm{op}}\le C_{\mathrm{op}}\sqrt{n\log n} ∥ E ∥ op ≤ C op n log n . By Lemma 33 , σ K ≥ τ 0 c γ n \sigma_K\ge\tau_0c_{\gamma}n σ K ≥ τ 0 c γ n . Hence ∥ E ∥ o p / σ K = O ( log n / n ) → 0 \|E\|_{\mathrm{op}}/\sigma_K=O(\sqrt{\log n/n})\to0 ∥ E ∥ op / σ K = O ( log n / n ) → 0 , so σ K ≥ 2 ∥ E ∥ o p \sigma_K\ge2\|E\|_{\mathrm{op}} σ K ≥ 2∥ E ∥ op for all sufficiently large n n n . Weyl separates the top-K K K absolute-eigenvalue subspace of A e n c A^{\mathrm{enc}} A enc from the rest, and Wedin’s sin Θ \Theta Θ theorem [41 ] (applied to the leading-K K K singular subspaces, which for symmetric matrices are the top-K K K absolute-eigenvalue subspaces), together with σ K ( A e n c ) ≥ σ K − ∥ E ∥ o p ≥ σ K / 2 \sigma_K(A^{\mathrm{enc}})\ge\sigma_K-\|E\|_{\mathrm{op}}\ge\sigma_K/2 σ K ( A enc ) ≥ σ K − ∥ E ∥ op ≥ σ K /2 , gives
∥ sin Θ ( U ^ K , U K ⋆ ) ∥ o p ≤ 2 ∥ E ∥ o p σ K ≤ C s i n log n n . (33) \left\|\sin\Theta(\widehat{U}_{K},U^{\star}_{K})\right\|_{\mathrm{op}}
\le\frac{2\|E\|_{\mathrm{op}}}{\sigma_K}
\le C_{\mathrm{sin}}\sqrt{\frac{\log n}{n}}. \tag*{(33)} sin Θ ( U K , U K ⋆ ) op ≤ σ K 2∥ E ∥ op ≤ C sin n log n . (33)
Bounding the three terms in (29). We use Cape’s constrained sub-multiplicativity [4 Prop. 6.5] : ∥ C A ∥ 2 → ∞ ≤ ∥ C ∥ ∞ ∥ A ∥ 2 → ∞ \|CA\|_{2\to\infty}\le\|C\|_{\infty}\|A\|_{2\to\infty} ∥ C A ∥ 2 → ∞ ≤ ∥ C ∥ ∞ ∥ A ∥ 2 → ∞ and ∥ A B ∥ 2 → ∞ ≤ ∥ A ∥ 2 → ∞ ∥ B ∥ o p \|AB\|_{2\to\infty}\le\|A\|_{2\to\infty}\|B\|_{\mathrm{op}} ∥ A B ∥ 2 → ∞ ≤ ∥ A ∥ 2 → ∞ ∥ B ∥ op , where ∥ C ∥ ∞ \|C\|_{\infty} ∥ C ∥ ∞ is the maximum absolute row sum. Block-constancy (Lemma 37 ) gives ∥ U K ⋆ ∥ 2 → ∞ ≤ K / ( n π min ) \|U^{\star}_{K}\|_{2\to\infty}\le\sqrt{K/(n\pi_{\min})} ∥ U K ⋆ ∥ 2 → ∞ ≤ K / ( n π m i n ) , and Π K ⋆ \Pi^{\star}_{K} Π K ⋆ is the block-average projector, so each row of Π K ⋆ \Pi^{\star}_{K} Π K ⋆ has absolute row sum 1 and ∥ I − Π K ⋆ ∥ ∞ ≤ 2 \|I-\Pi^{\star}_{K}\|_{\infty}\le2 ∥ I − Π K ⋆ ∥ ∞ ≤ 2 .
Term 1. Combining ∥ I − Π K ⋆ ∥ ∞ ≤ 2 \|I-\Pi^{\star}_{K}\|_{\infty}\le2 ∥ I − Π K ⋆ ∥ ∞ ≤ 2 with the row-wise event (E2) of Lemma 35,
∥ ( I − Π K ⋆ ) E U K ⋆ ∥ 2 → ∞ ≤ 2 ∥ E U K ⋆ ∥ 2 → ∞ ≤ 2 C r o w K log n . \left\|(I-\Pi^{\star}_{K})EU^{\star}_{K}\right\|_{2\to\infty}
\le2\left\|EU^{\star}_{K}\right\|_{2\to\infty}
\le2C_{\mathrm{row}}\sqrt{K\log n}. ∥ ( I − Π K ⋆ ) E U K ⋆ ∥ 2 → ∞ ≤ 2 ∥ E U K ⋆ ∥ 2 → ∞ ≤ 2 C row K log n .
Hence the first term of (29) is at most
4 C r o w τ 0 c γ K log n n . \frac{4C_{\mathrm{row}}}{\tau_0c_{\gamma}}\frac{\sqrt{K\log n}}{n}. τ 0 c γ 4 C row n K log n .
Term 2. Since every entry of E E E is bounded by 1 in absolute value, ∥ E ∥ 2 → ∞ ≤ n \|E\|_{2\to\infty}\le\sqrt{n} ∥ E ∥ 2 → ∞ ≤ n . Then
∥ ( I − Π K ⋆ ) E ( I − Π K ⋆ ) ∥ 2 → ∞ ≤ ∥ I − Π K ⋆ ∥ ∞ ∥ E ( I − Π K ⋆ ) ∥ 2 → ∞ ≤ 2 ∥ E ∥ 2 → ∞ ∥ I − Π K ⋆ ∥ o p ≤ 2 n . \left\|(I-\Pi^{\star}_{K})E(I-\Pi^{\star}_{K})\right\|_{2\to\infty}
\le\|I-\Pi^{\star}_{K}\|_{\infty}\left\|E(I-\Pi^{\star}_{K})\right\|_{2\to\infty}
\le2\|E\|_{2\to\infty}\|I-\Pi^{\star}_{K}\|_{\mathrm{op}}
\le2\sqrt{n}. ∥ ( I − Π K ⋆ ) E ( I − Π K ⋆ ) ∥ 2 → ∞ ≤ ∥ I − Π K ⋆ ∥ ∞ ∥ E ( I − Π K ⋆ ) ∥ 2 → ∞ ≤ 2∥ E ∥ 2 → ∞ ∥ I − Π K ⋆ ∥ op ≤ 2 n .
Combined with σ K ≥ τ 0 c γ n \sigma_K\ge\tau_0c_{\gamma}n σ K ≥ τ 0 c γ n and (E3),
∥ ( I − Π K ⋆ ) E ( I − Π K ⋆ ) ∥ 2 → ∞ σ K ∥ sin Θ ∥ o p ≤ 2 n τ 0 c γ n ⋅ C s i n log n n = O ( log n n ) . \frac{\left\|(I-\Pi^{\star}_{K})E(I-\Pi^{\star}_{K})\right\|_{2\to\infty}}{\sigma_K}
\left\|\sin\Theta\right\|_{\mathrm{op}}
\le\frac{2\sqrt{n}}{\tau_0c_{\gamma}n}\cdot C_{\mathrm{sin}}\sqrt{\frac{\log n}{n}}
=O\left(\frac{\sqrt{\log n}}{n}\right). σ K ∥ ( I − Π K ⋆ ) E ( I − Π K ⋆ ) ∥ 2 → ∞ ∥ sin Θ ∥ op ≤ τ 0 c γ n 2 n ⋅ C sin n log n = O ( n log n ) .
Term 3.
∥ sin Θ ∥ o p 2 ∥ U K ⋆ ∥ 2 → ∞ ≤ C s i n 2 log n n K n π min = O ( K log n n 3 / 2 ) = o ( K log n n ) . \left\|\sin\Theta\right\|_{\mathrm{op}}^{2}\left\|U^{\star}_{K}\right\|_{2\to\infty}
\le C_{\mathrm{sin}}^{2}\frac{\log n}{n}\sqrt{\frac{K}{n\pi_{\min}}}
=O\left(\frac{\sqrt{K}\log n}{n^{3/2}}\right)
=o\left(\frac{\sqrt{K\log n}}{n}\right). ∥ sin Θ ∥ op 2 ∥ U K ⋆ ∥ 2 → ∞ ≤ C sin 2 n log n n π m i n K = O ( n 3/2 K log n ) = o ( n K log n ) .
Combining. Terms 1 and 2 are O ( K log n / n ) O(\sqrt{K\log n}/n) O ( K log n / n ) and Term 3 is of lower order, so
∥ U ^ K O ^ − U K ⋆ ∥ 2 → ∞ ≤ C C T P K log n n , \left\|\widehat{U}_K\widehat{O}-U_K^\star\right\|_{2\to\infty}\le C_{\mathrm{CTP}}\frac{\sqrt{K\log n}}{n}, U K O − U K ⋆ 2 → ∞ ≤ C CTP n K log n ,
where C C T P C_{\mathrm{CTP}} C CTP depends only on ( K , p min , π min , c γ , τ 0 ) (K,p_{\min},\pi_{\min},c_\gamma,\tau_0) ( K , p m i n , π m i n , c γ , τ 0 ) . The probability statement follows from union-bounding the events of Lemmas 34 and 35.
Assembly.
Proof of Lemma 31. On the event of Lemma 36,
max i ∥ P E ( i ) O ^ − P E ⋆ ( i ) ∥ 2 = n ⋅ max i ∥ ( U ^ K O ^ ) i , : − ( U K ⋆ ) i , : ∥ 2 ≤ n ⋅ C C T P K log n n = C C T P K log n n . \begin{aligned}
\max_i\left\|\mathrm{PE}(i)\widehat{O}-\mathrm{PE}^\star(i)\right\|_2
=\sqrt{n}\cdot\max_i\left\|(\widehat{U}_K\widehat{O})_{i,:}-(U_K^\star)_{i,:}\right\|_2 \\
&\le\sqrt{n}\cdot C_{\mathrm{CTP}}\frac{\sqrt{K\log n}}{n}
=C_{\mathrm{CTP}}\sqrt{\frac{K\log n}{n}}.
\end{aligned} i max PE ( i ) O − PE ⋆ ( i ) 2 = n ⋅ i max ( U K O ) i , : − ( U K ⋆ ) i , : 2 ≤ n ⋅ C CTP n K log n = C CTP n K log n .
This proves the lemma with C A : = C C T P C_A:=C_{\mathrm{CTP}} C A := C CTP and c A : = c C T P c_A:=c_{\mathrm{CTP}} c A := c CTP .
Step B: Population PE Separates Communities
Lemma 37 (Block-constancy and separation). Under (A1)–(A3), the population PE P E ⋆ ( ⋅ ) \mathrm{PE}^\star(\cdot) PE ⋆ ( ⋅ ) takes K K K distinct values:
P E ⋆ ( i ) = μ c i ⋆ for some μ 1 ⋆ , … , μ K ⋆ ∈ R K . \mathrm{PE}^\star(i)=\mu^\star_{c_i}
\quad\text{for some }\mu^\star_1,\ldots,\mu^\star_K\in\mathbb{R}^K. PE ⋆ ( i ) = μ c i ⋆ for some μ 1 ⋆ , … , μ K ⋆ ∈ R K . The pairwise distances satisfy, exactly,
∥ μ a ⋆ − μ b ⋆ ∥ 2 2 = 1 π a + 1 π b ∀ a ≠ b , (34) \left\|\mu^\star_a-\mu^\star_b\right\|_2^2=\frac{1}{\pi_a}+\frac{1}{\pi_b}
\qquad\forall a\ne b, \tag*{(34)} ∥ μ a ⋆ − μ b ⋆ ∥ 2 2 = π a 1 + π b 1 ∀ a = b , (34) and in particular
δ P E : = min a ≠ b ∥ μ a ⋆ − μ b ⋆ ∥ 2 ≥ 2 . (35) \delta_{\mathrm{PE}}:=\min_{a\ne b}\left\|\mu^\star_a-\mu^\star_b\right\|_2\ge\sqrt{2}. \tag*{(35)} δ PE := a = b min ∥ μ a ⋆ − μ b ⋆ ∥ 2 ≥ 2 . (35) Proof. Write D π : = diag ( π 1 , … , π K ) D_\pi:=\operatorname{diag}(\pi_1,\ldots,\pi_K) D π := diag ( π 1 , … , π K ) , so Π ⊤ Π = n D π \Pi^\top\Pi=nD_\pi Π ⊤ Π = n D π and D π ≻ 0 D_\pi\succ0 D π ≻ 0 by (A2). By (A3), rank ( Θ ) = K \operatorname{rank}(\Theta)=K rank ( Θ ) = K , hence rank ( P ) = K \operatorname{rank}(P)=K rank ( P ) = K and λ k ⋆ ≠ 0 \lambda^\star_k\ne0 λ k ⋆ = 0 exactly for k ∈ [ K ] k\in[K] k ∈ [ K ] (signs unconstrained; the argument below is sign-agnostic). For each k ∈ [ K ] k\in[K] k ∈ [ K ] ,
u k ⋆ = 1 λ k ⋆ P u k ⋆ = 1 λ k ⋆ Π Θ Π ⊤ u k ⋆ = Π v k , v k : = 1 λ k ⋆ Θ Π ⊤ u k ⋆ ∈ R K , u^\star_k=\frac{1}{\lambda^\star_k}Pu^\star_k
=\frac{1}{\lambda^\star_k}\Pi\Theta\Pi^\top u^\star_k
=\Pi v_k,\qquad
v_k:=\frac{1}{\lambda^\star_k}\Theta\Pi^\top u^\star_k\in\mathbb{R}^K, u k ⋆ = λ k ⋆ 1 P u k ⋆ = λ k ⋆ 1 ΠΘ Π ⊤ u k ⋆ = Π v k , v k := λ k ⋆ 1 Θ Π ⊤ u k ⋆ ∈ R K , so u k ⋆ ( i ) = ( v k ) c i u^\star_k(i)=(v_k)_{c_i} u k ⋆ ( i ) = ( v k ) c i depends only on c i c_i c i . Stacking V : = [ v 1 , … , v K ] ∈ R K × K V:=[v_1,\ldots,v_K]\in\mathbb{R}^{K\times K} V := [ v 1 , … , v K ] ∈ R K × K : P E ⋆ ( i ) = n V c i , : = : μ c i ⋆ \mathrm{PE}^\star(i)=\sqrt{n}V_{c_i,:}=:\mu^\star_{c_i} PE ⋆ ( i ) = n V c i , : =: μ c i ⋆ , proving block-constancy.
Orthonormality ⟨ u k ⋆ , u l ⋆ ⟩ = δ k l \langle u^\star_k,u^\star_l\rangle=\delta_{kl} ⟨ u k ⋆ , u l ⋆ ⟩ = δ k l with u k ⋆ = Π v k u^\star_k=\Pi v_k u k ⋆ = Π v k yields V ⊤ D π V = 1 n I K V^\top D_\pi V=\frac{1}{n}I_K V ⊤ D π V = n 1 I K . Hence
Q : = n D π 1 / 2 V satisfies Q ⊤ Q = I K , i.e., Q ∈ O ( K ) , (36) Q:=\sqrt{n}\,D_\pi^{1/2}V
\quad\text{satisfies}\quad Q^\top Q=I_K,\quad\text{i.e., }Q\in O(K), \tag*{(36)} Q := n D π 1/2 V satisfies Q ⊤ Q = I K , i.e., Q ∈ O ( K ) , (36) and we obtain V = D π − 1 / 2 Q / n V=D_\pi^{-1/2}Q/\sqrt{n} V = D π − 1/2 Q / n and hence μ a ⋆ = n V a , : = Q a , : / π a \mu^\star_a=\sqrt{n}V_{a,:}=Q_{a,:}/\sqrt{\pi_a} μ a ⋆ = n V a , : = Q a , : / π a . Since Q Q ⊤ = I K QQ^\top=I_K Q Q ⊤ = I K , the rows of Q Q Q are orthonormal, so for a ≠ b a\ne b a = b ,
∥ μ a ⋆ − μ b ⋆ ∥ 2 2 = ∥ Q a , : ∥ 2 2 π a − 2 ⟨ Q a , : , Q b , : ⟩ π a π b + ∥ Q b , : ∥ 2 2 π b = 1 π a + 1 π b , \left\|\mu^\star_a-\mu^\star_b\right\|_2^2
=\frac{\left\|Q_{a,:}\right\|_2^2}{\pi_a}
-\frac{2\langle Q_{a,:},Q_{b,:}\rangle}{\sqrt{\pi_a\pi_b}}
+\frac{\left\|Q_{b,:}\right\|_2^2}{\pi_b}
=\frac{1}{\pi_a}+\frac{1}{\pi_b}, ∥ μ a ⋆ − μ b ⋆ ∥ 2 2 = π a ∥ Q a , : ∥ 2 2 − π a π b 2 ⟨ Q a , : , Q b , : ⟩ + π b ∥ Q b , : ∥ 2 2 = π a 1 + π b 1 , proving (30). Since π a , π b ≤ 1 \pi_a,\pi_b\le1 π a , π b ≤ 1 , δ P E 2 ≥ 2 \delta_{\mathrm{PE}}^2\ge2 δ PE 2 ≥ 2 , giving (31).
Step C: Native MPNN Realization
The spectral identity A e n c U ^ K = U ^ K Λ ^ K A^{\mathrm{enc}}\widehat{U}_K=\widehat{U}_K\widehat{\Lambda}_K A enc U K = U K Λ K lets one GIN layer implement an MLP on the spectral PE. We first treat one layer with exactly K K K PE coordinates and then extend the construction to the encoders used in practice.
Spectral Aggregation Identity.
Lemma 38 (MPNN aggregation acts as eigenvalue scaling). Let X = n U ^ K ∈ R n × K X = \sqrt{n}\widehat{U}_K \in\mathbb{R}^{n \times K} X = n U K ∈ R n × K be the spectral PE matrix. Then
A e n c X = X Λ ^ K . A^{\mathrm{enc}}X = X\widehat{\Lambda}_K. A enc X = X Λ K . i.e., for each row i i i and each column k k k :
( A e n c X ) i , k = λ ^ k ⋅ X i , k . \left(A^{\mathrm{enc}}X\right)_{i,k} = \widehat{\lambda}_k \cdot X_{i,k}. ( A enc X ) i , k = λ k ⋅ X i , k . Proof. Each column of X X X is n ⋅ ϕ k \sqrt{n}\cdot\phi_k n ⋅ ϕ k , an eigenvector of A e n c A^{\mathrm{enc}} A enc with eigenvalue λ ^ k \widehat{\lambda}_k λ k . Hence A e n c ( n ϕ k ) = λ ^ k ⋅ n ϕ k A^{\mathrm{enc}}(\sqrt{n}\phi_k) = \widehat{\lambda}_k\cdot\sqrt{n}\phi_k A enc ( n ϕ k ) = λ k ⋅ n ϕ k , which in matrix form is A e n c X = X Λ ^ K A^{\mathrm{enc}}X = X\widehat{\Lambda}_K A enc X = X Λ K .
Single-Layer GIN Realizes MLP-on-PE.
Lemma 39 (Native MPNN realizability). Let D P E = K D_{\mathrm{PE}} = K D PE = K , so that H ( 0 ) = X = n U ^ K H^{(0)} = X = \sqrt{n}\widehat{U}_K H ( 0 ) = X = n U K , and consider a 1-layer GIN of the form (26) with internal 2-layer ReLU MLP MLP ( 0 ) ( ξ ) = W 2 ( 0 ) ρ ( W 1 ( 0 ) ξ + b 1 ( 0 ) ) + b 2 ( 0 ) \operatorname{MLP}^{(0)}(\xi) = W_2^{(0)}\rho(W_1^{(0)}\xi+ b_1^{(0)}) + b_2^{(0)} MLP ( 0 ) ( ξ ) = W 2 ( 0 ) ρ ( W 1 ( 0 ) ξ + b 1 ( 0 ) ) + b 2 ( 0 ) of width m = O ( K ) m = O(K) m = O ( K ) . Choose ϵ ( 0 ) > − 1 \epsilon^{(0)} > -1 ϵ ( 0 ) > − 1 such that Γ : = ( 1 + ϵ ( 0 ) ) I K + Λ ^ K \Gamma:= (1 + \epsilon^{(0)})I_K + \widehat{\Lambda}_K Γ := ( 1 + ϵ ( 0 ) ) I K + Λ K is invertible (this holds with high probability for any fixed ϵ ( 0 ) \epsilon^{(0)} ϵ ( 0 ) once n n n is large, since by Weyl plus Lemma 34, min k ∣ λ ^ k ∣ ≥ 1 2 τ 0 c γ n \min_k|\widehat{\lambda}_k| \ge\frac{1}{2}\tau_0c_\gamma n min k ∣ λ k ∣ ≥ 2 1 τ 0 c γ n with high probability). Then for any target 2-layer ReLU MLP g ~ ( ξ ) = W ~ 2 ρ ( W ~ 1 ξ + b ~ 1 ) + b ~ 2 \widetilde{g}(\xi) = \widetilde{W}_2\rho(\widetilde{W}_1\xi+ \widetilde{b}_1) + \widetilde{b}_2 g ( ξ ) = W 2 ρ ( W 1 ξ + b 1 ) + b 2 of width m m m and any O ^ ∈ O ( K ) \widehat{O} \in O(K) O ∈ O ( K ) , there exist GIN parameters such that H i , : ( 1 ) = g ~ ( PE ( i ) O ^ ) H^{(1)}_{i,:} = \widetilde{g}(\operatorname{PE}(i)\widehat{O}) H i , : ( 1 ) = g ( PE ( i ) O ) for all i ∈ [ n ] i \in[n] i ∈ [ n ] .
Proof. By (26) and Lemma 38, H i , : ( 1 ) = MLP ( 0 ) ( ( 1 + ϵ ( 0 ) ) X i , : + X i , : Λ ^ K ) = MLP ( 0 ) ( X i , : Γ ) H^{(1)}_{i,:} = \operatorname{MLP}^{(0)}((1 + \epsilon^{(0)})X_{i,:} + X_{i,:}\widehat{\Lambda}_K) = \operatorname{MLP}^{(0)}(X_{i,:}\Gamma) H i , : ( 1 ) = MLP ( 0 ) (( 1 + ϵ ( 0 ) ) X i , : + X i , : Λ K ) = MLP ( 0 ) ( X i , : Γ ) . Choose W 1 ( 0 ) : = W ~ 1 O ^ T Γ − 1 W_1^{(0)} := \widetilde{W}_1\widehat{O}^{\mathsf{T}}\Gamma^{-1} W 1 ( 0 ) := W 1 O T Γ − 1 , b 1 ( 0 ) : = b ~ 1 b_1^{(0)} := \widetilde{b}_1 b 1 ( 0 ) := b 1 , W 2 ( 0 ) : = W ~ 2 W_2^{(0)} := \widetilde{W}_2 W 2 ( 0 ) := W 2 , b 2 ( 0 ) : = b ~ 2 b_2^{(0)} := \widetilde{b}_2 b 2 ( 0 ) := b 2 . Using column-vector inputs ( ( X i , : Γ ) T = Γ X i , : T ((X_{i,:}\Gamma)^{\mathsf{T}} = \Gamma X_{i,:}^{\mathsf{T}} (( X i , : Γ ) T = Γ X i , : T , since Γ \Gamma Γ is diagonal) and O ^ T X i , : T = ( X i , : O ^ ) T \widehat{O}^{\mathsf{T}}X_{i,:}^{\mathsf{T}} = (X_{i,:}\widehat{O})^{\mathsf{T}} O T X i , : T = ( X i , : O ) T , W 1 ( 0 ) ( X i , : Γ ) T = W ~ 1 O ^ T Γ − 1 Γ X i , : T = W ~ 1 ( X i , : O ^ ) T W_1^{(0)}(X_{i,:}\Gamma)^{\mathsf{T}} = \widetilde{W}_1\widehat{O}^{\mathsf{T}}\Gamma^{-1}\Gamma X_{i,:}^{\mathsf{T}} = \widetilde{W}_1(X_{i,:}\widehat{O})^{\mathsf{T}} W 1 ( 0 ) ( X i , : Γ ) T = W 1 O T Γ − 1 Γ X i , : T = W 1 ( X i , : O ) T , so MLP ( 0 ) ( X i , : Γ ) = W ~ 2 ρ ( W ~ 1 ( X i , : O ^ ) T + b ~ 1 ) + b ~ 2 = g ~ ( PE ( i ) O ^ ) \operatorname{MLP}^{(0)}(X_{i,:}\Gamma) = \widetilde{W}_2\rho(\widetilde{W}_1(X_{i,:}\widehat{O})^{\mathsf{T}} + \widetilde{b}_1) + \widetilde{b}_2 = \widetilde{g}(\operatorname{PE}(i)\widehat{O}) MLP ( 0 ) ( X i , : Γ ) = W 2 ρ ( W 1 ( X i , : O ) T + b 1 ) + b 2 = g ( PE ( i ) O ) .
Extra PE coordinates and depth.
Lemma 39 uses one layer and exactly K K K PE coordinates. The next lemma shows that the same output is realizable by the encoders used in practice, which have more PE coordinates and more layers.
Lemma 40 (Extra PE coordinates and deeper GIN). Let H ( 0 ) = X P E H^{(0)} = X_{\mathrm{PE}} H ( 0 ) = X PE with D P E ≥ K D_{\mathrm{PE}} \ge K D PE ≥ K , and consider an L L L -layer GIN of the form (26) with L ≥ 1 L \ge1 L ≥ 1 and internal MLPs and intermediate layers of width at least 2 K 2K 2 K . On the event of Lemma 34 and for n n n large, for any target 2-layer ReLU MLP g ~ \widetilde{g} g of width K K K and any O ^ ∈ O ( K ) \widehat{O} \in O(K) O ∈ O ( K ) , there exist parameters such that H i , : ( L ) = g ~ ( PE ( i ) O ^ ) H^{(L)}_{i,:} = \widetilde{g}(\operatorname{PE}(i)\widehat{O}) H i , : ( L ) = g ( PE ( i ) O ) for all i ∈ [ n ] i \in[n] i ∈ [ n ] .
Proof. Every column of X P E X_{\mathrm{PE}} X PE is an eigenvector of A e n c A^{\mathrm{enc}} A enc , so A e n c X P E = X P E Λ ^ A^{\mathrm{enc}}X_{\mathrm{PE}} = X_{\mathrm{PE}}\widehat{\Lambda} A enc X PE = X PE Λ with Λ ^ : = diag ( λ ^ 1 , … , λ ^ D P E ) \widehat{\Lambda} := \operatorname{diag}(\widehat{\lambda}_1,\ldots,\widehat{\lambda}_{D_{\mathrm{PE}}}) Λ := diag ( λ 1 , … , λ D PE ) . Let S ∈ R D P E × K S \in\mathbb{R}^{D_{\mathrm{PE}}\times K} S ∈ R D PE × K select the first K K K coordinates, so X P E S = X = n U ^ K X_{\mathrm{PE}}S = X = \sqrt{n}\widehat{U}_K X PE S = X = n U K . Take ϵ ( l ) = ϵ \epsilon^{(l)} = \epsilon ϵ ( l ) = ϵ in every layer and let Γ : = ( 1 + ϵ ) I K + Λ ^ K \Gamma:= (1 + \epsilon)I_K + \widehat{\Lambda}_K Γ := ( 1 + ϵ ) I K + Λ K , invertible as in Lemma 39.
L = 1 L = 1 L = 1 . Proceed as in Lemma 39 with first-layer weight W ~ 1 O ^ T Γ − 1 S T \widetilde{W}_1\widehat{O}^{\mathsf{T}}\Gamma^{-1}S^{\mathsf{T}} W 1 O T Γ − 1 S T . Since S T ( ( 1 + ϵ ) I + Λ ^ ) = Γ S T S^{\mathsf{T}}((1 + \epsilon)I + \widehat{\Lambda}) = \Gamma S^{\mathsf{T}} S T (( 1 + ϵ ) I + Λ ) = Γ S T , the first linear map of the MLP sends the aggregated input of node i i i to W ~ 1 ( PE ( i ) O ^ ) T \widetilde{W}_1(\operatorname{PE}(i)\widehat{O})^{\mathsf{T}} W 1 ( PE ( i ) O ) T , and the extra D P E − K D_{\mathrm{PE}} - K D PE − K coordinates receive zero weight.
L ≥ 2 L \ge2 L ≥ 2 . Let the first layer output the 2 K 2K 2 K channels [ ρ ( X ) , ρ ( − X ) ] [\rho(X),\rho(-X)] [ ρ ( X ) , ρ ( − X )] , with all other channels zero: take first-layer weight [ Γ − 1 S T ; − Γ − 1 S T ] [\Gamma^{-1}S^{\mathsf{T}};-\Gamma^{-1}S^{\mathsf{T}}] [ Γ − 1 S T ; − Γ − 1 S T ] , zero biases, and an identity second weight. The ReLU between layers leaves these nonnegative channels unchanged. Since aggregation is linear in the node dimension and ρ ( x ) − ρ ( − x ) = x \rho(x) - \rho(-x) = x ρ ( x ) − ρ ( − x ) = x , applying [ I K , − I K ] [I_K,-I_K] [ I K , − I K ] to the aggregated output of the next layer gives ( 1 + ϵ ) X + A e n c X = X Γ (1 + \epsilon)X + A^{\mathrm{enc}}X = X\Gamma ( 1 + ϵ ) X + A enc X = X Γ . An intermediate layer therefore uses first weight [ Γ − 1 ; − Γ − 1 ] [ I K , − I K ] [\Gamma^{-1};-\Gamma^{-1}][I_K,-I_K] [ Γ − 1 ; − Γ − 1 ] [ I K , − I K ] and again outputs [ ρ ( X ) , ρ ( − X ) ] [\rho(X),\rho(-X)] [ ρ ( X ) , ρ ( − X )] . The last layer uses first weight W ~ 1 O ^ T Γ − 1 [ I K , − I K ] \widetilde{W}_1\widehat{O}^{\mathsf{T}}\Gamma^{-1}[I_K,-I_K] W 1 O T Γ − 1 [ I K , − I K ] and the remaining parameters of g ~ \widetilde{g} g , which gives H i , : ( L ) = g ~ ( PE ( i ) O ^ ) H^{(L)}_{i,:} = \widetilde{g}(\operatorname{PE}(i)\widehat{O}) H i , : ( L ) = g ( PE ( i ) O ) . The construction uses widths at most 2 K 2K 2 K ; any extra units receive zero weights.
Lipschitz target and Step C conclusion. To deploy Lemmas 39 and 40 in the Master Lemma, we choose g ~ \tilde{g} g ~ to interpolate prototypes to embeddings.
Lemma 41 (Step C: target Lipschitz interpolation). Under Lemma 37 (separation δ P E > 0 \delta_{\mathrm{PE}}>0 δ PE > 0 ), for any prescribed embedding targets { u a ⋆ } a ∈ [ K ] ⊂ R d \{u_a^\star\}_{a\in[K]} \subset\mathbb{R}^d { u a ⋆ } a ∈ [ K ] ⊂ R d with ∥ u a ⋆ ∥ ≤ R \lVert u_a^\star\rVert\le R ∥ u a ⋆ ∥ ≤ R , there exists a 2-layer ReLU MLP g ~ : R K → R d \tilde{g}:\mathbb{R}^K\to\mathbb{R}^d g ~ : R K → R d of width O ( K ) O(K) O ( K ) satisfying:
(i) g ~ ( μ a ⋆ ) = u a ⋆ \tilde{g}(\mu_a^\star)=u_a^\star g ~ ( μ a ⋆ ) = u a ⋆ for all a ∈ [ K ] a\in[K] a ∈ [ K ] .
(ii) g ~ \tilde{g} g ~ is L g L_g L g -Lipschitz on ⋃ a B r n ( μ a ⋆ ) \bigcup_a B_{r_n}(\mu_a^\star) ⋃ a B r n ( μ a ⋆ ) with L g ≤ 2 R L_g\le2R L g ≤ 2 R .
Proof. We adopt column-vector convention for MLP inputs throughout this proof. In particular, via Step B (Lemma 37 ) we identify
μ a ⋆ = ( Q a , : ) ⊤ / π a = Q ⊤ e a / π a ∈ R K , \mu_a^\star=(Q_{a,:})^\top/\sqrt{\pi_a}=Q^\top e_a/\sqrt{\pi_a}\in\mathbb{R}^K, μ a ⋆ = ( Q a , : ) ⊤ / π a = Q ⊤ e a / π a ∈ R K ,
where e a ∈ R K e_a\in\mathbb{R}^K e a ∈ R K is the a a a -th standard basis vector and Q ∈ O ( K ) Q\in O(K) Q ∈ O ( K ) is the orthogonal matrix from (36) .
Construction. Set hidden width m : = K m:=K m := K and choose MLP parameters
W ~ 1 : = Q ∈ R K × K , b ~ 1 : = − t ∈ R K with t a : = 1 2 π a , (37) \widetilde{W}_1:=Q\in\mathbb{R}^{K\times K},\qquad\widetilde{b}_1:=-t\in\mathbb{R}^K\text{ with }t_a:=\frac{1}{2\sqrt{\pi_a}}, \tag*{(37)} W 1 := Q ∈ R K × K , b 1 := − t ∈ R K with t a := 2 π a 1 , (37)
W ~ 2 : = [ 2 π 1 u 1 ⋆ ∣ ⋯ ∣ 2 π K u K ⋆ ] ∈ R d × K , b ~ 2 : = 0 , \widetilde{W}_2:=\left[2\sqrt{\pi_1}u_1^\star\mid\cdots\mid2\sqrt{\pi_K}u_K^\star\right]\in\mathbb{R}^{d\times K},\qquad\widetilde{b}_2:=0, W 2 := [ 2 π 1 u 1 ⋆ ∣ ⋯ ∣ 2 π K u K ⋆ ] ∈ R d × K , b 2 := 0 ,
so that
g ~ ( ξ ) = W ~ 2 ρ ( W ~ 1 ξ + b ~ 1 ) + b ~ 2 = ∑ a = 1 K 2 π a u a ⋆ ρ ( ( Q ξ ) a − t a ) , (38) \tilde{g}(\xi)=\widetilde{W}_2\rho(\widetilde{W}_1\xi+\widetilde{b}_1)+\widetilde{b}_2=\sum_{a=1}^K2\sqrt{\pi_a}u_a^\star\rho((Q\xi)_a-t_a), \tag*{(38)} g ~ ( ξ ) = W 2 ρ ( W 1 ξ + b 1 ) + b 2 = a = 1 ∑ K 2 π a u a ⋆ ρ (( Q ξ ) a − t a ) , (38)
where ( Q ξ ) a (Q\xi)_a ( Q ξ ) a denotes the a a a -th coordinate of Q ξ Q\xi Q ξ .
(i) Exact interpolation. Since Q Q ⊤ = I K QQ^\top=I_K Q Q ⊤ = I K , Q μ a ⋆ = e a / π a Q\mu_a^\star=e_a/\sqrt{\pi_a} Q μ a ⋆ = e a / π a , i.e. ( Q μ a ⋆ ) b = δ a b / π a (Q\mu_a^\star)_b=\delta_{ab}/\sqrt{\pi_a} ( Q μ a ⋆ ) b = δ ab / π a . Fix a ∈ [ K ] a\in[K] a ∈ [ K ] : at the “on” neuron b = a b=a b = a , the pre-activation is 1 / π a − t a = 1 / ( 2 π a ) > 0 1/\sqrt{\pi_a}-t_a=1/(2\sqrt{\pi_a})>0 1/ π a − t a = 1/ ( 2 π a ) > 0 so ρ = 1 / ( 2 π a ) \rho=1/(2\sqrt{\pi_a}) ρ = 1/ ( 2 π a ) ; at any “off” neuron b ≠ a b\ne a b = a , the pre-activation is 0 − t b < 0 0-t_b<0 0 − t b < 0 so ρ = 0 \rho=0 ρ = 0 . Plugging into (34), g ~ ( μ a ⋆ ) = 2 π a u a ⋆ ⋅ 1 2 π a = u a ⋆ \tilde{g}(\mu_a^\star)=2\sqrt{\pi_a}u_a^\star\cdot\frac{1}{2\sqrt{\pi_a}}=u_a^\star g ~ ( μ a ⋆ ) = 2 π a u a ⋆ ⋅ 2 π a 1 = u a ⋆ .
(ii) Lipschitz constant. As a composition of the orthogonal Q Q Q (∥ Q ∥ o p = 1 \lVert Q\rVert_{\mathrm{op}}=1 ∥ Q ∥ op = 1 ), 1-Lipschitz ReLU, and the linear map W ~ 2 \widetilde{W}_2 W 2 , L g ≤ ∥ W ~ 2 ∥ o p L_g\le\lVert\widetilde{W}_2\rVert_{\mathrm{op}} L g ≤ ∥ W 2 ∥ op . For any v ∈ R K v\in\mathbb{R}^K v ∈ R K , by triangle inequality, ∥ u a ⋆ ∥ ≤ R \lVert u_a^\star\rVert\le R ∥ u a ⋆ ∥ ≤ R , and Cauchy–Schwarz with ∑ a π a = 1 \sum_a\pi_a=1 ∑ a π a = 1 ,
∥ W ~ 2 v ∥ = ∥ ∑ a 2 π a v a u a ⋆ ∥ ≤ 2 R ∑ a π a ∣ v a ∣ ≤ 2 R ∑ a π a ∥ v ∥ = 2 R ∥ v ∥ . \lVert\widetilde{W}_2v\rVert=\left\lVert\sum_a2\sqrt{\pi_a}v_au_a^\star\right\rVert\le2R\sum_a\sqrt{\pi_a}|v_a|\le2R\sqrt{\sum_a\pi_a}\lVert v\rVert=2R\lVert v\rVert. ∥ W 2 v ∥ = a ∑ 2 π a v a u a ⋆ ≤ 2 R a ∑ π a ∣ v a ∣ ≤ 2 R a ∑ π a ∥ v ∥ = 2 R ∥ v ∥ .
Hence L g ≤ 2 R L_g\le2R L g ≤ 2 R . The hidden width m = K m=K m = K matches the O ( K ) O(K) O ( K ) requirement of Lemma 39 .
:::
Combined Step A + Step C bound. Fix the event of Lemma 31 , take O ^ \widehat{O} O from Step A, and take g ~ \tilde{g} g ~ from Lemma 41 . Lemma 39 (for L = 1 L=1 L = 1 and D P E = K D_{\mathrm{PE}}=K D PE = K ) or Lemma 40 (in general) gives GIN parameters whose pre-projection output is H i , : ( L ) = g ~ ( P E ( i ) O ^ ) H_{i,:}^{(L)}=\tilde{g}(\mathrm{PE}(i)\widehat{O}) H i , : ( L ) = g ~ ( PE ( i ) O ) . The readout used in the Master Lemma is therefore
g : = Π B R ( 0 ) ∘ g ~ . g:=\Pi_{B_R(0)}\circ\tilde{g}. g := Π B R ( 0 ) ∘ g ~ .
Since Π B R ( 0 ) \Pi_{B_R(0)} Π B R ( 0 ) is 1-Lipschitz and fixes every target prototype u a ⋆ ∈ B R ( 0 ) u_a^\star\in B_R(0) u a ⋆ ∈ B R ( 0 ) , we have g ( μ a ⋆ ) = u a ⋆ g(\mu_a^\star)=u_a^\star g ( μ a ⋆ ) = u a ⋆ , Lip ( g ) ≤ Lip ( g ~ ) ≤ 2 R \operatorname{Lip}(g)\le\operatorname{Lip}(\tilde{g})\le2R Lip ( g ) ≤ Lip ( g ~ ) ≤ 2 R , and z i = g ( P E ( i ) O ^ ) z_i=g(\mathrm{PE}(i)\widehat{O}) z i = g ( PE ( i ) O ) satisfies ∥ z i − u c i ⋆ ∥ ≤ L g ∥ P E ( i ) O ^ − μ c i ⋆ ∥ ≤ L g r n \lVert z_i-u_{c_i}^\star\rVert\le L_g\lVert\mathrm{PE}(i)\widehat{O}-\mu_{c_i}^\star\rVert\le L_gr_n ∥ z i − u c i ⋆ ∥ ≤ L g ∥ PE ( i ) O − μ c i ⋆ ∥ ≤ L g r n . This feeds the Master Lemma with ϕ i : = P E ( i ) O ^ \phi_i:=\mathrm{PE}(i)\widehat{O} ϕ i := PE ( i ) O , prototypes μ a ⋆ \mu_a^\star μ a ⋆ , readout g g g , and concentration radius r n r_n r n .
Step D: Decoder Realizability
Lemma 42 (Step D: bilinear decoder realization). Under (A5), there exist target embeddings { u a ⋆ } a ∈ [ K ] ⊂ R d \{u_a^\star\}_{a\in[K]}\subset\mathbb{R}^d { u a ⋆ } a ∈ [ K ] ⊂ R d (with d ≥ K d\ge K d ≥ K ) satisfying ∥ u a ⋆ ∥ ≤ R \lVert u_a^\star\rVert\le R ∥ u a ⋆ ∥ ≤ R , symmetric W ⋆ ∈ R d × d W^\star\in\mathbb{R}^{d\times d} W ⋆ ∈ R d × d with ∥ W ⋆ ∥ o p ≤ W max \lVert W^\star\rVert_{\mathrm{op}}\le W_{\max} ∥ W ⋆ ∥ op ≤ W m a x , and b ⋆ ∈ R b^\star\in\mathbb{R} b ⋆ ∈ R with ∣ b ⋆ ∣ ≤ B 0 |b^\star|\le B_0 ∣ b ⋆ ∣ ≤ B 0 , such that
b ⋆ + ( u a ⋆ ) ⊤ W ⋆ u b ⋆ = m a b ⋆ ∀ a , b ∈ [ K ] . b^\star+(u_a^\star)^\top W^\star u_b^\star=m_{ab}^\star\qquad\forall\,a,b\in[K]. b ⋆ + ( u a ⋆ ) ⊤ W ⋆ u b ⋆ = m ab ⋆ ∀ a , b ∈ [ K ] .
Proof. Let
b ⋆ ∈ arg min ∣ b ∣ ≤ B 0 ∥ M ⋆ − b 11 T ∥ o p , M ~ : = M ⋆ − b ⋆ 11 T ∈ R K × K . b^\star\in\arg\min_{|b|\le B_0} \|M^\star-b\mathbf{1}\mathbf{1}^{\mathsf T}\|_{\mathrm{op}},\qquad\widetilde{M}:=M^\star-b^\star\mathbf{1}\mathbf{1}^{\mathsf T}\in\mathbb{R}^{K\times K}. b ⋆ ∈ arg ∣ b ∣ ≤ B 0 min ∥ M ⋆ − b 1 1 T ∥ op , M := M ⋆ − b ⋆ 1 1 T ∈ R K × K .
The argmin exists since the objective is continuous and the feasible set [ − B 0 , B 0 ] [-B_0,B_0] [ − B 0 , B 0 ] is compact; by construction ∣ b ⋆ ∣ ≤ B 0 |b^\star|\le B_0 ∣ b ⋆ ∣ ≤ B 0 . Since M ~ \widetilde{M} M is symmetric, spectrally decompose
M ~ = ∑ k = 1 K ν k ψ k ψ k T , { ψ k } k = 1 K ⊂ R K orthonormal , ν k ∈ R . \widetilde{M}=\sum_{k=1}^{K}\nu_k\psi_k\psi_k^{\mathsf T},\qquad\{\psi_k\}_{k=1}^{K}\subset\mathbb{R}^{K}\text{ orthonormal},\ \nu_k\in\mathbb{R}. M = k = 1 ∑ K ν k ψ k ψ k T , { ψ k } k = 1 K ⊂ R K orthonormal , ν k ∈ R .
Stack the eigenvectors into the orthogonal matrix Ψ : = [ ψ 1 , … , ψ K ] ∈ R K × K \Psi:=[\psi_1,\ldots,\psi_K]\in\mathbb{R}^{K\times K} Ψ := [ ψ 1 , … , ψ K ] ∈ R K × K and embed into R d \mathbb{R}^{d} R d by zero-padding:
u ~ a : = ( ( Ψ a , : ) T , 0 , … , 0 ) T ∈ R d , W ~ : = diag ( ν 1 , … , ν K , 0 , … , 0 ) ∈ R d × d . \widetilde{u}_a:=\left((\Psi_{a,:})^{\mathsf T},0,\ldots,0\right)^{\mathsf T}\in\mathbb{R}^{d},\qquad\widetilde{W}:=\operatorname{diag}(\nu_1,\ldots,\nu_K,0,\ldots,0)\in\mathbb{R}^{d\times d}. u a := ( ( Ψ a , : ) T , 0 , … , 0 ) T ∈ R d , W := diag ( ν 1 , … , ν K , 0 , … , 0 ) ∈ R d × d .
Then
( u ~ a ) T W ~ u ~ b = ∑ k = 1 K ν k Ψ a , k Ψ b , k = M ~ a b , (\widetilde{u}_a)^{\mathsf T}\widetilde{W}\widetilde{u}_b=\sum_{k=1}^{K}\nu_k\Psi_{a,k}\Psi_{b,k}=\widetilde{M}_{ab}, ( u a ) T W u b = k = 1 ∑ K ν k Ψ a , k Ψ b , k = M ab ,
so b ⋆ + ( u ~ a ) T W ~ u ~ b = m a b ⋆ b^\star+(\widetilde{u}_a)^{\mathsf T}\widetilde{W}\widetilde{u}_b=m^\star_{ab} b ⋆ + ( u a ) T W u b = m ab ⋆ . Moreover ∥ u ~ a ∥ = ∥ Ψ a , : ∥ = 1 \|\widetilde{u}_a\|=\|\Psi_{a,:}\|=1 ∥ u a ∥ = ∥ Ψ a , : ∥ = 1 because Ψ \Psi Ψ is orthogonal, and ∥ W ~ ∥ o p = ∥ M ~ ∥ o p \|\widetilde{W}\|_{\mathrm{op}}=\|\widetilde{M}\|_{\mathrm{op}} ∥ W ∥ op = ∥ M ∥ op .
Set
u a ⋆ : = R u ~ a , W ⋆ : = R − 2 W ~ . u_a^\star:=R\widetilde{u}_a,\qquad W^\star:=R^{-2}\widetilde{W}. u a ⋆ := R u a , W ⋆ := R − 2 W .
Then ∥ u a ⋆ ∥ = R \|u_a^\star\|=R ∥ u a ⋆ ∥ = R and the bilinear identity is unchanged. By (A5),
∥ W ⋆ ∥ o p = R − 2 ∥ M ~ ∥ o p = R − 2 min ∣ b ∣ ≤ B 0 ∥ M ⋆ − b 11 T ∥ o p ≤ W max . \|W^\star\|_{\mathrm{op}}=R^{-2}\|\widetilde{M}\|_{\mathrm{op}}=R^{-2}\min_{|b|\le B_0}\|M^\star-b\mathbf{1}\mathbf{1}^{\mathsf T}\|_{\mathrm{op}}\le W_{\max}. ∥ W ⋆ ∥ op = R − 2 ∥ M ∥ op = R − 2 ∣ b ∣ ≤ B 0 min ∥ M ⋆ − b 1 1 T ∥ op ≤ W m a x .
Thus ( u a ⋆ , W ⋆ , b ⋆ ) (u_a^\star,W^\star,b^\star) ( u a ⋆ , W ⋆ , b ⋆ ) is admissible for the bounded encoder–decoder class and exactly realizes M ⋆ M^\star M ⋆ at the community prototypes. □
Proof of Proposition 10
Proof of Proposition 10. Combine the four steps via the Master Lemma. Step D (Lemma 42 ) supplies { u a ⋆ } , W ⋆ , b ⋆ \{u_a^\star\},W^\star,b^\star { u a ⋆ } , W ⋆ , b ⋆ with ∥ u a ⋆ ∥ ≤ R \|u_a^\star\|\le R ∥ u a ⋆ ∥ ≤ R , ∥ W ⋆ ∥ o p ≤ W max \|W^\star\|_{\mathrm{op}}\le W_{\max} ∥ W ⋆ ∥ op ≤ W m a x , and ∣ b ⋆ ∣ ≤ B 0 |b^\star|\le B_0 ∣ b ⋆ ∣ ≤ B 0 . Step A (Lemma 31 ) gives, with probability at least 1 − n − c A 1-n^{-c_A} 1 − n − c A , an orthogonal matrix O ^ ∈ O ( K ) \widehat{O}\in O(K) O ∈ O ( K ) satisfying
max i ∥ P E ( i ) O ^ − μ c i ⋆ ∥ ≤ r n = C A K log n n . \max_i\|\mathrm{PE}(i)\widehat{O}-\mu_{c_i}^\star\|\le r_n=C_A\sqrt{\frac{K\log n}{n}}. i max ∥ PE ( i ) O − μ c i ⋆ ∥ ≤ r n = C A n K log n .
Step B (Lemma 37 ) gives the population prototypes μ a ⋆ \mu_a^\star μ a ⋆ and their separation. Step C combines Lemmas 39 , 40 , and 41 : for the realized A e n c A^{\mathrm{enc}} A enc , the GIN parameters can absorb O ^ \widehat{O} O and Λ ^ K \widehat{\Lambda}_K Λ K and implement the readout
g : = Π B R ( 0 ) ∘ g ~ , g ( μ a ⋆ ) = u a ⋆ , Lip ( g ) ≤ L g ≤ 2 R . g:=\Pi_{B_R(0)}\circ\widetilde{g},\qquad g(\mu_a^\star)=u_a^\star,\qquad\operatorname{Lip}(g)\le L_g\le2R. g := Π B R ( 0 ) ∘ g , g ( μ a ⋆ ) = u a ⋆ , Lip ( g ) ≤ L g ≤ 2 R .
The resulting embeddings satisfy ∥ z i ∥ ≤ R \|z_i\|\le R ∥ z i ∥ ≤ R , and ( W ⋆ , b ⋆ ) (W^\star,b^\star) ( W ⋆ , b ⋆ ) satisfies the constraints of Assumption 1, so the score matrix lies in S ( A , T ) \mathcal{S}(A,T) S ( A , T ) . This is a pathwise witness for the in-class infimum defining ε a p p \varepsilon_{\mathrm{app}} ε app ; no optimization claim is made.
Apply Lemma 30 with ϕ i : = P E ( i ) O ^ \phi_i:=\mathrm{PE}(i)\widehat{O} ϕ i := PE ( i ) O , prototypes μ a ⋆ \mu_a^\star μ a ⋆ , readout g g g , decoder ( W ⋆ , b ⋆ ) (W^\star,b^\star) ( W ⋆ , b ⋆ ) , and R u = R R_u=R R u = R . On the Step-A event,
ε a p p ≤ 1 8 W max 2 ( 2 R L g r n + L g 2 r n 2 ) 2 . \varepsilon_{\mathrm{app}}\le\frac{1}{8}W_{\max}^2\left(2RL_gr_n+L_g^2r_n^2\right)^2. ε app ≤ 8 1 W m a x 2 ( 2 R L g r n + L g 2 r n 2 ) 2 .
Since L g ≤ 2 R L_g\le2R L g ≤ 2 R and r n = o ( 1 ) r_n=o(1) r n = o ( 1 ) ,
ε a p p ≤ C W max 2 R 4 r n 2 ≤ C ′ W max 2 R 4 K log n n = C ′ ′ log n n , \varepsilon_{\mathrm{app}}\le CW_{\max}^2R^4r_n^2\le C'W_{\max}^2R^4\frac{K\log n}{n}=\frac{C''\log n}{n}, ε app ≤ C W m a x 2 R 4 r n 2 ≤ C ′ W m a x 2 R 4 n K log n = n C ′′ log n ,
where the final constant absorbs fixed K K K and depends only on ( K , p min , π min , c γ , τ 0 , W max , R ) (K,p_{\min},\pi_{\min},c_\gamma,\tau_0,W_{\max},R) ( K , p m i n , π m i n , c γ , τ 0 , W m a x , R ) . □
Scope of the Construction
Proposition 10 is an existence statement for one subclass: GIN with spectral PE and a general bilinear decoder. By Lemma 40, this subclass includes the 2-layer GIN with D P E = 8 D_{\mathrm{PE}}=8 D PE = 8 and hidden width 64 used in § 4 , for every K ≤ 4 K \le4 K ≤ 4 . Because ϵ a p p \epsilon_{\mathrm{app}} ϵ app is an in-class infimum, the same bound transfers to any larger encoder–decoder family that contains this construction.
The proof uses only that the aggregation operator is fixed and diagonalized by the PE, so that aggregation acts on the PE as a diagonal scaling (Lemma 38). Attention-based aggregators such as GAT are input-dependent. Normalized aggregators such as GCN and GraphSAGE are fixed, but in general they are not diagonalized by the spectral PE of A e n c A^{\mathrm{enc}} A enc , nor by the Laplacian PE that our GCN and GAT runs use (App. § 16 .§ 1 ). These configurations require separate compatibility arguments (App. § 18 .§ 1 ). The dense-regime assumption is also essential: in sparse SBMs the 2 → ∞ 2 \to\infty 2 → ∞ concentration in Lemma 36 can be too weak for r n → 0 r_n \to0 r n → 0 without a different spectral analysis.
Experimental Setup, Full Sweeps, and Additional Architectures
This appendix records the full experimental setup, the seed coverage of each cell, the K ∈ { 2 , 4 } K \in\{2,4\} K ∈ { 2 , 4 } sweeps for the architectures that recover the communities, and the Step-1 ratio across all sweeps. The K = 4 K=4 K = 4 failures of GCN+PE and GAT+PE are discussed in App. § 18 .
Hyperparameters and Training
Encoders. GIN [43 ] : 2 layers, hidden width 64, learnable ϵ \epsilon ϵ initialized at 0. GCN [20 ] : 2 layers, hidden width 64, symmetric normalization with self-loops. GAT [39 ] : 2 layers, 4 attention heads of width 16, concatenated in the hidden layer and averaged in the output layer. Centered-power encoder (CP), a power-iteration encoder inspired by ChebNet [6 ] : 10 propagation steps H ( ℓ + 1 ) = CS ( A e n c H ( ℓ ) ) H^{(\ell+1)}=\operatorname{CS}(A^{\mathrm{enc}}H^{(\ell)}) H ( ℓ + 1 ) = CS ( A enc H ( ℓ ) ) with H ( 0 ) = X H^{(0)}=X H ( 0 ) = X , where CS centers each column and scales it to unit variance. The outputs of all 10 steps are concatenated, passed through layer normalization, and mapped to R d \mathbb{R}^{d} R d by a 2-layer ReLU MLP of hidden width 64. The propagation steps have no trainable parameters. All encoders output embeddings of dimension d = 16 d=16 d = 16 .
Features. GIN+PE uses the spectral PE of Prop. 10: the D P E = 8 D_{\mathrm{PE}}=8 D PE = 8 eigenvectors of A e n c A^{\mathrm{enc}} A enc with the largest ∣ λ ∣ |\lambda| ∣ λ ∣ , rescaled by n \sqrt{n} n . This setting is covered by Prop. 10 (Lemma 40). GCN+PE and GAT+PE use a Laplacian PE: the eigenvectors of I − D − 1 / 2 A e n c D − 1 / 2 I-D^{-1/2}A^{\mathrm{enc}}D^{-1/2} I − D − 1/2 A enc D − 1/2 , with D D D the degree matrix of A e n c A^{\mathrm{enc}} A enc , for the 2nd to 9th smallest eigenvalues (the trivial eigenvector is skipped), each column rescaled to unit standard deviation. The two PEs differ, so “+PE” does not denote the same input across architectures. GIN+random and CP+random use i.i.d. N ( 0 , 1 ) \mathcal{N}(0,1) N ( 0 , 1 ) features in 16 dimensions, drawn once per seed. All graph-derived features are computed from A e n c A^{\mathrm{enc}} A enc .
Decoder and constraints. Symmetric bilinear decoder s i j = b + z i T W z j s_{ij}=b+z_i^{\mathsf{T}}Wz_j s ij = b + z i T W z j . All constraints are enforced in the forward pass, so every evaluated model satisfies Assumption 1. Embeddings are projected onto the ℓ 2 \ell_2 ℓ 2 -ball of radius R = 1.5 R=1.5 R = 1.5 ; W W W is computed from an unconstrained matrix M M M by symmetrizing it and clipping its eigenvalues to [ − W max , W max ] [-W_{\max},W_{\max}] [ − W m a x , W m a x ] ; and b = B 0 tanh ( b r a w ) b=B_0\tanh(b_{\mathrm{raw}}) b = B 0 tanh ( b raw ) . The bias is initialized at zero, and M M M at 0.8 min ( W max , 1 ) I + 0.01 ⋅ randn ( d , d ) 0.8\min(W_{\max},1)I+0.01\cdot\operatorname{randn}(d,d) 0.8 min ( W m a x , 1 ) I + 0.01 ⋅ randn ( d , d ) .
Optimizer. Adam, learning rate 10 − 3 10^{-3} 1 0 − 3 , weight decay 10 − 4 10^{-4} 1 0 − 4 , full-batch BCE on T \mathcal{T} T for 2500 epochs (3500 for CP+random), with no early stopping. GIN+random is trained from 3 random restarts, and we keep the restart with the lowest final training loss; all other configurations use a single run. Held-out pairs are never used for stopping or selection.
Norm-rule details. For the n n n , K K K , W max W_{\max} W m a x , and ρ n \rho_n ρ n sweeps, capacity is set relative to the SBM logit gap: W max = ( cap-ratio ) ⋅ cap / R 2 W_{\max}=(\text{cap-ratio})\cdot\text{cap}/R^2 W m a x = ( cap-ratio ) ⋅ cap / R 2 with \text{cap}=|\logit p_{\mathrm{in}}-\logit p_{\mathrm{out}}| and default cap-ratio 2. For the symmetric SBMs used here, min b ∥ M ∗ − b 11 T ∥ o p = cap \min_b\|M^*-b\mathbf{1}\mathbf{1}^{\mathsf{T}}\|_{\mathrm{op}}=\text{cap} min b ∥ M ∗ − b 1 1 T ∥ op = cap , so cap-ratio 1 is exactly the bilinear capacity condition (A5) of App. J, which is sufficient. Realizability needs at least cap-ratio ( K − 1 ) / K (K-1)/K ( K − 1 ) / K (Prop. 14). These sweeps also set B 0 = ∣ b ∗ ∣ + 0.5 B_0=|b^*|+0.5 B 0 = ∣ b ∗ ∣ + 0.5 , where b ∗ b^* b ∗ minimizes ∥ M ∗ − b 11 T ∥ o p \|M^*-b\mathbf{1}\mathbf{1}^{\mathsf{T}}\|_{\mathrm{op}} ∥ M ∗ − b 1 1 T ∥ op (Lemma 42). Both cap and b ∗ b^* b ∗ are recomputed for each SBM cell, so the ρ n \rho_n ρ n sweep follows the changing edge density. The B 0 B_0 B 0 sweep sets B 0 B_0 B 0 directly and keeps the default W max W_{\max} W m a x . The Δ s \Delta_s Δ s sweep fixes W max = 1.5 W_{\max}=1.5 W m a x = 1.5 and B 0 = 3.5 B_0=3.5 B 0 = 3.5 , keeping capacity fixed while Δ s \Delta_s Δ s changes through ρ i n \rho_{\mathrm{in}} ρ in .
Statistics and reproducibility. Each cell uses 10 random seeds, numbered 0–9. Each seed determines the graph, the mask, the initialization, the labeled sets, and the random features. We report medians and interquartile ranges (IQRs) over seeds throughout.
Cell Coverage
The n n n -sweep completed 1,185 of its 1,200 runs, and 111 of its 120 cells have all 10 seeds (Table 2 ). Across all five sweeps, 2,329 of 2,350 runs completed. The other 21 runs stopped with a runtime error during training and produced no final model: 15 in the n n n -sweep (13 of them GIN+random) and 6 in the ρ n \rho_n ρ n sweep (5 at ρ n = 0.05 \rho_n=0.05 ρ n = 0.05 , n = 1000 n=1000 n = 1000 , and 1 at ρ n = 0.2 \rho_n=0.2 ρ n = 0.2 , $n=500). Every completed run is included in the reported statistics, including runs whose decoder collapses to W ^ ≈ 0 \widehat{W}\approx0 W ≈ 0 (App. § 18 .§ 1 ). App. § 18 .§ 5 discusses the cause of the errors.
Table 2. n n n -sweep cell coverage (number of completed seeds, max 10).
K = 2 K=2 K = 2 and K = 4 K=4 K = 4 Sweeps for the Recovering Architectures
At K = 2 K=2 K = 2 (Figure 5 ), all architectures reach a median error of at most 0.001 at n = 2000 n=2000 n = 2000 . GAT+PE matches GCN+PE and GIN+PE within the IQR, and the symmetric K = 2 K=2 K = 2 SBM is easy enough that even the random-feature architectures recover.
Figure 5. Theorem quantities at K = 2 K=2 K = 2 (all five architectures, including GAT+PE). The quantities of Figure 1 decrease with n n n for all five architectures. By n = 1000 n=1000 n = 1000 every architecture, including the Laplacian-PE configurations GCN+PE and GAT+PE and the random-feature configurations, reaches a median plug-in error of at most 0.004. Slopes are noisier than at K = 3 K=3 K = 3 because the absolute residuals are smaller.
At K = 4 K=4 K = 4 (Figure 6 ), the recovering architectures are GIN+PE (excess 0.007, error 0.004 at n = 2000 n=2000 n = 2000 ), CP+random (excess 0.006, error 0.006), and GIN+random (excess 0.010, error 0.24, partial recovery). GCN+PE and GAT+PE collapse for n ≥ 1500 n \ge1500 n ≥ 1500 ; App. § 18 discusses these cases.
Figure 6. Theorem quantities at K = 4 K=4 K = 4 , recovering architectures. GIN+PE and CP+random recover: their median plug-in errors fall to 0.004 and 0.006 at n = 2000 n=2000 n = 2000 . GIN+random recovers only partially (error 0.24). The LP quantities need not decrease monotonically: the excess of GIN+PE falls to 0.004 at n = 1000 n=1000 n = 1000 and returns to about 0.007 for n ≥ 1500 n \ge1500 n ≥ 1500 , while that of CP+random decreases to 0.006. At n = 2000 n=2000 n = 2000 the excess of each architecture is 1.0× to 1.9× its value at K = 3 K=3 K = 3 , where the separation is also larger (Δ s = 0.80 \Delta_s=0.80 Δ s = 0.80 vs 0.69 at K = 4 K=4 K = 4 ). The GCN+PE and GAT+PE failures at K = 4 K=4 K = 4 are discussed in App. § 18 .
Cross-Ablation Step-1 Ratio
Table 3: Empirical Step-1 ratio ScoreMSE H / [ R H P ( S ^ ) − R H P ( S ⋆ ) ] \operatorname{ScoreMSE}_{\mathcal{H}} / [R_{\mathcal{H}}^{P}(\widehat{S})-R_{\mathcal{H}}^{P}(S^\star)] ScoreMSE H / [ R H P ( S ) − R H P ( S ⋆ )] at the baseline cell of each sweep (GIN+PE, K = 3 K=3 K = 3 ): median and IQR over seeds of the per-seed ratio. The typical-curvature proxy is 2 / μ e f f ≈ 36 2/\mu_{\mathrm{eff}} \approx36 2/ μ eff ≈ 36 (App. § 17 .§ 1 ).
Empirical Checks of the Proof Steps
This appendix checks the steps of Theorem 6 on the trained models: the Step-1 curvature constant (App. § 17 .§ 1 ), Steps 1 and 2 across n n n (App. § 17 .§ 2 ), Part II through oracle, plug-in, and direct empirical risk minimization (ERM) classifiers (App. § 17 .§ 3 ), and what LP training adds to its input (App. § 17 .§ 4 ).
Effective vs. Worst-Case Hessian
For a pair ( i , j ) (i,j) ( i , j ) we write m i j ⋆ : = m c i c j ⋆ m_{ij}^\star:= m_{c_i c_j}^\star m ij ⋆ := m c i c j ⋆ .
Lemma 43 (Segment form of the BCE excess). For any score matrix S ∈ S ( A , T ) S \in\mathcal{S}(A,\mathcal{T}) S ∈ S ( A , T ) ,
R H P ( S ) − R H P ( S ⋆ ) = 1 ∣ H ∣ ∑ ( i , j ) ∈ H σ ~ i j ( s i j − m i j ⋆ ) 2 (39) R_{\mathcal{H}}^{P}(S)-R_{\mathcal{H}}^{P}(S^\star)=\frac{1}{|\mathcal{H}|}\sum_{(i,j)\in\mathcal{H}}\widetilde{\sigma}_{ij}(s_{ij}-m_{ij}^\star)^2 \tag*{(39)} R H P ( S ) − R H P ( S ⋆ ) = ∣ H ∣ 1 ( i , j ) ∈ H ∑ σ ij ( s ij − m ij ⋆ ) 2 (39) where σ ~ i j : = ∫ 0 1 ( 1 − t ) σ ′ ( m i j ⋆ + t ( s i j − m i j ⋆ ) ) d t \widetilde{\sigma}_{ij}:=\int_0^1(1-t)\sigma'\left(m_{ij}^\star+t(s_{ij}-m_{ij}^\star)\right)\,dt σ ij := ∫ 0 1 ( 1 − t ) σ ′ ( m ij ⋆ + t ( s ij − m ij ⋆ ) ) d t .
Proof. Per pair, ∂ s 2 ℓ ( s ; p ) = σ ′ ( s ) \partial_s^2\ell(s;p)=\sigma'(s) ∂ s 2 ℓ ( s ; p ) = σ ′ ( s ) is independent of the probability target p p p , and the linear Taylor term ∂ s ℓ ( m ⋆ ; p ) ( s − m ⋆ ) = ( σ ( m ⋆ ) − p ) ( s − m ⋆ ) \partial_s\ell(m^\star;p)(s-m^\star)=(\sigma(m^\star)-p)(s-m^\star) ∂ s ℓ ( m ⋆ ; p ) ( s − m ⋆ ) = ( σ ( m ⋆ ) − p ) ( s − m ⋆ ) vanishes because m ⋆ = logit p m^\star=\operatorname{logit}p m ⋆ = logit p gives σ ( m ⋆ ) = p \sigma(m^\star)=p σ ( m ⋆ ) = p . The Taylor remainder then gives
ℓ ( s ; p ) − ℓ ( m ⋆ ; p ) = [ ∫ 0 1 ( 1 − t ) σ ′ ( m ⋆ + t ( s − m ⋆ ) ) d t ] ( s − m ⋆ ) 2 , \ell(s;p)-\ell(m^\star;p)=\left[\int_0^1(1-t)\sigma'(m^\star+t(s-m^\star))\,\mathrm{d}t\right](s-m^\star)^2, ℓ ( s ; p ) − ℓ ( m ⋆ ; p ) = [ ∫ 0 1 ( 1 − t ) σ ′ ( m ⋆ + t ( s − m ⋆ )) d t ] ( s − m ⋆ ) 2 ,
and averaging over H \mathcal{H} H yields (35).
Remark 44 (μ e f f \mu_{\mathrm{eff}} μ eff as a typical-scale proxy). Lemma 43 gives the exact identity
ScoreMSE H = 2 [ R H P ( S ^ ) − R H P ( S ⋆ ) ] μ e r r ( S ^ ) , μ e r r ( S ^ ) : = 2 ∑ H σ ~ i j e i j 2 ∑ H e i j 2 , \operatorname{ScoreMSE}_{\mathcal{H}}=\frac{2\left[R_{\mathcal{H}}^P(\widehat{S})-R_{\mathcal{H}}^P(S^\star)\right]}{\mu_{\mathrm{err}}(\widehat{S})},\qquad\mu_{\mathrm{err}}(\widehat{S}):=\frac{2\sum_{\mathcal{H}}\widetilde{\sigma}_{ij}e_{ij}^2}{\sum_{\mathcal{H}}e_{ij}^2}, ScoreMSE H = μ err ( S ) 2 [ R H P ( S ) − R H P ( S ⋆ ) ] , μ err ( S ) := ∑ H e ij 2 2 ∑ H σ ij e ij 2 ,
where e i j : = s i j − m i j ⋆ e_{ij}:=s_{ij}-m_{ij}^\star e ij := s ij − m ij ⋆ . Thus the exact constant is an error-weighted average of the BCE curvature along the Taylor segments. As S ^ → S ⋆ \widehat{S}\to S^\star S → S ⋆ , σ ~ i j → 1 2 σ ′ ( m i j ⋆ ) = 1 2 P i j ( 1 − P i j ) \widetilde{\sigma}_{ij}\to\frac{1}{2}\sigma'(m_{ij}^\star)=\frac{1}{2}P_{ij}(1-P_{ij}) σ ij → 2 1 σ ′ ( m ij ⋆ ) = 2 1 P ij ( 1 − P ij ) pointwise, so
μ e r r ( S ^ ) ⟶ ∑ H P i j ( 1 − P i j ) e i j 2 ∑ H e i j 2 . \mu_{\mathrm{err}}(\widehat{S})\longrightarrow\frac{\sum_{\mathcal{H}}P_{ij}(1-P_{ij})e_{ij}^2}{\sum_{\mathcal{H}}e_{ij}^2}. μ err ( S ) ⟶ ∑ H e ij 2 ∑ H P ij ( 1 − P ij ) e ij 2 .
This limit is the error-weighted average of P i j ( 1 − P i j ) P_{ij}(1-P_{ij}) P ij ( 1 − P ij ) . It equals the simple average
μ e f f : = E ( i , j ) ∼ H [ P i j ( 1 − P i j ) ] \mu_{\mathrm{eff}}:=\mathbb{E}_{(i,j)\sim\mathcal{H}}[P_{ij}(1-P_{ij})] μ eff := E ( i , j ) ∼ H [ P ij ( 1 − P ij )]
only when the squared errors are not systematically aligned with block-pair curvature.
We use μ e f f \mu_{\mathrm{eff}} μ eff as a typical-scale proxy because it depends only on the SBM probabilities { p a b } \{p_{ab}\} { p ab } , not on the trained model, and it tracks μ e r r \mu_{\mathrm{err}} μ err closely in our experiments (Table 3 ,Table 4 : 2 / μ e f f ≈ 36 2/\mu_{\mathrm{eff}}\approx36 2/ μ eff ≈ 36 , empirical ratio 38.5). The small gap is consistent with errors putting slightly more mass on lower-curvature block pairs. For example, off-diagonal pairs at p o u t = 0.04 p_{\mathrm{out}}=0.04 p out = 0.04 have p ( 1 − p ) = 0.038 p(1-p)=0.038 p ( 1 − p ) = 0.038 , compared with 0.090 on the diagonal at p i n = 0.10 p_{\mathrm{in}}=0.10 p in = 0.10 .
Table 3.
Table 4. Step-1 ratio ScoreMSE H / [ R H P ( S ^ ) − R H P ( S ⋆ ) ] \operatorname{ScoreMSE}_{\mathcal{H}}/[R_{\mathcal{H}}^P(\widehat{S})-R_{\mathcal{H}}^P(S^\star)] ScoreMSE H / [ R H P ( S ) − R H P ( S ⋆ )] across all n n n at the K = 3 K=3 K = 3 baseline: median over seeds of the per-seed ratio.
The bound μ B = σ ( B ) ( 1 − σ ( B ) ) \mu_B=\sigma(B)(1-\sigma(B)) μ B = σ ( B ) ( 1 − σ ( B )) used in Lemma 3 is the worst-case lower bound of σ ′ \sigma' σ ′ over the entire score range [ − B , B ] [-B,B] [ − B , B ] , where B = R 2 W max + B 0 B=R^2W_{\max}+B_0 B = R 2 W m a x + B 0 . This can be very conservative. In dense regimes with p min ≤ p a b ≤ 1 − p min p_{\min}\le p_{ab}\le1-p_{\min} p m i n ≤ p ab ≤ 1 − p m i n , μ e f f ≥ p min ( 1 − p min ) \mu_{\mathrm{eff}}\ge p_{\min}(1-p_{\min}) μ eff ≥ p m i n ( 1 − p m i n ) , but μ B \mu_B μ B can still go to zero as B → ∞ B\to\infty B → ∞ .
Empirical implication. μ B \mu_B μ B is still the right constant for a uniform upper bound over all admissible scores in [ − B , B ] [-B,B] [ − B , B ] , so Theorem 6 keeps it. One cannot simply replace μ B \mu_B μ B by μ e f f \mu_{\mathrm{eff}} μ eff in the formal statement, because the limit μ e r r → μ e f f \mu_{\mathrm{err}}\to\mu_{\mathrm{eff}} μ err → μ eff requires errors to be balanced across block pairs. Empirically, however, μ e r r \mu_{\mathrm{err}} μ err tracks μ e f f \mu_{\mathrm{eff}} μ eff . Across the W max W_{\max} W m a x and B 0 B_0 B 0 ablations (n = 2000 n=2000 n = 2000 ), 2 / μ B 2/\mu_B 2/ μ B ranges from 80 to 2.3 × 10 6 2.3\times10^6 2.3 × 1 0 6 , while the median ratio stays within 36.5–42.2. For ρ n ∈ [ 0.1 , 2 ] \rho_n\in[0.1,2] ρ n ∈ [ 0.1 , 2 ] , the ratio stays 1–16% above 2 / μ e f f ∈ [ 19.5 , 336 ] 2/\mu_{\mathrm{eff}}\in[19.5,336] 2/ μ eff ∈ [ 19.5 , 336 ] . At ρ n = 0.05 \rho_n=0.05 ρ n = 0.05 , where ScoreMSE H ≈ 3.7 \operatorname{ScoreMSE}_{\mathcal{H}}\approx3.7 ScoreMSE H ≈ 3.7 , it falls below (375 vs. 669). A rigorous replacement of μ B \mu_B μ B would require controlling μ e r r \mu_{\mathrm{err}} μ err over the encoder–decoder class; we leave this open.
Step-1 and Step-2 Checks Across n n n
The empirical ratio rises with n n n , from 31.5–34.3 at n ≤ 500 n\le500 n ≤ 500 to 33.8–39.0 at n = 2000 n=2000 n = 2000 , around the proxy 2 / μ e f f ≈ 36 2/\mu_{\mathrm{eff}}\approx36 2/ μ eff ≈ 36 . The exact limiting ratio is 2 / μ e r r ( S ^ ) 2/\mu_{\mathrm{err}}(\widehat{S}) 2/ μ err ( S ) , where μ e r r \mu_{\mathrm{err}} μ err is an error-weighted curvature. A plausible reason for the lower values at small n n n is that S ^ \widehat{S} S has not yet concentrated near S ⋆ S^\star S ⋆ , so segment [ m ⋆ , s ~ ] [m^\star,\tilde{s}] [ m ⋆ , s ~ ] samples a wider range of σ ′ \sigma' σ ′ . In our operating region, p i n = 0.10 p_{\mathrm{in}}=0.10 p in = 0.10 and p o u t = 0.04 p_{\mathrm{out}}=0.04 p out = 0.04 correspond to σ < 0.21 \sigma<0.21 σ < 0.21 , where σ ′ \sigma' σ ′ is convex. Jensen’s inequality then makes the integral average σ ~ i j \tilde{\sigma}_{ij} σ ~ ij larger than 1 2 σ ′ ( m i j ⋆ ) \frac{1}{2}\sigma'(m^\star_{ij}) 2 1 σ ′ ( m ij ⋆ ) on average, which lowers the empirical ratio. We do not formalize this explanation.
Step-2 sanity check: held-out vs full ScoreMSE. Step 2 of Theorem 6 (Lemma 4) bounds ScoreMSEf u l l _{\mathrm{full}} full by ScoreMSEH _H H plus a sampling-without-replacement term V n s t a t = O ~ ( d / n ) V_n^{\mathrm{stat}}=\tilde{O}(\sqrt{d/n}) V n stat = O ~ ( d / n ) . Table 5 shows GIN+PE. For all four architectures at the K = 3 K=3 K = 3 baseline, the medians of the two differ by less than 9% at every n n n and by less than 4.5% for n ≥ 500 n\ge500 n ≥ 500 . ScoreMSEH _H H is therefore a reliable proxy for the unobservable ScoreMSEf u l l _{\mathrm{full}} full in the ratio computations.
Table 5. ScoreMSEH _H H vs ScoreMSEf u l l _{\mathrm{full}} full for GIN+PE at the K = 3 K=3 K = 3 baseline (medians over 10 seeds).
Three-Classifier Comparison and Theorem Part II
Figure 7 supports the Part II prediction that ( Δ s − 2 η L ) 2 (\Delta_s-2\eta_L)^2 ( Δ s − 2 η L ) 2 approaches Δ s 2 \Delta_s^2 Δ s 2 . At n = 2000 n=2000 n = 2000 , the plug-in and oracle classifiers agree within 0.001 for every architecture, and direct ERM matches them within 0.002 except for GIN+random. At n = 200 n=200 n = 200 , both plug-in and direct ERM trail the oracle by 0.05–0.09, and they differ from each other by less than 0.01.
Figure 7. Three-classifier comparison at K = 3 K=3 K = 3 , four architectures. For each architecture, we plot the oracle classifier (using ground-truth labels), the plug-in classifier of Theorem 6 Part II (using m = 10 m=10 m = 10 labeled prototypes per class), and a direct ERM classifier (logistic regression trained on the same m = 10 m=10 m = 10 labels per class). Theorem Part II closes only when E n → 0 \mathcal{E}_n\to0 E n → 0 and m m m grows with n n n , because of the log ( 2 K n ) / m \log(2Kn)/m log ( 2 K n ) / m term in Lemma 22. In these runs, fixed m = 10 m=10 m = 10 already tracks the oracle once n n n is large, so this term is not binding empirically.
Table 6 gives the same comparison numerically, sweeping m ∈ { 1 , 5 , 10 , 20 } m \in\{1, 5, 10, 20\} m ∈ { 1 , 5 , 10 , 20 } for both plug-in and direct ERM at n ∈ { 500 , 1000 , 2000 } n \in\{500, 1000, 2000\} n ∈ { 500 , 1000 , 2000 } . Two patterns stand out. First, at n = 2000 n = 2000 n = 2000 , for the two PE configurations, all classifiers with m ≥ 5 m \ge5 m ≥ 5 , plug-in and direct alike, match the oracle within 0.001. Second, at moderate n n n and small m m m , the plug-in classifier usually outperforms direct ERM, the exception being GCN+PE at n = 1000 n = 1000 n = 1000 . For example, at n = 1000 n = 1000 n = 1000 and m = 1 m = 1 m = 1 , plug-in gives 0.055 versus direct 0.109 for GIN+PE, and 0.101 versus 0.274 for CP+random. This is consistent with Theorem Part II: when E n \mathcal{E}_n E n is already small, the prototype error η L \eta_L η L can be smaller than the direct-ERM finite-sample error. Better LP training then reduces the labels needed through the LP-quality floor E n / π min \sqrt{\mathcal{E}_n/\pi_{\min}} E n / π m i n in Lemma 22.
Raw-PE Baseline
To measure what LP training adds to its input, we apply the same logistic-regression probe, with the same labeled sets, to fixed representations computed from A e n c A^{\mathrm{enc}} A enc on the same graphs (K = 3 K=3 K = 3 , 10 seeds). These are the 8-dimensional spectral PE that GIN+PE receives (raw PE), the 8-dimensional Laplacian PE of GCN+PE, the spectral PE truncated to its top K K K eigenvectors, and adjacency spectral embedding U K ∣ Λ K ∣ 1 / 2 U_K|\Lambda_K|^{1/2} U K ∣ Λ K ∣ 1/2 (ASEK _K K ) [36 ] . Table 7 compares them with the GIN+PE embeddings (LP+LogReg) and with the plug-in classifier of Theorem 6 Part II (LP+plug-in). LP training lowers the median error relative to the raw PE at every n ∈ { 500 , 1000 , 2000 } n \in\{500, 1000, 2000\} n ∈ { 500 , 1000 , 2000 } and m ∈ { 1 , 5 , 10 , 20 } m \in\{1, 5, 10, 20\} m ∈ { 1 , 5 , 10 , 20 } , and in 112 of the 120 seed-level comparisons. The K K K -dimensional spectral representations are stronger than LP at n = 1000 n=1000 n = 1000 , m = 1 m=1 m = 1 (0.033 for ASEK _K K vs. 0.109 for LP+LogReg) and on par at n = 2000 n=2000 n = 2000 . We therefore claim that LP training improves on its own input, not that it outperforms spectral methods designed for SBMs.
Failure Modes and Limitations
This appendix collects four regimes in which Theorem 6 still holds, since it is conditional on the LP risk that training attains, but either training fails or the bound becomes uninformative: (i) the collapse of GCN+PE and GAT+PE at K = 4 K=4 K = 4 , (ii) the looseness of the Markov factor Δ s − 2 \Delta_s^{-2} Δ s − 2 in Step 3 deep inside the recovery regime, (iii) the plateau of the W max W_{\max} W m a x ablation below the capacity threshold, and (iv) the sparse-ρ n \rho_n ρ n regime. All results use the training recipe of App. J.1. App. L.5 reruns the failing cells with a second recipe, only to diagnose (i), (iii), and (iv).
Table 7. Raw-PE baseline at K = 3 K = 3 K = 3 : classification error, median with IQR (linear interpolation) over 10 seeds, m m m labeled nodes per class. Raw and Lap PE have 8 dimensions, spec PEK _K K and ASEK _K K have K K K . All representations except the last two columns are computed from A e n c A^{\mathrm{enc}} A enc without training.
Collapse of GCN+PE and GAT+PE at K = 4 K = 4 K = 4
A training failure. Prop. 10 does not cover GCN+PE and GAT+PE, which change the aggregator and the PE at the same time (App. I.8). The collapse is nevertheless not an approximation limit. Under the second recipe of App. § 18 .§ 5 , both configurations recover at K = 4 K = 4 K = 4 (Table 11 ), so their classes contain good solutions that the main recipe does not reach.
Table 11. Main vs. second recipe at n = 2000 n=2000 n = 2000 : medians over seeds, with the number of seeds whose plug-in error (m = 10 m=10 m = 10 ) exceeds 0.1 in parentheses. GIN+PE at K = 3 K=3 K = 3 unless stated.
Collapse signature. We call a run collapsed when its plug-in error exceeds 0.7. No GCN+PE or GAT+PE run collapses for n ≤ 1000 n \le1000 n ≤ 1000 , although GAT+PE already degrades at n = 1000 n = 1000 n = 1000 (median plug-in error 0.36, vs 0.06 for GIN+PE). At n = 1500 n=1500 n = 1500 , 4 of 10 GCN+PE runs and 7 of 9 GAT+PE runs collapse, and at n = 2000 n=2000 n = 2000 , 9 of 10 and 10 of 10 (Figure 8 ). For GAT+PE the collapse is complete: W ^ ≈ 0 \widehat{W}\approx0 W ≈ 0 and the embeddings shrink to zero (median of the mean ∥ z i ∥ \lVert z_i\rVert ∥ z i ∥ below 10 − 3 10^{-3} 1 0 − 3 ), so the only non-trivial output is the bias b b b and the model is the constant predictor. GCN+PE shows a softer version at n = 2000 n=2000 n = 2000 : W ^ \widehat{W} W falls below the cap (median 0.64 vs cap 0.87) without vanishing, yet the embeddings carry no community information. The failure lies in the representation, not in our probe: logistic regression and k k k -means on the same embeddings also stay at chance (errors 0.73–0.75 at n = 2000 n=2000 n = 2000 ).
Figure 8. Collapse at K = 4 K = 4 K = 4 . (A) Oracle and (B) plug-in (m = 10 m = 10 m = 10 ) classification error vs n n n for GIN+PE, GCN+PE, and GAT+PE. GIN+PE recovers; by n = 2000 n = 2000 n = 2000 both GCN+PE (9 of 10 seeds) and GAT+PE (10 of 10 seeds) collapse to the random baseline 1 − 1 / K = 0.75 1 - 1/K = 0.75 1 − 1/ K = 0.75 . (C) Operator norm ∥ W ^ ∥ o p \lVert\widehat{W} \rVert_{\mathrm{op}} ∥ W ∥ op of the trained bilinear decoder. All three stay at the cap W max = 0.872 W_{\max} = 0.872 W m a x = 0.872 up to n = 1000 n = 1000 n = 1000 . At n = 2000 n = 2000 n = 2000 , GIN+PE stays close to the cap (median 0.79), GCN+PE drops further below it (median 0.64), and GAT+PE collapses to W ^ ≈ 0 \widehat{W} \approx0 W ≈ 0 , i.e., the model has reverted to the constant predictor. (D) Population excess risk. The collapsed GCN+PE runs do not have a larger excess than GIN+PE.
Markov Factor Tightness in the Δ s \Delta_s Δ s Sweep
Table 8 : Δ s \Delta_s Δ s sweep at K = 3 K=3 K = 3 , GIN+PE: log–log slope β \beta β of err ∼ Δ s β \operatorname{err}\sim\Delta_s^\beta err ∼ Δ s β for Δ s ∈ [ 0.6 , 1.9 ] \Delta_s\in[0.6,1.9] Δ s ∈ [ 0.6 , 1.9 ] , and coefficient of variation (CV) of the population excess across Δ s \Delta_s Δ s , by n n n . Slopes are least-squares fits of the median oracle classifier error against Δ s \Delta_s Δ s on a log–log scale, using only the grid points with nonzero median error (last column); the n = 1000 n=1000 n = 1000 slope therefore rests on two points. Theory predicts β = − 2 \beta=-2 β = − 2 (the Markov factor); a larger ∣ β ∣ \lvert\beta\rvert ∣ β ∣ indicates that the Markov bound is loose.
Table 8.
The Step 3 factor Δ s − 2 \Delta_s^{-2} Δ s − 2 is close to tight where errors are still large (Table 8 ). At n = 100 n=100 n = 100 , where the oracle error lies between 0.05 and 0.38 at four of the five grid points, the slope is − 2.19 -2.19 − 2.19 , close to the predicted − 2 -2 − 2 . The factor becomes much looser deep inside recovery, with slopes of − 6.51 -6.51 − 6.51 at n = 500 n=500 n = 500 and − 8.07 -8.07 − 8.07 at n = 1000 n=1000 n = 1000 ; these two fits use only three and two points, because the error is exactly zero at larger Δ s \Delta_s Δ s . A plausible reason is the Markov inequality 1 { e ~ i 2 > t } ≤ e ~ i 2 / t 1\{\widetilde{e}_i^2>t\}\leq\widetilde{e}_i^2/t 1 { e i 2 > t } ≤ e i 2 / t used in Step 3. It is nearly tight when much of the mass of e ~ i 2 \widetilde{e}_i^2 e i 2 lies near the threshold, but loose when e ~ i 2 \widetilde{e}_i^2 e i 2 concentrates well below the threshold and the indicator is usually zero. This describes the empirical regime deep inside recovery, although we do not formalize the mechanism. The CV of the population excess stays below 15% at every n n n , which suggests that ϵ a p p \epsilon_{\mathrm{app}} ϵ app for GIN+PE is approximately decoupled from the score-profile geometry.
Capacity Threshold and the Plateau in the W max W_{\max} W m a x Ablation
Table 9: W max W_{\max} W m a x ablation (GIN+PE, K = 3 K=3 K = 3 ): floor F 3 F_3 F 3 on ϵ a p p \epsilon_{\mathrm{app}} ϵ app (Prop. 14 ) and the number of seeds, out of 10, with oracle error at most 0.05. Cap-ratios 0.5 to 0.75 come from a finer rerun of the same configuration, and the last column covers cap-ratios 1.5, 2, 5, and 10.
For our SBMs, realizability needs cap-ratio ≥ 2 / 3 \geq2/3 ≥ 2/3 (Prop. 14 ), and (A5) of Prop. 10 suffices at cap-ratio 1.
Below the threshold. At cap-ratio 0.25 for every n n n , and at 0.5 for n ≥ 500 n\geq500 n ≥ 500 , every seed ends with ∥ W ^ ∥ o p = W max \lVert\widehat{W}\rVert_{\mathrm{op}}=W_{\max} ∥ W ∥ op = W m a x and nearly all ∥ z i ∥ = R \lVert z_i\rVert=R ∥ z i ∥ = R . Its population excess equals that of the constant score b ^ − W max R 2 \widehat{b}-W_{\max}R^2 b − W m a x R 2 within 10 − 4 10^{-4} 1 0 − 4 (0.0077 and 0.0070). The trained bias stays between − 2.35 -2.35 − 2.35 and − 2.15 -2.15 − 2.15 , so the bilinear term spends its whole budget lowering every score, and nothing is left for the community contrast. The best constant predictor, b = logit p ˉ = − 2.75 b=\operatorname{logit}\bar{p}=-2.75 b = logit p ˉ = − 2.75 , lies in the class and has a smaller excess (0.0066), so these runs have ϵ o p t > 0 \epsilon_{\mathrm{opt}}>0 ϵ opt > 0 . Under the second recipe of App. § 18 .§ 5 , the same class reaches 0.0028 and 0.0014 at n = 2000 n=2000 n = 2000 , close to the floors 0.0026 and 0.0004, so the plateau is mainly ϵ o p t \epsilon_{\mathrm{opt}} ϵ opt . The embeddings still separate the communities (k k k -means on z i z_i z i has error 0.013 at cap-ratio 0.25, n = 2000 n=2000 n = 2000 ), but the scores barely use this structure. The oracle classifier therefore stays at chance, and the plug-in error falls only to 0.10.
Near the threshold. Between cap-ratios 0.55 and 0.75, each seed ends in one of three states: the constant-score plateau above, a partial stall with oracle error near 0.33 (two communities merged), or full recovery. The share that recovers grows with cap-ratio (Table 9 ). Seeds recover even below 2 / 3 2/3 2/3 , where the floor is below 10 − 3 10^{-3} 1 0 − 3 and its minimizer still separates the communities. The transition is thus set by optimization rather than by capacity. The LP excess separates the states only weakly. At n = 2000 n=2000 n = 2000 , partially stalled seeds have excess 0.0052–0.0060 and recovered seeds 0.0040–0.0057. The rerun at cap-ratios 0.5 and 0.75 matches the original runs within 0.03 in oracle error for 48 and 45 of 50 seeds. The other seeds switch basin (e.g., cap-ratio 0.5, n = 1000 n=1000 n = 1000 , seed 5: 0.66 in the original, 0.04 in the rerun), which we attribute to GPU nondeterminism near the plateau. Cap-ratio ≥ 1.5 \ge1.5 ≥ 1.5 removes the split.
Table 9.
Sparse-Regime Bound Breakdown
For ρ n ≤ 0.1 \rho_n \le0.1 ρ n ≤ 0.1 (Table 10 ), both the oracle and plug-in classifiers fail (errors ≥ 0.61 \ge0.61 ≥ 0.61 ), close to the random baseline 1 − 1 / K = 0.667 1-1/K=0.667 1 − 1/ K = 0.667 at K = 3 K=3 K = 3 . At ρ n = 0.2 \rho_n=0.2 ρ n = 0.2 , the oracle classifier also fails (error 0.660), but the plug-in classifier reaches 0.414, clearly below random, so the embeddings still carry community signal. The two classifiers may differ because the oracle uses fixed-scale population prototypes, which can mismatch the trained embedding scale once W c W_c W c shrinks in the sparse regime, whereas the plug-in classifier uses empirical prototypes that adapt to the trained representation. We do not isolate this mechanism formally.
Table 10. ρ n \rho_n ρ n ablation (GIN+PE, K = 3 K=3 K = 3 ): SBM-derived parameters and classifier errors at n = 2000 n=2000 n = 2000 , where q ˉ \bar{q} q ˉ is the mean edge probability. The worst-case prefactor 2 / μ B 2/\mu_B 2/ μ B grows 32 × 32\times 32 × across the sweep, while Δ s \Delta_s Δ s changes by only 13%.
Not all of these failures are information-theoretic. With a = n ρ n p i n a=n\rho_n p_{\mathrm{in}} a = n ρ n p in and b = n ρ n p o u t b=n\rho_n p_{\mathrm{out}} b = n ρ n p out at n = 2000 n=2000 n = 2000 , the Kesten–Stigum condition ( a − b ) 2 > K ( a + ( K − 1 ) b ) (a-b)^2>K(a+(K-1)b) ( a − b ) 2 > K ( a + ( K − 1 ) b ) , above which efficient partial recovery is possible [1 ] , holds at ρ n = 0.1 \rho_n=0.1 ρ n = 0.1 (a = 20 a=20 a = 20 , b = 8 b=8 b = 8 : 144 > 108 144>108 144 > 108 ) and fails at ρ n = 0.05 \rho_n=0.05 ρ n = 0.05 (36 < 54 36<54 36 < 54 ). At ρ n = 0.1 \rho_n=0.1 ρ n = 0.1 it also holds for the masked encoder input, which keeps 80% of the pairs (92 > 86 92>86 92 > 86 ). The failure at ρ n = 0.1 \rho_n=0.1 ρ n = 0.1 is therefore a failure of our pipeline, not of the data, while the failure at ρ n = 0.05 \rho_n=0.05 ρ n = 0.05 is expected, since no efficient method is known to succeed below this threshold.
Under the second recipe of App. L.5, the plug-in error at n = 2000 n=2000 n = 2000 falls from 0.41 to 0.20 at ρ n = 0.2 \rho_n=0.2 ρ n = 0.2 , but only from 0.62 to 0.54 at ρ n = 0.1 \rho_n=0.1 ρ n = 0.1 . The gap at ρ n = 0.2 \rho_n=0.2 ρ n = 0.2 is thus partly an optimization failure, while ρ n ≤ 0.1 \rho_n \le0.1 ρ n ≤ 0.1 stays near chance under both recipes. There the bound becomes uninformative. Plausible contributors include the breakdown of 2 → ∞ 2\to\infty 2 → ∞ spectral concentration (Lemma 36 ) in the sparse regime, where the dense-regime assumption (A1) of Prop. 10 fails, and the simultaneous shrinking of μ B \mu_B μ B in the bound. We do not separate these contributions.
Diagnosing the Training Failures with a Second Recipe
The main recipe (App. J.1) fails in two ways. Some runs complete but stall: the K = 4 K=4 K = 4 collapse of App. L.1, the plateau of App. L.3, the gap at ρ n = 0.2 \rho_n=0.2 ρ n = 0.2 , and the partial recovery of GIN+random. Other runs stop with a numerical error (App. J.2).
Likely mechanism for stalled runs. The bias starts at 0 while the target mean logit is about − 2.8 -2.8 − 2.8 , and early training compresses the embeddings. From this small-scale state, a bilinear model learns the community directions one at a time, with plateaus at saddle points in between. Adam with coupled L 2 L_2 L 2 weight decay adds λ θ \lambda\theta λ θ to the gradient before normalization. For a direction not yet learned, where the data gradient is small, the update is then about − lr ⋅ sign ( θ ) -\operatorname{lr}\cdot\operatorname{sign}(\theta) − lr ⋅ sign ( θ ) , which drives the direction to zero and makes the saddle absorbing. The gradient reaching the encoder, ∂ s i j / ∂ z i = W z j \partial s_{ij}/\partial z_i=Wz_j ∂ s ij / ∂ z i = W z j , scales with W max W_{\max} W m a x , and normalized aggregation shrinks the community signal at initialization. This matches the failing cells (small W max W_{\max} W m a x , GCN, and GAT). We support the mechanism with the rerun below but do not test each step separately.
Second recipe. We change only two settings: AdamW with decoupled weight decay 10 − 4 10^{-4} 1 0 − 4 [25 ] , and a bias initialized at the empirical logit of the training edge density, which uses T T T only. We rerun all five sweeps (2,350 runs). Table 11 shows that every stalled cell recovers or improves.
Runs that stop with an error. Under the second recipe, 23 of the 2,350 runs still stop, all because torch.linalg.eigh fails to converge. Eigendecompositions are used both for the spectral PE and for clipping the eigenvalues of W W W . Of these runs, 13 are GIN+random, whose three restarts must all succeed. The five failing seeds at ρ n = 0.05 \rho_n=0.05 ρ n = 0.05 , n = 1000 n=1000 n = 1000 are the same under both recipes, so these failures depend on the graph rather than on the optimizer.
Why the main text keeps the main recipe. The second recipe overfits at large n n n . At K = 3 K=3 K = 3 , the excess of GCN+PE decays with slope − 0.27 -0.27 − 0.27 instead of − 1.12 -1.12 − 1.12 (0.0063 vs. 0.0011 at n = 2000 n=2000 n = 2000 ), and that of GIN+PE with slope − 0.45 -0.45 − 0.45 instead of − 0.67 -0.67 − 0.67 . The classification error at n = 2000 n=2000 n = 2000 is unchanged. Coupled weight decay thus both creates the absorbing saddles and regularizes the trained scores. We therefore report the main recipe in Sec. 4 and use the second one only to diagnose its failures.
Rate of the Guarantee and Classical SBM Recovery
Theorem 6 controls the classification error through the held-out LP excess risk, an average over node pairs, and gives the rate O ~ ( n − 1 / 2 ) \widetilde{O}(n^{-1/2}) O ( n − 1/2 ) in the dense regime. SBM-specific procedures reach exp ( − Ω ( n ) ) \exp(-\Omega(n)) exp ( − Ω ( n )) in the same regime [45 , 8 ] . This appendix shows that the linear dependence on an average risk cannot be improved, explains what faster rates would require, and compares the guarantee with classical recovery thresholds.
An average risk cannot localize errors. Assume the bilinear capacity condition, so that there are community embeddings u 1 , … , u K u_1,\ldots,u_K u 1 , … , u K with ∥ u c ∥ ≤ R \lVert u_c\rVert\le R ∥ u c ∥ ≤ R and an admissible ( W ⋆ , b ⋆ ) (W^\star,b^\star) ( W ⋆ , b ⋆ ) with b ⋆ + u c ⊤ W ⋆ u c = m c c ⋆ b^\star+ u_c^\top W^\star u_c = m^\star_{cc} b ⋆ + u c ⊤ W ⋆ u c = m cc ⋆ for all c , c ′ c,c' c , c ′ (Prop. 12). Let communities a ≠ b a \ne b a = b attain Δ s \Delta_s Δ s and set δ c : = m b c ⋆ − m a c ⋆ \delta_c := m^\star_{bc} - m^\star_{ac} δ c := m b c ⋆ − m a c ⋆ , so that ∑ c δ c 2 = Δ s 2 \sum_c \delta_c^2 = \Delta_s^2 ∑ c δ c 2 = Δ s 2 . The embeddings z i = u c z_i=u_c z i = u c give S = S ⋆ S=S^\star S = S ⋆ . Let M ⊆ C a \mathcal{M}\subseteq\mathcal{C}_a M ⊆ C a of α n \alpha n α n nodes do z i = u b z_i=u_b z i = u b . The score error s i j − m c i ⋆ s_{ij}-m^\star_{ci} s ij − m c i ⋆ is δ c i \delta_{c_i} δ c i if only i ∈ M i\in\mathcal{M} i ∈ M , δ c j \delta_{c_j} δ c j if only j ∈ M j\in\mathcal{M} j ∈ M , m b b ⋆ − m a a ⋆ m^\star_{bb}-m^\star_{aa} m bb ⋆ − m aa ⋆ if both are in M \mathcal{M} M , and 0 otherwise. Hence, for α < α 0 : = Δ s 2 / ( 16 B ⋆ 2 ) \alpha<\alpha_0:=\Delta_s^2/(16B^{\star2}) α < α 0 := Δ s 2 / ( 16 B ⋆ 2 ) ,
ScoreMSE f u l l = 2 α Δ s 2 − 2 α 2 δ a 2 + α 2 ( m b b ⋆ − m a a ⋆ ) 2 ∈ [ 3 2 , 9 4 ] α Δ s 2 . \operatorname{ScoreMSE}_{\mathrm{full}} = 2\alpha\Delta_s^2 - 2\alpha^2\delta_a^2 + \alpha^2(m^\star_{bb}-m^\star_{aa})^2 \in\left[\frac{3}{2},\frac{9}{4}\right]\alpha\Delta_s^2. ScoreMSE full = 2 α Δ s 2 − 2 α 2 δ a 2 + α 2 ( m bb ⋆ − m aa ⋆ ) 2 ∈ [ 2 3 , 4 9 ] α Δ s 2 .
In score-profile space, a moved node lies within 2 B ⋆ α n 2B^\star\sqrt{\alpha n} 2 B ⋆ α n of μ b \mu_b μ b , and every other node i i i lies within 2 B ⋆ α n 2B^\star\sqrt{\alpha n} 2 B ⋆ α n of μ c i \mu_{c_i} μ c i . For α < α 0 \alpha<\alpha_0 α < α 0 this distance is below n Δ s / 2 \sqrt{n}\,\Delta_s/2 n Δ s /2 , half the minimum prototype separation (App. F). The oracle classifier therefore errs exactly on M \mathcal{M} M , so the error is α ≥ 4 9 ScoreMSE f u l l / Δ s 2 \alpha\ge\frac{4}{9}\operatorname{ScoreMSE}_{\mathrm{full}}/\Delta_s^2 α ≥ 9 4 ScoreMSE full / Δ s 2 , within a factor of 9 of Prop. 5. All scores of this model lie in [ − B ⋆ , B ⋆ ] [-B^\star,B^\star] [ − B ⋆ , B ⋆ ] , so its held-out excess risk lies between 1 2 μ B ⋆ ScoreMSE H \frac{1}{2}\mu_{B^\star}\operatorname{ScoreMSE}_{\mathcal{H}} 2 1 μ B ⋆ ScoreMSE H and 1 8 ScoreMSE H \frac{1}{8}\operatorname{ScoreMSE}_{\mathcal{H}} 8 1 ScoreMSE H (Lemma 3 and App. I.2). Since S S S is fixed, ScoreMSE H \operatorname{ScoreMSE}_{\mathcal{H}} ScoreMSE H differs from ScoreMSE f u l l \operatorname{ScoreMSE}_{\mathrm{full}} ScoreMSE full by O ~ ( B ⋆ 2 / ( T n ) ) \widetilde{O}(B^{\star2}/(\sqrt{T}n)) O ( B ⋆ 2 / ( T n )) with probability at least 1 − n − 1 1-n^{-1} 1 − n − 1 (Hoeffding–Serfling, as in App. E). With α = n − γ \alpha=n^{-\gamma} α = n − γ and γ ∈ ( 0 , 1 ) \gamma\in(0,1) γ ∈ ( 0 , 1 ) , the excess risk is of order Δ s 2 n − γ \Delta_s^2n^{-\gamma} Δ s 2 n − γ and the error is n − γ n^{-\gamma} n − γ .
Theorem 6 covers every encoder family satisfying Assumption 1, including families that can output these embeddings. Any error bound that depends on the model only through its average LP risk must therefore be at least linear in that risk, with the factor Δ s − 2 \Delta_s^{-2} Δ s − 2 . In this sense, the linear dependence in Theorem 6 is worst-case tight. The certified rate is then the rate at which this risk decays, which is polynomial: even with known communities, the K × K K \times K K × K block logits are estimated from Θ ( n 2 ) \Theta(n^2) Θ ( n 2 ) edges, with squared error of order n − 2 n^{-2} n − 2 . The exponent 1 / 2 1/2 1/2 in Theorem 6 comes from V n s t a t V_n^{\mathrm{stat}} V n stat .
Faster rates need node-level control. A node is misclassified only if e ~ i ≥ Δ s / 2 \tilde e_i \ge\Delta_s/2 e ~ i ≥ Δ s /2 (App. § 12 ), so the error is zero once max i e ~ i < Δ s / 2 \max_i \tilde e_i < \Delta_s/2 max i e ~ i < Δ s /2 . A bound on max i e ~ i \max_i \tilde e_i max i e ~ i , rather than on the average n − 1 ∑ i e ~ i 2 = S c o r e M S E f u l l n^{-1}\sum_i \tilde e_i^2=\mathrm{ScoreMSE}_{\mathrm{full}} n − 1 ∑ i e ~ i 2 = ScoreMSE full , would give exact recovery as soon as the risk falls below a fixed threshold. The class contains models with such control. On the Step A event of App. I, which has probability at least 1 − n − c 1-n^{-c} 1 − n − c , the witness of Prop. 10 satisfies max i , j ∣ s i j − m c i c j ⋆ ∣ ≤ δ n = O ( log n / n ) \max_{i,j}|s_{ij}-m^\star_{c_i c_j}|\le\delta_n=O(\sqrt{\log n/n}) max i , j ∣ s ij − m c i c j ⋆ ∣ ≤ δ n = O ( log n / n ) (Lemma 30 ). Hence e ~ i ≤ δ n \tilde e_i\le\delta_n e ~ i ≤ δ n for every i i i , and its oracle classifier makes no error once δ n < Δ s / 2 \delta_n<\Delta_s/2 δ n < Δ s /2 . Proving this for a trained model requires fixing both the architecture and the training algorithm, and showing that optimization reaches parameters with node-level control. Fixing the architecture alone does not suffice: Prop. 10 fixes GIN with spectral PE but says nothing about the parameters that training reaches. The result would then be an algorithm-specific SBM recovery analysis. We keep Theorem 6 at the level of the average risk so that it applies to any bounded encoder–decoder and any training procedure.
The observed error decays faster than the bound. At n = 2000 n=2000 n = 2000 , the median oracle error of GIN+PE is 0, while S c o r e M S E f u l l = 0.144 \mathrm{ScoreMSE}_{\mathrm{full}}=0.144 ScoreMSE full = 0.144 (Table 5 ), for which 4 S c o r e M S E f u l l / Δ s 2 = 0.90 4\mathrm{ScoreMSE}_{\mathrm{full}}/\Delta_s^2=0.90 4 ScoreMSE full / Δ s 2 = 0.90 . Misclassification depends on the upper tail of e ~ i \tilde e_i e ~ i , while Markov’s inequality in Step 3 uses only its mean (App. § 18 .§ 2 ).
Classical recovery thresholds. For the balanced symmetric K K K -block SBM with fixed p > q p>q p > q , Δ s 2 = 2 K ( logit p − logit q ) 2 > 0 \Delta_s^2=\frac{2}{K}(\operatorname{logit}p-\operatorname{logit}q)^2>0 Δ s 2 = K 2 ( logit p − logit q ) 2 > 0 , and (A1)–(A3) of Prop. 10 hold. Under the capacity condition and the training antecedent in the Scope paragraph of Sec. 3.4, the error is O ~ ( Δ s − 2 d / n ) → 0 \widetilde O(\Delta_s^{-2}\sqrt{d/n})\to0 O ( Δ s − 2 d / n ) → 0 for every fixed p > q p>q p > q , so the guarantee gives weak consistency. An error fraction of order n − 1 / 2 n^{-1/2} n − 1/2 still allows O ~ ( n ) \widetilde O(\sqrt n) O ( n ) misclassified nodes, so it does not give exact recovery, which requires a fraction below 1 / n 1/n 1/ n . In the logarithmic-degree regime, with p = a log n / n p=a\log n/n p = a log n / n and q = b log n / n q=b\log n/n q = b log n / n , exact recovery of two communities has the sharp threshold a − b = 2 \sqrt a-\sqrt b=\sqrt2 a − b = 2 [[2 , 29 ] ]. There B ≥ B ⋆ = ( 1 + o ( 1 ) ) log n B\ge B^\star=(1+o(1))\log n B ≥ B ⋆ = ( 1 + o ( 1 )) log n , so μ B = O ( log n / n ) \mu_B=O(\log n/n) μ B = O ( log n / n ) , and the bound is informative only if ϵ o p t + ϵ a p p = O ( log n / n ) \epsilon_{\mathrm{opt}}+\epsilon_{\mathrm{app}}=O(\log n/n) ϵ opt + ϵ app = O ( log n / n ) , the excess risk of a constant score. Our realization of ϵ a p p \epsilon_{\mathrm{app}} ϵ app also assumes the dense regime (A1). The reduction therefore gives no sparse threshold, and deriving one would require analyzing when a specified LP procedure attains node-level score accuracy at p a b = Θ ( log n / n ) p_{ab}=\Theta(\log n/n) p ab = Θ ( log n / n ) . App. § 18 .§ 4 shows that our pipeline can fail where efficient partial recovery is possible.