Introduction
The fine-tuning of Large Language Models (LLMs) presents a significant challenge at the intersection of computational efficiency and data privacy. While traditional gradient-based optimization requires substantial memory to store activation maps for backpropagation, Zeroth-Order (ZO) optimization has emerged as a compelling alternative. By estimating gradients through function evaluations alone, ZO methods significantly reduce the memory footprint of training.
A provocative question has recently circulated in the research community: does the stochastic nature of ZO estimators—which rely on random perturbations to probe the objective function—provide "built-in" Differential Privacy (DP)? If true, practitioners could achieve privacy "for free" without the utility degradation typically associated with explicit noise injection. This paper provides a rigorous mathematical rebuttal to this hypothesis, proving that inherent ZO noise is fundamentally insufficient to meet formal privacy standards.
The Mechanics of Zeroth-Order Estimators
ZO optimization approximates the gradient of a function $f(x)$ by evaluating it at one or more points perturbed by a random vector. Common estimators include the Simultaneous Perturbation Stochastic Approximation (SPSA) and various finite-difference methods. Because these estimators are inherently random, they bear a superficial resemblance to the Gaussian mechanism used in DP-SGD.
The authors categorize these estimators into two primary classes:
- Zero-Preserving Oracles: These estimators return a zero vector whenever the true gradient is zero.
- Anti-Concentrated (AC) Oracles: These estimators, often involving two-point evaluations, tend to produce outputs that are bounded away from zero, effectively pushing the model state in a way that can be highly sensitive to the underlying data.
The Privacy Gap: Key Theoretical Findings
The core of the paper lies in its lower-bound constructions, which demonstrate that for any ZO-based algorithm lacking explicit additive noise, there exists a "worst-case" scenario where privacy is catastrophically compromised.
The Zero-Preserving Trap
Theorem 3.3 addresses the most common ZO estimators. The authors prove that any zero-preserving oracle fails to satisfy $(\epsilon, \delta)$-differential privacy for any finite $\epsilon$ if $\delta < 1$. The intuition is straightforward: if an attacker observes a zero gradient, they can infer with high certainty that the function landscape is flat at that point. If changing a single data point makes the landscape non-flat, the estimator will suddenly produce a non-zero value, creating a clear signal that reveals the presence or absence of a specific individual's data.
Initialization and Iteration
The research further explores whether random initialization or hiding intermediate steps can mitigate these leaks.
- Fixed Initialization (Theorem 4.1): The authors show that even a single step of ZO Gradient Descent (ZO-GD) on specific convex functions can be non-private if the starting point is fixed.
- Random Initialization (Theorem 4.5): While starting at a random point introduces some initial uncertainty, the privacy loss $\epsilon$ scales superlinearly with the number of iterations $T$. Specifically, to maintain a fixed $\delta$, the privacy budget $\epsilon$ must grow at a rate proportional to $T^{4/3}$. This suggests that any "inherent" privacy quickly evaporates as the training process continues.
Settling the Open Problem
This work directly addresses an open question posed in recent literature regarding the privacy-preserving properties of ZO methods. By providing formal lower bounds, the authors confirm that explicit additive noise—such as the Gaussian mechanism—is a strict requirement for achieving robust Differential Privacy. The "natural" randomness of the ZO estimator is simply not structured correctly to mask the influence of individual data points across the optimization trajectory.
Conclusion and Future Directions
While the findings are a "negative" result for those hoping for free privacy, they provide essential clarity for the design of future private optimizers. The analysis currently focuses on Projected ZO-GD within convex and strongly convex settings. While LLM landscapes are notoriously non-convex, the failure of privacy in these simpler regimes strongly suggests that inherent privacy is even less likely to hold in complex, high-dimensional non-convex spaces.
Future research may explore "privacy amplification": determining if the inherent noise of ZO methods, while insufficient on its own, can reduce the amount of explicit noise required to reach a target privacy level. Such a hybrid approach could potentially lead to more efficient and accurate private training algorithms.
Summary updated