Differentially private Riemannian optimization

Andi Han, Bamdev Mishra, Pratik Jawanpuria, Junbin Gao · DOI

Abstract

Differential Privacy (DP) has become the gold standard for protecting individual data points in machine learning. However, standard DP techniques often assume that parameters reside in flat Euclidean space. Many modern applications involve constraints that define curved surfaces, or Riemannian manifolds, such as orthogonal matrices or positive definite covariance matrices. This paper presents a systematic framework for DP optimization on Riemannian manifolds. By introducing the Tangent Space Gaussian Mechanism, the authors enable privacy-preserving optimization that respects intrinsic geometric constraints. We review the framework's theoretical utility bounds across various function classes and its empirical performance on diverse datasets.

Introduction

In machine learning, optimization is frequently performed over "flat" Euclidean spaces. Yet, many real-world constraints—such as ensuring a matrix is orthogonal or that a covariance matrix remains positive definite—require optimizing over "curved" surfaces known as Riemannian manifolds. Integrating Differential Privacy (DP) into these settings is non-trivial. Standard DP methods, which typically add noise to gradients, can easily push parameters off the manifold, violating essential geometric constraints.

Existing approaches often rely on "perturb-then-project" strategies, where noise is added in the high-dimensional ambient space before projecting back onto the manifold. This often results in poor utility because the noise scale depends on the ambient dimension rather than the manifold's intrinsic dimension. A recent paper titled "Differentially private Riemannian optimization" (published in Machine Learning, 2024) addresses these gaps by proposing a geometry-aware framework that operates directly within the manifold's tangent space.

The Tangent Space Gaussian Mechanism

The core innovation of this framework is the Tangent Space Gaussian Mechanism. Instead of adding noise in the ambient space, the authors inject Gaussian noise into the Riemannian gradient within the tangent space at the current iterate.

Since the tangent space at any point on a manifold is a local vector space, it is possible to define a "Tangent Gaussian" distribution that respects the manifold's metric tensor. The proposed algorithm, Differentially Private Riemannian Gradient Descent (DP-RGD), follows three main steps:

  1. Gradient Computation: Calculate the Riemannian gradient of the loss function.
  2. Perturbation: Add noise sampled from the Tangent Gaussian distribution. The variance is calibrated using a Riemannian adaptation of the Moments Accountant—a technique that tracks privacy loss more efficiently over multiple iterations.
  3. Update: Move along the manifold using the Exponential Map (or a first-order Retraction) to ensure the new parameter remains on the manifold.

Theoretical Utility Bounds

A significant contribution of this work is the derivation of utility bounds—the gap between the private solution and the true optimum—for several classes of objective functions. These bounds demonstrate that the utility depends on the intrinsic dimension of the manifold ($d$) rather than the ambient dimension of the space it is embedded in.

Table 1: Utility bounds for DP Riemannian optimization across different function classes.

As shown in the table above, the framework provides convergence rates for geodesically convex, strongly convex, and even certain nonconvex functions that satisfy the Riemannian Polyak-Łojasiewicz (PL) condition. Notably, the utility for strongly convex and PL functions scales with $1/n^2$, which is significantly better than the $1/n$ scaling typically seen in standard convex settings.

Experimental Evaluation

The authors validated their framework across a wide range of applications and datasets:

  • Covariance Estimation: Using the Extended Yale-B and Kylberg datasets, the method proved effective for tasks involving Symmetric Positive Definite (SPD) matrices, outperforming traditional Laplace mechanisms.
  • Principal Eigenvector Computation: Evaluated on ijcnn1 and satimage benchmarks, showing that the Riemannian PL condition allows for strong convergence even in nonconvex settings.
  • Hyperbolic Embeddings: The framework was applied to the WordNet mammals subtree, successfully learning hierarchical structures under privacy constraints where no established DP baselines previously existed.
  • Matrix Completion: Tested on the MovieLens-1M dataset using the Grassmann manifold, demonstrating robustness in recommender system tasks.

Conclusion

The proposed framework represents the first systematic approach to differentially private optimization on Riemannian manifolds. By leveraging the intrinsic geometry of the tangent space, the authors achieve tighter utility guarantees and better empirical performance than traditional projection-based methods. While computational challenges remain—specifically regarding efficient sampling from Tangent Gaussian distributions on complex manifolds—this work lays the foundation for geometry-aware private machine learning.

This summary is based on the paper "Differentially private Riemannian optimization" published in Machine Learning (2024).

Summary updated

BibTeX
@article{han2024differentially,
  author = {Andi Han and Bamdev Mishra and Pratik Jawanpuria and Junbin Gao},
  title = {{Differentially private Riemannian optimization}},
  journal = {Machine Learning},
  year = {2024},
  doi = {10.1007/s10994-023-06508-5},
}
Figure