Manuscript Offprint
arXiv:2609.05796Diagonal Attenuation: A Finite-Sample Correction for PCA
Abstract
Principal component analysis (PCA) can rotate away from its population target when a covariance matrix is estimated from limited data. We introduce diagonal attenuation, which preserves sample cross-covariances while reducing coordinatewise sample variances. The method is revealed exactly by averaging a linear full-output reconstruction loss over random input masks; studying the correction directly extends it beyond the range attainable by masking. We isolate the part of the random coupling between retained and omitted population directions that is contributed by sample-variance errors, and show how attenuation can reduce the resulting rotation. Under balanced marginal variances, we derive an explicit expected-risk theorem, uniform over the attenuation path for all sufficiently large finite samples, and obtain the asymptotically risk-minimizing strength. For general covariances, we characterize when attenuation leaves the population PCA subspace unchanged and give a risk theorem that also accounts for changing eigengaps and the population cost when the target moves. Simulations track this tradeoff from exact preservation back to PCA. Across local image patches, speech spectra, and smartphone acceleration, both mask-derived and direct attenuation improve PCA under two fitting-sample budgets, and one of them has the largest mean gain among seven methods in every data–budget cell. The full path selects strengths beyond the mask-derived boundary on 63%–95% of the subsamples.
Keywords: principal component analysis, diagonal attenuation, covariance regularization, eigenspace estimation, finite-sample risk
Date: September 4, 2026
Contents
1 Introduction 2
1.1 Related work 3
1.2 Notation 4
2 Diagonal attenuation for PCA 4
2.1 PCA target and clean risk 4
2.2 From input masking to diagonal attenuation 4
2.3 Population target under attenuation 5
3 Why attenuation can improve finite-sample PCA 6
3.1 Balanced marginals: reducing sampling-induced rotation 7
3.2 General covariance: changing eigengaps and population leakage 9
4 Numerical studies 10
‡E-mail: qsunstats@gmail.com.
4.1 Finite-sample risk across preserved and moving targets ..... 10 4.2 Fixed-budget studies on image patches and ordered signals ..... 12
1 Introduction
Principal component analysis (PCA) estimates a low-dimensional subspace by diagonalizing a sample covariance matrix. With limited data, sampling fluctuations couple population directions on opposite sides of the rank cutoff and rotate the fitted subspace away from its population target; the resulting error is controlled by both these random couplings and the spectral gaps that resist them (Anderson, 1963; Koltchinskii & Lounici, 2017; Reiß & Wahl, 2020; El Hanchi et al., 2025). A less visible source of rotation is error in the coordinatewise sample variances. These errors form a diagonal matrix in the observed coordinates, but the same matrix generally has off-diagonal entries in the population principal-component basis. Those entries couple a direction retained by PCA with one it omits and can therefore rotate the fitted subspace. This identifies a specific correction: can weakening the sample diagonal reduce PCA's finite-sample reconstruction risk while retaining its informative sample cross-covariances?
Input masking provides an unexpected route to precisely this correction. Let be centered observations, the set of rank- orthogonal projectors, and a random diagonal mask. Consider reconstructing each complete observation from its masked version:
Write for the sample covariance and let retain its diagonal. Averaging exactly over independent Bernoulli masks, as in marginalized denoising (Chen et al., 2012), turns (1.1) into PCA applied to
where is the masking rate. Thus masking reveals a covariance correction that retains every sample cross-covariance and multiplies every sample variance by . We call the resulting operation diagonal attenuation. Figure 1 summarizes its derivation and the estimator family studied here.
Input masking reaches only . We therefore study the full path directly: ordinary PCA is the endpoint , while gives diagonal-deletion, or hollowed, PCA (Cai et al., 2021; Abbe et al., 2022). The strength can be selected by reconstruction validation with PCA included as a candidate. The statistical tradeoff now becomes explicit. Attenuation reduces the part of the random retained–omitted coupling carried by coordinatewise variance fluctuations, but it can also alter the population eigenspace or its spectral separation. We call the random cross-subspace component sampling leakage. Balanced marginal variances provide a transparent case: attenuation leaves the population target and all eigengaps unchanged, so its entire effect comes from changing this sampling leakage. General covariances require two additional pieces—the attenuated eigengaps and the population cost if the target moves. Our theory combines these quantities in a single comparison of clean reconstruction risk.
The paper makes three contributions. First, we derive diagonal attenuation exactly from masked-input reconstruction, extend the mask-derived range to a directly tunable PCA estimator, and characterize when the population PCA subspace is preserved or moved. Second, we isolate the sample-diagonal contribution to the standard cross-subspace sampling fluctuation and show how attenuation changes expected reconstruction risk. Under balanced marginal variances, this yields an explicit theorem and
(a) Average over masks

(b) Extend the attenuation path

