atlas

Research map / Federated learning and privacy / Differential privacy

DP-AdamBC: Your DP-Adam Is Actually DP-SGD (Unless You Apply Bias Correction)

AAAI 2024 · Federated learning and privacy › Differential privacy · approach: DP-SGD refinements · 12 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Shows that DP noise biases Adam's second-moment estimate so DP-Adam behaves like DP-SGD with momentum, and proposes DP-AdamBC, which subtracts the known noise bias (sigma C/B)^2 from the second moment to recover Adam-like behavior.

Problem

DP-Adam often underperforms under differential privacy, especially on vision and some NLP tasks, because DP noise adds a constant bias to Adam's second-moment estimate, breaking its sign-descent-like behavior.

Approach

Analytically show the DP noise adds a known constant bias Phi=(sigma C/B)^2 to the second moment; under typical DP parameters DP-Adam reduces to DP-SGD with momentum with a decaying learning rate. DP-AdamBC removes this known bias from the second-moment estimate (with a max-floor stability constant) at no extra privacy cost as it is post-processing of the privatized gradients.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Subtract the DP-noise bias from Adam's second-moment estimateDP-Adam · SNLI, ε ≈ 7accuracy: 52.63% to 56.08% ($3.5$ percentage points)Helped
Subtract the DP-noise bias from Adam's second-moment estimateDP-Adam · QNLI, ε ≈ 7accuracy: 61.23% to 62.83% ($1.6$ percentage points)Helped
Subtract the DP-noise bias from Adam's second-moment estimateDP-Adam · CIFAR10, ε ≈ 7accuracy: 62.24% vs 63.43%No clear effect
Subtract the DP-noise bias from Adam's second-moment estimateDP-Adam · ogbn-arxiv, ε ≈ 3 and ε ≈ 6accuracy: 4 percentage point at ε=3, and 1.5 at ε=6Helped
Subtract the DP-noise bias from Adam's second-moment estimateDP-Adam · ogbn-arxiv, ε ≈ 12accuracy: 54.02 vs 53.81No clear effect
Add a larger constant bias to the denominator (ablation)Clipping-only DP-Adam on SNLI · SNLItest accuracyHurt
Subtract an incorrect noise-bias value, either Φ'=1e-7 or Φ'=1e-9 instead of the true Φ (ablation)DP-AdamBC on SNLI · SNLIperformance: Φ=2.4e-8; Φ'=1e-7; Φ'=1e-9Hurt
Vary the numerical stability constant γ' (ablation)DP-AdamBC · SNLIaccuracyMixed
Tune γ in place of correcting for the DP-noise bias (ablation)DP-Adam · SNLIaccuracyHurt
Set the moving-average coefficients too small (ablation)DP-Adam · SNLIperformanceHurt
Set the moving-average coefficients larger (ablation)DP-Adam · SNLIfinal performanceNo clear effect
Increase the constant denominator bias (ablation)Clipping-only Adam on SNLI · SNLItraining loss: mean squared difference of 0.015Mixed

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR10 SNLI QNLI ogbn-arxiv

Benchmarks: CIFAR10 SNLI QNLI ogbn-arxiv

Metrics: test accuracy

Baselines: DP-SGD DP-Adam DP2-RMSProp

Builds on: Adam DP-SGD sign descent hypothesis DP2

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy