Code available at: https://github.com/SPOC-group/mask-resampling
Introduction
Why can predicting missing parts of an input produce more useful representations than reconstructing the entire input? Building on denoising autoencoders [1 ] , Pathak et al. [2 ] predicted missing image regions from visible context and obtained more transferable representations than a standard autoencoder trained without input masking, a paradigm that now underlies masked language and image modeling [3 , 4 , 5 , 6 ] . Masked learning therefore couples two ingredients: a prediction objective that specifies what structure is rewarded, and an augmentation procedure that controls how many distinct prediction tasks a given sample ever presents. Despite its empirical success, our theoretical understanding of how these ingredients shape learned representations remains incomplete. We develop a high-dimensional theory that separates their effects and connects them to latent-feature recovery and downstream performance.
Motivated by the observation that unmasked, i.e., the standard autoencoder, reconstruction1 can favor high-variance nuisance directions over downstream-relevant structure [7 ] , we consider a data model with a shared latent direction and heterogeneous coordinate-wise noise. The latent direction carries the downstream signal, while heterogeneity allows nuisance variance to dominate the leading principal component. Masking changes this competition by requiring hidden coordinates to be predicted from the visible ones, rather than rewarded for their own variance. We prove that a linear masked autoencoder recovers the latent direction with n = O ( d ) n = O(d) n = O ( d ) samples where unmasked linear reconstruction, equivalent to PCA, fails § 3 .
Analyzing this model clearly reveals a second notable effect: the number of distinct masks available per sample controls how many underlying training samples are needed for latent-feature recovery. We distinguish static masking , where each sample is assigned a single random mask that is reused throughout training, from dynamic masking , commonly used in practice [4 , 8 ] , in which the mask is independently resampled each time a sample is used during pretraining. More generally, assigning each sample K K K independent masks and reusing them thereafter interpolates between these two regimes at fixed number of underlying samples. This allows us to isolate mask diversity from data diversity. Our analysis predicts that increasing K K K lowers the recovery threshold, with corresponding improvements in downstream performance in the settings studied.
This prediction prompted us to revisit how the contribution of mask diversity is assessed empirically. In language modeling, dynamic masking has been reported to provide only modest gains over reusing a fixed collection of masks [8 ] , but their static baseline already uses K = 10 K = 10 K = 10 pre-generated masks per sequence rather than a single fixed mask. Data2Vec 2.0 shows substantial improvements in image classification accuracy by increasing the number of masked views per sample within each training update [9 ] . Furthermore, in vision, self-supervised image learning commonly uses random cropping, flipping, and color transformations to generate changing views of the same sample [10 , 11 ] . In MAE specifically, standard pretraining combines random cropping and flipping with mask resampling [4 ] . Under a newly drawn crop, for example, the same patch mask can hide different content from the original image. We therefore hypothesize that stochastic image augmentation adds another source of prediction-task diversity, obscuring the effect of resampling the mask itself.
Guided by this hypothesis, we compare static and dynamic masking with and without stochastic cropping and flipping . Without these transformations, dynamic masking improves downstream accuracy in CNN autoencoders on CIFAR-10 and ViT-Base on ImageNet-100 (Figure 1 (b,c)). In the ViT experiments, reintroducing cropping and flipping substantially narrows the observed static–dynamic gap, mainly because static masking improves (Figure 5 ). Finite-K K K experiments further show progressive improvements as each image is exposed to more masks (Figure 4 ). A complementary BERT-Medium pilot finds improvements with increasing mask diversity on GLUE tasks, extending the qualitative evidence beyond vision (§ 5 ).
Figure 1. Isolating mask resampling reveals its contribution to representation learning. Downstream accuracy versus masking ratio ρ \rho ρ for dynamic masking (blue), static masking (yellow), and unmasked reconstruction (red). (a) Shallow autoencoder on spiked model (§ 2 ); curves are theory and markers are simulations. (b) CNN autoencoder on CIFAR-10 (test top-1). (c) ViT-Base on ImageNet-100 (validation top-5). In (b,c), blue and yellow curves use no stochastic cropping or flipping. The purple reference includes cropping and flipping with dynamic mask resampling at ρ = 0.625 \rho= 0.625 ρ = 0.625 (b) and ρ = 0.75 \rho= 0.75 ρ = 0.75 (c) . At suitable masking ratios, resampling alone reaches comparable accuracy. Bars and shading show ± 1 \pm1 ± 1 standard deviation (SD). See App. § 16 for details.
Figure 4. Finite mask diversity interpolates between static and dynamic training. Downstream accuracy versus masking ratio for (a) the solvable model, with theoretical curves and simulation markers, and (b) a CNN autoencoder on CIFAR-10. Increasing K K K improves accuracy in the settings shown, and the curves approach the dynamic masking reference. The number of training samples is held fixed. Bars and shading show ± 1 \pm1 ± 1 SD across seeds; see App. § 16 for details.
Figure 5. Mask renewal and image augmentation. Linear-probe validation top-5 accuracy for ViT-Base on ImageNet-100. Blue/yellow indicate dynamic/static masking; circles/crosses denote pretraining without/with stochastic cropping and flipping, respectively. All four conditions use a common seed, data split, initialization, optimizer settings, and linear-probing protocol. Each point represents one run. The blue cross at ρ = 0.75 \rho= 0.75 ρ = 0.75 is the purple horizontal line in Figure 1 (c). See App. § 16 for training details.
Together, these results distinguish two benefits of masked representation learning: the prediction objective can favor useful correlations over nuisance variance, while renewing the masks can lower the sample complexity required to learn those correlations. By identifying this distinction, the theory motivates a controlled test of its relevance beyond the solvable model.
The main contributions of this paper are the following:
Under suitable heterogeneous noise, we prove that a linear masked autoencoder recovers the latent direction for all sufficiently large finite sample complexity α = n / d \alpha= n/d α = n / d , whereas unmasked linear reconstruction (PCA) fails for every fixed α > 0 \alpha> 0 α > 0 . Replica calculations complement this guarantee by predicting the recovery threshold (§ 3 ).
We formulate a tractable high-dimensional model of a two-stage learning protocol: self-supervised learning (SSL) through masked reconstruction, followed by supervised linear probing with a frozen encoder (§ 2 ). For linear and nonlinear autoencoders, we derive replica predictions for feature recovery and downstream
accuracy as functions of the masking ratio and mask diversity, showing the benefit of resampling the masks (§ 4 ).
Guided by our theoretical predictions, we test the role of mask diversity in vision and language. Dynamic masking improves downstream performance without stochastic cropping and flipping; adding these transformations substantially narrows the observed static–dynamic gap in the ViT setting, consistent with overlapping sources of prediction-task diversity. A BERT-Medium pilot provides complementary evidence for the benefit of mask diversity in language modeling (§ 5 ).
We outline the broad lines of related work here; App. § 9 provides an expanded comparison with the closest references and clarifies the differences in setting, analytical scope, and contribution.
Statistical-physics theory of neural networks. Our replica analysis builds on high-dimensional empirical risk minimization [12 , 13 , 14 ] , shallow-autoencoder dynamics [15 ] , and denoising autoencoders [16 ] . Conde Mendes et al. [17 ] prove an advantage of nonlinear autoencoders over PCA. Heterogeneous noise has also been studied in supervised learning [18 , 19 ] .
Theory of masked learning. Existing work connects masked autoencoding to contrastive learning and downstream guarantees [20 ] , and establishes latent identifiability in hierarchical models [21 ] . Bisulco et al. [22 ] characterize linear MAEs with full reconstruction from masked inputs, including visible coordinates rather than only hidden targets. Their analysis relates patch size and masking ratio to the spatial correlations learned. Dong et al. [23 ] analyze decoupled coordinate predictors through rigorous ridgeless-regression risk formulas, accounting for both corrupted covariates and the samples supplying a selected prediction target. Single-coordinate prediction also connects to factored attention [24 ] . Wortsman Zurich et al. [25 ] characterize a spiked-model recovery transition in the joint matrix of single-coordinate ridge predictors and establish prediction-risk advantages over PCA in structured covariance settings. Cabannes et al. [26 ] distinguish sample variability from augmentation variability in SSL generalization bounds; additional views can reduce the latter without removing the former.
Spiked models and heteroskedastic noise. Our linear baseline connects to spiked covariance models [27 ] and PCA recovery transitions [28 , 29 ] . Hong et al. [30 ] characterize PCA under heteroskedastic noise. Spectral methods addressing heteroskedasticity include weighted PCA [31 ] , diagonal correction through HeteroPCA [32 ] , and optimal estimators for doubly heteroskedastic noise [33 ] . We study how masking changes the reconstruction objective to promote recovery, without supplying the coordinate variances or their distribution.
A high-dimensional model of masked learning
Data and noise heterogeneity. Our goal is to compare prediction objectives and masking protocols for a data distribution that enables sharp high-dimensional analysis. Inspired by insights into the advantage of masking from [7 ] and by work on unsupervised learning in high dimensions [27 , 34 , 35 ] , we consider a data model that separates a shared informative feature in the form of a spike from coordinate-specific nuisance fluctuations. Concretely, we consider n n n samples with d d d coordinates generated as
x μ i = β d λ μ u i ∗ + γ i ∗ z μ i , μ ∈ [ n ] , i ∈ [ d ] . (1) x_{\mu i} = \sqrt{\frac{\beta}{d}}\lambda_\mu u_i^* + \sqrt{\gamma_i^*}z_{\mu i}, \qquad\mu\in[n], \quad i \in[d]. \tag*{(1)} x μ i = d β λ μ u i ∗ + γ i ∗ z μ i , μ ∈ [ n ] , i ∈ [ d ] . (1)
Here u ∗ u^* u ∗ is the shared latent direction (spike), λ μ \lambda_\mu λ μ is the latent variable of sample μ \mu μ , and β > 0 \beta> 0 β > 0 controls signal strength. The variance γ i ∗ \gamma_i^* γ i ∗ sets the strength of nuisance fluctuations in coordinate i i i : a large value increases input variance independently of the spiked direction. These variances are drawn once and shared by all samples, whereas the noise realizations z μ i z_{\mu i} z μ i change across samples and coordinates.
The variables λ μ \lambda_\mu λ μ and u i ∗ u_i^* u i ∗ are independently drawn from centered, unit-second-moment distributions P λ P_\lambda P λ and P u P_u P u ; z μ i ∼ N ( 0 , 1 ) z_{\mu i} \sim\mathcal{N}(0,1) z μ i ∼ N ( 0 , 1 ) , and the variances γ i ∗ ∼ i i d P γ \gamma_i^* \overset{\mathrm{iid}}{\sim} P_\gamma γ i ∗ ∼ iid P γ are positive. We normalize E γ [ γ ] = 1 \mathbb{E}_\gamma[\gamma] = 1 E γ [ γ ] = 1 and write κ 2 = E γ [ γ 2 ] < ∞ \kappa_2 = \mathbb{E}_\gamma[\gamma^2] < \infty κ 2 = E γ [ γ 2 ] < ∞ ; hence κ 2 ≥ 1 \kappa_2 \ge1 κ 2 ≥ 1 , with equality only for homogeneous noise. All random variables are mutually independent. The case P γ = δ 1 P_\gamma= \delta_1 P γ = δ 1 is the standard spiked covariance model [27 ] . Full assumptions and notation are in Apps. § 10 .§ 1 and § 10 .§ 2 .
Architecture and masked prediction. The learner is a single-hidden-unit autoencoder with tied encoder and decoder weights w ∈ R d \mathbf{w} \in\mathbb{R}^{d} w ∈ R d . For each sample μ \mu μ , we draw K K K mask vectors χ μ ( r ) = ( χ μ i ( r ) ) i ∈ [ d ] ∈ { 0 , 1 } d \boldsymbol{\chi}_{\mu}^{(r)} = (\chi_{\mu i}^{(r)})_{i\in[d]} \in\{0,1\}^{d} χ μ ( r ) = ( χ μ i ( r ) ) i ∈ [ d ] ∈ { 0 , 1 } d , with entries drawn independently from Bernoulli ( ρ ) \operatorname{Bernoulli}(\rho) Bernoulli ( ρ ) and independently of the data. The mask collection Ξ = ( χ μ ( r ) ) μ ∈ [ n ] , r ∈ [ K ] \Xi= (\boldsymbol{\chi}_{\mu}^{(r)})_{\mu\in[n],\,r\in[K]} Ξ = ( χ μ ( r ) ) μ ∈ [ n ] , r ∈ [ K ] is held fixed throughout pretraining. An entry of one marks a hidden coordinate; so ρ \rho ρ is the expected masking ratio . Mask r r r of sample μ \mu μ encodes only visible coordinates through
h μ r , v i s ( w ) = 1 d w T [ ( 1 d − χ μ ( r ) ) ⊙ x μ ] , (2) h_{\mu r,\mathrm{vis}}(\mathbf{w}) = \frac{1}{\sqrt{d}}\mathbf{w}^{\mathsf{T}}\left[(\mathbf{1}_{d}-\boldsymbol{\chi}_{\mu}^{(r)})\mathbin{\odot}\mathbf{x}_{\mu}\right], \tag*{(2)} h μ r , vis ( w ) = d 1 w T [ ( 1 d − χ μ ( r ) ) ⊙ x μ ] , (2)
where ⊙ \odot ⊙ denotes the elementwise (Hadamard) product and 1 d \mathbf{1}_{d} 1 d is the all-ones vector. For the fixed mask collection Ξ \Xi Ξ , pretraining minimizes the regularized empirical masked risk
R K , d ( w ) = λ R 2 ∥ w ∥ 2 2 + 1 K ∑ μ = 1 n ∑ r = 1 K ∥ χ μ ( r ) ⊙ [ x μ − w d σ ( h μ r , v i s ( w ) ) ] ∥ 2 2 , (3) \mathcal{R}_{K,d}(\mathbf{w}) = \frac{\lambda_{R}}{2}\lVert\mathbf{w}\rVert_{2}^{2} + \frac{1}{K}\sum_{\mu=1}^{n}\sum_{r=1}^{K}\left\lVert\boldsymbol{\chi}_{\mu}^{(r)}\mathbin{\odot}\left[\mathbf{x}_{\mu}-\frac{\mathbf{w}}{\sqrt{d}}\sigma\left(h_{\mu r,\mathrm{vis}}(\mathbf{w})\right)\right]\right\rVert_{2}^{2}, \tag*{(3)} R K , d ( w ) = 2 λ R ∥ w ∥ 2 2 + K 1 μ = 1 ∑ n r = 1 ∑ K χ μ ( r ) ⊙ [ x μ − d w σ ( h μ r , vis ( w ) ) ] 2 2 , (3)
where σ \sigma σ is the activation function and λ R \lambda_{R} λ R controls ridge regularization. The loss is evaluated only on hidden coordinates, so each target is predicted from the visible input. Unmasked reconstruction instead observes and predicts every coordinate; we define this separate objective in § 3 .
Static, finite-K K K , and dynamic masking. The choice K = 1 K=1 K = 1 gives static masking. Increasing K K K adds masked views without adding underlying samples. At a fixed dataset, the average over masks converges to the mask expectation as K → ∞ K\to\infty K → ∞ . We refer to this loss as the dynamic masking objective; drawing a fresh mask at each encounter provides stochastic evaluations of it. The high-dimensional analysis takes n , d → ∞ n,d\to\infty n , d → ∞ at fixed K K K and obtains dynamic masking as K → ∞ K\to\infty K → ∞ (App. § 10 .2.4).
Our two-stage protocol first learns a representation from unlabeled data and then fits a supervised probe with the encoder frozen. We assess both whether pretraining recovers the shared latent direction and whether the resulting representation supports prediction from a small, independent labeled dataset.
Pretraining and feature recovery. Given the pretraining dataset D p r e = { x μ } μ = 1 n \mathcal{D}_{\mathrm{pre}}=\{\mathbf{x}_{\mu}\}_{\mu=1}^{n} D pre = { x μ } μ = 1 n with n = α d n=\alpha d n = α d and the fixed mask collection Ξ \Xi Ξ , we study a global minimizer w ^ ∈ arg min w ∈ R d R K , d ( w ) \widehat{\mathbf{w}}\in\arg\min_{\mathbf{w}\in\mathbb{R}^{d}}\mathcal{R}_{K,d}(\mathbf{w}) w ∈ arg min w ∈ R d R K , d ( w ) of the risk in (3) . In the proportional limit n , d → ∞ n,d\to\infty n , d → ∞ at fixed sample complexity α = n / d \alpha=n/d α = n / d , recovery is measured by the cosine similarity (alignment):
θ u ⋆ = ∣ ⟨ w ^ , u ⋆ ⟩ ∣ ∥ w ^ ∥ 2 ∥ u ⋆ ∥ 2 (4) \theta_{\mathbf{u}_{\star}} = \frac{\left\lvert\langle\widehat{\mathbf{w}},\mathbf{u}_{\star}\rangle\right\rvert}{\lVert\widehat{\mathbf{w}}\rVert_{2}\lVert\mathbf{u}_{\star}\rVert_{2}} \tag*{(4)} θ u ⋆ = ∥ w ∥ 2 ∥ u ⋆ ∥ 2 ∣ ⟨ w , u ⋆ ⟩ ∣ (4)
Weak recovery means that there exists η > 0 \eta>0 η > 0 , independent of n n n and d d d such that θ u ⋆ > η \theta_{\mathbf{u}_{\star}}>\eta θ u ⋆ > η has probability that tends to one as n , d → ∞ n,d\to\infty n , d → ∞ . A recovery threshold marks the onset of this alignment.
Downstream task and linear probing. After pretraining, we freeze w ^ \widehat{\mathbf{w}} w and draw a labeled dataset D d s = { ( x ν d s , y ν d s ) } ν = 1 n d s \mathcal{D}_{\mathrm{ds}}=\{(\mathbf{x}_{\nu}^{\mathrm{ds}},y_{\nu}^{\mathrm{ds}})\}_{\nu=1}^{n_{\mathrm{ds}}} D ds = {( x ν ds , y ν ds ) } ν = 1 n ds , where y ν d s = sign ( λ ν d s ) y_{\nu}^{\mathrm{ds}}=\operatorname{sign}(\lambda_{\nu}^{\mathrm{ds}}) y ν ds = sign ( λ ν ds ) . These samples follow (1) with the same latent direction and coordinate variances as D p r e \mathcal{D}_{\mathrm{pre}} D pre , but independently drawn latent coefficients and noise. We fit a one-dimensional logistic classifier on the unmasked scalar features d − 1 / 2 w ^ T x ν d s d^{-1/2}\widehat{\mathbf{w}}^{\mathsf{T}}\mathbf{x}_{\nu}^{\mathrm{ds}} d − 1/2 w T x ν ds and evaluate it on independent test samples from the same model. Thus pretraining uses n = α d n=\alpha d n = α d unlabeled samples, while the labeled probe size n d s n_{\mathrm{ds}} n ds remains fixed as d d d grows (Apps. § 15 .§ 2 and § 16 .7).
Analytical predictions and optimality. The replica method predicts feature recovery after pretraining and the accuracy of the subsequent frozen-representation probe (Apps. § 11 .§ 1 and § 11 .§ 2 ). Replica calculations predict weak recovery thresholds by locating where a uninformative solution becomes unstable to a small alignment. These predictions concern continuous recovery transitions and are validated with simulations; an earlier discontinuous transition requires a separate analysis (App. § 12 .2.1). Below, “weak recovery threshold” has this predictive meaning when referring to replica results. Independently, § 3 proves a separation between masked linear autoencoder and PCA.
We also compare feature recovery with a matched Bayes-optimal reference that uses the same unlabeled samples but is supplied with the latent priors and realized coordinate variances. Unmasked reconstruction and finite-K K K comparisons isolate the effects of the objective and mask reuse, respectively; the Bayes reference instead assesses the gap to matched inference with additional prior information. Following Lesieur et al. [35 ] , App. § 14 gives the state evolution and heteroskedastic approximate message passing (AMP) updates. Downstream evaluation uses the same scalar logistic probe for AMP and the autoencoders (App. § 15 .§ 2 ).
A provable advantage of masked reconstruction
We first isolate the effect of the prediction objective. Unmasked autoencoders learn a compressed representation by reconstructing the full input through a low-dimensional bottleneck. The bottleneck forces the learner to select which variations in the data to preserve, with reconstruction error providing the criterion for this selection. Unmasked reconstruction is therefore a natural baseline for asking whether the features most useful for reconstructing the input also capture its shared latent structure.
Unmasked reconstruction. The autoencoder observes and predicts every coordinate, minimizing
R f u l l , d ( w ) = ∑ μ = 1 n ∥ x μ − w d σ ( h μ f u l l ( w ) ) ∥ 2 2 , h μ f u l l ( w ) = w T x μ d . (5) \mathcal{R}_{\mathrm{full},d}(\mathbf{w}) = \sum_{\mu=1}^{n} \left\lVert\mathbf{x}_{\mu} - \frac{\mathbf{w}}{\sqrt{d}} \sigma\left(h_{\mu}^{\mathrm{full}}(\mathbf{w})\right) \right\rVert_2^2,\qquad h_{\mu}^{\mathrm{full}}(\mathbf{w}) = \frac{\mathbf{w}^{\mathsf{T}}\mathbf{x}_{\mu}}{\sqrt{d}}. \tag*{(5)} R full , d ( w ) = μ = 1 ∑ n x μ − d w σ ( h μ full ( w ) ) 2 2 , h μ full ( w ) = d w T x μ . (5)
For σ ( h ) = h \sigma(h) = h σ ( h ) = h , the global minimizers of this tied single-unit autoencoder point along a direction of largest empirical variance, making it equivalent to ordinary PCA [36 ] ; see App. § 13 .1.1 for the reduction.
What changes when the target is hidden? For the masked objective (3) , we likewise consider a linear activation, set λ R = 0 \lambda_R = 0 λ R = 0 , and average over masks. Write w = d Q r \mathbf{w} = \sqrt{d}Q\mathbf{r} w = d Q r , with Q ≥ 0 Q \ge0 Q ≥ 0 and ∥ r ∥ = 1 \lVert\mathbf{r}\rVert= 1 ∥ r ∥ = 1 , and let Σ = diag ( γ 1 ⋆ , … , γ d ⋆ ) + β u ⋆ ( u ⋆ ) T / d \boldsymbol{\Sigma} = \operatorname{diag}(\gamma_1^\star,\ldots,\gamma_d^\star) + \beta\mathbf{u}^\star(\mathbf{u}^\star)^{\mathsf{T}}/d Σ = diag ( γ 1 ⋆ , … , γ d ⋆ ) + β u ⋆ ( u ⋆ ) T / d be the population covariance conditional on the planted direction and coordinate variances. Both population losses per sample are quadratic in Q Q Q . Their terms linear in Q Q Q are − 2 Q -2Q − 2 Q times the following rewards:
Unmasked: r T Σ r Masked: ρ ( 1 − ρ ) r T ( Σ − diag Σ ) r (6) \begin{aligned}
\text{Unmasked:}\quad&\mathbf{r}^{\mathsf{T}}\boldsymbol{\Sigma}\mathbf{r} \qquad\text{Masked:}\quad\rho(1-\rho)\mathbf{r}^{\mathsf{T}}\left(\boldsymbol{\Sigma}-\operatorname{diag}\boldsymbol{\Sigma}\right)\mathbf{r} \tag*{(6)}
\end{aligned} Unmasked: r T Σ r Masked: ρ ( 1 − ρ ) r T ( Σ − diag Σ ) r (6)
Unmasked reconstruction rewards total variance, whereas masked prediction rewards cross-correlations between different coordinates. The diagonal is absent from the masked reward because masking prevents a coordinate from predicting itself, removing the reward for its own variance: only correlations with visible coordinates can help reconstruct it.
To illustrate this effect, consider a coordinate with large noise variance, preserving its fluctuations in the compressed representation can substantially reduce unmasked reconstruction error, even though those fluctuations carry no information about the shared structure (the spike u ⋆ \mathbf{u}^\star u ⋆ in our model). But when that coordinate is hidden, its independent noise cannot be predicted from the visible coordinates. The shared feature u ⋆ \mathbf{u}^\star u ⋆ , by contrast, creates correlations between visible and hidden coordinates and can therefore improve masked prediction. Noise no longer earns a direct reward through its variance, and the quadratic prediction penalty discourages reliance on noisy inputs. Together, these effects can allow masked reconstruction to favor cleaner coordinates. The full loss decomposition is given in Apps. § 13 .1.4 and § 13 .1.5.
Homogeneous noise provides a reference case. When P γ = δ 1 P_\gamma= \delta_1 P γ = δ 1 , noise contributes equally to the unmasked reward in every unit direction. For Gaussian latent priors, PCA recovers above α c = β − 2 \alpha_c = \beta^{-2} α c = β − 2 [28 , 29 ] , while the replica-symmetric prediction for linear dynamic masking gives the same threshold and asymptotic alignment (Apps. § 12 .3.3 and § 13 .1.1). Figure 2 (a) illustrates this agreement.
Figure 2. Masking recovers a feature that PCA misses. Cosine similarity versus sample complexity α = n / d \alpha= n/d α = n / d , for (a) homogeneous noise, γ = 1 \gamma= 1 γ = 1 ; (b) bounded heterogeneous noise, γ = 1 4 + 9 4 B \gamma= \frac{1}{4} + \frac{9}{4}B γ = 4 1 + 4 9 B , B ∼ Beta ( 1 , 2 ) B \sim\operatorname{Beta}(1,2) B ∼ Beta ( 1 , 2 ) ; and (c) unbounded heterogeneous noise, γ = 3 4 + 1 4 e Z − 1 / 2 \gamma= \frac{3}{4} + \frac{1}{4}e^{Z^{-1/2}} γ = 4 3 + 4 1 e Z − 1/2 , Z ∼ N ( 0 , 1 ) Z \sim\mathcal{N}(0,1) Z ∼ N ( 0 , 1 ) . Curves are theoretical predictions (linear masked autoencoders), markers are finite-dimensional simulations, and error bars show ± 1 \pm1 ± 1 SD across seeds. Green curves give the matched Bayes-optimal reference; green diamonds show AMP results (Apps. § 14 .§ 5 and § 16 .14). Unmasked reconstruction is ordinary PCA. The homogeneous panel provides a control; the heterogeneous panels illustrate recovery by masking where the asymptotic PCA alignment vanishes. See App. § 16 for details.
A separation at linear sample complexity. We specialize the model of § 2 to P u = P λ = N ( 0 , 1 ) P_u = P_\lambda= \mathcal{N}(0,1) P u = P λ = N ( 0 , 1 ) and a fixed, mean-one variance law supported in [ a , ∞ ) [a,\infty) [ a , ∞ ) for some a > 0 a > 0 a > 0 , with finite second moment. We fix β > 0 \beta> 0 β > 0 and ρ ∈ ( 0 , 1 ) \rho\in(0,1) ρ ∈ ( 0 , 1 ) as n , d → ∞ n,d \to\infty n , d → ∞ with n / d → α n/d \to\alpha n / d → α . The precise hypotheses, including additional edge conditions for bounded-noise PCA failure, are collected in Assumption E.1 .
Theorem 3.1 (Recovery by masked reconstruction and separation from PCA). Under (A1) and (A2), there exist finite A s u f f ( a , β , ρ ) A_{\mathrm{suff}}(a,\beta,\rho) A suff ( a , β , ρ ) and η ( a , β , ρ ) > 0 \eta(a,\beta,\rho) > 0 η ( a , β , ρ ) > 0 such that, for every fixed α > A s u f f \alpha> A_{\mathrm{suff}} α > A suff , with probability tending to one the linear dynamic masking objective, with exact averaging over masks, admits global minimizers and every such minimizer satisfies θ a ⋆ 2 ≥ η \theta_{a^\star}^2 \ge\eta θ a ⋆ 2 ≥ η . If, additionally, the variance support is unbounded or the bounded-noise conditions (A3) hold, then masked linear reconstruction (PCA) has θ u ⋆ 2 → 0 \theta_{u^\star}^2 \to0 θ u ⋆ 2 → 0 in probability for every fixed α > 0 \alpha> 0 α > 0 .
For bounded noise with upper endpoint γ + \gamma_+ γ + , (A3) requires β E γ [ ( γ + − γ ) − 1 ] < 1 \beta\mathbb{E}_{\gamma}[(\gamma_+ - \gamma)^{-1}] < 1 β E γ [( γ + − γ ) − 1 ] < 1 and E γ [ γ 2 ( γ + − γ ) − 2 ] = ∞ \mathbb{E}_{\gamma}[\gamma^2(\gamma_+ - \gamma)^{-2}] = \infty E γ [ γ 2 ( γ + − γ ) − 2 ] = ∞ . The first condition excludes a separated population covariance outlier; the second ensures a regular upper edge of the noise-only sample-covariance spectrum at every fixed finite α \alpha α . P γ P_{\gamma} P γ from Figure 2 (b) satisfies these conditions. Theorem 3.1 therefore shows that the same dataset contains a recoverable feature that its leading principal component misses: changing the prediction objective is enough to obtain positive alignment with n = O ( d ) n = O(d) n = O ( d ) samples, without supplying coordinate variances to either learner. The proof first shows that the population masked objective favors an informative direction over all directions with sufficiently small overlap. It then controls empirical fluctuations uniformly over candidate directions, relative to the noise penalty, so that this preference survives at sufficiently large finite α \alpha α . The argument applies to every global minimizer of the objective (Apps. § 13 .§ 1 and § 13 .§ 2 ).
Interpreting the separation. Figure 2 (b,Figure 2 c) illustrates how heterogeneity changes the comparison with the homogeneous reference: masking recovers while PCA can remain uninformative3 . The bounded example (panel b) shows that this effect does not require arbitrarily large coordinate variances; the signal can remain below the noise spectral edge even when the variance support is compact. With unbounded support (panel c), extreme coordinate variances instead drive the leading sample component away from the shared feature. The respective PCA arguments are given in Apps. § 13 .1.2 and § 13 .1.3. The masked reward in (6) involves the same off-diagonal covariance structure used by diagonal-deletion PCA [37 ] , but the full masked objective also contains a noise-sensitive, direction-dependent prediction penalty. In our simulations, dynamic masking achieves better alignment than both diagonal-deletion PCA and HeteroPCA (App. § 16 .§ 4 ).
The theorem guarantees recovery for all sufficiently large finite α \alpha α for dynamic masking, but does not locate the sharp transition, for which the replica analysis provides a prediction. Having established why the masked objective can favor useful structure, we next ask how its performance changes when each sample supplies only a finite collection of masks.
Mask diversity and sample complexity
We now keep the original dataset fixed and vary the number K K K of masks per sample. Reusing a fixed collection of masks repeatedly presents the same visible-to-hidden prediction tasks; increasing K K K adds new tasks without adding independent observations. The question is how this change affects the weak recovery thresholds and downstream performance.
Predicting learning across mask diversity. Our replica analysis yields high-dimensional learning curves for static, finite-K K K , and dynamic masking, resolving their dependence on sample complexity α \alpha α , masking ratio ρ \rho ρ , and activation function (App. § 11 .§ 1 ). It predicts alignment with the planted feature and the effective noise along the learned direction; the downstream analysis then translates these quantities into classification accuracy under the linear-probe protocol introduced in § 2 .
Figure 3 compares these predictions with numerical training at finite dimension. Across the tested activations, increasing mask diversity K K K lowers the weak recovery threshold and improves alignment above the transition in the settings shown. The replica predictions capture not only these threshold shifts, but also the magnitude and α \alpha α -dependence of the cosine similarity over the displayed range. The theory also captures training and test errors (Figure 10 ). Thus the analysis quantifies how mask resampling changes the representation learned from a given number of examples.
Figure 3. Replica predictions track learning across mask diversity. Cosine similarity (top) and downstream classification accuracy (bottom) versus sample complexity α = n / d \alpha= n/d α = n / d under bounded heterogeneous noise (variance distribution of Figure 2 (b)), for linear, ReLU, ELU, and tanh activations. Colors distinguish K = 1 K = 1 K = 1 (static), 2, 4 and the dynamic masking limit. Solid curves are replica predictions and markers are finite-dimensional simulations. Green curves show the Bayes-optimal pretraining reference, evaluated with the same logistic probe for the lower row; green diamonds show AMP results (Apps. § 14 .§ 5 and H.14). Error bars show ± 1 \pm1 ± 1 SD. See App. § 16 for experimental details.
Figure 10. Mask resampling worsens training error while improving test loss. Centered reconstruction errors versus masking ratio at α = 8 \alpha= 8 α = 8 under bounded heterogeneous noise. Left: training error. Right: independent test error. Curves are the replica predictions in (G.3) and (G.4); markers and bars show mean ± 1 \pm1 ± 1 SD over 30 simulations. Lower values are better; zero denotes the zero-decoder baseline. Colors distinguish the fixed mask collections and dynamic masking.
From feature recovery to downstream performance. The lower row of Figure 3 shows how these representation gains translate into classification accuracy. The linear-probe predictions (App. § 15 .§ 2 ) track the numerical results as sample complexity and mask diversity vary across the four activation functions. Together, the two rows show that the theory captures both latent-feature recovery during pretraining and the downstream usefulness of the frozen representation.
The Bayes-optimal pretraining curve provides the reference using the matched priors and the realized coordinate variances (App. § 14 ). Increasing mask diversity brings the representations closer to this reference in the displayed comparisons, while a gap can remain even with dynamic masking (Figure 3 ).
How mask diversity lowers sample complexity. The replica equations describe learning at finite signal strength β \beta β . A weak-signal expansion (β ≪ 1 \beta\ll1 β ≪ 1 ) isolates a simple expression for the sample complexity as a function of the number of masks. For activations satisfying σ ( 0 ) = 0 \sigma(0) = 0 σ ( 0 ) = 0 and σ ( x ) = σ x x + O ( x 2 ) \sigma(x) = \sigma_x x + O(x^2) σ ( x ) = σ x x + O ( x 2 ) as x → 0 x \to0 x → 0 , with 0 < σ x < ∞ 0 < \sigma_x < \infty 0 < σ x < ∞ , fixed ρ \rho ρ , λ R = 0 \lambda_R = 0 λ R = 0 , we have that the weak recovery threshold follows
α ℓ , s m ( K ) = κ 2 β 2 [ 1 + 1 K ( 1 2 ρ ( 1 − ρ ) − 1 ) ] [ 1 + o β ( 1 ) ] , κ 2 = E γ [ γ 2 ] . (7) \alpha_{\ell,\mathrm{sm}}^{(K)} = \frac{\kappa_2}{\beta^2}\left[1 + \frac{1}{K}\left(\frac{1}{2\rho(1-\rho)} - 1\right)\right]\left[1 + o_\beta(1)\right], \qquad\kappa_2 = \mathbb{E}_{\gamma}[\gamma^2]. \tag*{(7)} α ℓ , sm ( K ) = β 2 κ 2 [ 1 + K 1 ( 2 ρ ( 1 − ρ ) 1 − 1 ) ] [ 1 + o β ( 1 ) ] , κ 2 = E γ [ γ 2 ] . (7)
The derivation and conditions underlying this expansion are given in Apps. § 12 .§ 2 and § 12 .2.1. The prefactor κ 2 / β 2 \kappa_2/\beta^2 κ 2 / β 2 sets the weak-signal scale, including the cost of variance heterogeneity. At leading order, mask diversity lowers the excess threshold by a term proportional to 1 / K 1/K 1/ K : doubling K K K halves this excess sample requirement, with smaller absolute gains at each doubling.
This leading law is shared by linear, tanh, and ELU activations; ReLU has a different coefficient but retains the same ordering in K K K (App. § 12 .§ 2 ). Beyond weak signal, Figure 18 compares linear threshold ratios computed from the full replica equations with the asymptotic prediction. The ratios continue to decrease with K K K at the finite β \beta β , even when they depart from the weak-signal expression. Finite-dimensional training in Figure 3 supports this predicted ordering across all four activations.
Figure 18. Finite-mask threshold ratios under homogeneous and bounded noise. Rows show (a) homogeneous variance distribution γ = 1 \gamma= 1 γ = 1 and (b) the bounded law (H.2); columns vary the masking ratio ρ \rho ρ . Colors indicate signal strength β \beta β . Markers are numerical teacher-overlap instability thresholds divided by their corresponding dynamic threshold (K → ∞ K \to\infty K → ∞ ). The black curve is the weak-signal ratio prediction 1 + K − 1 ( [ 2 ρ ( 1 − ρ ) ] − 1 − 1 ) 1 + K^{-1}([2\rho(1-\rho)]^{-1} - 1) 1 + K − 1 ([ 2 ρ ( 1 − ρ ) ] − 1 − 1 ) ; the dashed line marks unity.
Mask diversity can change the learning mechanism. Beyond the weak-signal expansion, replicas reveal a qualitative difference between static and dynamic masking. In the linear case, at the weak recovery transition, static masking does not preferentially use cleaner coordinates to identify the feature: its threshold reflects noise heterogeneity only through the aggregate moment κ 2 \kappa_2 κ 2 . Dynamic masking can instead find and favor cleaner coordinates as recovery begins, implicitly learning which coordinates provide more reliable information. At suitable masking ratios, this adaptation provides an additional benefit not captured by the leading weak-signal law (7) . App. § 12 .§ 4 derives this distinction and compares noise distributions with identical static but different dynamic thresholds.
Interaction with the masking ratio. The finite-K K K penalty in (7) is smallest at balanced masking and grows towards either endpoint. Near these extremes, each view offers relatively few visible or hidden coordinates, and a small collection of masks provides few distinct prediction tasks. Increasing K K K reduces this penalty. The shallow-model sweep in Figure 4 (a) illustrates the associated improvement in accuracy and the broader range of useful masking ratios as K K K increases. At finite signal strength, the best downstream masking ratio also depends on the activation and the learned representation’s noise, so it need not minimize the leading threshold alone.
Testing the mask-diversity prediction in vision and language
Figure 4 links the theoretical prediction to the CNN experiments: increasing the number K K K of fixed masks per sample improves downstream accuracy towards the dynamic-masking reference in both the solvable model (a) and CNN autoencoder (b), with the underlying dataset fixed. We test mask diversity further in ViT and BERT, and examine whether random cropping and flipping narrow the static–dynamic gap in vision.
Isolating mask resampling. We test the qualitative mask-diversity prediction in CNN autoencoders on CIFAR-10 and ViT-Base on ImageNet-100. Without stochastic cropping or flipping during pretraining, dynamic
masking improves downstream accuracy over static masking in both architectures (Figure 1 (b,Figure 1 c)); see Figure 7 for ViT top-1 accuracy. At suitable masking ratios, resampling alone reaches accuracy comparable to our reference combining dynamic masking with random cropping and flipping [4 ] . With extended pretraining and probing schedules, dynamic masking (without stochastic cropping or flipping) reaches accuracy comparable to the ImageNet-100 MAE baseline reported by Zhang et al. [20 ] (Table 3 and Table 4 ).
Table 3. Higher accuracy with longer ViT training schedules. Frozen-probe validation accuracy for dynamic masking at ρ = 0.75 \rho= 0.75 ρ = 0.75 , without cropping or flipping during pretraining. Batch sizes are effective batches. All rows use the same initialization; repeated pretraining rows probe the same encoder checkpoint. Schedule names indicate adaptations of the published optimization recipes, with uniformity regularization disabled. Results use one run per configuration and the final probe epoch.
Table 4. The masking advantage persists without probe augmentation. ViT-Base/ImageNet-100 validation accuracy (%, ↑), using the same pretrained encoders and probe hyperparameters in each pair. Both encoders were pretrained without cropping or flipping at ρ = 0.75 \rho= 0.75 ρ = 0.75 . Results use one initialization and one probe seed.
Figure 7. The ViT masking comparison also holds for top-1 accuracy. Frozen linear-probe validation accuracy on ImageNet-100. (a) Static and dynamic masking without cropping or flipping: mean ± 1 \pm1 ± 1 SD over three seeds. Each horizontal reference uses one seed. (b) Static and dynamic masking with and without cropping and flipping, using the common seed and protocol of Figure 5 ; no error bars are shown. Training and evaluation settings are given in App. § 16 .§ 1 .
Interaction with cropping and flipping. Figure 5 compares static and dynamic ViT masking with and without cropping and flipping. Under static masking , patch positions remain fixed while transformations change the visible content and reconstruction targets. Cropping and flipping substantially improve static masking, narrowing the gap to dynamic masking. Figure 14 extends the comparison to our CNN experiments with CIFAR-10 leading to the same qualitative conclusions.
Figure 14. Mask renewal and image augmentation in CNNs. Frozen linear-probe test top-1 accuracy on CIFAR-10 versus masking ratio ρ \rho ρ . Blue/yellow indicate dynamic/static masking; circles/crosses denote pretraining without/with stochastic cropping and flipping. Each marker reports the mean over five seeds, with data splits and autoencoder initializations shared across conditions within each seed. Linear probes use no image augmentation.
Finite mask diversity. In the CNN sweep of Figure 4 (b), each image is assigned K K K independently drawn masks that are reused throughout pretraining, whereas dynamic masking draws a fresh mask at every presentation. For validation-selected encoders, mean downstream accuracy generally increases with K K K , approaching the dynamic-masking reference while using the same pretraining images. To assess sensitivity to the training protocol, we repeat the comparison at ρ = 0.625 \rho= 0.625 ρ = 0.625 with five paired seeds and a fixed learning rate under a schedule defined in optimizer updates. The mask-diversity trend persists both with validation-selected checkpoints and when all encoders are evaluated at the same 125k-update checkpoint (App. § 16 .10).
For unmasked reconstruction in Figure 1 , we found that lower reconstruction error need not imply better representations for the downstream task: continued pretraining can reduce reconstruction MSE while linear probing degrades (Figure 12 and Figure 13 ).
Figure 12. Better reconstruction need not improve CNN representations. (a) Training and validation reconstruction MSE during unmasked CNN pretraining. (b) Linear-probe test accuracy at different pretraining epochs. Shading and bars show ± 1 \pm1 ± 1 SD over five seeds. The dotted line marks epoch 16, selected by mean probe validation accuracy for Figure 1 .
Figure 13. Reconstruction and downstream performance also diverge for ViT. (a) Training and validation reconstruction MSE during unmasked ViT pretraining. (b) Linear-probe top-5 accuracy on the validation set at different pretraining epochs. The dotted line marks six completed pretraining epochs, selected by probe validation accuracy for Figure 1 . Results use one pretraining seed.
Mask diversity in language modeling. A BERT-Medium pilot compares K = 1 K = 1 K = 1 , K = 10 K = 10 K = 10 , and dynamic masking , using only [MASK] replacements (Table 1 ). The corpus, architecture, and pretraining budget are shared across masking conditions. The ordering dynamic masking > K = 10 > K = 1 > K = 10 > K = 1 > K = 10 > K = 1 holds in mean development score on seven of the eight GLUE tasks. Additional results and experimental details are provided in App. § 16 .13.
Table 1. Development scores (× 100 \times100 × 100 , ↑ \uparrow ↑ ) for BERT-Medium under different masking procedures, on a subset of GLUE tasks. AVG is the unweighted mean of the task-specific scores over all eight evaluated tasks (accuracy; Spearman correlation for STS-B; MCC for MRPC, CoLA, and RTE), using MNLI-m for MNLI. Entries are means over three pretraining seeds, each averaged over two fine-tuning runs; standard deviations are in Table 5 . See App. § 16 .13 for details.
Discussion
Our analysis separates two benefits of masked learning: masked prediction can favor shared structure over nuisance variance, while mask resampling can reduce the sample complexity required to recover that structure. We establish the first benefit rigorously in the linear model and quantify the second through replica calculations that agree with simulations. The CNN and ViT experiments, together with the BERT pilot, support the relevance of mask diversity across architectures and data modalities.
This perspective connects masked reconstruction to theories of data augmentation. Analyses based on transformation groups explain statistical gains through invariance and averaging [38 , 39 ] ; in joint-embedding self-supervised learning, multiple views can reduce augmentation variability while retaining the variability associated with the original observations [26 ] . Our analysis gives a complementary account for masked reconstruction: changing K K K preserves both the underlying dataset and the distribution of individual masks, yet changes the predicted recovery threshold. The weak-signal law quantifies the additional sample requirement at finite K K K and the diminishing gains from increasing mask diversity.
The ViT comparison suggests that geometric augmentation can partly compensate for mask reuse. A predictive theory of augmentation should therefore explain when geometric transformations and mask resampling offer complementary benefits, and when one reduces the benefit of the other. Our replica analysis also identifies a qualitative change in learning: dynamic masking can exploit cleaner coordinates at the recovery transition, while static masking lacks this adaptation. Whether resampling similarly changes which information is learned in larger models remains an open question.
Better representations need not require more data; they can come from a greater diversity of prediction tasks on the same observations.
Acknowledgments
We acknowledge funding from the Swiss National Science Foundation grants SNSF SMArtNet (grant number 212049), the Simons Collaboration on the Physics of Learning and Neural Computation via the Simons Foundation grant (#1257413 (LZ)), and the Swiss State Secretariat for Education, Research and Innovation (SERI), which funded the ERC Advanced Grant SPASM-net. This work was also supported under project IDs #43 and SNAI000097 as part of the Swiss AI Initiative, through a grant from the ETH Domain and computational resources provided by the Swiss National Supercomputing Centre (CSCS) under the Alps infrastructure.
We thank Vittorio Erba, Emanuele Troiani, Cédric Koller and Vicente Conde Mendes for preliminary discussions on the architecture and data model. We are also grateful to Alexander Mathis and Amir Zamir for insightful discussions and comments that helped sharpen our perspective on the modeling choices and practical training of masked autoencoders.
AI use statement
We used generative AI tools in an iterative, author-led research process to assist with literature retrieval, drafting, and polishing. Additional uses included formulating and refining mathematical claims, developing and revising derivations and proof arguments, including input of proof ideas from AI, discussing experimental design and interpretation, implementing and debugging numerical routines, and preparing scientific plots. Throughout this collaboration, the authors actively directed the work, critically examined the suggestions, and checked and revised AI-assisted outputs at every stage, including the mathematical arguments, computational methods, references, and written presentation. All scientific judgments and decisions about the manuscript’s content remained with the authors. The authors take full responsibility for the manuscript.
Detailed comparison with the closest prior work
The main text outlines the broad lines of related work. Here we expand on the closest references to clarify both their settings and what their analyses establish. We compare data models, prediction objectives, and masking protocols, as well as the observables and guarantees studied. These distinctions locate our contributions: recovery under heterogeneous noise for the exact mask-averaged objective, and replica predictions for mask diversity and downstream performance.
Reconstruction and useful features. The reconstruction–perception mismatch identified by Balestriero and LeCun [7 ] motivates our separation: a direction can explain substantial input variance without carrying useful latent information. Their closed-form linear denoising analysis shows how corruption, including masking, can improve this alignment. In our spiked model, coordinate-dependent noise makes the obstruction explicit, and hidden-target prediction admits a recovery guarantee at linear sample complexity: every global minimizer of the exact mask-averaged linear objective weakly recovers at linear sample complexity while ordinary PCA fails (Theorem 3.1 ).
Full reconstruction from masked inputs. The linear MAE analyzed by Bisulco et al. [22 ] has untied encoder and decoder matrices, whereas our bottleneck uses tied weights. More crucially, their mask-averaged analytical loss reconstructs all coordinates from masked inputs, including visible coordinates; ours scores only hidden targets. The visible-coordinate rewards retain a contribution from reproducing input variance, changing both the loss landscape and its masking-ratio dependence. Their characterization of critical points and of the spatial correlations selected by patch size and masking ratio is therefore closely relevant, but its spectral solution does not directly solve our objective. Our statistical analysis follows how the structure favored by hidden-target prediction translates into recovery at finite sample size and under finite mask reuse. These are different objectives and constraints, rather than a general performance ordering.
Single-token prediction and factored attention. Rende et al. [24 ] connect factored attention to generalized Potts conditionals and use replicas to predict generalization in a Gaussian relaxation. There, predicting one coordinate from all the others probes a full-rank random precision matrix. This differs from our low-rank signal with diagonal heterogeneous noise both in correlation structure and in the number of targets per mask: a positive limiting fraction is hidden in our model. The shared tied bottleneck couples these prediction tasks, so its alignment with the planted feature, and the downstream utility of that alignment, become explicit observables as the number of reused masks varies.
The joint matrix of single-coordinate predictors. Single-coordinate prediction can itself reveal latent structure: Wortsman Zurich et al. [25 ] analyze the joint matrix of self-supervised ridge predictors, rigorously characterizing its spectrum, prediction risk, and spiked-model BBP recovery transition. They also establish prediction-risk advantages over PCA in structured covariance settings. Coupling an extensive set of hidden targets through a shared tied bottleneck changes the estimator in our work; mask diversity is an additional statistical control. Our analysis follows its effects on recovery and downstream performance via replicas, alongside a rigorous recovery separation under heteroskedastic noise for the exact mask-averaged objective. Nevertheless, it is important to stress that recovering latent structure through the data correlations exploited by masked prediction is already established in their work.
Masking ratio and a selected prediction target. Dong et al. [23 ] start from a loss over all hidden coordinates, but decouple their linear predictors and solve a stylized regression for one selected target, y = X β + ϵ y = X\beta+ \epsilon y = X β + ϵ in their notation. Their isotropic and spiked covariance assumptions describe the remaining covariates X X X ; the target coefficient and residual noise are specified separately. Consequently, this target need not be statistically representative of the other coordinates of the augmented sample ( X , y ) (X, y) ( X , y ) . The resulting risk formulas rigorously quantify how masking both corrupts covariates and selects the samples supplying this target. In our common-factor model, every coordinate follows the same generative construction without a designated response, and all hidden targets train the same tied bottleneck; the analysis then follows collective feature recovery. Their fixed-ratio theory motivates randomized masking ratios, with downstream benefits assessed across modalities; our finite-reuse calculation keeps the ratio fixed and links representation alignment to a finite-label probe, with replica rather than rigorous guarantees for the general learning curves.
Contrastive connections and downstream guarantees. The connection between masked reconstruction and useful representations is also explicit in Zhang et al. [20 ] : reconstruction induces alignment on a mask-based augmentation graph, supporting downstream guarantees and an analysis of masking ratio and dimensional collapse. Our recovery thresholds address a more specific statistical question: how reusing a finite collection of masks changes the learned alignment at a fixed sample-to-dimension ratio. The downstream calculation then tracks the effect of that alignment on a probe trained with finitely many labels.
Identifiability in hierarchical models. Under the hierarchical generative and invertibility assumptions of Kong et al. [21 ] , masking ratio and patch size determine which latent variables are shared between visible and hidden regions and can be identified. In our additive-noise model, the relevant observable is partial alignment with a planted direction at finite sample-to-dimension ratio. The recovery transition and its dependence on mask diversity concern statistical estimation under these different data and encoder assumptions, rather than an alternative identifiability statement for their hierarchy.
Nonlinear recovery beyond PCA. Conde Mendes et al. [17 ] show that nonlinear autoencoders recover higher-order structure invisible to PCA, and that reconstruction loss can misalign with representation quality. Our signal is covariance-visible, but heterogeneous variances obstruct ordinary PCA. Hidden-target prediction changes which covariance structure the objective rewards, yielding a separation that does not require nonlinearity. Complementary high-dimensional work studies how pretraining sample size and representation dimensionality jointly control downstream linear-probe generalization in spiked models [40 ] .
Noise-aware spectral alternatives. HeteroPCA [32 ] and whitening-based methods [41 ] address the same nuisance of heterogeneous noise through spectral correction. Figure 8 compares such estimators on the same observations: our separation from ordinary PCA does not imply a separation from all spectral methods. The comparison locates masking among several routes to recovery. It changes which structure the reconstruction objective rewards, without supplying the autoencoder with the coordinate variances or their distribution.
Figure 8. Noise-aware spectral baselines for heteroskedastic noise. Cosine similarity versus sample complexity under (a) bounded and (b) unbounded heterogeneous noise. The comparison includes dynamic masking, unmasked reconstruction (ordinary PCA), diagonal-deletion PCA [37 ] , HeteroPCA [32 ] , estimated-whitening PCA [41 ] , and the Bayes-optimal baseline. Lines show theoretical references; markers show numerical estimates. Green curves give the Bayes-optimal state-evolution reference; green diamonds show AMP results (Apps. § 14 .§ 5 and H.14). Bars show ±1 SD; hollow AMP markers identify groups containing iteration-limited runs.
Bayes-optimal inference and the role of prior information. Our Bayes analysis builds on the low-rank matrix-estimation framework of Lesieur et al. [35 , 42 ] , which connects matched priors and output channels to approximate message passing and state evolution. We specialize this framework to coordinate-dependent Gaussian noise to obtain the reference learning curves and AMP updates in App. § 14 . For Gaussian latent priors, the continuous recovery threshold is α c B O = [ β 2 E γ ( γ − 2 ) ] − 1 \alpha_{\mathrm{c}}^{\mathrm{BO}} = [\beta^2\mathbb{E}_{\gamma}(\gamma^{-2})]^{-1} α c BO = [ β 2 E γ ( γ − 2 ) ] − 1 when the inverse second moment is finite (App. § 14 .8). Its dependence on inverse variances highlights the information available in low-noise coordinates. Zhang and Mondelli [33 ] provide an independent rigorous foundation: their analysis of doubly heteroskedastic matrix denoising yields this weak-estimation threshold under their Gaussian-prior and compact, positive covariance-support assumptions, and a covariance-aware spectral estimator attains it under their additional technical condition. Thus the Bayes reference connects our reconstruction-based learners to an established optimal-inference benchmark, rather than introducing a new information-theoretic limit.
The distinction in available information matters for interpreting the comparison. Our Bayes reference uses the matched latent priors and the realized coordinate variances, whereas the autoencoders receive neither the variances nor their distribution. A remaining gap to Bayes therefore reflects both the reconstruction objective and the additional information used by matched inference. Increasing mask diversity improves how that objective uses the observations; it does not supply the learner with the noise model. The variance-consistency calculation in App. § 14 discusses learning the noise levels from the samples, separately from the known-variance benchmark used here.
Augmentation multiplicity and finite reuse. Prior work has studied the benefit of drawing multiple augmented views of the same example. Fort et al. [43 ] show empirically that averaging several freshly sampled augmentations per image can improve supervised generalization, while Cabannes et al. [26 ] analyze the corresponding multi-view setting theoretically and separate variability due to sampling original examples from variability due to sampling their augmentations. These works vary the number of views used for an example while preserving the underlying augmentation distribution. We study a different axis: finite reuse . Each training sample is assigned K K K masks that are held fixed throughout learning, so changing K K K changes the finite collection of prediction tasks available to the learner rather than the number of views averaged within an update. Replica predictions quantify how this finite mask diversity changes feature recovery and downstream accuracy, including the weak-signal excess sample requirement in (7) . The masks contain no additional information about the planted feature; we show that their benefit comes from how a richer collection of prediction tasks allows the objective to extract information already present in the observed samples.
Mask resampling and other augmentations. Dynamic masking in RoBERTa [8 ] and multiple masked views per update in data2vec 2.0 [9 ] already exploit variation in prediction tasks. The interaction with image augmentation matters when interpreting its benefit: even fixed patch positions expose changing content under stochastic cropping and flipping. Our vision comparisons isolate this interaction, while the BERT pilot provides complementary evidence for finite mask diversity. Group-based accounts of augmentation through invariance and averaging [38 , 39 ] offer another perspective; here the controlled variable is the reuse of prediction tasks from each original observation. These experiments test the qualitative role of mask diversity beyond the solvable model, without assuming that its quantitative recovery law transfers to these architectures and datasets.
Model, notation, and effective output channel
Notation
Table 6.
Bold symbols denote vectors, and a star marks ground-truth quantities. Unless conditioning is explicitly stated or specified in the surrounding text, an unsubscripted E \mathbb{E} E denotes expectation over all model randomness. Subscripts specify the variables being averaged, with other quantities held fixed: in particular, E γ \mathbb{E}_\gamma E γ averages over the noise-variance distribution P γ P_\gamma P γ , and E χ \mathbb{E}_\chi E χ averages over masks at a fixed dataset and candidate weight vector. Conditional expectations are written as E [ ⋅ ∣ ⋅ ] \mathbb{E}[\cdot\mid\cdot] E [ ⋅ ∣ ⋅ ] . Population quantities defined by averaging over fresh samples at fixed quenched variables retain their dependence on the realized teacher u ⋆ u^\star u ⋆ and variance matrix Γ ⋆ \Gamma^\star Γ ⋆ ; for example, E [ x x ⊤ ∣ u ⋆ , Γ ⋆ ] = Γ ⋆ + β u ⋆ ( u ⋆ ) ⊤ / d \mathbb{E}[xx^\top\mid u^\star,\Gamma^\star]=\Gamma^\star+\beta u^\star(u^\star)^\top/d E [ x x ⊤ ∣ u ⋆ , Γ ⋆ ] = Γ ⋆ + β u ⋆ ( u ⋆ ) ⊤ / d . We also write [ m ] = { 1 , … , m } [m]=\{1,\ldots,m\} [ m ] = { 1 , … , m } for any positive integer m m m .
Samples index rows and coordinates index columns throughout:
X = ( x μ i ) , Z = ( z μ i ) ∈ R n × d , X = β d λ ( u ⋆ ) T + Z ( Γ ⋆ ) 1 / 2 . (8) X=(x_{\mu i}),\quad Z=(z_{\mu i})\in\mathbb{R}^{n\times d},\quad X=\sqrt{\frac{\beta}{d}}\lambda(u^\star)^{\mathsf T}+Z(\Gamma^\star)^{1/2}. \tag*{(8)} X = ( x μ i ) , Z = ( z μ i ) ∈ R n × d , X = d β λ ( u ⋆ ) T + Z ( Γ ⋆ ) 1/2 . (8)
Here λ = ( λ 1 , … , λ n ) T \lambda=(\lambda_1,\ldots,\lambda_n)^{\mathsf T} λ = ( λ 1 , … , λ n ) T .
Here E K , c = E ∥ F K , c ∥ 2 \mathcal{E}_{K,c}=\mathbb{E}\lVert\boldsymbol{F}_{K,c}\rVert^2 E K , c = E ∥ F K , c ∥ 2 and X K , c \mathcal{X}_{K,c} X K , c are the force second moment and averaged informative response at criticality. Along the regular weak-signal branch at fixed finite K K K , η K , c 2 → T K / χ K 2 \eta_{K,c}^2\to T_K/\chi_K^2 η K , c 2 → T K / χ K 2 as β ↓ 0 \beta\downarrow0 β ↓ 0 , with the limiting quantities defined in (D.65)–(D.66).
The cosine identity in the table is exact for nonzero teacher and weights. Since ∥ u ⋆ ∥ 2 / d → 1 \lVert u^\star\rVert^2/d\to1 ∥ u ⋆ ∥ 2 / d → 1 , its high-dimensional expression is ∣ M ∣ / q I \lvert M\rvert/\sqrt{q_I} ∣ M ∣ / q I . For a fixed candidate weight vector, independent masks make the fluctuations δ r \delta_r δ r independent across views conditional on the sample; averaging over the shared sample need not preserve independence at finite dimension. Independence in the limiting Gaussian channel is understood under the assumptions in App. § 10 .§ 2 .
Detailed model and effective output channel
As mentioned in the main document, we study a single hidden-neuron autoencoder with tied weights and K = O d ( 1 ) K=O_d(1) K = O d ( 1 ) fixed masks per training sample. The high-dimensional limit is the linear one where
n , d → ∞ , n d → α , (9) n,d\to\infty,\qquad\frac{n}{d}\to\alpha, \tag*{(9)} n , d → ∞ , d n → α , (9)
with K K K fixed. Dynamic masking is obtained afterward through the sequential limit K → ∞ K\to\infty K → ∞ at the level of the effective output channel.
Data model
Why allow unequal noise variances? The distinction between variance and task-relevant information motivates the model. Reconstruction objectives can emphasize components that are weakly useful for perception [7 ] . Examples of nuisance variation dominating leading components include illumination in face recognition [44 ] , natural-image backgrounds superimposed on handwritten digits [45 ] , and heterogeneous noise in biological data [46 ] . These examples motivate separating useful structure from variance; they do not identify their covariance structure with the coordinate-noise model studied here. Our model isolates this distinction using a single shared feature and independently varying coordinate noise levels.
The training samples x μ ∈ R d x_\mu\in\mathbb{R}^d x μ ∈ R d are generated from the heteroskedastic rank-one model
x μ i = β d λ μ u i ⋆ + γ i ⋆ z μ i , μ = 1 , … , n , i = 1 , … , d . (10) x_{\mu i}=\sqrt{\frac{\beta}{d}}\lambda_\mu u_i^\star+\sqrt{\gamma_i^\star}\,z_{\mu i},\qquad\mu=1,\ldots,n,\quad i=1,\ldots,d. \tag*{(10)} x μ i = d β λ μ u i ⋆ + γ i ⋆ z μ i , μ = 1 , … , n , i = 1 , … , d . (10)
The sample latent variables satisfy
λ μ ∼ i i d P λ , E [ λ ] = 0 , E [ λ 2 ] = 1. (11) \lambda_\mu\overset{\mathrm{iid}}{\sim}P_\lambda,\qquad\mathbb{E}[\lambda]=0,\qquad\mathbb{E}[\lambda^2]=1. \tag*{(11)} λ μ ∼ iid P λ , E [ λ ] = 0 , E [ λ 2 ] = 1. (11)
The teacher direction is quenched and has coordinates
u i ⋆ ∼ i i d P u , E [ u ⋆ ] = 0 , E [ ( u ⋆ ) 2 ] = 1. (12) u_i^\star\overset{\mathrm{iid}}{\sim}P_u,\qquad\mathbb{E}[u^\star]=0,\qquad\mathbb{E}[(u^\star)^2]=1. \tag*{(12)} u i ⋆ ∼ iid P u , E [ u ⋆ ] = 0 , E [( u ⋆ ) 2 ] = 1. (12)
The noise variables are
z μ i ∼ i i d N ( 0 , 1 ) . (13) z_{\mu i}\overset{\mathrm{iid}}{\sim}\mathcal{N}(0,1). \tag*{(13)} z μ i ∼ iid N ( 0 , 1 ) . (13)
The coordinate variances are also quenched,
γ i ⋆ ∼ i i d P γ , γ i ⋆ > 0 , E γ [ γ ] = 1 , E γ [ γ 2 ] < ∞ . (14) \gamma_i^\star\overset{\mathrm{iid}}{\sim}P_\gamma,\qquad\gamma_i^\star>0,\qquad\mathbb{E}_\gamma[\gamma]=1,\qquad\mathbb{E}_\gamma[\gamma^2]<\infty. \tag*{(14)} γ i ⋆ ∼ iid P γ , γ i ⋆ > 0 , E γ [ γ ] = 1 , E γ [ γ 2 ] < ∞. (14)
It is convenient to collect the coordinate variances into the quenched diagonal matrix
Γ ⋆ : = diag ( γ 1 ⋆ , … , γ d ⋆ ) . (15) \Gamma^\star:=\operatorname{diag}(\gamma_1^\star,\ldots,\gamma_d^\star). \tag*{(15)} Γ ⋆ := diag ( γ 1 ⋆ , … , γ d ⋆ ) . (15)
Thus u ⋆ u^\star u ⋆ and γ ⋆ = ( γ 1 ⋆ , … , γ d ⋆ ) \gamma^\star=(\gamma_1^\star,\ldots,\gamma_d^\star) γ ⋆ = ( γ 1 ⋆ , … , γ d ⋆ ) , equivalently Γ ⋆ \Gamma^\star Γ ⋆ , are coordinate-wise quenched disorder, whereas λ μ \lambda_\mu λ μ and z μ i z_{\mu i} z μ i are sample-dependent random variables. Unless stated otherwise, all random families introduced in the data model are mutually independent. In particular,
u ⋆ , γ ⋆ , { λ μ } μ = 1 n , { z μ i } μ , i (16) u^\star,\qquad\gamma^\star,\qquad\{\lambda_\mu\}_{\mu=1}^n,\qquad\{z_{\mu i}\}_{\mu,i} \tag*{(16)} u ⋆ , γ ⋆ , { λ μ } μ = 1 n , { z μ i } μ , i (16)
are mutually independent.
Finite-K K K masked autoencoder
Fix a masking probability 0 < ρ < 1 0 < \rho< 1 0 < ρ < 1 . For each unmasked sample x μ x_\mu x μ , we draw K K K independent masks
χ μ i ( r ) ∼ i i d Bernoulli ( ρ ) , r = 1 , … , K , (17) \chi_{\mu i}^{(r)} \overset{\mathrm{iid}}{\sim} \operatorname{Bernoulli}(\rho), \qquad r=1,\ldots,K, \tag*{(17)} χ μ i ( r ) ∼ iid Bernoulli ( ρ ) , r = 1 , … , K , (17)
with the convention
χ μ i ( r ) = 1 ⟺ coordinate i is masked in view r of sample μ . (18) \chi_{\mu i}^{(r)} = 1 \quad\Longleftrightarrow\quad\text{coordinate } i \text{ is masked in view } r \text{ of sample } \mu. \tag*{(18)} χ μ i ( r ) = 1 ⟺ coordinate i is masked in view r of sample μ . (18)
The corresponding visible indicator is simply 1 − χ μ i ( r ) 1-\chi_{\mu i}^{(r)} 1 − χ μ i ( r ) ; meaning that the input and output of the autoencoder will be complementary.
The collection of masks { χ μ i ( r ) } μ , i , r \{\chi_{\mu i}^{(r)}\}_{\mu,i,r} { χ μ i ( r ) } μ , i , r is independent of all random variables entering the data-generating model. For fixed μ \mu μ , however, the K K K masked views share the same underlying sample x μ x_\mu x μ . The finite-K K K dataset is therefore
D K = { ( x μ , χ μ ( 1 ) , … , χ μ ( K ) ) } μ = 1 n . (19) \mathcal{D}_K = \left\{\left(x_\mu,\chi_\mu^{(1)},\ldots,\chi_\mu^{(K)}\right)\right\}_{\mu=1}^{n}. \tag*{(19)} D K = { ( x μ , χ μ ( 1 ) , … , χ μ ( K ) ) } μ = 1 n . (19)
The masks are part of the training disorder and remain fixed during optimization.
Architecture and masked reconstruction loss. The model has one hidden unit, no bias, a scalar activation function σ \sigma σ , and tied encoder/decoder weights w ∈ R d \boldsymbol{w}\in\mathbb{R}^d w ∈ R d . For view r r r of sample μ \mu μ , the encoder receives only the visible coordinates. Its preactivation is
h μ r , v i s ( w ) = 1 d ∑ i = 1 d ( 1 − χ μ i ( r ) ) w i x μ i . (20) h_{\mu r,\mathrm{vis}}(\boldsymbol{w})=\frac{1}{\sqrt{d}}\sum_{i=1}^{d}\left(1-\chi_{\mu i}^{(r)}\right)w_i x_{\mu i}. \tag*{(20)} h μ r , vis ( w ) = d 1 i = 1 ∑ d ( 1 − χ μ i ( r ) ) w i x μ i . (20)
The tied decoder reconstructs coordinate i i i as
x ^ μ i ( r ) = w i d σ ( h μ r , v i s ( w ) ) . (21) \widehat{x}_{\mu i}^{(r)}=\frac{w_i}{\sqrt{d}}\sigma\left(h_{\mu r,\mathrm{vis}}(\boldsymbol{w})\right). \tag*{(21)} x μ i ( r ) = d w i σ ( h μ r , vis ( w ) ) . (21)
Only the masked coordinates contribute to the reconstruction loss. The loss of view r r r is therefore
ℓ d ( r ) ( w ; x μ , χ μ ( r ) ) = ∑ i = 1 d χ μ i ( r ) [ x μ i − w i d σ ( h μ r , v i s ( w ) ) ] 2 . (22) \ell_d^{(r)}\left(\boldsymbol{w};x_\mu,\chi_\mu^{(r)}\right)=\sum_{i=1}^{d}\chi_{\mu i}^{(r)}\left[x_{\mu i}-\frac{w_i}{\sqrt{d}}\sigma\left(h_{\mu r,\mathrm{vis}}(\boldsymbol{w})\right)\right]^2. \tag*{(22)} ℓ d ( r ) ( w ; x μ , χ μ ( r ) ) = i = 1 ∑ d χ μ i ( r ) [ x μ i − d w i σ ( h μ r , vis ( w ) ) ] 2 . (22)
The finite-K K K loss of the original sample is the average over its K K K fixed masks,
ℓ K , d ( w ; x μ , χ μ ( 1 : K ) ) = 1 K ∑ r = 1 K ℓ d ( r ) ( w ; x μ , χ μ ( r ) ) . (23) \ell_{K,d}\left(\boldsymbol{w};x_\mu,\chi_\mu^{(1:K)}\right)=\frac{1}{K}\sum_{r=1}^{K}\ell_d^{(r)}\left(\boldsymbol{w};x_\mu,\chi_\mu^{(r)}\right). \tag*{(23)} ℓ K , d ( w ; x μ , χ μ ( 1 : K ) ) = K 1 r = 1 ∑ K ℓ d ( r ) ( w ; x μ , χ μ ( r ) ) . (23)
and we study the standard risk minimization of
R K , d ( w ) = λ R 2 ∥ w ∥ 2 + ∑ μ = 1 n ℓ K , d ( w ; x μ , χ μ ( 1 : K ) ) . (24) R_{K,d}(\boldsymbol{w})=\frac{\lambda_R}{2}\lVert\boldsymbol{w}\rVert^2+\sum_{\mu=1}^{n}\ell_{K,d}\left(\boldsymbol{w};x_\mu,\chi_\mu^{(1:K)}\right). \tag*{(24)} R K , d ( w ) = 2 λ R ∥ w ∥ 2 + μ = 1 ∑ n ℓ K , d ( w ; x μ , χ μ ( 1 : K ) ) . (24)
Effective sample loss. For each view, define the contribution of the masked coordinates to the full preactivation,
h μ r , m a s k ( w ) = 1 d ∑ i = 1 d χ μ i ( r ) w i x μ i . (25) h_{\mu r,\mathrm{mask}}(\boldsymbol{w})=\frac{1}{\sqrt{d}}\sum_{i=1}^{d}\chi_{\mu i}^{(r)}w_i x_{\mu i}. \tag*{(25)} h μ r , mask ( w ) = d 1 i = 1 ∑ d χ μ i ( r ) w i x μ i . (25)
Expanding (B.15) and dropping the term independent of w \boldsymbol{w} w gives
ℓ d ( r ) , i n f = σ ( h μ r , v i s ) 2 d ∑ i = 1 d χ μ i ( r ) w i 2 − 2 σ ( h μ r , v i s ) h μ r , m a s k . (26) \ell_d^{(r),\mathrm{inf}}=\frac{\sigma\left(h_{\mu r,\mathrm{vis}}\right)^2}{d}\sum_{i=1}^{d}\chi_{\mu i}^{(r)}w_i^2-2\sigma\left(h_{\mu r,\mathrm{vis}}\right)h_{\mu r,\mathrm{mask}}. \tag*{(26)} ℓ d ( r ) , inf = d σ ( h μ r , vis ) 2 i = 1 ∑ d χ μ i ( r ) w i 2 − 2 σ ( h μ r , vis ) h μ r , mask . (26)
Introduce the Euclidean self-overlap
Q I ( w ) = 1 d ∑ i = 1 d w i 2 = 1 d w T w . (27) Q_I(\boldsymbol{w})=\frac{1}{d}\sum_{i=1}^{d}w_i^2=\frac{1}{d}\boldsymbol{w}^{\mathsf{T}}\boldsymbol{w}. \tag*{(27)} Q I ( w ) = d 1 i = 1 ∑ d w i 2 = d 1 w T w . (27)
Self-averaging of the masked norm. In the one-sample disorder average, the candidate weight vector w w w is held fixed while the masks are averaged. Hence, we need to assume the following
Q I ( w ) = O ( 1 ) , 1 d 2 ∑ i = 1 d w i 4 ⟶ 0. Q_I(w)=O(1), \qquad\frac{1}{d^2}\sum_{i=1}^{d}w_i^4 \longrightarrow0. Q I ( w ) = O ( 1 ) , d 2 1 i = 1 ∑ d w i 4 ⟶ 0.
to keep the replica derivation consistent. The second condition excludes a macroscopic contribution from any single coordinate to the Euclidean norm. For independent Bernoulli mask entries, with the candidate weights held fixed,
E χ [ 1 d ∑ i = 1 d ( χ i ( r ) − ρ ) w i 2 ] = 0 , E χ [ ( 1 d ∑ i = 1 d ( χ i ( r ) − ρ ) w i 2 ) 2 ] = ρ ( 1 − ρ ) d 2 ∑ i = 1 d w i 4 . \mathbb{E}_{\chi}\left[\frac{1}{d}\sum_{i=1}^{d}\left(\chi_i^{(r)}-\rho\right)w_i^2\right]=0,\qquad
\mathbb{E}_{\chi}\left[\left(\frac{1}{d}\sum_{i=1}^{d}\left(\chi_i^{(r)}-\rho\right)w_i^2\right)^2\right]=\frac{\rho(1-\rho)}{d^2}\sum_{i=1}^{d}w_i^4. E χ [ d 1 i = 1 ∑ d ( χ i ( r ) − ρ ) w i 2 ] = 0 , E χ ( d 1 i = 1 ∑ d ( χ i ( r ) − ρ ) w i 2 ) 2 = d 2 ρ ( 1 − ρ ) i = 1 ∑ d w i 4 .
Consequently, for each fixed sample and fixed K K K ,
max 1 ≤ r ≤ K ∣ 1 d ∑ i = 1 d χ μ i ( r ) w i 2 − ρ Q I ( w ) ∣ → d → ∞ P χ 0. (28) \max_{1\le r\le K}\left|\frac{1}{d}\sum_{i=1}^{d}\chi_{\mu i}^{(r)}w_i^2-\rho Q_I(w)\right|\xrightarrow[\ d\to\infty\ ]{\mathbb{P}_{\chi}}0. \tag*{(28)} 1 ≤ r ≤ K max d 1 i = 1 ∑ d χ μ i ( r ) w i 2 − ρ Q I ( w ) P χ d → ∞ 0. (28)
The same conclusion holds jointly for any fixed finite collection of candidate replicas. For fixed K K K , under the high-dimensional self-averaging used throughout the analysis,
1 d ∑ i = 1 d χ μ i ( r ) w i 2 → d → ∞ ρ Q I ( w ) , r = 1 , … , K . (29) \frac{1}{d}\sum_{i=1}^{d}\chi_{\mu i}^{(r)}w_i^2\xrightarrow[\ d\to\infty\ ]{}\rho Q_I(w),\qquad r=1,\ldots,K. \tag*{(29)} d 1 i = 1 ∑ d χ μ i ( r ) w i 2 d → ∞ ρ Q I ( w ) , r = 1 , … , K . (29)
Hence the effective high-dimensional sample loss is
ℓ K ( { h r , v i s , h r , m a s k } r = 1 K ; Q I ) = 1 K ∑ r = 1 K [ ρ Q I σ ( h r , v i s ) 2 − 2 σ ( h r , v i s ) h r , m a s k ] . (30) \ell_K\left(\left\{h_{r,\mathrm{vis}},h_{r,\mathrm{mask}}\right\}_{r=1}^{K};Q_I\right)
=\frac{1}{K}\sum_{r=1}^{K}\left[\rho Q_I\sigma(h_{r,\mathrm{vis}})^2-2\sigma(h_{r,\mathrm{vis}})h_{r,\mathrm{mask}}\right]. \tag*{(30)} ℓ K ( { h r , vis , h r , mask } r = 1 K ; Q I ) = K 1 r = 1 ∑ K [ ρ Q I σ ( h r , vis ) 2 − 2 σ ( h r , vis ) h r , mask ] . (30)
From this point onward, the sample index μ \mu μ is suppressed when discussing the one-sample channel. We also work with the centered, w w w -dependent objective obtained after dropping the reconstruction term independent of w w w ; this leaves the Gibbs measure and the ERM minimizers unchanged.
Low-dimensional field representation
Define the ordinary full preactivation
h ( w ) = 1 d ∑ i = 1 d w i x i . (31) h(w)=\frac{1}{\sqrt{d}}\sum_{i=1}^{d}w_i x_i. \tag*{(31)} h ( w ) = d 1 i = 1 ∑ d w i x i . (31)
Since every coordinate is either visible or masked in view r r r ,
h r , v i s + h r , m a s k = h , r = 1 , … , K . (32) h_{r,\mathrm{vis}}+h_{r,\mathrm{mask}}=h,\qquad r=1,\ldots,K. \tag*{(32)} h r , vis + h r , mask = h , r = 1 , … , K . (32)
This identity is exact at finite d d d . In particular, the 2 K 2K 2 K quantities
( h 1 , v i s , … , h K , v i s , h 1 , m a s k , … , h K , m a s k ) (33) (h_{1,\mathrm{vis}},\ldots,h_{K,\mathrm{vis}},h_{1,\mathrm{mask}},\ldots,h_{K,\mathrm{mask}}) \tag*{(33)} ( h 1 , vis , … , h K , vis , h 1 , mask , … , h K , mask ) (33)
contain only K + 1 K+1 K + 1 independent directions.
Define the centered visible-field fluctuation of mask r r r by
δ r : = h r , v i s − ( 1 − ρ ) h . (34) \delta_r:=h_{r,\mathrm{vis}}-(1-\rho)h. \tag*{(34)} δ r := h r , vis − ( 1 − ρ ) h . (34)
Using (B.13) and (B.24),
δ r = 1 d ∑ i = 1 d ( ρ − χ i ( r ) ) w i x i . (35) \delta_r=\frac{1}{\sqrt{d}}\sum_{i=1}^{d}\left(\rho-\chi_i^{(r)}\right)w_i x_i. \tag*{(35)} δ r = d 1 i = 1 ∑ d ( ρ − χ i ( r ) ) w i x i . (35)
Therefore
h r , v i s = ( 1 − ρ ) h + δ r , h r , m a s k = ρ h − δ r . (36) h_{r,\mathrm{vis}}=(1-\rho)h+\delta_r,\qquad h_{r,\mathrm{mask}}=\rho h-\delta_r. \tag*{(36)} h r , vis = ( 1 − ρ ) h + δ r , h r , mask = ρ h − δ r . (36)
The natural field vector for the finite-K K K problem is thus
f K = ( h , δ 1 , … , δ K ) ∈ R K + 1 . (37) f_K=(h,\delta_1,\ldots,\delta_K)\in\mathbb{R}^{K+1}. \tag*{(37)} f K = ( h , δ 1 , … , δ K ) ∈ R K + 1 . (37)
The centered mask coefficients satisfy
E [ ρ − χ i ( r ) ] = 0 , (38) \mathbb{E}[\rho-\chi_i^{(r)}]=0, \tag*{(38)} E [ ρ − χ i ( r ) ] = 0 , (38)
and, by independence of different masks,
E [ ( ρ − χ i ( r ) ) ( ρ − χ i ( s ) ) ] = ρ ( 1 − ρ ) δ r s . (39) \mathbb{E}\left[(\rho-\chi_i^{(r)})(\rho-\chi_i^{(s)})\right]=\rho(1-\rho)\delta_{rs}. \tag*{(39)} E [ ( ρ − χ i ( r ) ) ( ρ − χ i ( s ) ) ] = ρ ( 1 − ρ ) δ r s . (39)
This is the basic reason why the mask fluctuations become diagonal in the reduced representation. Substituting (B.29) into (B.23) gives the finite-K K K effective loss directly in terms of the nonredundant fields,
ℓ K ( h , δ 1 , … , δ K ; Q I ) = 1 K ∑ r = 1 K [ ρ Q I σ ( ( 1 − ρ ) h + δ r ) 2 − 2 σ ( ( 1 − ρ ) h + δ r ) ( ρ h − δ r ) ] . (40) \ell_K(h,\delta_1,\ldots,\delta_K;Q_I)=\frac{1}{K}\sum_{r=1}^{K}\left[\rho Q_I\sigma\left((1-\rho)h+\delta_r\right)^2-2\sigma\left((1-\rho)h+\delta_r\right)(\rho h-\delta_r)\right]. \tag*{(40)} ℓ K ( h , δ 1 , … , δ K ; Q I ) = K 1 r = 1 ∑ K [ ρ Q I σ ( ( 1 − ρ ) h + δ r ) 2 − 2 σ ( ( 1 − ρ ) h + δ r ) ( ρ h − δ r ) ] . (40)
Finite-K K K Gaussian channel. We use the replica method [47 , 48 , 49 ] , a heuristic tool from statistical physics. For replicas a , b a,b a , b , define the teacher–student overlap
M a : = 1 d ∑ i = 1 d u i ∗ w i a = 1 d ( u ∗ ) T w a . (41) M^a:=\frac{1}{d}\sum_{i=1}^{d}u_i^*w_i^a=\frac{1}{d}(u^*)^\mathsf{T}w^a. \tag*{(41)} M a := d 1 i = 1 ∑ d u i ∗ w i a = d 1 ( u ∗ ) T w a . (41)
More generally, for a deterministic or quenched metric A ∈ R d × d A\in\mathbb{R}^{d\times d} A ∈ R d × d , define the metric-dependent replica overlap
Q A a b : = 1 d ( w a ) T A w b . (42) Q_A^{ab}:=\frac{1}{d}(w^a)^\mathsf{T}Aw^b. \tag*{(42)} Q A ab := d 1 ( w a ) T A w b . (42)
The two metrics needed in the present heteroskedastic problem are
Q I a b = 1 d ∑ i = 1 d w i a w i b , Q Γ a b = 1 d ∑ i = 1 d γ i ∗ w i a w i b = 1 d ( w a ) T Γ ∗ w b . (43) Q_I^{ab}=\frac{1}{d}\sum_{i=1}^{d}w_i^aw_i^b,\qquad Q_\Gamma^{ab}=\frac{1}{d}\sum_{i=1}^{d}\gamma_i^*w_i^aw_i^b=\frac{1}{d}(w^a)^\mathsf{T}\Gamma^*w^b. \tag*{(43)} Q I ab = d 1 i = 1 ∑ d w i a w i b , Q Γ ab = d 1 i = 1 ∑ d γ i ∗ w i a w i b = d 1 ( w a ) T Γ ∗ w b . (43)
Thus Q I a b Q_I^{ab} Q I ab is the ordinary Euclidean replica overlap, whereas Q Γ a b Q_\Gamma^{ab} Q Γ ab is the noise-weighted overlap controlling the covariance of the projected Gaussian data noise. In the homoskedastic limit Γ ∗ = I \Gamma^*=I Γ ∗ = I , the two coincide: Q Γ a b = Q I a b Q_\Gamma^{ab}=Q_I^{ab} Q Γ ab = Q I ab . For a single replica we use the shorthand Q I : = Q I a a Q_I:=Q_I^{aa} Q I := Q I aa and Q Γ : = Q Γ a a Q_\Gamma:=Q_\Gamma^{aa} Q Γ := Q Γ aa .
In the following sample and mask averages, the teacher u ∗ u^* u ∗ , variance realization Γ ∗ \Gamma^* Γ ∗ , and candidate replicas are held fixed; their conditioning is suppressed. Conditionally also on the sample latent variable λ \lambda λ , the full preactivation satisfies
E [ h a ∣ λ ] ⟶ β λ M a , Cov ( h a , h b ∣ λ ) ⟶ Q Γ a b . (44) \mathbb{E}[h^a\mid\lambda]\longrightarrow\sqrt{\beta}\lambda M^a,\qquad\operatorname{Cov}(h^a,h^b\mid\lambda)\longrightarrow Q_\Gamma^{ab}. \tag*{(44)} E [ h a ∣ λ ] ⟶ β λ M a , Cov ( h a , h b ∣ λ ) ⟶ Q Γ ab . (44)
For the centered mask fluctuations,
E [ δ r a ∣ λ ] ⟶ 0 , (45) \mathbb{E}[\delta_r^a\mid\lambda]\longrightarrow0, \tag*{(45)} E [ δ r a ∣ λ ] ⟶ 0 , (45)
Cov ( h a , δ r b ∣ λ ) ⟶ 0 , (46) \operatorname{Cov}(h^a,\delta_r^b\mid\lambda)\longrightarrow0, \tag*{(46)} Cov ( h a , δ r b ∣ λ ) ⟶ 0 , (46)
Cov ( δ r a , δ s b ∣ λ ) ⟶ ρ ( 1 − ρ ) δ r s Q Γ a b . (47) \operatorname{Cov}(\delta_r^a,\delta_s^b\mid\lambda)\longrightarrow\rho(1-\rho)\delta_{rs}Q_\Gamma^{ab}. \tag*{(47)} Cov ( δ r a , δ s b ∣ λ ) ⟶ ρ ( 1 − ρ ) δ r s Q Γ ab . (47)
The rank-one signal contribution to the centered fluctuations is subleading: because ρ − χ i ( r ) \rho-\chi_i^{(r)} ρ − χ i ( r ) is centered, the corresponding empirical sum is o d ( 1 ) o_d(1) o d ( 1 ) under the same self-averaging assumptions.
Let
M s = ( M 1 , … , M s ) T , Q Γ , s = ( Q Γ a b ) a , b ≤ s , e 0 = ( 1 , 0 , … , 0 ) T ∈ R K + 1 . (48) M_s=(M^1,\ldots,M^s)^\mathsf{T},\qquad Q_{\Gamma,s}=(Q_\Gamma^{ab})_{a,b\le s},\qquad e_0=(1,0,\ldots,0)^\mathsf{T}\in\mathbb{R}^{K+1}. \tag*{(48)} M s = ( M 1 , … , M s ) T , Q Γ , s = ( Q Γ ab ) a , b ≤ s , e 0 = ( 1 , 0 , … , 0 ) T ∈ R K + 1 . (48)
Define
Ω K : = diag ( 1 , ρ ( 1 − ρ ) I K ) . (49) \Omega_K:=\operatorname{diag}\left(1,\rho(1-\rho)I_K\right). \tag*{(49)} Ω K := diag ( 1 , ρ ( 1 − ρ ) I K ) . (49)
Then the replicated finite-K K K field vector has the asymptotic conditional law
( f K 1 , … , f K s ) ∣ λ ⟹ N ( K + 1 ) s ( β λ ( M s ⊗ e 0 ) , Q Γ , s ⊗ Ω K ) . (50) (f_K^1,\ldots,f_K^s)\mid\lambda\Longrightarrow\mathcal{N}_{(K+1)s}\left(\sqrt{\beta}\lambda(M_s\otimes e_0),Q_{\Gamma,s}\otimes\Omega_K\right). \tag*{(50)} ( f K 1 , … , f K s ) ∣ λ ⟹ N ( K + 1 ) s ( β λ ( M s ⊗ e 0 ) , Q Γ , s ⊗ Ω K ) . (50)
For 0 < ρ < 1 0<\rho<1 0 < ρ < 1 , Ω K \Omega_K Ω K is positive definite. This is why the reduced ( K + 1 ) (K+1) ( K + 1 ) -dimensional representation is preferable to the raw 2 K 2K 2 K -dimensional visible/masked representation.
Dynamic-mask output channel
Dynamic masking is represented by the sequential limit
n , d → ∞ with K fixed , followed by K → ∞ . (51) n,d \to\infty\text{ with } K \text{ fixed}, \qquad\text{followed by } K \to\infty. \tag*{(51)} n , d → ∞ with K fixed , followed by K → ∞. (51)
For one replica, the reduced Gaussian channel of App. § 10 .2.3 can be represented as
δ r = ρ ( 1 − ρ ) Q Γ ξ r , ξ r ∼ i i d N ( 0 , 1 ) , r = 1 , … , K , (52) \delta_r = \sqrt{\rho(1-\rho)Q_{\Gamma}}\,\xi_r,\qquad\xi_r \overset{\mathrm{iid}}{\sim} \mathcal{N}(0,1),\qquad r=1,\ldots,K, \tag*{(52)} δ r = ρ ( 1 − ρ ) Q Γ ξ r , ξ r ∼ iid N ( 0 , 1 ) , r = 1 , … , K , (52)
independently of the full preactivation h h h . Substituting this representation into (B.33) gives
ℓ K = 1 K ∑ r = 1 K [ ρ Q I σ ( ( 1 − ρ ) h + ρ ( 1 − ρ ) Q Γ ξ r ) 2 − 2 σ ( ( 1 − ρ ) h + ρ ( 1 − ρ ) Q Γ ξ r ) ( ρ h − ρ ( 1 − ρ ) Q Γ ξ r ) ] . (53) \ell_K = \frac{1}{K}\sum_{r=1}^{K}\left[\rho Q_I\sigma\left((1-\rho)h+\sqrt{\rho(1-\rho)Q_{\Gamma}}\,\xi_r\right)^2 - 2\sigma\left((1-\rho)h+\sqrt{\rho(1-\rho)Q_{\Gamma}}\,\xi_r\right)\left(\rho h-\sqrt{\rho(1-\rho)Q_{\Gamma}}\,\xi_r\right)\right]. \tag*{(53)} ℓ K = K 1 r = 1 ∑ K [ ρ Q I σ ( ( 1 − ρ ) h + ρ ( 1 − ρ ) Q Γ ξ r ) 2 − 2 σ ( ( 1 − ρ ) h + ρ ( 1 − ρ ) Q Γ ξ r ) ( ρ h − ρ ( 1 − ρ ) Q Γ ξ r ) ] . (53)
By the law of large numbers,
ℓ K → K → ∞ ℓ d y n ( h ; Q I , Q Γ ) : = E ξ [ ρ Q I σ ( ( 1 − ρ ) h + ρ ( 1 − ρ ) Q Γ ξ ) 2 − 2 σ ( ( 1 − ρ ) h + ρ ( 1 − ρ ) Q Γ ξ ) ( ρ h − ρ ( 1 − ρ ) Q Γ ξ ) ] . (54) \ell_K \xrightarrow[K\to\infty]{} \ell_{\mathrm{dyn}}(h;Q_I,Q_{\Gamma}) := \mathbb{E}_{\xi}\left[\rho Q_I\sigma\left((1-\rho)h+\sqrt{\rho(1-\rho)Q_{\Gamma}}\,\xi\right)^2 - 2\sigma\left((1-\rho)h+\sqrt{\rho(1-\rho)Q_{\Gamma}}\,\xi\right)\left(\rho h-\sqrt{\rho(1-\rho)Q_{\Gamma}}\,\xi\right)\right]. \tag*{(54)} ℓ K K → ∞ ℓ dyn ( h ; Q I , Q Γ ) := E ξ [ ρ Q I σ ( ( 1 − ρ ) h + ρ ( 1 − ρ ) Q Γ ξ ) 2 − 2 σ ( ( 1 − ρ ) h + ρ ( 1 − ρ ) Q Γ ξ ) ( ρ h − ρ ( 1 − ρ ) Q Γ ξ ) ] . (54)
Thus dynamic masking does not introduce a new high-dimensional field. Once the mask average is performed, the only explicit sample-dependent field is the ordinary preactivation h h h ; the fluctuations generated by the masks are retained inside the averaged loss (B.47).
The reduced ( K + 1 ) (K+1) ( K + 1 ) -dimensional representation is sufficient for the replica calculation. For completeness, the covariance in the redundant 2 K 2K 2 K visible/masked representation is recorded here as a consistency check. The singular raw covariance can be recovered from the reduced variables, but it is not needed for the replica calculation. Let
h v i s = ( h 1 , v i s , … , h K , v i s ) ⊤ , h m a s k = ( h 1 , m a s k , … , h K , m a s k ) ⊤ . (55) h_{\mathrm{vis}}=(h_{1,\mathrm{vis}},\ldots,h_{K,\mathrm{vis}})^{\top},\qquad h_{\mathrm{mask}}=(h_{1,\mathrm{mask}},\ldots,h_{K,\mathrm{mask}})^{\top}. \tag*{(55)} h vis = ( h 1 , vis , … , h K , vis ) ⊤ , h mask = ( h 1 , mask , … , h K , mask ) ⊤ . (55)
Then
\begin{pmatrix} h_{\mathrm{vis}} \\ h_{\mathrm{mask}} \end{pmatrix}
=
\underbrace{\begin{pmatrix}
(1-\rho)\mathbf{1}_K & I_K \\
\rho\mathbf{1}_K & -I_K
\end{pmatrix}}_{L_K}
\begin{pmatrix} h \\ \delta\end{pmatrix}. \tag*{(56)}\end{pmatrix}
Suppressing the common replica factor Q Γ a b Q_{\Gamma}^{ab} Q Γ ab ,
Ω K r a w = L K ( 1 0 0 ρ ( 1 − ρ ) I K ) L K ⊤ , (57) \Omega_K^{\mathrm{raw}}=L_K\begin{pmatrix}
1 & 0\\
0 & \rho(1-\rho)I_K
\end{pmatrix}L_K^{\top}, \tag*{(57)} Ω K raw = L K ( 1 0 0 ρ ( 1 − ρ ) I K ) L K ⊤ , (57)
which gives
Ω K r a w = ( ( 1 − ρ ) 2 1 K 1 K ⊤ + ρ ( 1 − ρ ) I K ρ ( 1 − ρ ) ( 1 K 1 K ⊤ − I K ) ρ ( 1 − ρ ) ( 1 K 1 K ⊤ − I K ) ρ 2 1 K 1 K ⊤ + ρ ( 1 − ρ ) I K ) . (58) \Omega_K^{\mathrm{raw}}=
\begin{pmatrix}
(1-\rho)^2\mathbf{1}_K\mathbf{1}_K^{\top}+\rho(1-\rho)I_K &
\rho(1-\rho)(\mathbf{1}_K\mathbf{1}_K^{\top}-I_K)\\
\rho(1-\rho)(\mathbf{1}_K\mathbf{1}_K^{\top}-I_K) &
\rho^2\mathbf{1}_K\mathbf{1}_K^{\top}+\rho(1-\rho)I_K
\end{pmatrix}. \tag*{(58)} Ω K raw = ( ( 1 − ρ ) 2 1 K 1 K ⊤ + ρ ( 1 − ρ ) I K ρ ( 1 − ρ ) ( 1 K 1 K ⊤ − I K ) ρ ( 1 − ρ ) ( 1 K 1 K ⊤ − I K ) ρ 2 1 K 1 K ⊤ + ρ ( 1 − ρ ) I K ) . (58)
For K ≥ 2 K\ge2 K ≥ 2 this matrix is singular because
h 1 , v i s + h 1 , m a s k = ⋯ = h K , v i s + h K , m a s k = h . (59) h_{1,\mathrm{vis}}+h_{1,\mathrm{mask}}=\cdots=h_{K,\mathrm{vis}}+h_{K,\mathrm{mask}}=h. \tag*{(59)} h 1 , vis + h 1 , mask = ⋯ = h K , vis + h K , mask = h . (59)
For 0 < ρ < 1 0<\rho<1 0 < ρ < 1 ,
rank ( Ω K r a w ) = K + 1 , dim ker ( Ω K r a w ) = K − 1. (60) \operatorname{rank}(\Omega_K^{\mathrm{raw}})=K+1,\qquad\dim\ker(\Omega_K^{\mathrm{raw}})=K-1. \tag*{(60)} rank ( Ω K raw ) = K + 1 , dim ker ( Ω K raw ) = K − 1. (60)
The singularity is therefore only a consequence of using 2 K 2K 2 K coordinates to represent a ( K + 1 ) (K+1) ( K + 1 ) -dimensional random object.
Replica derivation and output-channel specializations
Generic replica derivation
The computation is performed once for a generic finite-dimensional output channel. The model-specific information enters only through the field dimension L L L , the signal loading κ \kappa κ , the covariance matrix Ω \Omega Ω , and the output factor P o u t P_{\mathrm{out}} P out . Finite-K K K and dynamic masking are specified after the generic saddle-point calculation.
High-level description
Let
f ( w ) = ( f 1 ( w ) , … , f L ( w ) ) ∈ R L , L = O d ( 1 ) , (61) f(\boldsymbol{w}) = \left(f_1(\boldsymbol{w}),\ldots,f_L(\boldsymbol{w})\right) \in\mathbb{R}^{L}, \qquad L = O_d(1), \tag*{(61)} f ( w ) = ( f 1 ( w ) , … , f L ( w ) ) ∈ R L , L = O d ( 1 ) , (61)
be a finite collection of sample-dependent projected fields of the form
f ℓ ( w ) = 1 d ∑ i = 1 d r ℓ i w i x i , ℓ = 1 , … , L , (62) f_{\ell}(\boldsymbol{w}) = \frac{1}{\sqrt{d}}\sum_{i=1}^{d} r_{\ell i}w_i x_i, \qquad\ell= 1,\ldots,L, \tag*{(62)} f ℓ ( w ) = d 1 i = 1 ∑ d r ℓ i w i x i , ℓ = 1 , … , L , (62)
where r ℓ i r_{\ell i} r ℓ i denotes the sample-disorder coefficient associated with component ℓ \ell ℓ . We assume that, for every fixed number of replicas, the empirical mean and covariance coefficients self-average as
1 d ∑ i = 1 d r ℓ i u i ⋆ w i a ⟶ κ ℓ M a , (63) \frac{1}{d}\sum_{i=1}^{d}r_{\ell i}u_i^\star w_i^a \longrightarrow\kappa_{\ell}M^a, \tag*{(63)} d 1 i = 1 ∑ d r ℓ i u i ⋆ w i a ⟶ κ ℓ M a , (63)
1 d ∑ i = 1 d r ℓ i r k i γ i ⋆ w i a w i b ⟶ Ω ℓ k Q Γ a b , (64) \frac{1}{d}\sum_{i=1}^{d}r_{\ell i}r_{ki}\gamma_i^\star w_i^a w_i^b \longrightarrow\Omega_{\ell k}Q_{\Gamma}^{ab}, \tag*{(64)} d 1 i = 1 ∑ d r ℓ i r k i γ i ⋆ w i a w i b ⟶ Ω ℓ k Q Γ ab , (64)
for a deterministic loading vector κ ∈ R L \boldsymbol{\kappa} \in\mathbb{R}^{L} κ ∈ R L and a positive-semidefinite matrix Ω ∈ R L × L \Omega\in\mathbb{R}^{L\times L} Ω ∈ R L × L . The generic sample contribution is encoded through
P o u t ( f , Q I , Q Γ ) , (65) P_{\mathrm{out}}\left(\boldsymbol{f},Q_I,Q_{\Gamma}\right), \tag*{(65)} P out ( f , Q I , Q Γ ) , (65)
where the diagonal overlaps Q I Q_I Q I and Q Γ Q_{\Gamma} Q Γ are allowed to enter explicitly. We keep the weight factor
P w ( w ) = exp { − η t h λ R 2 ∥ w ∥ 2 2 } . (66) P_w(\boldsymbol{w}) = \exp\left\{-\eta_{\mathrm{th}}\frac{\lambda_R}{2}\|\boldsymbol{w}\|_2^2\right\}. \tag*{(66)} P w ( w ) = exp { − η th 2 λ R ∥ w ∥ 2 2 } . (66)
Here η t h > 0 \eta_{\mathrm{th}}>0 η th > 0 is the Gibbs inverse temperature. The corresponding partition function is
Z ( D ) = ∫ d w P w ( w ) ∏ μ = 1 n P o u t ( f μ ( w ) , Q I ( w ) , Q Γ ( w ) ) , (67) Z(\mathcal{D}) = \int\mathrm{d}\boldsymbol{w}\,P_w(\boldsymbol{w})\prod_{\mu=1}^{n}P_{\mathrm{out}}\left(\boldsymbol{f}_{\mu}(\boldsymbol{w}),Q_I(\boldsymbol{w}),Q_{\Gamma}(\boldsymbol{w})\right), \tag*{(67)} Z ( D ) = ∫ d w P w ( w ) μ = 1 ∏ n P out ( f μ ( w ) , Q I ( w ) , Q Γ ( w ) ) , (67)
with
Q I ( w ) = 1 d w T w = 1 d ∑ i w i 2 , Q Γ ( w ) = 1 d w T Γ ⋆ w = 1 d ∑ i γ i ⋆ w i 2 . (68) Q_I(\boldsymbol{w}) = \frac{1}{d}\boldsymbol{w}^{\mathsf{T}}\boldsymbol{w} = \frac{1}{d}\sum_i w_i^2,\qquad Q_{\Gamma}(\boldsymbol{w}) = \frac{1}{d}\boldsymbol{w}^{\mathsf{T}}\Gamma^\star\boldsymbol{w} = \frac{1}{d}\sum_i\gamma_i^\star w_i^2. \tag*{(68)} Q I ( w ) = d 1 w T w = d 1 i ∑ w i 2 , Q Γ ( w ) = d 1 w T Γ ⋆ w = d 1 i ∑ γ i ⋆ w i 2 . (68)
Replicated moment and overlap parameters
The free entropy per dimension is
Φ = lim d → ∞ 1 d E D log Z ( D ) , (69) \Phi= \lim_{d\to\infty}\frac{1}{d}\mathbb{E}_{\mathcal{D}}\log Z(\mathcal{D}), \tag*{(69)} Φ = d → ∞ lim d 1 E D log Z ( D ) , (69)
and the replica method formally uses
E [ log Z ] = lim s → 0 E [ Z s ] − 1 s . (70) \mathbb{E}[\log Z] = \lim_{s\to0}\frac{\mathbb{E}[Z^s]-1}{s}. \tag*{(70)} E [ log Z ] = s → 0 lim s E [ Z s ] − 1 . (70)
For an integer s ≥ 1 s\geq1 s ≥ 1 , introduce replicas w 1 , … , w s \boldsymbol{w}^1,\ldots,\boldsymbol{w}^s w 1 , … , w s and the same overlap family as above,
M a : = 1 d ( u ⋆ ) T w a , Q A a b : = 1 d ( w a ) T A w b , (71) M^a := \frac{1}{d}(\boldsymbol{u}^\star)^{\mathsf{T}}\boldsymbol{w}^a,\qquad Q_A^{ab} := \frac{1}{d}(\boldsymbol{w}^a)^{\mathsf{T}}A\boldsymbol{w}^b, \tag*{(71)} M a := d 1 ( u ⋆ ) T w a , Q A ab := d 1 ( w a ) T A w b , (71)
with the two specializations
Q I a b = 1 d ( w a ) T w b , Q Γ a b = 1 d ( w a ) T Γ ⋆ w b . (72) Q_I^{ab}=\frac{1}{d}(\mathbf{w}^a)^{\mathsf T}\mathbf{w}^b,\qquad Q_\Gamma^{ab}=\frac{1}{d}(\mathbf{w}^a)^{\mathsf T}\Gamma_\star\mathbf{w}^b. \tag*{(72)} Q I ab = d 1 ( w a ) T w b , Q Γ ab = d 1 ( w a ) T Γ ⋆ w b . (72)
Then
Z s = ∫ ∏ a = 1 s d w a P w ( w a ) ∏ μ = 1 n ∏ a = 1 s P o u t ( f μ a , Q I a a , Q Γ a a ) . (73) \mathcal{Z}^s=\int\prod_{a=1}^{s}\mathrm{d}\mathbf{w}^a\,P_w(\mathbf{w}^a)\prod_{\mu=1}^{n}\prod_{a=1}^{s}P_{\mathrm{out}}(f_\mu^a,Q_I^{aa},Q_\Gamma^{aa}). \tag*{(73)} Z s = ∫ a = 1 ∏ s d w a P w ( w a ) μ = 1 ∏ n a = 1 ∏ s P out ( f μ a , Q I aa , Q Γ aa ) . (73)
The output factor of replica a a a depends explicitly only on the diagonal quantities Q I a a Q_I^{aa} Q I aa and Q Γ a a Q_\Gamma^{aa} Q Γ aa . The off-diagonal overlaps Q Γ a b Q_\Gamma^{ab} Q Γ ab enter through the joint Gaussian law because all replicas are evaluated on the same training sample and their projected data-noise fields are correlated. The off-diagonal Euclidean overlaps Q I a b Q_I^{ab} Q I ab do not enter the output covariance directly; they become relevant in the weight-side saddle-point constraints. Because γ i ⋆ \gamma_i^\star γ i ⋆ is quenched, the primitive overlap variables are resolved by the variance type γ ∼ P γ \gamma\sim P_\gamma γ ∼ P γ . For each replica a a a , define the teacher overlap restricted to coordinates with variance γ \gamma γ
m a ( γ ) = 1 d P γ ( d γ ) ∑ i : γ i ⋆ ≃ γ u i ⋆ w i a , (74) m^a(\gamma)=\frac{1}{dP_\gamma(\mathrm{d}\gamma)}\sum_{i:\gamma_i^\star\simeq\gamma}u_i^\star w_i^a, \tag*{(74)} m a ( γ ) = d P γ ( d γ ) 1 i : γ i ⋆ ≃ γ ∑ u i ⋆ w i a , (74)
and for each pair a , b a,b a , b define the corresponding type-resolved Euclidean overlap
Q a b ( γ ) = 1 d P γ ( d γ ) ∑ i : γ i ⋆ ≃ γ w i a w i b . (75) Q^{ab}(\gamma)=\frac{1}{dP_\gamma(\mathrm{d}\gamma)}\sum_{i:\gamma_i^\star\simeq\gamma}w_i^a w_i^b. \tag*{(75)} Q ab ( γ ) = d P γ ( d γ ) 1 i : γ i ⋆ ≃ γ ∑ w i a w i b . (75)
This notation is understood by first discretizing the support of P γ P_\gamma P γ and then taking the continuum limit. The global overlaps are the two metric moments of this type-resolved overlap:
M a = E γ [ m a ( γ ) ] , Q I a b = E γ [ Q a b ( γ ) ] , Q Γ a b = E γ [ γ Q a b ( γ ) ] . (76) M^a=\mathbb{E}_\gamma[m^a(\gamma)],\qquad Q_I^{ab}=\mathbb{E}_\gamma[Q^{ab}(\gamma)],\qquad Q_\Gamma^{ab}=\mathbb{E}_\gamma[\gamma Q^{ab}(\gamma)]. \tag*{(76)} M a = E γ [ m a ( γ )] , Q I ab = E γ [ Q ab ( γ )] , Q Γ ab = E γ [ γ Q ab ( γ )] . (76)
Thus Q I a b = Q A = I a b Q_I^{ab}=Q_{A=I}^{ab} Q I ab = Q A = I ab is the Euclidean overlap, whereas Q Γ a b = Q A = Γ ⋆ a b Q_\Gamma^{ab}=Q_{A=\Gamma_\star}^{ab} Q Γ ab = Q A = Γ ⋆ ab is the overlap seen by the heteroskedastic Gaussian noise. In the homoskedastic limit Γ ⋆ = I \Gamma_\star=I Γ ⋆ = I , the two matrices coincide.
Here Q a b ( γ ) Q^{ab}(\gamma) Q ab ( γ ) is a type-resolved overlap density. It is not a third global metric overlap: Q I a b Q_I^{ab} Q I ab and Q Γ a b Q_\Gamma^{ab} Q Γ ab are the two moments of this same object that are required by the Euclidean decoder geometry and the heteroskedastic field covariance, respectively.
Because u i ⋆ u_i^\star u i ⋆ and γ i ⋆ \gamma_i^\star γ i ⋆ are independent and E [ ( u ⋆ ) 2 ] = 1 \mathbb{E}[(u^\star)^2]=1 E [( u ⋆ ) 2 ] = 1 , the teacher self-overlap at fixed variance type self-averages to
1 d P γ ( d γ ) ∑ i : γ i ⋆ ≃ γ ( u i ⋆ ) 2 ⟶ 1. (77) \frac{1}{dP_\gamma(\mathrm{d}\gamma)}\sum_{i:\gamma_i^\star\simeq\gamma}(u_i^\star)^2\longrightarrow1. \tag*{(77)} d P γ ( d γ ) 1 i : γ i ⋆ ≃ γ ∑ ( u i ⋆ ) 2 ⟶ 1. (77)
Hence the teacher self-overlap is fixed by the prior and does not introduce an additional variational order parameter.
Conditioning on the quenched coordinate variances γ ⋆ \gamma^\star γ ⋆ , independence across the sample index μ \mu μ gives
E D ∣ γ ⋆ Z s = E u ⋆ ∫ ∏ a = 1 s d w a P w ( w a ) × [ E λ , z , r ∏ a = 1 s P o u t ( f a , Q I a a , Q Γ a a ) ] n . (78) \mathbb{E}_{D\mid\gamma^\star}\mathcal{Z}^s=\mathbb{E}_{u^\star}\int\prod_{a=1}^{s}\mathrm{d}\mathbf{w}^a\,P_w(\mathbf{w}^a)\times\left[\mathbb{E}_{\lambda,z,r}\prod_{a=1}^{s}P_{\mathrm{out}}(f^a,Q_I^{aa},Q_\Gamma^{aa})\right]^n. \tag*{(78)} E D ∣ γ ⋆ Z s = E u ⋆ ∫ a = 1 ∏ s d w a P w ( w a ) × [ E λ , z , r a = 1 ∏ s P out ( f a , Q I aa , Q Γ aa ) ] n . (78)
The expectation in square brackets is a one-sample quantity. Although it originates from a d d d -dimensional sample, the output factor depends on that sample only through the finite set of L s Ls L s replicated fields.
Gaussian reduction and replicated output factor
Using the data model (B.3), the field of replica a a a decomposes as
f ℓ a = β λ d ∑ i = 1 d r ℓ i u i ⋆ w i a + 1 d ∑ i = 1 d r ℓ i γ i ⋆ w i a z i . (79) f_\ell^a=\frac{\sqrt{\beta}\lambda}{d}\sum_{i=1}^{d}r_{\ell i}u_i^\star w_i^a+\frac{1}{\sqrt{d}}\sum_{i=1}^{d}r_{\ell i}\sqrt{\gamma_i^\star}\,w_i^a z_i. \tag*{(79)} f ℓ a = d β λ i = 1 ∑ d r ℓ i u i ⋆ w i a + d 1 i = 1 ∑ d r ℓ i γ i ⋆ w i a z i . (79)
The first term converges, by (C.3), to
β λ κ ℓ M a . (80) \sqrt{\beta}\lambda\kappa_\ell M^a. \tag*{(80)} β λ κ ℓ M a . (80)
The second term is Gaussian conditional on the coefficients r ℓ i r_{\ell i} r ℓ i because the z i z_i z i are Gaussian. Its empirical covariance between components ( ℓ , a ) (\ell,a) ( ℓ , a ) and ( k , b ) (k,b) ( k , b ) is
1 d ∑ i = 1 d r ℓ i r k i γ i ⋆ w i a w i b . (81) \frac{1}{d}\sum_{i=1}^{d}r_{\ell i}r_{ki}\gamma_i^\star w_i^a w_i^b . \tag*{(81)} d 1 i = 1 ∑ d r ℓ i r k i γ i ⋆ w i a w i b . (81)
which converges by (C.4) to
Ω ℓ k Q Γ a b . (82) \Omega_{\ell k}Q_{\Gamma}^{ab}. \tag*{(82)} Ω ℓ k Q Γ ab . (82)
Thus no additional central-limit approximation is needed for the Gaussian data-noise term; only its empirical covariance is replaced by its high-dimensional limit.
Let
M s = ( M 1 , … , M s ) T , Q Γ , s = ( Q Γ a b ) a , b ≤ s . (83) M_s=(M^1,\ldots,M^s)^{\mathsf T},\qquad Q_{\Gamma,s}=(Q_{\Gamma}^{ab})_{a,b\le s}. \tag*{(83)} M s = ( M 1 , … , M s ) T , Q Γ , s = ( Q Γ ab ) a , b ≤ s . (83)
Then
( f 1 , … , f s ) ∣ λ ⟹ N L s β λ ( β λ ( M s ⊗ κ ) , Q Γ , s ⊗ Ω ) . (84) (f^1,\ldots,f^s)\mid\lambda\Longrightarrow\mathcal{N}_{L_s\beta\lambda}\left(\sqrt{\beta\lambda}(M_s\otimes\kappa),Q_{\Gamma,s}\otimes\Omega\right). \tag*{(84)} ( f 1 , … , f s ) ∣ λ ⟹ N L s β λ ( β λ ( M s ⊗ κ ) , Q Γ , s ⊗ Ω ) . (84)
If Ω \Omega Ω is singular, this notation denotes the corresponding Gaussian probability measure on the support of its covariance matrix.
Define
Ψ o u t ( s ) ( M s , Q Γ , s , { Q I a a } , { Q Γ a a } ) : = E λ E ( f 1 , … , f s ) ∣ λ [ ∏ a = 1 s P o u t ( f a , Q I a a , Q Γ a a ) ] . (85) \Psi_{\mathrm{out}}^{(s)}\left(M_s,Q_{\Gamma,s},\{Q_I^{aa}\},\{Q_\Gamma^{aa}\}\right):=\mathbb{E}_{\lambda}\mathbb{E}_{(f^1,\ldots,f^s)\mid\lambda}\left[\prod_{a=1}^{s}P_{\mathrm{out}}\left(f^a,Q_I^{aa},Q_\Gamma^{aa}\right)\right]. \tag*{(85)} Ψ out ( s ) ( M s , Q Γ , s , { Q I aa } , { Q Γ aa } ) := E λ E ( f 1 , … , f s ) ∣ λ [ a = 1 ∏ s P out ( f a , Q I aa , Q Γ aa ) ] . (85)
The inner expectation is with respect to (C.24). Equivalently,
Ψ o u t ( s ) = E λ ∫ N L s β λ ( d f 1 ⋯ d f s ; β λ ( M s ⊗ κ ) , Q Γ , s ⊗ Ω ) × ∏ a = 1 s P o u t ( f a , Q I a a , Q Γ a a ) . (86) \begin{aligned}
\Psi_{\mathrm{out}}^{(s)}
&=\mathbb{E}_{\lambda}\int\mathcal{N}_{L_s\beta\lambda}\left(\mathrm{d}f^1\cdots\mathrm{d}f^s;\sqrt{\beta\lambda}(M_s\otimes\kappa),Q_{\Gamma,s}\otimes\Omega\right)\\
&\qquad\times\prod_{a=1}^{s}P_{\mathrm{out}}\left(f^a,Q_I^{aa},Q_\Gamma^{aa}\right). \tag*{(86)}
\end{aligned} Ψ out ( s ) = E λ ∫ N L s β λ ( d f 1 ⋯ d f s ; β λ ( M s ⊗ κ ) , Q Γ , s ⊗ Ω ) × a = 1 ∏ s P out ( f a , Q I aa , Q Γ aa ) . (86)
Hence the replicated moment takes the generic form
E D ∣ γ ⋆ Z s = E u ⋆ ∫ ∏ a = 1 s d w a P w ( w a ) [ Ψ o u t ( s ) ] n . (87) \mathbb{E}_{D\mid\gamma^\star}Z^s=\mathbb{E}_{\boldsymbol{u}^\star}\int\prod_{a=1}^{s}\mathrm{d}w^a\,P_w(w^a)\left[\Psi_{\mathrm{out}}^{(s)}\right]^n. \tag*{(87)} E D ∣ γ ⋆ Z s = E u ⋆ ∫ a = 1 ∏ s d w a P w ( w a ) [ Ψ out ( s ) ] n . (87)
This is the point at which the model-specific sample disorder has been compressed into a finite-dimensional output contribution. The remainder of the replica saddle-point calculation depends on the learning problem only through Ψ o u t ( s ) \Psi_{\mathrm{out}}^{(s)} Ψ out ( s ) .
Overlap constraints and replica action
The low-dimensional output factor depends on the microscopic replicas only through the type-resolved overlaps. We enforce their definitions with conjugate fields, which decouples the coordinate dependence in the usual way. We enforce the type-resolved student overlaps with their conjugate fields
1 = ∫ D m D Q D m ^ D Q ^ exp { d E γ [ ∑ a = 1 s m ^ a ( γ ) m a ( γ ) + ∑ a ≤ b Q ^ a b ( γ ) Q a b ( γ ) ] − ∑ i = 1 d [ ∑ a = 1 s m ^ a ( γ i ⋆ ) w i ⋆ w i a + ∑ a ≤ b Q ^ a b ( γ i ⋆ ) w i a w i b ] } . (88) \begin{aligned}
1={}&\int\mathcal{D}m\,\mathcal{D}Q\,\mathcal{D}\widehat{m}\,\mathcal{D}\widehat{Q}\,
\exp\Bigg\{d\mathbb{E}_{\gamma}\left[\sum_{a=1}^{s}\widehat{m}^{a}(\gamma)m^{a}(\gamma)+\sum_{a\le b}\widehat{Q}^{ab}(\gamma)Q^{ab}(\gamma)\right]\\
&\qquad-\sum_{i=1}^{d}\left[\sum_{a=1}^{s}\widehat{m}^{a}(\gamma_i^\star)w_i^\star w_i^a+\sum_{a\le b}\widehat{Q}^{ab}(\gamma_i^\star)w_i^a w_i^b\right]\Bigg\}. \tag*{(88)}
\end{aligned} 1 = ∫ D m D Q D m D Q exp { d E γ [ a = 1 ∑ s m a ( γ ) m a ( γ ) + a ≤ b ∑ Q ab ( γ ) Q ab ( γ ) ] − i = 1 ∑ d [ a = 1 ∑ s m a ( γ i ⋆ ) w i ⋆ w i a + a ≤ b ∑ Q ab ( γ i ⋆ ) w i a w i b ] } . (88)
Substituting this into Eq. (C.27) and factorizing, one can show that
E D ∣ γ ⋆ Z s = ∫ D m D Q D m ^ D Q ^ exp { d [ Φ t r a c e ( s ) + Φ p r i o r ( s ) + α Φ o u t ( s ) ] } . (89) \mathbb{E}_{D\mid\gamma^\star}Z^s=\int\mathcal{D}m\,\mathcal{D}Q\,\mathcal{D}\widehat{m}\,\mathcal{D}\widehat{Q}\,
\exp\left\{d\left[\Phi_{\mathrm{trace}}^{(s)}+\Phi_{\mathrm{prior}}^{(s)}+\alpha\Phi_{\mathrm{out}}^{(s)}\right]\right\}. \tag*{(89)} E D ∣ γ ⋆ Z s = ∫ D m D Q D m D Q exp { d [ Φ trace ( s ) + Φ prior ( s ) + α Φ out ( s ) ] } . (89)
where
Φ t r a c e ( s ) = E γ [ ∑ a = 1 s m ^ a ( γ ) m a ( γ ) + ∑ a ≤ b Q ^ a b ( γ ) Q a b ( γ ) ] (90) \Phi_{\mathrm{trace}}^{(s)}=\mathbb{E}_{\gamma}\left[\sum_{a=1}^{s}\widehat{m}^{a}(\gamma)m^{a}(\gamma)+\sum_{a\le b}\widehat{Q}^{ab}(\gamma)Q^{ab}(\gamma)\right] \tag*{(90)} Φ trace ( s ) = E γ [ a = 1 ∑ s m a ( γ ) m a ( γ ) + a ≤ b ∑ Q ab ( γ ) Q ab ( γ ) ] (90)
Φ p r i o r ( s ) = E γ log E u ⋆ ∼ P u ∫ ∏ a = 1 s d w a P w ( w a ) exp { − ∑ a = 1 s m ^ a ( γ ) u ⋆ w a − ∑ a ≤ b Q ^ a b ( γ ) w a w b } (91) \Phi_{\mathrm{prior}}^{(s)}=\mathbb{E}_{\gamma}\log\mathbb{E}_{u^{\star}\sim P_{u}}\int\prod_{a=1}^{s}\mathrm{d}w^{a}\,P_{w}(w^{a})\exp\left\{-\sum_{a=1}^{s}\widehat{m}^{a}(\gamma)u^{\star}w^{a}-\sum_{a\le b}\widehat{Q}^{ab}(\gamma)w^{a}w^{b}\right\} \tag*{(91)} Φ prior ( s ) = E γ log E u ⋆ ∼ P u ∫ a = 1 ∏ s d w a P w ( w a ) exp { − a = 1 ∑ s m a ( γ ) u ⋆ w a − a ≤ b ∑ Q ab ( γ ) w a w b } (91)
Φ o u t ( s ) = log Ψ o u t ( s ) ( M s , Q Γ , s , { Q I a a } , { Q Γ a a } ) . (92) \Phi_{\mathrm{out}}^{(s)}=\log\Psi_{\mathrm{out}}^{(s)}\left(M_{s},Q_{\Gamma,s},\{Q_{I}^{aa}\},\{Q_{\Gamma}^{aa}\}\right). \tag*{(92)} Φ out ( s ) = log Ψ out ( s ) ( M s , Q Γ , s , { Q I aa } , { Q Γ aa } ) . (92)
Replica-symmetric ansatz and s → 0 s \to0 s → 0 reduction
We now impose the replica-symmetric (RS) ansatz
m a ( γ ) = m ( γ ) , (93) m^{a}(\gamma)=m(\gamma), \tag*{(93)} m a ( γ ) = m ( γ ) , (93)
Q a b ( γ ) = q ( γ ) + V ( γ ) δ a b , a , b = 1 , … , s . (94) Q^{ab}(\gamma)=q(\gamma)+V(\gamma)\delta_{ab},\qquad a,b=1,\ldots,s. \tag*{(94)} Q ab ( γ ) = q ( γ ) + V ( γ ) δ ab , a , b = 1 , … , s . (94)
For the conjugated overlaps we use
m ^ a ( γ ) = − m ^ ( γ ) , (95) \widehat{m}^{a}(\gamma)=-\widehat{m}(\gamma), \tag*{(95)} m a ( γ ) = − m ( γ ) , (95)
Q ^ a b ( γ ) = ( V ^ ( γ ) − q ^ ( γ ) 2 + q ^ ( γ ) ) δ a b − q ^ ( γ ) , (96) \widehat{Q}^{ab}(\gamma)=\left(\frac{\widehat{V}(\gamma)-\widehat{q}(\gamma)}{2}+\widehat{q}(\gamma)\right)\delta_{ab}-\widehat{q}(\gamma), \tag*{(96)} Q ab ( γ ) = ( 2 V ( γ ) − q ( γ ) + q ( γ ) ) δ ab − q ( γ ) , (96)
Under the RS assumption, we have that
− ∑ a = 1 s m ^ a ( γ ) u ⋆ w a − ∑ a ≤ b Q ^ a b ( γ ) w a w b = m ^ ( γ ) u ⋆ ∑ a = 1 s w a − V ^ ( γ ) 2 ∑ a = 1 s ( w a ) 2 + q ^ ( γ ) 2 ( ∑ a = 1 s w a ) 2 . (97) -\sum_{a=1}^{s}\widehat{m}^{a}(\gamma)u^{\star}w^{a}-\sum_{a\le b}\widehat{Q}^{ab}(\gamma)w^{a}w^{b}
=\widehat{m}(\gamma)u^{\star}\sum_{a=1}^{s}w^{a}-\frac{\widehat{V}(\gamma)}{2}\sum_{a=1}^{s}(w^{a})^{2}+\frac{\widehat{q}(\gamma)}{2}\left(\sum_{a=1}^{s}w^{a}\right)^{2}. \tag*{(97)} − a = 1 ∑ s m a ( γ ) u ⋆ w a − a ≤ b ∑ Q ab ( γ ) w a w b = m ( γ ) u ⋆ a = 1 ∑ s w a − 2 V ( γ ) a = 1 ∑ s ( w a ) 2 + 2 q ( γ ) ( a = 1 ∑ s w a ) 2 . (97)
and a few additional order parameters
M : = E γ [ m ( γ ) ] , q I : = E γ [ q ( γ ) ] , q Γ : = E γ [ γ q ( γ ) ] , V I : = E γ [ V ( γ ) ] , V Γ : = E γ [ γ V ( γ ) ] . (98) \begin{aligned}
M&:=\mathbb{E}_{\gamma}[m(\gamma)],\\
q_{I}&:=\mathbb{E}_{\gamma}[q(\gamma)],\qquad q_{\Gamma}:=\mathbb{E}_{\gamma}[\gamma q(\gamma)],\\
V_{I}&:=\mathbb{E}_{\gamma}[V(\gamma)],\qquad V_{\Gamma}:=\mathbb{E}_{\gamma}[\gamma V(\gamma)]. \tag*{(98)}
\end{aligned} M q I V I := E γ [ m ( γ )] , := E γ [ q ( γ )] , q Γ := E γ [ γ q ( γ )] , := E γ [ V ( γ )] , V Γ := E γ [ γ V ( γ )] . (98)
Consequently, the two global replica-overlap matrices are
Q I a b = q I + V I δ a b , Q Γ a b = q Γ + V Γ δ a b . (99) Q_{I}^{ab}=q_{I}+V_{I}\delta_{ab},\qquad Q_{\Gamma}^{ab}=q_{\Gamma}+V_{\Gamma}\delta_{ab}. \tag*{(99)} Q I ab = q I + V I δ ab , Q Γ ab = q Γ + V Γ δ ab . (99)
Trace term. For the type-resolved quadratic overlap
∑ a ≤ b Q ^ a b Q a b = s V ^ − q ^ 2 ( q + V ) − s ( s − 1 ) 2 q ^ q = s 2 [ V ^ q + ( V ^ − q ^ ) V ] − s 2 2 q ^ q . (100) \sum_{a\le b}\widehat{Q}^{ab}Q^{ab}=s\frac{\widehat{V}-\widehat{q}}{2}(q+V)-\frac{s(s-1)}{2}\widehat{q}q
=\frac{s}{2}\left[\widehat{V}q+(\widehat{V}-\widehat{q})V\right]-\frac{s^{2}}{2}\widehat{q}q. \tag*{(100)} a ≤ b ∑ Q ab Q ab = s 2 V − q ( q + V ) − 2 s ( s − 1 ) q q = 2 s [ V q + ( V − q ) V ] − 2 s 2 q q . (100)
The trace term can be rewritten as
Φ t r a c e ( s ) = s { − E γ [ m ^ ( γ ) m ( γ ) ] + 1 2 E γ [ V ^ ( γ ) q ( γ ) ] + 1 2 E γ [ ( V ^ ( γ ) − q ^ ( γ ) ) V ( γ ) ] } + O ( s 2 ) . (101) \Phi_{\mathrm{trace}}^{(s)}=s\left\{-\mathbb{E}_{\gamma}[\widehat{m}(\gamma)m(\gamma)]+\frac{1}{2}\mathbb{E}_{\gamma}[\widehat{V}(\gamma)q(\gamma)]+\frac{1}{2}\mathbb{E}_{\gamma}[(\widehat{V}(\gamma)-\widehat{q}(\gamma))V(\gamma)]\right\}+O(s^{2}). \tag*{(101)} Φ trace ( s ) = s { − E γ [ m ( γ ) m ( γ )] + 2 1 E γ [ V ( γ ) q ( γ )] + 2 1 E γ [( V ( γ ) − q ( γ )) V ( γ )] } + O ( s 2 ) . (101)
Prior term. Substituting the RS ansatz into Eq. (C.31), the only term coupling replicas is quadratic in ∑ a w a \sum_a w^a ∑ a w a . For each fixed γ \gamma γ ,
exp { q ^ ( γ ) 2 ( ∑ a = 1 s w a ) 2 } = E ξ ∼ N ( 0 , 1 ) exp { q ^ ( γ ) ξ ∑ a = 1 s w a } . (102) \exp\left\{\frac{\widehat{q}(\gamma)}{2}\left(\sum_{a=1}^{s}w^a\right)^2\right\}
= \mathbb{E}_{\xi\sim\mathcal{N}(0,1)}\exp\left\{\sqrt{\widehat{q}(\gamma)}\xi\sum_{a=1}^{s}w^a\right\}. \tag*{(102)} exp ⎩ ⎨ ⎧ 2 q ( γ ) ( a = 1 ∑ s w a ) 2 ⎭ ⎬ ⎫ = E ξ ∼ N ( 0 , 1 ) exp { q ( γ ) ξ a = 1 ∑ s w a } . (102)
Define the scalar input partition function
Z i n ( γ , u ⋆ , ξ ) : = ∫ R d w P w ( w ) exp { q ^ ( γ ) ξ w − V ^ ( γ ) 2 w 2 + m ^ ( γ ) u ⋆ w } . (103) Z_{\mathrm{in}}(\gamma,u^\star,\xi):=\int_{\mathbb{R}}\mathrm{d}w\,P_w(w)\exp\left\{\sqrt{\widehat{q}(\gamma)}\xi w-\frac{\widehat{V}(\gamma)}{2}w^2+\widehat{m}(\gamma)u^\star w\right\}. \tag*{(103)} Z in ( γ , u ⋆ , ξ ) := ∫ R d w P w ( w ) exp { q ( γ ) ξ w − 2 V ( γ ) w 2 + m ( γ ) u ⋆ w } . (103)
Using Eq. (C.42), the finite-s s s site partition becomes exactly
Z i n ( s ) ( γ ) = E u ⋆ , ξ [ Z i n ( γ , u ⋆ , ξ ) ] s . (104) Z_{\mathrm{in}}^{(s)}(\gamma)=\mathbb{E}_{u^\star,\xi}\left[Z_{\mathrm{in}}(\gamma,u^\star,\xi)\right]^s. \tag*{(104)} Z in ( s ) ( γ ) = E u ⋆ , ξ [ Z in ( γ , u ⋆ , ξ ) ] s . (104)
Therefore
Φ p r i o r ( s ) = E γ log E u ⋆ , ξ exp { s log Z i n ( γ , u ⋆ , ξ ) } , (105) \Phi_{\mathrm{prior}}^{(s)}=\mathbb{E}_{\gamma}\log\mathbb{E}_{u^\star,\xi}\exp\left\{s\log Z_{\mathrm{in}}(\gamma,u^\star,\xi)\right\}, \tag*{(105)} Φ prior ( s ) = E γ log E u ⋆ , ξ exp { s log Z in ( γ , u ⋆ , ξ ) } , (105)
expanding around s = 0 s=0 s = 0 gives
log E e s X = s E X + O ( s 2 ) . (106) \log\mathbb{E}e^{sX}=s\mathbb{E}X+O(s^2). \tag*{(106)} log E e s X = s E X + O ( s 2 ) . (106)
Applying this with X = log Z i n X=\log Z_{\mathrm{in}} X = log Z in gives
Φ p r i o r ( s ) = s E γ , u ⋆ , ξ log ∫ d w P w ( w ) exp { q ^ ( γ ) ξ w − 1 2 V ^ ( γ ) w 2 + m ^ ( γ ) u ⋆ w } + O ( s 2 ) . (107) \Phi_{\mathrm{prior}}^{(s)}=s\mathbb{E}_{\gamma,u^\star,\xi}\log\int\mathrm{d}w\,P_w(w)\exp\left\{\sqrt{\widehat{q}(\gamma)}\xi w-\frac{1}{2}\widehat{V}(\gamma)w^2+\widehat{m}(\gamma)u^\star w\right\}+O(s^2). \tag*{(107)} Φ prior ( s ) = s E γ , u ⋆ , ξ log ∫ d w P w ( w ) exp { q ( γ ) ξ w − 2 1 V ( γ ) w 2 + m ( γ ) u ⋆ w } + O ( s 2 ) . (107)
Output term. Under Eq. (C.39), the replicated field covariance is
( q Γ 1 s 1 s T + V Γ I s ) ⊗ Ω . (108) (q_{\Gamma}\mathbf{1}_s\mathbf{1}_s^{\mathsf{T}}+V_{\Gamma}\mathbf{I}_s)\otimes\Omega. \tag*{(108)} ( q Γ 1 s 1 s T + V Γ I s ) ⊗ Ω. (108)
It can be generated by one common Gaussian vector z ∼ N ( 0 , I L ) z\sim\mathcal{N}(0,\mathbf{I}_L) z ∼ N ( 0 , I L ) and independent replica-specific vectors z a ∼ i i d N ( 0 , I L ) z^a\mathrel{\overset{\mathrm{iid}}{\sim}}\mathcal{N}(0,\mathbf{I}_L) z a ∼ iid N ( 0 , I L ) :
f a = β λ κ M + q Γ Ω 1 / 2 z + V Γ Ω 1 / 2 z a . (109) f^a=\sqrt{\beta}\lambda\kappa M+\sqrt{q_{\Gamma}}\Omega^{1/2}z+\sqrt{V_{\Gamma}}\Omega^{1/2}z^a. \tag*{(109)} f a = β λκ M + q Γ Ω 1/2 z + V Γ Ω 1/2 z a . (109)
Define the common field
f 0 : = β λ κ M + q Γ Ω 1 / 2 z , z ∼ N ( 0 , I L ) . (110) f_0:=\sqrt{\beta}\lambda\kappa M+\sqrt{q_{\Gamma}}\Omega^{1/2}z,\qquad z\sim\mathcal{N}(0,\mathbf{I}_L). \tag*{(110)} f 0 := β λκ M + q Γ Ω 1/2 z , z ∼ N ( 0 , I L ) . (110)
Conditionally on ( λ , z ) (\lambda,z) ( λ , z ) , the replicas are independent and
f a ∣ λ , z ∼ i i d N ( f 0 , V Γ Ω ) . (111) f^a\mid\lambda,z\mathrel{\overset{\mathrm{iid}}{\sim}}\mathcal{N}(f_0,V_{\Gamma}\Omega). \tag*{(111)} f a ∣ λ , z ∼ iid N ( f 0 , V Γ Ω ) . (111)
The diagonal norm arguments are
Q I a a = q I + V I , Q Γ a a = q Γ + V Γ . (112) Q_I^{aa}=q_I+V_I,\qquad Q_{\Gamma}^{aa}=q_{\Gamma}+V_{\Gamma}. \tag*{(112)} Q I aa = q I + V I , Q Γ aa = q Γ + V Γ . (112)
Define the scalar output partition function
Z o u t ( f 0 ) : = ∫ d f N ( f ; f 0 , V Γ Ω ) P o u t ( f , q I + V I , q Γ + V Γ ) . (113) Z_{\mathrm{out}}(f_0):=\int\mathrm{d}f\,\mathcal{N}(f;f_0,V_{\Gamma}\Omega)P_{\mathrm{out}}(f,q_I+V_I,q_{\Gamma}+V_{\Gamma}). \tag*{(113)} Z out ( f 0 ) := ∫ d f N ( f ; f 0 , V Γ Ω ) P out ( f , q I + V I , q Γ + V Γ ) . (113)
Then the replicated output factor is exactly
Φ o u t ( s ) = E λ , z [ Z o u t ( f 0 ) ] s , (114) \Phi_{\mathrm{out}}^{(s)}=\mathbb{E}_{\lambda,z}\left[Z_{\mathrm{out}}(f_0)\right]^s, \tag*{(114)} Φ out ( s ) = E λ , z [ Z out ( f 0 ) ] s , (114)
so that the same cumulant expansion gives
Φ o u t ( s ) = s E λ , z log ∫ d f N ( f ; f 0 , V Γ Ω ) P o u t ( f , q I + V I , q Γ + V Γ ) + O ( s 2 ) . (115) \Phi_{\mathrm{out}}^{(s)}=s\mathbb{E}_{\lambda,z}\log\int\mathrm{d}f\,\mathcal{N}(f;f_0,V_{\Gamma}\Omega)P_{\mathrm{out}}(f,q_I+V_I,q_{\Gamma}+V_{\Gamma})+O(s^2). \tag*{(115)} Φ out ( s ) = s E λ , z log ∫ d f N ( f ; f 0 , V Γ Ω ) P out ( f , q I + V I , q Γ + V Γ ) + O ( s 2 ) . (115)
Replica-symmetric free entropy
Using the analytic continuation around s = 0 s=0 s = 0 , the replica trick can equivalently be written as
Φ = lim s → 0 1 s lim d → ∞ 1 d log E D [ Z s ] (116) \Phi= \lim_{s\to0}\frac{1}{s}\lim_{d\to\infty}\frac{1}{d}\log\mathbb{E}_{D}\left[Z^{s}\right] \tag*{(116)} Φ = s → 0 lim s 1 d → ∞ lim d 1 log E D [ Z s ] (116)
where the equality is understood through the analytic continuation around s = 0 s=0 s = 0 .
At fixed s s s , the large-d d d saddle gives
lim d → ∞ 1 d log E D [ Z s ] = extr m , q , V , m ^ , q ^ , V ^ { Φ t r a c e ( s ) + Φ p r i o r ( s ) + α Φ o u t ( s ) } (117) \lim_{d\to\infty}\frac{1}{d}\log\mathbb{E}_{D}\left[Z^{s}\right]
=
\operatorname{extr}_{m,q,V,\hat{m},\hat{q},\hat{V}}
\left\{\Phi_{\mathrm{trace}}^{(s)}+\Phi_{\mathrm{prior}}^{(s)}+\alpha\Phi_{\mathrm{out}}^{(s)}\right\} \tag*{(117)} d → ∞ lim d 1 log E D [ Z s ] = extr m , q , V , m ^ , q ^ , V ^ { Φ trace ( s ) + Φ prior ( s ) + α Φ out ( s ) } (117)
Here the extremization is over the γ \gamma γ -resolved functions m ( γ ) m(\gamma) m ( γ ) , q ( γ ) q(\gamma) q ( γ ) , V ( γ ) V(\gamma) V ( γ ) and their conjugates m ^ ( γ ) \hat{m}(\gamma) m ^ ( γ ) , q ^ ( γ ) \hat{q}(\gamma) q ^ ( γ ) , V ^ ( γ ) \hat{V}(\gamma) V ^ ( γ ) .
Equations (C.41), (C.47), and (C.55) have the common small-s s s structure
Φ X ( s ) = s Φ X + O ( s 2 ) , X ∈ { t r a c e , p r i o r , o u t } . (118) \Phi_{X}^{(s)}=s\Phi_{X}+O(s^{2}),\qquad X\in\{\mathrm{trace},\mathrm{prior},\mathrm{out}\}. \tag*{(118)} Φ X ( s ) = s Φ X + O ( s 2 ) , X ∈ { trace , prior , out } . (118)
Therefore, dividing Eq. (C.57) by s s s and taking s → 0 s\to0 s → 0 yields a single replica-symmetric saddle for the quenched free entropy,
Φ = extr m ( ⋅ ) , q ( ⋅ ) , V ( ⋅ ) , m ^ ( ⋅ ) , q ^ ( ⋅ ) , V ^ ( ⋅ ) { Φ t r a c e + Φ p r i o r + α Φ o u t } (119) \Phi=\operatorname{extr}_{m(\cdot),q(\cdot),V(\cdot),\hat{m}(\cdot),\hat{q}(\cdot),\hat{V}(\cdot)}
\left\{\Phi_{\mathrm{trace}}+\Phi_{\mathrm{prior}}+\alpha\Phi_{\mathrm{out}}\right\} \tag*{(119)} Φ = extr m ( ⋅ ) , q ( ⋅ ) , V ( ⋅ ) , m ^ ( ⋅ ) , q ^ ( ⋅ ) , V ^ ( ⋅ ) { Φ trace + Φ prior + α Φ out } (119)
The three s → 0 s\to0 s → 0 contributions are
Φ t r a c e = − E γ [ m ^ ( γ ) m ( γ ) ] + 1 2 E γ [ V ^ ( γ ) q ( γ ) ] + 1 2 E γ [ ( V ^ ( γ ) − q ^ ( γ ) ) V ( γ ) ] . (120) \Phi_{\mathrm{trace}}=-\mathbb{E}_{\gamma}\left[\hat{m}(\gamma)m(\gamma)\right]+\frac{1}{2}\mathbb{E}_{\gamma}\left[\hat{V}(\gamma)q(\gamma)\right]+\frac{1}{2}\mathbb{E}_{\gamma}\left[\left(\hat{V}(\gamma)-\hat{q}(\gamma)\right)V(\gamma)\right]. \tag*{(120)} Φ trace = − E γ [ m ^ ( γ ) m ( γ ) ] + 2 1 E γ [ V ^ ( γ ) q ( γ ) ] + 2 1 E γ [ ( V ^ ( γ ) − q ^ ( γ ) ) V ( γ ) ] . (120)
For the input contribution,
Φ p r i o r = E γ , u ⋆ , ξ log Z i n ( γ , u ⋆ , ξ ) , (121) \Phi_{\mathrm{prior}}=\mathbb{E}_{\gamma,u_{\star},\xi}\log Z_{\mathrm{in}}(\gamma,u_{\star},\xi), \tag*{(121)} Φ prior = E γ , u ⋆ , ξ log Z in ( γ , u ⋆ , ξ ) , (121)
with Z i n Z_{\mathrm{in}} Z in defined in Eq. (C.43). For the output contribution,
Φ o u t = E λ , z log Z o u t ( f 0 ) , (122) \Phi_{\mathrm{out}}=\mathbb{E}_{\lambda,z}\log Z_{\mathrm{out}}(f_{0}), \tag*{(122)} Φ out = E λ , z log Z out ( f 0 ) , (122)
where
Z o u t ( f 0 ) = ∫ d f N ( f ; f 0 , V Γ Ω ) P o u t ( f , q I + V I , q Γ + V Γ ) , (123) Z_{\mathrm{out}}(f_{0})=\int\mathrm{d}f\,\mathcal{N}(f;f_{0},V_{\Gamma}\Omega)P_{\mathrm{out}}(f,q_{I}+V_{I},q_{\Gamma}+V_{\Gamma}), \tag*{(123)} Z out ( f 0 ) = ∫ d f N ( f ; f 0 , V Γ Ω ) P out ( f , q I + V I , q Γ + V Γ ) , (123)
f 0 = β λ κ M + q Γ Ω 1 / 2 z . (124) f_{0}=\sqrt{\beta}\lambda\kappa M+\sqrt{q_{\Gamma}}\Omega^{1/2}z. \tag*{(124)} f 0 = β λκ M + q Γ Ω 1/2 z . (124)
The global metric moments entering the output channel remain
q I = E γ [ q ( γ ) ] , q Γ = E γ [ γ q ( γ ) ] , V I = E γ [ V ( γ ) ] , V Γ = E γ [ γ V ( γ ) ] . (125) q_{I}=\mathbb{E}_{\gamma}[q(\gamma)],\qquad q_{\Gamma}=\mathbb{E}_{\gamma}[\gamma q(\gamma)],\qquad V_{I}=\mathbb{E}_{\gamma}[V(\gamma)],\qquad V_{\Gamma}=\mathbb{E}_{\gamma}[\gamma V(\gamma)]. \tag*{(125)} q I = E γ [ q ( γ )] , q Γ = E γ [ γ q ( γ )] , V I = E γ [ V ( γ )] , V Γ = E γ [ γ V ( γ )] . (125)
The replicated problem has therefore reduced to a single RS variational saddle. The zero-temperature ERM limit is taken only after this s → 0 s\to0 s → 0 reduction.
Zero-temperature ERM limit
We will specialize our equations for ridge regularization:
P w ( w ) = exp { − η t h λ R 2 w 2 } , P o u t ( f , Q I , Q Γ ) = exp { − η t h ℓ o u t ( f ; Q I , Q Γ ) } . (126) P_{w}(w)=\exp\left\{-\eta_{\mathrm{th}}\frac{\lambda_{R}}{2}w^{2}\right\},\qquad P_{\mathrm{out}}(f,Q_{I},Q_{\Gamma})=\exp\left\{-\eta_{\mathrm{th}}\ell_{\mathrm{out}}(f;Q_{I},Q_{\Gamma})\right\}. \tag*{(126)} P w ( w ) = exp { − η th 2 λ R w 2 } , P out ( f , Q I , Q Γ ) = exp { − η th ℓ out ( f ; Q I , Q Γ ) } . (126)
We rescale the replica-diagonal excess overlap as
V ( γ ) : = v ( γ ) η t h , V I = v I η t h , v I : = E γ [ v ( γ ) ] , V Γ = v Γ η t h , v Γ : = E γ [ γ v ( γ ) ] . (127) V(\gamma):=\frac{v(\gamma)}{\eta_{\mathrm{th}}},\qquad V_{I}=\frac{v_{I}}{\eta_{\mathrm{th}}},\qquad v_{I}:=\mathbb{E}_{\gamma}[v(\gamma)],\qquad V_{\Gamma}=\frac{v_{\Gamma}}{\eta_{\mathrm{th}}},\qquad v_{\Gamma}:=\mathbb{E}_{\gamma}[\gamma v(\gamma)]. \tag*{(127)} V ( γ ) := η th v ( γ ) , V I = η th v I , v I := E γ [ v ( γ )] , V Γ = η th v Γ , v Γ := E γ [ γ v ( γ )] . (127)
m ^ ( γ ) ↦ η t h m ^ ( γ ) , V ^ ( γ ) ↦ η t h v ^ ( γ ) , q ^ ( γ ) ↦ η t h 2 q ^ ( γ ) . (128) \hat{m}(\gamma)\mapsto\eta_{\mathrm{th}}\hat{m}(\gamma),\qquad\hat{V}(\gamma)\mapsto\eta_{\mathrm{th}}\hat{v}(\gamma),\qquad\hat{q}(\gamma)\mapsto\eta_{\mathrm{th}}^{2}\hat{q}(\gamma). \tag*{(128)} m ^ ( γ ) ↦ η th m ^ ( γ ) , V ^ ( γ ) ↦ η th v ^ ( γ ) , q ^ ( γ ) ↦ η th 2 q ^ ( γ ) . (128)
Input proximal. Using Laplace’s method in Eq. (C.47), the prior term contribution at leading order is
Φ p r i o r 0 = − E u ⋆ , ξ min w ∈ R { λ R + v ^ ( γ ) 2 w 2 − [ m ^ ( γ ) u ⋆ + q ^ ( γ ) ξ ] w } . (129) \Phi_{\mathrm{prior}}^{0}=-\mathbb{E}_{u^\star,\xi}\min_{w\in\mathbb{R}}\left\{\frac{\lambda_R+\hat{v}(\gamma)}{2}w^2-\left[\hat{m}(\gamma)u^\star+\sqrt{\hat{q}(\gamma)}\xi\right]w\right\}. \tag*{(129)} Φ prior 0 = − E u ⋆ , ξ w ∈ R min { 2 λ R + v ^ ( γ ) w 2 − [ m ^ ( γ ) u ⋆ + q ^ ( γ ) ξ ] w } . (129)
Defining the coordinate proximal
w ⋆ ( γ , u ⋆ , ξ ) = arg min w ∈ R { λ R + v ^ ( γ ) 2 w 2 − [ m ^ ( γ ) u ⋆ + q ^ ( γ ) ξ ] w } . (130) w_\star(\gamma,u^\star,\xi)=\mathop{\arg\min}_{w\in\mathbb{R}}\left\{\frac{\lambda_R+\hat{v}(\gamma)}{2}w^2-\left[\hat{m}(\gamma)u^\star+\sqrt{\hat{q}(\gamma)}\xi\right]w\right\}. \tag*{(130)} w ⋆ ( γ , u ⋆ , ξ ) = arg min w ∈ R { 2 λ R + v ^ ( γ ) w 2 − [ m ^ ( γ ) u ⋆ + q ^ ( γ ) ξ ] w } . (130)
For ridge regularization, this gives
w ⋆ ( γ , u ⋆ , ξ ) = m ^ ( γ ) u ⋆ + q ^ ( γ ) ξ λ R + v ^ ( γ ) (131) w_\star(\gamma,u^\star,\xi)=\frac{\hat{m}(\gamma)u^\star+\sqrt{\hat{q}(\gamma)}\xi}{\lambda_R+\hat{v}(\gamma)} \tag*{(131)} w ⋆ ( γ , u ⋆ , ξ ) = λ R + v ^ ( γ ) m ^ ( γ ) u ⋆ + q ^ ( γ ) ξ (131)
Stationarity with respect to the conjugates gives the first saddle point equations
m ( γ ) = E u ⋆ , ξ [ u ⋆ w ⋆ ( γ , u ⋆ , ξ ) ] , q ( γ ) = E u ⋆ , ξ [ w ⋆ ( γ , u ⋆ , ξ ) 2 ] , (132) m(\gamma)=\mathbb{E}_{u^\star,\xi}\left[u^\star w_\star(\gamma,u^\star,\xi)\right],\qquad q(\gamma)=\mathbb{E}_{u^\star,\xi}\left[w_\star(\gamma,u^\star,\xi)^2\right], \tag*{(132)} m ( γ ) = E u ⋆ , ξ [ u ⋆ w ⋆ ( γ , u ⋆ , ξ ) ] , q ( γ ) = E u ⋆ , ξ [ w ⋆ ( γ , u ⋆ , ξ ) 2 ] , (132)
v ( γ ) = E u ⋆ , ξ [ ξ w ⋆ ( γ , u ⋆ , ξ ) q ^ ( γ ) ] . (133) v(\gamma)=\mathbb{E}_{u^\star,\xi}\left[\frac{\xi w_\star(\gamma,u^\star,\xi)}{\sqrt{\hat{q}(\gamma)}}\right]. \tag*{(133)} v ( γ ) = E u ⋆ , ξ [ q ^ ( γ ) ξ w ⋆ ( γ , u ⋆ , ξ ) ] . (133)
For Eq. (C.71), this reduces to
m ( γ ) = m ^ ( γ ) λ R + v ^ ( γ ) , q ( γ ) = m ^ ( γ ) 2 + q ^ ( γ ) ( λ R + v ^ ( γ ) ) 2 , v ( γ ) = 1 λ R + v ^ ( γ ) (134) m(\gamma)=\frac{\hat{m}(\gamma)}{\lambda_R+\hat{v}(\gamma)},\qquad q(\gamma)=\frac{\hat{m}(\gamma)^2+\hat{q}(\gamma)}{\left(\lambda_R+\hat{v}(\gamma)\right)^2},\qquad v(\gamma)=\frac{1}{\lambda_R+\hat{v}(\gamma)} \tag*{(134)} m ( γ ) = λ R + v ^ ( γ ) m ^ ( γ ) , q ( γ ) = ( λ R + v ^ ( γ ) ) 2 m ^ ( γ ) 2 + q ^ ( γ ) , v ( γ ) = λ R + v ^ ( γ ) 1 (134)
Output proximal. For the zero-temperature output analysis we assume that
Ω ≻ 0. (135) \Omega\succ0. \tag*{(135)} Ω ≻ 0. (135)
This is satisfied by all output channels considered in the present work. In particular, for finite-K K K masking,
Ω K = diag ( 1 , ρ ( 1 − ρ ) I K ) ≻ 0 , 0 < ρ < 1 , (136) \Omega_K=\operatorname{diag}\left(1,\rho(1-\rho)\mathbf{I}_K\right)\succ0,\qquad0<\rho<1, \tag*{(136)} Ω K = diag ( 1 , ρ ( 1 − ρ ) I K ) ≻ 0 , 0 < ρ < 1 , (136)
while for dynamic masking Ω = 1 \Omega=1 Ω = 1 . Hence Ω − 1 \Omega^{-1} Ω − 1 is well defined in the Moreau-envelope representation below. The output term Eq. (C.55) becomes, after using V Γ = v Γ / η t h V_\Gamma=v_\Gamma/\eta_{\mathrm{th}} V Γ = v Γ / η th ,
∫ d f N ( f ; f 0 , v Γ η t h Ω ) exp { − η t h ℓ o u t ( f ; q I , q Γ ) } . (137) \int\mathrm{d}f\,\mathcal{N}\left(f;f_0,\frac{v_\Gamma}{\eta_{\mathrm{th}}}\Omega\right)\exp\left\{-\eta_{\mathrm{th}}\ell_{\mathrm{out}}(f;q_I,q_\Gamma)\right\}. \tag*{(137)} ∫ d f N ( f ; f 0 , η th v Γ Ω ) exp { − η th ℓ out ( f ; q I , q Γ ) } . (137)
Laplace’s method gives the standard Moreau envelope
M o u t ( f 0 ; q I , q Γ , v Γ ) = min f ∈ R L { ℓ o u t ( f ; q I , q Γ ) + 1 2 v Γ ( f − f 0 ) T Ω − 1 ( f − f 0 ) } . (138) M_{\mathrm{out}}(f_0;q_I,q_\Gamma,v_\Gamma)=\min_{f\in\mathbb{R}^L}\left\{\ell_{\mathrm{out}}(f;q_I,q_\Gamma)+\frac{1}{2v_\Gamma}(f-f_0)^{\mathsf{T}}\Omega^{-1}(f-f_0)\right\}. \tag*{(138)} M out ( f 0 ; q I , q Γ , v Γ ) = f ∈ R L min { ℓ out ( f ; q I , q Γ ) + 2 v Γ 1 ( f − f 0 ) T Ω − 1 ( f − f 0 ) } . (138)
Let f ⋆ f_\star f ⋆ be any minimizer. In the η t h → ∞ \eta_{\mathrm{th}}\to\infty η th → ∞ limit we have that
Φ o u t 0 = − E λ , z [ M o u t ( f 0 ; q I , q Γ , v Γ ) ] , (139) \Phi_{\mathrm{out}}^0=-\mathbb{E}_{\lambda,z}\left[M_{\mathrm{out}}(f_0;q_I,q_\Gamma,v_\Gamma)\right], \tag*{(139)} Φ out 0 = − E λ , z [ M out ( f 0 ; q I , q Γ , v Γ ) ] , (139)
with f 0 f_0 f 0 given by Eq. (C.50). Define
F = 1 v Γ Ω − 1 ( f ⋆ − f 0 ) . (140) F=\frac{1}{v_\Gamma}\Omega^{-1}(f_\star-f_0). \tag*{(140)} F = v Γ 1 Ω − 1 ( f ⋆ − f 0 ) . (140)
hence
F + ∇ f ℓ o u t ( f ⋆ ; q I , q Γ ) = 0. (141) F+\nabla_f\ell_{\mathrm{out}}(f_\star;q_I,q_\Gamma)=0. \tag*{(141)} F + ∇ f ℓ out ( f ⋆ ; q I , q Γ ) = 0. (141)
Since ∂ M f 0 = β λ κ \partial_M f_0=\sqrt{\beta}\lambda\kappa ∂ M f 0 = β λκ , we have that
A ⋆ = κ T F . (142) A_\star=\kappa^{\mathsf{T}}F. \tag*{(142)} A ⋆ = κ T F . (142)
Moreover,
∂ M o u t ∂ v Γ = − 1 2 F T Ω F . (143) \frac{\partial M_{\mathrm{out}}}{\partial v_\Gamma}=-\frac{1}{2}F^{\mathsf{T}}\Omega F. \tag*{(143)} ∂ v Γ ∂ M out = − 2 1 F T Ω F . (143)
For the derivative with respect to the noise-weighted off-diagonal overlap q Γ q_\Gamma q Γ , define
D Γ ( f ⋆ ) = ∂ M o u t ∂ q Γ = ∂ q Γ ℓ o u t ( f ⋆ ; q I , q Γ ) − F T ∂ q Γ f 0 , (144) D_\Gamma(f_\star)=\frac{\partial M_{\mathrm{out}}}{\partial q_\Gamma}=\partial_{q_\Gamma}\ell_{\mathrm{out}}(f_\star;q_I,q_\Gamma)-F^{\mathsf{T}}\partial_{q_\Gamma}f_0, \tag*{(144)} D Γ ( f ⋆ ) = ∂ q Γ ∂ M out = ∂ q Γ ℓ out ( f ⋆ ; q I , q Γ ) − F T ∂ q Γ f 0 , (144)
where
∂ q Γ f 0 = 1 2 q Γ Ω 1 / 2 z . (145) \partial_{q_\Gamma}f_0=\frac{1}{2\sqrt{q_\Gamma}}\Omega^{1/2}z. \tag*{(145)} ∂ q Γ f 0 = 2 q Γ 1 Ω 1/2 z . (145)
Saddle-point equations. At order η t h \eta_{\mathrm{th}} η th , the RS extremization gives
Φ 0 = extr m , q , v , m ^ , q ^ , v ^ { Φ 0 t r a c e + Φ 0 p r i o r + α Φ 0 o u t } . (146) \Phi_0=\underset{m,q,v,\hat{m},\hat{q},\hat{v}}{\operatorname{extr}}\left\{\Phi_0^{\mathrm{trace}}+\Phi_0^{\mathrm{prior}}+\alpha\Phi_0^{\mathrm{out}}\right\}. \tag*{(146)} Φ 0 = m , q , v , m ^ , q ^ , v ^ extr { Φ 0 trace + Φ 0 prior + α Φ 0 out } . (146)
where
Φ 0 t r a c e = − E γ [ m ^ ( γ ) m ( γ ) ] − 1 2 E γ [ q ^ ( γ ) v ( γ ) ] + 1 2 E γ [ v ^ ( γ ) q ( γ ) ] . (147) \Phi_0^{\mathrm{trace}}=-\mathbb{E}_{\gamma}[\hat{m}(\gamma)m(\gamma)]-\frac{1}{2}\mathbb{E}_{\gamma}[\hat{q}(\gamma)v(\gamma)]+\frac{1}{2}\mathbb{E}_{\gamma}[\hat{v}(\gamma)q(\gamma)]. \tag*{(147)} Φ 0 trace = − E γ [ m ^ ( γ ) m ( γ )] − 2 1 E γ [ q ^ ( γ ) v ( γ )] + 2 1 E γ [ v ^ ( γ ) q ( γ )] . (147)
with
m ^ ( γ ) = α β E λ , z [ λ A ⋆ ] . (148) \hat{m}(\gamma)=\alpha\sqrt{\beta}\,\mathbb{E}_{\lambda,z}[\lambda A_{\star}]. \tag*{(148)} m ^ ( γ ) = α β E λ , z [ λ A ⋆ ] . (148)
The conjugate overlap associated with the replica-diagonal excess follows
q ^ ( γ ) = α γ E λ , z [ F T Ω F ] (149) \hat{q}(\gamma)=\alpha\gamma\,\mathbb{E}_{\lambda,z}[F^{\mathsf{T}}\Omega F] \tag*{(149)} q ^ ( γ ) = α γ E λ , z [ F T Ω F ] (149)
Because q ( γ ) q(\gamma) q ( γ ) enters the output channel through both q I = E γ [ q ( γ ) ] q_I=\mathbb{E}_{\gamma}[q(\gamma)] q I = E γ [ q ( γ )] and q Γ = E γ [ γ q ( γ ) ] q_{\Gamma}=\mathbb{E}_{\gamma}[\gamma q(\gamma)] q Γ = E γ [ γ q ( γ )] , we obtain
v ^ ( γ ) = 2 α E λ , z [ ∂ q I ℓ o u t ( f ⋆ ; q I , q Γ ) + γ D Γ ( f ⋆ ) ] (150) \hat{v}(\gamma)=2\alpha\mathbb{E}_{\lambda,z}\left[\partial_{q_I}\ell_{\mathrm{out}}(f_{\star};q_I,q_{\Gamma})+\gamma D_{\Gamma}(f_{\star})\right] \tag*{(150)} v ^ ( γ ) = 2 α E λ , z [ ∂ q I ℓ out ( f ⋆ ; q I , q Γ ) + γ D Γ ( f ⋆ ) ] (150)
Equations (C.72)–(C.73) and (C.88)–(C.90), together with the metric moments, give
M = E γ [ m ( γ ) ] , M=\mathbb{E}_{\gamma}[m(\gamma)], M = E γ [ m ( γ )] ,
q I = E γ [ q ( γ ) ] , q Γ = E γ [ γ q ( γ ) ] , q_I=\mathbb{E}_{\gamma}[q(\gamma)],\qquad q_{\Gamma}=\mathbb{E}_{\gamma}[\gamma q(\gamma)], q I = E γ [ q ( γ )] , q Γ = E γ [ γ q ( γ )] ,
v I = E γ [ v ( γ ) ] , v Γ = E γ [ γ v ( γ ) ] . (151) v_I=\mathbb{E}_{\gamma}[v(\gamma)],\qquad v_{\Gamma}=\mathbb{E}_{\gamma}[\gamma v(\gamma)]. \tag*{(151)} v I = E γ [ v ( γ )] , v Γ = E γ [ γ v ( γ )] . (151)
Output-channel specializations
The generic computation of App. C.1 applies to both masking schemes. The weight-side saddle equations are common to the two models; only the output channel and the corresponding conjugate equations need to be specialized.
Finite-K K K specialization
For the finite-K K K masked autoencoder,
L = K + 1 , f = f K = ( h , δ 1 , … , δ K ) , κ = e 0 , (152) L=K+1,\qquad f=f_K=(h,\delta_1,\ldots,\delta_K),\qquad\kappa=e_0, \tag*{(152)} L = K + 1 , f = f K = ( h , δ 1 , … , δ K ) , κ = e 0 , (152)
Ω = Ω K = diag ( 1 , ρ ( 1 − ρ ) I K ) . (153) \Omega=\Omega_K=\operatorname{diag}(1,\rho(1-\rho)I_K). \tag*{(153)} Ω = Ω K = diag ( 1 , ρ ( 1 − ρ ) I K ) . (153)
The output factor is
P o u t , K ( f K ; Q I ) = exp { − η t h ℓ K ( f K ; Q I ) } , (154) P_{\mathrm{out},K}(f_K;Q_I)=\exp\{-\eta_{\mathrm{th}}\ell_K(f_K;Q_I)\}, \tag*{(154)} P out , K ( f K ; Q I ) = exp { − η th ℓ K ( f K ; Q I )} , (154)
where ℓ K \ell_K ℓ K is given in (B.33). It has no additional explicit dependence on Q Γ Q_{\Gamma} Q Γ ; Q Γ Q_{\Gamma} Q Γ enters through the Gaussian law of the fields.
Substituting (C.92)–(C.94) into the generic replicated output factor gives
Ψ K , o u t ( s ) : = E λ E ( f K 1 , … , f K s ) ∣ λ [ ∏ a = 1 s exp { − η t h ℓ K ( f K a ; Q I a a ) } ] . (155) \Psi_{K,\mathrm{out}}^{(s)}:=\mathbb{E}_{\lambda}\mathbb{E}_{(f_K^1,\ldots,f_K^s)\mid\lambda}\left[\prod_{a=1}^{s}\exp\{-\eta_{\mathrm{th}}\ell_K(f_K^a;Q_I^{aa})\}\right]. \tag*{(155)} Ψ K , out ( s ) := E λ E ( f K 1 , … , f K s ) ∣ λ [ a = 1 ∏ s exp { − η th ℓ K ( f K a ; Q I aa )} ] . (155)
where
( f K 1 , … , f K s ) ∣ λ ⟹ N ( K + 1 ) s ( β λ ( M s ⊗ e 0 ) , Q Γ , s ⊗ Ω K ) . (156) (f_K^1,\ldots,f_K^s)\mid\lambda\Longrightarrow\mathcal{N}_{(K+1)s}\left(\sqrt{\beta\lambda}(M_s\otimes e_0),Q_{\Gamma,s}\otimes\Omega_K\right). \tag*{(156)} ( f K 1 , … , f K s ) ∣ λ ⟹ N ( K + 1 ) s ( β λ ( M s ⊗ e 0 ) , Q Γ , s ⊗ Ω K ) . (156)
Saddle-point specialization. Let f ⋆ f_{\star} f ⋆ denote the finite-K K K output proximal associated with ℓ K \ell_K ℓ K through the generic Moreau problem (C.78), and let F K F_K F K denote the corresponding force defined in (C.80). Since the signal is loaded only along the full-field direction,
A ⋆ = e 0 T F K . (157) A_{\star}=e_0^{\mathsf{T}}F_K. \tag*{(157)} A ⋆ = e 0 T F K . (157)
Moreover,
∂ q I ℓ K ( f ⋆ ; q I ) = ρ K ∑ r = 1 K σ ( ( 1 − ρ ) h ⋆ + δ r , ⋆ ) 2 . (158) \partial_{q_I}\ell_K(f_{\star};q_I)=\frac{\rho}{K}\sum_{r=1}^{K}\sigma\left((1-\rho)h_{\star}+\delta_{r,\star}\right)^2. \tag*{(158)} ∂ q I ℓ K ( f ⋆ ; q I ) = K ρ r = 1 ∑ K σ ( ( 1 − ρ ) h ⋆ + δ r , ⋆ ) 2 . (158)
Since ℓ K \ell_K ℓ K has no explicit dependence on q Γ q_\Gamma q Γ , (C.84) reduces to
D Γ ( f ⋆ ) = − 1 2 q Γ F K T Ω K 1 / 2 z . (159) D_\Gamma(\mathbf{f}_\star)=-\frac{1}{2\sqrt{q_\Gamma}}F_K^{\mathsf T}\Omega_K^{1/2}\mathbf{z}. \tag*{(159)} D Γ ( f ⋆ ) = − 2 q Γ 1 F K T Ω K 1/2 z . (159)
The conjugate saddle equations (C.88)–(C.90) therefore become
m ^ ( γ ) = α β E λ , z [ λ e 0 T F K ] . (160) \hat{m}(\gamma)=\alpha\sqrt{\beta}\mathbb{E}_{\lambda,z}\left[\lambda e_0^{\mathsf T}F_K\right]. \tag*{(160)} m ^ ( γ ) = α β E λ , z [ λ e 0 T F K ] . (160)
q ^ ( γ ) = α γ E λ , z [ F K T Ω K F K ] . (161) \hat{q}(\gamma)=\alpha\gamma\mathbb{E}_{\lambda,z}\left[F_K^{\mathsf T}\Omega_KF_K\right]. \tag*{(161)} q ^ ( γ ) = α γ E λ , z [ F K T Ω K F K ] . (161)
v ^ ( γ ) = 2 α E λ , z [ ρ K ∑ r = 1 K σ ( ( 1 − ρ ) h ⋆ + δ r , ⋆ ) 2 − γ 2 q Γ F K T Ω K 1 / 2 z ] . (162) \hat{v}(\gamma)=2\alpha\mathbb{E}_{\lambda,z}\left[\frac{\rho}{K}\sum_{r=1}^{K}\sigma\left((1-\rho)h_\star+\delta_{r,\star}\right)^2-\frac{\gamma}{2\sqrt{q_\Gamma}}F_K^{\mathsf T}\Omega_K^{1/2}\mathbf{z}\right]. \tag*{(162)} v ^ ( γ ) = 2 α E λ , z [ K ρ r = 1 ∑ K σ ( ( 1 − ρ ) h ⋆ + δ r , ⋆ ) 2 − 2 q Γ γ F K T Ω K 1/2 z ] . (162)
Together with the input-side equations (C.74) and the global closures (C.91), these equations close the finite-K K K saddle.
Static masking is the special case K = 1 K=1 K = 1 .
Dynamic-mask specialization
After the mask average has been taken, the dynamic-mask loss (B.47) depends explicitly only on the full preactivation h h h . The generic channel therefore reduces to
L = 1 , f = h , κ = 1 , Ω = 1. (163) L=1,\qquad\mathbf{f}=h,\qquad\kappa=1,\qquad\Omega=1. \tag*{(163)} L = 1 , f = h , κ = 1 , Ω = 1. (163)
The corresponding output factor is
P d y n , o u t ( h ; Q I , Q Γ ) = exp { − η t h ℓ d y n ( h ; Q I , Q Γ ) } . (164) P_{\mathrm{dyn,out}}(h;Q_I,Q_\Gamma)=\exp\left\{-\eta_{\mathrm{th}}\ell_{\mathrm{dyn}}(h;Q_I,Q_\Gamma)\right\}. \tag*{(164)} P dyn , out ( h ; Q I , Q Γ ) = exp { − η th ℓ dyn ( h ; Q I , Q Γ ) } . (164)
Thus the generic replicated output factor becomes
Ψ d y n , o u t ( s ) = E λ E h s ∣ λ [ ∏ a = 1 s exp { − η t h ℓ d y n ( h a ; Q I a a , Q Γ a a ) } ] . (165) \Psi_{\mathrm{dyn,out}}^{(s)}=\mathbb{E}_{\lambda}\mathbb{E}_{h_s\mid\lambda}\left[\prod_{a=1}^{s}\exp\left\{-\eta_{\mathrm{th}}\ell_{\mathrm{dyn}}\left(h^a;Q_I^{aa},Q_\Gamma^{aa}\right)\right\}\right]. \tag*{(165)} Ψ dyn , out ( s ) = E λ E h s ∣ λ [ a = 1 ∏ s exp { − η th ℓ dyn ( h a ; Q I aa , Q Γ aa ) } ] . (165)
where
h s ∣ λ ∼ N s ( β λ M s , Q Γ , s ) . (166) h_s\mid\lambda\sim\mathcal{N}_s\left(\sqrt{\beta}\lambda M_s,Q_{\Gamma,s}\right). \tag*{(166)} h s ∣ λ ∼ N s ( β λ M s , Q Γ , s ) . (166)
Saddle-point specialization. Let h ⋆ h_\star h ⋆ denote the scalar output proximal associated with ℓ d y n \ell_{\mathrm{dyn}} ℓ dyn through (C.78), and let F F F be the corresponding scalar force. Since κ = 1 \kappa=1 κ = 1 ,
A ⋆ = F . (167) A_\star=F. \tag*{(167)} A ⋆ = F . (167)
The explicit derivative with respect to the Euclidean overlap is
∂ q I ℓ d y n ( h ; q I , q Γ ) = ρ E ξ [ σ ( ( 1 − ρ ) h + ρ ( 1 − ρ ) q Γ ξ ) 2 ] . (168) \partial_{q_I}\ell_{\mathrm{dyn}}(h;q_I,q_\Gamma)=\rho\mathbb{E}_{\xi}\left[\sigma\left((1-\rho)h+\sqrt{\rho(1-\rho)q_\Gamma}\,\xi\right)^2\right]. \tag*{(168)} ∂ q I ℓ dyn ( h ; q I , q Γ ) = ρ E ξ [ σ ( ( 1 − ρ ) h + ρ ( 1 − ρ ) q Γ ξ ) 2 ] . (168)
Unlike the finite-K K K loss, ℓ d y n \ell_{\mathrm{dyn}} ℓ dyn depends explicitly on q Γ q_\Gamma q Γ . Hence
D Γ ( h ⋆ ) = ∂ q Γ ℓ d y n ( h ⋆ ; q I , q Γ ) − F z 2 q Γ , (169) D_\Gamma(h_\star)=\partial_{q_\Gamma}\ell_{\mathrm{dyn}}(h_\star;q_I,q_\Gamma)-\frac{Fz}{2\sqrt{q_\Gamma}}, \tag*{(169)} D Γ ( h ⋆ ) = ∂ q Γ ℓ dyn ( h ⋆ ; q I , q Γ ) − 2 q Γ F z , (169)
where
∂ q Γ ℓ d y n ( h ; q I , q Γ ) = ρ ( 1 − ρ ) q Γ E ξ [ ξ ( ρ q I σ ( y ) σ ′ ( y ) − t σ ′ ( y ) + σ ( y ) ) ] . (170) \partial_{q_\Gamma}\ell_{\mathrm{dyn}}(h;q_I,q_\Gamma)=\sqrt{\frac{\rho(1-\rho)}{q_\Gamma}}\mathbb{E}_{\xi}\left[\xi\left(\rho q_I\sigma(y)\sigma'(y)-t\sigma'(y)+\sigma(y)\right)\right]. \tag*{(170)} ∂ q Γ ℓ dyn ( h ; q I , q Γ ) = q Γ ρ ( 1 − ρ ) E ξ [ ξ ( ρ q I σ ( y ) σ ′ ( y ) − t σ ′ ( y ) + σ ( y ) ) ] . (170)
with, only within this equation,
y = ( 1 − ρ ) h + ρ ( 1 − ρ ) q Γ ξ , t = ρ h − ρ ( 1 − ρ ) q Γ ξ . (171) y=(1-\rho)h+\sqrt{\rho(1-\rho)q_\Gamma}\,\xi,\qquad t=\rho h-\sqrt{\rho(1-\rho)q_\Gamma}\,\xi. \tag*{(171)} y = ( 1 − ρ ) h + ρ ( 1 − ρ ) q Γ ξ , t = ρ h − ρ ( 1 − ρ ) q Γ ξ . (171)
The conjugate saddle equations are therefore
m ^ ( γ ) = α β E λ , z [ λ F ] , (172) \widehat{m}(\gamma)=\alpha\sqrt{\beta}\,\mathbb{E}_{\lambda,z}\left[\lambda F\right], \tag*{(172)} m ( γ ) = α β E λ , z [ λ F ] , (172)
q ^ ( γ ) = α γ E λ , z [ F 2 ] , (173) \widehat{q}(\gamma)=\alpha\gamma\,\mathbb{E}_{\lambda,z}\left[F^2\right], \tag*{(173)} q ( γ ) = α γ E λ , z [ F 2 ] , (173)
v ^ ( γ ) = 2 α E λ , z [ ∂ q I ℓ d y n ( h ⋆ ; q I , q Γ ) + γ ( ∂ q Γ ℓ d y n ( h ⋆ ; q I , q Γ ) − F Z 2 q Γ ) ] . (174) \widehat{v}(\gamma)=2\alpha\,\mathbb{E}_{\lambda,z}\left[\partial_{q_I}\ell_{\mathrm{dyn}}(h_{\star};q_I,q_{\Gamma})+\gamma\left(\partial_{q_{\Gamma}}\ell_{\mathrm{dyn}}(h_{\star};q_I,q_{\Gamma})-\frac{F_{\mathcal{Z}}}{2\sqrt{q_{\Gamma}}}\right)\right]. \tag*{(174)} v ( γ ) = 2 α E λ , z [ ∂ q I ℓ dyn ( h ⋆ ; q I , q Γ ) + γ ( ∂ q Γ ℓ dyn ( h ⋆ ; q I , q Γ ) − 2 q Γ F Z ) ] . (174)
Together with the same input-side equations (C.74) and global closures (C.91), these equations close the dynamic-mask saddle.
The expressions containing q Γ − 1 / 2 q_{\Gamma}^{-1/2} q Γ − 1/2 are understood through their continuous limit when q Γ ↓ 0 q_{\Gamma}\downarrow0 q Γ ↓ 0 .
The limit K → ∞ K \to\infty K → ∞ at the replicated output level
It remains to connect the two specializations. For fixed positive integer s s s , write
h s = ( h 1 , … , h s ) T , δ r = ( δ r 1 , … , δ r s ) T . (175) h_s=(h^1,\ldots,h^s)^{\mathsf{T}},\qquad\delta_r=(\delta_r^1,\ldots,\delta_r^s)^{\mathsf{T}}. \tag*{(175)} h s = ( h 1 , … , h s ) T , δ r = ( δ r 1 , … , δ r s ) T . (175)
Under the finite-K K K Gaussian channel,
h s ∣ λ ∼ N s ( β λ M s , Q Γ , s ) , (176) h_s\mid\lambda\sim\mathcal{N}_s\left(\sqrt{\beta}\lambda M_s,Q_{\Gamma,s}\right), \tag*{(176)} h s ∣ λ ∼ N s ( β λ M s , Q Γ , s ) , (176)
while
δ r ∼ i i d N s ( 0 , ρ ( 1 − ρ ) Q Γ , s ) , r = 1 , … , K , (177) \delta_r\mathrel{\overset{\mathrm{iid}}{\sim}}\mathcal{N}_s\left(0,\rho(1-\rho)Q_{\Gamma,s}\right),\qquad r=1,\ldots,K, \tag*{(177)} δ r ∼ iid N s ( 0 , ρ ( 1 − ρ ) Q Γ , s ) , r = 1 , … , K , (177)
and the δ r \delta_r δ r are independent of h s h_s h s . The components of a fixed δ r \delta_r δ r are generally correlated across replicas, but the fluctuation vectors are i.i.d. across the mask index r r r .
Define
q a ( h , δ ) : = ρ Q I a a σ ( ( 1 − ρ ) h + δ ) 2 − 2 σ ( ( 1 − ρ ) h + δ ) ( ρ h − δ ) . (178) q_a(h,\delta):=\rho Q_I^{aa}\sigma\left((1-\rho)h+\delta\right)^2-2\sigma\left((1-\rho)h+\delta\right)(\rho h-\delta). \tag*{(178)} q a ( h , δ ) := ρ Q I aa σ ( ( 1 − ρ ) h + δ ) 2 − 2 σ ( ( 1 − ρ ) h + δ ) ( ρ h − δ ) . (178)
Then
∏ a = 1 s P o u t , K ( f K a ; Q I a a ) = exp { − η t h 1 K ∑ r = 1 K ∑ a = 1 s q a ( h a , δ r a ) } . (179) \prod_{a=1}^{s}P_{\mathrm{out},K}\left(f_K^a;Q_I^{aa}\right)=\exp\left\{-\eta_{\mathrm{th}}\frac{1}{K}\sum_{r=1}^{K}\sum_{a=1}^{s}q_a(h^a,\delta_r^a)\right\}. \tag*{(179)} a = 1 ∏ s P out , K ( f K a ; Q I aa ) = exp { − η th K 1 r = 1 ∑ K a = 1 ∑ s q a ( h a , δ r a ) } . (179)
Conditioning on h s h_s h s and applying the law of large numbers across the independent mask index gives
1 K ∑ r = 1 K ∑ a = 1 s q a ( h a , δ r a ) → K → ∞ ∑ a = 1 s E δ a q a ( h a , δ a ) . (180) \frac{1}{K}\sum_{r=1}^{K}\sum_{a=1}^{s}q_a(h^a,\delta_r^a)\xrightarrow[K\to\infty]{}\sum_{a=1}^{s}\mathbb{E}_{\delta^a}q_a(h^a,\delta^a). \tag*{(180)} K 1 r = 1 ∑ K a = 1 ∑ s q a ( h a , δ r a ) K → ∞ a = 1 ∑ s E δ a q a ( h a , δ a ) . (180)
Only the marginal distribution of each replica component appears on the right-hand side. From (C.117),
δ a ∼ N ( 0 , ρ ( 1 − ρ ) Q Γ a a ) , (181) \delta^a\sim\mathcal{N}\left(0,\rho(1-\rho)Q_{\Gamma}^{aa}\right), \tag*{(181)} δ a ∼ N ( 0 , ρ ( 1 − ρ ) Q Γ aa ) , (181)
and therefore
E δ a q a ( h a , δ a ) = ℓ d y n ( h a ; Q I a a , Q Γ a a ) . (182) \mathbb{E}_{\delta^a}q_a(h^a,\delta^a)=\ell_{\mathrm{dyn}}\left(h^a;Q_I^{aa},Q_{\Gamma}^{aa}\right). \tag*{(182)} E δ a q a ( h a , δ a ) = ℓ dyn ( h a ; Q I aa , Q Γ aa ) . (182)
Consequently, under the usual integrability conditions that allow the limit to pass through the remaining Gaussian expectation,
Ψ K , o u t ( s ) → K → ∞ Ψ d y n , o u t ( s ) . (183) \Psi_{K,\mathrm{out}}^{(s)}\xrightarrow[K\to\infty]{}\Psi_{\mathrm{dyn,out}}^{(s)}. \tag*{(183)} Ψ K , out ( s ) K → ∞ Ψ dyn , out ( s ) . (183)
This establishes the dynamic-mask limit directly inside the same generic replica framework. The field dimension does not need to be sent formally from K + 1 K+1 K + 1 to infinity inside the generic derivation. Rather, the derivation is applied at each fixed K K K , and the resulting finite-K K K output functional converges to the L = 1 L=1 L = 1 dynamic output functional.
The sequential interpretation is therefore
d , n → ∞ at fixed K , d,n\to\infty\quad\text{at fixed }K, d , n → ∞ at fixed K ,
generic replica reduction with L = K + 1 , \text{generic replica reduction with }L=K+1, generic replica reduction with L = K + 1 ,
K → ∞ : Ψ K , o u t ( s ) ⟶ Ψ d y n , o u t ( s ) , K\to\infty:\quad\Psi_{K,\mathrm{out}}^{(s)}\longrightarrow\Psi_{\mathrm{dyn,out}}^{(s)}, K → ∞ : Ψ K , out ( s ) ⟶ Ψ dyn , out ( s ) ,
followed by the usual replica continuation s → 0. (184) \text{followed by the usual replica continuation }s\to0. \tag*{(184)} followed by the usual replica continuation s → 0. (184)
Since the weight prior and the definitions of M M M , Q I Q_I Q I , and Q Γ Q_{\Gamma} Q Γ are unchanged, the remainder of the saddle-point calculation is common to both finite-K K K and dynamic masking; only the model-specific output functional changes.
Full-reconstruction autoencoder
We derive the output channel for the full-reconstruction objective (5) , in which both the encoder input and the reconstruction targets include all coordinates. For one sample, the reconstruction loss is
∑ i = 1 d [ x i − w i d σ ( h ) ] 2 , h = 1 d ∑ i = 1 d w i x i . (185) \sum_{i=1}^{d}\left[x_i-\frac{w_i}{\sqrt{d}}\sigma(h)\right]^2,\qquad h=\frac{1}{\sqrt{d}}\sum_{i=1}^{d}w_i x_i. \tag*{(185)} i = 1 ∑ d [ x i − d w i σ ( h ) ] 2 , h = d 1 i = 1 ∑ d w i x i . (185)
Dropping the term independent of w \mathbf{w} w gives the effective output loss
ℓ f u l l ( h ; Q I ) = Q I σ ( h ) 2 − 2 h σ ( h ) . (186) \ell_{\mathrm{full}}(h;Q_I)=Q_I\sigma(h)^2-2h\sigma(h). \tag*{(186)} ℓ full ( h ; Q I ) = Q I σ ( h ) 2 − 2 hσ ( h ) . (186)
This is the full-reconstruction counterpart of the masked output loss (B.23): the encoder and target fields are both h h h , and the squared decoder norm is Q I Q_I Q I rather than the masked fraction ρ Q I \rho Q_I ρ Q I . In particular, the cross term is − 2 h σ ( h ) -2h\sigma(h) − 2 hσ ( h ) instead of − 2 h r , m a s k σ ( h r , v i s ) -2h_{r,\mathrm{mask}}\sigma(h_{r,\mathrm{vis}}) − 2 h r , mask σ ( h r , vis ) , making explicit the difference between reconstructing a field from itself and predicting its hidden part from its visible part.
The generic output channel therefore specializes to
L = 1 , f = h , κ = 1 , Ω = 1. (187) L=1,\qquad\boldsymbol{f}=h,\qquad\kappa=1,\qquad\Omega=1. \tag*{(187)} L = 1 , f = h , κ = 1 , Ω = 1. (187)
The corresponding output factor is
P f u l l , o u t ( h ; Q I ) = exp { − η t h ℓ f u l l ( h ; Q I ) } . (188) P_{\mathrm{full,out}}(h;Q_I)=\exp\left\{-\eta_{\mathrm{th}}\ell_{\mathrm{full}}(h;Q_I)\right\}. \tag*{(188)} P full , out ( h ; Q I ) = exp { − η th ℓ full ( h ; Q I ) } . (188)
Hence the replicated output contribution is
Ψ f u l l , o u t ( s ) : = E λ E h s ∣ λ [ ∏ a = 1 s exp { − η t h ℓ f u l l ( h a ; Q I a ) } ] , (189) \Psi_{\mathrm{full,out}}^{(s)}:=\mathbb{E}_{\lambda}\mathbb{E}_{h_s\mid\lambda}\left[\prod_{a=1}^{s}\exp\left\{-\eta_{\mathrm{th}}\ell_{\mathrm{full}}(h^a;Q_I^a)\right\}\right], \tag*{(189)} Ψ full , out ( s ) := E λ E h s ∣ λ [ a = 1 ∏ s exp { − η th ℓ full ( h a ; Q I a ) } ] , (189)
where
h s ∣ λ ∼ N s ( β λ M s , Q Γ , s ) . (190) h_s\mid\lambda\sim\mathcal{N}_s\left(\sqrt{\beta}\lambda M_s,Q_{\Gamma,s}\right). \tag*{(190)} h s ∣ λ ∼ N s ( β λ M s , Q Γ , s ) . (190)
Saddle-point specialization. Let h ⋆ h_\star h ⋆ denote the scalar output proximal obtained from the generic Moreau problem (C.78), and let F F F denote the corresponding scalar force defined in (C.80). Since κ = 1 \kappa=1 κ = 1 ,
A ⋆ = F . (191) A_\star=F. \tag*{(191)} A ⋆ = F . (191)
The first-order condition of the proximal is
F + 2 q I σ ( h ⋆ ) σ ′ ( h ⋆ ) − 2 σ ( h ⋆ ) − 2 h ⋆ σ ′ ( h ⋆ ) = 0. (192) F+2q_I\sigma(h_\star)\sigma'(h_\star)-2\sigma(h_\star)-2h_\star\sigma'(h_\star)=0. \tag*{(192)} F + 2 q I σ ( h ⋆ ) σ ′ ( h ⋆ ) − 2 σ ( h ⋆ ) − 2 h ⋆ σ ′ ( h ⋆ ) = 0. (192)
The loss depends explicitly on q I q_I q I through
∂ q I ℓ f u l l ( h ⋆ ; q I ) = σ ( h ⋆ ) 2 . (193) \partial_{q_I}\ell_{\mathrm{full}}(h_\star;q_I)=\sigma(h_\star)^2. \tag*{(193)} ∂ q I ℓ full ( h ⋆ ; q I ) = σ ( h ⋆ ) 2 . (193)
It has no explicit dependence on q Γ q_\Gamma q Γ . Therefore (C.84) reduces to
D Γ ( h ⋆ ) = − F z 2 q Γ , (194) D_\Gamma(h_\star)=-\frac{Fz}{2\sqrt{q_\Gamma}}, \tag*{(194)} D Γ ( h ⋆ ) = − 2 q Γ F z , (194)
where the common field is
h 0 = β λ M + q Γ z , z ∼ N ( 0 , 1 ) . (195) h_0=\sqrt{\beta}\lambda M+\sqrt{q_\Gamma}\,z,\qquad z\sim\mathcal{N}(0,1). \tag*{(195)} h 0 = β λ M + q Γ z , z ∼ N ( 0 , 1 ) . (195)
Substitution into (C.88)–(C.90) gives
m ^ ( γ ) = α β E λ , z [ λ F ] , (196) \widehat{m}(\gamma)=\alpha\sqrt{\beta}\,\mathbb{E}_{\lambda,z}[\lambda F], \tag*{(196)} m ( γ ) = α β E λ , z [ λ F ] , (196)
q ^ ( γ ) = α γ E λ , z [ F 2 ] , (197) \widehat{q}(\gamma)=\alpha\gamma\mathbb{E}_{\lambda,z}[F^2], \tag*{(197)} q ( γ ) = α γ E λ , z [ F 2 ] , (197)
v ^ ( γ ) = 2 α E λ , z [ σ ( h ⋆ ) 2 − γ F z 2 q Γ ] . (198) \widehat{v}(\gamma)=2\alpha\mathbb{E}_{\lambda,z}\left[\sigma(h_\star)^2-\gamma\frac{Fz}{2\sqrt{q_\Gamma}}\right]. \tag*{(198)} v ( γ ) = 2 α E λ , z [ σ ( h ⋆ ) 2 − γ 2 q Γ F z ] . (198)
Together with the common input-side equations (C.74) and the global closures (C.91), these equations close the full-reconstruction saddle.
Replica recovery predictions and the role of mask diversity
This appendix explains how mask diversity changes the onset of feature recovery and how dynamic masking exploits heterogeneous coordinate noise. We derive the recovery criterion and its factorization in App. § 12 .§ 1 , obtain the weak-signal cost of mask reuse in App. § 12 .§ 2 , and examine its finite-signal behavior in App. § 16 .11. The linear theory then identifies the noise-adaptation mechanism in App. § 12 .§ 4 . These predictions complement the learning curves and simulation comparisons in Figure 2 to Figure 4 . We use the replica-symmetric equations of App. § 11 at zero ridge; the onset calculation follows the growth of an infinitesimal feature overlap from the uninformative solution.
Recovery criterion and fixed-signal factorization
This subsection derives the fixed-β \beta β recovery criterion for the finite-K K K masked autoencoder. We set λ R = 0 \lambda_{\mathrm{R}} = 0 λ R = 0 , keep 0 < β < ∞ 0 < \beta< \infty 0 < β < ∞ fixed, and work on a regular replica-symmetric uninformative branch with M = 0 M = 0 M = 0 , q Γ , 0 > 0 q_{\Gamma,0} > 0 q Γ , 0 > 0 , X K , 0 > 0 \mathcal{X}_{K,0} > 0 X K , 0 > 0 , and finite output moments. The only small parameter in the instability calculation is the teacher overlap M M M .
Finite-K K K masked uninformative saddle
Whiten the finite-K K K field using
g : = Ω K − 1 / 2 f K = ( h , x 1 , … , x K ) , δ r = ρ ( 1 − ρ ) x r . (199) g := \Omega_K^{-1/2} f_K = (h, x_1, \ldots, x_K), \qquad\delta_r = \sqrt{\rho(1-\rho)}\,x_r. \tag*{(199)} g := Ω K − 1/2 f K = ( h , x 1 , … , x K ) , δ r = ρ ( 1 − ρ ) x r . (199)
The common field entering the output proximal is
g 0 = β λ M e 0 + q Γ z , z ∼ N ( 0 , I K + 1 ) . (200) g_0 = \sqrt{\beta}\,\lambda M e_0 + \sqrt{q_\Gamma}\,z, \qquad z \sim\mathcal{N}(0, I_{K+1}). \tag*{(200)} g 0 = β λ M e 0 + q Γ z , z ∼ N ( 0 , I K + 1 ) . (200)
In whitened coordinates the proximal and force are
g ⋆ = arg min g ∈ R K + 1 { ℓ K ( g ; q I ) + 1 2 v Γ ∥ g − g 0 ∥ 2 2 } , (201) g_\star= \underset{g \in\mathbb{R}^{K+1}}{\arg\min}\left\{\ell_K(g;q_I) + \frac{1}{2v_\Gamma}\lVert g-g_0\rVert_2^2\right\}, \tag*{(201)} g ⋆ = g ∈ R K + 1 arg min { ℓ K ( g ; q I ) + 2 v Γ 1 ∥ g − g 0 ∥ 2 2 } , (201)
F ~ K : = Ω K 1 / 2 F K = g ⋆ − g 0 v Γ . (202) \widetilde{F}_K := \Omega_K^{1/2}F_K = \frac{g_\star-g_0}{v_\Gamma}. \tag*{(202)} F K := Ω K 1/2 F K = v Γ g ⋆ − g 0 . (202)
At M = 0 M = 0 M = 0 write
g 0 ( 0 ) = q Γ , 0 z . (203) g_0^{(0)} = \sqrt{q_{\Gamma,0}}\,z. \tag*{(203)} g 0 ( 0 ) = q Γ , 0 z . (203)
All quantities below are evaluated at the corresponding uninformative proximal. Define
E K , 0 : = E ∥ F ~ K , 0 ∥ 2 2 , (204) \mathcal{E}_{K,0} := \mathbb{E}\lVert\widetilde{F}_{K,0}\rVert_2^2, \tag*{(204)} E K , 0 := E ∥ F K , 0 ∥ 2 2 , (204)
X K , 0 : = d d ε E z [ F ~ K , h ( q Γ , 0 z + ε e 0 ) ] ∣ ε = 0 , (205) \mathcal{X}_{K,0} := \left.\frac{d}{d\varepsilon}\mathbb{E}_z\left[\widetilde{F}_{K,h}\left(\sqrt{q_{\Gamma,0}}\,z+\varepsilon e_0\right)\right]\right|_{\varepsilon=0}, \tag*{(205)} X K , 0 := d ε d E z [ F K , h ( q Γ , 0 z + ε e 0 ) ] ε = 0 , (205)
A K , 0 : = E [ ∂ q I ℓ K ( g ⋆ ; q I , 0 ) ] = ρ E [ 1 K ∑ r = 1 K σ ( y r , ⋆ ) 2 ] ≥ 0 , (206) \mathcal{A}_{K,0} := \mathbb{E}[\partial_{q_I}\ell_K(g_\star;q_{I,0})] = \rho\mathbb{E}\left[\frac{1}{K}\sum_{r=1}^{K}\sigma(y_{r,\star})^2\right] \ge0, \tag*{(206)} A K , 0 := E [ ∂ q I ℓ K ( g ⋆ ; q I , 0 )] = ρ E [ K 1 r = 1 ∑ K σ ( y r , ⋆ ) 2 ] ≥ 0 , (206)
B K , 0 : = E [ D Γ , K ] . (207) \mathcal{B}_{K,0} := \mathbb{E}[D_{\Gamma,K}]. \tag*{(207)} B K , 0 := E [ D Γ , K ] . (207)
In (D.7), all other order parameters are held fixed. Differentiating the shifted Gaussian density gives the score expression (D.36); q Γ , 0 > 0 q_{\Gamma,0} > 0 q Γ , 0 > 0 and the finite force second moment suffice for this step. This averaged response includes changes in the selected proximal minimizer. It agrees with the expectation of the ordinary force derivative when differentiation can be interchanged with Gaussian averaging. At finite K K K , the loss has no explicit dependence on q Γ q_\Gamma q Γ . Using (C.99) in whitened coordinates gives
B K , 0 = − 1 2 q Γ , 0 E [ F ~ K , 0 z ] . (208) \mathcal{B}_{K,0} = -\frac{1}{2\sqrt{q_{\Gamma,0}}}\mathbb{E}\left[\widetilde{F}_{K,0}z\right]. \tag*{(208)} B K , 0 = − 2 q Γ , 0 1 E [ F K , 0 z ] . (208)
The finite-K K K conjugate equations (C.101)–(C.102) reduce at M = 0 M = 0 M = 0 to
q ^ 0 ( γ ) = α γ E K , 0 , v ^ 0 ( γ ) = 2 α ( A K , 0 + γ B K , 0 ) . (209) \widehat{q}_0(\gamma) = \alpha\gamma\mathcal{E}_{K,0}, \qquad\widehat{v}_0(\gamma) = 2\alpha\left(\mathcal{A}_{K,0}+\gamma\mathcal{B}_{K,0}\right). \tag*{(209)} q 0 ( γ ) = α γ E K , 0 , v 0 ( γ ) = 2 α ( A K , 0 + γ B K , 0 ) . (209)
The ridgeless input equations therefore give
v 0 ( γ ) = 1 2 α ( A K , 0 + γ B K , 0 ) , (210) v_0(\gamma)=\frac{1}{2\alpha(A_{K,0}+\gamma B_{K,0})}, \tag*{(210)} v 0 ( γ ) = 2 α ( A K , 0 + γ B K , 0 ) 1 , (210)
q 0 ( γ ) = α E K , 0 v 0 ( γ ) 2 . (211) q_0(\gamma)=\alpha\mathcal{E}_{K,0}v_0(\gamma)^2. \tag*{(211)} q 0 ( γ ) = α E K , 0 v 0 ( γ ) 2 . (211)
Consequently,
q I , 0 = α E K , 0 E γ [ γ v 0 ( γ ) 2 ] , (212) q_{I,0}=\alpha\mathcal{E}_{K,0}\mathbb{E}_{\gamma}\left[\gamma v_0(\gamma)^2\right], \tag*{(212)} q I , 0 = α E K , 0 E γ [ γ v 0 ( γ ) 2 ] , (212)
q Γ , 0 = α E K , 0 E γ [ γ 2 v 0 ( γ ) 2 ] , (213) q_{\Gamma,0}=\alpha\mathcal{E}_{K,0}\mathbb{E}_{\gamma}\left[\gamma^2v_0(\gamma)^2\right], \tag*{(213)} q Γ , 0 = α E K , 0 E γ [ γ 2 v 0 ( γ ) 2 ] , (213)
v Γ , 0 = E γ [ γ v 0 ( γ ) ] . (214) v_{\Gamma,0}=\mathbb{E}_{\gamma}\left[\gamma v_0(\gamma)\right]. \tag*{(214)} v Γ , 0 = E γ [ γ v 0 ( γ ) ] . (214)
A regular ridgeless saddle requires
A K , 0 + γ B K , 0 > 0 P γ -a.s. (215) A_{K,0}+\gamma B_{K,0}>0 \qquad P_{\gamma}\text{-a.s.} \tag*{(215)} A K , 0 + γ B K , 0 > 0 P γ -a.s. (215)
Linear instability in the teacher overlap
Recovery begins when the response to a small feature alignment amplifies that alignment. Perturb the uninformative saddle by an infinitesimal M M M :
g 0 = g 0 ( 0 ) + β λ M e 0 . (216) g_0=g_0^{(0)}+\sqrt{\beta}\lambda M e_0. \tag*{(216)} g 0 = g 0 ( 0 ) + β λ M e 0 . (216)
The remaining uninformative order parameters change only at order M 2 M^2 M 2 . Expanding the Gaussian-averaged informative force at fixed remaining order parameters gives
E z [ F ~ K , h ( g 0 ( 0 ) + ϵ e 0 ) ] = E z [ F ~ K , h ( g 0 ( 0 ) ) ] + ϵ X K , 0 + o ( ϵ ) . (217) \mathbb{E}_z\left[\widetilde{F}_{K,h}(g_0^{(0)}+\epsilon e_0)\right]
=
\mathbb{E}_z\left[\widetilde{F}_{K,h}(g_0^{(0)})\right]
+\epsilon\mathcal{X}_{K,0}+o(\epsilon). \tag*{(217)} E z [ F K , h ( g 0 ( 0 ) + ϵ e 0 ) ] = E z [ F K , h ( g 0 ( 0 ) ) ] + ϵ X K , 0 + o ( ϵ ) . (217)
Substituting ϵ = β λ M \epsilon=\sqrt{\beta}\lambda M ϵ = β λ M and averaging over λ \lambda λ , using its independence from the M = 0 M=0 M = 0 channel, E [ λ ] = 0 \mathbb{E}[\lambda]=0 E [ λ ] = 0 , and E [ λ 2 ] = 1 \mathbb{E}[\lambda^2]=1 E [ λ 2 ] = 1 , gives
E [ λ F ~ K , h ] = β M X K , 0 + o ( M ) . (218) \mathbb{E}\left[\lambda\widetilde{F}_{K,h}\right]
=
\sqrt{\beta}M\mathcal{X}_{K,0}+o(M). \tag*{(218)} E [ λ F K , h ] = β M X K , 0 + o ( M ) . (218)
Equation (C.100) then yields the teacher conjugate
m ^ = α β X K , 0 M + o ( M ) . (219) \widehat{m}=\alpha\beta\mathcal{X}_{K,0}M+o(M). \tag*{(219)} m = α β X K , 0 M + o ( M ) . (219)
The input relation m ( γ ) = v 0 ( γ ) m ^ + o ( M ) m(\gamma)=v_0(\gamma)\widehat{m}+o(M) m ( γ ) = v 0 ( γ ) m + o ( M ) gives
M n e w = α β X K , 0 E γ [ v 0 ( γ ) ] M + o ( M ) . (220) M_{\mathrm{new}}=\alpha\beta\mathcal{X}_{K,0}\mathbb{E}_{\gamma}[v_0(\gamma)]M+o(M). \tag*{(220)} M new = α β X K , 0 E γ [ v 0 ( γ )] M + o ( M ) . (220)
Thus the exact continuous-instability condition is
1 = α c m a s k , K β X K , c E γ [ v K , c ( γ ) ] . (221) 1=\alpha_c^{\mathrm{mask},K}\beta\mathcal{X}_{K,c}\mathbb{E}_{\gamma}[v_{K,c}(\gamma)]. \tag*{(221)} 1 = α c mask , K β X K , c E γ [ v K , c ( γ )] . (221)
Equivalently, along the regular M = 0 M=0 M = 0 branch define
Λ K ( α ; β ) : = α β X K , 0 ( α ) E γ [ v K , 0 ( γ ; α ) ] . (222) \Lambda_K(\alpha;\beta):=\alpha\beta\mathcal{X}_{K,0}(\alpha)\mathbb{E}_{\gamma}[v_{K,0}(\gamma;\alpha)]. \tag*{(222)} Λ K ( α ; β ) := α β X K , 0 ( α ) E γ [ v K , 0 ( γ ; α )] . (222)
The crossing of Λ K \Lambda_K Λ K through one predicts the continuous onset of feature recovery on this branch.
Exact fixed-β \beta β factorization
The threshold separates into an output-efficiency factor and a factor describing the response to heterogeneous coordinate noise. The latter is
R γ ( τ ) : = E γ [ γ 2 ( 1 + τ γ ) 2 ] ( E γ [ 1 1 + τ γ ] ) 2 , 1 + τ γ > 0 P γ -a.s. (223) \mathcal{R}_{\gamma}(\tau):=
\frac{\mathbb{E}_{\gamma}\left[\dfrac{\gamma^2}{(1+\tau\gamma)^2}\right]}
{\left(\mathbb{E}_{\gamma}\left[\dfrac{1}{1+\tau\gamma}\right]\right)^2},
\qquad
1+\tau\gamma>0\quad P_{\gamma}\text{-a.s.} \tag*{(223)} R γ ( τ ) := ( E γ [ 1 + τ γ 1 ] ) 2 E γ [ ( 1 + τ γ ) 2 γ 2 ] , 1 + τ γ > 0 P γ -a.s. (223)
It collects the effect of the variance distribution on the recovery threshold. Define
H 0 , K : = E γ [ v K , c ( γ ) ] , H 2 , K : = E γ [ γ 2 v K , c ( γ ) 2 ] . (224) H_{0,K} := \mathbb{E}_{\gamma}[v_{K,c}(\gamma)], \qquad H_{2,K} := \mathbb{E}_{\gamma}[\gamma^2v_{K,c}(\gamma)^2]. \tag*{(224)} H 0 , K := E γ [ v K , c ( γ )] , H 2 , K := E γ [ γ 2 v K , c ( γ ) 2 ] . (224)
At criticality, (D.15) reads
q Γ , c = α c m a s k , K E K , c H 2 , K . (225) q_{\Gamma,c} = \alpha_c^{\mathrm{mask},K}\mathcal{E}_{K,c}H_{2,K}. \tag*{(225)} q Γ , c = α c mask , K E K , c H 2 , K . (225)
Introduce the output-efficiency factor
η K , c 2 : = E K , c q Γ , c X K , c 2 . (226) \eta_{K,c}^2 := \frac{\mathcal{E}_{K,c}}{q_{\Gamma,c}\mathcal{X}_{K,c}^2}. \tag*{(226)} η K , c 2 := q Γ , c X K , c 2 E K , c . (226)
Substituting E K , c = η K , c 2 q Γ , c X K , c 2 \mathcal{E}_{K,c}=\eta_{K,c}^2q_{\Gamma,c}\mathcal{X}_{K,c}^2 E K , c = η K , c 2 q Γ , c X K , c 2 into (D.27) and cancelling q Γ , c > 0 q_{\Gamma,c}>0 q Γ , c > 0 gives
1 = α c m a s k , K η K , c 2 X K , c 2 H 2 , K . (227) 1=\alpha_c^{\mathrm{mask},K}\eta_{K,c}^2\mathcal{X}_{K,c}^2H_{2,K}. \tag*{(227)} 1 = α c mask , K η K , c 2 X K , c 2 H 2 , K . (227)
On the other hand, (D.23) gives
X K , c = 1 α c m a s k , K β H 0 , K . (228) \mathcal{X}_{K,c}=\frac{1}{\alpha_c^{\mathrm{mask},K}\beta H_{0,K}}. \tag*{(228)} X K , c = α c mask , K β H 0 , K 1 . (228)
Eliminating X K , c \mathcal{X}_{K,c} X K , c yields
α c m a s k , K = η K , c 2 H 2 , K β 2 H 0 , K 2 . (229) \alpha_c^{\mathrm{mask},K}=\frac{\eta_{K,c}^2H_{2,K}}{\beta^2H_{0,K}^2}. \tag*{(229)} α c mask , K = β 2 H 0 , K 2 η K , c 2 H 2 , K . (229)
Assume A K , c > 0 A_{K,c}>0 A K , c > 0 and define
τ K , c : = B K , c A K , c . (230) \tau_{K,c}:=\frac{B_{K,c}}{A_{K,c}}. \tag*{(230)} τ K , c := A K , c B K , c . (230)
Equation (D.12) becomes
v K , c ( γ ) = 1 2 α c m a s k , K A K , c 1 1 + τ K , c γ . (231) v_{K,c}(\gamma)=\frac{1}{2\alpha_c^{\mathrm{mask},K}A_{K,c}}\frac{1}{1+\tau_{K,c}\gamma}. \tag*{(231)} v K , c ( γ ) = 2 α c mask , K A K , c 1 1 + τ K , c γ 1 . (231)
The overall scale cancels from (D.31), giving
α c m a s k , K = η K , c 2 β 2 R γ ( τ K , c ) , (232) \alpha_c^{\mathrm{mask},K}=\frac{\eta_{K,c}^2}{\beta^2}\mathcal{R}_{\gamma}(\tau_{K,c}), \tag*{(232)} α c mask , K = β 2 η K , c 2 R γ ( τ K , c ) , (232)
with R γ \mathcal{R}_{\gamma} R γ defined in (D.25). No β ↓ 0 \beta\downarrow0 β ↓ 0 limit has been used.
Dynamic masking. The same derivation applies after the mask average. One keeps E ∞ , 0 = E [ F d y n , 0 2 ] \mathcal{E}_{\infty,0}=\mathbb{E}[F_{\mathrm{dyn},0}^2] E ∞ , 0 = E [ F dyn , 0 2 ] and X ∞ , 0 = q Γ , 0 − 1 / 2 E [ z F d y n , 0 ] \mathcal{X}_{\infty,0}=q_{\Gamma,0}^{-1/2}\mathbb{E}[zF_{\mathrm{dyn},0}] X ∞ , 0 = q Γ , 0 − 1/2 E [ z F dyn , 0 ] with the same averaged-response convention, while B ∞ , 0 B_{\infty,0} B ∞ , 0 includes the explicit derivative of the dynamic loss,
B ∞ , 0 = E [ ∂ q Γ ℓ d y n ( h ⋆ ; q I , 0 , q Γ , 0 ) − F d y n z 2 q Γ , 0 ] . (233) B_{\infty,0}=\mathbb{E}\left[\partial_{q_{\Gamma}}\ell_{\mathrm{dyn}}(h_{\star};q_{I,0},q_{\Gamma,0})-\frac{F_{\mathrm{dyn}}z}{2\sqrt{q_{\Gamma,0}}}\right]. \tag*{(233)} B ∞ , 0 = E [ ∂ q Γ ℓ dyn ( h ⋆ ; q I , 0 , q Γ , 0 ) − 2 q Γ , 0 F dyn z ] . (233)
Since v ^ 0 ( γ ) = 2 α ( A ∞ , 0 + γ B ∞ , 0 ) \hat{v}_0(\gamma)=2\alpha(A_{\infty,0}+\gamma B_{\infty,0}) v ^ 0 ( γ ) = 2 α ( A ∞ , 0 + γ B ∞ , 0 ) , the factorization (D.34) carries over with K = ∞ K=\infty K = ∞ whenever the regular dynamic saddle exists.
Output-efficiency bound
Differentiating the Gaussian density in the averaged response (D.7), evaluated at criticality, gives
X K , c = 1 q Γ , c E [ z h F ~ K , h ] . (234) \mathcal{X}_{K,c}=\frac{1}{\sqrt{q_{\Gamma,c}}}\mathbb{E}[z_h\widetilde{F}_{K,h}]. \tag*{(234)} X K , c = q Γ , c 1 E [ z h F K , h ] . (234)
This expression also evaluates the response for a discontinuous proximal force, without differentiating within a selected minimizer branch. Therefore
q Γ , c X K , c 2 = ( E [ z h F ~ K , h ] ) 2 ≤ E [ F ~ K , h 2 ] ≤ E ∥ F ~ K , c ∥ 2 2 = E K , c . (235) q_{\Gamma,c}\mathcal{X}_{K,c}^2=\left(\mathbb{E}[z_h\widetilde{F}_{K,h}]\right)^2\leq\mathbb{E}[\widetilde{F}_{K,h}^2]\leq\mathbb{E}\|\widetilde{F}_{K,c}\|_2^2=\mathcal{E}_{K,c}. \tag*{(235)} q Γ , c X K , c 2 = ( E [ z h F K , h ] ) 2 ≤ E [ F K , h 2 ] ≤ E ∥ F K , c ∥ 2 2 = E K , c . (235)
Hence
η K , c 2 ≥ 1. (236) \eta_{K,c}^2\geq1. \tag*{(236)} η K , c 2 ≥ 1. (236)
Equality requires that the output force have no component in the mask-specific directions and that its informative component be proportional to z h z_h z h in L 2 L^2 L 2 .
Monotonicity and bounds for the heteroskedastic factor
Let
a τ ( γ ) : = 1 1 + τ γ , X τ ( γ ) : = γ 1 + τ γ . (237) a_\tau(\gamma) := \frac{1}{1+\tau\gamma}, \qquad X_\tau(\gamma) := \frac{\gamma}{1+\tau\gamma}. \tag*{(237)} a τ ( γ ) := 1 + τ γ 1 , X τ ( γ ) := 1 + τ γ γ . (237)
Then a τ = 1 − τ X τ a_\tau= 1-\tau X_\tau a τ = 1 − τ X τ and
R γ ( τ ) = E γ [ X τ 2 ] E γ [ a τ ] 2 . (238) R_\gamma(\tau) = \frac{\mathbb{E}_\gamma[X_\tau^2]}{\mathbb{E}_\gamma[a_\tau]^2}. \tag*{(238)} R γ ( τ ) = E γ [ a τ ] 2 E γ [ X τ 2 ] . (238)
The derivatives are
d X τ d τ = − X τ 2 , d a τ d τ = − X τ a τ , (239) \frac{\mathrm{d}X_\tau}{\mathrm{d}\tau}=-X_\tau^2,\qquad\frac{\mathrm{d}a_\tau}{\mathrm{d}\tau}=-X_\tau a_\tau, \tag*{(239)} d τ d X τ = − X τ 2 , d τ d a τ = − X τ a τ , (239)
so
1 2 d d τ log R γ ( τ ) = − E γ [ X τ 3 ] E γ [ X τ 2 ] + E γ [ X τ a τ ] E γ [ a τ ] . (240) \frac{1}{2}\frac{\mathrm{d}}{\mathrm{d}\tau}\log R_\gamma(\tau)=-\frac{\mathbb{E}_\gamma[X_\tau^3]}{\mathbb{E}_\gamma[X_\tau^2]}+\frac{\mathbb{E}_\gamma[X_\tau a_\tau]}{\mathbb{E}_\gamma[a_\tau]}. \tag*{(240)} 2 1 d τ d log R γ ( τ ) = − E γ [ X τ 2 ] E γ [ X τ 3 ] + E γ [ a τ ] E γ [ X τ a τ ] . (240)
Let γ ′ ∼ P γ \gamma' \sim P_\gamma γ ′ ∼ P γ be independent of γ \gamma γ , and set X τ ′ = X τ ( γ ′ ) X'_\tau=X_\tau(\gamma') X τ ′ = X τ ( γ ′ ) . Symmetrizing the last expression gives
1 2 d d τ log R γ ( τ ) = − E γ , γ ′ [ ( X τ − X τ ′ ) 2 ( X τ + X τ ′ − τ X τ X τ ′ ) ] 2 E γ [ X τ 2 ] E γ [ a τ ] ≤ 0. (241) \frac{1}{2}\frac{\mathrm{d}}{\mathrm{d}\tau}\log R_\gamma(\tau)=-\frac{\mathbb{E}_{\gamma,\gamma'}\left[(X_\tau-X'_\tau)^2(X_\tau+X'_\tau-\tau X_\tau X'_\tau)\right]}{2\mathbb{E}_\gamma[X_\tau^2]\mathbb{E}_\gamma[a_\tau]}\leq0. \tag*{(241)} 2 1 d τ d log R γ ( τ ) = − 2 E γ [ X τ 2 ] E γ [ a τ ] E γ , γ ′ [ ( X τ − X τ ′ ) 2 ( X τ + X τ ′ − τ X τ X τ ′ ) ] ≤ 0. (241)
The sign follows because
X τ + X τ ′ − τ X τ X τ ′ = γ + γ ′ + τ γ γ ′ ( 1 + τ γ ) ( 1 + τ γ ′ ) > 0 (242) X_\tau+X'_\tau-\tau X_\tau X'_\tau=\frac{\gamma+\gamma'+\tau\gamma\gamma'}{(1+\tau\gamma)(1+\tau\gamma')}>0 \tag*{(242)} X τ + X τ ′ − τ X τ X τ ′ = ( 1 + τ γ ) ( 1 + τ γ ′ ) γ + γ ′ + τ γ γ ′ > 0 (242)
throughout the regularity domain. The inequality is strict for a nondegenerate variance law. At τ = 0 \tau=0 τ = 0 ,
R γ ( 0 ) = E γ [ γ 2 ] = κ 2 . (243) R_\gamma(0)=\mathbb{E}_\gamma[\gamma^2]=\kappa_2. \tag*{(243)} R γ ( 0 ) = E γ [ γ 2 ] = κ 2 . (243)
If E γ [ γ − 1 ] < ∞ \mathbb{E}_\gamma[\gamma^{-1}]<\infty E γ [ γ − 1 ] < ∞ , dominated convergence gives
lim τ → + ∞ R γ ( τ ) = 1 E γ [ γ − 1 ] 2 . (244) \lim_{\tau\to+\infty}R_\gamma(\tau)=\frac{1}{\mathbb{E}_\gamma[\gamma^{-1}]^2}. \tag*{(244)} τ → + ∞ lim R γ ( τ ) = E γ [ γ − 1 ] 2 1 . (244)
Thus every regular critical saddle obeys
R γ ( τ K , c ) ≥ 1 E γ [ γ − 1 ] 2 . (245) R_\gamma(\tau_{K,c})\geq\frac{1}{\mathbb{E}_\gamma[\gamma^{-1}]^2}. \tag*{(245)} R γ ( τ K , c ) ≥ E γ [ γ − 1 ] 2 1 . (245)
Combining this with (D.38) gives
α c m a s k , K ≥ 1 β 2 E γ [ γ − 1 ] 2 . (246) \alpha_c^{\mathrm{mask},K}\geq\frac{1}{\beta^2\mathbb{E}_\gamma[\gamma^{-1}]^2}. \tag*{(246)} α c mask , K ≥ β 2 E γ [ γ − 1 ] 2 1 . (246)
Finally,
E γ [ γ − 2 ] ≥ E γ [ γ − 1 ] 2 (247) \mathbb{E}_\gamma[\gamma^{-2}]\geq\mathbb{E}_\gamma[\gamma^{-1}]^2 \tag*{(247)} E γ [ γ − 2 ] ≥ E γ [ γ − 1 ] 2 (247)
by Cauchy–Schwarz, and hence
α c m a s k , K ≥ 1 β 2 E γ [ γ − 1 ] 2 ≥ α c B O . (248) \alpha_c^{\mathrm{mask},K}\geq\frac{1}{\beta^2\mathbb{E}_\gamma[\gamma^{-1}]^2}\geq\alpha_c^{\mathrm{BO}}. \tag*{(248)} α c mask , K ≥ β 2 E γ [ γ − 1 ] 2 1 ≥ α c BO . (248)
For unbounded variance support, the positivity condition in (D.25) requires τ K , c ≥ 0 \tau_{K,c}\geq0 τ K , c ≥ 0 . Hence the factorization gives
α c m a s k , K ≤ η K , c 2 κ 2 β 2 , (249) \alpha_c^{\mathrm{mask},K}\leq\frac{\eta_{K,c}^2\kappa_2}{\beta^2}, \tag*{(249)} α c mask , K ≤ β 2 η K , c 2 κ 2 , (249)
whenever the critical solution has finite output efficiency and κ 2 < ∞ \kappa_2<\infty κ 2 < ∞ . The linear dynamic case is developed in App. § 12 .§ 3 .
Mask diversity in the weak-signal regime
Recovery predictions and weak-signal regime
The weak-signal limit makes the sample cost of mask reuse explicit. Starting from the high-dimensional equations, we take
λ R = 0 , β ↓ 0 , α = O ( β − 2 ) , K = O ( 1 ) , (250) \lambda_R = 0,\qquad\beta\downarrow0,\qquad\alpha= O(\beta^{-2}),\qquad K = O(1), \tag*{(250)} λ R = 0 , β ↓ 0 , α = O ( β − 2 ) , K = O ( 1 ) , (250)
with α β 2 = O ( 1 ) \alpha\beta^2 = O(1) α β 2 = O ( 1 ) and K K K held fixed while the weak-signal limit is taken. The dynamic-mask coefficient is obtained afterward through the sequential limit K → ∞ K \to\infty K → ∞ . We denote
κ 2 : = E γ [ γ 2 ] . (251) \kappa_2 := \mathbb{E}_{\gamma}[\gamma^2]. \tag*{(251)} κ 2 := E γ [ γ 2 ] . (251)
The analysis concerns the regular continuous branch on which q I , q Γ , v Γ → 0 q_I, q_\Gamma, v_\Gamma\to0 q I , q Γ , v Γ → 0 as β ↓ 0 \beta\downarrow0 β ↓ 0 .
Weak-signal recovery predictions. Fix 0 < ρ < 1 0 < \rho< 1 0 < ρ < 1 and finite K K K .
For the smooth class, assume σ ∈ C 1 ( R ) \sigma\in C^1(\mathbb{R}) σ ∈ C 1 ( R ) , with both σ \sigma σ and σ ′ \sigma' σ ′ globally Lipschitz, and
σ ( 0 ) = 0 , σ ( x ) = s σ x + O ( x 2 ) , 0 < s σ < ∞ , (252) \sigma(0) = 0,\qquad\sigma(x) = s_\sigma x + O(x^2),\qquad0 < s_\sigma< \infty, \tag*{(252)} σ ( 0 ) = 0 , σ ( x ) = s σ x + O ( x 2 ) , 0 < s σ < ∞ , (252)
the continuous weak-recovery threshold is
α c , s m ( K ) = κ 2 β 2 [ 1 + 1 − 2 ρ ( 1 − ρ ) 2 K ρ ( 1 − ρ ) ] [ 1 + o β ( 1 ) ] . (253) \alpha_{\mathrm{c,sm}}^{(K)} = \frac{\kappa_2}{\beta^2}\left[1 + \frac{1 - 2\rho(1-\rho)}{2K\rho(1-\rho)}\right]\left[1 + o_\beta(1)\right]. \tag*{(253)} α c , sm ( K ) = β 2 κ 2 [ 1 + 2 K ρ ( 1 − ρ ) 1 − 2 ρ ( 1 − ρ ) ] [ 1 + o β ( 1 ) ] . (253)
These sufficient regularity conditions justify the Gaussian moment and proximal expansions below; they include linear, tanh, and the standard ELU σ ( x ) = x \sigma(x) = x σ ( x ) = x for x ≥ 0 x \ge0 x ≥ 0 , σ ( x ) = e x − 1 \sigma(x) = e^x - 1 σ ( x ) = e x − 1 for x < 0 x < 0 x < 0 . The second derivative need only exist almost everywhere and be bounded, so the jump in the ELU second derivative at zero is allowed. Activations satisfying these conditions belong to the same weak-signal universality class. Activations with σ ( 0 ) ≠ 0 \sigma(0) \ne0 σ ( 0 ) = 0 , vanishing linear response, or discontinuities require a different expansion.
For ReLU,
σ ( x ) = x + : = max { x , 0 } , (254) \sigma(x) = x_+ := \max\{x,0\}, \tag*{(254)} σ ( x ) = x + := max { x , 0 } , (254)
define the off-diagonal force covariance
D R ( ρ ) = ρ 2 ( 1 − ρ ) 2 [ 1 + 2 π arcsin ( 1 − ρ ) ] + ρ ( 1 − ρ ) 2 π ρ 2 − ρ . (255) D_R(\rho) = \rho^2(1-\rho)^2\left[1 + \frac{2}{\pi}\arcsin(1-\rho)\right] + \frac{\rho(1-\rho)}{2\pi}\sqrt{\frac{\rho}{2-\rho}}. \tag*{(255)} D R ( ρ ) = ρ 2 ( 1 − ρ ) 2 [ 1 + π 2 arcsin ( 1 − ρ ) ] + 2 π ρ ( 1 − ρ ) 2 − ρ ρ . (255)
The ReLU threshold is
α c , R ( K ) = κ 2 β 2 [ D R ( ρ ) ρ 2 ( 1 − ρ ) 2 + 1 K ( 1 ρ ( 1 − ρ ) − D R ( ρ ) ρ 2 ( 1 − ρ ) 2 ) ] [ 1 + o β ( 1 ) ] . (256) \alpha_{\mathrm{c,R}}^{(K)} = \frac{\kappa_2}{\beta^2}\left[\frac{D_R(\rho)}{\rho^2(1-\rho)^2} + \frac{1}{K}\left(\frac{1}{\rho(1-\rho)} - \frac{D_R(\rho)}{\rho^2(1-\rho)^2}\right)\right]\left[1 + o_\beta(1)\right]. \tag*{(256)} α c , R ( K ) = β 2 κ 2 [ ρ 2 ( 1 − ρ ) 2 D R ( ρ ) + K 1 ( ρ ( 1 − ρ ) 1 − ρ 2 ( 1 − ρ ) 2 D R ( ρ ) ) ] [ 1 + o β ( 1 ) ] . (256)
For both activation classes, the leading weak-signal threshold is strictly decreasing with the number of independent masks in the fixed collection. The following ordering refers to these leading coefficients, with the dynamic coefficient obtained in the sequential limit specified above:
α c ( 1 ) > α c ( 2 ) > ⋯ > α c ( ∞ ) . (257) \alpha_{\mathrm{c}}^{(1)} > \alpha_{\mathrm{c}}^{(2)} > \cdots> \alpha_{\mathrm{c}}^{(\infty)}. \tag*{(257)} α c ( 1 ) > α c ( 2 ) > ⋯ > α c ( ∞ ) . (257)
Since K = 1 K = 1 K = 1 corresponds to static masking and K → ∞ K \to\infty K → ∞ to dynamic masking, the leading dynamic coefficient is strictly smaller than the static one. The fixed-K K K expansion does not establish uniform finite-signal monotonicity for K K K increasing jointly with β − 1 \beta^{-1} β − 1 .
At half masking, ρ = 1 / 2 \rho= 1/2 ρ = 1/2 , the leading coefficients multiplying κ 2 / β 2 \kappa_2/\beta^2 κ 2 / β 2 are
K = 1 K = 2 K → ∞ S m o o t h 2 3 / 2 1 R e L U 4 8 / 3 + 1 / ( π 3 ) 4 / 3 + 2 / ( π 3 ) (258) \begin{array}{c|ccc}
& K=1 & K=2 & K\to\infty\\
\hline
\mathrm{Smooth} & 2 & 3/2 & 1 \\
\mathrm{ReLU} & 4 & 8/3 + 1/(\pi\sqrt{3}) & 4/3 + 2/(\pi\sqrt{3}) \tag*{(258)}
\end{array} Smooth ReLU K = 1 2 4 K = 2 3/2 8/3 + 1/ ( π 3 ) K → ∞ 1 4/3 + 2/ ( π 3 ) (258)
ReLU has a distinct coefficient because its two one-sided slopes differ.
Excess over the dynamic weak-signal reference. For the centered smooth class, let α c ( ∞ ) = κ 2 β − 2 [ 1 + o β ( 1 ) ] \alpha_{\mathrm{c}}^{(\infty)}=\kappa2\beta^{-2}[1+o_{\beta}(1)] α c ( ∞ ) = κ 2 β − 2 [ 1 + o β ( 1 )] denote the sequential dynamic reference. The finite-K K K expansion can equivalently be written as
α c ( K ) − α c ( ∞ ) = α c ( 1 ) − α c ( ∞ ) K + o β ( β − 2 ) . (259) \alpha_{\mathrm{c}}^{(K)}-\alpha_{\mathrm{c}}^{(\infty)}=\frac{\alpha_{\mathrm{c}}^{(1)}-\alpha_{\mathrm{c}}^{(\infty)}}{K}+o_{\beta}(\beta^{-2}). \tag*{(259)} α c ( K ) − α c ( ∞ ) = K α c ( 1 ) − α c ( ∞ ) + o β ( β − 2 ) . (259)
Thus each additional independent mask reduces the excess sample requirement, with diminishing returns. The full fixed-signal criterion of App. § 12 .§ 1 is evaluated numerically in App. § 16 .11.
Common weak-signal reduction
Finite-K K K output channel. Use the whitened field, common Gaussian center, proximal, and force from (D.1)–(D.5). At M = 0 M=0 M = 0 , g 0 ∼ N ( 0 , q Γ I K + 1 ) \mathbf{g}_0\sim\mathcal{N}(0,q_{\Gamma}\mathbf{I}_{K+1}) g 0 ∼ N ( 0 , q Γ I K + 1 ) . The visible and masked fields of view r r r are therefore
y r : = h r , v i s = ( 1 − ρ ) h + ρ ( 1 − ρ ) x r , t r : = h r , m a s k = ρ h − ρ ( 1 − ρ ) x r . (260) y_r:=h_{r,\mathrm{vis}}=(1-\rho)h+\sqrt{\rho(1-\rho)}x_r,\qquad t_r:=h_{r,\mathrm{mask}}=\rho h-\sqrt{\rho(1-\rho)}x_r. \tag*{(260)} y r := h r , vis = ( 1 − ρ ) h + ρ ( 1 − ρ ) x r , t r := h r , mask = ρ h − ρ ( 1 − ρ ) x r . (260)
The finite-K K K output loss becomes
ℓ K ( g ; q I ) = 1 K ∑ r = 1 K [ q I q I σ ( y r ) 2 − 2 σ ( y r ) t r ] . (261) \ell_K(\mathbf{g};q_I)=\frac{1}{K}\sum_{r=1}^{K}\left[q_Iq_I\sigma(y_r)^2-2\sigma(y_r)t_r\right]. \tag*{(261)} ℓ K ( g ; q I ) = K 1 r = 1 ∑ K [ q I q I σ ( y r ) 2 − 2 σ ( y r ) t r ] . (261)
At differentiable proximal minimizers, F ~ K = − ∇ g ℓ K ( g ⋆ ; q I ) \widetilde{\mathbf{F}}_K=-\nabla_{\mathbf{g}}\ell_K(\mathbf{g}^{\star};q_I) F K = − ∇ g ℓ K ( g ⋆ ; q I ) ; at ReLU kinks the displacement in (D.4) defines the force. Since the signal loads on the common component,
A ⋆ = F ~ K , h , F ~ K T Ω K F ~ K = ∥ F ~ K ∥ 2 2 . (262) A_{\star}=\widetilde{F}_{K,h},\qquad\widetilde{\mathbf{F}}_K^{\mathsf{T}}\Omega_K\widetilde{\mathbf{F}}_K=\lVert\widetilde{\mathbf{F}}_K\rVert_2^2. \tag*{(262)} A ⋆ = F K , h , F K T Ω K F K = ∥ F K ∥ 2 2 . (262)
The different views share the field h h h ; their force covariances must be retained when computing the effect of K K K . For the two activation classes considered below, take the weak-signal limit of the averaged response (D.7), using its Gaussian-score form (D.36), and define
X K : = lim q I , q Γ , v Γ → 0 M = 0 1 q Γ E Z [ z h F ~ K , h ( q Γ z ) ] . (263) \mathcal{X}_K:=\lim_{\substack{q_I,q_{\Gamma},v_{\Gamma}\to0\\M=0}}\frac{1}{\sqrt{q_{\Gamma}}}\mathbb{E}_{Z}\left[z_h\widetilde{F}_{K,h}(\sqrt{q_{\Gamma}}z)\right]. \tag*{(263)} X K := q I , q Γ , v Γ → 0 M = 0 lim q Γ 1 E Z [ z h F K , h ( q Γ z ) ] . (263)
T K : = lim q I , q Γ , v Γ → 0 M = 0 1 q Γ E [ ∥ F ~ K ∥ 2 2 ] . (264) T_K:=\lim_{\substack{q_I,q_{\Gamma},v_{\Gamma}\to0\\M=0}}\frac{1}{q_{\Gamma}}\mathbb{E}\left[\lVert\widetilde{\mathbf{F}}_K\rVert_2^2\right]. \tag*{(264)} T K := q I , q Γ , v Γ → 0 M = 0 lim q Γ 1 E [ ∥ F K ∥ 2 2 ] . (264)
We also require
U K : = lim q Γ ↓ 0 1 q Γ E [ ∂ q I ℓ K ( g 0 ; q I ) ∣ q I = 0 , M = 0 ] . (265) U_K:=\lim_{q_{\Gamma}\downarrow0}\frac{1}{q_{\Gamma}}\mathbb{E}\left[\left.\partial_{q_I}\ell_K(\mathbf{g}_0;q_I)\right|_{q_I=0,M=0}\right]. \tag*{(265)} U K := q Γ ↓ 0 lim q Γ 1 E [ ∂ q I ℓ K ( g 0 ; q I ) ∣ q I = 0 , M = 0 ] . (265)
The coefficient U K U_K U K controls the norm of the uninformative solution but will cancel from the recovery threshold.
Generic reduction of the weak-recovery condition. Taking the weak-signal limit of the response in (D.19) gives, at leading order,
m ^ = α β X K M + o ( M ) . (266) \widehat{m}=\alpha\beta\mathcal{X}_K M+o(M). \tag*{(266)} m = α β X K M + o ( M ) . (266)
At M = 0 M=0 M = 0 ,
q ^ ( γ ) = α γ q Γ T K + o ( α q Γ ) . (267) \widehat{q}(\gamma)=\alpha\gamma q_{\Gamma}T_K+o(\alpha q_{\Gamma}). \tag*{(267)} q ( γ ) = α γ q Γ T K + o ( α q Γ ) . (267)
It remains to expand v ^ ( γ ) \widehat{v}(\gamma) v ( γ ) . At fixed finite K K K , the loss (D.63) has no explicit dependence on q Γ q_{\Gamma} q Γ . Thus, at M = 0 M=0 M = 0 ,
D Γ = − F ~ K T ∂ q Γ g 0 = − 1 2 q Γ F ~ K T g 0 . (268) D_{\Gamma}=-\widetilde{\mathbf{F}}_K^{\mathsf{T}}\partial_{q_{\Gamma}}\mathbf{g}_0=-\frac{1}{2q_{\Gamma}}\widetilde{\mathbf{F}}_K^{\mathsf{T}}\mathbf{g}_0. \tag*{(268)} D Γ = − F K T ∂ q Γ g 0 = − 2 q Γ 1 F K T g 0 . (268)
Euler identity and the nonlinear remainder. In this paragraph write q = q Γ q=q_{\Gamma} q = q Γ , Q = q I Q=q_{I} Q = q I , and v = v Γ v=v_{\Gamma} v = v Γ . All limits have q , Q , v ↓ 0 q,Q,v \downarrow0 q , Q , v ↓ 0 at fixed K K K and ρ \rho ρ ; constants may depend on K K K , ρ \rho ρ , and the activation, but not on q , Q , v q,Q,v q , Q , v . For the smooth class the loss decomposes as
ℓ K ( g ; Q ) = ℓ K ( 2 ) ( g ) + Q G K ( 2 ) ( g ) + E K ( g ; Q ) , ∣ E K ( g ; Q ) ∣ ≤ C ( 1 + Q ) ∥ g ∥ 3 , (269) \ell_K(g;Q)=\ell_K^{(2)}(g)+QG_K^{(2)}(g)+E_K(g;Q), \qquad\lvert E_K(g;Q)\rvert\le C(1+Q)\lVert g\rVert^3, \tag*{(269)} ℓ K ( g ; Q ) = ℓ K ( 2 ) ( g ) + Q G K ( 2 ) ( g ) + E K ( g ; Q ) , ∣ E K ( g ; Q )∣ ≤ C ( 1 + Q ) ∥ g ∥ 3 , (269)
where ℓ K ( 2 ) = − 2 s σ K − 1 ∑ j y j t j \ell_K^{(2)}=-2s_{\sigma}K^{-1}\sum_j y_jt_j ℓ K ( 2 ) = − 2 s σ K − 1 ∑ j y j t j and G K ( 2 ) = ρ s σ 2 K − 1 ∑ j y j 2 G_K^{(2)}=\rho s_{\sigma}^2K^{-1}\sum_j y_j^2 G K ( 2 ) = ρ s σ 2 K − 1 ∑ j y j 2 are homogeneous of degree two. At the uninformative Gaussian field, y j y_j y j and t j t_j t j are independent and centered for each view. Thus
E [ ℓ K ( 2 ) ( g 0 ) ] = 0 , E [ G K ( 2 ) ( g 0 ) ] = U K q , E [ ℓ K ( g 0 ; Q ) ] = Q U K q + O ( Q q 3 / 2 ) . (270) \mathbb{E}[\ell_K^{(2)}(g_0)]=0,\qquad\mathbb{E}[G_K^{(2)}(g_0)]=U_Kq,\qquad\mathbb{E}[\ell_K(g_0;Q)]=QU_Kq+O(Qq^{3/2}). \tag*{(270)} E [ ℓ K ( 2 ) ( g 0 )] = 0 , E [ G K ( 2 ) ( g 0 )] = U K q , E [ ℓ K ( g 0 ; Q )] = Q U K q + O ( Q q 3/2 ) . (270)
The last estimate uses the exact cancellation E [ σ ( y j ) t j ] = 0 \mathbb{E}[\sigma(y_j)t_j]=0 E [ σ ( y j ) t j ] = 0 , rather than just the pointwise cubic bound. Define the Euler defect of the full loss by
R K ( g ; Q ) : = g T ∇ ℓ K ( g ; Q ) − 2 ℓ K ( g ; Q ) . (271) R_K(g;Q):=g^{\mathsf{T}}\nabla\ell_K(g;Q)-2\ell_K(g;Q). \tag*{(271)} R K ( g ; Q ) := g T ∇ ℓ K ( g ; Q ) − 2 ℓ K ( g ; Q ) . (271)
Proximal stationarity gives the exact identity
F ~ K g 0 = − 2 ℓ K ( g ⋆ ; Q ) − v ∥ F ~ K ∥ 2 − R K ( g ⋆ ; Q ) . (272) \widetilde{F}_K g_0=-2\ell_K(g_{\star};Q)-v\lVert\widetilde{F}_K\rVert^2-R_K(g_{\star};Q). \tag*{(272)} F K g 0 = − 2 ℓ K ( g ⋆ ; Q ) − v ∥ F K ∥ 2 − R K ( g ⋆ ; Q ) . (272)
The defect vanishes for the linear loss. For a general activation in the smooth class, put d σ ( y ) = y σ ′ ( y ) − σ ( y ) d_{\sigma}(y)=y\sigma'(y)-\sigma(y) d σ ( y ) = y σ ′ ( y ) − σ ( y ) . Direct differentiation gives
R K ( g ; Q ) = 2 K ∑ j = 1 K [ ρ Q σ ( y j ) − t j ] d σ ( y j ) . (273) R_K(g;Q)=\frac{2}{K}\sum_{j=1}^{K}[\rho Q\sigma(y_j)-t_j]d_{\sigma}(y_j). \tag*{(273)} R K ( g ; Q ) = K 2 j = 1 ∑ K [ ρQ σ ( y j ) − t j ] d σ ( y j ) . (273)
The assumptions on σ \sigma σ imply ∣ σ ( y ) ∣ ≤ C ∣ y ∣ \lvert\sigma(y)\rvert\le C\lvert y\rvert ∣ σ ( y )∣ ≤ C ∣ y ∣ , ∣ d σ ( y ) ∣ ≤ C y 2 \lvert d_{\sigma}(y)\rvert\le Cy^2 ∣ d σ ( y )∣ ≤ C y 2 , and ∣ σ ′ ( y ) ∣ ≤ C ∣ y ∣ \lvert\sigma'(y)\rvert\le C\lvert y\rvert ∣ σ ′ ( y )∣ ≤ C ∣ y ∣ almost everywhere. Independence within each pair ( y j , t j ) (y_j,t_j) ( y j , t j ) consequently yields
E [ R K ( g 0 ; Q ) ] = O ( Q q 3 / 2 ) , ∥ ∇ R K ( g ; Q ) ∥ ≤ C ( 1 + Q ) ∥ g ∥ 2 a.e. (274) \mathbb{E}[R_K(g_0;Q)]=O(Qq^{3/2}),\qquad\lVert\nabla R_K(g;Q)\rVert\le C(1+Q)\lVert g\rVert^2\quad\text{a.e.} \tag*{(274)} E [ R K ( g 0 ; Q )] = O ( Q q 3/2 ) , ∥ ∇ R K ( g ; Q )∥ ≤ C ( 1 + Q ) ∥ g ∥ 2 a.e. (274)
To transfer this estimate to the proximal, note that ℓ K ( g ; Q ) ≥ − C ∥ g ∥ 2 \ell_K(g;Q)\ge-C\lVert g\rVert^2 ℓ K ( g ; Q ) ≥ − C ∥ g ∥ 2 and ∥ ∇ ℓ K ( g ; Q ) ∥ ≤ C ( 1 + Q ) ∥ g ∥ \lVert\nabla\ell_K(g;Q)\rVert\le C(1+Q)\lVert g\rVert ∥ ∇ ℓ K ( g ; Q )∥ ≤ C ( 1 + Q ) ∥ g ∥ . For sufficiently small v v v the proximal objective is coercive, and stationarity of any minimizer gives, for small Q , v Q,v Q , v ,
∥ g ⋆ ∥ ≤ C ∥ g 0 ∥ , ∥ g ⋆ − g 0 ∥ ≤ C v ∥ g 0 ∥ . (275) \lVert g_{\star}\rVert\le C\lVert g_0\rVert,\qquad\lVert g_{\star}-g_0\rVert\le Cv\lVert g_0\rVert. \tag*{(275)} ∥ g ⋆ ∥ ≤ C ∥ g 0 ∥ , ∥ g ⋆ − g 0 ∥ ≤ C v ∥ g 0 ∥ . (275)
Integrating the defect gradient along this displacement and using E ∥ g 0 ∥ 3 = O ( q 3 / 2 ) \mathbb{E}\lVert g_0\rVert^3=O(q^{3/2}) E ∥ g 0 ∥ 3 = O ( q 3/2 ) proves
∣ E [ R K ( g ⋆ ; Q ) ] ∣ ≤ C ( Q + v ) q 3 / 2 = o ( q ( Q + v ) ) . (276) \lvert\mathbb{E}[R_K(g_{\star};Q)]\rvert\le C(Q+v)q^{3/2}=o(q(Q+v)). \tag*{(276)} ∣ E [ R K ( g ⋆ ; Q )]∣ ≤ C ( Q + v ) q 3/2 = o ( q ( Q + v )) . (276)
This is an expectation bound: cancellation of the hidden-field term is essential, and a pointwise cubic remainder alone would not suffice. The same regularity assumptions give ∥ ∇ 2 ℓ K ( g ; Q ) ∥ ≤ C ( 1 + Q ) ( 1 + ∥ g ∥ ) \lVert\nabla^2\ell_K(g;Q)\rVert\le C(1+Q)(1+\lVert g\rVert) ∥ ∇ 2 ℓ K ( g ; Q )∥ ≤ C ( 1 + Q ) ( 1 + ∥ g ∥) almost everywhere. Taylor expansion between g ⋆ g_{\star} g ⋆ and g 0 g_0 g 0 , together with (D.77), therefore gives
E [ ℓ K ( g ⋆ ; Q ) ] = E [ ℓ K ( g 0 ; Q ) ] − v E ∥ F ~ K ∥ 2 + o ( v q ) . (277) \mathbb{E}[\ell_K(g_{\star};Q)]=\mathbb{E}[\ell_K(g_0;Q)]-v\mathbb{E}\lVert\widetilde{F}_K\rVert^2+o(vq). \tag*{(277)} E [ ℓ K ( g ⋆ ; Q )] = E [ ℓ K ( g 0 ; Q )] − v E ∥ F K ∥ 2 + o ( v q ) . (277)
Indeed the Taylor remainder is O ( v 2 ( q + q 3 / 2 ) ) = o ( v q ) O(v^2(q+q^{3/2}))=o(vq) O ( v 2 ( q + q 3/2 )) = o ( v q ) . Moreover, ∇ ℓ K ( g ; Q ) = ∇ ℓ K ( 2 ) ( g ) + O ( Q ∥ g ∥ + ∥ g ∥ 2 ) \nabla\ell_K(g;Q)=\nabla\ell_K^{(2)}(g)+O(Q\lVert g\rVert+\lVert g\rVert^2) ∇ ℓ K ( g ; Q ) = ∇ ℓ K ( 2 ) ( g ) + O ( Q ∥ g ∥ + ∥ g ∥ 2 ) as Q ↓ 0 Q\downarrow0 Q ↓ 0 . The displacement estimate and Gaussian moments then show that q − 1 E ∥ F ~ K ∥ 2 → T K q^{-1}\mathbb{E}\lVert\widetilde{F}_K\rVert^2\to T_K q − 1 E ∥ F K ∥ 2 → T K , as evaluated below.
Positive homogeneity of ReLU. For ReLU, (D.71) holds with E K = 0 E_K=0 E K = 0 , using the ReLU homogeneous terms. The full loss is positively homogeneous of degree two, so the Euler defect is zero. At a kink the force is defined by the proximal displacement; varying g ⋆ g_{\star} g ⋆ along its radial direction gives (D.74) with zero defect there as well. The bounds (D.77) still hold, since the loss is locally Lipschitz and every generalized gradient has norm at most C ( 1 + Q ) ∥ g ∥ C(1+Q)\lVert g\rVert C ( 1 + Q ) ∥ g ∥ .
For completeness, rescale g 0 = q z g_0=\sqrt{q}\,z g 0 = q z and g ⋆ = q z ⋆ g_{\star}=\sqrt{q}\,z_{\star} g ⋆ = q z ⋆ . At almost every Gaussian z z z , all visible fields are nonzero. For small enough v v v the proximal remains in the same activation region, where the loss is quadratic, and the first-order energy change divided by v q vq v q tends to − ∥ ∇ ℓ K ( 2 ) ( z ) ∥ 2 -\lVert\nabla\ell_K^{(2)}(z)\rVert^2 − ∥ ∇ ℓ K ( 2 ) ( z ) ∥ 2 as Q , v ↓ 0 Q,v\downarrow0 Q , v ↓ 0 . The displacement and gradient bounds dominate this quotient, and the squared force divided by q q q , by C ∥ z ∥ 2 C\lVert z\rVert^2 C ∥ z ∥ 2 . Dominated convergence proves (D.79) and, more precisely,
q − 1 / 2 F ~ K ( q z ) ⟶ − ∇ ℓ K ( 2 ) ( z ) in L 2 ( z ) . q^{-1/2}\widetilde{F}_K(\sqrt{q}\,z)\longrightarrow-\nabla\ell_K^{(2)}(z)\qquad\text{in }L^2(z). q − 1/2 F K ( q z ) ⟶ − ∇ ℓ K ( 2 ) ( z ) in L 2 ( z ) .
This convergence yields both q − 1 E ∥ F ~ K ∥ 2 → T K q^{-1}\mathbb{E}\lVert\widetilde{F}_K\rVert^2\to T_K q − 1 E ∥ F K ∥ 2 → T K and the Gaussian-score response in (D.65), including the effect of activation-boundary crossings. Also E [ ℓ K ( g 0 ; Q ) ] = Q U K q \mathbb{E}[\ell_K(g_0;Q)]=QU_Kq E [ ℓ K ( g 0 ; Q )] = Q U K q exactly.
Susceptibility expansion. For either activation class, substitute (D.72), (D.74), and (D.79) into (D.70). The smooth Euler defect contributes o ( Q + v ) o(Q+v) o ( Q + v ) after division by 2 q 2q 2 q ; it is identically zero in the ReLU case. Restoring the original notation yields
E [ D Γ ] = U K q I − 1 2 v Γ T K + o ( q I + v Γ ) . (278) \mathbb{E}[D_{\Gamma}] = U_K q_I - \frac{1}{2}v_{\Gamma}T_K + o(q_I+v_{\Gamma}). \tag*{(278)} E [ D Γ ] = U K q I − 2 1 v Γ T K + o ( q I + v Γ ) . (278)
Likewise, the displacement bound and the Gaussian moment estimate give E [ ∂ q I ℓ K ( g ⋆ ; q I ) ] = U K q Γ + o ( q Γ ) \mathbb{E}[\partial_{q_I}\ell_K(g_{\star};q_I)] = U_K q_{\Gamma} + o(q_{\Gamma}) E [ ∂ q I ℓ K ( g ⋆ ; q I )] = U K q Γ + o ( q Γ ) for both activation classes. The conjugate susceptibility therefore becomes
v ^ ( γ ) = 2 α [ U K q Γ + γ ( U K q I − 1 2 v Γ T K ) ] + o ( α ( q I + q Γ + v Γ ) ) . (279) \widehat{v}(\gamma) = 2\alpha\left[U_Kq_{\Gamma}+\gamma\left(U_Kq_I-\frac{1}{2}v_{\Gamma}T_K\right)\right]+o\left(\alpha(q_I+q_{\Gamma}+v_{\Gamma})\right). \tag*{(279)} v ( γ ) = 2 α [ U K q Γ + γ ( U K q I − 2 1 v Γ T K ) ] + o ( α ( q I + q Γ + v Γ ) ) . (279)
The regular uninformative branch has the scaling
q I = β q ˉ I + o ( β ) , q Γ = β q ˉ Γ + o ( β ) , v ( γ ) = β v ˉ ( γ ) + o ( β ) , v Γ = β v ˉ Γ + o ( β ) , (280) q_I=\beta\bar{q}_I+o(\beta),\qquad q_{\Gamma}=\beta\bar{q}_{\Gamma}+o(\beta),\qquad v(\gamma)=\beta\bar{v}(\gamma)+o(\beta),\qquad v_{\Gamma}=\beta\bar{v}_{\Gamma}+o(\beta), \tag*{(280)} q I = β q ˉ I + o ( β ) , q Γ = β q ˉ Γ + o ( β ) , v ( γ ) = β v ˉ ( γ ) + o ( β ) , v Γ = β v ˉ Γ + o ( β ) , (280)
with q ˉ Γ > 0 \bar{q}_{\Gamma}>0 q ˉ Γ > 0 .
At M = 0 M=0 M = 0 , the ridgeless input equations together with (D.69) give
q ( γ ) = α β 3 γ q ˉ Γ T K v ˉ ( γ ) 2 + o ( β ) . (281) q(\gamma)=\alpha\beta^3\gamma\bar{q}_{\Gamma}T_K\bar{v}(\gamma)^2+o(\beta). \tag*{(281)} q ( γ ) = α β 3 γ q ˉ Γ T K v ˉ ( γ ) 2 + o ( β ) . (281)
Consequently,
1 = α β 2 T K E γ [ γ 2 v ˉ ( γ ) 2 ] , (282) 1=\alpha\beta^2T_K\mathbb{E}_{\gamma}\left[\gamma^2\bar{v}(\gamma)^2\right], \tag*{(282)} 1 = α β 2 T K E γ [ γ 2 v ˉ ( γ ) 2 ] , (282)
q ˉ I = α β 2 q ˉ Γ T K E γ [ γ v ˉ ( γ ) 2 ] . (283) \bar{q}_I=\alpha\beta^2\bar{q}_{\Gamma}T_K\mathbb{E}_{\gamma}\left[\gamma\bar{v}(\gamma)^2\right]. \tag*{(283)} q ˉ I = α β 2 q ˉ Γ T K E γ [ γ v ˉ ( γ ) 2 ] . (283)
On the other hand, v ( γ ) = 1 / v ^ ( γ ) v(\gamma)=1/\widehat{v}(\gamma) v ( γ ) = 1/ v ( γ ) in the ridgeless problem. Using (D.81),
1 v ˉ ( γ ) = 2 α β 2 [ U K q ˉ Γ + γ ( U K q ˉ I − 1 2 v ˉ Γ T K ) ] . (284) \frac{1}{\bar{v}(\gamma)}=2\alpha\beta^2\left[U_K\bar{q}_{\Gamma}+\gamma\left(U_K\bar{q}_I-\frac{1}{2}\bar{v}_{\Gamma}T_K\right)\right]. \tag*{(284)} v ˉ ( γ ) 1 = 2 α β 2 [ U K q ˉ Γ + γ ( U K q ˉ I − 2 1 v ˉ Γ T K ) ] . (284)
Multiplying by γ v ˉ ( γ ) 2 \gamma\bar{v}(\gamma)^2 γ v ˉ ( γ ) 2 , averaging over γ \gamma γ , and using (D.84) and (D.85) gives
v ˉ Γ = 4 U K T K q ˉ I − v ˉ Γ . (285) \bar{v}_{\Gamma}=\frac{4U_K}{T_K}\bar{q}_I-\bar{v}_{\Gamma}. \tag*{(285)} v ˉ Γ = T K 4 U K q ˉ I − v ˉ Γ . (285)
Hence
2 U K q ˉ I = T K v ˉ Γ . (286) 2U_K\bar{q}_I=T_K\bar{v}_{\Gamma}. \tag*{(286)} 2 U K q ˉ I = T K v ˉ Γ . (286)
The coefficient multiplying γ \gamma γ in (D.86) therefore vanishes. Thus the leading input susceptibility is forced to be independent of the variance type,
v ˉ ( γ ) = v ˉ . (287) \bar{v}(\gamma)=\bar{v}. \tag*{(287)} v ˉ ( γ ) = v ˉ . (287)
Using E γ [ γ ] = 1 \mathbb{E}_{\gamma}[\gamma]=1 E γ [ γ ] = 1 and κ 2 = E γ [ γ 2 ] \kappa_2=\mathbb{E}_{\gamma}[\gamma^2] κ 2 = E γ [ γ 2 ] , the uninformative saddle then satisfies
1 = α β 2 κ 2 T K v ˉ 2 . (288) 1=\alpha\beta^2\kappa_2T_K\bar{v}^2. \tag*{(288)} 1 = α β 2 κ 2 T K v ˉ 2 . (288)
Moreover,
q ˉ I q ˉ Γ = α β 2 T K v ˉ 2 = 1 κ 2 , v ˉ Γ = v ˉ . (289) \frac{\bar{q}_I}{\bar{q}_{\Gamma}}=\alpha\beta^2T_K\bar{v}^2=\frac{1}{\kappa_2},\qquad\bar{v}_{\Gamma}=\bar{v}. \tag*{(289)} q ˉ Γ q ˉ I = α β 2 T K v ˉ 2 = κ 2 1 , v ˉ Γ = v ˉ . (289)
Thus the full variance distribution enters the leading weak-signal threshold only through its second moment κ 2 \kappa_2 κ 2 . Finally, the magnetization equation gives
M = α β 2 χ K v ˉ M + o ( M ) . (290) M=\alpha\beta^2\chi_K\bar{v}M+o(M). \tag*{(290)} M = α β 2 χ K v ˉ M + o ( M ) . (290)
A continuous instability occurs when
1 = α β 2 χ K v ˉ . (291) 1=\alpha\beta^2\chi_K\bar{v}. \tag*{(291)} 1 = α β 2 χ K v ˉ . (291)
Eliminating v ˉ \bar{v} v ˉ between (D.90) and (D.93) gives
α c ( K ) = κ 2 β 2 T K χ K 2 [ 1 + o β ( 1 ) ] . (292) \alpha_c^{(K)}=\frac{\kappa_2}{\beta^2}\frac{T_K}{\chi_K^2}\left[1+o_{\beta}(1)\right]. \tag*{(292)} α c ( K ) = β 2 κ 2 χ K 2 T K [ 1 + o β ( 1 ) ] . (292)
The activation and the number of masks therefore enter only through the output ratio T K / χ K 2 T_K/\chi_K^2 T K / χ K 2 .
Centered smooth activations with nonzero local slope
Under (D.54), the leading output loss is
ℓ K , s m ( 2 ) = − 2 s σ K ∑ r = 1 K y r t r . (293) \ell_{K,\mathrm{sm}}^{(2)}=-\frac{2s_{\sigma}}{K}\sum_{r=1}^{K}y_rt_r. \tag*{(293)} ℓ K , sm ( 2 ) = − K 2 s σ r = 1 ∑ K y r t r . (293)
The positive reconstruction term does not contribute to the leading force, but its q I q_I q I derivative is required in (D.81). Since
Var ( y r ) = ( 1 − ρ ) q Γ , (294) \operatorname{Var}(y_r)=(1-\rho)q_{\Gamma}, \tag*{(294)} Var ( y r ) = ( 1 − ρ ) q Γ , (294)
we obtain
U K , s m = ρ ( 1 − ρ ) s σ 2 . (295) U_{K,\mathrm{sm}}=\rho(1-\rho)s_{\sigma}^{2}. \tag*{(295)} U K , sm = ρ ( 1 − ρ ) s σ 2 . (295)
Expanding the product of the visible and masked fields,
y r t r = ρ ( 1 − ρ ) h 2 + ( 2 ρ − 1 ) ρ ( 1 − ρ ) h x r − ρ ( 1 − ρ ) x r 2 . (296) y_rt_r=\rho(1-\rho)h^2+(2\rho-1)\sqrt{\rho(1-\rho)}\,hx_r-\rho(1-\rho)x_r^2. \tag*{(296)} y r t r = ρ ( 1 − ρ ) h 2 + ( 2 ρ − 1 ) ρ ( 1 − ρ ) h x r − ρ ( 1 − ρ ) x r 2 . (296)
The Hessian of the leading loss in the coordinates ( h , x 1 , … , x K ) (h,x_1,\ldots,x_K) ( h , x 1 , … , x K ) is therefore
H K , s m = ( − 4 s σ ρ ( 1 − ρ ) 2 s σ ( 1 − 2 ρ ) ρ ( 1 − ρ ) K 1 K T 2 s σ ( 1 − 2 ρ ) ρ ( 1 − ρ ) K 1 K 4 s σ ρ ( 1 − ρ ) K I K ) . (297) H_{K,\mathrm{sm}}=
\begin{pmatrix}
-4s_{\sigma}\rho(1-\rho) &
\frac{2s_{\sigma}(1-2\rho)\sqrt{\rho(1-\rho)}}{K}\mathbf{1}_K^{\mathsf{T}}\\
\frac{2s_{\sigma}(1-2\rho)\sqrt{\rho(1-\rho)}}{K}\mathbf{1}_K &
\frac{4s_{\sigma}\rho(1-\rho)}{K}I_K
\end{pmatrix}. \tag*{(297)} H K , sm = − 4 s σ ρ ( 1 − ρ ) K 2 s σ ( 1 − 2 ρ ) ρ ( 1 − ρ ) 1 K K 2 s σ ( 1 − 2 ρ ) ρ ( 1 − ρ ) 1 K T K 4 s σ ρ ( 1 − ρ ) I K . (297)
The preceding displacement and moment bounds give, in L 2 L^2 L 2 ,
F ~ K , s m = − H K , s m g 0 + o ( q Γ ) . (298) \widetilde{F}_{K,\mathrm{sm}}=-H_{K,\mathrm{sm}}g_0+o(\sqrt{q_{\Gamma}}). \tag*{(298)} F K , sm = − H K , sm g 0 + o ( q Γ ) . (298)
The informative susceptibility is therefore
χ K , s m = 4 s σ ρ ( 1 − ρ ) . (299) \chi_{K,\mathrm{sm}}=4s_{\sigma}\rho(1-\rho). \tag*{(299)} χ K , sm = 4 s σ ρ ( 1 − ρ ) . (299)
Moreover,
T K , s m = Tr ( H K , s m 2 ) = 16 s σ 2 ρ 2 ( 1 − ρ ) 2 + 8 s σ 2 ρ ( 1 − ρ ) K [ ( 1 − 2 ρ ) 2 + 2 ρ ( 1 − ρ ) ] = 16 s σ 2 ρ 2 ( 1 − ρ ) 2 + 8 s σ 2 ρ ( 1 − ρ ) [ 1 − 2 ρ ( 1 − ρ ) ] K . (300) \begin{aligned}
T_{K,\mathrm{sm}}&=\operatorname{Tr}\left(H_{K,\mathrm{sm}}^2\right)\\
&=16s_{\sigma}^{2}\rho^2(1-\rho)^2+\frac{8s_{\sigma}^{2}\rho(1-\rho)}{K}\left[(1-2\rho)^2+2\rho(1-\rho)\right]\\
&=16s_{\sigma}^{2}\rho^2(1-\rho)^2+\frac{8s_{\sigma}^{2}\rho(1-\rho)[1-2\rho(1-\rho)]}{K}. \tag*{(300)}
\end{aligned} T K , sm = Tr ( H K , sm 2 ) = 16 s σ 2 ρ 2 ( 1 − ρ ) 2 + K 8 s σ 2 ρ ( 1 − ρ ) [ ( 1 − 2 ρ ) 2 + 2 ρ ( 1 − ρ ) ] = 16 s σ 2 ρ 2 ( 1 − ρ ) 2 + K 8 s σ 2 ρ ( 1 − ρ ) [ 1 − 2 ρ ( 1 − ρ )] . (300)
Hence
T K , s m χ K , s m 2 = 1 + 1 − 2 ρ ( 1 − ρ ) 2 K ρ ( 1 − ρ ) . (301) \frac{T_{K,\mathrm{sm}}}{\chi_{K,\mathrm{sm}}^2}=1+\frac{1-2\rho(1-\rho)}{2K\rho(1-\rho)}. \tag*{(301)} χ K , sm 2 T K , sm = 1 + 2 K ρ ( 1 − ρ ) 1 − 2 ρ ( 1 − ρ ) . (301)
The slope s σ s_{\sigma} s σ cancels, and substitution into (D.94) gives (D.55).
For consecutive values of K K K ,
α c , s m ( K ) − α c , s m ( K + 1 ) = κ 2 β 2 1 − 2 ρ ( 1 − ρ ) 2 ρ ( 1 − ρ ) K ( K + 1 ) [ 1 + o β ( 1 ) ] > 0. (302) \alpha_{c,\mathrm{sm}}^{(K)}-\alpha_{c,\mathrm{sm}}^{(K+1)}
=\frac{\kappa_2}{\beta^2}\frac{1-2\rho(1-\rho)}{2\rho(1-\rho)K(K+1)}[1+o_{\beta}(1)]>0. \tag*{(302)} α c , sm ( K ) − α c , sm ( K + 1 ) = β 2 κ 2 2 ρ ( 1 − ρ ) K ( K + 1 ) 1 − 2 ρ ( 1 − ρ ) [ 1 + o β ( 1 )] > 0. (302)
Indeed, ρ ( 1 − ρ ) ≤ 1 / 4 \rho(1-\rho)\leq1/4 ρ ( 1 − ρ ) ≤ 1/4 , so 1 − 2 ρ ( 1 − ρ ) ≥ 1 / 2 1-2\rho(1-\rho)\geq1/2 1 − 2 ρ ( 1 − ρ ) ≥ 1/2 .
ReLU activation
For ReLU, positive homogeneity gives the leading loss
ℓ K , R ( 2 ) = − 2 K ∑ r = 1 K ( y r ) + t r . (303) \ell_{K,\mathrm{R}}^{(2)}=-\frac{2}{K}\sum_{r=1}^{K}(y_r)_+t_r. \tag*{(303)} ℓ K , R ( 2 ) = − K 2 r = 1 ∑ K ( y r ) + t r . (303)
At M = 0 M=0 M = 0 , y r ∼ N ( 0 , ( 1 − ρ ) q Γ ) y_r \sim\mathcal{N}(0,(1-\rho)q_{\Gamma}) y r ∼ N ( 0 , ( 1 − ρ ) q Γ ) , and hence
U K , R = ρ E [ ( y r ) 2 ] q Γ = ρ ( 1 − ρ ) 2 . (304) U_{K,\mathrm{R}}=\rho\frac{\mathbb{E}[(y_r)^2]}{q_{\Gamma}}=\frac{\rho(1-\rho)}{2}. \tag*{(304)} U K , R = ρ q Γ E [( y r ) 2 ] = 2 ρ ( 1 − ρ ) . (304)
Let e 0 e_0 e 0 denote the h h h direction and e r e_r e r the x r x_r x r direction. The force contribution of view r r r can be written as
ψ r : = 1 { y r > 0 } [ ( ( 1 − ρ ) t r + ρ y r ) e 0 + ρ ( 1 − ρ ) ( t r − y r ) e r ] . (305) \psi_r:=\mathbf{1}_{\{y_r>0\}}\left[((1-\rho)t_r+\rho y_r)e_0+\sqrt{\rho(1-\rho)}(t_r-y_r)e_r\right]. \tag*{(305)} ψ r := 1 { y r > 0 } [ (( 1 − ρ ) t r + ρ y r ) e 0 + ρ ( 1 − ρ ) ( t r − y r ) e r ] . (305)
The leading force is then
F ~ K , R = 2 K ∑ r = 1 K ψ r . (306) \widetilde{F}_{K,\mathrm{R}}=\frac{2}{K}\sum_{r=1}^{K}\psi_r. \tag*{(306)} F K , R = K 2 r = 1 ∑ K ψ r . (306)
Informative susceptibility. The common component of ψ r \psi_r ψ r is
( ψ r ) h = 1 { y r > 0 } [ ( 1 − ρ ) t r + ρ y r ] . (307) (\psi_r)_h=\mathbf{1}_{\{y_r>0\}}\left[(1-\rho)t_r+\rho y_r\right]. \tag*{(307)} ( ψ r ) h = 1 { y r > 0 } [ ( 1 − ρ ) t r + ρ y r ] . (307)
Evaluate (D.65) with the leading force. At M = 0 M=0 M = 0 , h = y r + t r h=y_r+t_r h = y r + t r , while y r y_r y r and t r t_r t r are independent centered Gaussians with variances ( 1 − ρ ) q Γ (1-\rho)q_{\Gamma} ( 1 − ρ ) q Γ and ρ q Γ \rho q_{\Gamma} ρ q Γ . Consequently,
E [ h ( ψ r ) h ] = ( 1 − ρ ) E [ t r 2 ] P ( y r > 0 ) + ρ E [ y r 2 1 { y r > 0 } ] = ρ ( 1 − ρ ) q Γ . \mathbb{E}[h(\psi_r)_h]=(1-\rho)\mathbb{E}[t_r^2]\mathbb{P}(y_r>0)+\rho\mathbb{E}[y_r^2\mathbf{1}_{\{y_r>0\}}]=\rho(1-\rho)q_{\Gamma}. E [ h ( ψ r ) h ] = ( 1 − ρ ) E [ t r 2 ] P ( y r > 0 ) + ρ E [ y r 2 1 { y r > 0 } ] = ρ ( 1 − ρ ) q Γ .
Since h = q Γ z h h=\sqrt{q_{\Gamma}}z_h h = q Γ z h , summing the K K K view contributions in (D.108) and dividing by q Γ q_{\Gamma} q Γ gives
χ K , R = 2 ρ ( 1 − ρ ) . (308) \chi_{K,\mathrm{R}}=2\rho(1-\rho). \tag*{(308)} χ K , R = 2 ρ ( 1 − ρ ) . (308)
Force variance: diagonal term. A direct expansion gives
∥ ψ r ∥ 2 2 = 1 { y r > 0 } [ ( 1 − ρ ) t r 2 + ρ y r 2 ] . (309) \lVert\psi_r\rVert_2^2=\mathbf{1}_{\{y_r>0\}}\left[(1-\rho)t_r^2+\rho y_r^2\right]. \tag*{(309)} ∥ ψ r ∥ 2 2 = 1 { y r > 0 } [ ( 1 − ρ ) t r 2 + ρ y r 2 ] . (309)
At q Γ = 1 q_{\Gamma}=1 q Γ = 1 ,
y r ∼ N ( 0 , 1 − ρ ) , t r ∼ N ( 0 , ρ ) , (310) y_r\sim\mathcal{N}(0,1-\rho),\qquad t_r\sim\mathcal{N}(0,\rho), \tag*{(310)} y r ∼ N ( 0 , 1 − ρ ) , t r ∼ N ( 0 , ρ ) , (310)
and the two variables are independent. Therefore
E ∥ ψ r ∥ 2 2 = ρ ( 1 − ρ ) . (311) \mathbb{E}\lVert\psi_r\rVert_2^2=\rho(1-\rho). \tag*{(311)} E ∥ ψ r ∥ 2 2 = ρ ( 1 − ρ ) . (311)
Force variance: off-diagonal term. For r ≠ s r\ne s r = s , the mask-specific directions e r e_r e r and e s e_s e s are orthogonal, so only the common components contribute to ψ r T ψ s \psi_r^{\mathsf T}\psi_s ψ r T ψ s . We have
( 1 − ρ ) t r + ρ y r = 2 ρ ( 1 − ρ ) h + ( 2 ρ − 1 ) ρ ( 1 − ρ ) x r . (312) (1-\rho)t_r+\rho y_r=2\rho(1-\rho)h+(2\rho-1)\sqrt{\rho(1-\rho)}x_r. \tag*{(312)} ( 1 − ρ ) t r + ρ y r = 2 ρ ( 1 − ρ ) h + ( 2 ρ − 1 ) ρ ( 1 − ρ ) x r . (312)
Conditioning on h = H h=H h = H , with H ∼ N ( 0 , 1 ) H\sim\mathcal{N}(0,1) H ∼ N ( 0 , 1 ) , the variables x r x_r x r and x s x_s x s are independent. Let
φ ( u ) : = e − u 2 / 2 2 π , Φ G ( u ) : = ∫ − ∞ u φ ( v ) d v . (313) \varphi(u):=\frac{e^{-u^2/2}}{\sqrt{2\pi}},\qquad\Phi_{\mathrm{G}}(u):=\int_{-\infty}^{u}\varphi(v)\,\mathrm{d}v. \tag*{(313)} φ ( u ) := 2 π e − u 2 /2 , Φ G ( u ) := ∫ − ∞ u φ ( v ) d v . (313)
The conditional expectation of the common force component is
E x [ 1 { ( 1 − ρ ) H + ρ ( 1 − ρ ) x > 0 } ( 2 ρ ( 1 − ρ ) H + ( 2 ρ − 1 ) ρ ( 1 − ρ ) x ) ] = 2 ρ ( 1 − ρ ) H Φ G ( 1 − ρ ρ H ) + ( 2 ρ − 1 ) ρ ( 1 − ρ ) φ ( 1 − ρ ρ H ) . (314) \begin{aligned}
\mathbb{E}_x\left[\mathbf{1}_{\{(1-\rho)H+\sqrt{\rho(1-\rho)}x>0\}}\left(2\rho(1-\rho)H+(2\rho-1)\sqrt{\rho(1-\rho)}x\right)\right]
&=2\rho(1-\rho)H\Phi_{\mathrm{G}}\left(\sqrt{\frac{1-\rho}{\rho}}H\right)\\
&\quad+(2\rho-1)\sqrt{\rho(1-\rho)}\varphi\left(\sqrt{\frac{1-\rho}{\rho}}H\right). \tag*{(314)}
\end{aligned} E x [ 1 {( 1 − ρ ) H + ρ ( 1 − ρ ) x > 0 } ( 2 ρ ( 1 − ρ ) H + ( 2 ρ − 1 ) ρ ( 1 − ρ ) x ) ] = 2 ρ ( 1 − ρ ) H Φ G ( ρ 1 − ρ H ) + ( 2 ρ − 1 ) ρ ( 1 − ρ ) φ ( ρ 1 − ρ H ) . (314)
Consequently,
D R ( ρ ) = E [ ψ r T ψ s ] , r ≠ s , (315) D_{\mathrm{R}}(\rho)=\mathbb{E}[\psi_r^{\mathsf T}\psi_s],\qquad r\ne s, \tag*{(315)} D R ( ρ ) = E [ ψ r T ψ s ] , r = s , (315)
is the expectation over H H H of the square of (D.116).
The required Gaussian identities are
E [ φ ( 1 − ρ ρ H ) 2 ] = 1 2 π ρ 2 − ρ . (316) \mathbb{E}\left[\varphi\left(\sqrt{\frac{1-\rho}{\rho}}H\right)^2\right]=\frac{1}{2\pi}\sqrt{\frac{\rho}{2-\rho}}. \tag*{(316)} E [ φ ( ρ 1 − ρ H ) 2 ] = 2 π 1 2 − ρ ρ . (316)
E [ H Φ G ( 1 − ρ ρ H ) φ ( 1 − ρ ρ H ) ] = ρ ( 1 − ρ ) 2 π ρ 2 − ρ . (317) \mathbb{E}\left[H\Phi_G\left(\sqrt{\frac{1-\rho}{\rho}}H\right)\varphi\left(\sqrt{\frac{1-\rho}{\rho}}H\right)\right]=\frac{\sqrt{\rho(1-\rho)}}{2\pi}\sqrt{\frac{\rho}{2-\rho}}. \tag*{(317)} E [ H Φ G ( ρ 1 − ρ H ) φ ( ρ 1 − ρ H ) ] = 2 π ρ ( 1 − ρ ) 2 − ρ ρ . (317)
E [ H 2 Φ G ( 1 − ρ ρ H ) 2 ] = 1 4 + arcsin ( 1 − ρ ) 2 π + 1 − ρ π ρ 2 − ρ . (318) \mathbb{E}\left[H^2\Phi_G\left(\sqrt{\frac{1-\rho}{\rho}}H\right)^2\right]=\frac{1}{4}+\frac{\arcsin(1-\rho)}{2\pi}+\frac{1-\rho}{\pi}\sqrt{\frac{\rho}{2-\rho}}. \tag*{(318)} E [ H 2 Φ G ( ρ 1 − ρ H ) 2 ] = 4 1 + 2 π arcsin ( 1 − ρ ) + π 1 − ρ 2 − ρ ρ . (318)
Substituting these identities into (D.117) gives the closed expression (D.57).
Combining the diagonal and off-diagonal contributions,
T K , R = 4 [ D R ( ρ ) + ρ ( 1 − ρ ) − D R ( ρ ) K ] . (319) T_{K,R}=4\left[D_R(\rho)+\frac{\rho(1-\rho)-D_R(\rho)}{K}\right]. \tag*{(319)} T K , R = 4 [ D R ( ρ ) + K ρ ( 1 − ρ ) − D R ( ρ ) ] . (319)
Together with (D.110),
T K , R χ K , R 2 = D R ( ρ ) ρ 2 ( 1 − ρ ) 2 + 1 K [ 1 ρ ( 1 − ρ ) − D R ( ρ ) ρ 2 ( 1 − ρ ) 2 ] . (320) \frac{T_{K,R}}{\chi_{K,R}^2}=\frac{D_R(\rho)}{\rho^2(1-\rho)^2}+\frac{1}{K}\left[\frac{1}{\rho(1-\rho)}-\frac{D_R(\rho)}{\rho^2(1-\rho)^2}\right]. \tag*{(320)} χ K , R 2 T K , R = ρ 2 ( 1 − ρ ) 2 D R ( ρ ) + K 1 [ ρ ( 1 − ρ ) 1 − ρ 2 ( 1 − ρ ) 2 D R ( ρ ) ] . (320)
Substitution into (D.94) gives (D.58).
To establish strict monotonicity, Cauchy–Schwarz gives
D R ( ρ ) = E [ ψ r T ψ s ] ≤ E ∥ ψ r ∥ 2 2 E ∥ ψ s ∥ 2 2 = ρ ( 1 − ρ ) . (321) D_R(\rho)=\mathbb{E}[\psi_r^{\mathsf T}\psi_s]\leq\sqrt{\mathbb{E}\|\psi_r\|_2^2\mathbb{E}\|\psi_s\|_2^2}=\rho(1-\rho). \tag*{(321)} D R ( ρ ) = E [ ψ r T ψ s ] ≤ E ∥ ψ r ∥ 2 2 E ∥ ψ s ∥ 2 2 = ρ ( 1 − ρ ) . (321)
The inequality is strict for 0 < ρ < 1 0<\rho<1 0 < ρ < 1 , because independently masked views do not generate identical force vectors almost surely. Hence
α c , R ( K ) − α c , R ( K + 1 ) = κ 2 β 2 ρ ( 1 − ρ ) − D R ( ρ ) ρ 2 ( 1 − ρ ) 2 K ( K + 1 ) [ 1 + o β ( 1 ) ] > 0. (322) \alpha_{c,R}^{(K)}-\alpha_{c,R}^{(K+1)}=\frac{\kappa_2}{\beta^2}\frac{\rho(1-\rho)-D_R(\rho)}{\rho^2(1-\rho)^2K(K+1)}[1+o_\beta(1)]>0. \tag*{(322)} α c , R ( K ) − α c , R ( K + 1 ) = β 2 κ 2 ρ 2 ( 1 − ρ ) 2 K ( K + 1 ) ρ ( 1 − ρ ) − D R ( ρ ) [ 1 + o β ( 1 )] > 0. (322)
Dynamic linear masking at fixed signal strength
For linear activation, the fixed-signal equations give both the recovery threshold and the feature alignment above it. We first identify when dynamic masking favors cleaner coordinates, then recover the homogeneous PCA learning curve. The comparison with static masking is developed in App. § 12 .§ 4 . Throughout, σ ( h ) = h \sigma(h)=h σ ( h ) = h and λ R = 0 \lambda_R=0 λ R = 0 .
Quadratic output and the critical equations
Write Q = q I Q=q_I Q = q I , C = q Γ C=q_\Gamma C = q Γ , and Δ = v Γ \Delta=v_\Gamma Δ = v Γ . The exact dynamic effective loss for the linear activation is
ℓ d y n l i n ( h ; Q , C ) = a h 2 + b C , a = ρ ( 1 − ρ ) ( ( 1 − ρ ) Q − 2 ) , b = ρ ( 1 − ρ ) ( ρ Q + 2 ) . (323) \ell_{\mathrm{dyn}}^{\mathrm{lin}}(h;Q,C)=ah^2+bC,\qquad a=\rho(1-\rho)((1-\rho)Q-2),\qquad b=\rho(1-\rho)(\rho Q+2). \tag*{(323)} ℓ dyn lin ( h ; Q , C ) = a h 2 + b C , a = ρ ( 1 − ρ ) (( 1 − ρ ) Q − 2 ) , b = ρ ( 1 − ρ ) ( ρQ + 2 ) . (323)
For D = 1 + 2 a Δ > 0 D=1+2a\Delta>0 D = 1 + 2 a Δ > 0 , the output proximal and force are
h ⋆ = h 0 D , F = X h 0 , X = − 2 a D , h 0 = β M λ + C z . (324) h_\star=\frac{h_0}{D},\qquad F=\mathcal{X}h_0,\qquad\mathcal{X}=-\frac{2a}{D},\qquad h_0=\sqrt{\beta}M\lambda+\sqrt{C}z. \tag*{(324)} h ⋆ = D h 0 , F = X h 0 , X = − D 2 a , h 0 = β M λ + C z . (324)
Set T = β M 2 + C T=\beta M^2+C T = β M 2 + C . The explicit derivatives of the loss give
U = ρ ( 1 − ρ ) ( ( 1 − ρ ) T D 2 + ρ C ) , H = b − X 2 , U=\rho(1-\rho)\left((1-\rho)\frac{T}{D^2}+\rho C\right),\qquad H=b-\frac{\mathcal{X}}{2}, U = ρ ( 1 − ρ ) ( ( 1 − ρ ) D 2 T + ρC ) , H = b − 2 X ,
m ^ = α β X M , q ^ ( γ ) = α γ X 2 T , v ^ ( γ ) = 2 α ( U + γ H ) . (325) \widehat{m}=\alpha\beta\mathcal{X}M,\qquad\widehat{q}(\gamma)=\alpha\gamma\mathcal{X}^2T,\qquad\widehat{v}(\gamma)=2\alpha(U+\gamma H). \tag*{(325)} m = α β X M , q ( γ ) = α γ X 2 T , v ( γ ) = 2 α ( U + γ H ) . (325)
In particular, H H H includes the explicit derivative ∂ C ℓ = b \partial_C\ell=b ∂ C ℓ = b ; discarding it would impose the negative variance coefficient characteristic of the full-reconstruction susceptibility. On a nontrivial regular saddle, U > 0 U>0 U > 0 and
v ( γ ) = 1 2 α U ( 1 + τ γ ) , τ = H U , 1 + τ γ > 0 P γ -a.s. (326) v(\gamma)=\frac{1}{2\alpha U(1+\tau\gamma)},\qquad\tau=\frac{H}{U},\qquad1+\tau\gamma>0\quad P_\gamma\text{-a.s.} \tag*{(326)} v ( γ ) = 2 α U ( 1 + τ γ ) 1 , τ = U H , 1 + τ γ > 0 P γ -a.s. (326)
Define, whenever the indicated moments are finite,
I j , ℓ ( τ ) : = E γ [ γ j ( 1 + τ γ ) ℓ ] . (327) I_{j,\ell}(\tau) := \mathbb{E}_{\gamma}\left[\frac{\gamma^j}{(1+\tau\gamma)^\ell}\right]. \tag*{(327)} I j , ℓ ( τ ) := E γ [ ( 1 + τ γ ) ℓ γ j ] . (327)
At a regular continuous critical point with M = 0 M=0 M = 0 and C > 0 C>0 C > 0 , the variance closure and the magnetization instability condition are
1 = α X 2 E γ [ γ 2 v ( γ ) 2 ] , 1 = α β X E γ [ v ( γ ) ] . (328) 1=\alpha\mathcal{X}^2\mathbb{E}_{\gamma}\left[\gamma^2v(\gamma)^2\right], \qquad1=\alpha\beta\mathcal{X}\mathbb{E}_{\gamma}[v(\gamma)]. \tag*{(328)} 1 = α X 2 E γ [ γ 2 v ( γ ) 2 ] , 1 = α β X E γ [ v ( γ )] . (328)
Consequently X > 0 \mathcal{X}>0 X > 0 , 0 < D < 1 0<D<1 0 < D < 1 , and
α c , R S d y n = I 2 , 2 ( τ c ) β 2 I 0 , 1 ( τ c ) 2 = R γ ( τ c ) β 2 , \alpha_{c,\mathrm{RS}}^{\mathrm{dyn}}=\frac{I_{2,2}(\tau_c)}{\beta^2I_{0,1}(\tau_c)^2}=\frac{\mathcal{R}_{\gamma}(\tau_c)}{\beta^2}, α c , RS dyn = β 2 I 0 , 1 ( τ c ) 2 I 2 , 2 ( τ c ) = β 2 R γ ( τ c ) ,
Q C = I 1 , 2 I 2 , 2 , D = ( 1 + I 1 , 1 α I 2 , 2 ) − 1 . (329) \frac{Q}{C}=\frac{I_{1,2}}{I_{2,2}}, \qquad D=\left(1+\frac{I_{1,1}}{\sqrt{\alpha}I_{2,2}}\right)^{-1}. \tag*{(329)} C Q = I 2 , 2 I 1 , 2 , D = ( 1 + α I 2 , 2 I 1 , 1 ) − 1 . (329)
This is the fixed-signal factorization with output-efficiency factor one; no weak-signal expansion is involved.
Upper bound and the masking condition
A positive response parameter favors cleaner coordinates and lowers the threshold below the second-moment scale κ 2 / β 2 \kappa_2/\beta^2 κ 2 / β 2 . We now relate this improvement to the masking rate. The monotonicity argument in App. § 12 .§ 1 gives
d d τ log R γ ( τ ) = − 2 I 3 , 3 I 2 , 2 + 2 I 1 , 2 I 0 , 1 ≤ 0 , R γ ( 0 ) = κ 2 . (330) \frac{\mathrm{d}}{\mathrm{d}\tau}\log\mathcal{R}_{\gamma}(\tau)=-2\frac{I_{3,3}}{I_{2,2}}+2\frac{I_{1,2}}{I_{0,1}}\le0,\qquad\mathcal{R}_{\gamma}(0)=\kappa_2. \tag*{(330)} d τ d log R γ ( τ ) = − 2 I 2 , 2 I 3 , 3 + 2 I 0 , 1 I 1 , 2 ≤ 0 , R γ ( 0 ) = κ 2 . (330)
For finite κ 2 \kappa_2 κ 2 , continuity at zero extends this monotonicity bound even when κ 3 = ∞ \kappa_3=\infty κ 3 = ∞ . When the inverse moments are finite, the same calculation gives
1 β 2 E γ [ γ − 2 ] ≤ 1 β 2 E γ [ γ − 1 ] 2 ≤ α c , R S d y n ≤ κ 2 β 2 , τ c ≥ 0. (331) \frac{1}{\beta^2\mathbb{E}_{\gamma}[\gamma^{-2}]}\le\frac{1}{\beta^2\mathbb{E}_{\gamma}[\gamma^{-1}]^2}\le\alpha_{c,\mathrm{RS}}^{\mathrm{dyn}}\le\frac{\kappa_2}{\beta^2},\qquad\tau_c\ge0. \tag*{(331)} β 2 E γ [ γ − 2 ] 1 ≤ β 2 E γ [ γ − 1 ] 2 1 ≤ α c , RS dyn ≤ β 2 κ 2 , τ c ≥ 0. (331)
The last inequality needs only the finite second moment. We now determine the sign of τ c \tau_c τ c . At M = 0 M=0 M = 0 , write A = 1 − ρ + ρ D 2 A=1-\rho+\rho D^2 A = 1 − ρ + ρ D 2 . Using H = ρ ( 1 − ρ ) Q − X ( 1 − D ) / 2 H=\rho(1-\rho)Q-\mathcal{X}(1-D)/2 H = ρ ( 1 − ρ ) Q − X ( 1 − D ) /2 , U = ρ ( 1 − ρ ) C A / D 2 U=\rho(1-\rho)CA/D^2 U = ρ ( 1 − ρ ) C A / D 2 , and (D.130), one obtains
τ I 2 , 2 + D I 1 , 1 = D 2 I 1 , 2 A , I 1 , 2 I 1 , 1 = ( 1 + D ) A A + D 2 . (332) \tau I_{2,2}+DI_{1,1}=\frac{D^2I_{1,2}}{A},\qquad\frac{I_{1,2}}{I_{1,1}}=\frac{(1+D)A}{A+D^2}. \tag*{(332)} τ I 2 , 2 + D I 1 , 1 = A D 2 I 1 , 2 , I 1 , 1 I 1 , 2 = A + D 2 ( 1 + D ) A . (332)
Here I 1 , 1 − I 1 , 2 = τ I 2 , 2 I_{1,1}-I_{1,2}=\tau I_{2,2} I 1 , 1 − I 1 , 2 = τ I 2 , 2 . Since 0 < D < 1 0<D<1 0 < D < 1 ,
τ ≥ 0 ⟺ A ≤ D ⟺ ρ ≥ 1 1 + D . (333) \tau\ge0\quad\Longleftrightarrow\quad A\le D\quad\Longleftrightarrow\quad\rho\ge\frac{1}{1+D}. \tag*{(333)} τ ≥ 0 ⟺ A ≤ D ⟺ ρ ≥ 1 + D 1 . (333)
At fixed α \alpha α , D ( τ ) D(\tau) D ( τ ) in (D.131) is nonincreasing, because
d d τ log I 1 , 1 I 2 , 2 = I 1 , 1 I 3 , 3 − I 2 , 2 2 I 1 , 1 I 2 , 2 ≥ 0. (334) \frac{\mathrm{d}}{\mathrm{d}\tau}\log\frac{I_{1,1}}{\sqrt{I_{2,2}}}=\frac{I_{1,1}I_{3,3}-I_{2,2}^2}{I_{1,1}I_{2,2}}\ge0. \tag*{(334)} d τ d log I 2 , 2 I 1 , 1 = I 1 , 1 I 2 , 2 I 1 , 1 I 3 , 3 − I 2 , 2 2 ≥ 0. (334)
The numerator is nonnegative by Cauchy–Schwarz. At zero, D ( 0 ) = α κ 2 / ( 1 + α κ 2 ) D(0)=\sqrt{\alpha\kappa_2}/(1+\sqrt{\alpha\kappa_2}) D ( 0 ) = α κ 2 / ( 1 + α κ 2 ) . Comparing the positive and negative sides of zero in (D.135) therefore yields
τ c ≥ 0 ⟺ ρ ≥ 1 + α c κ 2 1 + 2 α c κ 2 . (335) \tau_c\ge0\quad\Longleftrightarrow\quad\rho\ge\frac{1+\sqrt{\alpha_c\kappa_2}}{1+2\sqrt{\alpha_c\kappa_2}}. \tag*{(335)} τ c ≥ 0 ⟺ ρ ≥ 1 + 2 α c κ 2 1 + α c κ 2 . (335)
For a nondegenerate law, strict monotonicity of R γ \mathcal{R}_{\gamma} R γ implies that τ c > 0 \tau_c>0 τ c > 0 corresponds to α c < κ 2 / β 2 \alpha_c<\kappa_2/\beta^2 α c < κ 2 / β 2 , and τ c < 0 \tau_c<0 τ c < 0 to the reverse inequality. The right-hand side of (D.137) decreases with α c \alpha_c α c . Evaluating it at κ 2 / β 2 \kappa_2/\beta^2 κ 2 / β 2 gives the equivalent fixed-signal statement
τ c ≥ 0 ⟺ ρ ≥ β + κ 2 β + 2 κ 2 ⟹ α c , R S d y n ≤ κ 2 β 2 . (336) \tau_c\ge0\quad\Longleftrightarrow\quad\rho\ge\frac{\beta+\kappa_2}{\beta+2\kappa_2}\quad\Longrightarrow\quad\alpha_{c,\mathrm{RS}}^{\mathrm{dyn}}\le\frac{\kappa_2}{\beta^2}. \tag*{(336)} τ c ≥ 0 ⟺ ρ ≥ β + 2 κ 2 β + κ 2 ⟹ α c , RS dyn ≤ β 2 κ 2 . (336)
Equality holds at τ c = 0 \tau_c = 0 τ c = 0 . For the homogeneous law the threshold is β − 2 \beta^{-2} β − 2 for every regular critical solution, irrespective of the sign of τ c \tau_c τ c .
For unbounded support, positivity in (D.128) rules out τ c < 0 \tau_c < 0 τ c < 0 , so the masking condition also bounds the domain of this continuous-onset calculation. It does not imply that recovery is impossible at smaller masking rates: under the Gaussian model with variances bounded away from zero and finite second moment, Theorem E.7 guarantees recovery at sufficiently large sample ratio for every ρ ∈ ( 0 , 1 ) \rho\in(0, 1) ρ ∈ ( 0 , 1 ) . The transition mechanism at those smaller rates remains to be determined.
Feature alignment above threshold and the homogeneous benchmark
The full linear dynamic equations can also be reduced without linearizing in M M M . To avoid confusing the cosine θ u ⋆ \theta_{u_\star} θ u ⋆ with a ratio of second moments, define z M = M 2 / C z_M = M^2/C z M = M 2 / C and r Q = Q / C r_Q = Q/C r Q = Q / C . For M ≠ 0 M \ne0 M = 0 , the magnetization equation gives X / ( 2 U ) = 1 / ( β I 0 , 1 ) \mathcal{X}/(2U) = 1/(\beta I_{0,1}) X / ( 2 U ) = 1/ ( β I 0 , 1 ) , hence
q ( γ ) = M 2 + γ T / ( α β 2 ) I 0 , 1 2 ( 1 + τ γ ) 2 . (337) q(\gamma) = \frac{M^2 + \gamma T/(\alpha\beta^2)}{I_{0,1}^2(1+\tau\gamma)^2}. \tag*{(337)} q ( γ ) = I 0 , 1 2 ( 1 + τ γ ) 2 M 2 + γ T / ( α β 2 ) . (337)
The remaining equations reduce to
z M = I 0 , 1 2 − I 2 , 2 / ( α β 2 ) I 1 , 2 + I 2 , 2 / ( α β ) , r Q = z M I 0 , 2 + ( 1 + β z M ) I 1 , 2 / ( α β 2 ) I 0 , 1 2 , D = ( 1 + I 1 , 1 α β I 0 , 1 ) − 1 , Φ ( τ , α ) : = τ − r Q ρ + ( 1 − ρ ) ( 1 + β z M ) D − 2 + 1 − D β I 0 , 1 = 0. (338) \begin{aligned}
z_M &= \frac{I_{0,1}^2-I_{2,2}/(\alpha\beta^2)}{I_{1,2}+I_{2,2}/(\alpha\beta)},\\
r_Q &= \frac{z_M I_{0,2}+(1+\beta z_M)I_{1,2}/(\alpha\beta^2)}{I_{0,1}^2},\\
D &= \left(1+\frac{I_{1,1}}{\alpha\beta I_{0,1}}\right)^{-1},\\
\Phi(\tau,\alpha) &:= \tau-\frac{r_Q}{\rho+(1-\rho)(1+\beta z_M)D^{-2}}+\frac{1-D}{\beta I_{0,1}}=0. \tag*{(338)}
\end{aligned} z M r Q D Φ ( τ , α ) = I 1 , 2 + I 2 , 2 / ( α β ) I 0 , 1 2 − I 2 , 2 / ( α β 2 ) , = I 0 , 1 2 z M I 0 , 2 + ( 1 + β z M ) I 1 , 2 / ( α β 2 ) , = ( 1 + α β I 0 , 1 I 1 , 1 ) − 1 , := τ − ρ + ( 1 − ρ ) ( 1 + β z M ) D − 2 r Q + β I 0 , 1 1 − D = 0. (338)
All I j , ℓ I_{j,\ell} I j , ℓ are evaluated at τ \tau τ ; β \beta β , ρ \rho ρ , P γ P_\gamma P γ are fixed in the notation Φ ( τ , α ) \Phi(\tau,\alpha) Φ ( τ , α ) . A root must have z M > 0 z_M > 0 z M > 0 and satisfy the regularity conditions. Its scale is recovered from
C = 2 ( 1 − ρ ) r Q + [ ρ + ( 1 − ρ ) ( 1 + β z M ) D − 2 ] D / ( β I 0 , 1 ) , Q = r Q C , M 2 = z M C . (339) \begin{aligned}
C &= \frac{2}{(1-\rho)r_Q+[\rho+(1-\rho)(1+\beta z_M)D^{-2}]D/(\beta I_{0,1})},\\
Q &= r_Q C,\qquad M^2=z_M C. \tag*{(339)}
\end{aligned} C Q = ( 1 − ρ ) r Q + [ ρ + ( 1 − ρ ) ( 1 + β z M ) D − 2 ] D / ( β I 0 , 1 ) 2 , = r Q C , M 2 = z M C . (339)
The squared alignment is θ u ⋆ 2 = z M / r Q \theta_{u_\star}^2=z_M/r_Q θ u ⋆ 2 = z M / r Q . For P γ = δ 1 P_\gamma=\delta_1 P γ = δ 1 , all susceptibility factors cancel, r Q = 1 r_Q=1 r Q = 1 , and this becomes
θ u ⋆ 2 = α β 2 − 1 α β 2 + β , α > β − 2 , (340) \theta_{u_\star}^2=\frac{\alpha\beta^2-1}{\alpha\beta^2+\beta},\qquad\alpha>\beta^{-2}, \tag*{(340)} θ u ⋆ 2 = α β 2 + β α β 2 − 1 , α > β − 2 , (340)
which recovers the PCA learning curve throughout the informative regime, consistent with the agreement observed in Figure 2 (a).
Mask diversity changes how the learner uses heterogeneous noise
The weak-signal law in (7) describes an additional sample requirement caused by mask reuse. At finite signal strength, the replica equations reveal a further distinction: static and dynamic masking can use the coordinate noise profile differently when learning first becomes possible. Static masking has a noise-independent response to an emerging feature at its regular linear recovery transition. Dynamic masking can instead give cleaner coordinates a larger response, lowering the threshold through an adaptation that the static critical solution lacks. Thus the protocols differ not only in how many samples they require, but also in how they extract the feature from those samples.
We develop this interpretation using the fixed-signal factorization in App. § 12 .1.3 and the dynamic linear equations in App. § 12 .§ 3 . Throughout this subsection, σ ( h ) = h \sigma(h)=h σ ( h ) = h , λ R = 0 \lambda_R=0 λ R = 0 , E γ = 1 \mathbb{E}_\gamma=1 E γ = 1 , and κ 2 = E γ γ 2 < ∞ \kappa_2=\mathbb{E}_\gamma\gamma^2<\infty κ 2 = E γ γ 2 < ∞ ; the concrete examples have finite positive variance support and Gaussian latent priors. We evaluate the response at the continuous recovery onset defined above.
Coordinate response separates noise adaptation from mask reuse
The coordinate susceptibility v c ( γ ) v_c(\gamma) v c ( γ ) describes the response to an infinitesimal informative field near recovery. In particular, the input equation gives m ( γ ) = m ^ v ( γ ) m(\gamma)=\hat{m}v(\gamma) m ( γ ) = m ^ v ( γ ) , with the same m ^ \hat{m} m ^ at every coordinate variance. Ratios of susceptibilities therefore determine where the emerging feature alignment is concentrated. Using (D.33), for two variances 0 < γ 1 < γ 2 0<\gamma_1<\gamma_2 0 < γ 1 < γ 2 ,
v c ( γ 1 ) v c ( γ 2 ) = 1 + τ c γ 2 1 + τ c γ 1 . (341) \frac{v_c(\gamma_1)}{v_c(\gamma_2)}=\frac{1+\tau_c\gamma_2}{1+\tau_c\gamma_1}. \tag*{(341)} v c ( γ 2 ) v c ( γ 1 ) = 1 + τ c γ 1 1 + τ c γ 2 . (341)
For τ c > 0 \tau_c>0 τ c > 0 , this ratio exceeds one: the response favors cleaner coordinates. At τ c = 0 \tau_c=0 τ c = 0 it is uniform, while negative τ c \tau_c τ c favors noisier coordinates on its admissible domain. This is a statement about the response to the shared feature, not equality or ordering of the realized coordinate weights. The noise levels are not supplied to the autoencoder; their influence on the response emerges from the reconstruction objective and the data.
The general finite-K K K factorization (D.34) separates two contributions: η K , c 2 \eta^2_{K,c} η K , c 2 measures output efficiency, while R γ ( τ K , c ) \mathcal{R}_{\gamma}(\tau_{K,c}) R γ ( τ K , c ) measures how coordinate reweighting changes the effective noise burden. Both depend on mask diversity through the full equations. The static and dynamic endpoints below show how the response itself changes, beyond the sample penalty captured by the weak-signal law.
Why static masking cannot adapt its response at the transition
For K = 1 K=1 K = 1 , the regular uninformative equations force B 1 , 0 = 0 \mathcal{B}_{1,0}=0 B 1 , 0 = 0 . We give the short elimination because this identity is the source of the distinction, rather than an imposed approximation. Write Q = q Γ , 0 Q=q_{\Gamma,0} Q = q Γ , 0 , C = q Γ , 0 C=q_{\Gamma,0} C = q Γ , 0 , and Δ = v Γ , 0 \Delta=v_{\Gamma,0} Δ = v Γ , 0 , and use the visible and hidden fields y , t y,t y , t of the K = 1 K=1 K = 1 channel. At M = 0 M=0 M = 0 , their Gaussian centers y 0 , t 0 y_0,t_0 y 0 , t 0 are independent, with variances ( 1 − ρ ) C (1-\rho)C ( 1 − ρ ) C and ρ C \rho C ρC . The quadratic loss is ρ Q y 2 − 2 y t \rho Qy^2-2yt ρQ y 2 − 2 y t . Eliminating t t t in the proximal gives
y ⋆ = y 0 / [ ( 1 − ρ ) Δ ] + 2 t 0 D s t a t , D s t a t = 1 ( 1 − ρ ) Δ + 2 ρ ( Q − 2 Δ ) > 0. (342) y_\star=\frac{y_0/[(1-\rho)\Delta]+2t_0}{\mathcal{D}_{\mathrm{stat}}},\qquad\mathcal{D}_{\mathrm{stat}}=\frac{1}{(1-\rho)\Delta}+2\rho(Q-2\Delta)>0. \tag*{(342)} y ⋆ = D stat y 0 / [( 1 − ρ ) Δ ] + 2 t 0 , D stat = ( 1 − ρ ) Δ 1 + 2 ρ ( Q − 2Δ ) > 0. (342)
The last inequality is the remaining proximal-curvature condition. Evaluating the definitions in (D.8), (D.10), and (D.6) gives
A 1 , 0 = ρ C D s t a t 2 [ 1 ( 1 − ρ ) Δ 2 + 4 ρ ] , \mathcal{A}_{1,0}=\frac{\rho C}{\mathcal{D}_{\mathrm{stat}}^2}\left[\frac{1}{(1-\rho)\Delta^2}+4\rho\right], A 1 , 0 = D stat 2 ρC [ ( 1 − ρ ) Δ 2 1 + 4 ρ ] ,
B 1 , 0 = 1 2 Δ − 1 2 D s t a t [ 1 ( 1 − ρ ) Δ 2 + 4 ρ ] , \mathcal{B}_{1,0}=\frac{1}{2\Delta}-\frac{1}{2\mathcal{D}_{\mathrm{stat}}}\left[\frac{1}{(1-\rho)\Delta^2}+4\rho\right], B 1 , 0 = 2Δ 1 − 2 D stat 1 [ ( 1 − ρ ) Δ 2 1 + 4 ρ ] ,
E 1 , 0 = [ 1 ( 1 − ρ ) Δ 2 + 4 ρ ] A 1 , 0 ρ + C Δ 2 − 2 C ( 1 − ρ ) Δ 3 D s t a t . (343) \mathcal{E}_{1,0}=\left[\frac{1}{(1-\rho)\Delta^2}+4\rho\right]\frac{\mathcal{A}_{1,0}}{\rho}+\frac{C}{\Delta^2}-\frac{2C}{(1-\rho)\Delta^3\mathcal{D}_{\mathrm{stat}}}. \tag*{(343)} E 1 , 0 = [ ( 1 − ρ ) Δ 2 1 + 4 ρ ] ρ A 1 , 0 + Δ 2 C − ( 1 − ρ ) Δ 3 D stat 2 C . (343)
The input equations (D.12)–(D.16) imply
E 1 , 0 Δ = 2 A 1 , 0 Q + 2 B 1 , 0 C . (344) \mathcal{E}_{1,0}\Delta=2\mathcal{A}_{1,0}Q+2\mathcal{B}_{1,0}C. \tag*{(344)} E 1 , 0 Δ = 2 A 1 , 0 Q + 2 B 1 , 0 C . (344)
Substituting the explicit output expressions into the difference of the two sides yields the identity
E 1 , 0 Δ − 2 A 1 , 0 Q − 2 B 1 , 0 C = − 4 C B 1 , 0 ( 1 − ρ ) Δ D s t a t . (345) \mathcal{E}_{1,0}\Delta-2\mathcal{A}_{1,0}Q-2\mathcal{B}_{1,0}C=-\frac{4C\mathcal{B}_{1,0}}{(1-\rho)\Delta\mathcal{D}_{\mathrm{stat}}}. \tag*{(345)} E 1 , 0 Δ − 2 A 1 , 0 Q − 2 B 1 , 0 C = − ( 1 − ρ ) Δ D stat 4 C B 1 , 0 . (345)
Since C , Δ , D s t a t > 0 C,\Delta,\mathcal{D}_{\mathrm{stat}}>0 C , Δ , D stat > 0 and 0 < ρ < 1 0<\rho<1 0 < ρ < 1 , the input closure forces B 1 , 0 = 0 \mathcal{B}_{1,0}=0 B 1 , 0 = 0 . Consequently,
τ 1 , c = 0 , v 0 ( γ ) = Δ , Q = 4 Δ , C = κ 2 Q . (346) \tau_{1,c}=0,\qquad v_0(\gamma)=\Delta,\qquad Q=4\Delta,\qquad C=\kappa_2Q. \tag*{(346)} τ 1 , c = 0 , v 0 ( γ ) = Δ , Q = 4Δ , C = κ 2 Q . (346)
Here the constant susceptibility follows from E γ = 1 E_\gamma=1 E γ = 1 ; the relations for Q , C Q,C Q , C follow from (D.145) and the variance closures. In fact q 0 ( γ ) = 4 γ Δ q_0(\gamma)=4\gamma\Delta q 0 ( γ ) = 4 γ Δ , so noisy coordinates still contribute more to the uninformative weight fluctuations.
The remaining closure gives
Δ = 1 2 ρ ( 1 − ρ ) ( 2 α κ 2 − 1 ) , 2 α κ 2 > 1. (347) \Delta=\frac{1}{2\sqrt{\rho(1-\rho)}(2\alpha\kappa_2-1)},\qquad2\alpha\kappa_2>1. \tag*{(347)} Δ = 2 ρ ( 1 − ρ ) ( 2 α κ 2 − 1 ) 1 , 2 α κ 2 > 1. (347)
Evaluating the teacher-response gain (D.23) then gives
α β χ 1 , 0 E γ v 0 = β κ 2 [ ρ ( 1 − ρ ) ( 2 α κ 2 − 1 ) + 2 ρ − 1 2 ] . (348) \alpha\beta\chi_{1,0}E_{\gamma}v_0=\frac{\beta}{\kappa_2}\left[\sqrt{\rho(1-\rho)(2\alpha\kappa_2-1)}+\frac{2\rho-1}{2}\right]. \tag*{(348)} α β χ 1 , 0 E γ v 0 = κ 2 β [ ρ ( 1 − ρ ) ( 2 α κ 2 − 1 ) + 2 2 ρ − 1 ] . (348)
Setting this gain to one yields the regular static threshold
α c s t a t = 1 2 κ 2 [ 1 + ( κ 2 / β + 1 / 2 − ρ ) 2 ρ ( 1 − ρ ) ] , κ 2 β + 1 2 − ρ > 0. (349) \alpha_c^{\mathrm{stat}}=\frac{1}{2\kappa_2}\left[1+\frac{\left(\kappa_2/\beta+1/2-\rho\right)^2}{\rho(1-\rho)}\right],\qquad\frac{\kappa_2}{\beta}+\frac{1}{2}-\rho>0. \tag*{(349)} α c stat = 2 κ 2 1 [ 1 + ρ ( 1 − ρ ) ( κ 2 / β + 1/2 − ρ ) 2 ] , β κ 2 + 2 1 − ρ > 0. (349)
Thus two variance laws with the same mean and second moment have the same regular static threshold, even if their clean coordinates occur with very different frequencies. This insensitivity is specific to the uninformative saddle and its recovery transition: it does not imply that static masking cannot develop noise-dependent feature alignment after recovery.
Dynamic masking exploits cleaner coordinates at recovery onset
Mask averaging changes the output channel. In the linear case, its explicit dependence on C C C contributes to H H H in (D.127); the static cancellation above no longer applies. The resulting susceptibility and threshold are already derived in (D.128) and (D.131). Their interpretation follows from the monotonicity proved in App. § 12 .1.5: positive τ c \tau_c τ c downweights high-noise coordinates and strictly lowers R γ \mathcal{R}_{\gamma} R γ below its neutral value κ 2 \kappa_2 κ 2 for a nondegenerate variance law.
The masking condition (D.138) makes the relevant regime explicit:
ρ > β + κ 2 β + 2 κ 2 ⟹ τ c > 0 , α c d y n < κ 2 β 2 . (350) \rho>\frac{\beta+\kappa_2}{\beta+2\kappa_2}\quad\Longrightarrow\quad\tau_c>0,\qquad\alpha_c^{\mathrm{dyn}}<\frac{\kappa_2}{\beta^2}. \tag*{(350)} ρ > β + 2 κ 2 β + κ 2 ⟹ τ c > 0 , α c dyn < β 2 κ 2 . (350)
whenever the regular critical saddle exists and the variance law is nonconstant. The learner can therefore exploit the heterogeneous reliability of coordinates while the informative direction is only beginning to emerge. Static masking, whose response is uniform at this point, cannot obtain the same threshold reduction by such reweighting.
For 0 < β < 2 κ 2 0<\beta<2\kappa_2 0 < β < 2 κ 2 , optimizing (D.151) gives
min ρ α c s t a t = 2 κ 2 β 2 , ρ s t a t ⋆ = 1 2 + β 4 κ 2 . (351) \min_{\rho}\alpha_c^{\mathrm{stat}}=\frac{2\kappa_2}{\beta^2},\qquad\rho_{\mathrm{stat}}^{\star}=\frac{1}{2}+\frac{\beta}{4\kappa_2}. \tag*{(351)} ρ min α c stat = β 2 2 κ 2 , ρ stat ⋆ = 2 1 + 4 κ 2 β . (351)
Hence a dynamic critical saddle with τ c > 0 \tau_c>0 τ c > 0 requires less than half the sample ratio of even the best regular static crossing in this regime. The factor-of-two weak-signal comparison is therefore not the whole advantage: finite-signal noise adaptation can increase it. The signal range above is the domain of this optimized-static comparison. The dynamic masking boundary also depends on β \beta β ; its advantage at fixed ρ \rho ρ therefore need not increase with signal strength.
Matched second moments expose the different mechanisms
Consider the three mean-one laws
P γ b a l a n c e d = 1 2 δ 1 − 0.45 + 1 2 δ 1 + 0.45 , P γ r a r e h i g h = 320 329 δ 71 / 80 + 9 329 δ 5 , P γ v e r y c l e a n = 180 541 δ 1 / 20 + 361 541 δ 28 / 19 . (352) \begin{aligned}
P_{\gamma}^{\mathrm{balanced}}&=\frac{1}{2}\delta_{1-\sqrt{0.45}}+\frac{1}{2}\delta_{1+\sqrt{0.45}},\\
P_{\gamma}^{\mathrm{rare\ high}}&=\frac{320}{329}\delta_{71/80}+\frac{9}{329}\delta_5,\\
P_{\gamma}^{\mathrm{very\ clean}}&=\frac{180}{541}\delta_{1/20}+\frac{361}{541}\delta_{28/19}. \tag*{(352)}
\end{aligned} P γ balanced P γ rare high P γ very clean = 2 1 δ 1 − 0.45 + 2 1 δ 1 + 0.45 , = 329 320 δ 71/80 + 329 9 δ 5 , = 541 180 δ 1/20 + 541 361 δ 28/19 . (352)
Each has κ 2 = 29 / 20 \kappa_2=29/20 κ 2 = 29/20 , but the distributions of reliable and unreliable coordinates are different. The balanced law divides its mass equally between two noise levels. The second assigns a small fraction of coordinates a high variance. The third contains a substantial fraction of particularly clean coordinates.
Table 2 shows that matching the static threshold does not match dynamic learning. In this example, resampling is particularly effective for the rare-high-variance law, for which the response most strongly suppresses the noisy component. The common optimized regular static threshold is 1.28889, so the dynamic benefit also survives optimizing the static masking ratio. The comparison isolates dependence on the shape of P γ P_{\gamma} P γ beyond its second moment, rather than a change in average noise power or signal strength.
Table 2. Identical static thresholds, different dynamic adaptation. Regular linear replica thresholds for the laws in (D.154) at β = 1.5 \beta= 1.5 β = 1.5 , ρ = 0.95 \rho= 0.95 ρ = 0.95 , and zero ridge. All three laws have unit mean and κ 2 = 1.45 \kappa_2 = 1.45 κ 2 = 1.45 . The response ratio compares the lowest- and highest-variance coordinates using (D.143). Entries are computed numerically from the replica equations.
The entries are obtained from the linear critical equations, with numerical checks reported in App. § 16 .12. The rare-high-variance law even has α c d y n = 0.43843 < 1 / β 2 = 0.44444 \alpha_{\mathrm{c}}^{\mathrm{dyn}} = 0.43843 < 1/\beta^2 = 0.44444 α c dyn = 0.43843 < 1/ β 2 = 0.44444 , the homogeneous threshold at the same mean variance and signal strength. Conversely, the very clean component does not give the smallest dynamic threshold: the benefit depends on how the reconstruction objective uses the entire noise profile. Dynamic adaptation still differs from fully noise-aware inference, as quantified by the inverse-moment bounds in (D.133) and the Bayes comparison in App. § 16 .§ 4 .
Proofs of the linear reconstruction separation
Assumption E.1. We collect the precise hypotheses for Theorem 3.1 . The activation is linear, σ ( h ) = h \sigma(h)=h σ ( h ) = h , and λ R = 0 \lambda_R=0 λ R = 0 . The noise law is fixed as the dimension grows; the independence assumptions are those of (1) .
(A1) (Model and scaling.) Data are generated by (1) with P u = P λ = N ( 0 , 1 ) P_u=P_\lambda=\mathcal{N}(0,1) P u = P λ = N ( 0 , 1 ) ; the signal strength β > 0 \beta>0 β > 0 , the masking ratio ρ ∈ ( 0 , 1 ) \rho\in(0,1) ρ ∈ ( 0 , 1 ) and the sample complexity α = n / d \alpha=n/d α = n / d are held fixed as n , d → ∞ n,d\to\infty n , d → ∞ .
(A2) (Coordinate noise.) P γ P_\gamma P γ is a mean-one distribution supported in [ a , ∞ ) [a,\infty) [ a , ∞ ) for some a > 0 a>0 a > 0 , with κ 2 = E γ [ γ 2 ] < ∞ \kappa_2=\mathbb{E}_\gamma[\gamma^2]<\infty κ 2 = E γ [ γ 2 ] < ∞ . We write γ + = ess sup γ \gamma_+=\operatorname{ess\,sup}\gamma γ + = ess sup γ , allowing γ + = ∞ \gamma_+=\infty γ + = ∞ .
(A3) (Bounded failure conditions.) In addition to (A1) and (A2), γ + < ∞ \gamma_+<\infty γ + < ∞ and
β E γ 1 γ + − γ < 1 , E γ γ 2 ( γ + − γ ) 2 = ∞ . (353) \beta\mathbb{E}_\gamma\frac{1}{\gamma_+-\gamma}<1,\qquad
\mathbb{E}_\gamma\frac{\gamma^2}{(\gamma_+-\gamma)^2}=\infty. \tag*{(353)} β E γ γ + − γ 1 < 1 , E γ ( γ + − γ ) 2 γ 2 = ∞. (353)
We establish the equivalence of full linear reconstruction and PCA, prove the PCA obstructions, and give finite sufficient sample bounds for dynamic masking. The bounded-noise proof is followed by its extension to variance laws without an upper support bound.
PCA obstructions and bounded-noise masking recovery
This subsection establishes the PCA obstructions and bounded-noise masking recovery used in Theorem 3.1 ; App. § 13 .§ 2 extends masking recovery beyond bounded variance support. The PCA statements concern the leading empirical principal component. The masking statements concern every global minimizer of the exact mask-averaged objective, with no replica assumption and no claim about convergence of a particular optimization algorithm. The sufficient sample ratio is deliberately non-sharp.
Model, PCA reduction, and the homogeneous benchmark
Use (B.3) with independent standard Gaussian u ⋆ , λ μ , z μ i u^\star,\lambda_\mu,z_{\mu i} u ⋆ , λ μ , z μ i , independent positive γ i ⋆ ∼ i i d P γ \gamma_i^\star\mathrel{\overset{\mathrm{iid}}{\sim}}P_\gamma γ i ⋆ ∼ iid P γ , and n / d → α ∈ ( 0 , ∞ ) n/d\to\alpha\in(0,\infty) n / d → α ∈ ( 0 , ∞ ) . Define
e = u ⋆ ∥ u ⋆ ∥ , β d = β ∥ u ⋆ ∥ 2 d , Σ d = Γ ⋆ + β d e e T , Σ ^ = 1 n ∑ μ x μ x μ T . (354) e=\frac{u^\star}{\lVert u^\star\rVert},\qquad
\beta_d=\frac{\beta\lVert u^\star\rVert^2}{d},\qquad
\Sigma_d=\Gamma^\star+\beta_d ee^\mathsf{T},\qquad
\widehat{\Sigma}=\frac{1}{n}\sum_\mu x_\mu x_\mu^\mathsf{T}. \tag*{(354)} e = ∥ u ⋆ ∥ u ⋆ , β d = d β ∥ u ⋆ ∥ 2 , Σ d = Γ ⋆ + β d e e T , Σ = n 1 μ ∑ x μ x μ T . (354)
Conditionally on the quenched variables u ⋆ , Γ ⋆ u^\star,\Gamma^\star u ⋆ , Γ ⋆ , the samples are independent N ( 0 , Σ d ) \mathcal{N}(0,\Sigma_d) N ( 0 , Σ d ) vectors. With the sample-first matrices X , Z X,Z X , Z of App. § 10 .§ 1 , write
Y : = X n = N + β λ n ( u ⋆ ) T d , N = 1 n Z ( Γ ⋆ ) 1 / 2 . (355) Y:=\frac{X}{\sqrt{n}}=N+\sqrt{\beta}\frac{\lambda}{\sqrt{n}}\frac{(u^\star)^\mathsf{T}}{\sqrt{d}},
\qquad
N=\frac{1}{\sqrt{n}}Z(\Gamma^\star)^{1/2}. \tag*{(355)} Y := n X = N + β n λ d ( u ⋆ ) T , N = n 1 Z ( Γ ⋆ ) 1/2 . (355)
Both Y Y Y and N N N are n × d n\times d n × d , and Σ ^ = Y T Y \widehat{\Sigma}=Y^\mathsf{T}Y Σ = Y T Y . The PCA direction r ^ P C A \widehat r_{\mathrm{PCA}} r PCA is the leading right singular vector of Y Y Y ; its squared overlap is ∣ e T r ^ P C A ∣ 2 |e^\mathsf{T}\widehat r_{\mathrm{PCA}}|^2 ∣ e T r PCA ∣ 2 .
For a linear tied autoencoder, w = d Q r w=\sqrt{d}Qr w = d Q r , ∥ r ∥ = 1 \lVert r\rVert=1 ∥ r ∥ = 1 , produces x ^ = Q r r T x \widehat{x}=Qrr^\mathsf{T}x x = Q r r T x . Therefore (5) , divided by n n n and with the target-only constant n − 1 ∑ μ ∥ x μ ∥ 2 n^{-1}\sum_\mu\lVert x_\mu\rVert^2 n − 1 ∑ μ ∥ x μ ∥ 2 subtracted, is exactly
R f u l l ( Q , r ) = ( Q 2 − 2 Q ) r T Σ ^ r . (356) R_{\mathrm{full}}(Q,r)=(Q^2-2Q)r^\mathsf{T}\widehat{\Sigma}r. \tag*{(356)} R full ( Q , r ) = ( Q 2 − 2 Q ) r T Σ r . (356)
Since the largest sample eigenvalue is positive, the global minimum has Q = 1 Q=1 Q = 1 and r r r in its top eigenspace. This proves the finite-dimensional equivalence with PCA, including the radial optimization.
For P γ = δ 1 P_\gamma=\delta_1 P γ = δ 1 , the rectangular rank-one singular-vector transition [29 ] gives
∣ e T r ^ P C A ∣ 2 ⟶ { 0 , α β 2 ≤ 1 , 1 − 1 / ( α β 2 ) 1 + 1 / ( α β ) , α β 2 > 1. (357) \left|e^\mathsf{T}\widehat r_{\mathrm{PCA}}\right|^2\longrightarrow
\begin{cases}
0, & \alpha\beta^2\le1,\\
\frac{1-1/(\alpha\beta^2)}{1+1/(\alpha\beta)}, & \alpha\beta^2>1.
\end{cases} \tag*{(357)} e T r PCA 2 ⟶ { 0 , 1 + 1/ ( α β ) 1 − 1/ ( α β 2 ) , α β 2 ≤ 1 , α β 2 > 1. (357)
in probability. App. § 12 .3.3 derives the matching regular dynamic linear RS formula.
PCA failure for unbounded coordinate noise
Proposition E.2 (Unbounded variance support). Under (E.2), if P γ P_\gamma P γ has unbounded support and E γ γ = 1 \mathbb{E}_\gamma\gamma= 1 E γ γ = 1 , then for every fixed β > 0 \beta> 0 β > 0 and α > 0 \alpha> 0 α > 0 , ∣ e T r ^ P C A ∣ 2 → 0 \lvert e^{\mathsf{T}}\hat r_{\mathrm{PCA}}\rvert^2 \to0 ∣ e T r ^ PCA ∣ 2 → 0 in probability .
Proof. Let i d i_d i d maximize γ i ⋆ \gamma_i^\star γ i ⋆ . Since P γ P_\gamma P γ is unbounded, γ i d ⋆ → ∞ \gamma_{i_d}^\star\to\infty γ i d ⋆ → ∞ in probability. The selected column of Z Z Z is independent of this selection, and its squared norm divided by n n n converges in probability to one. Thus
∥ N ∥ o p ≥ γ i d ⋆ ∥ Z : , i d ∥ n ⟶ ∞ . (358) \lVert N\rVert_{\mathrm{op}} \ge\sqrt{\gamma_{i_d}^\star}\frac{\lVert Z_{:,i_d}\rVert}{\sqrt{n}} \longrightarrow\infty. \tag*{(358)} ∥ N ∥ op ≥ γ i d ⋆ n ∥ Z : , i d ∥ ⟶ ∞. (358)
The signal term in (E.3) has operator norm β ∥ u ⋆ ∥ ∥ λ ∥ / d n = O P ( 1 ) \sqrt{\beta}\lVert u^\star\rVert\lVert\lambda\rVert/\sqrt{dn}=O_{\mathsf{P}}(1) β ∥ u ⋆ ∥ ∥ λ ∥ / d n = O P ( 1 ) . Hence the top singular value s 1 ( Y ) s_1(Y) s 1 ( Y ) also diverges in probability. On the other hand,
E ∥ Y e ∥ 2 = E [ e T Σ d e ] = 1 + β , (359) \mathbb{E}\lVert Ye\rVert^2=\mathbb{E}[e^{\mathsf{T}}\Sigma_d e]=1+\beta, \tag*{(359)} E ∥ Y e ∥ 2 = E [ e T Σ d e ] = 1 + β , (359)
because e e e is independent of Γ ⋆ \Gamma^\star Γ ⋆ and E β d = β \mathbb{E}\beta_d=\beta E β d = β . ∥ Y e ∥ \lVert Ye\rVert ∥ Y e ∥ is consequently bounded in probability. Let v ^ 1 ∈ R n \hat v_1\in\mathbb{R}^n v ^ 1 ∈ R n be the leading left singular vector paired with r ^ P C A \hat r_{\mathrm{PCA}} r ^ PCA . Then Y T v ^ 1 = s 1 ( Y ) r ^ P C A Y^{\mathsf{T}}\hat v_1=s_1(Y)\hat r_{\mathrm{PCA}} Y T v ^ 1 = s 1 ( Y ) r ^ PCA gives
∣ e T r ^ P C A ∣ = ∣ v ^ 1 T Y e ∣ s 1 ( Y ) ≤ ∥ v ^ 1 ∥ ∥ Y e ∥ s 1 ( Y ) ⟶ 0. (360) \lvert e^{\mathsf{T}}\hat r_{\mathrm{PCA}}\rvert=\frac{\lvert\hat v_1^{\mathsf{T}}Ye\rvert}{s_1(Y)}\le\frac{\lVert\hat v_1\rVert\lVert Ye\rVert}{s_1(Y)}\longrightarrow0. \tag*{(360)} ∣ e T r ^ PCA ∣ = s 1 ( Y ) ∣ v ^ 1 T Y e ∣ ≤ s 1 ( Y ) ∥ v ^ 1 ∥ ∥ Y e ∥ ⟶ 0. (360)
This argument needs no assumptions about localization of the top eigenvector and no finite second moment of γ \gamma γ .
A bounded-noise obstruction at every sample ratio
The following lemma identifies when the population covariance has an eigenvalue separated from the variance support.
Lemma E.3 (Population outlier equation). Under (E.2), suppose P γ P_\gamma P γ is supported in [ a , γ + ] ⊂ ( 0 , ∞ ) [a,\gamma_+]\subset(0,\infty) [ a , γ + ] ⊂ ( 0 , ∞ ) , with γ + \gamma_+ γ + its essential upper endpoint. Let m + = E γ [ ( γ + − γ ) − 1 ] ∈ ( 0 , ∞ ] m_+=\mathbb{E}_\gamma[(\gamma_+-\gamma)^{-1}]\in(0,\infty] m + = E γ [( γ + − γ ) − 1 ] ∈ ( 0 , ∞ ] . If β m + > 1 \beta m_+>1 β m + > 1 , the largest eigenvalue of Σ d \Sigma_d Σ d converges in probability to the unique t > γ + t>\gamma_+ t > γ + satisfying
1 = β E γ 1 t − γ . (361) 1=\beta\mathbb{E}_\gamma\frac{1}{t-\gamma}. \tag*{(361)} 1 = β E γ t − γ 1 . (361) If β m + ≤ 1 \beta m_+\le1 β m + ≤ 1 , the largest eigenvalue instead converges in probability to γ + \gamma_+ γ + .
Proof. Write t d = λ max ( Σ d ) t_d=\lambda_{\max}(\Sigma_d) t d = λ m a x ( Σ d ) . Almost surely, t d > max i γ i ⋆ t_d>\max_i\gamma_i^\star t d > max i γ i ⋆ : the Rayleigh quotient at a coordinate maximizing γ i ⋆ \gamma_i^\star γ i ⋆ is strictly larger than that maximum, since every Gaussian teacher coordinate is nonzero almost surely. For a corresponding eigenvector v ≠ 0 v\ne0 v = 0 ,
( t d I − Γ ⋆ ) v = β d e ( e T v ) . (t_d I-\Gamma^\star)v=\beta_d e(e^{\mathsf{T}}v). ( t d I − Γ ⋆ ) v = β d e ( e T v ) .
The matrix on the left is invertible, and e T v ≠ 0 e^{\mathsf{T}}v\ne0 e T v = 0 ; otherwise v = 0 v=0 v = 0 . Multiplying by e T ( t d I − Γ ⋆ ) − 1 e^{\mathsf{T}}(t_dI-\Gamma^\star)^{-1} e T ( t d I − Γ ⋆ ) − 1 and cancelling gives the exact finite-dimensional equation
1 = β d ∑ i = 1 d e i 2 t d − γ i ⋆ = β d ∑ i = 1 d ( u i ⋆ ) 2 t d − γ i ⋆ . 1=\beta_d\sum_{i=1}^{d}\frac{e_i^2}{t_d-\gamma_i^\star}=\frac{\beta}{d}\sum_{i=1}^{d}\frac{(u_i^\star)^2}{t_d-\gamma_i^\star}. 1 = β d i = 1 ∑ d t d − γ i ⋆ e i 2 = d β i = 1 ∑ d t d − γ i ⋆ ( u i ⋆ ) 2 .
For this proof, define the random function
F d ( t ) = β d ∑ i = 1 d ( u i ⋆ ) 2 t − γ i ⋆ , t > max i γ i ⋆ , F_d(t)=\frac{\beta}{d}\sum_{i=1}^{d}\frac{(u_i^\star)^2}{t-\gamma_i^\star},\qquad t>\max_i\gamma_i^\star, F d ( t ) = d β i = 1 ∑ d t − γ i ⋆ ( u i ⋆ ) 2 , t > i max γ i ⋆ ,
and its deterministic limit
F ( t ) = β E γ 1 t − γ , t > γ + . F(t)=\beta\mathbb{E}_\gamma\frac{1}{t-\gamma},\qquad t>\gamma_+. F ( t ) = β E γ t − γ 1 , t > γ + .
Thus F d ( t d ) = 1 F_d(t_d)=1 F d ( t d ) = 1 , and F d F_d F d is almost surely strictly decreasing on its domain. For each fixed deterministic t > γ + t>\gamma_+ t > γ + , independence and the law of large numbers yield
F d ( t ) → P F ( t ) . F_d(t)\xrightarrow{\mathbb{P}}F(t). F d ( t ) P F ( t ) .
Indeed, the summands are i.i.d. and bounded above by ( u i ⋆ ) 2 / ( t − γ + ) (u_i^\star)^2/(t-\gamma_+) ( u i ⋆ ) 2 / ( t − γ + ) , which is integrable, and E [ ( u ⋆ ) 2 ] = 1 \mathbb{E}[(u^\star)^2]=1 E [( u ⋆ ) 2 ] = 1 . The function F F F is continuous and strictly decreasing on ( γ + , ∞ ) (\gamma_+,\infty) ( γ + , ∞ ) , with limits β m + \beta m_+ β m + at the left endpoint and zero at infinity. Thus it equals one at a unique point in this interval exactly when β m + > 1 \beta m_+>1 β m + > 1 .
It remains to pass from convergence at deterministic arguments to convergence of the random solution t d t_d t d of F d ( t d ) = 1 F_d(t_d)=1 F d ( t d ) = 1 ; the pointwise law of large numbers alone does not justify substituting the random argument t d t_d t d . Monotonicity allows us to locate this solution by evaluating F d F_d F d at deterministic arguments on either side of its proposed limit.
Suppose first that β m + > 1 \beta m_+>1 β m + > 1 , and denote the unique solution of F ( t ) = 1 F(t)=1 F ( t ) = 1 by t ⋆ > γ + t_\star>\gamma_+ t ⋆ > γ + . Fix 0 < ε < t ⋆ − γ + 0<\varepsilon<t_\star-\gamma_+ 0 < ε < t ⋆ − γ + and set t − = t ⋆ − ε t_-=t_\star-\varepsilon t − = t ⋆ − ε and t + = t ⋆ + ε t_+=t_\star+\varepsilon t + = t ⋆ + ε . These two deterministic arguments lie above γ + \gamma_+ γ + and satisfy
F ( t − ) > 1 > F ( t + ) . F(t_-)>1>F(t_+). F ( t − ) > 1 > F ( t + ) .
Convergence in probability at each of them implies Pr ( F d ( t − ) ≤ 1 ) → 0 \Pr(F_d(t_-)\le1)\to0 Pr ( F d ( t − ) ≤ 1 ) → 0 and Pr ( F d ( t + ) ≥ 1 ) → 0 \Pr(F_d(t_+)\ge1)\to0 Pr ( F d ( t + ) ≥ 1 ) → 0 . Whenever F d ( t − ) > 1 > F d ( t + ) F_d(t_-)>1>F_d(t_+) F d ( t − ) > 1 > F d ( t + ) , strict monotonicity and F d ( t d ) = 1 F_d(t_d)=1 F d ( t d ) = 1 force t − < t d < t + t_-<t_d<t_+ t − < t d < t + . Consequently, by a union bound,
Pr ( ∣ t d − t ⋆ ∣ ≥ ε ) ≤ Pr ( F d ( t − ) ≤ 1 ) + Pr ( F d ( t + ) ≥ 1 ) ⟶ 0. \Pr\left(\lvert t_d-t_\star\rvert\ge\varepsilon\right)\le\Pr(F_d(t_-)\le1)+\Pr(F_d(t_+)\ge1)\longrightarrow0. Pr ( ∣ t d − t ⋆ ∣ ≥ ε ) ≤ Pr ( F d ( t − ) ≤ 1 ) + Pr ( F d ( t + ) ≥ 1 ) ⟶ 0.
Since this holds for every sufficiently small ε > 0 \varepsilon>0 ε > 0 , it proves t d → P t ⋆ t_d\xrightarrow{\mathbb{P}}t_\star t d P t ⋆ .
If β m + ≤ 1 \beta m_+\le1 β m + ≤ 1 , then F ( γ + + ε ) < 1 F(\gamma_++\varepsilon)<1 F ( γ + + ε ) < 1 for every ε > 0 \varepsilon>0 ε > 0 , including when β m + = 1 \beta m_+=1 β m + = 1 , by strict monotonicity. The law of large numbers and the same monotonicity argument give
Pr ( t d ≥ γ + + ε ) ≤ Pr ( F d ( γ + + ε ) ≥ 1 ) ⟶ 0. \Pr(t_d\ge\gamma_++\varepsilon)\le\Pr(F_d(\gamma_++\varepsilon)\ge1)\longrightarrow0. Pr ( t d ≥ γ + + ε ) ≤ Pr ( F d ( γ + + ε ) ≥ 1 ) ⟶ 0.
For the lower bound, t d ≥ max i γ i ⋆ t_d\ge\max_i\gamma_i^\star t d ≥ max i γ i ⋆ , and this maximum converges in probability to γ + \gamma_+ γ + because the variances are i.i.d. with essential upper endpoint γ + \gamma_+ γ + . Combining these upper and lower bounds proves t d → P γ + t_d\xrightarrow{\mathbb{P}}\gamma_+ t d P γ + .
We next provide the eigenvector argument needed when this condition fails.
Proposition E.4 (Compact variance laws with a regular upper sample edge). Suppose E γ = 1 \mathbb{E}\gamma=1 E γ = 1 , supp ( P γ ) ⊂ [ a , γ + ] \operatorname{supp}(P_\gamma)\subset[a,\gamma_+] supp ( P γ ) ⊂ [ a , γ + ] , γ + \gamma_+ γ + is the upper support endpoint, and
β E γ 1 γ + − γ < 1 , E γ γ 2 ( γ + − γ ) 2 = ∞ . (362) \beta\mathbb{E}_\gamma\frac{1}{\gamma_+-\gamma}<1,\qquad\mathbb{E}_\gamma\frac{\gamma^2}{(\gamma_+-\gamma)^2}=\infty. \tag*{(362)} β E γ γ + − γ 1 < 1 , E γ ( γ + − γ ) 2 γ 2 = ∞. (362) Then PCA has zero asymptotic squared overlap with e e e for every fixed α ∈ ( 0 , ∞ ) \alpha\in(0,\infty) α ∈ ( 0 , ∞ ) .
Proof. The companion Stieltjes transform of N N T NN^\mathsf{T} N N T satisfies the Silverstein–Pastur equation [50 ] , with convention m ( z ) = ∫ ( λ − z ) − 1 F ( d λ ) m(z)=\int(\lambda-z)^{-1}F(\mathrm{d}\lambda) m ( z ) = ∫ ( λ − z ) − 1 F ( d λ ) :
m ( z ) = − ( z − 1 α E γ γ 1 + γ m ( z ) ) − 1 . (363) m(z)=-\left(z-\frac{1}{\alpha}\mathbb{E}_\gamma\frac{\gamma}{1+\gamma m(z)}\right)^{-1}. \tag*{(363)} m ( z ) = − ( z − α 1 E γ 1 + γ m ( z ) γ ) − 1 . (363) On the upper outside-support branch, setting t = − 1 / m ( z ) > γ + t=-1/m(z)>\gamma_+ t = − 1/ m ( z ) > γ + gives
z = ψ α ( t ) : = t ( 1 + 1 α E γ γ t − γ ) , ψ α ′ ( t ) = 1 − 1 α E γ γ 2 ( t − γ ) 2 . (364) z=\psi_\alpha(t):=t\left(1+\frac{1}{\alpha}\mathbb{E}_\gamma\frac{\gamma}{t-\gamma}\right),\qquad\psi_\alpha'(t)=1-\frac{1}{\alpha}\mathbb{E}_\gamma\frac{\gamma^2}{(t-\gamma)^2}. \tag*{(364)} z = ψ α ( t ) := t ( 1 + α 1 E γ t − γ γ ) , ψ α ′ ( t ) = 1 − α 1 E γ ( t − γ ) 2 γ 2 . (364) The second condition in (E.10) ensures a unique t e > γ + t_e>\gamma_+ t e > γ + with ψ α ′ ( t e ) = 0 \psi_\alpha'(t_e)=0 ψ α ′ ( t e ) = 0 for every finite α > 0 \alpha>0 α > 0 . Furthermore ψ α ′ ′ ( t e ) = 2 α − 1 E γ [ γ 2 / ( t e − γ ) 3 ] > 0 \psi_\alpha''(t_e)=2\alpha^{-1}\mathbb{E}_\gamma[\gamma^2/(t_e-\gamma)^3]>0 ψ α ′′ ( t e ) = 2 α − 1 E γ [ γ 2 / ( t e − γ ) 3 ] > 0 . The support characterization of Silverstein and Choi [50 ] then gives a regular upper population edge b α = ψ α ( t e ) b_\alpha=\psi_\alpha(t_e) b α = ψ α ( t e ) with a square-root density. The empirical noise spectrum converges to this law, and s 1 ( N ) → b α s_1(N)\to b_\alpha s 1 ( N ) → b α : the bounded population variances have no outliers beyond their support, so the no-eigenvalues-outside-the-support theorem applies [51 ] . A bounded Gaussian matrix norm controls the remaining unbounded part of the spectral axis.
For a singular-value argument s > b α s>b_\alpha s > b α , let q d ( s ) q_d(s) q d ( s ) and q n ( s ) q_n(s) q n ( s ) be the limits of the normalized traces of s ( s 2 I d − N T N ) − 1 s(s^2I_d-N^\mathsf{T}N)^{-1} s ( s 2 I d − N T N ) − 1 and s ( s 2 I n − N N T ) − 1 s(s^2I_n-NN^\mathsf{T})^{-1} s ( s 2 I n − N N T ) − 1 , respectively. Their product is the rectangular D D D -transform in Benaych-Georges
and Nadakuditi [29 ] ; using both traces automatically includes the zero singular values on the larger side. At s 2 = ψ α ( t ) s^2=\psi_\alpha(t) s 2 = ψ α ( t ) ,
g d ( s ) = t s E γ 1 t − γ , g n ( s ) = s t , D α ( s ) = g d ( s ) g n ( s ) = E γ 1 t − γ . (365) g_d(s)=\frac{t}{s}\mathbb{E}_\gamma\frac{1}{t-\gamma},\qquad g_n(s)=\frac{s}{t},\qquad D_\alpha(s)=g_d(s)g_n(s)=\mathbb{E}_\gamma\frac{1}{t-\gamma}. \tag*{(365)} g d ( s ) = s t E γ t − γ 1 , g n ( s ) = t s , D α ( s ) = g d ( s ) g n ( s ) = E γ t − γ 1 . (365)
In particular,
β D α ( b α + ) = β E γ 1 t e − γ < β m + < 1. (366) \beta D_\alpha(b_\alpha^+)=\beta\mathbb{E}_\gamma\frac{1}{t_e-\gamma}<\beta m_+<1. \tag*{(366)} β D α ( b α + ) = β E γ t e − γ 1 < β m + < 1. (366)
The perturbation in (E.3) is exactly the independent Gaussian rank-one i.i.d. spike model of Benaych-Georges and Nadakuditi [29 ] , with strength β \sqrt{\beta} β . Its singular-vector transition theorem gives vanishing projections onto the spike vectors below the threshold, provided the singular resolvent derivative diverges at the edge. The square-root density just verified implies this derivative condition. Both left and right projections vanish, so the conclusion also holds when α > 1 \alpha>1 α > 1 and the matrix is transposed to place the smaller dimension first. Normalizing u ⋆ / d u^\star/\sqrt{d} u ⋆ / d to e e e changes the overlap by a factor converging to one. This proves the eigenvector conclusion, rather than merely absence of a separated eigenvalue.
For reference, if (E.9) has a root t > γ + t>\gamma_+ t > γ + , define J j = E γ [ γ j / ( t − γ ) 2 ] J_j=\mathbb{E}_\gamma[\gamma^j/(t-\gamma)^2] J j = E γ [ γ j / ( t − γ ) 2 ] and B = E γ [ γ / ( t − γ ) ] B=\mathbb{E}_\gamma[\gamma/(t-\gamma)] B = E γ [ γ / ( t − γ )] . On the regular separated sample branch, (E.12) requires α > J 2 \alpha>J_2 α > J 2 , and the same singular-vector formula gives
α c P C A = J 2 , θ u ⋆ , P C A 2 = 1 − J 2 / α β 2 J 0 ( 1 + B / α ) , α > J 2 . (367) \alpha_c^{\mathrm{PCA}}=J_2,\qquad\theta_{u^\star,\mathrm{PCA}}^2=\frac{1-J_2/\alpha}{\beta^2J_0(1+B/\alpha)},\qquad\alpha>J_2. \tag*{(367)} α c PCA = J 2 , θ u ⋆ , PCA 2 = β 2 J 0 ( 1 + B / α ) 1 − J 2 / α , α > J 2 . (367)
Explicitly, that formula is − 2 g d ( s ) / ( β D α ′ ( s ) ) -2g_d(s)/(\beta D_\alpha'(s)) − 2 g d ( s ) / ( β D α ′ ( s )) at the outlier. Using D α ′ ( s ) = − 2 s J 0 / ψ α ′ ( t ) D_\alpha'(s)=-2sJ_0/\psi_\alpha'(t) D α ′ ( s ) = − 2 s J 0 / ψ α ′ ( t ) and g d ( s ) = t / ( β s ) g_d(s)=t/(\beta s) g d ( s ) = t / ( β s ) gives (E.15). Substitution of P γ = δ 1 P_\gamma=\delta_1 P γ = δ 1 , t = 1 + β t=1+\beta t = 1 + β recovers (E.5).
Exact mask average and radial reduction
For the masking proof assume only that P γ P_\gamma P γ is supported in [ a , γ + ] ⊂ ( 0 , ∞ ) [a,\gamma_+]\subset(0,\infty) [ a , γ + ] ⊂ ( 0 , ∞ ) and has mean one. Fix ρ ∈ ( 0 , 1 ) \rho\in(0,1) ρ ∈ ( 0 , 1 ) . For a generic mask, suppress the sample and view indices and write χ i ∼ i i d Bernoulli ( ρ ) \chi_i\mathrel{\overset{\mathrm{iid}}{\sim}}\operatorname{Bernoulli}(\rho) χ i ∼ iid Bernoulli ( ρ ) , with χ i = 1 \chi_i=1 χ i = 1 marking a hidden coordinate. Define r v i s = ( ( 1 − χ i ) r i ) i \boldsymbol{r}_{\mathrm{vis}}=((1-\chi_i)r_i)_i r vis = (( 1 − χ i ) r i ) i , r m a s k = ( χ i r i ) i \boldsymbol{r}_{\mathrm{mask}}=(\chi_i r_i)_i r mask = ( χ i r i ) i , and m m a s k = ∥ r m a s k ∥ 2 m_{\mathrm{mask}}=\|\boldsymbol{r}_{\mathrm{mask}}\|^2 m mask = ∥ r mask ∥ 2 . The hidden predictions from the linear encoder are Q r m a s k ( r v i s T x ) Q\boldsymbol{r}_{\mathrm{mask}}(\boldsymbol{r}_{\mathrm{vis}}^\mathsf{T}\boldsymbol{x}) Q r mask ( r vis T x ) . Expanding the squared loss and averaging over masks gives exactly
R ^ d y n ( Q , r ) = H ^ ( r ) Q 2 − 2 C ^ ( r ) Q , H ^ ( r ) = E χ [ m m a s k r v i s T Σ ^ r v i s ] , C ^ ( r ) = E χ [ r v i s T Σ ^ r m a s k ] . (368) \widehat{R}_{\mathrm{dyn}}(Q,\boldsymbol{r})=\widehat{H}(\boldsymbol{r})Q^2-2\widehat{C}(\boldsymbol{r})Q,
\qquad
\widehat{H}(\boldsymbol{r})=\mathbb{E}_{\chi}[m_{\mathrm{mask}}\boldsymbol{r}_{\mathrm{vis}}^\mathsf{T}\widehat{\Sigma}\boldsymbol{r}_{\mathrm{vis}}],
\qquad
\widehat{C}(\boldsymbol{r})=\mathbb{E}_{\chi}[\boldsymbol{r}_{\mathrm{vis}}^\mathsf{T}\widehat{\Sigma}\boldsymbol{r}_{\mathrm{mask}}]. \tag*{(368)} R dyn ( Q , r ) = H ( r ) Q 2 − 2 C ( r ) Q , H ( r ) = E χ [ m mask r vis T Σ r vis ] , C ( r ) = E χ [ r vis T Σ r mask ] . (368)
after subtracting the mask-averaged target-only constant. For H ^ > 0 \widehat{H}>0 H > 0 , optimizing Q ≥ 0 Q\geq0 Q ≥ 0 yields
Q ⋆ ( r ) = [ C ^ ( r ) ] + H ^ ( r ) , inf Q ≥ 0 R ^ d y n ( Q , r ) = − S ^ ( r ) , S ^ ( r ) = [ C ^ ( r ) ] + 2 H ^ ( r ) . (369) Q_\star(\boldsymbol{r})=\frac{[\widehat{C}(\boldsymbol{r})]_+}{\widehat{H}(\boldsymbol{r})},
\qquad
\inf_{Q\geq0}\widehat{R}_{\mathrm{dyn}}(Q,\boldsymbol{r})=-\widehat{S}(\boldsymbol{r}),
\qquad
\widehat{S}(\boldsymbol{r})=\frac{[\widehat{C}(\boldsymbol{r})]_+^2}{\widehat{H}(\boldsymbol{r})}. \tag*{(369)} Q ⋆ ( r ) = H ( r ) [ C ( r ) ] + , Q ≥ 0 inf R dyn ( Q , r ) = − S ( r ) , S ( r ) = H ( r ) [ C ( r ) ] + 2 . (369)
Coordinate directions have H ^ = C ^ = 0 \widehat{H}=\widehat{C}=0 H = C = 0 and score zero. On the positive-definite covariance event used below, these are the only directions with zero denominator. No replacement of a mask mass by its mean is used in this reduction.
Population score gap, including localized directions
Let H , C , S H,C,S H , C , S be the conditional population versions at fixed u ⋆ , Γ ⋆ u^\star,\Gamma^\star u ⋆ , Γ ⋆ , obtained by replacing Σ ^ \widehat{\Sigma} Σ with Σ d \Sigma_d Σ d . Set
c = e T r , I = ∑ i r i 4 , J = ∑ i r i 2 e i 2 , δ d = max i e i 2 . (370) c=e^\mathsf{T}r,\qquad I=\sum_i r_i^4,\qquad J=\sum_i r_i^2e_i^2,\qquad\delta_d=\max_i e_i^2. \tag*{(370)} c = e T r , I = i ∑ r i 4 , J = i ∑ r i 2 e i 2 , δ d = i max e i 2 . (370)
The disjoint visible and hidden sets make r v i s T Γ ⋆ r m a s k = 0 r_{\mathrm{vis}}^\mathsf{T}\Gamma^\star r_{\mathrm{mask}}=0 r vis T Γ ⋆ r mask = 0 exactly. Thus
C ( r ) = ρ ( 1 − ρ ) β d ( c 2 − J ) , H ( r ) ≥ a E χ [ m m a s k ( 1 − m m a s k ) ] = a ρ ( 1 − ρ ) ( 1 − I ) . (371) C(r)=\rho(1-\rho)\beta_d(c^2-J),\qquad H(r)\geq a\mathbb{E}_{\chi}[m_{\mathrm{mask}}(1-m_{\mathrm{mask}})]=a\rho(1-\rho)(1-I). \tag*{(371)} C ( r ) = ρ ( 1 − ρ ) β d ( c 2 − J ) , H ( r ) ≥ a E χ [ m mask ( 1 − m mask )] = a ρ ( 1 − ρ ) ( 1 − I ) . (371)
The first identity isolates the cross-coordinate signal; the noise remains in the positive quartic coefficient H H H .
Lemma E.5 (Control of localization). For unit vectors r , e r,e r , e , with c , I , J c,I,J c , I , J as above and δ = max i e i 2 \delta=\max_i e_i^2 δ = max i e i 2 ,
[ c 2 − J ] + 2 1 − I ≤ 8 ( c 2 + δ ) , (372) \frac{[c^2-J]_+^2}{1-I}\le8(c^2+\delta), \tag*{(372)} 1 − I [ c 2 − J ] + 2 ≤ 8 ( c 2 + δ ) , (372) where the left side is defined to be zero at coordinate directions.
Proof. Only D 1 = c 2 − J > 0 D_1=c^2-J>0 D 1 = c 2 − J > 0 needs consideration. If m = max i r i 2 ≤ 1 / 2 m=\max_i r_i^2\le1/2 m = max i r i 2 ≤ 1/2 , then I ≤ 1 / 2 I\le1/2 I ≤ 1/2 and D 1 2 / ( 1 − I ) ≤ 2 c 4 ≤ 2 c 2 D_1^2/(1-I)\le2c^4\le2c^2 D 1 2 / ( 1 − I ) ≤ 2 c 4 ≤ 2 c 2 . Otherwise let r k 2 = m > 1 / 2 r_k^2=m>1/2 r k 2 = m > 1/2 and R = 1 − m R=1-m R = 1 − m . Then 1 − I ≥ 2 m R ≥ R 1-I\ge2mR\ge R 1 − I ≥ 2 m R ≥ R . Writing z = r k e k z=r_ke_k z = r k e k , y = ∑ i ≠ k r i e i y=\sum_{i\ne k}r_ie_i y = ∑ i = k r i e i gives D 1 = 2 z y + y 2 − ∑ i ≠ k r i 2 e i 2 D_1=2zy+y^2-\sum_{i\ne k}r_i^2e_i^2 D 1 = 2 z y + y 2 − ∑ i = k r i 2 e i 2 and D 1 ≤ 2 δ R + R D_1\le2\sqrt{\delta R}+R D 1 ≤ 2 δ R + R . If R ≥ c 2 R\ge c^2 R ≥ c 2 , use D 1 ≤ c 2 D_1\le c^2 D 1 ≤ c 2 to obtain D 1 2 / ( 1 − I ) ≤ c 2 D_1^2/(1-I)\le c^2 D 1 2 / ( 1 − I ) ≤ c 2 . If R < c 2 R<c^2 R < c 2 , use D 1 2 / ( 1 − I ) ≤ ( 2 δ + R ) 2 ≤ 8 δ + 2 R ≤ 8 ( δ + c 2 ) D_1^2/(1-I)\le(2\sqrt{\delta}+\sqrt{R})^2\le8\delta+2R\le8(\delta+c^2) D 1 2 / ( 1 − I ) ≤ ( 2 δ + R ) 2 ≤ 8 δ + 2 R ≤ 8 ( δ + c 2 ) . At R = 0 R=0 R = 0 the direction is a coordinate vector and D 1 = 0 D_1=0 D 1 = 0 .
Combining (E.19) and (E.20) gives the uniform estimate
S ( r ) ≤ 8 β d 2 ρ ( 1 − ρ ) a ( c 2 + δ d ) . (373) S(r)\le\frac{8\beta_d^2\rho(1-\rho)}{a}(c^2+\delta_d). \tag*{(373)} S ( r ) ≤ a 8 β d 2 ρ ( 1 − ρ ) ( c 2 + δ d ) . (373)
For the Gaussian teacher, β d → β \beta_d\to\beta β d → β , δ d → 0 \delta_d\to0 δ d → 0 , and e T Γ ⋆ e → 1 e^{\mathsf T}\Gamma^\star e\to1 e T Γ ⋆ e → 1 in probability. The teacher score is bounded away from zero: its cross coefficient tends to ρ ( 1 − ρ ) β \rho(1-\rho)\beta ρ ( 1 − ρ ) β , and its quartic coefficient has noise part
ρ ( 1 − ρ ) ( e T Γ ⋆ e − ∑ i γ i ⋆ 2 e i 4 ) → ρ ( 1 − ρ ) . (374) \rho(1-\rho)\left(e^{\mathsf T}\Gamma^\star e-\sum_i\gamma_i^{\star2}e_i^4\right)\to\rho(1-\rho). \tag*{(374)} ρ ( 1 − ρ ) ( e T Γ ⋆ e − i ∑ γ i ⋆ 2 e i 4 ) → ρ ( 1 − ρ ) . (374)
For the signal part, e v i s T e = 1 − m m a s k e_{\mathrm{vis}}^{\mathsf T}e=1-m_{\mathrm{mask}} e vis T e = 1 − m mask and Var χ ( m m a s k ) = ρ ( 1 − ρ ) ∑ i e i 4 → 0 \operatorname{Var}_{\chi}(m_{\mathrm{mask}})=\rho(1-\rho)\sum_i e_i^4\to0 Var χ ( m mask ) = ρ ( 1 − ρ ) ∑ i e i 4 → 0 , so that β d E χ [ m m a s k ( 1 − m m a s k ) 2 ] → β ρ ( 1 − ρ ) 2 \beta_d\mathbb{E}_{\chi}[m_{\mathrm{mask}}(1-m_{\mathrm{mask}})^2]\to\beta\rho(1-\rho)^2 β d E χ [ m mask ( 1 − m mask ) 2 ] → β ρ ( 1 − ρ ) 2 . Consequently
S ( e ) ⟶ g : = ρ ( 1 − ρ ) β 2 1 + β ( 1 − ρ ) > 0. (375) S(e)\longrightarrow g:=\frac{\rho(1-\rho)\beta^2}{1+\beta(1-\rho)}>0. \tag*{(375)} S ( e ) ⟶ g := 1 + β ( 1 − ρ ) ρ ( 1 − ρ ) β 2 > 0. (375)
Define the relative covariance error
ε d = ∥ Σ d − 1 / 2 Σ ^ Σ d − 1 / 2 − I ∥ o p . (376) \varepsilon_d=\left\|\Sigma_d^{-1/2}\widehat{\Sigma}\Sigma_d^{-1/2}-I\right\|_{\mathrm{op}}. \tag*{(376)} ε d = Σ d − 1/2 Σ Σ d − 1/2 − I op . (376)
Conditionally on the teacher and variances, the whitened covariance is standard Gaussian Wishart. Its extreme eigenvalue limits [52 ] give, for α > 1 \alpha>1 α > 1 ,
ε d ⟶ ε α = 2 / α + 1 / α (377) \varepsilon_d\longrightarrow\varepsilon_\alpha=2/\sqrt{\alpha}+1/\alpha \tag*{(377)} ε d ⟶ ε α = 2/ α + 1/ α (377)
in probability.
On ε d < 1 \varepsilon_d<1 ε d < 1 , the relative quadratic-form bound immediately gives
( 1 − ε d ) H ( r ) ≤ H ^ ( r ) ≤ ( 1 + ε d ) H ( r ) . (378) (1-\varepsilon_d)H(r)\le\widehat{H}(r)\le(1+\varepsilon_d)H(r). \tag*{(378)} ( 1 − ε d ) H ( r ) ≤ H ( r ) ≤ ( 1 + ε d ) H ( r ) . (378)
For Δ Σ = Σ ^ − Σ d \Delta_\Sigma=\widehat{\Sigma}-\Sigma_d Δ Σ = Σ − Σ d , the corresponding bilinear inequality is
∣ x T Δ Σ y ∣ ≤ ε d x T Σ d x y T Σ d y . (379) \left|x^{\mathsf T}\Delta_\Sigma y\right|\le\varepsilon_d\sqrt{x^{\mathsf T}\Sigma_dx}\sqrt{y^{\mathsf T}\Sigma_dy}. \tag*{(379)} x T Δ Σ y ≤ ε d x T Σ d x y T Σ d y . (379)
Apply it to r v i s , r m a s k r_{\mathrm{vis}},r_{\mathrm{mask}} r vis , r mask . For m m a s k > 0 m_{\mathrm{mask}}>0 m mask > 0 , rewrite the product as m m a s k r v i s T Σ d r v i s r m a s k T Σ d r m a s k / m m a s k \sqrt{m_{\mathrm{mask}}r_{\mathrm{vis}}^{\mathsf T}\Sigma_dr_{\mathrm{vis}}}\sqrt{r_{\mathrm{mask}}^{\mathsf T}\Sigma_dr_{\mathrm{mask}}/m_{\mathrm{mask}}} m mask r vis T Σ d r vis r mask T Σ d r mask / m mask . The second factor is at most ∥ Σ d ∥ o p \sqrt{\|\Sigma_d\|_{\mathrm{op}}} ∥ Σ d ∥ op ; when m m a s k = 0 m_{\mathrm{mask}}=0 m mask = 0 the bilinear form is zero. Cauchy–Schwarz over masks therefore yields
∣ C ^ ( r ) − C ( r ) ∣ ≤ ε d H ( r ) ∥ Σ d ∥ o p . (380) \left|\widehat{C}(r)-C(r)\right|\le\varepsilon_d\sqrt{H(r)}\|\Sigma_d\|_{\mathrm{op}}. \tag*{(380)} C ( r ) − C ( r ) ≤ ε d H ( r ) ∥ Σ d ∥ op . (380)
These estimates hold simultaneously for all directions and imply
S ^ ( r ) ≤ S ( r ) + ε d ∥ Σ d ∥ o p 1 − ε d , \sqrt{\widehat{S}(r)}\le\frac{\sqrt{S(r)}+\varepsilon_d\sqrt{\|\Sigma_d\|_{\mathrm{op}}}}{\sqrt{1-\varepsilon_d}}, S ( r ) ≤ 1 − ε d S ( r ) + ε d ∥ Σ d ∥ op ,
S ^ ( r ) ≥ S ( r ) − ε d ∥ Σ d ∥ o p 1 + ε d (381) \sqrt{\widehat{S}(r)}\ge\frac{\sqrt{S(r)}-\varepsilon_d\sqrt{\|\Sigma_d\|_{\mathrm{op}}}}{\sqrt{1+\varepsilon_d}} \tag*{(381)} S ( r ) ≥ 1 + ε d S ( r ) − ε d ∥ Σ d ∥ op (381)
if C ( r ) > 0 C(r)>0 C ( r ) > 0 and the numerator is positive.
Theorem E.6 (Global dynamic linear recovery at finite sample ratio). For every mean-one law supported in [ a , γ + ] ⊂ ( 0 , ∞ ) [a,\gamma_{+}] \subset(0,\infty) [ a , γ + ] ⊂ ( 0 , ∞ ) , fixed β > 0 \beta> 0 β > 0 , and ρ ∈ ( 0 , 1 ) \rho\in(0,1) ρ ∈ ( 0 , 1 ) , define
g = ρ ( 1 − ρ ) β 2 1 + β ( 1 − ρ ) , η = a 512 [ 1 + β ( 1 − ρ ) ] , g = \frac{\rho(1-\rho)\beta^{2}}{1+\beta(1-\rho)}, \qquad\eta= \frac{a}{512[1+\beta(1-\rho)]}, g = 1 + β ( 1 − ρ ) ρ ( 1 − ρ ) β 2 , η = 512 [ 1 + β ( 1 − ρ )] a , ε ∗ = min { 1 4 , g 16 γ + + β + 1 } , A s u f f = 1 ( 1 + ε ∗ − 1 ) 2 . (382) \varepsilon_{*} = \min\left\{\frac{1}{4}, \frac{\sqrt{g}}{16\sqrt{\gamma_{+}+\beta+1}}\right\}, \qquad A_{\mathrm{suff}} = \frac{1}{(\sqrt{1+\varepsilon_{*}}-1)^{2}}. \tag*{(382)} ε ∗ = min { 4 1 , 16 γ + + β + 1 g } , A suff = ( 1 + ε ∗ − 1 ) 2 1 . (382) If n / d → α > A s u f f n/d \to\alpha> A_{\mathrm{suff}} n / d → α > A suff , then with probability tending to one the exact ridgeless dynamic linear objective has a global minimizer, and every global minimizer has ∣ e ⊤ r ∣ 2 ≥ η |\mathbf{e}^{\top}\mathbf{r}|^{2} \ge\eta ∣ e ⊤ r ∣ 2 ≥ η .
Proof. Put C 0 = 8 β 2 ρ ( 1 − ρ ) / a C_{0}=8\beta^{2}\rho(1-\rho)/a C 0 = 8 β 2 ρ ( 1 − ρ ) / a , so that η = g / ( 64 C 0 ) \eta=g/(64C_{0}) η = g / ( 64 C 0 ) . The population estimates imply, with probability tending to one,
sup c 2 ≤ η S ( r ) ≤ g / 16 , S ( e ) ≥ 3 g / 4 , ∥ Σ d ∥ o p ≤ γ + + β + 1. (383) \sup_{c^{2}\leq\eta} S(r) \leq g/16, \qquad S(e) \geq3g/4, \qquad\lVert\Sigma_{d}\rVert_{\mathrm{op}} \leq\gamma_{+}+\beta+1. \tag*{(383)} c 2 ≤ η sup S ( r ) ≤ g /16 , S ( e ) ≥ 3 g /4 , ∥ Σ d ∥ op ≤ γ + + β + 1. (383)
Solving 2 / α + 1 / α < ε ∗ 2/\sqrt{\alpha}+1/\alpha< \varepsilon_{*} 2/ α + 1/ α < ε ∗ gives exactly α > A s u f f \alpha> A_{\mathrm{suff}} α > A suff . By (E.25), on an event of probability tending to one, ε d < ε ∗ \varepsilon_{d}<\varepsilon_{*} ε d < ε ∗ as well. The uniform comparisons then yield
sup c 2 ≤ η S ^ ( r ) ≤ ( 1 / 4 + 1 / 16 ) g 3 / 4 < ( 3 / 4 − 1 / 16 ) g 5 / 4 ≤ S ^ ( e ) . (384) \sup_{c^{2}\leq\eta}\sqrt{\widehat{S}(r)}
\leq\frac{(1/4+1/16)\sqrt{g}}{\sqrt{3/4}}
< \frac{(\sqrt{3/4}-1/16)\sqrt{g}}{\sqrt{5/4}}
\leq\sqrt{\widehat{S}(e)}. \tag*{(384)} c 2 ≤ η sup S ( r ) ≤ 3/4 ( 1/4 + 1/16 ) g < 5/4 ( 3/4 − 1/16 ) g ≤ S ( e ) . (384)
Thus no maximizing direction can have squared overlap at most η \eta η .
To verify attainment, for large d d d every coordinate direction has squared teacher overlap at most δ d < η \delta_{d}<\eta δ d < η . On the compact set { ∥ r ∥ = 1 : c 2 ≥ η } \{\lVert r\rVert=1:c^{2}\geq\eta\} {∥ r ∥ = 1 : c 2 ≥ η } the positive lower bound for H H H and the relative comparison ensure H > 0 H>0 H > 0 . The score is continuous there and attains its maximum. The strict gap (E.32) makes this a maximum over all directions. Its score is positive, so its radial optimum in (E.17) is finite and positive. The zero vector and coordinate directions cannot be global minimizers. The radial identity proves the conclusion for every global weight minimizer.
This proof uses only a population score gap and relative covariance control. It does not require the exact population maximizing direction, uniqueness of a resolvent equation for that direction, or a uniform delocalization assumption on candidate empirical weights. The factor ∥ Σ d ∥ o p \lVert\Sigma_{d}\rVert_{\mathrm{op}} ∥ Σ d ∥ op in (E.29) explains why this sufficient bound does not extend directly to unbounded variances. App. § 13 .§ 2 removes that factor by normalizing the off-diagonal error with the actual masking penalty, and proves recovery for variance laws bounded away from zero with finite second moment.
Proof of Theorem 3.1 . Under (A1) and (A2), Theorem E.7 applies whether or not the variance support is bounded. It gives existence of global minimizers and the positive-overlap guarantee with constants depending only on a a a , β \beta β , ρ \rho ρ , as stated in the main theorem. For bounded support, Theorem E.6 also supplies the alternative sufficient constants in (E.30).
If the variance support is unbounded, Proposition E.2 gives zero PCA overlap for every fixed α > 0 \alpha>0 α > 0 . If instead the bounded-noise conditions (A3) hold, Proposition E.4 gives the same conclusion. The exact identity (E.4) transfers this failure to full linear reconstruction. Combining the applicable PCA obstruction with masked recovery proves the separation on the same Gaussian data model and variance law.
Examples within the bounded-support class
Choose P γ P_{\gamma} P γ from the family
P γ ( d γ ) = r + 1 ( γ + − a ) r + 1 ( γ + − γ ) r 1 { a < γ < γ + } d γ , (385) P_{\gamma}(\mathrm{d}\gamma)=\frac{r+1}{(\gamma_{+}-a)^{r+1}}(\gamma_{+}-\gamma)^{r}\mathbf{1}_{\{a<\gamma<\gamma_{+}\}}\,\mathrm{d}\gamma, \tag*{(385)} P γ ( d γ ) = ( γ + − a ) r + 1 r + 1 ( γ + − γ ) r 1 { a < γ < γ + } d γ , (385)
0 < a < 1 , 0 < r ≤ 1 , γ + = ( r + 2 ) − ( r + 1 ) a . 0<a<1,\qquad0<r\leq1,\qquad\gamma_{+}=(r+2)-(r+1)a. 0 < a < 1 , 0 < r ≤ 1 , γ + = ( r + 2 ) − ( r + 1 ) a .
Direct integration gives E γ γ = a + ( γ + − a ) / ( r + 2 ) = 1 \mathbb{E}_{\gamma}\gamma=a+(\gamma_{+}-a)/(r+2)=1 E γ γ = a + ( γ + − a ) / ( r + 2 ) = 1 and
m + = r + 1 r ( γ + − a ) , E γ γ 2 ( γ + − γ ) 2 = ∞ . (386) m_{+}=\frac{r+1}{r(\gamma_{+}-a)},\qquad\mathbb{E}_{\gamma}\frac{\gamma^{2}}{(\gamma_{+}-\gamma)^{2}}=\infty. \tag*{(386)} m + = r ( γ + − a ) r + 1 , E γ ( γ + − γ ) 2 γ 2 = ∞. (386)
The latter follows from the endpoint power ( γ + − γ ) r − 2 (\gamma_{+}-\gamma)^{r-2} ( γ + − γ ) r − 2 . Consequently, if
0 < β < r ( r + 2 ) ( 1 − a ) r + 1 , (387) 0<\beta<\frac{r(r+2)(1-a)}{r+1}, \tag*{(387)} 0 < β < r + 1 r ( r + 2 ) ( 1 − a ) , (387)
Proposition E.4 proves PCA failure at every fixed sample ratio, while Theorem E.6 proves dynamic masking recovery for every fixed ρ ∈ ( 0 , 1 ) \rho\in(0,1) ρ ∈ ( 0 , 1 ) at sufficiently large finite sample ratio. This is a class result; no particular density is needed for the dynamic theorem itself.
For a concrete numerical illustration, take a = 1 / 4 a=1/4 a = 1/4 , r = 1 r=1 r = 1 , γ + = 5 / 2 \gamma_{+}=5/2 γ + = 5/2 , and β = 1 \beta=1 β = 1 . The resulting law is
P γ ( d γ ) = 32 81 ( 5 2 − γ ) 1 { 1 / 4 < γ < 5 / 2 } d γ . (388) P_{\gamma}(\mathrm{d}\gamma)=\frac{32}{81}\left(\frac{5}{2}-\gamma\right)\mathbf{1}_{\{1/4<\gamma<5/2\}}\,\mathrm{d}\gamma. \tag*{(388)} P γ ( d γ ) = 81 32 ( 2 5 − γ ) 1 { 1/4 < γ < 5/2 } d γ . (388)
This variance law is the bounded-noise example in Figure 2 (b); the general theorem does not depend on this choice. Its moments are
E γ γ = 1 , κ 2 = 41 / 32 , κ 3 = 617 / 320 , m + = 8 / 9. (389) \mathbb{E}_{\gamma}\gamma=1,\qquad\kappa_{2}=41/32,\qquad\kappa_{3}=617/320,\qquad m_{+}=8/9. \tag*{(389)} E γ γ = 1 , κ 2 = 41/32 , κ 3 = 617/320 , m + = 8/9. (389)
The strict signal condition is 1 < 9 / 8 1<9/8 1 < 9/8 , so this law is one instance of Theorem 3.1 . For an entirely explicit sufficient choice, take ρ = 1 / 2 \rho=1/2 ρ = 1/2 . Then g = 1 / 6 g=1/6 g = 1/6 , η = 1 / 3072 \eta=1/3072 η = 1/3072 , and ε ∗ = 1 / ( 48 3 ) \varepsilon_{*}=1/(48\sqrt{3}) ε ∗ = 1/ ( 48 3 ) . Every α ≥ 30000 \alpha\geq30000 α ≥ 30000 satisfies
ε α ≤ 1 50 3 + 1 30000 < 1 48 3 = ε ∗ . (390) \varepsilon_{\alpha}\leq\frac{1}{50\sqrt{3}}+\frac{1}{30000}<\frac{1}{48\sqrt{3}}=\varepsilon_{*}. \tag*{(390)} ε α ≤ 50 3 1 + 30000 1 < 48 3 1 = ε ∗ . (390)
These conservative constants certify a finite proportional sample size.
The failure criterion is not universal over heterogeneous laws. For example, an atom at the upper endpoint makes m + = ∞ m_{+}=\infty m + = ∞ , so a mean-one two-point law has a population outlier for every β > 0 \beta>0 β > 0 and PCA eventually recovers as α \alpha α increases. The separation concerns ordinary PCA and the specified full-reconstruction architecture, rather than spectral estimators designed to correct heterogeneous noise.
Rigorous dynamic linear recovery with unbounded coordinate noise
The upper bound on the variance support in Theorem E.6 can be removed. The essential improvement is to control the off-diagonal sampling error relative to the noise penalty already present in the exact masking objective. This avoids the factor ∥ Σ d ∥ o p \lVert\Sigma_d\rVert_{\mathrm{op}} ∥ Σ d ∥ op in Eq. (E.29). All results in this subsection concern the original tied linear architecture and the exact mask-averaged empirical objective; no clipping, reweighting, or restriction on the candidate weights is introduced.
Statement and assumptions
Use the Gaussian model and notation of (E.2). Suppose
γ i ∗ ∼ i i d P γ , P γ ( [ a , ∞ ) ) = 1 for some a > 0 , E γ γ = 1 , E γ γ 2 < ∞ . (391) \gamma_i^{*}\mathrel{\overset{\mathrm{iid}}{\sim}}P_{\gamma},\qquad P_{\gamma}([a,\infty))=1\quad\text{for some }a>0,\qquad\mathbb{E}_{\gamma}\gamma=1,\qquad\mathbb{E}_{\gamma}\gamma^{2}<\infty. \tag*{(391)} γ i ∗ ∼ iid P γ , P γ ([ a , ∞ )) = 1 for some a > 0 , E γ γ = 1 , E γ γ 2 < ∞. (391)
The variance law is fixed as d d d grows, is independent of the Gaussian teacher and sample variables, and may have unbounded support. Fix β > 0 \beta>0 β > 0 , ρ ∈ ( 0 , 1 ) \rho\in(0,1) ρ ∈ ( 0 , 1 ) , and λ R = 0 \lambda_R=0 λ R = 0 .
Theorem E.7 (Recovery without an upper variance bound). Under (E.39), there is a finite deterministic A ( a , β , ρ ) A(a,\beta,\rho) A ( a , β , ρ ) such that, whenever n / d → α > A ( a , β , ρ ) n/d\to\alpha>A(a,\beta,\rho) n / d → α > A ( a , β , ρ ) , with probability tending to one the exact dynamic linear objective has a global minimizer and every global minimizer satisfies
θ u 2 ≥ η : = a 512 [ 1 + β ( 1 − ρ ) ] > 0. (392) \theta_u^2\geq\eta:=\frac{a}{512[1+\beta(1-\rho)]}>0. \tag*{(392)} θ u 2 ≥ η := 512 [ 1 + β ( 1 − ρ )] a > 0. (392) If P γ P_{\gamma} P γ also has unbounded support, full linear reconstruction and PCA have squared overlap converging to zero for every fixed α > 0 \alpha>0 α > 0 and β > 0 \beta>0 β > 0 .
The second assertion follows from Proposition E.2 . The first is proved below. The sufficient sample ratio is non-sharp and the result does not assert convergence of an optimization algorithm. Neither the law nor its support needs to change with α \alpha α , β \beta β , or ρ \rho ρ . The constants in the asymptotic sufficient bound below do not depend on an upper support endpoint; the dimension required to reach its high-probability regime can depend on the variance law.
A variance-sensitive lower bound on the score denominator
Recall the exact radial reduction in (E.16)–(E.17): writing w = d Q r w=\sqrt{dQ}\,r w = d Q r with ∥ r ∥ = 1 \lVert r\rVert=1 ∥ r ∥ = 1 and minimizing over Q ≥ 0 Q\ge0 Q ≥ 0 reduces the recovery problem to maximizing the directional score
S ^ ( r ) = [ C ^ ( r ) ] 2 H ^ ( r ) . \widehat{S}(r)=\frac{[\widehat{C}(r)]^{2}}{\widehat{H}(r)}. S ( r ) = H ( r ) [ C ( r ) ] 2 .
Here C ^ \widehat{C} C and H ^ \widehat{H} H are the empirical coefficients defined in (E.16); their conditional population counterparts C , H C,H C , H are obtained by replacing Σ ^ \widehat{\Sigma} Σ by Σ d \Sigma_d Σ d , with the teacher and variances held fixed. The score is defined to be zero at coordinate directions. These exact identities do not require an upper bound on the coordinate variances.
To transfer the population score gap to the empirical score, we will control H ^ \widehat{H} H relative to H H H and the numerator error ∣ C ^ − C ∣ / H |\widehat{C}-C|/\sqrt{H} ∣ C − C ∣/ H ; the square root appears because we compare S ^ \sqrt{\widehat{S}} S with S \sqrt{S} S . The purpose of this subsection is to retain a lower bound on H H H that grows with the variances in the candidate direction. This will allow large sampling errors to be controlled relative to the score denominator.
Write off ( M ) = M − diag ( M ) \operatorname{off}(M)=M-\operatorname{diag}(M) off ( M ) = M − diag ( M ) . For a unit direction r r r , let
D Γ ( r ) : = ∑ i γ i ⋆ r i 2 ( 1 − r i 2 ) , I ( r ) : = ∑ i r i 4 . (393) D_{\Gamma}(r):=\sum_i \gamma_i^\star r_i^2(1-r_i^2),\qquad I(r):=\sum_i r_i^4. \tag*{(393)} D Γ ( r ) := i ∑ γ i ⋆ r i 2 ( 1 − r i 2 ) , I ( r ) := i ∑ r i 4 . (393)
This noise penalty satisfies D Γ ≥ a ( 1 − I ) D_{\Gamma}\ge a(1-I) D Γ ≥ a ( 1 − I ) and is positive except at coordinate directions. The exact mask identities give
C ^ ( r ) = ρ ( 1 − ρ ) r T off ( Σ ^ ) r , H ( r ) ≥ ρ ( 1 − ρ ) D Γ ( r ) . (394) \widehat{C}(r)=\rho(1-\rho)r^{\mathsf T}\operatorname{off}(\widehat{\Sigma})r,\qquad H(r)\ge\rho(1-\rho)D_{\Gamma}(r). \tag*{(394)} C ( r ) = ρ ( 1 − ρ ) r T off ( Σ ) r , H ( r ) ≥ ρ ( 1 − ρ ) D Γ ( r ) . (394)
The second inequality retains the actual coordinate variances rather than replacing them by their common lower bound. Its noise contribution is exactly ρ ( 1 − ρ ) D Γ \rho(1-\rho)D_{\Gamma} ρ ( 1 − ρ ) D Γ ; the signal contribution to H H H is nonnegative. Thus D Γ D_{\Gamma} D Γ is a lower bound on the population score denominator, up to the factor ρ ( 1 − ρ ) \rho(1-\rho) ρ ( 1 − ρ ) , rather than the denominator itself. It suffices to bound the off-diagonal covariance error after division by D Γ ( r ) \sqrt{D_{\Gamma}(r)} D Γ ( r ) . The next subsection establishes this bound for the noise contribution; (E.62) then gives the required control of ∣ C ^ − C ∣ / H |\widehat{C}-C|/\sqrt{H} ∣ C − C ∣/ H for the full covariance.
Uniform control of the noise sampling error
We first study the noise-noise part of the off-diagonal covariance error. Use the n × d n\times d n × d matrix Z = ( z μ i ) Z=(z_{\mu i}) Z = ( z μ i ) from App. B.1 and set
E d : = off ( ( Γ ⋆ ) 1 / 2 Z T Z ( Γ ⋆ ) 1 / 2 / n ) , γ + , d = max i γ i ⋆ , s d = tr Γ ⋆ n . (395) E_d:=\operatorname{off}\left((\Gamma^\star)^{1/2}Z^{\mathsf T}Z(\Gamma^\star)^{1/2}/n\right),\qquad\gamma_{+,d}=\max_i\gamma_i^\star,\qquad s_d=\frac{\operatorname{tr}\Gamma^\star}{n}. \tag*{(395)} E d := off ( ( Γ ⋆ ) 1/2 Z T Z ( Γ ⋆ ) 1/2 / n ) , γ + , d = i max γ i ⋆ , s d = n tr Γ ⋆ . (395)
Here γ + , d \gamma_{+,d} γ + , d is the finite-sample maximum, distinct from the deterministic support endpoint γ + \gamma_+ γ + , which may be infinite. The population off-diagonal noise covariance is zero. Finite second moment and the law of large numbers imply
s d → α − 1 , tr [ ( Γ ⋆ ) 2 ] = O P ( d ) , γ + , d = O P ( d ) , γ + , d log d n → 0. (396) s_d\to\alpha^{-1},\qquad\operatorname{tr}[(\Gamma^\star)^2]=O_P(d),\qquad\gamma_{+,d}=O_P(\sqrt{d}),\qquad\frac{\gamma_{+,d}\log d}{n}\to0. \tag*{(396)} s d → α − 1 , tr [( Γ ⋆ ) 2 ] = O P ( d ) , γ + , d = O P ( d ) , n γ + , d log d → 0. (396)
For the third assertion, for each fixed ε > 0 \varepsilon>0 ε > 0 , Pr ( γ + , d > ε d ) ≤ d Pr ( γ > ε d ) → 0 \Pr(\gamma_{+,d}>\varepsilon\sqrt{d})\le d\Pr(\gamma>\varepsilon\sqrt{d})\to0 Pr ( γ + , d > ε d ) ≤ d Pr ( γ > ε d ) → 0 , since t 2 Pr ( γ > t ) → 0 t^2\Pr(\gamma>t)\to0 t 2 Pr ( γ > t ) → 0 when E γ γ 2 < ∞ \mathbb{E}_{\gamma}\gamma^2<\infty E γ γ 2 < ∞ .
Lemma E.8 (Noise error normalized by the masking penalty). There is an absolute finite constant C 1 C_1 C 1 such that, for each fixed α > 1 \alpha>1 α > 1 ,
sup ∥ r ∥ = 1 , D Γ ( r ) > 0 ∣ r T E d r ∣ D Γ ( r ) ≤ C 1 ( α − 1 / 2 + α − 1 α ) + o P ( 1 ) . (397) \sup_{\substack{\lVert r\rVert=1,\\D_{\Gamma}(r)>0}}\frac{\lvert r^{\mathsf T}E_dr\rvert}{\sqrt{D_{\Gamma}(r)}}\le C_1\left(\alpha^{-1/2}+\frac{\alpha^{-1}}{\sqrt{\alpha}}\right)+o_P(1). \tag*{(397)} ∥ r ∥ = 1 , D Γ ( r ) > 0 sup D Γ ( r ) ∣ r T E d r ∣ ≤ C 1 ( α − 1/2 + α α − 1 ) + o P ( 1 ) . (397) The supremum includes data-dependent and localized directions.
Proof. We first establish a bound using r T Γ ⋆ r r^{\mathsf T}\Gamma^\star r r T Γ ⋆ r and then treat directions near a coordinate axis separately.
A uniform quadratic-form bound. For t > 0 t > 0 t > 0 , define the diagonal matrices
P t = ( Γ ⋆ + t I ) − 1 / 2 , A t = P t Γ ⋆ P t , ∥ A t ∥ o p ≤ 1 , tr A t ≤ tr Γ ⋆ / t . (398) P_t = (\Gamma^\star+ tI)^{-1/2}, \qquad A_t = P_t\Gamma^\star P_t, \qquad\lVert A_t\rVert_{\mathrm{op}} \le1, \qquad\operatorname{tr} A_t \le\operatorname{tr}\Gamma^\star/t. \tag*{(398)} P t = ( Γ ⋆ + t I ) − 1/2 , A t = P t Γ ⋆ P t , ∥ A t ∥ op ≤ 1 , tr A t ≤ tr Γ ⋆ / t . (398)
Fix t > 0 t > 0 t > 0 and condition on Γ ⋆ \Gamma^\star Γ ⋆ . For z μ = ( z μ 1 , … , z μ d ) ⊤ z_\mu= (z_{\mu1},\ldots,z_{\mu d})^\top z μ = ( z μ 1 , … , z μ d ) ⊤ , the transformed samples y μ ( t ) = P t ( Γ ⋆ ) 1 / 2 z μ y_\mu^{(t)} = P_t(\Gamma^\star)^{1/2}z_\mu y μ ( t ) = P t ( Γ ⋆ ) 1/2 z μ are conditionally i.i.d. N ( 0 , A t ) \mathcal{N}(0,A_t) N ( 0 , A t ) . Their sample covariance A ^ t = n − 1 ∑ μ y μ ( t ) ( y μ ( t ) ) ⊤ \widehat{A}_t = n^{-1}\sum_\mu y_\mu^{(t)}(y_\mu^{(t)})^\top A t = n − 1 ∑ μ y μ ( t ) ( y μ ( t ) ) ⊤ therefore satisfies
A ^ t − A t = P t ( ( Γ ⋆ ) 1 / 2 Z ⊤ Z n ( Γ ⋆ ) 1 / 2 − Γ ⋆ ) P t . (399) \widehat{A}_t-A_t=P_t\left((\Gamma^\star)^{1/2}\frac{Z^\top Z}{n}(\Gamma^\star)^{1/2}-\Gamma^\star\right)P_t. \tag*{(399)} A t − A t = P t ( ( Γ ⋆ ) 1/2 n Z ⊤ Z ( Γ ⋆ ) 1/2 − Γ ⋆ ) P t . (399)
By Jensen’s inequality, E [ ∥ y μ ( t ) ∥ 2 ∣ Γ ⋆ ] ≤ E [ ∥ y μ ( t ) ∥ 2 ∣ Γ ⋆ ] = tr A t \mathbb{E}[\lVert y_\mu^{(t)}\rVert^2\mid\Gamma^\star]\leq\mathbb{E}[\lVert y_\mu^{(t)}\rVert^2\mid\Gamma^\star]=\operatorname{tr}A_t E [∥ y μ ( t ) ∥ 2 ∣ Γ ⋆ ] ≤ E [∥ y μ ( t ) ∥ 2 ∣ Γ ⋆ ] = tr A t . Thus the effective rank in Corollary 2 of Koltchinskii and Lounici [53 ] is at most tr ( A t ) / ∥ A t ∥ o p \operatorname{tr}(A_t)/\lVert A_t\rVert_{\mathrm{op}} tr ( A t ) / ∥ A t ∥ op . Applying that corollary and bounding its maximum by a sum gives, for every confidence parameter ω ≥ 1 \omega\geq1 ω ≥ 1 , with conditional probability at least 1 − e − ω 1-e^{-\omega} 1 − e − ω ,
∥ A ^ t − A t ∥ o p ≤ C [ ∥ A t ∥ o p tr ( A t ) n + tr ( A t ) n + ∥ A t ∥ o p ω n + ∥ A t ∥ o p ω n ] . (400) \lVert\widehat{A}_t-A_t\rVert_{\mathrm{op}}\leq C\left[\sqrt{\frac{\lVert A_t\rVert_{\mathrm{op}}\operatorname{tr}(A_t)}{n}}+\frac{\operatorname{tr}(A_t)}{n}+\lVert A_t\rVert_{\mathrm{op}}\sqrt{\frac{\omega}{n}}+\frac{\lVert A_t\rVert_{\mathrm{op}}\omega}{n}\right]. \tag*{(400)} ∥ A t − A t ∥ op ≤ C [ n ∥ A t ∥ op tr ( A t ) + n tr ( A t ) + ∥ A t ∥ op n ω + n ∥ A t ∥ op ω ] . (400)
Here C C C is universal. Using the bounds on ∥ A t ∥ o p \lVert A_t\rVert_{\mathrm{op}} ∥ A t ∥ op and tr A t \operatorname{tr} A_t tr A t above, together with (E.47), yields
∥ P t ( ( Γ ⋆ ) 1 / 2 Z ⊤ Z n ( Γ ⋆ ) 1 / 2 − Γ ⋆ ) P t ∥ o p ≤ C [ s d t + s d t + ω n + ω n ] . (401) \left\lVert P_t\left((\Gamma^\star)^{1/2}\frac{Z^\top Z}{n}(\Gamma^\star)^{1/2}-\Gamma^\star\right)P_t\right\rVert_{\mathrm{op}}
\leq C\left[\sqrt{\frac{s_d}{t}}+\frac{s_d}{t}+\sqrt{\frac{\omega}{n}}+\frac{\omega}{n}\right]. \tag*{(401)} P t ( ( Γ ⋆ ) 1/2 n Z ⊤ Z ( Γ ⋆ ) 1/2 − Γ ⋆ ) P t op ≤ C [ t s d + t s d + n ω + n ω ] . (401)
For a symmetric matrix M M M , ∥ off ( M ) ∥ o p ≤ 2 ∥ M ∥ o p \lVert\operatorname{off}(M)\rVert_{\mathrm{op}}\leq2\lVert M\rVert_{\mathrm{op}} ∥ off ( M ) ∥ op ≤ 2 ∥ M ∥ op . Because P t P_t P t and Γ ⋆ \Gamma^\star Γ ⋆ are diagonal, off ( A ^ t − A t ) = P t E d P t \operatorname{off}(\widehat{A}_t-A_t)=P_tE_dP_t off ( A t − A t ) = P t E d P t , so the same bound with 2 C 2C 2 C controls ∥ P t E d P t ∥ o p \lVert P_tE_dP_t\rVert_{\mathrm{op}} ∥ P t E d P t ∥ op .
To choose the preconditioning scale according to a possibly data-dependent direction, we first make the bound simultaneous over a finite grid. Use the grid t j = a 2 j t_j=a2^j t j = a 2 j , from a a a up to its first value at least γ + , d \gamma_{+,d} γ + , d , and take ω = 4 log d \omega=4\log d ω = 4 log d . On γ + , d ≤ d \gamma_{+,d}\leq d γ + , d ≤ d , which has probability tending to one, this grid has O ( log d ) O(\log d) O ( log d ) points. The grid depends only on Γ ⋆ \Gamma^\star Γ ⋆ , which is fixed under the conditioning; it does not depend on Z Z Z or on the candidate direction. Its conditional failure probability is at most O ( log d ) d − 4 O(\log d)d^{-4} O ( log d ) d − 4 . A conditional union bound makes (E.49) simultaneous on the grid with probability tending to one. Averaging over Γ ⋆ \Gamma^\star Γ ⋆ and adding Pr ( γ + , d > d ) = o ( 1 ) \Pr(\gamma_{+,d}>d)=o(1) Pr ( γ + , d > d ) = o ( 1 ) gives the same unconditional conclusion. On this simultaneous event, for any unit r r r , put g r = r ⊤ Γ ⋆ r ∈ [ a , γ + , d ] g_r=r^\top\Gamma^\star r\in[a,\gamma_{+,d}] g r = r ⊤ Γ ⋆ r ∈ [ a , γ + , d ] and choose a grid point g r ≤ t j ≤ 2 g r g_r\leq t_j\leq2g_r g r ≤ t j ≤ 2 g r . Then r ⊤ ( Γ ⋆ + t j I ) r ≤ 3 g r r^\top(\Gamma^\star+t_jI)r\leq3g_r r ⊤ ( Γ ⋆ + t j I ) r ≤ 3 g r , and therefore
∣ r ⊤ E d r ∣ g r ≤ 6 C [ s d + s d a + γ + , d ( ω n + ω n ) ] . (402) \frac{\lvert r^\top E_dr\rvert}{\sqrt{g_r}}\leq6C\left[\sqrt{s_d}+\frac{s_d}{\sqrt{a}}+\sqrt{\gamma_{+,d}}\left(\sqrt{\frac{\omega}{n}}+\frac{\omega}{n}\right)\right]. \tag*{(402)} g r ∣ r ⊤ E d r ∣ ≤ 6 C [ s d + a s d + γ + , d ( n ω + n ω ) ] . (402)
By (E.44), the last term vanishes in probability. Consequently, with
T d : = sup ∥ r ∥ = 1 ∣ r ⊤ E d r ∣ r ⊤ Γ ⋆ r , (403) T_d:=\sup_{\lVert r\rVert=1}\frac{\lvert r^\top E_dr\rvert}{\sqrt{r^\top\Gamma^\star r}}, \tag*{(403)} T d := ∥ r ∥ = 1 sup r ⊤ Γ ⋆ r ∣ r ⊤ E d r ∣ , (403)
we have T d ≤ 6 C ( α − 1 / 2 + a − 1 / 2 α − 1 ) + o P ( 1 ) T_d\leq6C(\alpha^{-1/2}+a^{-1/2}\alpha^{-1})+o_{\mathbb{P}}(1) T d ≤ 6 C ( α − 1/2 + a − 1/2 α − 1 ) + o P ( 1 ) . By homogeneity, every vector v v v obeys
∣ v ⊤ E d v ∣ ≤ T d ∥ v ∥ v ⊤ Γ ⋆ v . (404) \lvert v^\top E_dv\rvert\leq T_d\lVert v\rVert\sqrt{v^\top\Gamma^\star v}. \tag*{(404)} ∣ v ⊤ E d v ∣ ≤ T d ∥ v ∥ v ⊤ Γ ⋆ v . (404)
A simultaneous row bound. Let f i f_i f i denote coordinate vector i i i and let z i = Z : , i ∈ R n z_i=Z_{:,i}\in\mathbb{R}^n z i = Z : , i ∈ R n be column i i i of Z Z Z . Conditional on Γ ⋆ , z i \Gamma^\star,z_i Γ ⋆ , z i , the variables z i ⊤ z j / ∥ z i ∥ z_i^\top z_j/\lVert z_i\rVert z i ⊤ z j / ∥ z i ∥ , j ≠ i j\ne i j = i , are independent standard Gaussians. Hence
∥ E d f i ∥ 2 γ i ⋆ = l a w ∥ z i ∥ 2 n 1 n ∑ j ≠ i γ j ⋆ ξ j 2 , (405) \frac{\lVert E_df_i\rVert^2}{\gamma_i^\star}\mathrel{\stackrel{\mathrm{law}}{=}}\frac{\lVert z_i\rVert^2}{n}\frac{1}{n}\sum_{j\ne i}\gamma_j^\star\xi_j^2, \tag*{(405)} γ i ⋆ ∥ E d f i ∥ 2 = law n ∥ z i ∥ 2 n 1 j = i ∑ γ j ⋆ ξ j 2 , (405)
where the equality in law is conditional on Γ ⋆ , z i \Gamma^\star,z_i Γ ⋆ , z i . For independent standard Gaussians ξ j \xi_j ξ j , their moment-generating function gives
Pr { ∑ j γ j ⋆ ( ξ j 2 − 1 ) > 2 ω ∑ j ( γ j ⋆ ) 2 + 2 γ + , d ω ∣ Γ ⋆ } ≤ e − ω . (406) \Pr\left\{\left.\sum_j\gamma_j^\star(\xi_j^2-1)>2\sqrt{\omega\sum_j(\gamma_j^\star)^2}+2\gamma_{+,d}\omega\right|\Gamma^\star\right\}\leq e^{-\omega}. \tag*{(406)} Pr ⎩ ⎨ ⎧ j ∑ γ j ⋆ ( ξ j 2 − 1 ) > 2 ω j ∑ ( γ j ⋆ ) 2 + 2 γ + , d ω Γ ⋆ ⎭ ⎬ ⎫ ≤ e − ω . (406)
Indeed, for 0 < s < ( 2 γ + , d ) − 1 0 < s < (2\gamma_{+,d})^{-1} 0 < s < ( 2 γ + , d ) − 1 , the logarithm of the centered moment-generating function is at most s 2 ∑ j ( γ j ⋆ ) 2 / ( 1 − 2 s γ + , d ) s^2 \sum_j(\gamma_j^\star)^2/(1-2s\gamma_{+,d}) s 2 ∑ j ( γ j ⋆ ) 2 / ( 1 − 2 s γ + , d ) ; Chernoff’s inequality gives the displayed bound. Apply it to each row with ω = 4 log d \omega= 4\log d ω = 4 log d and combine it with the analogous bound for ∥ z i ∥ 2 \|z_i\|^2 ∥ z i ∥ 2 . With conditional probability at least 1 − 2 d e − ω 1-2de^{-\omega} 1 − 2 d e − ω , simultaneously for all rows,
W d 2 ≤ ( 1 + 2 ω / n + 2 ω / n ) ( s d + 2 ω tr [ ( Γ ⋆ ) 2 ] n + 2 γ + , d ω n ) . (407) W_d^2 \leq\left(1+2\sqrt{\omega/n}+2\omega/n\right)\left(s_d+\frac{2\sqrt{\omega\operatorname{tr}[(\Gamma^\star)^2]}}{n}+\frac{2\gamma_{+,d}\omega}{n}\right). \tag*{(407)} W d 2 ≤ ( 1 + 2 ω / n + 2 ω / n ) ( s d + n 2 ω tr [( Γ ⋆ ) 2 ] + n 2 γ + , d ω ) . (407)
Here W d W_d W d is defined in the next display. This conditional union bound and (E.44) yield
W d : = max i ∥ E d f i ∥ γ i ⋆ ≤ α − 1 / 2 + o P ( 1 ) . (408) W_d := \max_i \frac{\|E_d f_i\|}{\sqrt{\gamma_i^\star}} \leq\alpha^{-1/2}+o_{\mathbb{P}}(1). \tag*{(408)} W d := i max γ i ⋆ ∥ E d f i ∥ ≤ α − 1/2 + o P ( 1 ) . (408)
No independence between different rows’ events is required.
Including directions concentrated on a coordinate. If max i r i 2 ≤ 1 / 2 \max_i r_i^2 \leq1/2 max i r i 2 ≤ 1/2 , then D Γ ( r ) ≥ g r / 2 D_\Gamma(r) \geq g_r/2 D Γ ( r ) ≥ g r /2 and the normalized error is at most 2 T d \sqrt{2}T_d 2 T d . Otherwise, let r i 2 = m > 1 / 2 r_i^2=m>1/2 r i 2 = m > 1/2 and write r = r i f i + v r=r_i f_i+v r = r i f i + v , where v i = 0 v_i=0 v i = 0 and R = ∥ v ∥ 2 = 1 − m R=\|v\|^2=1-m R = ∥ v ∥ 2 = 1 − m . Put g v = v ⊤ Γ ⋆ v g_v=v^\top\Gamma^\star v g v = v ⊤ Γ ⋆ v . Since 1 − v j 2 ≥ m 1-v_j^2\geq m 1 − v j 2 ≥ m for j ≠ i j\ne i j = i ,
D Γ ( r ) ≥ γ i ⋆ m R + m g v . (409) D_\Gamma(r) \geq\gamma_i^\star mR+mg_v. \tag*{(409)} D Γ ( r ) ≥ γ i ⋆ m R + m g v . (409)
The diagonal of E d E_d E d is zero, so
∣ r ⊤ E d r ∣ ≤ 2 W d γ i ⋆ m R + T d R g v . (410) |r^\top E_d r| \leq2W_d\sqrt{\gamma_i^\star mR}+T_d\sqrt{Rg_v}. \tag*{(410)} ∣ r ⊤ E d r ∣ ≤ 2 W d γ i ⋆ m R + T d R g v . (410)
Dividing by D Γ ( r ) \sqrt{D_\Gamma(r)} D Γ ( r ) bounds this by 2 W d + T d 2W_d+T_d 2 W d + T d , because R < m R<m R < m . At coordinate directions the numerator is exactly zero. Thus the supremum is at most 2 T d + 2 W d 2T_d+2W_d 2 T d + 2 W d . The preceding bounds prove (E.45), for example with C 1 = 12 C + 2 C_1=12C+2 C 1 = 12 C + 2 .
Adding the signal and transferring the score gap
The sample covariance decomposes exactly as
Σ ^ − Σ d = ( Γ ⋆ ) 1 / 2 ( Z Z ⊤ / n − I ) ( Γ ⋆ ) 1 / 2 + β d ( e t ⊤ + t e ⊤ ) + β d ( q λ − 1 ) e e ⊤ , \widehat{\Sigma}-\Sigma_d=(\Gamma^\star)^{1/2}(ZZ^\top/n-I)(\Gamma^\star)^{1/2}+\sqrt{\beta_d}(et^\top+te^\top)+\beta_d(q_\lambda-1)ee^\top, Σ − Σ d = ( Γ ⋆ ) 1/2 ( Z Z ⊤ / n − I ) ( Γ ⋆ ) 1/2 + β d ( e t ⊤ + t e ⊤ ) + β d ( q λ − 1 ) e e ⊤ ,
q λ = ∥ λ ∥ 2 / n , t = ( Γ ⋆ ) 1 / 2 Z ⊤ λ / n . (411) q_\lambda=\|\lambda\|^2/n,\qquad t=(\Gamma^\star)^{1/2}Z^\top\lambda/n. \tag*{(411)} q λ = ∥ λ ∥ 2 / n , t = ( Γ ⋆ ) 1/2 Z ⊤ λ / n . (411)
Here q λ → 1 q_\lambda\to1 q λ → 1 , β d → β \beta_d\to\beta β d → β , and ∥ t ∥ 2 → α − 1 \|t\|^2\to\alpha^{-1} ∥ t ∥ 2 → α − 1 in probability. To see the last assertion, condition on Γ ⋆ , λ \Gamma^\star,\lambda Γ ⋆ , λ : t t t is Gaussian with covariance q λ Γ ⋆ / n q_\lambda\Gamma^\star/n q λ Γ ⋆ / n . Its squared norm has conditional mean q λ s d → α − 1 q_\lambda s_d\to\alpha^{-1} q λ s d → α − 1 and conditional variance 2 q λ 2 tr [ ( Γ ⋆ ) 2 ] / n 2 → 0 2q_\lambda^2\operatorname{tr}[(\Gamma^\star)^2]/n^2\to0 2 q λ 2 tr [( Γ ⋆ ) 2 ] / n 2 → 0 .
For unit r r r , the Frobenius-norm identity is ∥ off ( r r ⊤ ) ∥ F = 1 − I ( r ) \|\operatorname{off}(rr^\top)\|_{\mathrm F}=\sqrt{1-I(r)} ∥ off ( r r ⊤ ) ∥ F = 1 − I ( r ) . Frobenius Cauchy–Schwarz and D Γ ≥ a ( 1 − I ) D_\Gamma\geq a(1-I) D Γ ≥ a ( 1 − I ) give
∣ r ⊤ off ( e t ⊤ + t e ⊤ ) r ∣ D Γ ( r ) ≤ 2 ∥ t ∥ a , ∣ r ⊤ off ( e e ⊤ ) r ∣ D Γ ( r ) ≤ 1 a . (412) \frac{|r^\top\operatorname{off}(et^\top+te^\top)r|}{\sqrt{D_\Gamma(r)}}\leq\frac{2\|t\|}{\sqrt{a}},
\qquad
\frac{|r^\top\operatorname{off}(ee^\top)r|}{\sqrt{D_\Gamma(r)}}\leq\frac{1}{\sqrt{a}}. \tag*{(412)} D Γ ( r ) ∣ r ⊤ off ( e t ⊤ + t e ⊤ ) r ∣ ≤ a 2∥ t ∥ , D Γ ( r ) ∣ r ⊤ off ( e e ⊤ ) r ∣ ≤ a 1 . (412)
Combining this with Lemma E.8 proves
sup ∥ r ∥ = 1 , D Γ > 0 ∣ r ⊤ off ( Σ ^ − Σ d ) r ∣ D Γ ( r ) ≤ B α + o P ( 1 ) , \sup_{\|r\|=1,\;D_\Gamma>0}\frac{|r^\top\operatorname{off}(\widehat{\Sigma}-\Sigma_d)r|}{\sqrt{D_\Gamma(r)}}\leq B_\alpha+o_{\mathbb{P}}(1), ∥ r ∥ = 1 , D Γ > 0 sup D Γ ( r ) ∣ r ⊤ off ( Σ − Σ d ) r ∣ ≤ B α + o P ( 1 ) ,
B α : = C 1 ( α − 1 / 2 + a − 1 / 2 α − 1 ) + 2 β a α . (413) B_\alpha:=C_1\left(\alpha^{-1/2}+a^{-1/2}\alpha^{-1}\right)+2\sqrt{\frac{\beta}{a\alpha}}. \tag*{(413)} B α := C 1 ( α − 1/2 + a − 1/2 α − 1 ) + 2 a α β . (413)
In particular, B α → 0 B_\alpha\to0 B α → 0 as α → ∞ \alpha\to\infty α → ∞ , with no upper variance bound. The mask identities now imply, simultaneously over all non-coordinate directions,
∣ C ^ ( r ) − C ( r ) ∣ H ( r ) ≤ ρ ( 1 − ρ ) [ B α + o P ( 1 ) ] . (414) \frac{|\widehat{C}(r)-C(r)|}{\sqrt{H(r)}}\leq\sqrt{\rho(1-\rho)}\left[B_\alpha+o_{\mathbb{P}}(1)\right]. \tag*{(414)} H ( r ) ∣ C ( r ) − C ( r ) ∣ ≤ ρ ( 1 − ρ ) [ B α + o P ( 1 ) ] . (414)
The relative Wishart bound (E.25) remains valid: conditionally on u ⋆ , Γ ⋆ u^\star,\Gamma^\star u ⋆ , Γ ⋆ , the samples are Gaussian with covariance Σ d \Sigma_d Σ d . Hence ( 1 − ε d ) H ≤ H ^ ≤ ( 1 + ε d ) H (1-\varepsilon_d)H\le\widehat{H}\le(1+\varepsilon_d)H ( 1 − ε d ) H ≤ H ≤ ( 1 + ε d ) H , with ε d → 2 / α + 1 / α \varepsilon_d\to2/\sqrt{\alpha}+1/\alpha ε d → 2/ α + 1/ α . Define the actual uniform cross-coefficient error
b d : = sup ∥ r ∥ = 1 , H ( r ) > 0 ∣ C ^ ( r ) − C ( r ) ∣ H ( r ) ≤ ρ ( 1 − ρ ) B α + o P ( 1 ) . (415) b_d:=\sup_{\lVert r\rVert=1,\ H(r)>0}\frac{\left|\widehat{C}(r)-C(r)\right|}{\sqrt{H(r)}}\le\sqrt{\rho(1-\rho)}B_\alpha+o_{\mathbb{P}}(1). \tag*{(415)} b d := ∥ r ∥ = 1 , H ( r ) > 0 sup H ( r ) C ( r ) − C ( r ) ≤ ρ ( 1 − ρ ) B α + o P ( 1 ) . (415)
The score comparison is therefore
S ^ ( r ) ≤ S ( r ) + b d 1 − ε d , S ^ ( e ) ≥ S ( e ) − b d 1 + ε d , (416) \sqrt{\widehat{S}(r)}\le\frac{\sqrt{S(r)}+b_d}{\sqrt{1-\varepsilon_d}},
\qquad
\sqrt{\widehat{S}(e)}\ge\frac{\sqrt{S(e)}-b_d}{\sqrt{1+\varepsilon_d}}, \tag*{(416)} S ( r ) ≤ 1 − ε d S ( r ) + b d , S ( e ) ≥ 1 + ε d S ( e ) − b d , (416)
where the lower bound is used when its numerator is positive.
Proof of Theorem E.7 . The population localization bound (E.21) uses only Γ ⋆ ⪰ a I \Gamma^\star\succeq aI Γ ⋆ ⪰ a I , so it remains valid. The teacher score limit (E.23) also remains valid: the law of large numbers gives e ⊤ Γ ⋆ e → 1 e^\top\Gamma^\star e\to1 e ⊤ Γ ⋆ e → 1 , and ∑ i γ i ⋆ e i 2 ≤ ( max i e i 2 ) e ⊤ Γ ⋆ e → 0 \sum_i\gamma_i^\star e_i^2\le(\max_i e_i^2)e^\top\Gamma^\star e\to0 ∑ i γ i ⋆ e i 2 ≤ ( max i e i 2 ) e ⊤ Γ ⋆ e → 0 . Thus, with g = ρ ( 1 − ρ ) β 2 / ( 1 + β ( 1 − ρ ) ) g=\rho(1-\rho)\beta^2/(1+\beta(1-\rho)) g = ρ ( 1 − ρ ) β 2 / ( 1 + β ( 1 − ρ )) and η \eta η from (E.40), with probability tending to one,
sup ∣ e ⊤ r ∣ 2 ≤ η S ( r ) ≤ g / 16 , S ( e ) ≥ 3 g / 4. (417) \sup_{\lvert e^\top r\rvert^2\le\eta}S(r)\le g/16,\qquad S(e)\ge3g/4. \tag*{(417)} ∣ e ⊤ r ∣ 2 ≤ η sup S ( r ) ≤ g /16 , S ( e ) ≥ 3 g /4. (417)
For a finite sufficient bound, define
C a , β = C 1 ( 1 + a − 1 / 2 ) + 2 β / a , C_{a,\beta}=C_1(1+a^{-1/2})+2\sqrt{\beta/a}, C a , β = C 1 ( 1 + a − 1/2 ) + 2 β / a ,
A ( a , β , ρ ) = max { 100 , 1024 C a , β 2 [ 1 + β ( 1 − ρ ) ] β 2 } . (418) A(a,\beta,\rho)=\max\left\{100,\frac{1024C_{a,\beta}^2[1+\beta(1-\rho)]}{\beta^2}\right\}. \tag*{(418)} A ( a , β , ρ ) = max { 100 , β 2 1024 C a , β 2 [ 1 + β ( 1 − ρ )] } . (418)
For α > A \alpha>A α > A , one has ε α < 1 / 4 \varepsilon_\alpha<1/4 ε α < 1/4 and B α ≤ C a , β / α < β / [ 32 1 + β ( 1 − ρ ) ] B_\alpha\le C_{a,\beta}/\sqrt{\alpha}<\beta/[32\sqrt{1+\beta(1-\rho)}] B α ≤ C a , β / α < β / [ 32 1 + β ( 1 − ρ ) ] . Consequently, with probability tending to one, ε d < 1 / 4 \varepsilon_d<1/4 ε d < 1/4 and b d < g / 16 b_d<\sqrt{g}/16 b d < g /16 . Equations (E.64) and (E.65) yield the strict empirical gap
sup ∣ e ⊤ r ∣ 2 ≤ η S ^ ( r ) ≤ ( 1 / 4 + 1 / 16 ) g 3 / 4 < ( 3 / 4 − 1 / 16 ) g 5 / 4 ≤ S ^ ( e ) . (419) \sup_{\lvert e^\top r\rvert^2\le\eta}\sqrt{\widehat{S}(r)}
\le\frac{(1/4+1/16)\sqrt{g}}{\sqrt{3/4}}
<\frac{(\sqrt{3/4}-1/16)\sqrt{g}}{\sqrt{5/4}}
\le\sqrt{\widehat{S}(e)}. \tag*{(419)} ∣ e ⊤ r ∣ 2 ≤ η sup S ( r ) ≤ 3/4 ( 1/4 + 1/16 ) g < 5/4 ( 3/4 − 1/16 ) g ≤ S ( e ) . (419)
This excludes every low-overlap direction, including directions chosen adaptively from the data.
For attainment, max i e i 2 < η \max_i e_i^2<\eta max i e i 2 < η with probability tending to one. The compact set { ∥ r ∥ = 1 : ∣ e ⊤ r ∣ 2 ≥ η } \{\lVert r\rVert=1:\lvert e^\top r\rvert^2\ge\eta\} {∥ r ∥ = 1 : ∣ e ⊤ r ∣ 2 ≥ η } then contains no coordinate direction. On this set, D Γ > 0 D_\Gamma>0 D Γ > 0 , and the relative covariance event makes H ^ > 0 \widehat{H}>0 H > 0 . The continuous score attains its maximum there. The strict empirical gap makes this a global maximum with positive score. Its radial optimizer Q ⋆ = [ C ^ ] + / H ^ Q^\star=[\widehat{C}]_+/\widehat{H} Q ⋆ = [ C ] + / H is finite and positive by (E.17). Coordinate directions and the zero weight have zero centered improvement and cannot minimize globally. This proves existence and the overlap assertion for every global minimizer. □
The sufficient sample ratio in (E.66) has, up to universal multiplicative constants, the dependence A ( a , β , ρ ) ≍ 1 + ( 1 + β ) [ 1 + β ( 1 − ρ ) ] / ( a β 2 ) A(a,\beta,\rho)\asymp1+(1+\beta)[1+\beta(1-\rho)]/(a\beta^2) A ( a , β , ρ ) ≍ 1 + ( 1 + β ) [ 1 + β ( 1 − ρ )] / ( a β 2 ) , since a ≤ 1 a\le1 a ≤ 1 . Holding the other parameters fixed, this bound scales as β − 2 \beta^{-2} β − 2 for weak signal and as a − 1 a^{-1} a − 1 when the lower variance bound vanishes; it remains bounded as β → ∞ \beta\to\infty β → ∞ . These describe the chosen sufficient bound, not a sharp recovery threshold. Its conservatism reflects uniform control over all candidate directions, lower bounds on the masking penalty, and the numerical margins used to preserve the score gap. The variance law’s second moment enters the vanishing remainder terms rather than this leading bound; the dimension needed for the high-probability guarantee can therefore depend on the law.
One fixed unbounded example Take
γ = ( 1 + ξ e x p ) / 2 , ξ e x p ∼ Exp ( 1 ) . (420) \gamma=(1+\xi_{\mathrm{exp}})/2,\qquad\xi_{\mathrm{exp}}\sim\operatorname{Exp}(1). \tag*{(420)} γ = ( 1 + ξ exp ) /2 , ξ exp ∼ Exp ( 1 ) . (420)
Then a = 1 / 2 a=1/2 a = 1/2 , E γ = 1 \mathbb{E}\gamma=1 E γ = 1 , κ 2 = 5 / 4 \kappa_2=5/4 κ 2 = 5/4 , and κ 3 = 2 \kappa_3=2 κ 3 = 2 . This one variance law has unbounded support and satisfies all assumptions of Theorem E.7 . For every fixed β > 0 \beta>0 β > 0 and ρ ∈ ( 0 , 1 ) \rho\in(0,1) ρ ∈ ( 0 , 1 ) , dynamic linear masking recovers at every sufficiently large fixed α \alpha α , whereas PCA and full linear reconstruction fail at every fixed α > 0 \alpha>0 α > 0 . The required sufficient α \alpha α may depend on β \beta β and ρ \rho ρ ; it is not uniform as β ↓ 0 \beta\downarrow0 β ↓ 0 .
Bayes-optimal pretraining and AMP
The benchmark in this appendix conditions on the realized variance labels and uses priors matched to the data-generating model. We derive its scalar state evolution and specialize the bipartite AMP of Lesieur et al. [35 ] in App. F.5. The calculation of variance consistency below is distinct from a proof that an estimated-variance algorithm attains the same benchmark.
Mapping to bipartite low-rank estimation
We map the heteroskedastic spiked model to the bipartite low-rank output-channel formulation of [42 ] :
x μ i = β d λ μ u i ⋆ + γ i ⋆ z μ i , μ = 1 , … , n , i = 1 , … , d , (421) x_{\mu i} = \sqrt{\frac{\beta}{d}}\,\lambda_\mu u_i^\star+ \sqrt{\gamma_i^\star}\,z_{\mu i}, \qquad\mu= 1,\ldots,n,\quad i = 1,\ldots,d, \tag*{(421)} x μ i = d β λ μ u i ⋆ + γ i ⋆ z μ i , μ = 1 , … , n , i = 1 , … , d , (421)
with
n d ⟶ α , λ μ ∼ i i d P λ , u i ⋆ ∼ i i d P u , γ i ⋆ ∼ i i d P γ , z μ i ∼ i i d N ( 0 , 1 ) . (422) \frac{n}{d} \longrightarrow\alpha,\qquad\lambda_\mu\overset{\mathrm{iid}}{\sim} P_\lambda,\qquad u_i^\star\overset{\mathrm{iid}}{\sim} P_u,\qquad\gamma_i^\star\overset{\mathrm{iid}}{\sim} P_\gamma,\qquad z_{\mu i} \overset{\mathrm{iid}}{\sim} \mathcal{N}(0,1). \tag*{(422)} d n ⟶ α , λ μ ∼ iid P λ , u i ⋆ ∼ iid P u , γ i ⋆ ∼ iid P γ , z μ i ∼ iid N ( 0 , 1 ) . (422)
We assume throughout that
E [ u ⋆ ] = E [ λ ] = 0 , E [ ( u ⋆ ) 2 ] = E [ λ 2 ] = 1 , (423) \mathbb{E}[u^\star] = \mathbb{E}[\lambda] = 0,\qquad\mathbb{E}[(u^\star)^2] = \mathbb{E}[\lambda^2] = 1, \tag*{(423)} E [ u ⋆ ] = E [ λ ] = 0 , E [( u ⋆ ) 2 ] = E [ λ 2 ] = 1 , (423)
and that the moments needed below are finite. In particular, for the linearized weak-recovery calculation we assume
E γ [ γ − 2 ] < ∞ . (424) \mathbb{E}_\gamma[\gamma^{-2}] < \infty. \tag*{(424)} E γ [ γ − 2 ] < ∞. (424)
We retain n , d n,d n , d for the sample and coordinate counts, respectively, and the sample-first data matrix X = ( x μ i ) X = (x_{\mu i}) X = ( x μ i ) . Relative to the cited bipartite formulation, its coordinate and sample counts correspond to d d d and n n n , and its observation matrix is X T X^\mathsf{T} X T . We identify
P U = P u , P V = P λ , v μ ⋆ = λ μ . (425) P_U = P_u,\qquad P_V = P_\lambda,\qquad v_\mu^\star= \lambda_\mu. \tag*{(425)} P U = P u , P V = P λ , v μ ⋆ = λ μ . (425)
The rank-one variable entering the output channel is
w μ i ⋆ : = u i ⋆ v μ ⋆ d . (426) w_{\mu i}^\star:= \frac{u_i^\star v_\mu^\star}{\sqrt{d}}. \tag*{(426)} w μ i ⋆ := d u i ⋆ v μ ⋆ . (426)
The SNR parameter β \beta β is absorbed into the output channel, which, conditional on the variance label γ \gamma γ , is
P o u t , γ ( x ∣ w ) = 1 2 π γ exp { − ( x − β w ) 2 2 γ } . (427) P_{\mathrm{out},\gamma}(x \mid w) = \frac{1}{\sqrt{2\pi\gamma}}\exp\left\{-\frac{(x-\sqrt{\beta}\,w)^2}{2\gamma}\right\}. \tag*{(427)} P out , γ ( x ∣ w ) = 2 π γ 1 exp { − 2 γ ( x − β w ) 2 } . (427)
Thus
x μ i = β w μ i ⋆ + γ i ⋆ z μ i , (428) x_{\mu i} = \sqrt{\beta}\,w_{\mu i}^\star+ \sqrt{\gamma_i^\star}\,z_{\mu i}, \tag*{(428)} x μ i = β w μ i ⋆ + γ i ⋆ z μ i , (428)
which is exactly Eq. (F.1) in the sample-first convention.
Asymptotic identifiability of the coordinate variances
The bipartite formulas of [35 ] are written for a known output channel. The state-evolution reference conditions on the realized coordinate variances. In the numerical AMP implementation, we instead estimate these variances from the unlabeled observations.
For a fixed coordinate i i i , define the empirical second moment
γ ^ i : = 1 n ∑ μ = 1 n x μ i 2 . (429) \widehat{\gamma}_i := \frac{1}{n}\sum_{\mu=1}^{n}x_{\mu i}^2. \tag*{(429)} γ i := n 1 μ = 1 ∑ n x μ i 2 . (429)
Using the data model (F.1),
γ ^ i = γ i ⋆ 1 n ∑ μ = 1 n z μ i 2 + β ( u i ⋆ ) 2 d 1 n ∑ μ = 1 n λ μ 2 + 2 β γ i ⋆ d u i ⋆ 1 n ∑ μ = 1 n λ μ z μ i . (430) \widehat{\gamma}_i = \gamma_i^\star\frac{1}{n}\sum_{\mu=1}^{n}z_{\mu i}^2 + \frac{\beta(u_i^\star)^2}{d}\frac{1}{n}\sum_{\mu=1}^{n}\lambda_\mu^2 + 2\sqrt{\frac{\beta\gamma_i^\star}{d}}u_i^\star\frac{1}{n}\sum_{\mu=1}^{n}\lambda_\mu z_{\mu i}. \tag*{(430)} γ i = γ i ⋆ n 1 μ = 1 ∑ n z μ i 2 + d β ( u i ⋆ ) 2 n 1 μ = 1 ∑ n λ μ 2 + 2 d β γ i ⋆ u i ⋆ n 1 μ = 1 ∑ n λ μ z μ i . (430)
We now estimate the three terms separately. Since z μ i ∼ i i d N ( 0 , 1 ) z_{\mu i} \overset{\mathrm{iid}}{\sim} \mathcal{N}(0,1) z μ i ∼ iid N ( 0 , 1 ) ,
1 n ∑ μ = 1 n z μ i 2 = 1 + O P ( n − 1 / 2 ) = 1 + O P ( d − 1 / 2 ) , (431) \frac{1}{n}\sum_{\mu=1}^{n}z_{\mu i}^{2}=1+O_{\mathrm{P}}(n^{-1/2})=1+O_{\mathrm{P}}(d^{-1/2}), \tag*{(431)} n 1 μ = 1 ∑ n z μ i 2 = 1 + O P ( n − 1/2 ) = 1 + O P ( d − 1/2 ) , (431)
where the last equality uses n / d → α ∈ ( 0 , ∞ ) n/d\to\alpha\in(0,\infty) n / d → α ∈ ( 0 , ∞ ) in the high-dimensional limit. Therefore the first term is
γ i ⋆ 1 n ∑ μ = 1 n z μ i 2 = γ i ⋆ + O P ( d − 1 / 2 ) . (432) \gamma_i^\star\frac{1}{n}\sum_{\mu=1}^{n}z_{\mu i}^{2}=\gamma_i^\star+O_{\mathrm{P}}(d^{-1/2}). \tag*{(432)} γ i ⋆ n 1 μ = 1 ∑ n z μ i 2 = γ i ⋆ + O P ( d − 1/2 ) . (432)
Because E [ λ 2 ] = 1 \mathbb{E}[\lambda^2]=1 E [ λ 2 ] = 1 , we have that
1 n ∑ μ = 1 n λ μ 2 = 1 + o ( 1 ) . (433) \frac{1}{n}\sum_{\mu=1}^{n}\lambda_\mu^2=1+o(1). \tag*{(433)} n 1 μ = 1 ∑ n λ μ 2 = 1 + o ( 1 ) . (433)
For each fixed coordinate i i i , u i ⋆ = O P ( 1 ) u_i^\star=O_{\mathrm{P}}(1) u i ⋆ = O P ( 1 ) , and hence the second term is subleading
β ( u i ⋆ ) 2 d 1 n ∑ μ = 1 n λ μ 2 = O P ( d − 1 ) . (434) \frac{\beta(u_i^\star)^2}{d}\frac{1}{n}\sum_{\mu=1}^{n}\lambda_\mu^2=O_{\mathrm{P}}(d^{-1}). \tag*{(434)} d β ( u i ⋆ ) 2 n 1 μ = 1 ∑ n λ μ 2 = O P ( d − 1 ) . (434)
Finally, the variables λ μ z μ i \lambda_\mu z_{\mu i} λ μ z μ i are centered and have unit variance, so
1 n ∑ μ = 1 n λ μ z μ i = O P ( n − 1 / 2 ) = O P ( d − 1 / 2 ) . (435) \frac{1}{n}\sum_{\mu=1}^{n}\lambda_\mu z_{\mu i}=O_{\mathrm{P}}(n^{-1/2})=O_{\mathrm{P}}(d^{-1/2}). \tag*{(435)} n 1 μ = 1 ∑ n λ μ z μ i = O P ( n − 1/2 ) = O P ( d − 1/2 ) . (435)
Multiplying by the prefactor d − 1 / 2 d^{-1/2} d − 1/2 shows that the cross term is
2 β γ i ⋆ d u i ⋆ 1 n ∑ μ = 1 n λ μ z μ i = O P ( d − 1 ) . (436) 2\sqrt{\frac{\beta\gamma_i^\star}{d}}u_i^\star\frac{1}{n}\sum_{\mu=1}^{n}\lambda_\mu z_{\mu i}=O_{\mathrm{P}}(d^{-1}). \tag*{(436)} 2 d β γ i ⋆ u i ⋆ n 1 μ = 1 ∑ n λ μ z μ i = O P ( d − 1 ) . (436)
Combining Eqs. (F.12), (F.14), and (F.16), we obtain
γ ^ i = γ i ⋆ + O P ( d − 1 / 2 ) . (437) \widehat{\gamma}_i=\gamma_i^\star+O_{\mathrm{P}}(d^{-1/2}). \tag*{(437)} γ i = γ i ⋆ + O P ( d − 1/2 ) . (437)
In particular,
γ ^ i → P γ i ⋆ . (438) \widehat{\gamma}_i\xrightarrow{\mathrm{P}}\gamma_i^\star. \tag*{(438)} γ i P γ i ⋆ . (438)
Thus each fixed coordinate variance is consistently estimable. In the Gaussian-prior specialization with γ i ⋆ ≥ a > 0 \gamma_i^\star\ge a>0 γ i ⋆ ≥ a > 0 , one can also obtain uniform relative consistency. Conditionally on the teacher and variances, γ ^ i / [ γ i ⋆ + β ( u i ⋆ ) 2 / d ] \widehat{\gamma}_i/[\gamma_i^\star+\beta(u_i^\star)^2/d] γ i / [ γ i ⋆ + β ( u i ⋆ ) 2 / d ] has law χ n 2 / n \chi_n^2/n χ n 2 / n . A union bound and max i ( u i ⋆ ) 2 = O P ( log d ) \max_i(u_i^\star)^2=O_{\mathrm{P}}(\log d) max i ( u i ⋆ ) 2 = O P ( log d ) give
max i ∣ γ ^ i γ i ⋆ − 1 ∣ = O P ( log d n + log d d ) ⟶ 0. (439) \max_i\left|\frac{\widehat{\gamma}_i}{\gamma_i^\star}-1\right|=O_{\mathrm{P}}\left(\sqrt{\frac{\log d}{n}}+\frac{\log d}{d}\right)\longrightarrow0. \tag*{(439)} i max γ i ⋆ γ i − 1 = O P ( n log d + d log d ) ⟶ 0. (439)
Neither pointwise nor uniform parameter consistency alone establishes that substituting all γ ^ i \widehat{\gamma}_i γ i into the posterior or AMP preserves its limiting overlap and threshold. That substitution also introduces dependence through the data used to estimate the variances. We therefore state the following equations for the known-variance benchmark; equivalence of its plug-in version requires an additional stability argument.
Bayes-optimal output channel and Fisher information
Conditioned on γ i ⋆ \gamma_i^\star γ i ⋆ , define the output channel
g i ( x , w ) : = log P o u t , γ i ⋆ ( x ∣ w ) . (440) g_i(x,w):=\log P_{\mathrm{out},\gamma_i^\star}(x\mid w). \tag*{(440)} g i ( x , w ) := log P out , γ i ⋆ ( x ∣ w ) . (440)
The posterior can be written in the normalized form used in the bipartite low-rank results:
P ( U , V ∣ X , γ ⋆ ) ∝ ∏ i = 1 d P U ( d u i ) ∏ μ = 1 n P V ( d v μ ) exp { ∑ i = 1 d ∑ μ = 1 n [ g i ( x μ i , u i v μ d ) − g i ( x μ i , 0 ) ] } . (441) P(U,V\mid X,\gamma^\star)\propto\prod_{i=1}^{d}P_U(\mathrm{d}u_i)\prod_{\mu=1}^{n}P_V(\mathrm{d}v_\mu)\exp\left\{\sum_{i=1}^{d}\sum_{\mu=1}^{n}\left[g_i\left(x_{\mu i},\frac{u_i v_\mu}{\sqrt{d}}\right)-g_i(x_{\mu i},0)\right]\right\}. \tag*{(441)} P ( U , V ∣ X , γ ⋆ ) ∝ i = 1 ∏ d P U ( d u i ) μ = 1 ∏ n P V ( d v μ ) exp { i = 1 ∑ d μ = 1 ∑ n [ g i ( x μ i , d u i v μ ) − g i ( x μ i , 0 ) ] } . (441)
Following the Fisher-score notation
S i ( x ) : = ∂ g i ( x , w ) ∂ w ∣ w = 0 (442) S_i(x):=\left.\frac{\partial g_i(x,w)}{\partial w}\right|_{w=0} \tag*{(442)} S i ( x ) := ∂ w ∂ g i ( x , w ) w = 0 (442)
R i ( x ) : = [ ( ∂ g i ( x , w ) ∂ w ) 2 + ∂ 2 g i ( x , w ) ∂ w 2 ] w = 0 . (443) R_i(x):=\left[\left(\frac{\partial g_i(x,w)}{\partial w}\right)^2+\frac{\partial^2 g_i(x,w)}{\partial w^2}\right]_{w=0}. \tag*{(443)} R i ( x ) := [ ( ∂ w ∂ g i ( x , w ) ) 2 + ∂ w 2 ∂ 2 g i ( x , w ) ] w = 0 . (443)
In particular, for the Gaussian channel (F.7),
S i ( x ) = β γ i ⋆ x , (444) S_i(x)=\frac{\sqrt{\beta}}{\gamma_i^\star}x, \tag*{(444)} S i ( x ) = γ i ⋆ β x , (444)
whereas
R i ( x ) = β ( x 2 ( γ i ⋆ ) 2 − 1 γ i ⋆ ) . (445) R_i(x)=\beta\left(\frac{x^2}{(\gamma_i^\star)^2}-\frac{1}{\gamma_i^\star}\right). \tag*{(445)} R i ( x ) = β ( ( γ i ⋆ ) 2 x 2 − γ i ⋆ 1 ) . (445)
Under the null output law x ∼ N ( 0 , γ i ⋆ ) x\sim\mathcal{N}(0,\gamma_i^\star) x ∼ N ( 0 , γ i ⋆ ) ,
E [ S i ( x ) ] = 0 , E [ R i ( x ) ] = 0. (446) \mathbb{E}[S_i(x)]=0,\qquad\mathbb{E}[R_i(x)]=0. \tag*{(446)} E [ S i ( x )] = 0 , E [ R i ( x )] = 0. (446)
The local Fisher-information parameter is defined by
1 Δ i : = E x ∼ P o u t , γ i ⋆ ( ⋅ ∣ 0 ) [ S i ( x ) 2 ] . (447) \frac{1}{\Delta_i}:=\mathbb{E}_{x\sim P_{\mathrm{out},\gamma_i^\star}(\cdot\mid0)}[S_i(x)^2]. \tag*{(447)} Δ i 1 := E x ∼ P out , γ i ⋆ ( ⋅ ∣ 0 ) [ S i ( x ) 2 ] . (447)
and using Eq. (F.24),
1 Δ i = β γ i ⋆ , Δ i = Δ ( γ i ⋆ ) = γ i ⋆ β . (448) \frac{1}{\Delta_i}=\frac{\beta}{\gamma_i^\star},\qquad\Delta_i=\Delta(\gamma_i^\star)=\frac{\gamma_i^\star}{\beta}. \tag*{(448)} Δ i 1 = γ i ⋆ β , Δ i = Δ ( γ i ⋆ ) = β γ i ⋆ . (448)
Thus heteroskedasticity enters the Bayes-optimal low-rank equations only in the site-dependent Fisher information
Δ ( γ ) − 1 = β γ − 1 . (449) \Delta(\gamma)^{-1}=\beta\gamma^{-1}. \tag*{(449)} Δ ( γ ) − 1 = β γ − 1 . (449)
Denoisers
For a prior P U P_U P U , define the scalar partition function
Z U ( A , B ) : = ∫ P U ( d u ) exp { B u − A 2 u 2 } , (450) Z_U(A,B):=\int P_U(\mathrm{d}u)\exp\left\{Bu-\frac{A}{2}u^2\right\}, \tag*{(450)} Z U ( A , B ) := ∫ P U ( d u ) exp { B u − 2 A u 2 } , (450)
and the posterior-mean denoiser
f i n U ( A , B ) : = ∂ ∂ B log Z U ( A , B ) = ∫ P U ( d u ) u exp { B u − A u 2 / 2 } Z U ( A , B ) . (451) f_{\mathrm{in}}^U(A,B):=\frac{\partial}{\partial B}\log Z_U(A,B)=\frac{\int P_U(\mathrm{d}u)\,u\exp\{Bu-Au^2/2\}}{Z_U(A,B)}. \tag*{(451)} f in U ( A , B ) := ∂ B ∂ log Z U ( A , B ) = Z U ( A , B ) ∫ P U ( d u ) u exp { B u − A u 2 /2 } . (451)
Define Z V Z_V Z V and f i n V f_{\mathrm{in}}^V f in V analogously with P V = P λ P_V=P_\lambda P V = P λ .
For a scalar Bayes channel of A A A introduce the overlap response functions
F U ( A ) : = E u ⋆ , W [ u ⋆ f i n U ( A , A u ⋆ + A W ) ] , (452) F_U(A):=\mathbb{E}_{u^\star,W}\left[u^\star f_{\mathrm{in}}^U\left(A,Au^\star+\sqrt{A}W\right)\right], \tag*{(452)} F U ( A ) := E u ⋆ , W [ u ⋆ f in U ( A , A u ⋆ + A W ) ] , (452)
F V ( A ) : = E v ⋆ , W [ v ⋆ f i n V ( A , A v ⋆ + A W ) ] , (453) F_V(A):=\mathbb{E}_{v^\star,W}\left[v^\star f_{\mathrm{in}}^V\left(A,Av^\star+\sqrt{A}W\right)\right], \tag*{(453)} F V ( A ) := E v ⋆ , W [ v ⋆ f in V ( A , A v ⋆ + A W ) ] , (453)
where
u ⋆ ∼ P U , v ⋆ ∼ P V , W ∼ N ( 0 , 1 ) , (454) u^\star\sim P_U,\qquad v^\star\sim P_V,\qquad W \sim\mathcal{N}(0,1), \tag*{(454)} u ⋆ ∼ P U , v ⋆ ∼ P V , W ∼ N ( 0 , 1 ) , (454)
independently. By the Nishimori identity,
F U ( A ) = E u ⋆ , W [ f i n U ( A , A u ⋆ + A W ) 2 ] . (455) \mathcal{F}_U(A)=\mathbb{E}_{u^\star,W}\left[f_{\mathrm{in}}^U\left(A,Au^\star+\sqrt{A}W\right)^2\right]. \tag*{(455)} F U ( A ) = E u ⋆ , W [ f in U ( A , A u ⋆ + A W ) 2 ] . (455)
F V ( A ) = E v ⋆ , W [ f i n V ( A , A v ⋆ + A W ) 2 ] . (456) \mathcal{F}_V(A)=\mathbb{E}_{v^\star,W}\left[f_{\mathrm{in}}^V\left(A,Av^\star+\sqrt{A}W\right)^2\right]. \tag*{(456)} F V ( A ) = E v ⋆ , W [ f in V ( A , A v ⋆ + A W ) 2 ] . (456)
Explicit heteroskedastic bipartite AMP
We specialize the bipartite Low-RAMP equations (90)–(97) of Lesieur et al. [35 ] , Section II.4, using the sample-first observations x μ i x_{\mu i} x μ i , d d d coordinate variables, and n n n sample variables with v μ ⋆ = λ μ v_\mu^\star=\lambda_\mu v μ ⋆ = λ μ . The variance labels γ i ⋆ \gamma_i^\star γ i ⋆ are held fixed and known in the matched benchmark. Define the coordinate-by-sample coupling and likelihood curvature
J i μ : = β x μ i d γ i ⋆ , T i : = β d γ i ⋆ . (457) J_{i\mu}:=\frac{\sqrt{\beta}\,x_{\mu i}}{\sqrt{d}\,\gamma_i^\star},\qquad T_i:=\frac{\beta}{d\gamma_i^\star}. \tag*{(457)} J i μ := d γ i ⋆ β x μ i , T i := d γ i ⋆ β . (457)
The Gaussian likelihood contributes exactly J i μ u i v μ − T i u i 2 v μ 2 / 2 J_{i\mu}u_i v_\mu-T_i u_i^2v_\mu^2/2 J i μ u i v μ − T i u i 2 v μ 2 /2 to the log posterior. In the score notation of (F.24) and (F.25), S i μ / d = J i μ S_{i\mu}/\sqrt{d}=J_{i\mu} S i μ / d = J i μ and R i μ / d = J i μ 2 − T i R_{i\mu}/d=J_{i\mu}^2-T_i R i μ / d = J i μ 2 − T i . These identities fix both the normalization and the signs of the precision updates below.
Let u ^ i , v ^ μ \widehat{u}_i,\widehat{v}_\mu u i , v μ denote AMP means and c u , i , c v , μ c_{u,i},c_{v,\mu} c u , i , c v , μ their scalar posterior variances. A sweep first updates the coordinate side at time t t t , then the sample side to time t + 1 t+1 t + 1 . Given ( v ^ t , c v t , u ^ t − 1 ) (\widehat{v}^t,c_v^t,\widehat{u}^{t-1}) ( v t , c v t , u t − 1 ) , set
B U , i t = ∑ μ = 1 n J i μ v ^ μ t − u ^ i t − 1 ∑ μ = 1 n J i μ 2 c v , μ t , B^t_{U,i}=\sum_{\mu=1}^{n}J_{i\mu}\widehat{v}^t_\mu-\widehat{u}^{t-1}_i\sum_{\mu=1}^{n}J_{i\mu}^2c^t_{v,\mu}, B U , i t = μ = 1 ∑ n J i μ v μ t − u i t − 1 μ = 1 ∑ n J i μ 2 c v , μ t ,
A U , i t = ∑ μ = 1 n [ T i ( v ^ μ t ) 2 − ( J i μ 2 − T i ) c v , μ t ] , A^t_{U,i}=\sum_{\mu=1}^{n}\left[T_i(\widehat{v}^t_\mu)^2-(J_{i\mu}^2-T_i)c^t_{v,\mu}\right], A U , i t = μ = 1 ∑ n [ T i ( v μ t ) 2 − ( J i μ 2 − T i ) c v , μ t ] ,
u ^ i t = f i n U ( A U , i t , B U , i t ) , c u , i t = ∂ B f i n U ( A U , i t , B U , i t ) . (458) \widehat{u}^t_i=f_{\mathrm{in}}^U(A^t_{U,i},B^t_{U,i}),\qquad c^t_{u,i}=\partial_B f_{\mathrm{in}}^U(A^t_{U,i},B^t_{U,i}). \tag*{(458)} u i t = f in U ( A U , i t , B U , i t ) , c u , i t = ∂ B f in U ( A U , i t , B U , i t ) . (458)
Using these newly computed coordinate estimates, set
B V , μ t = ∑ i = 1 d J i μ u ^ i t − v ^ μ t ∑ i = 1 d J i μ 2 c u , i t , B^t_{V,\mu}=\sum_{i=1}^{d}J_{i\mu}\widehat{u}^t_i-\widehat{v}^t_\mu\sum_{i=1}^{d}J_{i\mu}^2c^t_{u,i}, B V , μ t = i = 1 ∑ d J i μ u i t − v μ t i = 1 ∑ d J i μ 2 c u , i t ,
A V , μ t = ∑ i = 1 d [ T i ( u ^ i t ) 2 − ( J i μ 2 − T i ) c u , i t ] , A^t_{V,\mu}=\sum_{i=1}^{d}\left[T_i(\widehat{u}^t_i)^2-(J_{i\mu}^2-T_i)c^t_{u,i}\right], A V , μ t = i = 1 ∑ d [ T i ( u i t ) 2 − ( J i μ 2 − T i ) c u , i t ] ,
v ^ μ t + 1 = f i n V ( A V , μ t , B V , μ t ) , c v , μ t + 1 = ∂ B f i n V ( A V , μ t , B V , μ t ) . (459) \widehat{v}^{t+1}_\mu=f_{\mathrm{in}}^V(A^t_{V,\mu},B^t_{V,\mu}),\qquad c^{t+1}_{v,\mu}=\partial_B f_{\mathrm{in}}^V(A^t_{V,\mu},B^t_{V,\mu}). \tag*{(459)} v μ t + 1 = f in V ( A V , μ t , B V , μ t ) , c v , μ t + 1 = ∂ B f in V ( A V , μ t , B V , μ t ) . (459)
In particular, the two Onsager terms multiply u ^ t − 1 \widehat{u}^{t-1} u t − 1 and v ^ t \widehat{v}^t v t , respectively. This is the alternating schedule of the cited equations. These are AMP approximations to the posterior; the exactness of the Gaussian likelihood expansion does not make its finite-dimensional marginals factorized.
Fisher-averaged implementation. Under the regular state-evolution assumptions, the squared couplings in the summed corrections can be replaced by their null-channel means E 0 [ J i μ 2 ∣ γ i ⋆ ] = T i \mathbb{E}_0[J_{i\mu}^2\mid\gamma_i^\star]=T_i E 0 [ J i μ 2 ∣ γ i ⋆ ] = T i ; the centered curvature terms J i μ 2 − T i J_{i\mu}^2-T_i J i μ 2 − T i self-average. This is a site-dependent version of the Bayes simplification in Section II.3 of Lesieur et al. [35 ] . With α d = n / d \alpha_d=n/d α d = n / d , define
Q v t = 1 n ∑ μ ( v ^ μ t ) 2 , V v t = 1 n ∑ μ c v , μ t , Q_v^t=\frac{1}{n}\sum_\mu(\widehat{v}^t_\mu)^2,\qquad V_v^t=\frac{1}{n}\sum_\mu c^t_{v,\mu}, Q v t = n 1 μ ∑ ( v μ t ) 2 , V v t = n 1 μ ∑ c v , μ t ,
Q u , − 1 t = 1 d ∑ i ( u ^ i t ) 2 γ i ⋆ , V u , − 1 t = 1 d ∑ i c u , i t γ i ⋆ . (460) Q_{u,-1}^t=\frac{1}{d}\sum_i\frac{(\widehat{u}^t_i)^2}{\gamma_i^\star},\qquad V_{u,-1}^t=\frac{1}{d}\sum_i\frac{c^t_{u,i}}{\gamma_i^\star}. \tag*{(460)} Q u , − 1 t = d 1 i ∑ γ i ⋆ ( u i t ) 2 , V u , − 1 t = d 1 i ∑ γ i ⋆ c u , i t . (460)
The resulting implementation uses
A U , i t = α d β Q v t γ i ⋆ , B U , i t = ∑ μ J i μ v ^ μ t − α d β V v t γ i ⋆ u ^ i t − 1 , A V , μ t = β Q u , − 1 t , B V , μ t = ∑ i J i μ u ^ i t − β V u , − 1 t v ^ μ t (461) \begin{aligned}
A_{U,i}^{t} &= \frac{\alpha_d\beta Q_v^t}{\gamma_i^\star}, & B_{U,i}^{t} &= \sum_{\mu} J_{i\mu}\hat{v}_{\mu}^{t} - \frac{\alpha_d\beta V_v^t}{\gamma_i^\star}\hat{u}_i^{t-1},\\
A_{V,\mu}^{t} &= \beta Q_{u,-1}^{t}, & B_{V,\mu}^{t} &= \sum_i J_{i\mu}\hat{u}_i^t-\beta V_{u,-1}^t\hat{v}_{\mu}^t \tag*{(461)}
\end{aligned} A U , i t A V , μ t = γ i ⋆ α d β Q v t , = β Q u , − 1 t , B U , i t B V , μ t = μ ∑ J i μ v ^ μ t − γ i ⋆ α d β V v t u ^ i t − 1 , = i ∑ J i μ u ^ i t − β V u , − 1 t v ^ μ t (461)
followed by the same denoisers and the same update order. The factors 1 / γ i ⋆ 1/\gamma_i^\star 1/ γ i ⋆ remain inside the coordinate-side coefficients and sample-side averages; replacing them by a single mean variance changes the algorithm. The two finite-dimensional versions (F.38)–(F.39) and (F.41) need not give identical iterates.
For P u = P λ = N ( 0 , 1 ) P_u=P_\lambda=\mathcal{N}(0,1) P u = P λ = N ( 0 , 1 ) , both denoisers are explicit:
u ^ i t = B U , i t 1 + A U , i t , c u , i t = 1 1 + A U , i t , (462) \hat{u}_i^t=\frac{B_{U,i}^t}{1+A_{U,i}^t},\qquad c_{u,i}^t=\frac{1}{1+A_{U,i}^t}, \tag*{(462)} u ^ i t = 1 + A U , i t B U , i t , c u , i t = 1 + A U , i t 1 , (462)
v ^ μ t + 1 = B V , μ t 1 + A V , μ t , c v , μ t + 1 = 1 1 + A V , μ t . \hat{v}_{\mu}^{t+1}=\frac{B_{V,\mu}^t}{1+A_{V,\mu}^t},\qquad c_{v,\mu}^{t+1}=\frac{1}{1+A_{V,\mu}^t}. v ^ μ t + 1 = 1 + A V , μ t B V , μ t , c v , μ t + 1 = 1 + A V , μ t 1 .
The Fisher-averaged precisions are nonnegative, so these denominators are at least one. The unsimplified iteration requires 1 + A > 0 1+A>0 1 + A > 0 for each Gaussian denoiser. For a Rademacher sample prior, only the sample-side denoiser changes to tanh B \tanh B tanh B with variance 1 − tanh 2 B 1-\tanh^2 B 1 − tanh 2 B ; it must not be used for Gaussian sample amplitudes.
Connection to the existing state evolution. Let M v t , Q v t M_v^t,Q_v^t M v t , Q v t be the limiting overlap and squared norm on the sample side, and M u t ( γ ) , Q u t ( γ ) M_u^t(\gamma),Q_u^t(\gamma) M u t ( γ ) , Q u t ( γ ) their conditional coordinate-side counterparts. The formal Onsager-corrected scalar fields corresponding to the alternating AMP have
A U t ( γ ) = α β Q v t γ , B U t ( γ ) = α β M v t γ u ⋆ + A U t ( γ ) Z U , A V t = β E γ Q u t ( γ ) γ , B V t = β E γ M u t ( γ ) γ v ⋆ + A V t Z V (463) \begin{aligned}
A_U^t(\gamma)&=\frac{\alpha\beta Q_v^t}{\gamma}, & B_U^t(\gamma)&=\frac{\alpha\beta M_v^t}{\gamma}u^\star+\sqrt{A_U^t(\gamma)}Z_U,\\
A_V^t&=\beta\mathbb{E}_\gamma\frac{Q_u^t(\gamma)}{\gamma}, & B_V^t&=\beta\mathbb{E}_\gamma\frac{M_u^t(\gamma)}{\gamma}v^\star+\sqrt{A_V^t}Z_V \tag*{(463)}
\end{aligned} A U t ( γ ) A V t = γ α β Q v t , = β E γ γ Q u t ( γ ) , B U t ( γ ) B V t = γ α β M v t u ⋆ + A U t ( γ ) Z U , = β E γ γ M u t ( γ ) v ⋆ + A V t Z V (463)
where the Gaussian noises are independent of the respective scalar teachers. These are effective cavity laws, not independence assertions between finite-dimensional iterates and their training data. On a matched Nishimori trajectory, Q v t = M v t Q_v^t=M_v^t Q v t = M v t and Q u t ( γ ) = M u t ( γ ) Q_u^t(\gamma)=M_u^t(\gamma) Q u t ( γ ) = M u t ( γ ) . Applying the scalar denoisers to (F.43) then gives exactly (F.49)–(F.51). This verifies the normalization of the explicit AMP against the existing Bayes equations. It does not supply a general convergence theorem from an arbitrary initialization or a uniform state-evolution theorem for all unbounded variance laws.
The formulas condition on the realized variances. Replacing them by (F.9) defines a plug-in AMP, whose performance requires the stability analysis discussed in App. § 14 .§ 2 . When complete training samples are available, independent masking carries no additional information about the planted factors. The full-data Bayes/AMP benchmark therefore does not depend on the masking ratio ρ \rho ρ or the number of masks K K K .
State evolution
Let
M v t : = 1 n ∑ μ = 1 n u ^ μ t v μ ⋆ (464) M_v^t:=\frac{1}{n}\sum_{\mu=1}^{n}\hat{u}_{\mu}^t v_{\mu}^\star \tag*{(464)} M v t := n 1 μ = 1 ∑ n u ^ μ t v μ ⋆ (464)
denote the overlap on the latent variables side. On the coordinate side (spike), the effective channel depends on the quenched variances. For a site with label γ \gamma γ , the bipartite state-evolution field has to be rescaled with
A U t ( γ ) = α M v t Δ ( γ ) . (465) A_U^t(\gamma)=\frac{\alpha M_v^t}{\Delta(\gamma)}. \tag*{(465)} A U t ( γ ) = Δ ( γ ) α M v t . (465)
Therefore the conditional coordinate overlap is
M u t ( γ ) = F U ( α M v t Δ ( γ ) ) . (466) M_u^t(\gamma)=F_U\left(\frac{\alpha M_v^t}{\Delta(\gamma)}\right). \tag*{(466)} M u t ( γ ) = F U ( Δ ( γ ) α M v t ) . (466)
and asymptotically
M ‾ u t : = lim d → ∞ 1 d ∑ i = 1 d M u , i t Δ i = E γ [ M u t ( γ ) Δ ( γ ) ] . (467) \overline{M}_u^t := \lim_{d\to\infty} \frac{1}{d}\sum_{i=1}^{d}\frac{M_{u,i}^t}{\Delta_i} = \mathbb{E}_{\gamma}\left[\frac{M_u^t(\gamma)}{\Delta(\gamma)}\right]. \tag*{(467)} M u t := d → ∞ lim d 1 i = 1 ∑ d Δ i M u , i t = E γ [ Δ ( γ ) M u t ( γ ) ] . (467)
The V V V -side update is consequently
M v t + 1 = F V ( M ‾ u t ) . (468) M_v^{t+1} = F_V\left(\overline{M}_u^t\right). \tag*{(468)} M v t + 1 = F V ( M u t ) . (468)
For the heteroskedastic Gaussian channel Δ ( γ ) = γ / β \Delta(\gamma) = \gamma/\beta Δ ( γ ) = γ / β , these equations become
M u t ( γ ) = F U ( α β γ M v t ) , (469) M_u^t(\gamma) = F_U\left(\frac{\alpha\beta}{\gamma}M_v^t\right), \tag*{(469)} M u t ( γ ) = F U ( γ α β M v t ) , (469)
M ‾ u t = β E γ [ M u t ( γ ) γ ] , (470) \overline{M}_u^t = \beta\mathbb{E}_{\gamma}\left[\frac{M_u^t(\gamma)}{\gamma}\right], \tag*{(470)} M u t = β E γ [ γ M u t ( γ ) ] , (470)
M v t + 1 = F V ( M ‾ u t ) . (471) M_v^{t+1} = F_V\left(\overline{M}_u^t\right). \tag*{(471)} M v t + 1 = F V ( M u t ) . (471)
Fixed-point equations in the present notation
Returning to
ν μ ∗ = λ μ , M v = q λ , M u ( γ ) = q u ( γ ) , (472) \nu_\mu^* = \lambda\mu,\qquad M_v = q_\lambda,\qquad M_u(\gamma) = q_u(\gamma), \tag*{(472)} ν μ ∗ = λ μ , M v = q λ , M u ( γ ) = q u ( γ ) , (472)
the coordinate-side scalar precision is
q ^ u ( γ ) = α β γ q λ . (473) \widehat{q}_u(\gamma) = \frac{\alpha\beta}{\gamma}q_\lambda. \tag*{(473)} q u ( γ ) = γ α β q λ . (473)
The sample-amplitude scalar precision is the Fisher-weighted coordinate overlap
q ^ λ = M ‾ u = β E γ [ q u ( γ ) γ ] . (474) \widehat{q}_\lambda= \overline{M}_u = \beta\mathbb{E}_{\gamma}\left[\frac{q_u(\gamma)}{\gamma}\right]. \tag*{(474)} q λ = M u = β E γ [ γ q u ( γ ) ] . (474)
Thus the fixed-point equations are
q u ( γ ) = E u ∗ , W [ u ∗ f i n u ( q ^ u ( γ ) , q ^ u ( γ ) u ∗ + q ^ u ( γ ) W ) ] , (475) q_u(\gamma) = \mathbb{E}_{u^*,W}\left[u^* f_{\mathrm{in}}^u\left(\widehat{q}_u(\gamma),\widehat{q}_u(\gamma)u^*+\sqrt{\widehat{q}_u(\gamma)}W\right)\right], \tag*{(475)} q u ( γ ) = E u ∗ , W [ u ∗ f in u ( q u ( γ ) , q u ( γ ) u ∗ + q u ( γ ) W ) ] , (475)
q λ = E λ , W [ λ f i n λ ( q ^ λ , q ^ λ λ + q ^ λ W ) ] , (476) q_\lambda= \mathbb{E}_{\lambda,W}\left[\lambda f_{\mathrm{in}}^\lambda\left(\widehat{q}_\lambda,\widehat{q}_\lambda\lambda+\sqrt{\widehat{q}_\lambda}W\right)\right], \tag*{(476)} q λ = E λ , W [ λ f in λ ( q λ , q λ λ + q λ W ) ] , (476)
with conjugate relations
q ^ u ( γ ) = α β γ q λ , q ^ λ = β E γ [ q u ( γ ) γ ] . (477) \widehat{q}_u(\gamma) = \frac{\alpha\beta}{\gamma}q_\lambda,\qquad\widehat{q}_\lambda= \beta\mathbb{E}_{\gamma}\left[\frac{q_u(\gamma)}{\gamma}\right]. \tag*{(477)} q u ( γ ) = γ α β q λ , q λ = β E γ [ γ q u ( γ ) ] . (477)
By Nishimori,
q u ( γ ) = E u ∗ , W [ f i n u ( q ^ u ( γ ) , q ^ u ( γ ) u ∗ + q ^ u ( γ ) W ) 2 ] , (478) q_u(\gamma) = \mathbb{E}_{u^*,W}\left[f_{\mathrm{in}}^u\left(\widehat{q}_u(\gamma),\widehat{q}_u(\gamma)u^*+\sqrt{\widehat{q}_u(\gamma)}W\right)^2\right], \tag*{(478)} q u ( γ ) = E u ∗ , W [ f in u ( q u ( γ ) , q u ( γ ) u ∗ + q u ( γ ) W ) 2 ] , (478)
q λ = E λ , W [ f i n λ ( q ^ λ , q ^ λ λ + q ^ λ W ) 2 ] . (479) q_\lambda= \mathbb{E}_{\lambda,W}\left[f_{\mathrm{in}}^\lambda\left(\widehat{q}_\lambda,\widehat{q}_\lambda\lambda+\sqrt{\widehat{q}_\lambda}W\right)^2\right]. \tag*{(479)} q λ = E λ , W [ f in λ ( q λ , q λ λ + q λ W ) 2 ] . (479)
Continuous weak-recovery threshold
The uninformative fixed point is
q λ = 0 , q u ( γ ) = 0. (480) q_\lambda= 0,\qquad q_u(\gamma) = 0. \tag*{(480)} q λ = 0 , q u ( γ ) = 0. (480)
On the matched Nishimori trajectory, and under the scalar-response regularity used in the linearization, at small order
F U ( A ) = A + o ( A ) , F V ( A ) = A + o ( A ) . (481) F_U(A) = A + o(A),\qquad F_V(A) = A + o(A). \tag*{(481)} F U ( A ) = A + o ( A ) , F V ( A ) = A + o ( A ) . (481)
Linearizing Eq. (F.49) around M v = 0 M_v = 0 M v = 0 gives
M u t ( γ ) = α β γ M v t + o ( M v t ) . (482) M_u^t(\gamma) = \frac{\alpha\beta}{\gamma}M_v^t + o(M_v^t). \tag*{(482)} M u t ( γ ) = γ α β M v t + o ( M v t ) . (482)
Consequently,
M ‾ u t = β E γ [ M u t ( γ ) γ ] = α β 2 E γ [ γ − 2 ] M v t + o ( M v t ) . (483) \overline{M}_u^t = \beta\mathbb{E}_{\gamma}\left[\frac{M_u^t(\gamma)}{\gamma}\right] = \alpha\beta^2\mathbb{E}_{\gamma}\left[\gamma^{-2}\right]M_v^t + o(M_v^t). \tag*{(483)} M u t = β E γ [ γ M u t ( γ ) ] = α β 2 E γ [ γ − 2 ] M v t + o ( M v t ) . (483)
The V V V -side update then gives
M v t + 1 = α β 2 E γ [ γ − 2 ] M v t + o ( M v t ) . (484) M_v^{t+1} = \alpha\beta^2\mathbb{E}_{\gamma}\left[\gamma^{-2}\right]M_v^t + o(M_v^t). \tag*{(484)} M v t + 1 = α β 2 E γ [ γ − 2 ] M v t + o ( M v t ) . (484)
For Gaussian priors, dominated convergence justifies the integrated linear coefficient with only (F.4). A quadratic remainder generally requires an inverse third moment; the linear threshold does not require that stronger expansion. Therefore the uninformative fixed point is locally stable when
α β 2 E γ [ γ − 2 ] < 1 (485) \alpha\beta^2\mathbb{E}_{\gamma}\left[\gamma^{-2}\right] < 1 \tag*{(485)} α β 2 E γ [ γ − 2 ] < 1 (485)
and loses stability when
α β 2 E γ [ γ − 2 ] > 1. (486) \alpha\beta^2\mathbb{E}_{\gamma}\left[\gamma^{-2}\right] > 1. \tag*{(486)} α β 2 E γ [ γ − 2 ] > 1. (486)
The Bayes-optimal continuous weak-recovery threshold is consequently
α c B O = 1 β 2 E γ [ γ − 2 ] . (487) \alpha_{\mathrm{c}}^{\mathrm{BO}} = \frac{1}{\beta^2\mathbb{E}_{\gamma}\left[\gamma^{-2}\right]}. \tag*{(487)} α c BO = β 2 E γ [ γ − 2 ] 1 . (487)
This is the local continuous instability of the uninformative Bayes fixed point; for generic priors it does not by itself exclude an informative branch appearing discontinuously at a smaller sample complexity. For the homogeneous Gaussian noise-specialization P γ = δ 1 P_{\gamma} = \delta_1 P γ = δ 1 , this reduces to
α c B O = 1 β 2 , (488) \alpha_{\mathrm{c}}^{\mathrm{BO}} = \frac{1}{\beta^2}, \tag*{(488)} α c BO = β 2 1 , (488)
Gaussian-prior specialization
If
P u = P λ = N ( 0 , 1 ) , (489) P_u = P_{\lambda} = \mathcal{N}(0,1), \tag*{(489)} P u = P λ = N ( 0 , 1 ) , (489)
then
Z ( A , B ) = 1 1 + A exp { B 2 2 ( 1 + A ) } , (490) Z(A,B) = \frac{1}{\sqrt{1+A}}\exp\left\{\frac{B^2}{2(1+A)}\right\}, \tag*{(490)} Z ( A , B ) = 1 + A 1 exp { 2 ( 1 + A ) B 2 } , (490)
so
f i n ( A , B ) = B 1 + A (491) f_{\mathrm{in}}(A,B) = \frac{B}{1+A} \tag*{(491)} f in ( A , B ) = 1 + A B (491)
F ( A ) = A 1 + A . (492) \mathcal{F}(A) = \frac{A}{1+A}. \tag*{(492)} F ( A ) = 1 + A A . (492)
The coordinate overlap is therefore
q u ( γ ) = α β q λ γ + α β q λ . (493) q_u(\gamma) = \frac{\alpha\beta q_{\lambda}}{\gamma+\alpha\beta q_{\lambda}}. \tag*{(493)} q u ( γ ) = γ + α β q λ α β q λ . (493)
The sample-side precision is
q ^ λ = β E γ [ q u ( γ ) γ ] = α β 2 q λ E γ [ 1 γ ( γ + α β q λ ) ] , (494) \widehat{q}_{\lambda} = \beta\mathbb{E}_{\gamma}\left[\frac{q_u(\gamma)}{\gamma}\right] = \alpha\beta^2 q_{\lambda}\mathbb{E}_{\gamma}\left[\frac{1}{\gamma(\gamma+\alpha\beta q_{\lambda})}\right], \tag*{(494)} q λ = β E γ [ γ q u ( γ ) ] = α β 2 q λ E γ [ γ ( γ + α β q λ ) 1 ] , (494)
q λ = q ^ λ 1 + q ^ λ . (495) q_{\lambda} = \frac{\widehat{q}_{\lambda}}{1+\widehat{q}_{\lambda}}. \tag*{(495)} q λ = 1 + q λ q λ . (495)
Linearizing Eqs. (F.73)–(F.75) again yields Eq. (F.67).
Complete overlap curve. For q λ > 0 q_\lambda> 0 q λ > 0 , the preceding equations are equivalent to the single scalar equation
1 1 − q λ = α β 2 E γ [ 1 γ ( γ + α β q λ ) ] , 0 < q λ < 1. (496) \frac{1}{1-q_\lambda} = \alpha\beta^2\mathbb{E}_\gamma\left[\frac{1}{\gamma(\gamma+\alpha\beta q_\lambda)}\right], \qquad0<q_\lambda<1. \tag*{(496)} 1 − q λ 1 = α β 2 E γ [ γ ( γ + α β q λ ) 1 ] , 0 < q λ < 1. (496)
The left side strictly increases from one to infinity; the right side strictly decreases from α β 2 E γ γ − 2 \alpha\beta^2\mathbb{E}_\gamma\gamma^{-2} α β 2 E γ γ − 2 . Hence a positive fixed point exists if and only if α β 2 E γ γ − 2 > 1 \alpha\beta^2\mathbb{E}_\gamma\gamma^{-2}>1 α β 2 E γ γ − 2 > 1 , and it is unique within these Gaussian-prior equations. Below and at this threshold only the uninformative fixed point remains. This excludes a competing positive fixed point within this scalar reduction, not an algorithmic failure caused by its initialization or finite-dimensional dynamics.
The Bayes-optimal cosine similarity plotted in the figures is O B O \sqrt{\mathcal{O}_{\mathrm{BO}}} O BO , where O B O : = E γ [ q u ( γ ) ] \mathcal{O}_{\mathrm{BO}}:=\mathbb{E}_\gamma[q_u(\gamma)] O BO := E γ [ q u ( γ )] . For homogeneous noise, elimination of q λ q_\lambda q λ recovers O B O = ( α β 2 − 1 ) / ( α β 2 + β ) \mathcal{O}_{\mathrm{BO}}=(\alpha\beta^2-1)/(\alpha\beta^2+\beta) O BO = ( α β 2 − 1 ) / ( α β 2 + β ) above threshold, in agreement with the PCA benchmark.
For Gaussian priors and known covariance with compact positive variance support, the weak-estimation threshold also has an independent rigorous justification through Proposition 4.1 and Corollary 4.3 of Zhang and Mondelli [33 ] , after transposing the model and identifying their Section 4 SNR with β \beta β and aspect ratio with α \alpha α . That result concerns sign-invariant estimation and has covariance-support assumptions; it does not by itself justify plug-in AMP or the full unwhitened cosine curve for arbitrary unbounded laws.
Additional observables and finite-shot downstream analysis
Training and test errors
Besides the cosine similarity defined in the main text, we can also track the training and test error of the pretraining for the autoencoder. Using the objective R K , d \mathcal{R}_{K,d} R K , d in (3) , we define the centered training reconstruction error per sample by removing the ridge penalty and subtracting the risk assuming w ^ = 0 \widehat{w}=0 w = 0 ,
Δ L t r a i n , d : = 1 n [ R K , d ( w ^ ) − R K , d ( 0 ) − λ R 2 ∥ w ^ ∥ 2 2 ] . (497) \Delta\mathcal{L}_{\mathrm{train},d}:=\frac{1}{n}\left[\mathcal{R}_{K,d}(\widehat{w})-\mathcal{R}_{K,d}(0)-\frac{\lambda_R}{2}\lVert\widehat{w}\rVert_2^2\right]. \tag*{(497)} Δ L train , d := n 1 [ R K , d ( w ) − R K , d ( 0 ) − 2 λ R ∥ w ∥ 2 2 ] . (497)
For dynamic masking, the view average is replaced by an expectation over fresh masks on the training samples. The centered population test error uses an independent sample and an independent fresh mask:
Δ L t e s t , d : = E x n e w , χ n e w [ ∥ χ n e w ⊙ [ x n e w − w ^ d σ ( h v i s n e w ) ] ∥ 2 2 − ∥ χ n e w ⊙ x n e w ∥ 2 2 ] . (498) \Delta\mathcal{L}_{\mathrm{test},d}:=\mathbb{E}_{x_{\mathrm{new}},\chi_{\mathrm{new}}}\left[\left\lVert\chi_{\mathrm{new}}\mathbin{\odot}\left[x_{\mathrm{new}}-\frac{\widehat{w}}{\sqrt{d}}\sigma\left(h_{\mathrm{vis}}^{\mathrm{new}}\right)\right]\right\rVert_2^2-\left\lVert\chi_{\mathrm{new}}\mathbin{\odot}x_{\mathrm{new}}\right\rVert_2^2\right]. \tag*{(498)} Δ L test , d := E x new , χ new [ χ new ⊙ [ x new − d w σ ( h vis new ) ] 2 2 − ∥ χ new ⊙ x new ∥ 2 2 ] . (498)
Both quantities exclude the ridge penalty. Lower values are better. In the simulations, the test expectation is estimated using independent test samples and masks.
At the replica saddle, these observables are
Δ L t r a i n = E λ , z [ ℓ o u t ( f ⋆ ; q I , q Γ ) ] , (499) \Delta\mathcal{L}_{\mathrm{train}}=\mathbb{E}_{\lambda,z}\left[\ell_{\mathrm{out}}(f_{\star};q_I,q_{\Gamma})\right], \tag*{(499)} Δ L train = E λ , z [ ℓ out ( f ⋆ ; q I , q Γ ) ] , (499)
where f ⋆ f_{\star} f ⋆ is the training-sample proximal field, and
Δ L t e s t = E λ , z [ ℓ d y n ( h 0 ; q I , q Γ ) ] , h 0 = β λ M + q Γ z , z ∼ N ( 0 , 1 ) . (500) \Delta\mathcal{L}_{\mathrm{test}}=\mathbb{E}_{\lambda,z}\left[\ell_{\mathrm{dyn}}(h_0;q_I,q_{\Gamma})\right],\qquad h_0=\sqrt{\beta}\lambda M+\sqrt{q_{\Gamma}}z,\quad z\sim\mathcal{N}(0,1). \tag*{(500)} Δ L test = E λ , z [ ℓ dyn ( h 0 ; q I , q Γ ) ] , h 0 = β λ M + q Γ z , z ∼ N ( 0 , 1 ) . (500)
Why center the reconstruction error? The population test loss for the null estimator is
L 0 , t e s t , d = ρ ∑ i = 1 d γ i + ρ β d ∥ u a ∥ 2 2 ∼ ρ d , (501) \mathcal{L}_{0,\mathrm{test},d}=\rho\sum_{i=1}^{d}\gamma_i+\frac{\rho\beta}{d}\lVert u^a\rVert_2^2\sim\rho d, \tag*{(501)} L 0 , test , d = ρ i = 1 ∑ d γ i + d ρβ ∥ u a ∥ 2 2 ∼ ρ d , (501)
Under the order-one scaling of the replica solution, the reconstruction-dependent terms are only O ( 1 ) O(1) O ( 1 ) , so this O ( d ) O(d) O ( d ) baseline dominates the raw test loss. Subtracting it reduces to:
Δ L t e s t , d = E [ ∑ i χ i n e w ( x ^ i 2 − 2 x i n e w x ^ i ) ] , x ^ = w ^ d σ ( h v i s n e w ) . (502) \Delta\mathcal{L}_{\mathrm{test},d}=\mathbb{E}\left[\sum_i\chi_i^{\mathrm{new}}\left(\widehat{x}_i^2-2x_i^{\mathrm{new}}\widehat{x}_i\right)\right],\qquad\widehat{x}=\frac{\widehat{w}}{\sqrt{d}}\sigma\left(h_{\mathrm{vis}}^{\mathrm{new}}\right). \tag*{(502)} Δ L test , d = E [ i ∑ χ i new ( x i 2 − 2 x i new x i ) ] , x = d w σ ( h vis new ) . (502)
The centered error therefore isolates the O ( 1 ) O(1) O ( 1 ) contribution that changes with the learned representation. The same cancellation applies to the training error, using its own samples and masks.
Downstream task
After self-supervised pretraining, we freeze the learned weight vector w ^ \widehat{w} w and evaluate it on an independent labeled dataset
D d s = { ( x μ d s , y μ ) } μ = 1 n d s , y μ = sign ( λ μ ) , n d s = O ( 1 ) . (503) \mathcal{D}_{\mathrm{ds}}=\left\{\left(x_\mu^{\mathrm{ds}},y_\mu\right)\right\}_{\mu=1}^{n_{\mathrm{ds}}},\qquad y_\mu=\operatorname{sign}(\lambda_\mu),\qquad n_{\mathrm{ds}}=O(1). \tag*{(503)} D ds = { ( x μ ds , y μ ) } μ = 1 n ds , y μ = sign ( λ μ ) , n ds = O ( 1 ) . (503)
We assume P λ ( { 0 } ) = 0 P_{\lambda}(\{0\})=0 P λ ({ 0 }) = 0 , so labels lie in { − 1 , + 1 } \{-1,+1\} { − 1 , + 1 } . No masking is applied at downstream time.
For a fresh downstream sample, the frozen preactivation satisfies
H : = 1 d w ^ T x d s → d → ∞ β M λ + q Γ Z , Z ∼ N ( 0 , 1 ) . (504) H:=\frac{1}{\sqrt{d}}\widehat{w}^{\mathsf{T}}x^{\mathrm{ds}}\xrightarrow[d\to\infty]{}\sqrt{\beta}M\lambda+\sqrt{q_{\Gamma}}Z,\qquad Z\sim\mathcal{N}(0,1). \tag*{(504)} H := d 1 w T x ds d → ∞ β M λ + q Γ Z , Z ∼ N ( 0 , 1 ) . (504)
We use this preactivation directly as the downstream representation. The downstream channel therefore depends only on the pretraining overlaps M M M and q Γ q_{\Gamma} q Γ : M M M controls the informative component and q Γ q_{\Gamma} q Γ the projected noise variance.
We fit a one-dimensional logistic probe,
a ^ = arg min a ∈ R ∑ μ = 1 n d s log ( 1 + exp [ − y μ a H μ ] ) . (505) \hat{a} = \operatorname*{arg\,min}_{a \in\mathbb{R}} \sum_{\mu=1}^{n_{\mathrm{ds}}} \log\left(1+\exp[-y_\mu a H_\mu]\right). \tag*{(505)} a ^ = a ∈ R arg min μ = 1 ∑ n ds log ( 1 + exp [ − y μ a H μ ] ) . (505)
Its orientation is determined by
sign ( a ^ ) = sign ( ∑ μ = 1 n d s y μ H μ ) . (506) \operatorname{sign}(\hat{a}) = \operatorname{sign}\left(\sum_{\mu=1}^{n_{\mathrm{ds}}} y_\mu H_\mu\right). \tag*{(506)} sign ( a ^ ) = sign ( μ = 1 ∑ n ds y μ H μ ) . (506)
If the unregularized probe is separable, this orientation is understood along a minimizing sequence. Adding a positive quadratic penalty makes the minimizer finite and preserves the same orientation rule.
Assume M ≠ 0 M \ne0 M = 0 in the following orientation formulas. The population-optimal orientation of the frozen feature is
s ⋆ = sign ( E λ , Z [ sign ( λ ) ( β M λ + q Γ Z ) ] ) = sign ( M ) , (507) s_\star= \operatorname{sign}\left(\mathbb{E}_{\lambda,Z}\left[\operatorname{sign}(\lambda)\left(\sqrt{\beta}M\lambda+\sqrt{q_\Gamma}Z\right)\right]\right) = \operatorname{sign}(M), \tag*{(507)} s ⋆ = sign ( E λ , Z [ sign ( λ ) ( β M λ + q Γ Z ) ] ) = sign ( M ) , (507)
where we used
E λ , Z [ sign ( λ ) H ] = β M E λ [ ∣ λ ∣ ] . (508) \mathbb{E}_{\lambda,Z}\left[\operatorname{sign}(\lambda)H\right] = \sqrt{\beta}M\mathbb{E}_{\lambda}[|\lambda|]. \tag*{(508)} E λ , Z [ sign ( λ ) H ] = β M E λ [ ∣ λ ∣ ] . (508)
The corresponding population classification error is
ϵ d s ∞ = P [ s ⋆ sign ( λ ) ( β M λ + q Γ Z ) < 0 ] . (509) \epsilon_{\mathrm{ds}}^\infty= \mathbb{P}\left[s_\star\operatorname{sign}(\lambda)\left(\sqrt{\beta}M\lambda+\sqrt{q_\Gamma}Z\right)<0\right]. \tag*{(509)} ϵ ds ∞ = P [ s ⋆ sign ( λ ) ( β M λ + q Γ Z ) < 0 ] . (509)
For n d s = O ( 1 ) n_{\mathrm{ds}}=O(1) n ds = O ( 1 ) labeled examples, the probability that the fitted probe chooses the correct population orientation is
p n d s = P [ s ⋆ ∑ μ = 1 n d s sign ( λ μ ) ( β M λ μ + q Γ Z μ ) > 0 ] , (510) p_{n_{\mathrm{ds}}} = \mathbb{P}\left[s_\star\sum_{\mu=1}^{n_{\mathrm{ds}}}\operatorname{sign}(\lambda_\mu)\left(\sqrt{\beta}M\lambda_\mu+\sqrt{q_\Gamma}Z_\mu\right)>0\right], \tag*{(510)} p n ds = P [ s ⋆ μ = 1 ∑ n ds sign ( λ μ ) ( β M λ μ + q Γ Z μ ) > 0 ] , (510)
where ( λ μ , Z μ ) (\lambda_\mu,Z_\mu) ( λ μ , Z μ ) are i.i.d. copies of ( λ , Z ) (\lambda,Z) ( λ , Z ) . The expected few-shot classification error is therefore
ϵ d s ( n d s ) = p n d s ϵ d s ∞ + ( 1 − p n d s ) ( 1 − ϵ d s ∞ ) . (511) \epsilon_{\mathrm{ds}}^{(n_{\mathrm{ds}})} = p_{n_{\mathrm{ds}}}\epsilon_{\mathrm{ds}}^\infty+ (1-p_{n_{\mathrm{ds}}})(1-\epsilon_{\mathrm{ds}}^\infty). \tag*{(511)} ϵ ds ( n ds ) = p n ds ϵ ds ∞ + ( 1 − p n ds ) ( 1 − ϵ ds ∞ ) . (511)
At M = 0 M=0 M = 0 , both orientations give chance-level performance, and we set ϵ d s ∞ = ϵ d s ( n d s ) = 1 / 2 \epsilon_{\mathrm{ds}}^\infty=\epsilon_{\mathrm{ds}}^{(n_{\mathrm{ds}})}=1/2 ϵ ds ∞ = ϵ ds ( n ds ) = 1/2 . Predictions with zero score are resolved by a fair random choice, including when the frozen feature vanishes identically.
These downstream formulas are conditional on the limiting overlaps ( M , q Γ ) (M,q_\Gamma) ( M , q Γ ) . For the autoencoders, the replica saddle supplies their predicted values; the subsequent calculation evaluates the specified logistic probe.
Gaussian amplitudes. For P λ = N ( 0 , 1 ) P_\lambda=\mathcal{N}(0,1) P λ = N ( 0 , 1 ) , write A = β M 2 / q Γ A=\beta M^2/q_\Gamma A = β M 2 / q Γ and k = n d s ≥ 1 k=n_{\mathrm{ds}}\ge1 k = n ds ≥ 1 . The population error is
ϵ d s ∞ ( A ) = 1 π arccos A 1 + A . (512) \epsilon_{\mathrm{ds}}^\infty(A)=\frac{1}{\pi}\arccos\sqrt{\frac{A}{1+A}}. \tag*{(512)} ϵ ds ∞ ( A ) = π 1 arccos 1 + A A . (512)
Conditioning the orientation statistic in (G.14) on the amplitudes gives
p k ( A ) = E λ 1 , … , λ k Φ ( A k ∑ μ = 1 k ∣ λ μ ∣ ) , λ μ ∼ i i d N ( 0 , 1 ) , (513) p_k(A)=\mathbb{E}_{\lambda_1,\ldots,\lambda_k}\Phi\left(\sqrt{\frac{A}{k}}\sum_{\mu=1}^{k}|\lambda_\mu|\right),\qquad\lambda_\mu\mathrel{\overset{\mathrm{iid}}{\sim}}\mathcal{N}(0,1), \tag*{(513)} p k ( A ) = E λ 1 , … , λ k Φ ( k A μ = 1 ∑ k ∣ λ μ ∣ ) , λ μ ∼ iid N ( 0 , 1 ) , (513)
where Φ \Phi Φ is the standard normal cumulative distribution function. Together with (G.15), these expressions give the finite-label accuracy curve. Set A = 0 A=0 A = 0 when the feature vanishes; the error is then 1 / 2 1/2 1/2 .
Interpretation The downstream scalar channel,
H = β M λ + q Γ Z , (514) H=\sqrt{\beta}M\lambda+\sqrt{q_\Gamma}Z, \tag*{(514)} H = β M λ + q Γ Z , (514)
is controlled by the downstream signal-to-noise ratio
β M 2 q Γ = β θ u ⋆ 2 q Γ / q I , θ u ⋆ = ∣ M ∣ q I . (515) \frac{\beta M^2}{q_\Gamma}=\frac{\beta\theta_{u^\star}^2}{q_\Gamma/q_I},\qquad\theta_{u^\star}=\frac{|M|}{\sqrt{q_I}}. \tag*{(515)} q Γ β M 2 = q Γ / q I β θ u ⋆ 2 , θ u ⋆ = q I ∣ M ∣ . (515)
The ratio
q Γ q I = ∑ i γ i ⋆ w ^ i 2 ∑ i w ^ i 2 (516) \frac{q_{\Gamma}}{q_I}=\frac{\sum_i\gamma_i^{\star}\widehat{w}_i^2}{\sum_i\widehat{w}_i^2} \tag*{(516)} q I q Γ = ∑ i w i 2 ∑ i γ i ⋆ w i 2 (516)
can therefore be interpreted as the effective noise level seen by the learned representation. Whereas β \beta β specifies the signal-to-noise ratio in the data model, (G.19) describes the signal-to-noise ratio after projection onto the learned direction. Hence downstream performance depends on two distinct properties of the pretrained representation: its alignment with the planted feature, measured by θ u ⋆ \theta_{u^\star} θ u ⋆ , and its effective exposure to heteroskedastic noise, measured by q Γ / q I q_{\Gamma}/q_I q Γ / q I . Changes in the number of masks K K K or in the activation function can improve downstream performance through either mechanism.
AMP pretraining reference with the same probe. At the matched state-evolution solution of App. § 14 , the unweighted AMP feature has ∣ M A M P ∣ = E γ q u ( γ ) \lvert M_{\mathrm{AMP}}\rvert=\mathbb{E}_{\gamma}q_u(\gamma) ∣ M AMP ∣ = E γ q u ( γ ) and q Γ , A M P = E γ [ γ q u ( γ ) ] q_{\Gamma,\mathrm{AMP}}=\mathbb{E}_{\gamma}[\gamma q_u(\gamma)] q Γ , AMP = E γ [ γ q u ( γ )] by the Nishimori identities. Its downstream SNR is therefore
A A M P = β ( E γ q u ( γ ) ) 2 E γ [ γ q u ( γ ) ] . (517) A_{\mathrm{AMP}}=\frac{\beta\left(\mathbb{E}_{\gamma}q_u(\gamma)\right)^2}{\mathbb{E}_{\gamma}[\gamma q_u(\gamma)]}. \tag*{(517)} A AMP = E γ [ γ q u ( γ )] β ( E γ q u ( γ ) ) 2 . (517)
For Gaussian priors, solve (F.76), obtain q u ( γ ) q_u(\gamma) q u ( γ ) from (F.73), and substitute A A M P A_{\mathrm{AMP}} A AMP into (G.16), (G.17), and (G.15). At the uninformative fixed point set A A M P = 0 A_{\mathrm{AMP}}=0 A AMP = 0 . This is the green downstream reference in Figure 3 : Bayes-optimal pretraining followed by the same finite-label logistic probe as the autoencoders. Its identification with AMP performance requires the corresponding state-evolution solution to be attained. Algorithmically, freeze the AMP estimate as w ^ = u ^ \widehat{w}=\widehat{u} w = u , form the unweighted scores (G.8), and fit (G.9).
Experimental settings and reporting
We report the settings needed to interpret the comparisons below. Source code and per-run configurations are provided in the accompanying code and data supplement. In all figures, error bars and shaded bands indicate ± 1 \pm1 ± 1 sample standard deviation (SD) across seeds around the empirical mean for each condition. Single-run results are shown without error bars.
Masking and augmentation protocols
Mask diversity and training budget. For finite K K K , each example has K K K independently drawn masks, fixed throughout pretraining. Static masking is K = 1 K = 1 K = 1 ; dynamic masking draws fresh masks on repeated presentations. The number of underlying examples is unchanged. In the shallow experiments, each update averages over the fixed mask collection, or uses one fresh mask for dynamic training (App. § 16 .12). The CNN training schedule is specified below.
CNN data and evaluation. Figure 1 (b) and Figure 4 (b) use CIFAR-10 [54 ] with five independent encoder-initialization and data-split seeds. Each seed uses a balanced 40,000-image training subset for both pretraining and labeled frozen probing. Masked pretraining and linear probing use 10,000 held-out images for validation. The separate official 10,000-image test set supplies final accuracy. One probe is fitted per encoder; points report mean test accuracy and bars show ± 1 \pm1 ± 1 SD across the five seeds. The masked comparisons share the split and initialization within each seed.
CNN architecture and preprocessing. All CNN conditions use the same 854,563-parameter autoencoder. Images are scaled to [ 0 , 1 ] [0, 1] [ 0 , 1 ] and standardized using channel statistics from the pretraining subset. The encoder receives the three masked image channels and a binary mask channel, with hidden pixels set to zero after standardization. Its four convolutions have output widths (32, 64, 128, 128), kernel sizes (3, 4, 4, 4), strides (1, 2, 2, 2), padding one, and ReLU activations. The decoder uses three stride-two, kernel-four transposed convolutions with widths (128, 64, 32), padding one and ReLU, followed by a kernel-three, padding-one convolution to RGB. There are no skip connections or normalization layers. Global spatial averaging of the encoder’s 128 × 4 × 4 128 \times4 \times4 128 × 4 × 4 output gives the frozen representation. Images contain 64 nonoverlapping 4 × 4 4 \times4 4 × 4 patches; each mask hides round ( 64 ρ ) \operatorname{round}(64\rho) round ( 64 ρ ) patches chosen uniformly without replacement.
CNN optimization. For the main CNN sweeps in Figure 1 , Figure 4 , Figure 14 and Figure 15 , we use AdamW [55 ] with batch size 512, learning rate 10 − 3 10^{-3} 1 0 − 3 , weight decay 10 − 4 10^{-4} 1 0 − 4 , and gradient norm clipping at 5. A validation-based plateau scheduler halves the learning rate, with patience five epochs and a minimum of 10 − 5 10^{-5} 1 0 − 5 .
Figure 15. CNN training under the original protocol. (a,b) Training and validation reconstruction MSE versus optimizer updates. Thin traces show individual seeds; thick curves and shading show mean ± 1 \pm1 ± 1 SD while all five runs are observed. Circles and crosses mark early stopped and final checkpoints, respectively. (c) Frozen linear-probe test accuracy of early-stopped encoders, with ± 1 \pm1 ± 1 SD. The horizontal dashed line indicates dynamic masking.
For finite K K K , each epoch traverses the fixed collection of 40,000K K K image–mask pairs. Dynamic masking draws a fresh mask at every presentation throughout training. We group 32 presentations per image into one epoch for validation and scheduling, corresponding to 2,500 optimizer updates. Under dynamic masking, each image therefore receives 32 E 32E 32 E independent mask draws over E E E epochs.
Validation uses one fixed mask per held-out image after each epoch. We retain the checkpoint with the lowest validation reconstruction MSE and stop after 15 epochs without improvement, with a minimum of 20 and a ceiling of 460 epochs. Under these parameters, our setting is always early-stopped and not undertrained.
CNN linear probes. Probes receive unmasked, unaugmented images and use the frozen 128-dimensional representation, standardized coordinatewise using the probe training set. A linear ten-class head is fitted with cross-entropy, AdamW, batch size 512, constant learning rate 10 − 2 10^{-2} 1 0 − 2 , and zero weight decay. Classifier initialization and minibatch-shuffling seeds are fixed across encoders. The head with lowest validation cross-entropy is retained; training stops after 25 epochs without improvement, with a minimum of 20 and a ceiling of 200 epochs. All reported masked-model probes satisfy this stopping criterion. The unmasked checkpoint sweep uses the same probe settings with a 300-epoch ceiling (App. § 16 .8).
ViT architecture and data. Our implementation adapts the U-MAE code of Zhang et al. [20 ] , which builds on MAE [4 ] .4 We use ViT-Base/16 on ImageNet-100, with 126,689 training and 5,000 validation images across 100 classes. Images have resolution 224 × 224 224 \times224 224 × 224 , yielding 196 patches. The encoder has 12 blocks, width 768 and 12 attention heads; the decoder has 8 blocks, width 512 and 16 heads, with MLP expansion ratio 4 throughout. Pretraining minimizes MSE on masked patches, using targets standardized within each patch. U-MAE’s uniformity penalty is disabled in all reported ViT runs; AdamW weight decay is retained. The inherited online classifier receives detached features and does not train the encoder. Reported accuracies use a separately fitted frozen probe.
ViT preprocessing and masking. Without stochastic cropping or flipping, images are resized bicubically to shorter side 256 and center-cropped to 224 × 224 224 \times224 224 × 224 . The augmented condition instead uses random resized crops with area fraction in [ 0.2 , 1 ] [0.2, 1] [ 0.2 , 1 ] and aspect ratio in [ 3 / 4 , 4 / 3 ] [3/4, 4/3] [ 3/4 , 4/3 ] , followed by horizontal flipping with probability 1 / 2 1/2 1/2 . Both conditions use ImageNet channel normalization. A random patch permutation retains ⌊ 196 ( 1 − ρ ) ⌋ \lfloor196(1-\rho) \rfloor ⌊ 196 ( 1 − ρ )⌋ visible patches. Static masking fixes this permutation per training image; dynamic masking redraws it at every presentation. With cropping and flipping, the static patch positions refer to the transformed image, whose content can change across epochs.
ViT pretraining. All masked runs in Figure 1 (c) and Figure 5 use 100 epochs of AdamW with momentum parameters (0.9, 0.95), weight decay 0.05, peak learning rate 7.5 × 10 − 5 7.5 \times10^{-5} 7.5 × 1 0 − 5 , ten warmup epochs and cosine decay to zero. The effective batch size is 128: batches of 64 with two accumulation steps without cropping/flipping, and batches of 128 without accumulation in the augmented condition. Biases and normalization parameters are excluded from weight decay. We probe the final pretraining checkpoint.
The comparison uses one common seed, with identical training and validation splits, initial autoencoder weights, optimizer settings, and pretraining budget across conditions. A separate frozen probe is fitted to each encoder using the same probe initialization and training and evaluation protocol. In contrast, the unaugmented curves in Figure 1 (c) summarize three encoder initializations (seeds 0, 1, 2), with means and ± 1 \pm1 ± 1 SD.
ViT linear probes. The frozen encoder processes all patches. Its 768-dimensional class-token representation feeds a non-affine batch-normalization layer and a linear 100-class head. The head is trained with cross-entropy and LARS [56 ] , batch size 256, momentum 0.9, zero weight decay, peak learning rate 0.1, ten warmup epochs and cosine decay to zero over 50 epochs. Probe training uses random resized crops with area fraction in [ 0.08 , 1 ] [0.08, 1] [ 0.08 , 1 ] , aspect ratio in [ 3 / 4 , 4 / 3 ] [3/4, 4/3] [ 3/4 , 4/3 ] , and horizontal flipping with probability 1 / 2 1/2 1/2 for every pretraining condition. Validation uses the deterministic resize and center crop above. Thus the no-cropping/no-flipping condition refers to pretraining. Probe seeds are fixed at zero, and we report validation top-5 accuracy at the final probe epoch. Unmasked checkpoint selection is described in App. § 16 .8.
Table 4 ablates the use of stochastic augmentation during linear probing. We find that including or omitting stochastic augmentation yields quantitatively similar downstream performance.
Longer ViT training. The 100-epoch protocol above is used to compare masking conditions under a common training budget. To assess the attainable absolute performance with the same architecture, we also adapt the longer training schedules of U-MAE and MAE [4 , 20 ] , retaining dynamic masking at ρ = 0.75 \rho= 0.75 ρ = 0.75 , no stochastic cropping or flipping during pretraining, and no uniformity penalty. Table 3 reports these checks, all using initialization zero and ImageNet-100 pretraining only. The 200-epoch schedule uses effective batch 1024 (128 × 8 accumulation), 40 warmup epochs and peak learning rate 6 × 10 − 4 6 \times10^{-4} 6 × 1 0 − 4 . The longer MAE schedule uses effective batch 4096 (64 × 64 accumulation), 40 warmup epochs and peak learning rate 2.4 × 10 − 3 2.4 \times10^{-3} 2.4 × 1 0 − 3 ; it was stopped early, and the evaluated checkpoint is after 641 epochs of the planned 1600-epoch cosine schedule. Other pretraining settings remain as above.
Each encoder is evaluated with the existing probe and with a 90-epoch probe using effective batch 16,384 (512 × 32 accumulation), peak learning rate 6.4 and ten warmup epochs, following the MAE linear-probing recipe. Both probes use cropping and flipping. The larger batch is implemented by gradient accumulation; batch normalization uses the physical batch, and incomplete accumulation windows at the end of an epoch do not produce an optimizer update. With the 200-epoch encoder, the longer probe reaches 61.50% top-1 and 86.04% top-5 accuracy without pretraining augmentation. For context, Zhang et al. [20 ] report 61.2% and 67.5% top-1 for MAE and regularized U-MAE, respectively, on ImageNet-100 with ViT-Base. These published results provide a reference under different training conditions. The additional runs show that the shorter protocol used for our masking comparisons does not exhaust the performance of the architecture; they vary the optimization schedule as well as batch size. See [9 ] for experiments showing the effect of the batch size on downstream performance.
Removing augmentation from the ViT probe. We also repeat the 50-epoch probes of the static and dynamic 100-epoch encoders at ρ = 0.75 \rho= 0.75 ρ = 0.75 , using initialization zero and deterministic resize/center crop during probe training. All other probe settings and the pretrained checkpoints are held fixed. Table 4 shows that removing cropping and flipping raises top-5 accuracy by 2.28 and 2.08 percentage points for dynamic and static masking, respectively. Their gap remains nearly unchanged (17.58 versus 17.78 points), indicating that probe augmentation does not account for the dynamic-masking advantage in this check.
Finite-size effects of PCA
Finite-dimensional cosine similarity. Figure 6 uses the same bounded-noise setting as Figure 2 (b), with γ = 1 4 + 9 4 B \gamma= \frac{1}{4} + \frac{9}{4}B γ = 4 1 + 4 9 B , B ∼ Beta ( 1 , 2 ) B \sim\operatorname{Beta}(1, 2) B ∼ Beta ( 1 , 2 ) , and β = 1 \beta= 1 β = 1 , while varying the dimension d d d and sample complexity α \alpha α . It examines the residual finite-dimensional PCA alignment visible in that main-text comparison. In Figure 6 , the observed cosine decreases as the dimension increases, including at the largest values of α \alpha α shown, consistent with the high-dimensional scaling A α d − 1 / 2 A_{\alpha}d^{-1/2} A α d − 1/2 and supporting its interpretation as a finite-size effect. We use uncentered, unstandardized PCA at β = 1 \beta= 1 β = 1 , dimensions d = 100 × 2 j d = 100 \times2^j d = 100 × 2 j for j = 0 , … , 8 j = 0, \ldots, 8 j = 0 , … , 8 , ten logarithmically spaced values of α \alpha α from 1 to 50, and 30 seeds. The plotted observable is the mean absolute cosine, with ± 1 \pm1 ± 1 SD.
Figure 6. Finite-dimensional PCA cosine similarity decreases with dimension. Same bounded-noise setting as Figure 2 (b): γ = 1 4 + 9 4 B \gamma= \frac{1}{4} + \frac{9}{4}B γ = 4 1 + 4 9 B , B ∼ Beta ( 1 , 2 ) B \sim\operatorname{Beta}(1,2) B ∼ Beta ( 1 , 2 ) , and β = 1 \beta= 1 β = 1 . (a) Cosine similarity versus sample complexity, with color indicating dimension size d d d . (b) Dimension dependence at fixed α \alpha α . Dashed lines fit A α d − 1 / 2 A_{\alpha}d^{-1/2} A α d − 1/2 for d ≥ 1600 d \ge1600 d ≥ 1600 , with exponent fixed. Bars show ± 1 \pm1 ± 1 SD over 30 seeds.
Top-1 accuracy for ViT
Figure 7 reports the top-1 counterparts of the ViT comparisons in Figure 1 (c) and Figure 5 , using the same pretrained encoders and frozen linear probes. The qualitative conclusions also hold for this metric: dynamic masking improves accuracy without cropping or flipping during pretraining, while these augmentations substantially improve static masking and narrow the gap to dynamic masking.
Table 3 puts these absolute accuracies in context. At ρ = 0.75 \rho= 0.75 ρ = 0.75 , dynamic masking reaches 39.96% top-1 under the main comparison protocol, increasing to 61.50% and 59.12% with the longer U-MAE and MAE schedules and 90-epoch probes, respectively. All three settings use no cropping or flipping during pretraining. Thus, the shorter protocol used to compare masking conditions does not exhaust the architecture’s performance; these additional runs vary both the training schedule and batch size.
Table 4 separately checks standard augmentation during linear probing. Removing probe cropping and flipping raises top-1 accuracy from 39.96% to 41.98% for dynamic masking and from 25.34% to 26.22% for static masking. The dynamic–static gap therefore persists (14.62 versus 15.76 percentage points), supporting the same conclusion with either probe protocol. Both tables report single-seed checks, distinct from the three-seed averages in Figure 7 (a).
Noise-aware spectral methods
Figure 8 adds diagonal-deletion PCA, HeteroPCA, and estimated-whitening PCA to the bounded and unbounded settings of Figure 2 (b,Figure 2 c), with β = 1 \beta= 1 β = 1 and ρ = 0.75 \rho= 0.75 ρ = 0.75 for dynamic masking. Spectral estimators and autoencoders use d = 2000 d = 2000 d = 2000 and 20 seeds; AMP uses d = 4000 d = 4000 d = 4000 and ten seeds (App. § 16 .14). Bars show ± 1 \pm1 ± 1 SD. The added spectral methods use the same observations and seeds as ordinary PCA and receive neither the spike nor the true coordinate variances. Covariances are centered in the unbounded setting and uncentered in the bounded setting.
Spectral estimators. Write S = Σ ^ S = \widehat{\Sigma} S = Σ the empirical covariance matrix, diag ( S ) \operatorname{diag}(S) diag ( S ) for its diagonal matrix, and off ( S ) = S − diag ( S ) \operatorname{off}(S) = S - \operatorname{diag}(S) off ( S ) = S − diag ( S ) . In this section we will work with the following additional spectral estimators:
Diagonal-deletion PCA removes the empirical diagonal before spectral extraction, using off ( S ) \operatorname{off}(S) off ( S ) . This baseline is studied alongside HeteroPCA by Zhang et al. [32 ] but was originally introduced by Florescu and Perkins [37 ] . We extract its largest-magnitude eigenpair, corresponding to a leading singular direction. This removes the direct diagonal noise contribution, but also discards the signal diagonal.
HeteroPCA iteratively imputes the diagonal from a rank-one approximation while retaining the observed off-diagonal entries [32 Algorithm 1] . We initialize with off ( S ) \operatorname{off}(S) off ( S ) , retain the signed largest-magnitude eigenpair, and stop when the relative diagonal change is at most 10 − 8 10^{-8} 1 0 − 8 . Unresolved runs are continued up to 10 5 10^{5} 1 0 5 iterations; all 680 fits in the displayed comparison meet this criterion.
Estimated-whitening PCA follows the noise-whitening approach of Leeb and Romanov [41 ] , who also discuss estimated noise covariances in Section 4.3. We estimate Γ ^ i i = max ( S i i , 10 − 12 ) \widehat{\Gamma}_{ii}=\max(S_{ii},10^{-12}) Γ ii = max ( S ii , 1 0 − 12 ) and apply PCA to S W = Γ ^ − 1 / 2 S Γ ^ − 1 / 2 S_{\mathrm{W}}=\widehat{\Gamma}^{-1/2}S\widehat{\Gamma}^{-1/2} S W = Γ − 1/2 S Γ − 1/2 . If v W v_{\mathrm{W}} v W is its leading eigenvector, alignment is evaluated using Γ ^ 1 / 2 v W \widehat{\Gamma}^{1/2}v_{\mathrm{W}} Γ 1/2 v W in the original coordinates. This baseline uses whitening and unwhitening without additional spectral shrinkage.
Dynamic masking achieves higher mean alignment than diagonal-deletion PCA and HeteroPCA across both displayed sweeps, without explicit noise estimation or whitening. Neither the coordinate variances nor their distribution are supplied to the autoencoder: adaptation to heterogeneity emerges through the masked prediction objective (App. § 12 .§ 4 ). This provides a complementary perspective to covariance-aware inference. For example, Zhang and Mondelli [33 ] construct spectral estimators using known noise covariances and signal strength, with optimality guarantees under their assumptions. Estimated-whitening PCA generally achieves higher alignment in our experiments and lies closer to the Bayes reference, using variances estimated from the same observations. The comparison therefore highlights the ability of masked prediction to learn informative structure without a separate procedure for estimating and correcting the noise.
The whitening-PCA threshold. The whitening threshold follows from the spiked-model analysis of Leeb and Romanov [41 ] . In our rank-one model with Gaussian latent priors, whitening by ( Γ ⋆ ) − 1 / 2 (\Gamma^\star)^{-1/2} ( Γ ⋆ ) − 1/2 produces isotropic noise and a population signal eigenvalue ℓ W = β ∥ ( Γ ⋆ ) − 1 / 2 u ⋆ ∥ 2 / d → β E γ [ γ − 1 ] \ell^{\mathrm{W}}=\beta\lVert(\Gamma^\star)^{-1/2}u^\star\rVert^2/d\to\beta\mathbb{E}_{\gamma}[\gamma^{-1}] ℓ W = β ∥( Γ ⋆ ) − 1/2 u ⋆ ∥ 2 / d → β E γ [ γ − 1 ] . Their recovery condition is ℓ W > α − 1 / 2 \ell^{\mathrm{W}}>\alpha^{-1/2} ℓ W > α − 1/2 , with the same onset after unwhitening, giving α c W = [ β 2 E γ [ γ − 1 ] 2 ] − 1 \alpha_{\mathrm{c}}^{\mathrm{W}}=[\beta^2\mathbb{E}_{\gamma}[\gamma^{-1}]^2]^{-1} α c W = [ β 2 E γ [ γ − 1 ] 2 ] − 1 . Leeb and Romanov [41 ] also justify replacing the noise covariance by an estimate consistent in operator norm. For diagonal noise and a delocalized signal direction, they obtain such an estimate from the sample coordinate variances, as in the baseline above. Our bounded variance law and normalized Gaussian spike satisfy these conditions, so the same threshold applies to estimated whitening in that setting. For the shifted-lognormal law, α c W \alpha_{\mathrm{c}}^{\mathrm{W}} α c W is the ideal-whitening reference; their bounded-spectrum assumptions do not directly cover the estimated-whitening algorithm, whose performance is shown empirically.
Relation to the masking and Bayes thresholds. Our replica analysis connects this established whitening threshold to dynamic masking. Combining the Bayes expression (F.67) with the lower bound in (D.48), specialized to dynamic linear masking in (D.133), gives
α c B O = 1 β 2 E γ [ γ − 2 ] ≤ α c W = 1 β 2 E γ [ γ − 1 ] 2 ≤ α c , R S d y n . (518) \alpha_{c}^{\mathrm{BO}} = \frac{1}{\beta^{2}\mathbb{E}_{\gamma}[\gamma^{-2}]} \leq\alpha_{c}^{\mathrm{W}} = \frac{1}{\beta^{2}\mathbb{E}_{\gamma}[\gamma^{-1}]^{2}} \leq\alpha_{c,\mathrm{RS}}^{\mathrm{dyn}}. \tag*{(518)} α c BO = β 2 E γ [ γ − 2 ] 1 ≤ α c W = β 2 E γ [ γ − 1 ] 2 1 ≤ α c , RS dyn . (518)
The inverse moments are finite for both displayed laws. The first inequality is strict for a nonconstant variance law by Cauchy–Schwarz. It orders the recovery onsets; the relative alignments above threshold are assessed by the simulations. Thus masking can outperform diagonal correction while remaining less effective than whitening at the onset of recovery.
Dynamic masking and nonlinear autoencoders
Figure 9 compares dynamic masking with the no-masking reconstruction, Eq. (5) , for linear, ReLU, ELU, and tanh activations. We use the same setting as Figure 3 .
Figure 9. Masking improves recovery across activation functions. Cosine similarity for (a) dynamic masking and (b) no masking in the same setting as Figure 3 . Colored curves are replica predictions, colored markers in both panels are ERM simulations at finite d = 2000 d = 2000 d = 2000 , averaged across 30 seeds ±1 SD. In both panels, the green curve shows the Bayes-optimal prediction and green diamonds show AMP results (Apps. § 14 .§ 5 and § 16 .14).
Across the four activations, dynamic masking develops substantially higher alignment, whereas full reconstruction retains low mean alignment throughout the displayed range. Thus, changing the activation of the unmasked autoencoder does not help to recover the spike. On the other hand, for dynamic masking, linear, ELU, and tanh dynamic curves are close, while ReLU requires larger sample complexity to attain comparable alignment.
Reconstruction errors across mask diversity
Figure 10 evaluates the centered training and test errors defined in App. § 15 .§ 1 , using linear activation, α = 8 \alpha= 8 α = 8 , β = 1 \beta= 1 β = 1 , λ R = 10 − 4 \lambda_{R} = 10^{-4} λ R = 1 0 − 4 , and the bounded variance law of Figure 2 (b). Again, d = 2000 d = 2000 d = 2000 , 30 seeds. Each loss subtracts the zero-decoder loss on the same samples and masks, excludes the ridge penalty, and is reported per sample without division by ρ \rho ρ . Test errors use independent samples and fresh masks; dynamic training errors average fresh masks on the training samples.
Number of downstream labels
Figure 11 varies the number of independently labeled examples used to fit the frozen scalar logistic probe. We reuse the linear dynamic-masking replica solution from Figure 3 , with bounded noise, β = 1 \beta= 1 β = 1 , ρ = 0.75 \rho= 0.75 ρ = 0.75 , and λ R = 10 − 4 \lambda_{R} = 10^{-4} λ R = 1 0 − 4 , and evaluate (G.15) for n d s ∈ [ 1 , 128 ] n_{\mathrm{ds}} \in[1,128] n ds ∈ [ 1 , 128 ] . The pretraining overlaps remain fixed for each draw: additional labels only change the probability that the probe selects the correct orientation of the representation. We evaluate (G.17) with 10 5 10^{5} 1 0 5 Monte Carlo amplitude samples, except at n d s = 1 n_{\mathrm{ds}} = 1 n ds = 1 , where p 1 ( A ) = 1 2 + π − 1 arctan A p_{1}(A) = \frac{1}{2} + \pi^{-1}\arctan\sqrt{A} p 1 ( A ) = 2 1 + π − 1 arctan A is exact.
Figure 11. Additional labels resolve the orientation of a frozen feature. Predicted downstream classification accuracy for linear dynamic masking versus sample complexity. The colorbar gives n d s n_{\mathrm{ds}} n ds on a logarithmic scale. All curves use the same pretraining solution at each α \alpha α and differ only in the size of the independent labeled dataset used by the scalar logistic probe.
Accuracy improves with the label count and approaches the population-orientation limit rapidly away from the recovery transition. Increasing n d s n_{\mathrm{ds}} n ds therefore improves the finite-label readout without changing the pretraining recovery threshold.
Early-stopping without masking
Figure 12 and Figure 13 evaluate frozen linear probes at intermediate unmasked-pretraining checkpoints for the architectures and datasets of Figure 1 . In both architectures, training and validation reconstruction MSE continue to improve after downstream accuracy has peaked. The deterioration in the representation is therefore not accompanied by a rise in held-out reconstruction error.
For CNN, epoch 16 maximizes mean probe validation accuracy across seeds and supplies the unmasked baseline in Figure 1 and Figure 4 ; the plotted curve reports test accuracy. Reconstruction losses are measured in the standardized image coordinates.
For ViT, unmasked pretraining uses the architecture, deterministic preprocessing and optimizer settings of App. § 16 .§ 1 , retaining all patches and evaluating reconstruction MSE over all patches. Targets remain standardized within each patch, and the learning-rate schedule retains its 100-epoch horizon. The final probe’s validation top-5 accuracy selects six pretraining epochs (38.96%). Figure 13 (a) shows normalized-patch reconstruction MSE, excluding the detached online classifier’s loss; validation MSE is evaluated on all 5,000 validation images. Neither the CNN nor the ViT checkpoint is selected by minimum reconstruction validation loss since it is misleading for downstream performance.
Masked CNNs use validation-selected reconstruction checkpoints, whereas the main masked ViT comparisons use the final pretraining checkpoint. This selection favors the unmasked reference, whose reported score is a selected validation result rather than an independent test estimate.
Mask renewal and image augmentation in CNNs
Figure 14 complements Figure 5 using the CNN autoencoder on CIFAR-10 from Figure 1 (b). We compare static and dynamic masking with and without stochastic cropping and flipping, averaging over five seeds. Within each seed, the four conditions share the data split and initial autoencoder weights. The architecture, optimizer settings, validation-based checkpoint selection and stopping rule, and frozen linear-probing protocol follow App. § 16 .§ 1 .
Cropping and flipping substantially improve static masking across the sweep, bringing its mean accuracy close to dynamic masking at lower masking ratios. At larger masking ratios, dynamic masking retains an advantage even with augmentation. The CNN comparison therefore supports the same interpretation as the ViT experiment: geometric transformations can partly compensate for mask reuse by changing the content to be predicted. The remaining gap shows that the extent of this compensation depends on the masking ratio and experimental setting.
CNN training budgets and validation selection
We examine the CNN mask-diversity comparison of Figure 4 (b) at ρ = 0.625 \rho= 0.625 ρ = 0.625 , with K ∈ { 1 , 2 , 4 , 8 , 16 , 32 } K \in\{1, 2, 4, 8, 16, 32\} K ∈ { 1 , 2 , 4 , 8 , 16 , 32 } and dynamic masking. Both experiments use the CIFAR-10 architecture, AdamW settings, and the frozen linear-probing protocol of App. § 16 .§ 1 , without cropping or flipping. Each condition has five seeds (different pretraining/validation splits). Encoders are selected by validation reconstruction MSE followed by downstream accuracy measured on a separate test set.
Figure 15 shows the original training and validation trajectories with the plateau learning-rate (LR) scheduler. Finite-mask runs continue reducing training error after validation error levels off or rises (overfitting ), motivating validation-based checkpoint selection. Since the original scheduler operates in epochs whose update counts depend on K K K , we also test whether the results persist under a common schedule measured in optimizer updates.
To assess the role of the scheduler, we repeat the experiments with the same data splits, random seeds, and initial weights, using a fixed learning rate (LR) of 10 − 3 10^{-3} 1 0 − 3 and a longer training number of optimizer updates (Figure 16 ). All conditions now use 2,500 updates between validation evaluations, a stopping patience of 125,000 updates without improvement, and a total maximum of 1,150,000 updates.
Figure 16. CNN control with a fixed learning rate and extended training. Panels and uncertainty conventions follow Figure 15 .
Figure 17 (a) compares validation-selected (early-stopped checkpoints) encoders under the two protocols. Their mean test accuracies remain close across masking conditions, and the downstream improvement with mask diversity persists under the fixed-learning-rate control. The extended runs also exhibit a reconstruction-generalization gap.
Figure 17. The downstream mask-diversity trend persists across training protocols. Test accuracies from (a) are taken from linear probing the early-stopped checkpoints from Figure 15 and Figure 16 . (b) corresponds to linear probing the checkpoints after 125k optimizer updates in the setting of Figure 16 . Markers and bars show mean ± 1 \pm1 ± 1 SD over five seeds.
Figure 17 (b) instead selects the encoder checkpoint saved at step 125,000 from each fixed learning rate run (Figure 16 ) and evaluates it using the same frozen linear-probing protocol. This changes the checkpoint used for downstream evaluation, not the training or stopping procedure. Thus, the downstream mask-diversity trend persists both when selecting the encoder by validation reconstruction MSE and when selecting its checkpoint at a common training step.
Numerical assessment of finite-mask threshold ratios
How well does the weak-signal mask-reuse law describe recovery at finite signal strength? Figure 18 compares it with thresholds computed from the full linear equations at zero ridge. We solve the uninformative closures in (D.12)–(D.16) and locate the gain crossing in (D.23); App. § 16 .12 gives the numerical procedure.
Variance laws and normalization. The two rows of Figure 18 use homogeneous noise, γ = 1 \gamma= 1 γ = 1 , and the bounded law
γ = 1 + c ( 9 4 B − 3 4 ) , B ∼ Beta ( 1 , 2 ) , c ≃ 0.5743390142. (519) \gamma= 1 + c\left(\frac{9}{4}B - \frac{3}{4}\right), \qquad B \sim\operatorname{Beta}(1,2), \qquad c \simeq0.5743390142. \tag*{(519)} γ = 1 + c ( 4 9 B − 4 3 ) , B ∼ Beta ( 1 , 2 ) , c ≃ 0.5743390142. (519)
This bounded law differs from the example in Figure 2 (b).
Across the displayed parameters, increasing mask diversity lowers the threshold toward the dynamic reference. The finite-signal deviations from the weak-signal curve depend on ρ \rho ρ , while the diminishing cost of mask reuse remains visible.
Synthetic experiments and numerical predictions
Data and masking-ratio sweeps. The synthetic autoencoder simulations use P u = P λ = N ( 0 , 1 ) P_u = P_\lambda= \mathcal{N}(0,1) P u = P λ = N ( 0 , 1 ) and β = 1 \beta= 1 β = 1 . The masked results in Figure 1 (a) and Figure 4 (a) use linear activation, d = 2000 d = 2000 d = 2000 , α = 8 \alpha= 8 α = 8 , and γ = 1 4 + 9 4 B \gamma= \frac{1}{4} + \frac{9}{4}B γ = 4 1 + 4 9 B with B ∼ Beta ( 1 , 2 ) B \sim\operatorname{Beta}(1,2) B ∼ Beta ( 1 , 2 ) , as in Figure 2 (b). Each condition uses 30 seeds and 4000 full-batch Adam updates. Figure 10 uses the same experiments. Bars show ± 1 \pm1 ± 1 SD. The red PCA references in Figure 1 (a) and Figure 4 (a) show the asymptotic chance accuracy 1 / 2 1/2 1/2 for this law (Proposition E.4 and App. § 13 .1.7).
Sample-complexity sweeps. Figure 2 uses the three variance laws stated in its caption, d = 2000 d = 2000 d = 2000 , σ ( x ) = x \sigma(x) = x σ ( x ) = x , ρ = 0.75 \rho= 0.75 ρ = 0.75 , 20 seeds per point, and 4000 Adam updates for each autoencoder. The no masking points are found by extracting the first principal component of the pretraining set and then linear probing following the procedure detailed in § 2 .
In Figure 3 , the four activations use the bounded law γ = 1 4 + 9 4 B \gamma= \frac{1}{4} + \frac{9}{4}B γ = 4 1 + 4 9 B , B ∼ Beta ( 1 , 2 ) B \sim\operatorname{Beta}(1,2) B ∼ Beta ( 1 , 2 ) , as in Figure 2 (b), with d = 2000 d = 2000 d = 2000 , β = 1 \beta= 1 β = 1 , and ρ = 0.75 \rho= 0.75 ρ = 0.75 . Each autoencoder condition uses 30 seeds and 4000 full-batch Adam updates. Both rows report means with ± 1 \pm1 ± 1 SD across seeds. AMP dimensions and seeds are given in App. § 16 .14.
Optimization and downstream evaluation. Adam uses learning rate 0.05, no schedule or weight decay, and one initialization with iid N ( 0 , 1 ) \mathcal{N}(0,1) N ( 0 , 1 ) coordinates, without warm starts across conditions. Each update averages the reconstruction loss over all hidden entries in the fixed mask collection, or over one fresh mask per sample for dynamic training. The masked autoencoders in Figure 1 (a) and Figure 4 (a), the bounded autoencoders in Figure 2 (b), and all masked autoencoders use λ R = 10 − 4 \lambda_R = 10^{-4} λ R = 1 0 − 4 . Sampled coordinate variances are not renormalized or truncated. Frozen scalar probes use n d s = 100 n_{\mathrm{ds}} = 100 n ds = 100 independently labeled examples and 10,000 independent test examples from the same quenched spike, with labels sign ( λ ) \operatorname{sign}(\lambda) sign ( λ ) . For every activation, probing uses the raw, unmasked preactivation w T x / d \mathbf{w}^{\mathsf{T}}\mathbf{x}/\sqrt{d} w T x / d . The scalar logistic coefficient has no intercept or regularization and is fitted with L-BFGS for at most 100 iterations.
Numerical predictions. The RS learning curves use the small ridge λ R = 10 − 4 \lambda_R = 10^{-4} λ R = 1 0 − 4 , separately from the zero-ridge threshold calculation in Figure 18 . For the masking-ratio sweeps in Figure 1 (a), Figure 4 (a), and Figure 10 , we use 200-node Gauss–Legendre quadrature over the full bounded support [ 1 / 4 , 5 / 2 ] [1/4,5/2] [ 1/4 , 5/2 ] and analytic linear output averages.
For Figure 3 , variance integrals use 200-node Gauss–Legendre quadrature over the full bounded support [ 1 / 4 , 5 / 2 ] [1/4, 5/2] [ 1/4 , 5/2 ] ; the Bayes reference uses 40 variance nodes. The RS curves use a 120-point grid over α ∈ [ 0.09 , 11 ] \alpha\in[0.09, 11] α ∈ [ 0.09 , 11 ] , with denser sampling near the transitions. Linear output averages are analytic. Antithetic scrambled Sobol field integration uses 2 18 2^{18} 2 18 samples for tanh at K = 1 K = 1 K = 1 and ReLU at K = 2 , 4 K = 2, 4 K = 2 , 4 , and 2 14 2^{14} 2 14 for ELU at K = 1 , 2 , 4 K = 1, 2, 4 K = 1 , 2 , 4 and tanh at K = 2 , 4 K = 2, 4 K = 2 , 4 . ReLU at K = 1 K = 1 K = 1 and dynamic masking uses Gauss–Hermite field quadrature of order 120. Dynamic tanh and ELU use order 64 for both field and mask quadrature. Finite-K K K ReLU uses its piecewise-quadratic proximal; tanh and ELU use numerical proximal minimization. Fixed-point updates use damping 0.3 and tolerance 10 − 6 10^{-6} 1 0 − 6 , except tanh at K = 1 K = 1 K = 1 (10 − 7 10^{-7} 1 0 − 7 ) and dynamic tanh (10 − 8 10^{-8} 1 0 − 8 ). Downstream curves include finite-label orientation uncertainty through (G.15), evaluated with 10 4 10^4 1 0 4 Monte Carlo draws for the masking-ratio sweeps and 10 5 10^5 1 0 5 for the four-activation comparison.
Finite-mask threshold ratios. For Figure 18 , we use linear activation and λ R = 0 \lambda_R = 0 λ R = 0 , evaluate the output channel analytically, and follow the uninformative saddle on a logarithmic grid in α \alpha α . The first crossing of Λ K = 1 \Lambda_K = 1 Λ K = 1 in (D.24) is refined by logarithmic bisection. Each finite-K K K threshold is normalized by the dynamic threshold at the same β \beta β , ρ \rho ρ , and variance law. The bounded distribution is defined in (H.2) and differs from the law used in Figure 2 (b).
Matched-moment noise-adaptation examples. We evaluate the finite-support expectations I j , ℓ ( τ ) I_{j,\ell}(\tau) I j , ℓ ( τ ) exactly as weighted sums. For a fixed β \beta β , parameterize the critical curve by τ \tau τ using (D.131), then recover ρ \rho ρ from (D.134). Follow the regular continuation through τ = 0 \tau= 0 τ = 0 and solve for the specified masking ratio. Reconstructing the full order parameters verifies the susceptibility, variance, and teacher-response closures. For the three laws in Table 2 , the homogeneous law, and 1 2 δ 1 / 2 + 1 2 δ 3 / 2 \frac{1}{2}\delta_{1/2} + \frac{1}{2}\delta_{3/2} 2 1 δ 1/2 + 2 1 δ 3/2 , these checks at ρ ∈ { 0.8 , 0.95 , 0.99 } \rho\in\{0.8, 0.95, 0.99\} ρ ∈ { 0.8 , 0.95 , 0.99 } give absolute critical closure residuals below 2 × 10 − 13 2 \times10^{-13} 2 × 1 0 − 13 . Solutions of (D.140) at sample ratios 1.001, 1.01, and 1.05 times each critical ratio have positive alignment and satisfy the full closures to absolute tolerance 10 − 7 10^{-7} 1 0 − 7 . These checks support the continuous informative continuation used for the reported thresholds.
Mask diversity in BERT
We compare one fixed mask per sequence (K = 1 K = 1 K = 1 ), a fixed collection of ten masks (K = 10 K = 10 K = 10 ), and dynamic mask resampling in a BERT-Medium pretraining pilot. Each condition uses three pretraining seeds and two fine-tuning seeds per pretraining seed and task. The corpus, architecture, and pretraining budget are shared across masking conditions.
Implementation and data. We train a BERT-style masked language model [3 ] using our adaptation of DinkyTrain [57 ] , built on fairseq [58 ] and its RoBERTa implementation [8 ] . DinkyTrain’s efficient pretraining recipe builds on Izsak et al. [59 ] . The pre-LayerNorm encoder has eight layers, hidden dimension 512, feed-forward dimension 2048, eight attention heads, and approximately 51.5 million pretraining parameters. We use the repository’s preprocessed Wikipedia–BookCorpus data [60 ] , with GPT-2 byte-pair encoding and a 50,265-token model vocabulary. The pilot uses one fixed shard, retaining 3,756,032 contiguous sequences of length 128. Token blocks are constructed before mask views are assigned; the underlying text remains fixed across presentations.
Masking protocol. We select 15% of token positions for prediction. Every selected token is replaced by [MASK]; neither random-token substitution nor unchanged selected tokens are used. For finite K K K , the corruption depends on the mask seed, sequence identifier, and view identifier, and is fixed across presentations. Dynamic masking draws a fresh corruption at each presentation. Each sequence is presented 109 times in every condition: the single K = 1 K = 1 K = 1 mask is reused throughout, the ten K = 10 K = 10 K = 10 masks are reused approximately eleven times each, and dynamic masking draws 109 masks. Pretraining seeds are 0, 1, 2, with the training and mask seed both set to the same value. Seeds control initialization, data order, dropout, and mask draws. Held-out validation uses 1,941 sequences.
Pretraining budget and optimization. Each run completes 99,953 optimizer updates with an effective batch size of 4,096. Adam uses a peak learning rate of 2 × 10 − 3 2 \times10^{-3} 2 × 1 0 − 3 , 1,999 warmup updates followed by cosine decay, coefficients (0.9, 0.98), ϵ = 10 − 6 \epsilon= 10^{-6} ϵ = 1 0 − 6 , weight decay 0.01, and no gradient clipping. Dropout and attention dropout are both 0.1. Pretraining checkpoints are selected using held-out masked-language-model validation loss.
Table 5 : BERT downstream results. Development scores (× 100 \times100 × 100 , ↑ \uparrow ↑ ), reported as mean ± \pm ± SD across three pretraining seeds after averaging two fine-tuning runs per pretraining seed. MCC denotes Matthews correlation; STS-B uses Spearman correlation. MNLI-m and MNLI-mm are the two splits of the same task.
Table 5.
Downstream optimization. We fine-tune the full model on eight GLUE tasks [61 ] for ten epochs and evaluate after the last epoch on the development split. The maximum input length is 512 tokens. Learning rate and batch size are 10 − 5 10^{-5} 1 0 − 5 and 32 for MNLI, QNLI, QQP, and SST-2; 2 × 10 − 5 2 \times10^{-5} 2 × 1 0 − 5 and 16 for STS-B; and 5 × 10 − 5 5 \times10^{-5} 5 × 1 0 − 5 and 16 for MRPC, CoLA, and RTE.
For MRPC, CoLA, and RTE, a preliminary learning-rate sweep resolved the majority-class predictions observed with the initial fine-tuning settings. We selected 5 × 10 − 5 5 \times10^{-5} 5 × 1 0 − 5 using the K = 10 K = 10 K = 10 model with pretraining seed 0 from { 5 × 10 − 5 , 10 − 4 , 2 × 10 − 4 , 4 × 10 − 4 } \{5 \times10^{-5}, 10^{-4}, 2 \times10^{-4}, 4 \times10^{-4}\} { 5 × 1 0 − 5 , 1 0 − 4 , 2 × 1 0 − 4 , 4 × 1 0 − 4 } and applied it across all masking conditions and seeds. This value is included in the released fine-tuning grid accompanying the compact BERT models of Turc et al. [62 ] .6 Adam uses coefficients (0.9, 0.98), ϵ = 10 − 6 \epsilon= 10^{-6} ϵ = 1 0 − 6 , weight decay 0.1, and no gradient clipping. The learning rate warms up for 6% of the update budget and then decays linearly. Dropout and attention dropout are both 0.1. Classification tasks use cross-entropy; STS-B uses mean-squared-error regression.
Downstream performance. In Table 5 , K = 10 K = 10 K = 10 improves the mean score over K = 1 K = 1 K = 1 on all eight tasks. Dynamic masking has the highest mean on seven of eight tasks, including both MNLI splits. The additional gain over K = 10 K = 10 K = 10 depends on the task: the MRPC means are nearly equal, while RTE remains weak and variable. The results support a benefit of mask diversity across independent pretraining runs.
Bayes curves and AMP estimates
The Bayes-optimal lines in Figure 2 , Figure 3 and Figure 8 show the state-evolution solution of (F.76). Green diamonds use the alternating, Fisher-averaged AMP from App. § 14 .§ 5 , specializing the bipartite Low-RAMP of Lesieur et al. [35 ] . Inference uses the known signal strength and Gaussian priors, with coordinate variances estimated by the empirical second moments in (F.9).
Initialization and convergence. The plotted runs use weak teacher-informed initialization
u ^ 0 = p u ⋆ + 1 − p z , z ∼ N ( 0 , I d ) , (520) \widehat{u}^{0} = \sqrt{p}u^{\star} + \sqrt{1-p}z,\qquad z \sim\mathcal{N}(0,I_d), \tag*{(520)} u 0 = p u ⋆ + 1 − p z , z ∼ N ( 0 , I d ) , (520)
In Figure 2 , Figure 3 and Figure 8 , AMP uses d = 4000 d = 4000 d = 4000 , p = 0.05 p = 0.05 p = 0.05 , and ten seeds per α \alpha α value. Initial sample-amplitude estimates are Gaussian with variance 0.1, with damping factor η = 0.75 \eta= 0.75 η = 0.75 .
Matched downstream comparison. The lower row of Figure 3 applies the same unweighted raw-feature logistic probe to AMP and autoencoder estimates, using 100 labels and 10,000 test examples. Its green curve combines the Bayes pretraining solution with the raw-feature SNR (G.21) and the finite-label logistic-probe formulas in App. § 15 .§ 2 .