On the Convergence of DP-SGD with Adaptive Clipping
Egor Shulgin, Peter Richtárik
TL;DR
The paper addresses the sensitivity of DP-SGD to the clipping threshold by introducing SGD with Quantile Clipping (QC-SGD), which uses a $p$-quantile based threshold $\tau(x)$ to clip gradients. It provides a rigorous convergence analysis under $L$-smoothness and heavy-tailed noise, revealing a clipping-induced bias analogous to fixed clipping and showing that a time-varying schedule for both the quantile and the stepsize can eliminate this bias and ensure convergence to a stationary point. The authors extend the result to a Differential Privacy setting (DP-QC-SGD), deriving DP-aware convergence guarantees that incorporate the effective noise scale $\mathfrak{S}=1/B+\sigma_{\mathrm{DP}}^2$, and discuss the trade-offs with privacy-utility and mini-batching. Overall, the work establishes a theoretical foundation for adaptive clipping techniques, provides practical guidelines for parameter selection, and outlines future directions for robust/private adaptive clipping.
Abstract
Stochastic Gradient Descent (SGD) with gradient clipping is a powerful technique for enabling differentially private optimization. Although prior works extensively investigated clipping with a constant threshold, private training remains highly sensitive to threshold selection, which can be expensive or even infeasible to tune. This sensitivity motivates the development of adaptive approaches, such as quantile clipping, which have demonstrated empirical success but lack a solid theoretical understanding. This paper provides the first comprehensive convergence analysis of SGD with quantile clipping (QC-SGD). We demonstrate that QC-SGD suffers from a bias problem similar to constant-threshold clipped SGD but show how this can be mitigated through a carefully designed quantile and step size schedule. Our analysis reveals crucial relationships between quantile selection, step size, and convergence behavior, providing practical guidelines for parameter selection. We extend these results to differentially private optimization, establishing the first theoretical guarantees for DP-QC-SGD. Our findings provide theoretical foundations for widely used adaptive clipping heuristic and highlight open avenues for future research.