(c) Oracle risk minimizer
Figure 1: Method overview. Left: averaging the full-output reconstruction loss in (1.1) over random input masks yields (1.2). Center: input masking produces the first part of the attenuation path, while direct attenuation extends the same correction from PCA to diagonal deletion. Right: the oracle strength balances the reduction in sampling-induced rotation against any population cost caused by moving the target, and may lie beyond the mask-derived range.
the asymptotically risk-minimizing strength; for general covariances, our risk theorems account for changing eigengaps and population bias. Third, simulations verify the predicted risk tradeoff across preserved and moving targets, while fitting-sample-budget studies on local image patches, speech spectra, and smartphone acceleration compare seven methods under common budgets. Both attenuation paths improve PCA in every cell, and one has the largest mean gain in all six cells.
1.1 Related work
PCA and covariance regularization. Classical and modern PCA theory describes eigenspace fluctuations, perturbation bounds, and reconstruction risk (Anderson, 1963; Koltchinskii & Lounici, 2017; Reiß & Wahl, 2020; El Hanchi et al., 2025). Linear shrinkage toward a scalar identity improves covariance conditioning but preserves the sample eigenvectors (Ledoit & Wolf, 2004); shrinkage toward a diagonal target also modifies sample cross-covariances (Schäfer & Strimmer, 2005). Diagonal attenuation takes a different direction: it retains the observed cross-covariances and weakens only the sample diagonal. Diagonal deletion is established for noisy or incomplete low-rank matrices, and hollowed PCA can improve spectral recovery under heteroskedastic noise (Cai et al., 2021; Abbe et al., 2022). HeteroPCA further alternates diagonal deletion and imputation in a latent low-rank measurement model (Zhang et al., 2022). Our observations are instead complete draws from the covariance whose PCA subspace is the target. We study the continuous path from no deletion to complete deletion and ask when a partial correction lowers the clean reconstruction risk of ordinary PCA.
Masking and linear reconstruction objectives. Denoising autoencoders learn from corrupted inputs (Vincent et al., 2008; 2010), and marginalized denoising integrates over the corruption to obtain a deterministic moment objective (Chen et al., 2012; 2014). An unmasked undercomplete linear autoencoder recovers the PCA subspace under squared loss (Baldi & Hornik, 1989). Our orthogonal-projector formulation keeps both the target and evaluation loss equal to those of PCA, allowing a signed clean-risk comparison. Canonical masked autoencoders instead score only masked targets (He et al., 2022); Remark 2.1 states this objective boundary, and the supplement gives the corresponding linear characterization.
Closest spectral analyses of masking. Ji et al. (2023) connect complementary random masks in a contrastive objective to diagonal deletion and feature recovery under a spiked additive noise model. Our full-output projector objective instead produces a continuous partial-attenuation path and is evaluated against the ordinary PCA subspace of the clean covariance. Bisulco et al. (2025) study full-output block masking with an untied linear encoder and decoder. For a fixed data matrix, they derive the global minimizers through a generalized eigenvalue problem and characterize all critical points. We instead constrain the reconstruction map to be an orthogonal projector and compare its expected clean PCA risk under random sampling. Zurich et al. (2026) analyze coordinatewise masked self-supervised ridge regression in proportional asymptotics; their estimator is an asymmetric full-rank predictor trained to infer hidden coordinates. Our estimator is a fixed-rank projector, and our risk theory is fixed dimensional and centered on the finite-sample PCA target. More broadly, Lin et al. (2024) show that linear data augmentation induces data-dependent spectral regularization. Here we identify the particular cross-subspace fluctuations, attenuated gaps, and population movement that determine the clean-risk comparison with PCA. Further objective-level distinctions are collected in Section S.5.4.
1.2 Notation
For a symmetric matrix , is its th largest eigenvalue, retains its diagonal, and . The operator and Frobenius norms are and , and denotes the elementwise product. The set of rank- orthogonal projectors is ; denotes a leading rank- projector of , with a fixed rule for ties. The mask rate is , and is the diagonal-attenuation strength. Additional quantities are defined where they first appear.
2 Diagonal attenuation for PCA
This section defines the clean PCA target, derives diagonal attenuation from input masking, and extends it into a directly tunable estimator family. We then describe the population geometry needed to compare this family with PCA.
2.1 PCA target and clean risk
Let be centered observations, and define the sample covariance
Fix . A rank- PCA eigenspace is represented by an orthogonal projector
where is the set of rank- orthogonal projectors. For a fresh, unmasked observation with population covariance , the reconstruction risk is
Let be a leading rank- projector of . Its excess reconstruction risk is
2.2 From input masking to diagonal attenuation
In (1.1), let , where the are independent Bernoulli() variables. Each coordinate is retained with probability , and is the mask rate. Averaging over this mask distribution gives the attenuation parameter and matrix
Mask rates correspond exactly to .
Proposition 2.1 (Exact mask marginalization). Every optimizer of (1.1) is a leading rank- spectral projector of . If , then
Proposition 2.1 shows that masking reveals a deterministic covariance correction: it retains sample cross-covariances and multiplies sample variances by . Because masking reaches only , we extend the same path directly and define
where denotes a leading rank- projector of a symmetric matrix . Ordinary PCA corresponds to , while is diagonal-deletion PCA based on off(). Equivalently, if , then ; for PCA, complete attenuation is equivalent to replacing all coordinate variances by their common average while retaining all sample cross-covariances.
The full interval can be searched by held-out reconstruction with PCA included at the endpoint . For a finite candidate grid, an independent-validation implementation gives a formal fallback guarantee: without post-selection refitting, the selected projector has clean risk no greater than the PCA candidate plus an error that vanishes with the validation sample size (Proposition S.4.2).
Remark 2.1 (Relation to masked and linear autoencoders). Our full-output orthogonal-projector objective has the PCA subspace as its unmasked target. Canonical masked autoencoders score only masked targets, and unconstrained linear autoencoders optimize a broader class of maps. These linear objectives are compared briefly in the supplement (Baldi & Hornik, 1989; He et al., 2022).
2.3 Population target under attenuation
Write
Because may contain directional information, attenuation can move the population PCA target. We measure the resulting population reconstruction cost by
The nonnegative quantity is the reconstruction cost that remains even if is known without sampling error. It is zero exactly when is also optimal for the population PCA risk. Under the positive cutoff eigengap in Assumption 2.2, this is equivalent to . Because , the population cross-block is
This cross-block records whether attenuation mixes the target subspace with its orthogonal complement. It vanishes exactly when the range of is invariant under .
For , define the block gap as the difference between the smallest population Rayleigh quotient retained by and the largest one discarded by :
A positive means that the attenuated population variance retained by remains strictly above that discarded by .
Proposition 2.2 (Zero target-shift characterization). Fix . The projector is the unique leading rank- projector of if and only if
Consequently, under these conditions.
The first condition prevents attenuation from mixing the target and discarded subspaces. The second prevents their spectral ordering from reversing. Together they are necessary and sufficient for to remain the unique leading rank- population projector. In Section 3, we begin with balanced marginals to make the mechanism explicit and then allow general covariances with changing eigengaps and population target movement. We next state the assumptions shared by these analyses.
Assumption 2.1 (Gaussian sampling). The observations satisfy with .
Assumption 2.2 (Fixed-dimensional identifiable target). The dimension and target rank are fixed as grows, and .
Assumptions 2.1 and 2.2 are standard in fixed-dimensional PCA analyses (Anderson, 1963; Koltchinskii & Lounici, 2017; Reif & Wahl, 2020; Yu et al., 2015). Gaussianity gives transparent risk formulas; the supplement extends them to distributions with finite moments. The analysis treats the population mean as known and zero, while in practice the observations are typically centered empirically. The centered sample covariance has the same eigenspace distribution as a zero-mean sample covariance based on observations, so the same expected-risk results in Section 3 apply with sample size . Additional structure is introduced where the risk analysis requires.
3 Why attenuation can improve finite-sample PCA
For any symmetric matrix , the cross-block records how connects the population PCA subspace to its orthogonal complement. We call this block the cross-subspace leakage; its individual entries are couplings between retained and omitted directions. For the attenuated sample matrix , leakage separates into a deterministic population component and a random sampling component. Write . Since , diagonal attenuation gives the exact decomposition
The first term determines whether attenuation moves the population target. The second is mean-zero sampling leakage; its retained–omitted couplings drive sampling-induced rotation of the fitted subspace. We first isolate this sampling effect under balanced marginal variances, where the population term vanishes and all population eigengaps remain fixed. We then allow unequal marginals, which can change the eigengaps and, when the target moves, introduce population leakage.
3.1 Balanced marginals: reducing sampling-induced rotation
Balanced marginal variances isolate the finite-sample effect of attenuation.
Assumption 3.1 (Balanced marginal variances). For some , .
The assumption equalizes the variances of the observed coordinates but does not make the covariance isotropic: correlations, nontrivial principal directions, and unequal eigenvalues remain allowed. At the population level,
Therefore attenuation leaves the population principal subspace and every eigengap unchanged. Any change in the estimated subspace must therefore come from the sample fluctuation matrix , specifically from its couplings across the rank-d cutoff. To see this, choose an orthonormal eigenbasis of , ordered so that , and fix . For one observation define
where is the -th coordinate of . The variable is one observation's contribution to the unattenuated coupling between the retained direction and the omitted direction . The variable is the part of that contribution arising from coordinatewise variance fluctuations. Both are mean zero. If and denote their sample averages, then the sampling-leakage matrix collects all residual couplings across the rank cutoff:
Its entry is . At , PCA uses the unattenuated coupling . Attenuation subtracts its sample-diagonal component , leaving the residual coupling . The next lemma shows how this residual coupling produces subspace rotation and clean reconstruction risk. To express the resulting rotation, divide each residual coupling by its population eigengap and define
Lemma 3.1 (Residual coupling, rotation, and clean risk). Under Assumptions 2.1, 2.2 and 3.1, for each fixed there is a remainder such that, for every ,
(3.6)
Moreover,
The scalar is the first-order rotation from toward , so a larger eigengap weakens the effect of the same residual coupling. The risk formula weights its square by that eigengap, leaving one eigengap in the denominator. This is a full rank- statement and does not require the pairwise couplings to be independent. The proof is given in Section S.3.4.1. Although the individual coordinates in (3.5) depend on the chosen eigenbasis when eigenvalues repeat within either block, their aggregate contribution in (3.7) does not. This basis invariance suggests a coordinate-free risk analysis for general covariance, which we develop in Section 3.2.
It remains to determine whether attenuation reduces the variance of the residual coupling. Under Gaussian sampling, Isserlis' identity (Isserlis, 1918) gives
The nonnegative overlap term in (3.8) quantifies how strongly the sample-diagonal component aligns with the unattenuated coupling and thus why a small positive attenuation reduces its variance; the quadratic term in (3.9) explains why excessive attenuation can eventually increase it. Aggregating these contributions across the rank cutoff, define
Theorem 3.2 aggregates these pairwise contributions and controls the expected risk uniformly over the full attenuation path.
Theorem 3.2 (Expected risk under balanced marginals). Under Assumptions 2.1, 2.2 and 3.1, there are finite constants and , independent of , such that
Moreover, and, for every ,
Because Theorem 3.2 shows that approximates the expected clean excess risk, we call the -scaled theoretical risk curve. Its minimizers over the closures of the mask-derived and direct ranges are
For any , the theorem guarantees lower expected risk than PCA whenever . Consequently, every fixed improves on PCA for all sufficiently large finite samples. A larger mask rate need not be better, and the optimum can lie beyond the mask-derived range. The notation “cl” denotes closure: is approached as the mask rate tends to one, whereas direct attenuation includes the entire interval ; see Figure 1.
As a concrete example, the rank-one flat-spike model with , where is the all-ones vector, has balanced marginals. Moreover, , so complete attenuation is optimal on the direct path. Figure 2(a) verifies the theoretical risk curve in a balanced multispike design.
3.2 General covariance: changing eigengaps and population leakage
When marginal variances are unequal, attenuation has two distinct population-level effects. It can change the eigengaps that resist sampling-induced rotation even when the population PCA subspace is unchanged, and it can create population leakage that moves this subspace. We begin with the target-preserving case, allowing the eigengaps to vary with . Recall the block gap from (2.11).
Assumption 3.2 (Target preservation). For a compact attenuation interval containing zero,
The first condition eliminates population leakage, so leaves the range of invariant. The positive block gap keeps this subspace above its orthogonal complement in the spectral ordering. Together, the two conditions preserve the leading rank- population subspace over the attenuation interval. Neither requires equal coordinate variances: Figure 2(b) gives an unequal-marginal example satisfying both.
The general argument writes the three balanced-case steps in matrix form: collect the sampling leakage, convert it into subspace rotation using the attenuated eigengaps, and then convert that rotation into clean reconstruction risk using the original PCA eigengaps. For the first step, define the one-observation leakage matrix ; its sample average is the matrix introduced in (3.4):
(3.15)
The entry of is , exactly the one-observation version of the balanced residual coupling. Under Assumption 3.2, population leakage vanishes, so is the entire leakage across the rank cutoff. The remaining difference is that attenuation may now change the eigengaps. To handle all rotation directions at once, let contain the matrices that map the target subspace into its orthogonal complement:
On this space, define the attenuated gap operator
The positive block gap makes invertible. In eigenbases of the two blocks, this operator multiplies each retained–omitted entry by its attenuated eigengap. Its inverse therefore converts the leakage matrix into the same leading rotation matrix used in the balanced case:
Under balanced marginals, the attenuated eigengap is , so (3.18) reduces exactly to (3.5). Its general derivation is given in Section S.3.2.
The final balanced-case step weights the squared rotation in direction by the original eigengap . The following operator applies the same clean-risk weighting to all directions at once:
Indeed, . Thus, writing for the Frobenius inner product, the general theoretical risk curve is
Equation (3.20) is therefore the coordinate-free counterpart of the pairwise risk in (3.7).
Theorem 3.3 (Expected risk under target preservation). Under Assumptions 2.1, 2.2 and 3.2, there are finite constants and , independent of , such that
For any , the theorem guarantees lower expected risk than PCA whenever . Unlike in the balanced case, this comparison now depends on both the random variation in the residual couplings collected by and the attenuated eigengaps represented by . When , , and (3.20) reduces exactly to the pairwise formula (3.10).
Target preservation need not be exact for attenuation to improve finite-sample PCA. When , attenuation creates population leakage, and the leading population subspace of moves away from . Uniformly over a compact attenuation interval containing zero, Theorem S.3.2 in the supplement gives
where is the clean reconstruction cost of moving the population subspace, as defined in (2.9). The term is the signed finite-sample correction around that moved subspace: sampling can rotate the estimator either toward or away from . It reduces to when the target is preserved. The theoretical risk curve formed by the two displayed terms favors attenuation over PCA when
Thus exact target preservation is unnecessary: attenuation helps whenever the finite-sample gain on the right pays for the population cost on the left.
In Figure 2(c), increasing population leakage moves the risk-minimizing strength from the directly range through the mask-derived range and finally to , which recovers PCA. Across these regimes, the benefit is determined by the sampling leakage remaining after attenuation, the eigengaps that translate this leakage into rotation, and any population cost from moving the target.
4 Numerical studies
This section presents numerical studies to examine the finite-sample performance of the proposed method. Controlled Gaussian experiments first ask whether the theoretical risk describes the benefit of attenuation as the population target changes from preserved to moving. Fixed fitting-sample-budget studies on three real-data modalities then compare mask-derived and direct attenuation with PCA, correlation PCA, HeteroPCA, and coordinate- and block-masked-target estimators under common budgets. Gaussianity makes the signed risk comparison explicit; the finite-moment theorem and non-Gaussian stress test in the supplement show that the same sampling mechanism is not tied to Gaussian observations.
4.1 Finite-sample risk across preserved and moving targets
Settings. We begin with two target-preserving covariances. The balanced design in Figure 2(a) has , target rank , and eigenvectors given by normalized columns of a Hadamard matrix, so each loading has magnitude . Specifically, the covariance is with



