When to spend privacy: optimal allocation in private learning
Abstract
Privacy accounting bounds the cumulative privacy cost of Differentially Private Stochastic Gradient Descent but does not determine how to allocate a fixed budget across iterations. We formulate the complete Gaussian noise-variance schedule as an open-loop control under a composed zero-Concentrated Differential Privacy constraint, explicitly accounting for schedule selection. For expected quadratic terminal tracking, we prove that every local minimizer exhausts the certified budget, yielding an exact-budget simplex formulation. We introduce Privacy-Budget Adjoint Mirror Descent (PB-AMD), combining pathwise adjoint gradients with entropic updates that preserve positivity, charge floors, and the prescribed budget. Under regularity and coercivity assumptions, we establish existence and budget stability of optimal schedules, design-to-training utility stability, and deterministic, stochastic, and sample-average stationarity guarantees. A linear-quadratic reduction yields an explicit square-root allocation law. Experiments demonstrate tracking improvements over several allocation rules and predictive improvements over uniform allocation in a learning-rate restart setting, where learning-rate allocation performs similarly. Comparisons at a common stationarity tolerance show lower schedule-optimization times than projected gradient descent on the tested problems. The framework connects certified privacy accounting with optimization through nonlinear training dynamics.
Figures & tables
| Approach | Temporal allocation | Joint schedule optimization | Terminal criterion | Privacy-valid selection | Schedule construction |
| [ 24 ] | Yes | No | No | Yes | Adaptive private line search |
| [ 19 ] | Yes | Yes | Upper bound | – | Analytical minimization of a utility bound |
| [ 10 ] | Yes | No | No | – | Prescribed clipping and noise schedules |
| [ 34 ] | Indirect | No | Validation | Yes | A priori privacy-utility parameter selection |
| Present work | Yes | Yes | Expected terminal loss | Yes | Terminal-loss optimization through nonlinear dynamics with exact-budget updates |
| Notation | Meaning |
| , | and , respectively, with |
| , | indices in and taken in reverse order, i.e., and |
| , , | , and norms on , respectively, with |
| , | Euclidean inner product and induced operator norm |
| identity matrix |
| Assumptions | Main role | Main results requiring them |
| (A1) - (A2) | Basic stochastic dynamics and moment control | Continuity of , basic control formulation Theorems 3.2 , 3.8 ; Propositions 3.4 , B.3 , B.5 |
| (A3) | Integrability and continuity of the terminal objective | |
| (A4) - (A5) | Coercivity and compactness of minimizing sequences | Existence and compactness of minimizers Proposition B.5 ; Theorems 3.8 , 3.9 |
| (A6) | First-order sensitivity analysis | Adjoint gradient, KKT conditions, privacy-charge gradient Propositions 3.4 , 3.7 , Theorem 3.5 , Corollary 3.6 |
| (A7) | Second-order regularity for optimization | Smoothness estimates needed for PB-AMD convergence Proposition C.1 |
| Task | Model and initialization | Parameters trained and perturbed | Learning rate |
| Tabular | Regularized logistic regression on generated data with correlated features and nonlinear feature interactions in the data-generating model | All model parameters | Constant |
| Fashion-constant | Softplus classifier on Fashion-MNIST, initialized randomly | All network parameters | Constant |
| Fashion-restart | Softplus classifier on Fashion-MNIST, pretrained on public data | All network parameters | Increased at a prescribed restart |
| Nonlinear head | Randomly initialized Softplus classifier applied to features from an extractor pretrained on public Fashion-MNIST data | Classification head only; the extractor is frozen | Constant |
| Rule | Allocation principle |
| Uniform | Assigns , providing the reference for assessing redistribution |
| Learning-rate allocation (LR) | Uses weights , isolating learning-rate scaling from subsequent training dynamics |
| Decay | Combines learning-rate scaling with subsequent regularization shrinkage alone |
| Linearized | Uses with from ( 4.13 ), , and Jacobians evaluated along the public-design No-noise reference |
| Geometric | Uses , with selected by mean tracking error on public-design data |
| Comparator | Error reduction [95% CI] | Wins | Error reduction [95% CI] | Wins |
| LR | ||||
| Decay | ||||
| Linearized | ||||
| Geometric | ||||
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Task | Parameters | Learning rate | ||||
| Tabular | 64 | 60 | 256 | |||
| Fashion-constant | 6634 | 45 | 192 | |||
| Fashion-restart | 6634 | 45 | 192 | |||
| Nonlinear head | 86 | 120 | 384 |
| Task | Optimization | Public validation | Private evaluation |
| Tabular | 256 | 512 | 512 |
| Fashion-constant/restart | 8 | 48 | 256 |
| Nonlinear head | 128 | 256 | 512 |
| Task | PB-AMD step | Minimum/fixed updates | PGD stepsize grid |
| Tabular | |||
| Fashion-constant | |||
| Fashion-restart |
| 1 | 3 | 10 | 100 | 1000 | 10000 | |
| Tabular Adam stepsize | ||||||
| Full-network/head Adam stepsize |
| Check | Value | Scope |
| Maximum fixed-path KKT residual | returned schedules | |
| Maximum budget error after mirror updates | PB-AMD runs | |
| Relative objective gap to water-filling | One LQ instance |
Differentially Private Stochastic Gradient Descent
Differentially private stochastic gradient descent (DP-SGD) protects training data by clipping per-example gradients, adding calibrated noise, and accounting for privacy loss.
See all 53 papers