Nonconvex Federated Learning on Compact Smooth Submanifolds With Heterogeneous Data

Jiaojiao Zhang, Jiang Hu, Anthony Man-Cho So, Mikael Johansson

Introduction

Federated Learning (FL) has emerged as a dominant paradigm for training machine learning models across decentralized devices while maintaining data privacy. While most FL research focuses on "flat" Euclidean spaces, many foundational tasks—such as Principal Component Analysis (PCA), low-rank matrix completion, and dictionary learning—are naturally formulated as optimization problems on smooth manifolds. These "curved" surfaces, such as the Stiefel or Grassmann manifolds, impose strict geometric constraints on the model parameters.

Optimizing on manifolds in a distributed setting introduces unique challenges that standard FL algorithms like FedAvg are ill-equipped to handle. This paper presents a novel algorithm designed to optimize non-convex functions on compact smooth submanifolds, specifically addressing the issues of computational overhead and client drift in the presence of heterogeneous data.

Challenges in Manifold Federated Learning

The transition from "flat" Euclidean spaces to curved manifolds introduces three primary difficulties:

  1. Non-convexity and Feasibility: Manifolds are inherently non-convex sets. In standard FL, the server averages local models. However, the average of two points on a manifold (e.g., two points on a sphere) typically lies off the manifold, violating the feasibility constraints.
  2. Geometric Complexity: Traditional Riemannian optimization relies on "exponential maps" to move along the surface and "parallel transport" to move gradient information between points. These operations are often computationally expensive and may lack closed-form solutions, making them impractical for resource-constrained FL clients.
  3. Client Drift: Data heterogeneity (non-IID data) causes local models to move toward local optima that diverge from the global solution. When clients perform multiple local steps to save communication, this "drift" is exacerbated, leading to slow convergence or instability.

The Proposed Framework: Projection and Drift Correction

To address these challenges, the authors propose an algorithm that simplifies the geometric operations and incorporates a robust correction mechanism.

Manifold Projection ($P_{\mathcal{M}}$)

Instead of utilizing complex retractions or exponential maps, the proposed method performs updates in the ambient Euclidean space and then applies a projection operator $P_{\mathcal{M}}$ to map the iterates back onto the manifold. The authors leverage the property of proximal smoothness, which ensures that for a wide class of manifolds, a unique projection exists within a certain "tube" around the surface. This approach significantly reduces the per-iteration computational cost.

Local Updates with Drift Correction

To minimize communication frequency, clients perform $\tau$ local updates before synchronizing with the server. To combat the resulting client drift, the algorithm introduces a local correction term ($c_i^r$). Unlike previous methods that require the exchange of large variance-reduction matrices, this correction term is updated locally by each client. This ensures that even when data is highly heterogeneous, the local update directions remain aligned with the global objective without increasing the communication payload per round.

Stochastic Riemannian Gradients

The algorithm employs mini-batch stochastic gradients adapted to the manifold's tangent space. By combining these gradients with the projection and drift correction, the method maintains feasibility while efficiently navigating the non-convex landscape.

Theoretical Convergence

The authors provide a rigorous convergence analysis for the proposed algorithm. They prove that for non-convex objectives on compact smooth submanifolds, the algorithm achieves a sub-linear convergence rate of $O(1/\sqrt{n\tau R})$, where $n$ is the number of clients, $\tau$ is the number of local steps, and $R$ is the number of communication rounds. This result demonstrates that the algorithm can achieve a linear speedup with respect to the number of clients and local steps, matching the theoretical bounds of state-of-the-art Euclidean FL algorithms.

Empirical Evaluation

The effectiveness of the algorithm was tested on two benchmark tasks:

k-Principal Component Analysis (kPCA)

Using the MNIST dataset, the researchers simulated a heterogeneous environment by distributing images to 10 clients based on digit labels. The proposed method was compared against RFedAvg, RFedProx, and RFedSVRG. The results indicated that the new algorithm reached the target accuracy with significantly lower communication quantity and total CPU time. It demonstrated superior stability even as the number of local steps ($\tau$) increased.

Low-Rank Matrix Completion (LRMC)

On synthetic datasets, the algorithm was used to recover full matrices from partial, noisy observations. The experiments confirmed that the projection-based approach, combined with drift correction, handles the non-convex constraints of low-rank manifolds more efficiently than existing Riemannian FL frameworks, particularly in high-heterogeneity scenarios.

Discussion and Limitations

The proposed algorithm represents a significant step toward practical manifold optimization in federated settings. By replacing expensive geometric operators with simple projections and introducing an efficient drift correction mechanism, it achieves a favorable balance between communication and computation.

However, some limitations remain. The method's efficiency depends on the existence of a closed-form or easily computable projection operator $P_{\mathcal{M}}$. While common in many ML applications (e.g., Stiefel manifolds), this may not hold for all complex submanifolds. Additionally, the algorithm currently assumes full client participation in every round. Future research will focus on extending this framework to handle partial participation and investigating methods to automatically estimate the proximal smoothness constant ($\gamma$) to simplify hyperparameter tuning.

Summary updated

BibTeX
@inproceedings{zhang2024nonconvex,
  author = {Jiaojiao Zhang and Jiang Hu and Anthony Man-Cho So and Mikael Johansson},
  title = {{Nonconvex Federated Learning on Compact Smooth Submanifolds With Heterogeneous Data}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=uO53206oLJ},
}
Figure