Differentially Private Adaptive Optimization with Delayed Preconditioners

Tian Li, Manzil Zaheer, Ken Ziyu Liu, Sashank J. Reddi, H. Brendan McMahan +1 more
12/1/2022
cs.LGcs.CR

Official code: kenziyuliu/DP2 (16 stars, Python, Apache-2.0, last commit 2022-12-14).

Abstract

Privacy noise may negate the benefits of using adaptive optimizers in differentially private model training. Prior works typically address this issue by using auxiliary information (e.g., public data) to boost the effectiveness of adaptive optimization.

Show full abstract

In this work, we explore techniques to estimate and efficiently adapt to gradient geometry in private adaptive optimization without auxiliary data. Motivated by the observation that adaptive methods can tolerate stale preconditioners, we propose differentially private adaptive training with delayed preconditioners (DP^2), a simple method that constructs delayed but less noisy preconditioners to better realize the benefits of adaptivity. Theoretically, we provide convergence guarantees for our method for both convex and non-convex problems, and analyze trade-offs between delay and privacy noise reduction. Empirically, we explore DP^2 across several real-world datasets, demonstrating that it can improve convergence speed by as much as 4x relative to non-adaptive baselines and match the performance of state-of-the-art optimization methods that require auxiliary data.

View on arXivView PDF

Code Implementations(1)

kenziyuliu/DP2Official100%
Apache-2.0

[ICLR 2023] Official JAX/Haiku implementation of the paper "Differentially Private Adaptive Optimization with Delayed Preconditioners"

160PythonDec 2, 20223 years agoApache-2.0
differential-privacymachine-learningoptimization-algorithms

Similar Papers

Cite this paper

@article{li2022differentially,
  title  = {Differentially Private Adaptive Optimization with Delayed Preconditioners},
  author = {Tian Li and Manzil Zaheer and Ken Ziyu Liu and Sashank J. Reddi and H. Brendan McMahan and Virginia Smith},
  year   = {2022},
  eprint = {2212.00309},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.00309}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2212.00309.svg)](https://codeofpaper.com/paper/2212.00309)

Discussion