Papers › Differentially Private Adaptive Optimization with Delayed Preconditioners

Differentially Private Adaptive Optimization with Delayed Preconditioners

1 Dec 2022arXiv:2212.00309archive 2025-07-28

Tian Li, Manzil Zaheer, Ken Ziyu Liu, Sashank J. Reddi, H. Brendan McMahan, Virginia Smith

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. 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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2212.00309")

Code

Syntology Ran 23 of 31 code samples harvested from 1 repository linked to this paper; 8 have no recorded run. Of those that ran: 4 ran · honoured contract; 17 ran · our draft was wrong; 2 ran · fixture could not drive it.

By repository: official repository: 31 samples from 1 repository, 23 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

kenziyuliu/dp2 officialmentioned in papermentioned on GitHubjaxApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

31 samples harvested; 23 ran; 4 honoured the contract we drafted; 8 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

4ran · honoured contract
17ran · our draft was wrong
2ran · fixture could not drive it
8unverified

Licence: 0 of the 31 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from kenziyuliu/dp2. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

_config_tf_loader kenziyuliu/dp2/trainers/dp2_adagrad.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 57022752f9995f59 · report
_create_tf_loader kenziyuliu/dp2/trainers/dp2_adagrad.py official repository ran · fixture could not drive it Apache-2.0 (permissive) · 5d8c2870379d3384 · report
_load_movielens_100k kenziyuliu/dp2/trainers/dp2_adagrad.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 09495c898e5d8e94 · report
bce_loss kenziyuliu/dp2/trainers/dp2_adagrad.py official repository ran · honoured contract Apache-2.0 (permissive) · b3407cf1906789ea · report
global_l2_clip kenziyuliu/dp2/trainers/dp2_adagrad.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 735e56344d7303e1 · report
global_l2_norm_sq kenziyuliu/dp2/trainers/dp2_adagrad.py official repository ran · honoured contract Apache-2.0 (permissive) · bbd8d1efcf5829de · report
logreg_classify kenziyuliu/dp2/trainers/dp2_adagrad.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 26f3490ca9bbe47e · report
movielens_loader kenziyuliu/dp2/trainers/dp2_adagrad.py official repository ran · our draft was wrong Apache-2.0 (permissive) · c3b75484cf237418 · report
mse_loss kenziyuliu/dp2/trainers/dp2_adagrad.py official repository ran · fixture could not drive it Apache-2.0 (permissive) · f320dea1d5541ada · report
num_params kenziyuliu/dp2/trainers/dp2_adagrad.py official repository ran · honoured contract Apache-2.0 (permissive) · af4f5b33931d44c0 · report
privatize_grad kenziyuliu/dp2/trainers/dp2_adagrad.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 591c9ea59777949b · report
stackoverflow_tag_loader kenziyuliu/dp2/trainers/dp2_adagrad.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 19770acf0fa0aa44 · report
stackoverflow_tag_loader_cached kenziyuliu/dp2/trainers/dp2_adagrad.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 919aea51fdf26b6d · report
struct_add kenziyuliu/dp2/trainers/dp2_adagrad.py official repository ran · our draft was wrong Apache-2.0 (permissive) · cca3cf0b80500ec6 · report
struct_add_scalar kenziyuliu/dp2/trainers/dp2_adagrad.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 34bf4ad4230cf55d · report
struct_div kenziyuliu/dp2/trainers/dp2_adagrad.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 7d340e00912389f7 · report
struct_div_scalar kenziyuliu/dp2/trainers/dp2_adagrad.py official repository ran · our draft was wrong Apache-2.0 (permissive) · e488dedf8e381c96 · report
struct_flatten kenziyuliu/dp2/trainers/dp2_adagrad.py official repository ran · honoured contract Apache-2.0 (permissive) · 155ccee594f8679d · report
struct_mul_scalar kenziyuliu/dp2/trainers/dp2_adagrad.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 6050b70841d335c1 · report
struct_sq kenziyuliu/dp2/trainers/dp2_adagrad.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 145eda8014bfd82a · report
struct_sqrt kenziyuliu/dp2/trainers/dp2_adagrad.py official repository ran · our draft was wrong Apache-2.0 (permissive) · ebb3869ec1266c1e · report
struct_sub kenziyuliu/dp2/trainers/dp2_adagrad.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 0bf286afd514640c · report
struct_zeros_like kenziyuliu/dp2/trainers/dp2_adagrad.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 06cd2aedfcb73bb6 · report
BaseTrainer kenziyuliu/dp2/trainers/dp2_adagrad.py official repository unverified Apache-2.0 (permissive) · dca6afaa2e23a3be · report
Trainer kenziyuliu/dp2/trainers/dp2_adagrad.py official repository unverified Apache-2.0 (permissive) · 458f345611469a88 · report
imdb_loader kenziyuliu/dp2/trainers/dp2_adagrad.py official repository unverified Apache-2.0 (permissive) · f4a878bc9479f4bc · report
linear_model_fn kenziyuliu/dp2/trainers/dp2_adagrad.py official repository unverified Apache-2.0 (permissive) · 29b863abc869ce7a · report
matfac_model_fn kenziyuliu/dp2/trainers/dp2_adagrad.py official repository unverified Apache-2.0 (permissive) · 32b7bb707740780e · report
multiclass_classify kenziyuliu/dp2/trainers/dp2_adagrad.py official repository unverified Apache-2.0 (permissive) · aeca8b544abd9191 · report
print_log kenziyuliu/dp2/trainers/dp2_adagrad.py official repository unverified Apache-2.0 (permissive) · defe6270f77abbbd · report
sce_loss kenziyuliu/dp2/trainers/dp2_adagrad.py official repository unverified Apache-2.0 (permissive) · 1d3f9fc33b06bb7f · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

SPEED

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections