This work provides improved guarantees for streaming principle component analysis (PCA). Given $A_1, \ldots, A_n\in \mathbb{R}^{d\times d}$ sampled independently from distributions satisfying $\mathbb{E}[A_i] = Σ$ for $Σ\succeq \mathbf{0}$, this work provides an $O(d)$-space linear-time single-pass streaming algorithm for estimating the top eigenvector of $Σ$. The algorithm nearly matches (and in certain cases improves upon) the accuracy obtained by the standard batch method that computes top eigenvector of the empirical covariance $\frac{1}{n} \sum_{i \in [n]} A_i$ as analyzed by the matrix Bernstein inequality. Moreover, to achieve constant accuracy, our algorithm improves upon the best previous known sample complexities of streaming algorithms by either a multiplicative factor of $O(d)$ or $1/\mathrm{gap}$ where $\mathrm{gap}$ is the relative distance between the top two eigenvalues of $Σ$.
These results are achieved through a novel analysis of the classic Oja's algorithm, one of the oldest and most popular algorithms for streaming PCA. In particular, this work shows that simply picking a random initial point $w_0$ and applying the update rule $w_{i + 1} = w_i + η_i A_i w_i$ suffices to accurately estimate the top eigenvector, with a suitable choice of $η_i$. We believe our result sheds light on how to efficiently perform streaming PCA both in theory and in practice and we hope that our analysis may serve as the basis for analyzing many variants and extensions of streaming PCA.
ODE-Inspired Analysis for the Biological Version of Oja's Rule in Solving Streaming PCA
Harvard University(哈佛大学)
Oja规则[Oja,Journal of mathematical biology 1982]是一种众所周知的生物学上合理的算法,使用Hebbian型突触更新规则来解决流式主成分分析(PCA)。计算神经科学家已经知道,这种生物学版本的Oja规则在极限下收敛于输入的协方差矩阵的顶部特征向量。然而,在这项工作之前,它是开放的,以证明任何收敛速度保证。在这项工作中,我们给出了第一个收敛速度分析的生物版本的Oja的规则在解决流PCA。此外,我们的收敛速度匹配的信息理论下限的对数因子,并优于最先进的流PCA的上限。此外,我们开发了一个新的框架的启发常微分方程(ODE)来分析一般的随机动力学。该框架摒弃了传统的逐步分析,而是通过对整个动态给出封闭形式的解来一次性分析随机动态。单次框架允许我们应用停止时间和鞅技术来灵活和精确地控制动态。我们相信,这个一般的框架是强大的,并应导致有效而简单的分析一类问题的随机动力学。
AgFlow: Fast Model Selection of Penalized PCA via Implicit Regularization Effects of Gradient Flow
Big Data Lab, Baidu Research(百度研究院大数据实验室);School of Artificial Intelligence and Automation Huazhong University of Science and Technology(华中科技大学人工智能与自动化学院)
Implicitly Normalized Online PCA: A Regularized Algorithm with Exact High-Dimensional Dynamics
Machine Learning and Information Processing Group, KUIS AI Center(机器学习与信息处理组,KUIS人工智能中心);Department of Electrical and Electronics Engineering(电子与电气工程系)