NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Incremental Aggregated Riemannian Gradient Method for Distributed PCA

Xiaolu Wang, Yuchen Jiao, Hoi-To Wai, Yuantao GuAISTATS 2023

Abstract

We consider the problem of distributed principal component analysis (PCA) where the data samples are dispersed across different agents. Despite the rich literature on this problem under various specific settings, there is still a lack of efficient algorithms that are amenable to decentralized and asynchronous implementations. In this paper, we extend the incremental aggregated gradient (IAG) method in convex optimization to the nonconvex PCA problems based on an Riemannian gradient-type method named IARG-PCA. The IARG-PCA method admits low per-iteration computational and communication cost and can be readily implemented in a decentralized and asynchronous manner. Moreover, we show that the IARG-PCA method converges linearly to the leading eigenvector of the sample covariance of the whole dataset with a constant step size. The iteration complexity coincides with the best-known result of the IAG method in terms of the linear dependence on the number of agents. Meanwhile, the communication complexity is much lower than the state-of-the-art decentralized PCA algorithms if the eigengap of the sample covariance is moderate. Numerical experiments on synthetic and real datasets show that our IARG-PCA method exhibits substantially lower communication cost and comparable computational cost compared with other existing algorithms.

Introduction: The Distributed PCA Challenge

Principal Component Analysis (PCA) is a fundamental tool in data science for dimensionality reduction and feature extraction. In modern large-scale applications, data is often distributed across multiple nodes—such as different CPU cores, cloud clusters, or edge devices—making centralized processing impractical due to privacy concerns or communication bottlenecks.

Existing distributed PCA methods often struggle with a "trilemma" of synchronization, communication overhead, and convergence speed. Many algorithms require global synchronization, where the entire system waits for the slowest "straggler" node. Others, like Oja’s rule, are simple but converge sublinearly. Furthermore, PCA is inherently non-convex, as the solution must lie on a unit sphere (a Riemannian manifold), complicating the application of standard optimization techniques.

Methodology: The IARG-PCA Algorithm

To address these challenges, the authors introduced the Incremental Aggregated Riemannian Gradient (IARG-PCA) method. This approach bridges the gap between Incremental Aggregated Gradient (IAG) techniques—typically used in convex optimization—and non-convex Riemannian optimization.

Key Components

  • Gradient Aggregation: Instead of computing a full gradient across all nodes at every step, IARG-PCA visits one agent at a time. It maintains a memory of the last known gradients from all other agents. When a node is visited, it updates its specific gradient contribution, and the algorithm uses the sum of these contributions (including stale ones) to estimate the global gradient.
  • Riemannian Framework: To ensure the iterates remain on the unit sphere, the algorithm employs Riemannian gradients and a "retraction" step (normalization). This geometric approach naturally handles the non-convex constraints of PCA.
  • Decentralized Hamiltonian Walk: The algorithm is fully decentralized. A "token" containing the current model and aggregated gradient is passed between agents following a Hamiltonian walk—a path that visits every node exactly once. This eliminates the need for a central master server and minimizes active network links.

Experimental Evaluation

The authors evaluated IARG-PCA against state-of-the-art methods like DeEPCA and Oja’s rule using synthetic data and real-world datasets ('a9a' census data and 'w8a' web data).

Communication cost comparison of IARG-PCA against state-of-the-art methods across different network topologies and datasets.

As shown in the figure above, IARG-PCA (red line) significantly outperforms competitors in communication efficiency. While consensus-based methods like DeEPCA (dashed black line) show slower convergence relative to communication cost, IARG-PCA achieves high precision (down to $10^{-15}$) with orders of magnitude less communication. Notably, this performance is robust across different network topologies, including Ring and Erdős–Rényi graphs.

Theoretical Insights and Results

The most significant theoretical contribution is the proof that IARG-PCA achieves linear convergence to the leading eigenvector. Despite using "stale" gradient information, the authors proved that the error remains bounded, allowing for a constant step size.

Key findings include:

  • Communication Efficiency: The communication complexity scales linearly with the number of agents ($O(N)$), making it highly scalable.
  • Robustness to Eigengap: IARG-PCA maintains steady convergence even when the "eigengap" (the difference between the top two eigenvalues) is small, a scenario where many stochastic methods falter.
  • Asynchronicity: By avoiding global synchronization, the algorithm is naturally resilient to the "straggler effect" common in heterogeneous distributed systems.

Conclusion and Future Directions

IARG-PCA represents a significant step forward for decentralized PCA, offering a rare combination of linear convergence and low communication cost. While the current work focuses on finding the single top principal component (1-PCA), future research aims to extend this to k-PCA using the Stiefel manifold. Additionally, improving the iteration complexity's dependence on the eigengap and enhancing fault tolerance for token-passing are promising areas for further development.

Summary updated

BibTeX
@inproceedings{wang2023incremental,
  author = {Xiaolu Wang and Yuchen Jiao and Hoi-To Wai and Yuantao Gu},
  title = {{Incremental Aggregated Riemannian Gradient Method for Distributed PCA}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2023},
  url = {https://openreview.net/forum?id=B92NBcUY4v},
}
Figure