Skip to main content
QUICK REVIEW

[Paper Review] AdaOja: Adaptive Learning Rates for Streaming PCA

Amelia Henriksen, Rachel Ward|arXiv (Cornell University)|May 28, 2019
Stochastic Gradient Optimization TechniquesComputer Science26 references16 citations
TL;DR

AdaOja proposes an adaptive learning rate scheme for Oja's streaming PCA algorithm that eliminates the need for manual hyperparameter tuning. By integrating an adaptive step size inspired by Adagrad, AdaOja achieves superior convergence and performance comparable to state-of-the-art methods across synthetic, sparse, and dense real-world datasets without requiring multiple passes or prior data knowledge.

ABSTRACT

Oja's algorithm has been the cornerstone of streaming methods in Principal Component Analysis (PCA) since it was first proposed in 1982. However, Oja's algorithm does not have a standardized choice of learning rate (step size) that both performs well in practice and truly conforms to the online streaming setting. In this paper, we propose a new learning rate scheme for Oja's method called AdaOja. This new algorithm requires only a single pass over the data and does not depend on knowing properties of the data set a priori. AdaOja is a novel variation of the Adagrad algorithm to Oja's algorithm in the single eigenvector case and extended to the multiple eigenvector case. We demonstrate for dense synthetic data, sparse real-world data and dense real-world data that AdaOja outperforms common learning rate choices for Oja's method. We also show that AdaOja performs comparably to state-of-the-art algorithms (History PCA and Streaming Power Method) in the same streaming PCA setting.

Motivation & Objective

  • To address the lack of a standardized, effective learning rate choice in Oja’s streaming PCA algorithm that works in practice and respects the online, single-pass constraint.
  • To eliminate the need for manual hyperparameter tuning (e.g., constant c in ηₜ = c/t or c/√t) that typically requires multiple data passes.
  • To develop a simple, implementable, and robust learning rate scheme that adapts to data characteristics in real time during a single pass.
  • To demonstrate that the proposed adaptive scheme matches or exceeds the performance of both standard Oja’s method with optimal learning rates and state-of-the-art streaming PCA algorithms.

Proposed method

  • Adapts the Adagrad algorithm’s adaptive learning rate mechanism to the single-eigenvector case of Oja’s method, extending it to the multiple-eigenvector case.
  • Uses a per-coordinate adaptive learning rate that increases with the inverse square root of the cumulative gradient magnitude, avoiding manual tuning.
  • Applies a projection step after each update to maintain orthonormality of the subspace basis, ensuring convergence to the true principal components.
  • Employs a single-pass streaming update rule: Wₜ = (I + ηₜxₜxₜᵀ)Wₜ₋₁, followed by QR decomposition to enforce orthonormality.
  • Introduces a variant of the standard power method with adaptive step sizes, making it robust to batch size choices and data sparsity.
  • Derives the learning rate as ηₜ = 1 / √(∑ᵢ₌₁ᵗ ||xᵢ||²), which adapts to the data’s energy growth over time.

Experimental results

Research questions

  • RQ1Can an adaptive learning rate scheme be designed for Oja’s method that eliminates the need for manual hyperparameter tuning in streaming PCA?
  • RQ2Does the proposed adaptive learning rate improve convergence speed and final explained variance compared to fixed-rate schemes like ηₜ = c/t or ηₜ = c/√t?
  • RQ3How does AdaOja perform relative to state-of-the-art single-pass streaming PCA algorithms such as History PCA and Streaming Power Method?
  • RQ4Is the adaptive learning rate robust to variations in data sparsity, noise levels, and batch size?
  • RQ5Can AdaOja achieve performance comparable to offline PCA without requiring multiple passes over the data?

Key findings

  • AdaOja outperforms common fixed learning rate choices (e.g., ηₜ = c/t, ηₜ = c/√t) in both synthetic and real-world data, achieving higher explained variance with faster convergence.
  • On the dense CIFAR-10 dataset, AdaOja achieves explained variance comparable to History PCA (HPCA) and surpasses the Streaming Power Method (SPM), especially in low batch size settings (B=10).
  • For sparse bag-of-words datasets (e.g., Enron, Nips, Kos), AdaOja performs comparably or slightly better than HPCA, with consistent performance across different batch sizes.
  • On medium-sized sparse datasets (e.g., PubMed, NYT), AdaOja marginally outperforms HPCA, demonstrating robustness and adaptability to real-world data.
  • In noisy spiked covariance models, AdaOja maintains strong performance and achieves higher explained variance than HPCA as noise increases, especially in the B=100 setting.
  • AdaOja’s performance is stable and consistent across different values of k (1 and 10) and batch sizes (10, 100, 1000), showing resilience to hyperparameter and data configuration changes.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.