Abstract
In recent years, federated learning (FL) has emerged as a prominent paradigm in distributed machine learning. Despite the partial safeguarding of agents' information within FL systems, a malicious adversary can potentially infer sensitive information through various means. In this paper, we propose a generic private FL framework defined on Riemannian manifolds (PriRFed) based on the differential privacy (DP) technique. We analyze the privacy guarantee while establishing the convergence properties. To the best of our knowledge, this is the first federated learning framework on Riemannian manifold with a privacy guarantee and convergence results. Numerical simulations are performed on synthetic and real-world datasets to showcase the efficacy of the proposed PriRFed approach.
1. Introduction
Federated Learning (FL) has revolutionized distributed machine learning by allowing multiple agents to collaboratively train a global model without sharing their raw data. However, standard FL frameworks are predominantly designed for Euclidean spaces, where data is represented as flat vectors. In many real-world applications—ranging from medical imaging to social network analysis—data naturally resides on non-Euclidean, curved surfaces known as Riemannian manifolds.
Examples of such manifolds include spheres (used in directional statistics), Symmetric Positive Definite (SPD) matrices (common in signal processing), and hyperbolic spaces (ideal for hierarchical data like taxonomies). Furthermore, the decentralized nature of FL does not inherently guarantee privacy; malicious entities can often reconstruct sensitive local data from the model updates shared during training. While Differential Privacy (DP) provides a rigorous mathematical framework to mitigate these risks, its application to Riemannian manifolds is challenging because traditional additive noise can push model parameters off the manifold's surface. This paper introduces PriRFed, a framework that bridges the gap between manifold-aware optimization and privacy-preserving distributed learning.
2. The PriRFed Framework
The proposed PriRFed (Private Riemannian Federated) framework addresses the geometric constraints of manifolds while maintaining strict DP guarantees through several key innovations.
2.1 Tangent Space Gaussian Mechanism
To preserve the manifold structure during noise injection, PriRFed utilizes the tangent space—a local linear approximation of the manifold at a specific point. The process involves projecting the model update into the tangent space, adding Gaussian noise within this flat space, and then applying an exponential map to project the noisy update back onto the manifold surface.
2.2 Tangent Mean Aggregation
In Euclidean FL, the central server typically computes a weighted average of local updates. On a manifold, the equivalent "Fréchet mean" is itself a complex optimization problem. PriRFed employs a "Tangent Mean" aggregation—a first-order approximation that projects updates to a common tangent space, averages them, and maps the result back. This approach ensures computational efficiency without sacrificing theoretical convergence.
2.3 Local Training Variants
PriRFed supports two primary local optimization strategies:
- DP-RSGD (Riemannian Stochastic Gradient Descent): A private adaptation of standard manifold SGD.
- DP-RSVRG (Riemannian Stochastic Variance Reduced Gradient): This variant is particularly effective in private settings. Since DP noise introduces significant variance, the variance-reduction mechanism of RSVRG helps stabilize training and accelerate convergence compared to standard SGD.
3. Theoretical Analysis
The authors provide a rigorous analysis of both privacy and convergence. Privacy is tracked using Advanced Composition Theorems and Subsampling Lemmas, ensuring the total privacy budget ($\epsilon, \delta$) is maintained across multiple training rounds.
Crucially, the convergence proofs incorporate the sectional curvature of the manifold. This demonstrates that the geometric properties of the space—how "curved" it is—directly influence the learning rate and the final error bounds. The framework establishes the first theoretical convergence rates for private FL on manifolds for both convex and non-convex objective functions.
4. Experimental Evaluation
The efficacy of PriRFed was evaluated across several distinct geometries and datasets:
- Spheres: Tested using MNIST digit projections for principal eigenvector computation.
- SPD Matrices: Evaluated using the PATHMNIST medical imaging dataset to test Fréchet mean computation.
- Hyperbolic Spaces: Tested on WordNet for hierarchical structured prediction on a Lorentz hyperboloid.
Key Results
- Privacy-Utility Trade-off: The experiments quantify the accuracy loss for given privacy levels. As the privacy budget ($\epsilon$) increases (less privacy), the model converges closer to the non-private optimal solution.
- RSVRG Superiority: In complex geometries like SPD and Hyperbolic manifolds, DP-RSVRG consistently outperformed DP-RSGD, highlighting the importance of variance reduction in noisy private environments.
- Scalability: The convergence bounds improve as the number of participating agents ($N$) increases, suggesting the framework scales well in large-scale distributed systems.
- Structure Preservation: Visualizations of hyperbolic embeddings showed that even with DP noise, the model successfully captured the hierarchical structure of the WordNet "primate" subtree while keeping individual data points indistinguishable.
5. Conclusion
PriRFed represents a significant step forward in private distributed optimization. By integrating Riemannian geometry with differential privacy, it enables secure learning on complex data structures that do not fit the standard Euclidean mold. Future work may explore reducing the computational overhead of Riemannian operations (like parallel transport) and developing automated methods for tuning privacy-related hyperparameters such as the gradient clipping threshold.
Summary updated