In many advanced machine learning problems, the optimal solution does not reside in a flat Euclidean space but rather on a curved surface known as a Riemannian manifold. Classic examples include Principal Component Analysis (PCA), where solutions are subspaces on the Grassmann manifold, or covariance estimation, which involves Symmetric Positive Definite (SPD) matrices.
Solving these optimization problems in a distributed manner—where streaming data is spread across multiple agents in a network—presents a significant challenge. Most existing distributed algorithms assume a flat space where agents can simply "average" their neighbors' parameters. However, on a manifold, the straight line between two points often does not exist on the surface itself. While some "extrinsic" methods attempt to bypass this by projecting back onto the manifold from a larger flat space, these approaches can be computationally inefficient or fail entirely due to the manifold's non-convexity.
This paper introduces a fully "intrinsic" diffusion adaptation strategy for decentralized optimization on Riemannian manifolds. By alternating between local stochastic gradient steps and neighbor communication on tangent spaces, the algorithm enables multiple agents to reach a consensus on curved geometry, matching the stability of centralized solutions.
The Riemannian Diffusion Adaptation Method
To allow agents to collaborate and reach a consensus directly using the manifold's inherent geometry, the authors propose a two-step iterative process:
- Adaptation Step: Each agent performs a local update using Riemannian Stochastic Gradient Descent (R-SGD). Instead of moving along a flat vector, the agent moves along a "geodesic" (the shortest path on the curved surface) based on its local streaming data.
- Combination Step: To reach a consensus, agents evaluate their neighbors' estimates. Because direct averaging is impossible on a curve, the algorithm "pulls" the neighbors' estimates onto the tangent space—a local flat approximation of the manifold at the current agent's position. It averages them in this flat space, and then "pushes" the result back onto the manifold.
Crucially, the algorithm employs constant step sizes. While many theoretical proofs require step sizes that vanish over time, constant step sizes are essential for "online" learning, where the underlying data distribution might change and agents must continuously adapt.
Key Insights
- The Tangent Space Trick: The core innovation is performing the combination step in the tangent space. This allows the algorithm to leverage the well-understood properties of Euclidean diffusion (averaging) while strictly respecting the global curvature of the manifold.
- Intrinsic vs. Extrinsic: By remaining "intrinsic," the algorithm does not need to know how the manifold is embedded in a larger space. This makes it more general and often more numerically stable than extrinsic methods that rely on projections.
- Consensus via Penalty: The theoretical analysis treats the desire for consensus as a penalty function. The authors prove that even with the "noise" of stochastic gradients and the "distortion" of the manifold's curvature, the agents will eventually coalesce around a common estimate with high probability.
Experimental Results
The researchers evaluated their algorithm on Distributed PCA and Distributed Gaussian Mixture Model (GMM) inference, using both synthetic datasets and the real-world MNIST dataset.
- Superior Performance: In the experiments, the proposed Riemannian diffusion strategy significantly reduced the Mean Square Deviation (MSD) compared to "non-cooperative" agents (who do not communicate) and outperformed DRSGD, a popular extrinsic consensus method.
- Centralized Stability: The algorithm approached the performance of a "centralized" solution (where a single node has access to all data), proving that decentralized communication is a highly viable substitute for centralized data sharing.
- Convergence Guarantees: The authors provided a non-asymptotic convergence bound, detailing exactly how the error decreases over time and how it is influenced by the manifold's curvature.
Limitations and Future Work
While highly effective, the approach has a few limitations that pave the way for future research:
- Computational Overhead: The theoretical proofs rely on the exponential map, which can be computationally expensive for complex manifolds. In practice, the authors used "retractions" (cheaper approximations), but bridging the theoretical gap between the two remains a challenge.
- Curvature Constraints: Convergence results depend heavily on the manifold's sectional curvature. If a manifold has extremely high curvature, the algorithm might require much smaller step sizes or more iterations to reach an agreement.
- Communication Efficiency: The algorithm requires agents to communicate in every iteration. Future work could explore "event-triggered" or compressed communication protocols to save network bandwidth.
Summary updated