Figure 2: Testing the risk theory from preserved to moving targets. (a) Balanced marginal variances and (b) unequal marginal variances whose diagonal preserves the PCA target. Points and bars are Monte Carlo means and 95% intervals; dashed curves are the theoretical risk curve from (3.20); the vertical scale is the n-scaled expected clean excess risk. Blue shading marks the mask-derived range , with shown as its limiting endpoint. (c) Along (4.2), the upper axis compares the strengths selected by the theoretical risk curve (line) and Monte Carlo mean risk (points), and the lower axis reports the corresponding risk reductions relative to PCA. The horizontal coordinate is , so moving right means greater population target movement.
(8, 4, 2). Panel (b) uses target rank two and the unequal covariance
Here is not proportional to the identity, but it leaves the leading two-dimensional target invariant and preserves its spectral ordering along the attenuation path.
To move the population target continuously, panel (c) uses the bivariate family
Let and let be its leading population projector. The population coupling introduced by attenuation is measured by
It increases from zero to one along the path. Thus panel (c) changes target movement while keeping the two population eigenvalues fixed; in contrast, panel (b) shows that unequal marginal variances alone need not move the target.
Evaluation. For panels (a) and (b), every point averages 3,000 Gaussian samples at and reports . The theoretical curve is from (3.20), with no fitted parameters. For panel (c), we use 13 values of from to , spaced by through and by thereafter. At each value, 3,000 independent samples of size estimate the mean clean risk over . We compare its minimizing strength with the minimizer of on the same grid.
Results. The theoretical risk curve follows the Monte Carlo path throughout the attenuation interval in both target-preserving designs. The best simulated attenuation lowers the scaled PCA risk by 16.3% in the balanced design and by 63.4% at in the unequal design. Along the moving-target path, the strength minimizing the theoretical risk differs from the Monte Carlo mean-risk minimizer by at most one grid step, 0.025, at all 13 movement levels. As the population coupling grows, the preferred strength decreases from , passes through the mask-derived range, and eventually reaches , recovering classical PCA. The corresponding Monte Carlo risk reduction is nearly 100% under exact target preservation and remains 38.2% when the preferred strength first enters the mask-derived range, before tapering to zero at the PCA endpoint.
4.2 Fixed-budget studies on image patches and ordered signals
Settings. A fitting-sample budget gives every method the same observations for fitting and five-fold reconstruction cross-validation. The selected method is then refit on all observations and evaluated on the official test set. We use throughout.
The Optdigits data comprise 3,823 training and 1,797 test grayscale images of size (Alpaydin & Kaynak, 1998). Each image contributes one patch: before examining its pixel values, we sample the patch's upper-left corner uniformly from the 36 possible locations and flatten the patch into a vector in , so . Thus the nine coordinates record relative positions within a local patch, while the sampled patches range over the full image. We set . Ten independent patch-location seeds define ten versions of the training and test data; for each seed and budget, we draw 100 training subsamples. Within each subsample, all methods receive the same training patches and the same five validation folds.
The Phoneme data contain 256 ordered log-periodogram ordinates for each speech frame (Hastie et al., 2009). We retain the official speaker-disjoint split of 3,340 training and 1,169 test frames, set , and use all coordinates. For the structured masked-target baseline, we group every 16 adjacent frequency bins. The UCI Human Activity Recognition data contain three-axis total acceleration over 128 time points in each 2.56-second window (Reyes-Ortiz et al., 2013). We use the magnitude series, retain the official split of 7,352 windows from 21 training subjects and 2,947 windows from 9 test subjects, use all coordinates, set , and group every eight adjacent time points for the structured masked-target baseline. Each ordered-signal cell uses 100 training subsamples. All methods again share the observations and validation folds within each subsample, with all observations from the same speaker or subject kept in one fold. Digit, speech, and activity labels are never used.
Methods and evaluation. Every data set compares ordinary PCA with six alternatives under the same fitting budget. Mask-derived and direct diagonal attenuation retain the original coordinate scales and select from , restricted to for the mask-derived path. Correlation PCA instead standardizes coordinates before estimating the subspace, while HeteroPCA iteratively imputes the sample diagonal. Coordinate and block masked-target projectors select a mask rate from , which includes PCA at zero. The structured coordinate groups are the three rows of an Optdigits patch, consecutive sets of 16 frequency bins for Phoneme, and consecutive sets of eight time points for HAR. Definitions and optimization details are given in Section S.6.2.
For replicate , let be a method's test reconstruction mean squared error and let be the test PCA error. We compute by centering the official test observations and summing the smallest eigenvalues of their empirical covariance; equivalently, it is the reconstruction error of the best rank- affine subspace fitted to the test sample. We report the percentage of PCA's test excess reconstruction risk removed,
The test reference in the denominator only expresses the final error reduction on a common scale, which is not used for model selection.

