Manuscript Offprint

arXiv:2610.39954

When to spend privacy: optimal allocation in private learning

Umberto Biccari, Yongcun Song

UMBERTO BICCARI ∗^{*} AND YONGCUN SONG †\dagger

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.

1. INTRODUCTION

Differential Privacy (DP) provides a principled framework for limiting the dependence of a randomized algorithm on any individual data record [11]. In stochastic optimization, Differentially Private-Stochastic Gradient Descent (DP-SGD) implements this principle by combining gradient clipping with calibrated Gaussian perturbations [1]. Nevertheless, since training involves repeated accesses to the private dataset, each noisy gradient update contributes to the overall privacy loss of the algorithm. A central question in DP-SGD is therefore how to quantify the cumulative privacy cost of the entire sequence of updates and ensure that it remains within a prescribed privacy budget.

Several accounting frameworks have been developed for this purpose, including zero-concentrated DP (zCDP) and Rényi DP, which provide convenient composition rules for tracking privacy loss across iterations [9,16,28,35][9, 16, 28, 35]. Such accounting determines how much privacy expenditure is admissible over the entire training procedure, but it does not determine how this expenditure should be distributed. This leads to the central question of this paper:

given a fixed total zCDP budget, how should the Gaussian noise be allocated across the iterations of DP-SGD so as to optimize terminal utility?

Different allocations with the same composed privacy charge need not have the same effect on the final model, since a perturbation introduced at one iteration is propagated through all subsequent optimization steps. The problem is therefore inherently dynamical: the DP-SGD iterates form the state, the sequence of Gaussian noise variances can be interpreted as controls, the expected terminal loss is the performance criterion, and the composed privacy charge acts as a finite resource.

We develop this viewpoint as a finite-horizon stochastic control problem over the complete noise-variance schedule. For the quadratic terminal tracking objective that constitutes the principal setting of the paper, we show that every locally optimal schedule exhausts the available certified privacy charge. Introducing

Key words and phrases. Differential Privacy, privacy-budget allocation, stochastic optimal control, adjoint methods, mirror descent.

This project has received funding from the European Research Council (ERC) under the European Union's Horizon 2030 research and innovation programme (grant agreement NO: 101096251-CoDeFeL). UB was partially supported by the Basque Government through the consolidated research group "CMRG-Computational Mathematics Research Group" under Grant IT1856-26, by the Grant PID2023-146872OB-I00-DyCMaMod of MICIU (Spain), and by the COST Actions CA24122-Multiscale Stochastics, Patterns, and Analysis of Combinatorial Environments and CA24136-Interactions between Control Theory and Machine Learning. YS was supported by the NTU Start-Up Grant.

the per-step zCDP charges as decision variables then transforms the saturated resource constraint into an exact-budget simplex. This structure leads to

• an adjoint characterization of the sensitivity of terminal utility to privacy allocation;

• a corresponding Karush-Kuhn-Tucker (KKT) optimality system;

  • and a feasibility-preserving optimization method, Privacy-Budget Adjoint Mirror Descent (PB-AMD), whose iterates remain on the prescribed privacy-budget simplex.

The precise meaning of the terminal tracking objective and the privacy-valid information structure under which the schedule may be designed are clarified next.

1.1. Problem formulation and scope. To turn the temporal allocation question above into a well-defined optimization problem, two ingredients must be specified. First, one needs a criterion for comparing admissible privacy schedules, that is, a quantitative measure of how the distribution of noise across iterations affects the final outcome of training. Second, one must specify what information may be used to construct the schedule without introducing an additional, unaccounted privacy cost. These two choices determine, respectively, the objective of the control problem and the information structure under which the resulting schedule is privacy valid.

For the first point, we describe the evolution of the model parameters during training by a sequence {θt}t=0T\{\theta_t\}_{t=0}^T, where θt∈Rd\theta_t \in \mathbb{R}^d denotes the parameter vector at iteration tt. At the level relevant for the control formulation, the DP-SGD dynamics are written as

θt+1=θt−ηtgt(θt)−ηtΔtbutξt,ξt∼N(0,Id),for all t∈[T]0,\theta_{t+1}=\theta_{t}-\eta_{t}g_{t}(\theta_{t})-\eta_{t}\Delta_{t}^{b}\sqrt{u_{t}}\xi_{t},\quad\xi_{t}\sim\mathcal{N}(0,I_{d}),\quad\mathrm{f o r~a l l~}t\in[T]_{0},

