Abstract
Modern machine learning often encounters objectives that are simultaneously nonconvex, nonsmooth, and subject to strict privacy constraints. Furthermore, in many black-box settings, direct gradient access is unavailable. This paper introduces the first zeroth-order algorithm for differentially private optimization that addresses these challenges. By integrating randomized smoothing with a variance-reduced gradient oracle and a tree-based privacy mechanism, the proposed method achieves an optimal complexity of $O(d\delta^{-1}\epsilon^{-3})$. Crucially, for sufficiently large privacy budgets, the algorithm achieves privacy "for free," matching the complexity of the best-known non-private zeroth-order methods.
Introduction
Optimization in deep learning frequently involves a "triple threat": nonconvexity of the loss landscape, nonsmoothness due to components like ReLU activations, and the necessity of Differential Privacy (DP) to protect sensitive training data. In scenarios such as reinforcement learning or hyperparameter tuning, practitioners often only have "zeroth-order" access—the ability to query function values without access to analytical gradients.
While previous research has addressed subsets of these challenges, this work provides a unified framework for private, zeroth-order, nonsmooth, and nonconvex optimization. The primary contribution is an algorithm that maintains optimal efficiency while providing robust privacy guarantees.
Methodology
The proposed approach synthesizes several advanced optimization frameworks to handle the complexities of the problem.
Online-to-Nonconvex Conversion (O2NC)
The core of the algorithm relies on the O2NC framework, which transforms an Online Convex Optimization (OCO) algorithm into a procedure for finding stationary points in nonconvex landscapes. This allows the researchers to leverage well-understood online learning techniques for the more difficult nonconvex setting.
Randomized Smoothing and Gradient Oracles
To handle nonsmoothness, the algorithm employs "randomized smoothing." By evaluating the objective function at points perturbed by uniform noise, it constructs a smooth approximation. The gradient of this approximation is then estimated using only function values.
A key innovation is the Variance-Reduced Gradient Oracle. Instead of a standard gradient estimate, the authors design a two-part oracle: one to estimate the gradient at a base point and another to estimate the difference between gradients at successive iterations. This design is critical for privacy because it reduces the "sensitivity" of the updates—the maximum change a single data point can cause—thereby requiring less noise to satisfy DP requirements.
Privacy via the Tree Mechanism
To maintain $(\epsilon, \delta)$-DP over many iterations, the algorithm uses the "tree mechanism" to release running sums of gradient estimates. This approach is significantly more noise-efficient than adding independent Gaussian noise at every step, which would lead to a much higher cumulative privacy cost.
Theoretical Results
The paper establishes that the algorithm finds a $(\delta, \epsilon)$-Goldstein stationary point—a robust notion of stationarity for nonsmooth functions—with a data complexity of: $$M = \tilde{\Omega}\left(\frac{d}{\delta\epsilon^3} + \frac{d^{3/2}}{\rho\delta\epsilon^2}\right)$$
Key Insights
- Privacy for Free: When the privacy parameter $\rho \ge \sqrt{d}\epsilon$, the complexity matches the state-of-the-art non-private rate ($d/\delta\epsilon^3$). This suggests that for many practical regimes, privacy does not impose a fundamental performance penalty in terms of sample complexity.
- Sensitivity Management: By focusing on gradient differences rather than absolute gradients, the authors minimize the sensitivity of the algorithm. A naive private implementation would be slower by a factor of $1/\epsilon$.
- Goldstein Stationarity: The use of Goldstein stationarity ensures that the algorithm finds regions where the function is "flat" in a distributional sense, which is more reliable than standard stationarity for nonsmooth objectives.
Discussion and Future Work
While the algorithm achieves optimal rates, it requires sampling $d$ i.i.d. random vectors per data point, which can be computationally intensive in high-dimensional settings. Reducing this to a single vector per point remains an open challenge. Additionally, while the upper bounds are optimal relative to existing non-private literature, establishing formal lower bounds for the private, nonsmooth, zeroth-order setting is a subject for future research. Finally, the authors note that the gap between zeroth-order and first-order private algorithms in the nonsmooth nonconvex regime remains an area for further exploration.
Summary updated