English

The Phase Transition in Online PCA Depends on $n/d\log(d)$, not $n/d$

Statistics Theory 2026-07-27 v1 Signal Processing Probability Machine Learning

Abstract

High dimensional statistical theory has established the importance of constant aspect ratio, when the number of dimensions (dd) and samples (nn) satisfy n,dn,d\to\infty with n/dγ(0,)n/d\to \gamma\in(0,\infty), in understanding the limits of canonical estimation problems. In particular, for estimating the top eigenvector of a d×dd\times d population covariance matrix from nn iid samples, the BBP phase transition gives a precise threshold -- a simple functional of the aspect ratio -- such that the top sample principal component attains nonzero asymptotic correlation with the truth only when the leading population eigenvalue exceeds it. In this paper, we show that for online / streaming algorithms the story is very different, and constant aspect ratio is insufficient for nonzero overlap. We study Oja's algorithm, the most popular method for online PCA. Let Σ=θ2v0v0+IRd×d\Sigma=\theta^2 v_0v_0^\top+I\in\mathbb{R}^{d\times d}, and run Oja's algorithm with step size δ/d\delta/d on nn iid samples XkN(0,Σ)X_k\sim\mathcal{N}(0,\Sigma), with output v^n\hat v_n. Then, as n,dn,d\to\infty with n/dlogdγ(0,)n/d\log d\to\gamma\in(0,\infty), we establish a phase transition: v^n,v00|\langle\hat v_n,v_0\rangle|\to 0 when γ<γ\gamma<\gamma_*, and ρ\to\rho_* when γ>γ\gamma>\gamma_*. Here ρ=ρ(θ,δ)=(θ2δ/2)+/θ2(1+δ/2)\rho_*=\rho_*(\theta,\delta)=\sqrt{(\theta^2-\delta/2)_+/\theta^2(1+\delta/2)} and γ=γ(θ,δ)=1/2δ(θ2δ/2)+\gamma_*=\gamma_*(\theta,\delta)=1/2\delta(\theta^2-\delta/2)_+. Further, at criticality, when n=[γdlogd+ηd]n=[\gamma_*d\log d+\eta d] and dd\to\infty, ηR\eta\in\mathbb{R}, the correlation is random: v^n,v0wρGexp(η/2γ)/ρ4+G2exp(η/γ)|\langle\hat v_n,v_0\rangle|\stackrel{w}{\to}\rho_*|G|\exp(\eta/2\gamma_*)/\sqrt{\rho_*^4+G^2\exp(\eta/\gamma_*)} where GN(0,1)G\sim\mathcal{N}(0,1). This is in stark contrast to ordinary high dimensional PCA, where nonzero overlap is possible at constant n/dn/d and improves as n/dn/d increases.

Keywords

Cite

@article{arxiv.2607.23914,
  title  = {The Phase Transition in Online PCA Depends on $n/d\log(d)$, not $n/d$},
  author = {Apratim Dey},
  journal= {arXiv preprint arXiv:2607.23914},
  year   = {2026}
}