where gt:Rd→Rdg_t : \mathbb{R}^d \to \mathbb{R}^d is the gradient map of a fixed design model, ηt>0\eta_t > 0 is the step size, and ut>0u_t > 0 determines the variance of the Gaussian perturbation at iteration tt. Here, we have introduced the notation [T]0={0,…,T−1}[T]_0 = \{0, \ldots, T - 1\}, that will be adopted throughout the entire paper. The factor Δtb\Delta_t^b is the deterministic scale used to calibrate this perturbation; its precise relation to the privacy mechanism is specified in Section 2.2. The complete variance schedule

u=(u0,…,uT−1)u=(u_{0},\ldots,u_{T-1})

is the quantity to be optimized and plays the role of the control. Removing the Gaussian perturbations gives the corresponding noiseless reference dynamics

θˉt+1=θˉt−ηtgt(θˉt),t∈[T]0.\bar{\theta}_{t+1}=\bar{\theta}_{t}-\eta_{t}g_{t}(\bar{\theta}_{t}),\quad t\in[T]_{0}.

The principal criterion used in this paper to compare privacy schedules is the expected squared deviation of the noisy terminal parameter vector from this reference,

J(u)=E[∥θT(u)−θˉT∥2].(1.1)J(u)=\mathbb{E}\Big[\|\theta_{T}(u)-\bar{\theta}_{T}\|^{2}\Big]. \tag{1.1}

We refer to this criterion as the terminal tracking objective. It measures how strongly the accumulated privacy perturbations displace the final model from the terminal state that would be produced by the same design dynamics in the absence of privacy noise. In this way, the effect of the entire temporal noise allocation is summarized through its impact on the final state. The control formulation developed below also accommodates more general terminal losses, but quadratic tracking is the principal objective considered in this work and the setting in which we establish the budget-saturation property underlying the exact-budget formulation.

The terminal tracking objective (1.1) should be interpreted as a surrogate for practical learning utility. In general, minimizing the distance to the noiseless terminal state is not equivalent to minimizing empirical or test loss, nor to maximizing predictive accuracy. Its relevance therefore depends on how well the design dynamics approximate the target training dynamics and on whether parameter-space proximity is informative for the downstream learning task. We quantify in Section 3 how discrepancies between the design and target dynamics affect the terminal objective and the suboptimality of schedules optimized on the design model.

A separate issue concerns the information used to optimize the privacy schedule. Throughout the paper, the complete schedule is determined before private training begins and is subsequently kept fixed. When it is constructed from information independent of the sensitive training dataset, its optimization incurs no additional privacy cost. If private information is used instead to select the design model or the schedule, the corresponding selection procedure must itself be differentially private and its privacy cost included in the overall accounting. Section 2 formalizes these two cases and establishes the corresponding privacy guarantees.

1.2. Related work and positioning. We position the present work with respect to three closely related strands of literature: temporal privacy allocation in private learning, optimal-control formulations of learning dynamics, and numerical methods for constrained stochastic optimization.

1.2.1. Temporal privacy allocation. Existing temporal allocation strategies include private line-search adaptation of per-step zCDP budgets [24] and dynamic schedules minimizing a terminal-utility bound that accounts for noise propagation [19]. Other methods jointly vary clipping thresholds and noise levels [10] or combine dynamic budget allocation with layerwise gradient importance [25]. Related approaches address adaptive clipping [2, 8], learning-rate adaptation [23], a priori selection of global DP-SGD hyperparameters [34], and allocation across federated-learning rounds and clients [21]. Model-based protectors can also be learned from non-private tasks [18].

Our focus is the joint allocation of a fixed privacy budget to minimize the expected squared deviation of the final model from its noiseless counterpart under nonlinear training dynamics. We optimize this objective directly over the complete variance schedule, rather than through a prescribed schedule family or an analytical utility bound. Schedule design uses either information independent of the sensitive dataset or a private selector whose cost is included in composition.

Table 1 summarizes the relevant distinctions: temporal variation, joint optimization of the complete schedule, treatment of terminal performance, privacy accounting for schedule selection, and use of the training dynamics in optimization.

ApproachTemporal allocationJoint schedule optimizationTerminal criterionPrivacy-valid selectionSchedule construction
[24]YesNoNoYesAdaptive private line search
[19]YesYesUpper bound-Analytical minimization of a utility bound
[10]YesNoNo-Prescribed clipping and noise schedules
[34]IndirectNoValidationYesA priori privacy-utility parameter selection
Present workYesYesExpected terminal lossYesTerminal-loss optimization through nonlinear dynamics with exact-budget updates

TABLE 1. Comparison with representative approaches to temporal privacy allocation.