Figure 3: Seven-method fixed fitting-sample-budget comparison across three real-data modalities. Each row gives the mean percentage of PCA excess reconstruction risk removed by one alternative; positive values favor that method. Filled circles and open diamonds correspond to and 128, respectively, and the shaded rows are the two attenuation paths. Optdigits intervals use ten patch-location means, each averaging 100 training-subsample fits; Phoneme and HAR intervals use 100 training subsamples. Within each fit, all methods use the same sampled observations, validation folds, and official test set. HeteroPCA means beyond the displayed range are marked at the left boundary and labeled by their values.
Table 1: Comparison under the same fitting-sample budgets. Entries are the mean percentage of PCA test excess reconstruction risk removed, so PCA is zero and larger is better. DA denotes diagonal attenuation and MT denotes masked-target training. The best method in each data-budget cell is bold.
| Method | Optdigits patches | Phoneme | HAR | |||
|---|---|---|---|---|---|---|
| PCA | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 |
| Mask-derived DA | 4.32 | 4.18 | 0.84 | 0.72 | 0.65 | 0.93 |
| Direct DA | 6.74 | 6.40 | 1.09 | 0.70 | 0.76 | 1.20 |
| Correlation PCA | 5.84 | 5.41 | -0.14 | -0.52 | 0.36 | 1.01 |
| HeteroPCA | -25.79 | -37.36 | 0.04 | 0.53 | -13.94 | -4.87 |
| Coordinate MT | -1.63 | -1.24 | 0.93 | 0.28 | 0.56 | 0.93 |
| Block MT | -3.58 | -1.27 | 0.00 | 0.00 | 0.00 | 0.00 |
Results. Figure 3 and Table 1 compare PCA with all six alternatives. Both attenuation paths have positive mean gains with intervals above zero in all six data-budget cells. The image experiment produces the largest improvements. At and 128, mask-derived attenuation removes 4.32% and 4.18% of PCA's test excess reconstruction risk, while direct attenuation removes 6.74% and 6.40%. On Phoneme and HAR, the corresponding ranges are 0.65%–0.93% for the mask-derived path and 0.70%–1.20% for the direct path. The direct path selects on 94%–95% of the image-patch fits and 63%–80% of the ordered-signal fits, so the mask-derived boundary is active in every data set. Table 1 places these gains beside all four comparison methods. One of the two attenuation paths has the largest mean gain in every data-budget cell: direct attenuation leads in five cells, and mask-derived attenuation leads for Phoneme at . Correlation PCA is competitive on the image patches and HAR, and coordinate masked-target training helps on three of the four ordered-signal cells, but neither matches this consistency across modalities. Exact intervals, selected strengths, and optimization details are reported in Section S.6.2.
5 Discussion
Input masking reveals a useful but incomplete family of PCA estimators. Diagonal attenuation extends that family over the full path from ordinary PCA to hollowed PCA, while preserving every sample cross-covariance. The theory explains its benefit through sampling leakage: errors in the coordinatewise sample variances become random retained–omitted couplings in the population principal-component basis, and attenuation can weaken those couplings before they rotate the fitted subspace. This mechanism also identifies the tradeoff. Balanced marginal variances yield an explicit expected-risk theorem because attenuation changes sampling leakage without moving the population target or its eigengaps. For a general covariance, the same finite-sample reduction must be compared with the attenuated eigengaps and, when the target moves, its population reconstruction cost. The Gaussian experiments verify this combined risk description from exact target preservation to the point at which PCA becomes the preferred endpoint.
More broadly, marginalizing an artificial corruption can expose the deterministic estimator that it induces. Here that step turns input masking into a covariance path whose statistical effect can be studied directly. The main risk theory is fixed dimensional and Gaussian; the three real-data studies test the mechanism across local image, frequency, and temporal coordinates. The supplement extends the balanced formula under finite-moment conditions and records the distinct masked-target and unconstrained linear objectives. Structured attenuation beyond a common diagonal strength is a natural direction for future work.
AI use statement
Generative-AI tools assisted with literature discovery and synthesis, proof cross-checking, code review, and language editing. The author verified the cited primary sources, derivations, and reported computations and takes full responsibility for the manuscript.
References
Abbe, E., Fan, J., and Wang, K. An theory of PCA and spectral clustering. The Annals of Statistics, 50(4): 2359–2385, 2022.
Alpaydin, E. and Kaynak, C. Optical recognition of handwritten digits. UCI Machine Learning Repository, 1998. Dataset, CC BY 4.0.
Anderson, T. W. Asymptotic theory for principal component analysis. The Annals of Mathematical Statistics, 34(1):122–148, 1963.
Baldi, P. and Hornik, K. Neural networks and principal component analysis: Learning from examples without local minima. Neural Networks, 2(1):53–58, 1989.
Bhatia, R. Matrix Analysis. Springer, New York, 1997.
Bisulco, A., Ramesh, R., Balestriero, R., and Chaudhari, P. From linearity to non-linearity: How masked autoencoders capture spatial correlations. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 16441–16450, 2025.
Cai, C., Li, G., Chi, Y., Poor, H. V., and Chen, Y. Subspace estimation from unbalanced and incomplete data matrices: statistical guarantees. The Annals of Statistics, 49(2):944–967, 2021.
Chen, M., Xu, Z. E., Weinberger, K. Q., and Sha, F. Marginalized denoising autoencoders for domain adaptation. In Proceedings of the 29th International Conference on Machine Learning, pp. 767–774. Omnipress, 2012.
Chen, M., Weinberger, K., Sha, F., and Bengio, Y. Marginalized denoising autoencoders for nonlinear representations. In Proceedings of the 31st International Conference on Machine Learning, volume 32 of Proceedings of Machine Learning Research, pp. 1476–1484. PMLR, 2014.
Dobriban, E., Leeb, W., and Singer, A. PCA from noisy, linearly reduced data: The diagonal case. arXiv preprint arXiv:1611.10333, 2016.
El Hanchi, A., Erdogdu, M. A., and Maddison, C. J. A geometric analysis of PCA. In Advances in Neural Information Processing Systems, volume 38, 2025.
Hastie, T., Tibshirani, R., and Friedman, J. The Elements of Statistical Learning: Data Mining, Inference, and Prediction. Springer, New York, 2 edition, 2009.
He, K., Chen, X., Xie, S., Li, Y., Dollár, P., and Girshick, R. Masked autoencoders are scalable vision learners. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 16000–16009, 2022.
Isserlis, L. On a formula for the product-moment coefficient of any order of a normal frequency distribution in any number of variables. Biometrika, 12(1/2):134–139, 1918.
Ji, W., Deng, Z., Nakada, R., Zou, J., and Zhang, L. The power of contrast for feature learning: A theoretical analysis. Journal of Machine Learning Research, 24(330):1–78, 2023.
Koltchinskii, V. and Lounici, K. Concentration inequalities and moment bounds for sample covariance operators. Bernoulli, 23(1):110–133, 2017.
Kong, L., Ma, M. Q., Chen, G., Xing, E. P., Chi, Y., Morency, L.-P., and Zhang, K. Understanding masked autoencoders via hierarchical latent variable models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 7918–7928, 2023.
Laurent, B. and Massart, P. Adaptive estimation of a quadratic functional by model selection. The Annals of Statistics, 28(5):1302–1338, 2000.
Ledoit, O. and Wolf, M. A well-conditioned estimator for large-dimensional covariance matrices. Journal of Multivariate Analysis, 88(2):365–411, 2004.
Lin, C.-H., Kaushik, C., Dyer, E. L., and Muthukumar, V. The good, the bad and the ugly sides of data augmentation: An implicit spectral regularization perspective. Journal of Machine Learning Research, 25(91):1–85, 2024.
Pretorius, A., Kroon, S., and Kamper, H. Learning dynamics of linear denoising autoencoders. In Proceedings of the 35th International Conference on Machine Learning, volume 80 of Proceedings of Machine Learning Research, pp. 4141–4150. PMLR, 2018.
Reiß, M. and Wahl, M. Nonasymptotic upper bounds for the reconstruction error of PCA. The Annals of Statistics, 48(2):1098–1123, 2020.
Reyes-Ortiz, J., Anguita, D., Ghio, A., Oneto, L., and Parra, X. Human activity recognition using smartphones. UCI Machine Learning Repository, 2013. Dataset, CC BY 4.0.
Schäfer, J. and Strimmer, K. A shrinkage approach to large-scale covariance matrix estimation and implications for functional genomics. Statistical Applications in Genetics and Molecular Biology, 4(1):Article 32, 2005.
Vincent, P., Larochelle, H., Bengio, Y., and Manzagol, P.-A. Extracting and composing robust features with denoising autoencoders. In Proceedings of the 25th International Conference on Machine Learning, pp. 1096–1103, 2008.
Vincent, P., Larochelle, H., Lajoie, I., Bengio, Y., and Manzagol, P.-A. Stacked denoising autoencoders: Learning useful representations in a deep network with a local denoising criterion. Journal of Machine Learning Research, 11:3371–3408, 2010.
Wager, S., Wang, S., and Liang, P. S. Dropout training as adaptive regularization. In Advances in Neural Information Processing Systems, volume 26. Curran Associates, Inc., 2013.
Yu, Y., Wang, T., and Samworth, R. J. A useful variant of the Davis–Kahan theorem for statisticians. Biometrika, 102(2):315–323, 2015.
Zhang, A. R., Cai, T. T., and Wu, Y. Heteroskedastic PCA: Algorithm, optimality, and applications. The Annals of Statistics, 50(1):53–80, 2022.
Zurich, A. W., Gerace, F., Loureiro, B., and Lu, Y. M. A random matrix theory of masked self-supervised regression. arXiv preprint arXiv:2601.23208, 2026.
Supplementary Material
Overview of the supplement. The supplement follows the argument of the main text. Section S.1 proves the exact mask marginalization that constructs the estimator. Section S.2 develops its population geometry, and Section S.3 gives the proofs of the target-preserving, target-moving, and balanced-marginal risk results. Section S.4 extends the balanced theorem beyond Gaussian observations and establishes the validation fallback guarantee. Section S.5 compares the full-output projector with masked-target and unconstrained linear reconstruction objectives. Finally, Section S.6 reports the non-Gaussian stress test, full real-data tables, and implementation details for the empirical comparisons.
Guide to the proofs of the main results. The following list maps each main result to its proof, in main-text order.
(i) Proposition 2.1 is proved in Section S.1 by expanding the mask-averaged reconstruction loss and reducing its optimization to the leading eigenspace of .
(ii) Proposition 2.2 and the population-bias bound (S.2.1) are proved in Section S.2. The first uses the block decomposition; the second integrates the derivative of the population projector along the attenuation path.
(iii) Lemma 3.1 is proved in Section S.3.4.1. Spectral-projector commutation converts each residual cross-entry into a rotation coordinate, and the common projector expansion converts those coordinates into clean reconstruction risk.
(iv) Theorem 3.2 is proved in Section S.3.4.2. Gaussian pairwise moments make the variance of each retained-to-omitted residual random coupling a quadratic function of ; their eigengap-weighted sum gives the theoretical risk and its optimal mask-derived and direct strengths.
(v) Theorem 3.3 is proved in Section S.3.2, using the common clean-risk expansion in Section S.3.1. The proof converts cross-subspace covariance noise into projector rotation and then into expected clean reconstruction risk.
(vi) The target-moving expansion (3.22) is formalized and proved in Section S.3.3. It expands around and adds the population cost of moving away from .
Contents
S.1 Mask marginalization and estimator construction 16
S.2 Population geometry under attenuation 17
S.2.1 Exact preservation with unequal marginals 17
S.2.2 Population bias along the attenuation path 17
S.3 Proofs of the finite-sample risk results 18
S.3.1 A common clean-risk expansion 18
S.3.2 Target-preserving expected risk 19
S.3.3 Total risk around a moving population target 20
S.3.4 Balanced marginals and the explicit risk curve 22
S.4 Robustness and validation selection 25
S.4.1 Risk expansion beyond Gaussian sampling 25
S.4.2 Validation selection with a PCA fallback 26
S.5 Alternative masking and reconstruction objectives 27
S.5.1 The general block masked-target objective 27
S.5.2 Masked-target random slopes at the PCA target 28
S.5.3 Linear reconstruction beyond the projector constraint 30
S.5.4 Additional related context 32
S.6 Additional numerical and real-data studies 32
S.6.1 Robustness beyond Gaussian observations 32
S.6.2 Fixed-budget real-data comparisons 33
S.1 Mask marginalization and estimator construction
This section proves the exact reduction from masked-input reconstruction to diagonal attenuation used in Proposition 2.1.
Proof of Proposition 2.1. For any symmetric projector P and diagonal mask W,
The second equality uses the fact that the two scalar cross terms are equal. For independent Bernoulli-q mask coordinates,
Taking the expectation in (S.1.1) therefore produces
The positive prefactor does not affect the optimizer for . After averaging over observations, minimizing the loss is equivalent to maximizing over . Ky Fan's variational principle (Bhatia, 1997) gives a leading rank- projector of , proving Proposition 2.1 and the mapping .
S.2 Population geometry under attenuation
Diagonal attenuation can preserve the population PCA target exactly or move it along the path . This section first characterizes exact preservation, including the unequal-marginal example from the main text, and then quantifies the population cost when preservation is only approximate.
S.2.1 Exact preservation with unequal marginals
Balanced marginal variances are sufficient but not necessary for exact target preservation. To verify the unequal design in (4.1), note that its diagonal is . Let and . The leading population subspace is , and preserves this subspace and its complement. Direct calculation gives , so the PCA target is retained along the full attenuation path.
Proof of Proposition 2.2. If , symmetry of implies that both range and its orthogonal complement are invariant under . They are already invariant under , so they are invariant under . This matrix is block diagonal in the decomposition. The condition places every eigenvalue of the target block above every eigenvalue of the residual block. Its leading rank- projector is therefore uniquely . Conversely, if is the unique leading projector of , it is invariant under both and . Since , subtracting their cross-block equations gives ; uniqueness gives .
S.2.2 Population bias along the attenuation path
To control the population cost, follow , which begins at . If the cutoff eigengap remains positive along this path, define
Thus population movement remains small when the diagonal creates little cross-subspace coupling along the path and the cutoff eigengap stays separated.
Proof of the population-bias identity and (S.2.1). We follow the attenuation path directly. Write
and . The positive cutoff gap makes the cluster projector differentiable, even if eigenvalues repeat within the leading or residual block. At each , choose orthonormal eigenbases for the two blocks. The standard spectral-projector derivative, which is basis invariant within repeated eigenspaces, gives
Because commutes with , . Using therefore yields
Since , integration gives the exact identity
Every denominator is at least , while the sum of the squared numerators is . Bounding the integrand by its supremum and using proves (S.2.1). In particular, if , continuity of the integrand at zero gives
This local expression shows explicitly why distant residual directions do not require a separate tail penalty: their larger eigengaps reduce their rotation.
The next section uses this population decomposition in the expected-risk theory: exact preservation removes the first term, while the target-moving result retains it and quantifies the remaining sampling contribution around .
S.3 Proofs of the finite-sample risk results
The main text first uses individual retained-to-discarded rotations to build intuition and then treats the full subspace. Here we provide a common projector perturbation argument, which justifies both the target-preserving and target-moving risk theorems. We then specialize the target-preserving coefficient to balanced marginal variances, where the sampling-leakage calculation becomes explicit.
S.3.1 A common clean-risk expansion
We first establish a two-matrix projector expansion that applies whether the population target is preserved or moves.
Lemma S.3.1 (Clean risk around a possibly moving target). Let and be symmetric matrices, let , and suppose that the cutoff gap of is at least . Let denote the complementary projector and set . On , define
For symmetric , define
There is a finite constant such that every symmetric with satisfies
(S.3.4)
If , this reduces to
The constant can be chosen uniformly over a compact family of pairs whose norms are bounded and whose relevant cutoff gaps are bounded below.
Proof of Lemma S.3.1. The gap makes invertible on , with inverse norm at most . Weyl's inequality also keeps the leading cluster of separated. Its range is therefore the graph of a unique map with . The block eigenvalue equation for this graph is the Riccati equation
Applying , substituting the first-order approximation into the two quadratic terms, and using the preceding bound gives
All constants here depend only on the fixed matrices and the gap.
Relative to range , the projector onto the graph of Y has blocks
Expanding these blocks to second order and using (S.3.9) gives
This proves (S.3.4). When , the two off-diagonal terms vanish and (S.3.6) follows. The graph, Riccati, and inverse bounds are uniform over the compact family stated in the lemma.
S.3.2 Target-preserving expected risk
We now specialize the common expansion to attenuation paths that preserve the population PCA target.
Proof of Theorem 3.3. For , put
By Assumption 3.2, and have the same leading projector , and the cutoff gap of is at least . The closure of is compact; continuity of the block gap and the strictly positive infimum preserve the same projector and gap bound on this closure. Hence Lemma S.3.1 applies with one uniform remainder constant whenever .
The linear rotation term in that lemma is
where the summands are independent and centered. Cross terms therefore vanish in expectation, giving the exact identity
For fixed , Gaussian covariance concentration gives for every fixed . Since and ,
On the event , the cubic remainder in Lemma S.3.1 thus has expectation , uniformly in . The complement has exponentially small probability. Both the clean excess risk and the quadratic leading term have finite Gaussian moments, so Cauchy–Schwarz makes their contribution on that complement exponentially smaller than . Combining these facts with (S.3.13) gives
Multiplying by n and enlarging the constant to cover finitely many initial sample sizes proves (3.21). □
S.3.3 Total risk around a moving population target
We now remove target preservation. Let and suppose that the cutoff gap of remains positive over a compact interval containing zero:
The theorem separates the deterministic cost of moving from from the finite-sample reconstruction effect of sampling-induced rotation around . The centered first-order sampling rotation has mean zero. At second order, both its variance and its average displacement matter because clean reconstruction risk is measured relative to rather than . For one observation, write the centered attenuated fluctuation as
On the cross-subspace maps , define
The first two graph perturbations generated by are
Define the signed sampling coefficient
The second term is absent under target preservation. When the population target moves, it records whether the average second-order sampling displacement points toward or away from the clean PCA subspace; consequently, need not be nonnegative by itself.
Theorem S.3.2 (Total risk with population target movement). Under Assumptions 2.1 and 2.2 and (S.3.15), there are finite constants and such that
Proof of Theorem S.3.2. For , write
The excess risk has the exact decomposition
Apply Lemma S.3.1 to the second term with , and . Let and denote the two graph terms in Equations (S.3.2) and (S.3.3). Linearity gives
The quadratic graph term expands into a double sum. Independence and centering remove every summand with distinct observation indices, leaving
The same argument applied to the clean quadratic term gives
The expectation of the linear graph term is zero. Combining Equations (S.3.26) and (S.3.27) with (S.3.4) therefore identifies the complete second-order expectation as .
It remains to control the remainder uniformly. The gap condition (S.3.15) and compactness of give one graph-expansion constant for the whole interval. Moreover,
The Gaussian moment and complement-event argument used in (S.3.14) consequently bounds the expected cubic remainder by , uniformly in . Substitution into (S.3.24) proves (S.3.22). When , we have ; the second graph contribution vanishes and , recovering Theorem 3.3.
The theorem gives a direct comparison with PCA:
Thus a fixed strength is beneficial to first order at sample size n when
If for a fixed , this inequality eventually fails as grows. More generally, if has the unique zero on , every oracle minimizer of the expected risk converges to zero. This is the regime in which attenuation is a genuinely finite-sample correction rather than a fixed population transformation.
The small- form makes the return to PCA more explicit. With , the population term satisfies
If and , then the leading approximation in (S.3.29) is minimized locally at
Equation (S.3.32) concerns the minimizer of the displayed leading approximation; the exact oracle convergence to zero follows directly from the uniform expansion above.
We next return to balanced marginals, where the target-preserving risk coefficient can be evaluated explicitly.
S.3.4 Balanced marginals and the explicit risk curve
We now make the target-preserving risk coefficient explicit under balanced marginal variances.
S.3.4.1 Pairwise form under balanced marginals
Under balanced marginals, recall the pairwise variables and from (3.3). To lighten notation in this subsection, write and . Attenuation replaces the sample average of by that of . For the moment calculations below, put
Here measures how strongly the two population directions load on the same observed coordinates. Isserlis' Gaussian fourth-moment identity (Isserlis, 1918) gives
Proof of Lemma 3.1. Fix and write and . Gaussian covariance concentration and the fixed cutoff gap, together with the Davis–Kahan theorem, give
Because is a spectral projector of , the two matrices commute. Substituting and , and using , yields
(S.3.36)
The first parenthesis vanishes because is a spectral projector of ; the last is by (S.3.35). Under balance, . Hence
where the second equality uses and . Premultiplying (S.3.36) by and postmultiplying by therefore gives
Since , solving the preceding identity and using (3.5), then summing over the finitely many pairs , proves (3.6); the matrix remainder is in Frobenius norm because is fixed.
Finally, adding the scalar matrix does not change spectral projectors. Hence is also the leading projector of . We may therefore apply Lemma S.3.1 with and . Because , the simplified conclusion (S.3.6) applies. To evaluate its quadratic term, expand the cross-block perturbation in the population eigenbasis:
For each basis matrix , the operator in (S.3.1) satisfies
Consequently, writing ,
where the last identity uses the Frobenius orthonormality of . Thus (S.3.6) gives
Using (S.3.35) and the same cross-entry identity proves (3.7).
The moment identities above show how attenuation changes each retained-to-omitted coupling before these contributions are aggregated across the rank cutoff.
Aggregating across the rank cutoff gives
Consequently, , , and . These identities connect the readable main-text tradeoff to the pairwise quantities used in the proofs below.
S.3.4.2 From pairwise moments to the risk curve
Proof of Theorem 3.2. Under balance,
The scalar shift preserves all population eigenvectors and gaps. Equal-rank projectors have equal trace, so replacing by also leaves the clean excess risk unchanged. After removing this shift, apply Lemma S.3.1 with and . In the eigenbasis of , its quadratic term is the sum below. Thus, on ,
Here depends only on the fixed spectrum and cutoff gap. The formula is invariant to basis rotations inside a repeated-eigenvalue block, because the corresponding squared cross-block entries share the same denominator.
Because is the sample average of , the moment identities in (S.3.34) give
Equation (S.3.40) gives the expectation of the quadratic term in (S.3.39) as . The uniform good-event and complement argument in the proof of Theorem 3.3 applies unchanged because . Consequently,
which proves (3.11) after enlarging its constant for finitely many initial sample sizes. For a fixed with ,
which yields an eventual finite-sample improvement whenever the theoretical risk curve is smaller than at PCA. Summing (S.3.40) over cross-boundary pairs gives (S.3.38). These perturbation and concentration steps are consistent with classical and nonasymptotic PCA analyses (Anderson, 1963; Koltchinskii & Lounici, 2017; Reiß & Wahl, 2020).
It remains to verify strict positivity and optimize the quadratic. If every across the cutoff were zero, then every observed coordinate would lie entirely in either the selected or rejected eigenspace. Its variance would consequently be at least in the first case and at most in the second. Both kinds of coordinates must occur, which contradicts their common variance and the positive cutoff gap. Hence
A_Σ > 0. For a pair with , ; positive definiteness of then gives , so B_Σ > 0. Expanding proves (3.12). This completes the proof of Theorem 3.2. Differentiating the same strictly convex quadratic and clipping its minimizer to the two closed ranges then gives (3.13). □
The flat-spike benchmark. This standard spiked-covariance model gives a particularly transparent positive case. For the rank-one flat spike with , every residual eigenvector satisfies
The derivative is therefore nonpositive for every , proving the flat-spike statement in the main text.
S.4 Robustness and validation selection
This section extends the balanced-marginal risk theorem beyond Gaussian sampling and gives a formal guarantee for selecting attenuation by held-out reconstruction while retaining PCA as a candidate.
S.4.1 Risk expansion beyond Gaussian sampling
The preceding risk theory uses Gaussian fourth moments to obtain an explicit sign. The perturbation mechanism itself is more general: it depends on the actual covariance between each rotation fluctuation and its diagonal component. The next result records this robustness after the Gaussian theory has been completed.
For a distribution with covariance , define
where and are given in (3.3).
Theorem S.4.1 (Moment extension of the attenuation risk). Let be independent copies of a mean-zero random vector with covariance , , and balanced marginal variances. Keep fixed and assume a positive cutoff gap. With , and as in (3.3) and (S.4.1), define
For every , there are finite constants such that
Proof of Theorem S.4.1. For a retained–discarded pair, both quantities in (3.3) are centered and
Consequently,
Summing (S.4.4) in the leading quadratic of (S.3.39) gives exactly .
The eighth-moment condition and fixed dimension imply for . This follows by applying a fixed-dimensional Rosenthal inequality to the entries of and then using equivalence of matrix norms. Since uniformly on , the cubic remainder in (S.3.39) contributes on the perturbative event. Markov's inequality with the fourth moment gives probability to its complement. Excess risk is bounded, and the leading quadratic on that complement is controlled by ; Cauchy–Schwarz makes both complementary contributions . Multiplication by proves the uniform bound (S.4.3).
For an interval , let denote Euclidean projection, or clipping, onto that interval. The quadratic also gives the practical consequences. If , every is almost surely zero, so Cauchy–Schwarz forces and attenuation leaves the leading risk unchanged. Otherwise, implies ; the direct leading-risk oracle is , and the mask-path oracle is its limiting projection onto . A fixed level improves the leading risk whenever , subject also to on the mask path. More precisely, if , then
S.4.2 Validation selection with a PCA fallback
The attenuation path contains ordinary PCA at . The next result turns this nesting into a finite-sample safety statement for a simple sample-splitting implementation. Candidate projectors are fitted once on a training sample and then selected on an independent validation sample; no post-selection refitting is needed for the guarantee.
Proposition S.4.2 (Independent-validation fallback guarantee). Let be a finite set containing 0, and condition on rank-d projectors fitted from a training sample. Let be an independent validation sample from and define
For , put , , and
With conditional probability at least ,
Thus the selected estimator approaches an exact PCA fallback as the validation size grows, while retaining any improvement available elsewhere on the path.
Proof of Proposition S.4.2. Conditional on the training sample, fix a candidate and write with . Then
and . The Gaussian quadratic-form inequality of Laurent & Massart (2000), applied to the block-diagonal average of the forms, gives
Because , we have . Eigenvalue monotonicity under the Loewner order therefore gives and . A union bound over the candidates therefore makes all validation risks uniformly accurate to with probability at least . On this event, if , then
Since , the final inequality in (S.4.8) follows.
The result is stated for independent validation because this permits a direct finite-sample guarantee. The real-data studies use the data-efficient analogue: all candidate methods share the same grouped cross-validation folds within each fixed fitting budget, and the selected estimator is then refit on that budget.
S.5 Alternative masking and reconstruction objectives
This section clarifies how the full-output orthogonal-projector objective differs from masked-target reconstruction and unconstrained linear autoencoders. These comparisons delimit the estimator studied in the main text; they are not needed for its risk theory.
S.5.1 The general block masked-target objective
The canonical masked-target projector loss is
It evaluates reconstruction error only on coordinates hidden from the encoder, whereas the full-output loss in (1.1) evaluates error on the entire clean vector.
The matched empirical comparison in Section S.6.2 includes both coordinate masks and masks that hide contiguous coordinate groups. Let be a partition of the coordinates. For a matrix , let retain its within-group diagonal blocks and put . A group mask has the form , where the are independent Bernoulli-q variables. Write and .
The calculation used for Proposition 2.1 also gives the full-output group-masked matrix
Thus group masking attenuates within-group covariance blocks rather than only coordinate variances. The masked-target loss has a different reduction.
Proposition S.5.1 (Exact symmetric masked-target objective). For and every , the group version of (S.5.1) satisfies
Proof of Proposition S.5.1. Expand
For groups is zero when and equals otherwise. Hence
For the last term, its block is by . When , only intermediate groups different from both and survive, giving
Combining the diagonal and off-block cases yields . Averaging (S.5.5) over the sample proves (S.5.3).
Unlike the full-output loss, the result contains nonlinear functions of P and is not generally a spectral estimator. Nevertheless, it can be compared locally with diagonal attenuation by considering the same retained-omitted direction pairs used in Section 3.1.
S.5.2 Masked-target random slopes at the PCA target
Fix a retained population direction , , and an omitted direction , . The rotation that replaces by a direction in their span is
Here parameterizes the rotation angle. Its exact clean reconstruction cost is
We specialize to coordinate masks with , so , and remove this positive factor and the constant term in (S.5.3). Thus write
where is (S.5.4) with singleton coordinate groups. For a rank- projector and a symmetric matrix , define the symmetric matrix entrywise by
Proposition S.5.2 (Masked-target slopes at the PCA target). Let be the leading rank- projector of , and let be the rotation path in (S.5.7). For every and every symmetric ,
Consequently, is stationary for the population masked-target objective if and only if
Suppose for a particular pair and define the population profile curvature and centered single-observation slope by
If and is the local minimizer of the empirical profile converging to zero, then, under Assumption 2.1,
Proof of Proposition S.5.2. Put and . Differentiating (S.5.9) in an arbitrary symmetric direction gives
Collecting the coefficient of each entry of yields with as in (S.5.10). Because , (S.5.11) follows. Such matrices span the tangent space of rank- projectors at , proving (S.5.12).
Under stationarity, the empirical derivative at zero is . A second-order Taylor expansion of the profile score, Gaussian moment bounds, and give (S.5.15). The central limit theorem and Slutsky's theorem then give (S.5.16). Finally, the exact identity (S.5.8) and the continuous mapping theorem give (S.5.17).
This result exposes the distinction between the two objectives. Under balanced marginal variances, diagonal attenuation automatically has zero population leakage and retains the PCA curvature. The masked-target objective still requires the separate stationarity condition (S.5.12) and positive profile curvature. For the joint rank-d estimator, the scalar curvatures in (S.5.17) are replaced by the Hessian of on the full tangent space; cross-direction Hessian terms need not vanish.
A closed-form example shows that stationarity alone is insufficient. Let , , , , and . Along , the single-observation slope is identically zero. Substituting into (S.5.9) gives
Equivalently, the population loss is a convex quadratic in with unconstrained minimizer and feasible range . Thus the population PCA direction is the masked-target solution when and is not even a local minimum when . The familiar threshold is therefore a curvature condition. In dimensions above two, the population slope need not vanish. When the stationarity and positive-curvature conditions hold, its empirical fluctuation produces the usual local displacement.
S.5.3 Linear reconstruction beyond the projector constraint
The main estimator constrains the reconstruction map to be an orthogonal rank-d projector because the target is PCA. This section removes that constraint. It gives an exact characterization for a symmetric-map (weight-tied) linear autoencoder and for a fully asymmetric encoder-decoder pair. The latter is the coordinate-mask specialization of the linear full-output model analyzed by Bisulco et al. (2025). The calculation also makes precise the direction-specific gain shrinkage studied for additive-noise autoencoders by Pretorius et al. (2018).
Because these maps need not be projectors, define their clean reconstruction risk by
For an orthogonal projector , this agrees with in (2.3).
Write and, for , define
If every sample coordinate variance is positive, then even when is singular. An asymmetric rank-d encoder-decoder has end-to-end map , where ; conversely, every matrix with rank at most admits such a factorization. Weight tying sets and hence restricts to . For either class, consider the same full-output masked-input loss as in the main text,
Theorem S.5.3 (Full-output linear autoencoders). Assume and .
(i) Asymmetric map. Put . Every global minimizer over has the form
If the -th and -th singular values of are distinct, this map is unique and its column space is the leading eigenspace of
(ii) Symmetric map. Every tied map with rank at most d can be written as , where and , allowing when the rank is below d. Here is the reconstruction multiplier along : . For fixed
, minimizing the loss over these multipliers gives
Consequently, the global tied directions solve
In general, these solutions differ from both ordinary PCA and the attenuated spectral estimator .
Balanced population specialization. Suppose and , with . The asymmetric population map is
Its range is the PCA subspace, but its clean reconstruction risk relative to the PCA projector is
For , this excess is strictly positive whenever some retained eigenvalue differs from . Thus the asymmetric autoencoder learns the correct subspace, while its raw reconstruction map is generally not the projector .
Proof of Theorem S.5.3 and the balanced population specialization. For an arbitrary A, expansion of (S.5.21) gives
(S.5.28)
The first equality uses . For the second, expand the squared Frobenius norm and use cyclicity of trace: its cross term is .
Right multiplication by the invertible preserves rank. Thus minimizing (S.5.28) over is exactly the best rank-at-most-d approximation of . The Eckart–Young theorem gives (S.5.22). The left singular vectors of are the eigenvectors of , proving (S.5.23).
With a singular-value gap, (S.5.22) yields
For a tied map, substitute into the first line of (S.5.28). The part depending on A, divided by q, is
There are no cross terms in the final sum: the trace selects only the diagonal entries after the two diagonal coefficient matrices are applied. Each scalar quadratic in (S.5.30) is strictly convex and has minimizer (S.5.24). Substitution subtracts from the loss, yielding (S.5.25).
Under population balance, shares every eigenvector with . For an eigenvalue , the squared singular value that orders the asymmetric solution is
Its derivative is
so the asymmetric solution selects . Equation (S.5.22) gives its multiplier , proving (S.5.26). Finally,
for any map diagonal in the population eigenbasis that acts as zero on the orthogonal complement of the leading subspace. Substituting the displayed multiplier proves (S.5.27) and its strictness statement.
S.5.4 Additional related context
Input corruptions can induce coordinate-dependent regularization (Wager et al., 2013). For linear denoising autoencoders, Pretorius et al. (2018) study direction-specific reconstruction gains under additive isotropic noise, while Kong et al. (2023) relate the mask ratio and patch size of a hidden-target objective to identifiable levels of a hierarchical latent model. Missing-data PCA instead observes physically reduced vectors and estimates an unobserved signal covariance (Dobriban et al., 2016). These settings motivate nearby uses of corruption or diagonal operators, but they differ from the complete-vector PCA target and clean reconstruction risk studied here. The exact objective and feasible-set boundaries needed for that distinction are given in Sections S.5.2 and S.5.3.
S.6 Additional numerical and real-data studies
The main text reports Gaussian experiments for preserved and moving population targets. This section adds a non-Gaussian stress test and gives the complete protocol and cellwise results for the fixed fitting-sample-budget real-data study.
S.6.1 Robustness beyond Gaussian observations
The non-Gaussian audit uses the same balanced covariance as the general Gaussian experiment. Before multiplication by the covariance square root, the latent coordinates are either Gaussian, standardized Student , or standardized centered exponential. All three constructions have covariance and finite eighth moments. A separate pilot of 150,000 observations per distribution estimates the constants in (S.4.2); each sample size then uses 5,000 fresh common-sample replicates, with all attenuation strengths evaluated on the same observations. At , the largest absolute difference between the simulated scaled risk and the moment prediction across all displayed distributions and attenuation levels is 1.02. The sign and curvature predicted by Theorem S.4.1 therefore persist under both heavy-tailed and skewed observations in this controlled design.
Figure S.1 displays this agreement between the simulated curves and the fourth-moment prediction across all three latent distributions.

