Manuscript Offprint

arXiv:2610.32175

Curvature-Aware Clipping: Mitigating Bias in DPSGD via Approximate Second-Order Information

Xincheng Xu, Thilina Ranbaduge, Thierry Rakotoarivelo, David Smith

Abstract

Differentially Private Stochastic Gradient Descent (DPSGD) has become the de facto standard for training deep neural networks with rigorous privacy guarantees. However, the utility of DPSGD is constrained by gradient clipping bias and DP noise. While existing work has tried to address these issues, the geometric misalignment caused by clipping bias remains a critical challenge. To bridge this gap, we propose a novel framework, Curvature-Aware Differentially Private Stochastic Gradient Descent (CA-DPSGD), which leverages approximate second-order information to construct an optimal, curvature-aware clipping space. CA-DPSGD integrates a rectified estimator for the curvature matrix and is coupled with an anisotropic noise mechanism to ensure privacy guarantees. Extensive empirical experiments demonstrate that our approach outperforms state-of-the-art clipping methods.

1. Introduction

Differentially Private Stochastic Gradient Descent (DPSGD) [1] is the most widely adopted optimization algorithm used for training deep models with Differential Privacy (DP). DPSGD enforces (ϵ,δ)(\epsilon, \delta)-DP through per-sample gradient clipping and calibrated Gaussian noise. However, DPSGD results in performance degradation compared to standard non-private training.

Different DPSGD variants have been proposed to mitigate these limitations, covering two main directions: (1) reducing DP noise variance from a temporal [36, 38] or geometric perspective [4, 34, 39], and (2) mitigating clipping bias through a temporal perspective [32, 37]. However, existing methods often suffer from complicated hyperparameter tuning, excessive computational and memory costs, and a lack of theoretical guarantees.

To bridge this gap, we propose Curvature-Aware Differentially Private Stochastic Gradient Descent (CA-DPSGD), a novel method that reduces clipping bias from a geometric perspective. We first derive the optimal clipping space to minimize clipping bias while maintaining the same amount of DP noise compared to vanilla DPSGD by solving an optimization problem. We construct the clipping space in each training iteration via a private approximation of the second-order moments of the gradients. Crucially, to reduce the effect of DP noise, we design a DP variance-reduced estimator to correct the DP noise contribution in a privatized batch-gradient second-moment, coupled

© X. Xu, T. Ranbaduge, T. Rakotoarivelo & D. Smith.

with an anisotropic noise injection mechanism to ensure DP guarantees. Our main contributions are summarized as follows:

• We formulate an optimization problem to characterize the clipping geometry under a bias–noise trade-off and derive the corresponding curvature-aware clipping spaces.

• We design a noise correction mechanism and an adaptive scaling factor to construct a scalable diagonal clipping geometry using only previously privatized gradients.

• We establish privacy and convergence guarantees, evaluate CA-DPSGD on image and sentence classification benchmarks, and demonstrate its compatibility with existing DPSGD variants.

References (37)

  • Deep learning with differential privacy (opens the publisher in a new tab)
  • Differentially private learning with adaptive clipping
  • Private adaptive gradient methods for convex optimization
  • Improving the gaussian mechanism for differential privacy: Analytical calibration and optimal denoising
  • Privacy amplification by subsampling: Tight analyses via couplings and divergences
  • DP-SGD without clipping: The lipschitz neural network way
  • Automatic clipping: Differentially private deep learning made easier and stronger
  • Differentially private deep learning with dynamic privacy budget allocation and adaptive optimization
  • A simple framework for contrastive learning of visual representations
  • Imagenet: A large-scale hierarchical image database
  • Our data, ourselves: Privacy via distributed noise generation
  • Foundations and Trends® in Theoretical Computer Science, 9(3–4):211–407, 2014
  • Faster differentially private convex optimization via second-order methods
  • Geoclip: Geometry-aware clipping for differentially private sgd (opens arXiv in a new tab)
  • Stochastic optimization with heavy-tailed noise via accelerated gradient clipping
  • Shampoo: Preconditioned stochastic tensor optimization
  • Adam: A Method for Stochastic Optimization
  • Learning multiple layers of features from tiny images
  • Communication efficient differentially private federated learning using second order information
  • Concentrated differentially private gradient descent with adaptive per-iteration privacy budget
  • RoBERTa: A Robustly Optimized BERT Pretraining Approach
  • Deep learning face attributes in the wild
  • Optimizing neural networks with kronecker-factored approximate curvature
  • Numerical optimization
  • On the importance of initialization and momentum in deep learning
  • Dp-adambc: Your dp-adam is actually dp-sgd (unless you apply bias correction)
  • Glue: A multi-task benchmark and analysis platform for natural language understanding (opens arXiv in a new tab)
  • Differentially private learning with per-sample adaptive clipping
  • Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithms
  • A theory to instruct differentially-private learning via clipping bias reduction
  • Adahessian: An adaptive second order optimizer for machine learning
  • Do not let privacy overbill utility: Gradient embedding perturbation for private learning
  • Adaptive methods for nonconvex optimization
  • DOPPLER: differentially private optimizers with low-pass filter for privacy noise reduction
  • Differentially private SGD without clipping bias: An error-feedback approach
  • Disk: Differentially private optimizer with simplified kalman filter for noise reduction
  • Bypassing the ambient dimension: Private SGD with gradient subspace identification