1.2.2. Optimal control perspective. Residual and continuous-depth neural networks have been interpreted as controlled dynamical systems, leading to Pontryagin-type optimality conditions and structure-preserving numerical methods [5, 13, 26]; classical discrete-time stochastic control provides the underlying state-control-cost framework [6]. In private learning, [37] estimate the communication rounds needed to reach a target loss and use this estimate to adjust Gaussian noise in federated learning, while RLDP learns a feedback policy for adjusting clipping and noise during private fine-tuning [20].

The control perspective provides a characterization of the sensitivities governing this allocation problem. A pathwise adjoint propagates terminal-loss sensitivities backward through the noisy training trajectory, accounting for how subsequent nonlinear updates transform each perturbation. Combined with the privacy constraint, these sensitivities yield first-order optimality conditions that balance the marginal value of privacy expenditure across iterations and supply the gradient used by the allocation algorithm.

1.2.3. Optimization methodology. Numerical allocation requires terminal sensitivities for the full schedule and updates that respect positivity and the reciprocal privacy constraint. Quadratic penalties introduce a tunable parameter and do not guarantee feasibility at finite parameter values [31]. Alternatively, projected gradient descent in privacy-charge coordinates can use the same adjoint sensitivities and preserve feasibility through Euclidean projection of additive steps.

When privacy charges differ substantially across iterations, however, its additive Euclidean steps suffer from scale sensitivity: a fixed absolute charge change corresponds to a larger relative change in noise variance at a smaller charge. To address this scale sensitivity, we use entropic mirror descent to update privacy charges multiplicatively. We prove that every optimizer of quadratic tracking exhausts the certified budget, yielding an exact-budget simplex in reciprocal privacy-charge coordinates. This reduction motivates using entropic mirror descent, a standard simplex method [4, 30], whose proximal term penalizes equal absolute charge changes more strongly at smaller charges and whose multiplicative updates control relative changes in noise variance.

Implementing entropic mirror descent poses two difficulties: separate forward sensitivity calculations repeat propagation along the noisy nonlinear trajectory, while standard normalization can violate positive charge floors that bound noise variances and clipping would exceed the budget. We compute the full schedule gradient using one forward simulation and one backward adjoint sweep per Gaussian path.

The standard entropic proximal step on the simplex with charge floors reduces to a scalar normalization enforcing both the floors and the budget equality. The resulting Privacy-Budget Adjoint Mirror Descent (PB-AMD) preserves positive, exact-budget iterates. For its analysis, relative smoothness provides the Bregman counterpart of Euclidean smoothness [3, 27], while stochastic mirror-descent and sample-average approximation provide frameworks for stochastic and Monte Carlo optimization [14, 15, 22, 29, 33].

1.3. Main contributions. We advance temporal privacy allocation through three connected contributions.

  1. A control-theoretic foundation for temporal privacy allocation. We formulate joint optimization of the full Gaussian-variance schedule through nonlinear training dynamics as a finite-horizon stochastic control problem. For privacy validity, we certify private training for data-independent schedules and for schedules returned by a private selector whose cost is included in composition. Under the stated assumptions, we also establish existence and budget stability of optimal schedules. When design and training models differ, we bound the effects on tracking performance and allocation suboptimality.

  2. A budget-saturation theorem enabling exact-budget optimization. We prove that every local minimizer of the expected quadratic terminal tracking objective exhausts the certified privacy budget. Consequently, reciprocal privacy-charge coordinates reduce the search to an exact-budget simplex. The pathwise adjoint supplies the full schedule gradient, from which we derive the KKT system characterizing marginal privacy values across the training horizon.

  3. A dynamics-aware algorithm with exact privacy-budget enforcement. Building on this exact-budget structure, we introduce Privacy-Budget Adjoint Mirror Descent (PB-AMD), whose floor-aware entropic updates use adjoint gradients through the full nonlinear training dynamics and enforce positivity and the prescribed total privacy charge at every iteration, without a penalty parameter. For this method, we establish deterministic and stochastic stationarity guarantees and quantify the transfer from fixed-path sample-average stationarity to the population objective. The linear--quadratic reduction further yields an explicit square-root allocation law and a global convergence result.

Figure 1 summarizes the logical structure connecting these contributions, from privacy-valid schedule design and the stochastic control formulation to the exact-budget optimization method and its numerical validation.

1.4. Notation. Table 2 collects some recurrent notation used in this paper and its meaning.

1.5. Organization. Section 2 establishes the privacy-accounting framework, calibrates the DP-SGD mechanism, and separates private training from the design model used to select an open-loop schedule. Section 3 formulates the finite-horizon control problem and develops its existence, stability, budget-saturation, adjoint, and KKT properties. Section 4 derives PB-AMD on the exact-budget simplex and proves its deterministic, stochastic, sample-average, and linear-quadratic convergence results. Section 5 evaluates the predicted

