Improved Differentially Private Riemannian Optimization: Fast Sampling and Variance Reduction

Saiteja Utpala, Andi Han, Pratik Jawanpuria, Bamdev Mishra

Improved Differentially Private Riemannian Optimization: Fast Sampling and Variance Reduction

Introduction

Many modern machine learning problems involve data that naturally resides on non-Euclidean manifolds. Examples include directional data on spheres, covariance matrices on the manifold of symmetric positive definite (SPD) matrices, and hierarchical data in hyperbolic spaces. Optimizing models in these settings requires Riemannian optimization, which respects the underlying geometry.

When integrating Differential Privacy (DP), Gaussian noise must be added to gradients to protect individual data points. On a manifold, this noise must be sampled from a "tangent Gaussian" distribution within the tangent space—a local flat approximation of the manifold at a specific point. Historically, this step has been a massive bottleneck. Previous methods relied on slow Markov Chain Monte Carlo (MCMC) sampling or expensive basis construction (e.g., Gram-Schmidt) that scales poorly with dimension, making private Riemannian optimization significantly slower than its Euclidean counterparts.

Fast Sampling via Isometric Transportation

The core innovation of this work is a "reference point" strategy for noise generation. Instead of constructing a complex coordinate system at every iteration's current point $w$, the authors propose generating noise at a fixed, mathematically "simple" reference point $\widehat{w}$ (such as the identity matrix). This noise is then moved to the target point $w$ using a linear isometry—a transformation that preserves the geometric properties (distances and angles) of the tangent space.

Algorithm 2: Sampling from tangent Gaussian using isometric transportation

By using isometric transportation, the algorithm avoids the $O(d^2)$ cost of inner product calculations required for basis construction at every step. This "geometry-aware shortcut" allows noise to be "slid" across the manifold almost for free, drastically reducing the per-iteration overhead.

Applicability Across Manifolds

The authors demonstrate that this isometric transport strategy is generic and can be applied to a wide variety of common manifolds. They provide specific reference points and transport mechanisms for SPD matrices, Hyperbolic space, Spheres, Stiefel manifolds, and Grassmann manifolds.

Summary of reference points, tangent spaces, and computational costs for various manifolds

As shown in the table above, the computational cost for manifolds like the Sphere or Hyperbolic space is reduced to $O(m)$, while more complex structures like Stiefel or Grassmann manifolds scale with $O(mr^2)$. This efficiency makes private stochastic optimization on manifolds practically viable for the first time.

Variance Reduction and Privacy Budgeting

Beyond fast sampling, the paper introduces DP-RSVRG, a differentially private version of the Riemannian Stochastic Variance Reduced Gradient algorithm. SVRG is particularly well-suited for DP because it uses periodic full gradient updates to reduce the variance (or "chatter") of stochastic steps. In the Riemannian context, the reduced variance means the algorithm requires fewer total iterations to converge, which in turn means less total noise is injected over the optimization process.

Another key contribution is the optimization of the privacy budget split between the outer loop (full gradient) and inner loop (stochastic steps). By introducing a parameter $\alpha$ to tune this balance, the authors show that the standard 50/50 split is often suboptimal. Optimizing $\alpha$ can lead to significantly tighter privacy guarantees (lower $\epsilon$) for the same level of model utility.

Key Results and Impact

The proposed methods were evaluated on several benchmarks, demonstrating massive performance gains:

  • SPD Manifold (PATHMNIST): For computing the private Fréchet mean of $11 \times 11$ covariance descriptors, the new sampling method achieved a 10,000× speedup, reducing the task from 660 hours to just 41 seconds.
  • Sphere (MNIST): For private principal eigenvector computation, the authors observed a 10× speedup.
  • Privacy Efficiency: Optimizing the $\alpha$ parameter improved the privacy guarantee by approximately 1.6× (e.g., reducing $\epsilon$ from 0.64 to 0.47) without any loss in performance.

Conclusion

By leveraging the isometric properties of tangent spaces, this work removes the primary computational barrier to differentially private Riemannian optimization. The combination of fast isometric sampling, variance reduction via DP-RSVRG, and strategic privacy budgeting provides a robust framework for private machine learning on complex geometric manifolds. While implementing these methods requires deriving specific isometries for new manifolds, the provided implementations for common spaces cover a wide range of practical applications.

Summary updated

BibTeX
@article{utpala2023improved,
  author = {Saiteja Utpala and Andi Han and Pratik Jawanpuria and Bamdev Mishra},
  title = {{Improved Differentially Private Riemannian Optimization: Fast Sampling and Variance Reduction}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2023},
}
Figure