Figure S.1: The moment risk formula beyond Gaussian observations. Solid lines and intervals are Monte Carlo estimates at n = 1024; dashed lines are the corresponding fourth-moment predictions. The covariance and target rank are common across panels, and shading marks the mask-feasible interval.
S.6.2 Fixed-budget real-data comparisons
Implementation details. The data, ranks, patch construction, block definitions, and fixed fitting-sample-budget protocol are given in Section 4; here we record the additional details needed to reproduce the comparison. Every covariance matrix is centered within its fitting fold, and no coordinate rescaling is applied except within the correlation-PCA baseline. When a validation curve has multiple minimizers, we choose the smallest attenuation strength or mask rate. For Optdigits, each of the ten patch-location seeds contributes a mean over 100 training subsamples, and intervals use the standard error of these ten seed-level means. For Phoneme and HAR, intervals use the standard error across 100 training subsamples, conditional on the observed data and official split. Within every subsample, all methods use the same observations and validation folds.
HeteroPCA starts from the hollowed sample covariance. At each iteration it replaces the diagonal by that of the best rank-d truncated-SVD approximation while retaining the original sample off-diagonal; it stops when the relative change of the imputed diagonal is at most or after 200 iterations (Zhang et al., 2022). Of its 2,400 fits, 133 reach the iteration cap. Each masked-target projector is approximately optimized on the Grassmann manifold from both the PCA solution and the corresponding full-output block-attenuation solution. Optimization stops when the relative tangent-gradient norm is at most or after 800 iterations. Among the 1,163 coordinate-masked fits that do not select the PCA fallback, 86 reach this cap; none of the 175 nonfallback block-masked fits does. We therefore report masked-target training as a two-start optimization rather than a certified global optimum.
Table S.1 gives the complete attenuation results. Both paths have positive mean gains with intervals above zero in all six cells. Table S.2 reports the four comparison methods on all three data sets. Correlation PCA is competitive on Optdigits and HAR but does not improve Phoneme. Coordinate masked-target training is positive in three ordered-signal cells but not on the image patches, while the block-masked family usually selects its explicit PCA fallback. Thus none of these alternatives reproduces the uniform improvement of diagonal attenuation.
Table S.3 shows how the validation rule uses the path. Across the three data sets, mean selected strengths are 0.351–0.479 on the mask-derived path and 0.615–0.931 on the full direct path. The direct search selects strengths beyond 1/2 on 63%–95% of fits, while retaining PCA as a candidate in every search.
Table S.1: Fixed fitting-sample-budget results for diagonal attenuation. Entries are the mean percentage of PCA test excess reconstruction risk removed, with 95% intervals in brackets. Optdigits intervals treat the ten patch-location seeds as independent clusters, with each seed-level mean averaging 100 training subsamples; the other intervals use 100 training subsamples.
| Data | N | Mask-derived DA | Direct DA |
|---|---|---|---|
| Optdigits | 64 | 4.32 [4.08, 4.57] | 6.74 [6.30, 7.17] |
| Optdigits | 128 | 4.18 [3.85, 4.51] | 6.40 [5.80, 7.00] |
| Phoneme | 64 | 0.84 [0.65, 1.03] | 1.09 [0.78, 1.40] |
| Phoneme | 128 | 0.72 [0.51, 0.93] | 0.70 [0.36, 1.03] |
| HAR | 64 | 0.65 [0.45, 0.85] | 0.76 [0.48, 1.05] |
| HAR | 128 | 0.93 [0.78, 1.07] | 1.20 [0.97, 1.44] |
Table S.2: Comparison methods across the three real-data studies. Each entry is the mean percentage of PCA test excess reconstruction risk removed, with its 95% interval in brackets. Optdigits intervals cluster over ten patch-location seeds, each averaging 100 training subsamples; the remaining intervals use 100 training subsamples. MT denotes masked-target training.
| Data | N | Correlation PCA | HeteroPCA | Coordinate MT | Block MT |
|---|---|---|---|---|---|
| Optdigits | 64 | 5.84 [5.34, 6.33] | -25.79 [-27.60, -23.99] | -1.63 [-2.01, -1.25] | -3.58 [-4.55, -2.61] |
| Optdigits | 128 | 5.41 [4.99, 5.82] | -37.36 [-41.93, -32.79] | -1.24 [-1.80, -0.68] | -1.27 [-1.98, -0.56] |
| Phoneme | 64 | -0.14 [-0.70, 0.42] | 0.04 [-0.53, 0.60] | 0.93 [0.57, 1.28] | 0.00 [0.00, 0.00] |
| Phoneme | 128 | -0.52 [-1.06, 0.01] | 0.53 [0.42, 0.64] | 0.28 [-0.10, 0.66] | 0.00 [0.00, 0.00] |
| HAR | 64 | 0.36 [0.06, 0.66] | -13.94 [-15.46, -12.43] | 0.56 [0.28, 0.83] | 0.00 [0.00, 0.00] |
| HAR | 128 | 1.01 [0.74, 1.28] | -4.87 [-6.23, -3.50] | 0.93 [0.64, 1.23] | 0.00 [0.00, 0.00] |
Table S.3: Mean cross-validation-selected strengths under fitting-sample budget N. DA denotes diagonal attenuation and MT denotes masked-target training. Parentheses give the percentage of fits selecting the explicit PCA fallback. DA columns report ; MT columns report the mask rate .
| Data | N | Mask DA | Direct DA | Coordinate MT | Block MT |
|---|---|---|---|---|---|
| Optdigits | 64 | 0.474 (1.7%) | 0.927 (1.7%) | 0.432 (51.8%) | 0.121 (86.6%) |
| Optdigits | 128 | 0.479 (1.1%) | 0.931 (1.1%) | 0.323 (64.1%) | 0.037 (95.9%) |
| Phoneme | 64 | 0.432 (7.0%) | 0.800 (7.0%) | 0.589 (18.0%) | 0.000 (100.0%) |
| Phoneme | 128 | 0.434 (7.0%) | 0.764 (7.0%) | 0.479 (15.0%) | 0.000 (100.0%) |
| HAR | 64 | 0.351 (22.0%) | 0.615 (18.0%) | 0.370 (27.0%) | 0.000 (100.0%) |
| HAR | 128 | 0.418 (9.0%) | 0.756 (8.0%) | 0.563 (18.0%) | 0.000 (100.0%) |