Decentralized Riemannian Conjugate Gradient Method on the Stiefel Manifold

Jun Chen, Haishan Ye, Mengmeng Wang, Tianxin Huang, Guang Dai, Ivor Tsang, Yong Liu

TL;DR

This paper introduces DRCGD, the first decentralized Riemannian conjugate gradient algorithm designed for optimization on the Stiefel manifold. By replacing computationally heavy geometric operations like retractions and vector transports with efficient projection operators, the authors achieve faster convergence than standard gradient descent methods while maintaining low computational overhead for distributed agents.

Introduction: The Distributed Manifold Optimization Problem

In modern machine learning and signal processing, data is often distributed across a network of agents (like mobile devices or servers). The goal is to minimize a global function that is the sum of local functions held by these agents. When the parameters must satisfy specific constraints—such as orthogonality (e.g., in Principal Component Analysis or orthogonal neural networks)—the optimization takes place on a Riemannian manifold, specifically the Stiefel manifold.

Optimizing on manifolds in a decentralized way is notoriously difficult for two main reasons:

  1. Non-convexity: Manifolds are curved surfaces; a simple arithmetic average of two points on a manifold usually falls off the manifold, making "consensus" between agents hard to define.
  2. Computational Cost: Standard Riemannian Conjugate Gradient (CG) methods rely on "retractions" (mapping back to the manifold) and "vector transports" (moving gradients between tangent spaces). These operations are mathematically elegant but computationally expensive for distributed nodes.

While decentralized Riemannian gradient descent exists, it is often slow. This paper seeks to bring the speed of Conjugate Gradient methods to this challenging distributed manifold setting.

Methods: DRCGD

The authors propose the Decentralized Riemannian Conjugate Gradient Descent (DRCGD) method. Its core innovations include:

  • Retraction-Free and Transport-Free: Instead of using expensive exponential maps or retractions, the algorithm uses a projection operator to keep iterates on the Stiefel manifold. Similarly, it replaces vector transports with projections onto the tangent space to update search directions.
  • Consensus on Search Directions: In decentralized optimization, agents must agree on a direction. DRCGD performs a consensus step not just on the positions ($x$), but also on the conjugate search directions ($\eta$), ensuring the whole network moves toward the global optimum in a coordinated fashion.
  • Fletcher-Reeves Extension: The authors adapt the classic Fletcher-Reeves formula for calculating the CG update parameter ($\beta$) to work in a decentralized Riemannian context.
  • Theoretical Guarantee: The paper provides a rigorous proof of global convergence under an extended assumption, marking a first for decentralized CG on manifolds.

Datasets and Benchmarks

The authors evaluated DRCGD using two primary benchmarks:

  1. Synthetic Data (Decentralized Eigenvector Problem): A standard test for Stiefel manifold optimization where the goal is to find the principal components of a distributed data matrix.
  2. Real-World Data (MNIST): They applied the method to a deep learning task involving neural networks with orthogonal constraints, a technique used to prevent vanishing or exploding gradients.

Key Insights and Ideas

  • Projections are Enough: One of the most important insights is that the full machinery of Riemannian geometry (retractions/transports) is not strictly necessary to achieve convergence. Simple orthogonal projections are sufficient and much faster.
  • The Power of CG in Networks: Conjugate gradient methods are known to be faster than steepest descent in Euclidean space. This paper demonstrates that this advantage carries over to decentralized manifolds, provided the consensus of search directions is handled correctly.
  • Communication Matters: The experiments show that increasing the number of communication rounds ($t$) per iteration significantly boosts DRCGD's performance, whereas it has a diminishing return for simpler gradient descent methods.

Key Results

The empirical evaluation highlights several advantages of the proposed method:

  • Superior Speed: In both synthetic and real-world tests, DRCGD converged significantly faster than state-of-the-art decentralized Riemannian gradient descent methods (like DRDGD and DPRGD).
  • Efficiency: By avoiding retractions and transports, the per-iteration computational cost remains low, making it practical for agents with limited processing power.
Convergence comparison of DRCGD and DRDGD for varying communication rounds t.
  • Scalability: The algorithm maintained robust performance across different network topologies and sizes.
Performance comparison of DRCGD and DPRGD across different network sizes n.
  • Accuracy: On the MNIST dataset with orthogonal constraints, DRCGD reached lower loss values faster than its competitors as the step size increased.

Limitations and Future Work

While the paper focuses on the Stiefel manifold, the authors acknowledge that their approach could be extended to other compact submanifolds.

Future research directions suggested by the authors include:

  • Generalizing the projection-based CG framework to a wider variety of manifolds.
  • Developing a decentralized online version of the algorithm to handle streaming data.
  • Exploring how these methods perform in asynchronous communication environments where agents don't wait for each other to finish updates.

Summary updated

BibTeX
@inproceedings{chen2024decentralized,
  author = {Jun Chen and Haishan Ye and Mengmeng Wang and Tianxin Huang and Guang Dai and Ivor Tsang and Yong Liu},
  title = {{Decentralized Riemannian Conjugate Gradient Method on the Stiefel Manifold}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=PQbFUMKLFp},
}
Figure