Optimal Rates for Adaptive Private $k$-PCA

Johanna Düngler, Amartya Sanyal

TL;DR

Finding the most important patterns in high-dimensional data—Principal Component Analysis (PCA)—gets surprisingly tricky when you have to keep individual data points mathematically private. Previous adaptive methods found the top $k$ directions one by one, paying an extra privacy and data tax at every step. This paper introduces a way to estimate the entire $k$-dimensional subspace all at once, achieving optimal data efficiency while adapting its privacy noise to the natural randomness of the data.

What Problem Does This Paper Address?

Suppose you want to find the top $k$ variance directions (eigenvectors) of an unknown covariance matrix $\Sigma \in \mathbb{R}^{d \times d}$ using a stream of $n$ random, sensitive data matrices $A_i$. Differential Privacy (DP) protects individual samples by injecting calibrated random noise.

Classic DP-PCA assumes deterministic, worst-case data bounds. Applied to random (stochastic) data, this forces you to clip data aggressively around zero and inject massive amounts of noise, even if the data barely fluctuates around its mean.

Recent "adaptive" algorithms fixed this for $k=1$ by privately estimating how much the data actually fluctuates and scaling the noise accordingly. However, extending this to $k > 1$ previously relied on deflation: find the top eigenvector, project it out, grab fresh data, and repeat $k$ times. This sequential "peeling of the onion" inflates the error bound to scale with $k^{3/2}$ instead of the optimal $k$, requires tuning hyperparameters for every single direction, and cannot take advantage of fast block-matrix operations.

Methods

The authors build upon Oja’s algorithm, a classic streaming method that iteratively nudges an orthonormal $d \times k$ matrix $Q_{t-1}$ toward the true eigenspace using matrix-block updates ($A_t Q_{t-1}$), followed by QR decomposition.

To make this both private and adaptive without breaking the mathematical symmetry that Oja's convergence guarantees rely on, the authors introduce two algorithms:

  1. ADADPO (Adaptive Private Oja’s): Instead of adding noise to the huge $d \times d$ matrix $A_t$, it privatizes the skinny $d \times k$ projected update $A_t Q_{t-1}$. After a non-adaptive warm-up phase, it uses a private histogram learner (PRIVRANGE) to find a single centering point and fluctuation scale across all $k$ columns simultaneously. It clips the batch updates around this center and injects carefully structured Gaussian noise (combining a symmetric Gaussian Orthogonal Ensemble matrix with standard Gaussian noise) so the update behaves as if Oja's algorithm were simply running on symmetrically perturbed inputs.
  2. TADADPO (Tangent Adaptive Private Oja’s): A second-stage refinement. Once ADADPO gets reasonably close to the true subspace, TADADPO projects future updates onto the tangent space—the directions strictly orthogonal to the current subspace estimate ($\Pi_{t-1} = I - Q_{t-1}Q_{t-1}^\top$). This strips away large signal variations inside the already-captured subspace, allowing the algorithm to inject even less privacy noise.

Datasets

The authors evaluate their algorithms on synthetic spiked covariance data. In this standard statistical setup, samples are generated from a low-rank true signal subspace corrupted by isotropic Gaussian noise ($x_i$ drawn such that $\Sigma = V_k \Theta V_k^\top + \sigma^2 I_d$). No new external benchmarks are introduced; synthetic data allows exact measurement of subspace recovery error while systematically varying dimensions, sample sizes, eigengaps, and noise levels.

Key Insights and Ideas

  • Faking symmetry in skinny spaces: Adding naive Gaussian noise directly to the $d \times k$ update $A_t Q_{t-1}$ destroys the underlying symmetry of $A_t$, invalidating standard PCA convergence proofs. The authors prove a neat distributional equivalence (Lemma 1): mixing symmetric noise inside the $Q$-subspace with standard noise outside of it is mathematically identical to multiplying $Q$ by a full $d \times d$ symmetric Gaussian matrix. You get the mathematical convenience of full-matrix noise while only paying the privacy cost of a $d \times k$ projection.
  • Subspaces only move via their tangent: Rotating vectors within your current $k$-dimensional guess doesn't change the subspace itself. By projecting out the current estimate in TADADPO, the remaining fluctuations are governed by signal-to-noise interactions ($\sqrt{\lambda_1 \lambda_{k+1}}$) rather than the largest eigenvalue ($\lambda_1$) alone, drastically shrinking the required clipping radius and privacy noise.
  • Distribution-free privacy: Unlike some prior optimal-rate methods that only guarantee privacy if the unknown data truly follows a specific Gaussian structure, ADADPO and TADADPO guarantee $(\varepsilon, \delta)$-DP unconditionally for any input dataset; statistical assumptions are only used to prove accuracy.

