Bring Your Own Algorithm for Optimal Differentially Private Stochastic Minimax Optimization

Liang Zhang, Kiran Koshy Thekumparampil, Sewoong Oh, Niao He

Abstract

This paper introduces a flexible "Bring Your Own Algorithm" (BYOA) framework for solving differentially private stochastic minimax problems (like GANs or robust ML) with near-optimal privacy-utility trade-offs. By leveraging the inherent stability of empirical risk minimization, the authors provide the first algorithms that achieve these optimal guarantees in near-linear time, allowing researchers to use high-performance, off-the-shelf solvers as black boxes.

Introduction

In the world of private machine learning, Differential Privacy (DP) is the gold standard for ensuring that a model doesn't leak sensitive information about individual training samples. While efficient, linear-time private algorithms exist for standard minimization (Stochastic Convex Optimization or SCO), Stochastic Minimax Optimization (SMO)—used for training Generative Adversarial Networks (GANs) and adversarially robust models—has remained a significant computational bottleneck.

Prior private minimax algorithms were either computationally expensive (scaling super-linearly with the number of samples $n$, such as $O(n^{1.5})$ or $O(n^2)$) or required very specific, difficult-to-analyze stability properties for every new optimization algorithm used. The challenge was to find a way to achieve the "holy grail": an algorithm that is private, generalizes well (low population loss), and runs in linear time, all while being flexible enough to use modern, fast optimization techniques.

Methodology: The BYOA Framework

The authors propose a framework based on Phased Output Perturbation. Instead of adding noise to every single gradient step (which is common in DP-SGD but complicates analysis and slows down convergence), they treat the optimization process as a black box.

  1. Stability via ERM: They exploit a key mathematical insight: the optimal solution to a "strongly-convex-strongly-concave" empirical problem is inherently stable. If you change one data point, the solution doesn't move much.
  2. Black-Box Integration: Because the solution is stable, any base algorithm that gets "close enough" to that solution inherits that stability. This allows practitioners to "bring their own" fast, non-private algorithms (like SVRG, SARAH, or Katyusha) and use them as a black box.
  3. Phased Regularization: For general convex-concave problems (which aren't naturally stable), the framework uses a multi-phase approach. In each phase, it solves a regularized version of the problem on a subset of data, adds a specific amount of Gaussian noise to the output (Output Perturbation), and uses that as the starting point for the next phase.

Key Insights

  • Stability Inheritance: The most powerful idea here is that you don't need to prove your algorithm is stable if you can prove it converges to a stable problem's solution. This decouples the privacy analysis from the specific mechanics of the optimizer.
  • Sidestepping Sensitivity: Traditional DP often requires "bounded sensitivity" (gradients can't be too large). This framework sidesteps that requirement for the base algorithm, making it much easier to apply to complex, accelerated, or variance-reduced methods.
  • Smoothing for Free: The authors show that if a non-smooth problem can be reformulated as a smooth minimax problem (a common trick in optimization), their framework can solve it privately in near-linear time—a feat previously thought difficult for general non-smooth functions.

Results and Comparison

This theoretical research establishes convergence rates and computational complexity through rigorous mathematical proofs. The paper's results are summarized by the achievement of "near-optimal" utility with "near-linear" time complexity across different settings:

  • Convex-Concave (C-C) Setting: They achieve a population duality gap of approximately $\tilde{O}(\frac{1}{\sqrt{n}} + \frac{\sqrt{d}}{n\epsilon})$. Crucially, they do this with $\tilde{O}(n)$ gradient computations, matching the best possible theoretical rates in the most efficient time possible.
  • Strongly-Convex-Strongly-Concave (SC-SC) Setting: They achieve near-optimal utility with a complexity of $\tilde{O}(n + \sqrt{n\kappa})$, where $\kappa$ is the condition number.
Comparison of utility and complexity for differentially private stochastic minimax optimization.

As shown in the table above, the proposed algorithms (Thm. 4.4 and Thm. 4.8) outperform previous state-of-the-art algorithms like DP-SGDA or NISPP, which required $O(n^{1.5})$ or $O(n^2)$ time to reach the same level of accuracy.

Limitations and Future Work

While the framework marks a significant advance, some challenges remain. The "near-linear" and "near-optimal" labels stem from extra logarithmic terms ($\log n$) in the complexity and utility bounds, which future work could aim to prune. Additionally, the current framework relies on the objective function being "smooth" (having Lipschitz continuous gradients). While some non-smooth problems can be handled via minimax reformulation, a direct "BYOA" framework for general non-smooth DP-SCO remains an open challenge. Finally, like many phased algorithms, performance likely depends on careful tuning of the regularization schedule and noise scales across phases.

Summary updated

BibTeX
@inproceedings{zhang2022bring,
  author = {Liang Zhang and Kiran Koshy Thekumparampil and Sewoong Oh and Niao He},
  title = {{Bring Your Own Algorithm for Optimal Differentially Private Stochastic Minimax Optimization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=fRbvozXEGTb},
}
Figure