Figure

FIGURE 1. Conceptual roadmap of the paper.

NotationMeaning
N\mathbb{N}{1,2,…}\{1,2,\ldots\}
[q],[q]0\left\lbrack q\right\rbrack ,\left\lbrack q\right\rbrack _0{1,…,q}\{1,\ldots,q\} and {0,…,q−1}\{0,\ldots,q-1\}, respectively, with q∈Nq\in \mathbb{N}
[q]←,[q]0←\left\lbrack q\right\rbrack \leftarrow ,\left\lbrack q\right\rbrack _0 \leftarrowindices in [q]\left\lbrack q\right\rbrack and [q]0\left\lbrack q\right\rbrack _0 taken in reverse order, i.e., q,…,1q,\ldots,1 and q−1,…,0q-1,\ldots,0
∥⋅∥1,∥⋅∥2,∥⋅∥∞\left\| \cdot \right\| _1,\left\| \cdot \right\| _2,\left\| \cdot \right\| _\inftyℓ1,ℓ2\ell^1,\ell^2 and ℓ∞\ell^\infty norms on Rn\mathbb{R}^n, respectively, with n∈Nn\in \mathbb{N}
⟨⋅,⋅⟩,∥⋅∥op\langle \cdot ,\cdot \rangle ,\left\| \cdot \right\| _{\mathrm{op}}Euclidean inner product and induced operator norm
InI_nn×nn\times n identity matrix
⪯\preceq and ⪰\succeqLoewner order on symmetric matrices
Tr and diagmatrix trace and the diagonal-matrix operator
Pr⁡(⋅)\operatorname{Pr}(\cdot) and E\mathbb{E}probability and expectation
P≪QP\ll Qthe probability measure PP is absolutely continuous with respect to the probability measure QQ, i.e., Q(A)=0Q(A)=0 implies P(A)=0P(A)=0 for every measurable set AA

TABLE 2. Summary of some notation employed in the paper.

allocation regimes, terminal utility, exact constraint realization, and solver efficiency. Section 6 concludes the paper.

References (37)

  • Deep learning with differential privacy
  • Differentially private learning with adaptive clipping
  • A descent lemma beyond Lipschitz gradient continuity: First-order methods revisited and applications
  • Mirror descent and nonlinear projected subgradient methods for convex optimization
  • Deep learning as optimal control problems: Models and numerical methods
  • Stochastic Optimal Control: The Discrete-Time Case
  • When to spend privacy: optimal allocation in private learning
  • Automatic clipping: Differentially private deep learning made easier and stronger
  • Concentrated differential privacy: Simplifications, extensions, and lower bounds
  • Dynamic differential-privacy preserving SGD (opens arXiv in a new tab)
  • The algorithmic foundations of differential privacy
  • Concentrated differential privacy (opens arXiv in a new tab)
  • Research in the Mathematical Sciences 6, 1 (2019), 10
  • Taming nonconvex stochastic mirror descent with general Bregman divergence
  • Stochastic first- and zeroth-order methods for nonconvex stochastic programming
  • Numerical composition of differential privacy
  • A simple sequentially rejective multiple test procedure
  • Learning model-based privacy protection under budget constraints
  • Dynamic privacy budget allocation improves data efficiency of differentially private gradient descent
  • Efficient differentially private fine-tuning of LLMs via reinforcement learning (opens arXiv in a new tab)
  • Differentially private federated learning with time-adaptive privacy spending
  • J., SHAPIRO, A., AND HOMEM-DE MELLO, T. The sample average approximation method for stochastic discrete optimization
  • Learning rate adaptation for differentially private learning
  • Concentrated differentially private gradient descent with adaptive per-iteration privacy budget
  • Differentially private deep learning with importance-based adaptive gradient processing
  • Journal of Machine Learning Research 18, 165 (2018), 1--29
  • Relatively smooth convex optimization by first-order methods, and applications
  • Rényi differential privacy
  • Robust stochastic approximation approach to stochastic programming
  • Problem Complexity and Method Efficiency in Optimization
  • Numerical Optimization, 2nd ed
  • Variational Analysis, vol
  • Lectures on Stochastic Programming: Modeling and Theory, 2nd ed., vol
  • Proactive DP: A multiple target optimization framework for DP-SGD
  • Subsampled Rényi differential privacy and analytical moments accountant
  • Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithms
  • Optimal online control strategy for differentially private federated learning