Key Results

  • Optimal Sample Complexity: ADADPO achieves subspace error scaling as $\tilde{O}(\sqrt{dk/n} + dk/(\varepsilon n))$, improving the privacy term over deflation-based $k$-DP-PCA from $dk^{3/2}$ to optimal $dk$, while also removing prior requirements that the sample size grow exponentially with the eigengap.
  • Optimal Spectral Rates: In the Gaussian flat-tail spiked model, two-stage TADADPO matches the known minimax lower bound up to logarithmic factors, scaling cleanly with $\frac{\sqrt{\lambda_1 \lambda_{k+1}}}{\lambda_k - \lambda_{k+1}}$.
  • Empirical Gains: Across simulations ($\varepsilon = 1, \delta = 0.01$), ADADPO consistently achieves lower Frobenius subspace error than deterministic clipping baselines (DP-Gauss, DP-Power-Method) and deflation-based k-DP-PCA. As expected, when data noise $\sigma \to 0$, ADADPO's error drops near zero because its privacy noise adapts to the vanishing fluctuations, whereas non-adaptive baselines remain stuck with high error. Furthermore, the gap between ADADPO and k-DP-PCA widens noticeably as $k$ increases (e.g., at $d=200$ moving from $k=2$ to $k=10$).
Comparison of ADADPO against baselines on the spiked covariance model across varying dimensions, eigengaps, noise levels, and sample sizes.

Limitations and Future Work

  • Mini-batch vs. Pure Streaming: Although Oja's algorithm is naturally an online streaming method, ADADPO processes data in mini-batches ($B = \lfloor n/T \rfloor$) so it has enough samples at each step to privately estimate the fluctuation range. Designing a truly one-sample-at-a-time online version with adaptive privacy remains an open problem.
  • Light-tailed Data Assumptions: The utility guarantees rely on Gaussian-like tail bounds to ensure the projected fluctuations concentrate nicely for the range estimator. Extending the private range-estimation and truncation mechanics to handle heavy-tailed data is highlighted as a key next step.

Summary updated

Abstract

Given $n$ i.i.d. random matrices $A_i \in \mathbb{R}^{d \times d}$ with common expectation $\Sigma$, the goal of Differentially Private Stochastic PCA is to identify a $k$-dimensional subspace capturing the leading variance directions of $\Sigma$, while preserving differential privacy (DP) for each individual sample $A_i$. Düngler & Sanyal [2025] introduced $k$-DP-PCA, the first algorithm to simultaneously (1) achieve sample complexity $n=\widetilde O(d)$ for sub-Gaussian data, (2) adapt its privacy noise to the intrinsic randomness of the data, and (3) extend seamlessly to any target dimension $k\le d$. However, its sample complexity has a suboptimal dependence on $k$. We propose the first algorithm that achieves optimal sample complexity in both $d$ and $k$, while retaining (2) and (3) of $k$-DP-PCA. In addition, our method removes the exponential dependence on the eigengap that appears in the sample-size lower bound required by prior utility guarantees, and improves the dependence on spectral parameters to match known lower bounds for the spiked covariance model. Unlike deflation-based approaches like $k$-DP-PCA, our algorithm updates the full $d\times k$ subspace jointly rather than one eigenvector at a time. This non-deflation structure simplifies the algorithm, reduces the number of hyper-parameters, and improves computational efficiency, particularly when using block linear algebra libraries.
BibTeX
@inproceedings{dungler2026optimal,
  author = {Johanna Düngler and Amartya Sanyal},
  title = {{Optimal Rates for Adaptive Private $k$-PCA}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=Rgs7JZ6dSS},
}
Figure