On the Gradient Complexity of Private Optimization with Private Oracles

Michael Menart, Aleksandar Nikolov

TL;DR

This paper proves that ensuring Differential Privacy (DP) in machine learning doesn't just cost you accuracy—it costs you time. The authors establish the first theoretical lower bounds on "gradient complexity," showing that private optimizers must perform significantly more work (oracle queries) than their non-private counterparts, with a runtime penalty that scales with the dimensionality of the problem.

What Problem Does This Paper Address?

In the world of machine learning, we often talk about the "utility-privacy trade-off": if you want more privacy, your model's accuracy (utility) usually drops. However, researchers have long suspected there is also a runtime-privacy trade-off. While we have many fast algorithms for standard optimization, private versions of these algorithms (like DP-SGD) often feel sluggish or require many more iterations to converge.

Until now, we lacked a formal mathematical proof that this slowness is mandatory. This paper asks: Is the extra time spent by private optimizers a result of inefficient algorithm design, or is it a fundamental requirement of privacy itself? The authors focus on "gradient complexity"—the number of times an algorithm must ask for the gradient of a function to find its minimum.

Methods

The authors introduce a formal framework called the Private Proxy Oracle model. In this setup:

  1. The optimizer doesn't see raw data.
  2. It sends a "minibatch" of queries to a proxy.
  3. The proxy computes the gradients but only sends back a differentially private message about them.

To prove their lower bounds (the "speed limits" of optimization), the authors combine two classic mathematical strategies:

  • Vector Discovery: They construct "hard" functions where the optimizer must "discover" several hidden directions (vectors) to find the minimum.
  • Information Theory: They use tools like mutual information and Fano’s Inequality to track exactly how much "knowledge" the optimizer gains from each private message. They prove that because the messages are noisy (private), the optimizer learns about the hidden directions much more slowly than it would in a non-private setting.

Datasets

As a theoretical paper, this work does not use real-world datasets. Instead, it uses synthetic hard problem instances. These are mathematically constructed loss functions (based on the "Nemirovski function") designed to be as difficult as possible for any algorithm to solve. These constructions serve as the "worst-case scenario" to prove that no algorithm can beat the established lower bounds.

Key Insights and Ideas

  • The Dimension Penalty: In non-private optimization, the time to solve a problem often doesn't depend heavily on the number of dimensions ($d$). This paper shows that for private optimization, the runtime must scale with $d$. Essentially, privacy "hides" the landscape of the function, and in high dimensions, there are more places for the minimum to hide.
  • Small Batches Hurt More: The paper quantifies how small minibatch sizes significantly degrade the performance of private learners. While small batches are a choice in standard ML, in private ML, they become a bottleneck that forces the algorithm to run much longer.
  • Quantization Limits: The authors extended their proof to "information-limited" oracles. They showed that if you compress your gradients too much (quantization) to save communication costs, you hit a similar fundamental wall in how fast the algorithm can converge.

Key Results

  • Non-Smooth Lower Bound: For non-smooth functions, the authors show a complexity of $\Omega(\min\{\frac{\sqrt{d}}{\alpha^2}, \frac{d}{\log(1/\alpha)}\})$ queries to achieve an error of $\alpha$. This nearly matches the performance of the widely used DP-SGD algorithm, suggesting DP-SGD is close to optimal in terms of speed.
  • Smooth Lower Bound: For smooth functions, they prove a lower bound of $\Omega(\frac{\sqrt{d}}{\alpha\sqrt{\log(1/\delta)}})$. This shows that even when the function is "well-behaved," privacy still imposes a dimension-dependent slowdown.
  • Optimality of DP-SGD: The results suggest that for many high-dimensional problems, the standard DP-SGD algorithm is essentially as fast as any private algorithm can possibly be.

Limitations and Future Work

  • Convexity Assumption: The bounds are proven for convex functions. While many ML problems are non-convex (like deep learning), lower bounds for convex problems often provide a "best-case" baseline for more complex settings.
  • Oracle Specifics: The tightest results rely on the "Private Proxy Oracle" model. While this covers most practical DP algorithms, there might be exotic, non-oracle-based algorithms that could theoretically behave differently.
  • Closing the Gap: For certain ranges of dimension $d$, there is still a small gap between the lower bounds proven here and the best-known upper bounds (the speed of existing algorithms). Future work could aim to close these remaining mathematical gaps.

Summary updated

BibTeX
@inproceedings{menart2026gradient,
  author = {Michael Menart and Aleksandar Nikolov},
  title = {{On the Gradient Complexity of Private Optimization with Private Oracles}},
  booktitle = {Conference on Learning Theory},
  year = {2026},
}
Figure