Chapter 6: Private Optimization
-
Published:2025
Abhradeep Thakurta, 2025. "Private Optimization", Differential Privacy in Artificial Intelligence: From, Theory to Practice, Ferdinando Fioretto, Pascal Van Hentenryck
Download citation file:
Most of the presentation in this chapter is based off prior work, unless mentioned explicitly. The privacy/utility analysis of Algorithms and are based on [BST14], Algorithm is based on [KST12], Algorithm is based on [Kai+21b], and Algorithm is based on [TTZ15]. We sincerely apologize for unintentional omission of any related results in this space.
6.1 Introduction
Consider a data set D = {d1,…,dn} drawn from some domain , and a loss function , where θ ∈ ℝp is the model, and is the loss function on individual data samples. In this chapter, we will focus on algorithms for estimating (6.1) while preserving (ε,δ)-differential privacy, where is the constraint set
The above formulation is often called the Empirical Risk Minization (ERM), and is powerful enough to capture a large class of learning tasks. For example, i) in linear regression the data record is di = (xi,yi) (with xi ∈ ℝd being the feature vector, and yi being the response) and the loss function is ℓ(θ;di) = (yi−⟨xi,θ⟩)2, ii) in logistic regression the loss function is , and iii) in the case of deep networks with binary cross entropy, the loss function is , where hθ (⋅) is the network parameterized by the model weights θ. ERM frameworks also allow a direct a direct way of minimizing the population loss (a.k.a. true risk or the test accuracy), i.e,
In (6.2), is a distribution over the domain . If the data set D is drawn i.i.d. from the distribution , it is then not hard to show by the so-called uniform convergence theorem [SSSS09] that the following holds for any , with probability at least 1 − β over the randomness of D. In (6.3), L is the ℓ2-Lipschitz constant (Defnition 6.1) on the individual loss functions ℓ(⋅;⋅) w.r.t. the first parameter, and is the ℓ2-diameter of the constraint set . Hence, if one can estimate θ* well with differential privacy, then it immediately implies a strong bound on the true riski. In this chapter, we will hence focus on solving the ERM problem (defined in (6.1)) with differential privacy.
To begin with, we need the following properties of (convex) function that we will be using throughout the chapter. In each of the algorithms, and the corresponding analysis, we will explicitly state which properties of the function we are assuming.
Definition 6.1 (L-Lipschitz continuity). A functionis L-Lipschitz w.r.t. the ℓq-norm if the following is true for any:
Unless mentioned explicitly, we will assume Lipschitzness w.r.t. the ℓ2-norm.
Definition 6.2 (γ-Smoothness). A functionis γ-smooth, if the following is true for any :
Definition 6.3 (Δ-Strong convexity). A functionis Δ-strongly convex, if the following is true for anyand for any α ∈ (0,1] :
If Δ = 0, we say that the function f is convex. If f is differentiable, we can replace the condition in (6.6) with,
Overview of the Chapter
The chapter is organized as follows. We will first discuss DP-ERM algorithms that satisfy pure ε-differential privacy. The specific algorithms we will discuss are i) Exponential mechanism [MT07; BST14], and ii) Objective perturbation [CMS11; KST12]. Then, we will move on to discuss DP-ERM algorithms that satisfy (ε,δ) differential privacy. There, we will focus our attention on a couple of algorithms, namely, differentially private (stochastic) gradient descent (DP-SGD) [BST14; Aba+16; TTZ14a] and differentially private follow the regularized leader (DPFTRL) [Kai+21b; ST13a; AS17]. We will then provide a (ε,δ)-differentially private algorithm for the high-dimensional setting where the dimensionality p≫n. This algorithm is called the private Frank-Wolfe [TTZ15]. Finally, we will demonstrate how (and when) these algorithms provide optimal privacy/utility trade-offs by visiting some of the lower bounding techniques in DP-ERM.
Note: All the results in this section are in the add/remove model of differential privacy (see Section 1.4.1 of Chapter 1). They can be easily translated to the replacement model by paying a factor of two in the privacy parameters via standard methods [DR+14].
6.2 Empirical Risk Minimization with ε-DP
In this section, we provide algorithms for solving the ERM problem in (6.1) under ε-differential privacy.
6.2.1 Exponential Mechanism based Private ERM
The first algorithm we look at is based on the classic exponential mechanism [MT07]. Later we will see that this algorithm is indeed optimal for the case when for any data sample , the loss function ℓ(θ;d) is convex and L-Lipschitz in its first parameter, within the convex constraint set .
Algorithm 1: Exponential mechanism based convex optimization
Require: Data set of size n: D, loss function: ℓ, constraint set: , ℓ2-Lipschitz constant: L, privacy parameter: ε
.
Sample and output a point θpriv from the constraint set w.p. ∝ .
First, we show that Algorithm is ε-differentially private. The proof will go via fairly standard arguments used in analyzing exponential mechanism. A vanilla analysis of the sampling distribution in the algorithm would require the loss ℓ(θ;⋅) to be bounded in terms of its value. However, by using a fixed anchoring point θ0, it suffices to operate with the Lipschitzness assumption.
Theorem 6.4.Algorithm 1 is ε-differentially private.
Proof. Consider the kernel of the probability distribution in Algorithm . Let be any fixed model parameter. Now, notice that the sampling distribution generated by μ(θ) is identical to the distribution generated by the following kernel: . Hence, in the rest of the proof we will only consider .
Consider any two neighboring data sets D and D′. Let d be the data record on which they differ. W.l.o.g., data set D has data record d, and D′ does not. For any θ, θ0, we have the following.
To ensure differential privacy we need to make sure that for any measurable set , the following is true.
By (6.8), for any . Hence, the condition in (6.9) is immediately satisfied. This completes the proof.
In Theorem 6.5 we show that for Algorithm 1, the excess empirical risk is bounded by . In the proof, we will heavily use convexity property of the loss function ℓ(⋅;⋅) to show this bound.
Note: The following simpler bound is easy to prove without relying on convexity: Let be a unit ball centered at the origin. If , then the excess empirical risk is bounded by . We leave the proof of this statement as an exercise. This result is significant because it shows that one can obtain both DP guarantee, and strong excess empirical risk bounds just by assuming the loss function to be L-Lipschitz within the constraint set.
Theorem 6.5.Let θpriv be the output of Algorithm 1 above. Then, we have the following guarantee on the expected excess risk. (The expectation is over the randomness of the algorithm.)
Here, .
Proof. Consider any differential cone Ω centered at θ*. We will first bound the excess empirical risk, conditioned on θpriv ∈ Ω. Since the bound will be true for any Ω, by the law of total expectation, the guarantee in the theorem statement immediately follows.
Let Γ ≥ 0 be a fixed parameter to be defined later. For the purpose of brevity, let . We first split Ω into different levels Ai’s, where each Ai is defined as follows:
Notice that A1 corresponds to the region, where the excess empirical risk f(θ) ≤ Γ. Instead of directly computing the probability of θpriv lying outside A1, we will individually compute the probability of θpriv being in each of Ai, i > 1 individually, and then take an union bound over these probabilities. Typically, this line of argument is referred to as the “peeling argument”.
Since Ω is a differential cone, and f(θ) is continuous on , it follows that within , f(θ) only depends on ‖θ − θ* ‖2. Centered at θ*, let r1, r2,… be the end boundaries for the sets A1, A2,… respectively. Hence, one can redefine (6.10) as follows.
In Claim 6.6 we show that due to convexity of f(θ), the gap between successive ri’s (i.e., ri − ri−1) is decreasing for i ≥ 3.
Claim 6.6.Convexity of f(θ) implies that ri − ri−1 ≤ ri−1 − ri−2for all i ≥ 3.
Proof. Since θ* is the minimizer of f(θ) within the constraint set , and since f(θ) is convex, we have the following any two with f(θ2) ≥ f(θ1) : ‖θ2 − θ*‖2 ≥ ‖θ1 − θ*‖2. This immediately implies the claim.
Now, recall the volume of any of the Ai is given by . Hence, we have the following:
The last two inequalities in (6.12) follows directly from Claim 6.6. Recall the definition of Γ. Hence we have the following for the excess empirical risk f(θpriv) ≥ 4Γ, conditioned on . In the following, we remove the conditioning for brevity.
The last inequality in (6.14) follows from the fact that for all i ≥ 4. Hence for every t > 0, if we choose , then we have the following.
Since (6.15) is true for all t ≥ 0, we have the required bound as a corollary.
Oracle Complexity
It is not obvious how to implement Algorithm 1 efficiently. Even before that we need to decide on how we measure computational complexity. In this section, and in the rest of the chapter, we will measure the complexity in terms of number of oracle calls to the gradients of individual loss function ▽ℓ(θ;d). This is consistent with the standard optimization literature [Bub15].
Since the loss functions ℓ(⋅;⋅) are convex in the first parameter, Step 2 of Algorithm 1 results in sampling from a log-concave distribution. Classic results from sampling theory [LV06] allows sampling efficiently from these distribution, albeit the convergence is usually in the total-variation-distance (TVD). In order to guarantee ε-differential privacy, it is necessary to have the sampling distribution to converge to the true distribution induced by Step 2 of Algorithm 1 in the ℓ∞-distance. [BST14], which got improved by [MV21], provides algorithms with ℓ∞-distance convergence and oracle complexity of .
Requirement of Convexity
While the utility analysis of Algorithm 1 heavily relies on convexity, the privacy analysis does not. The privacy analysis only assumes that ℓ(θ;d) is L-Lipschitz w.r.t. the ℓ2-norm. As it will be more obvious in the later parts of this chapter, such a property is rare in algorithms designed for DP optimization. However, the general philosophy regarding the design of DP optimization algorithms that the reader should keep in mind is that, it is always desirable that the privacy property of an algorithm should rely on minimal set of assumptions, which in particular should be enforceable/efficiently testable. It is okay to make stronger assumptions for the corresponding utility analysis. Convexity, unfortunately, is not an efficiently testable property in general.
Note on Optimality
The utility bound obtained in Theorem 6.5 is indeed optimal. One can use use standard machinery of the so-called “packing argument” [HT10; BST14] to achieve the lower bound.
6.2.2 Objective Perturbation for Private ERM
While Algorithm is optimal for pure ε-DP (i.e., with δ = 0), any natural extension of is not known to be optimal in the case of (ε,δ)-DP. In this section we will see an algorithm that is simultaneously optimal for both ε DP and (ε,δ)-DP. Additionally, this algorithm will be computationally efficient in regards to oracle complexity. The algorithm is called objective perturbation (Algorithm 2) [CMS11; KST12]. Along with the loss function ℓ(θ;⋅) being L-Lipschitz w.r.t. ℓ2-norm, it requires two additional properties: i) ℓ(θ;⋅) should be twice continuously differentiable, ii) , and iii) . Here λmax(⋅) corresponds to the maximum eigenvalue of a positive semidefinite (PSD) matrix.
Algorithm 2: Objective Perturbation
Require: Data set of size n: D, loss function: ℓ, ℓ2-Lipschitz constant: L, constraint set: , ℓ2-regularization: Δ, noise multiplier: λ.
.
, where and .
Outputθpriv.
In Theorem 6.7 we provide the privacy guarantee for Algorithm 2. Notice that the regularization parameter Δ has to be lower bounded to ensure DP. As it will be clear later, this lower bound is much lower than that what one would set to get an optimal excess empirical risk bound. In Theorem 6.7, we only provide the privacy analysis for the setting where the constraint set . While the privacy guarantee holds for any convex constraint set , the proof is much more involved and requires measure theoretic arguments. We encourage curious readers to look at [KST12] for more details.
The proof of Theorem 6.7 will provide a curious connection to exponential mechanism, which was not known earlier, prior to this book chapter.
Theorem 6.7.Let the loss function ℓ(θ; d) be twice continuously differentiable for all, and for all. Furthermore, , and. If we set the noise multiplier λ = 2/ε, and the regularization parameter, then Algorithm 2 (Algorithm) satisfies ε-differential privacy.
Proof for the special case when. Consider the regularized loss function . Consider the following probability distribution:
Additionally, let . Since, is a strictly convex function, the mapping is a bijection. Let νD(b) be the induced distribution on the random variable bD(θ). By the Radon-Nikodym theorem [Bil08], we have the following:
Notice that the induced distribution vD(b) is independent of the data set D. Hence, from here on we will remove the subscript D in the rest of the proof, and refer the distribution as ν(b). Going back to (6.16), we want to understand the differential privacy property of μD(θ). For two neighboring data sets D and D′, and at a given θ, we have the following:
We can easily bound term A in (6.18) by the ℓ2-Lipschitz property of the loss function ℓ(⋅;⋅). By definition of bD(θ), we have the following:
Therefore, by triangle inequality, the term A in (6.18) is upper bounded by . Next, we will bound term B in (6.18). For the purpose of brevity, let and . We prove the following claim.
Claim 6.8.Under the assumptions of Theorem 6.7, we have.
Proof. Since the rank of any ▽2ℓ(θ; d) is upper bounded by r, it follows that the matrix E = W′ − W has rank at most r. Let σ1 ≥ σ2 ≥ … ≥ σp ≥ Δ be the eigenvalues of the matrix W, and correspondingly for W′. Recall that . Therefore, we have the following.
The inequality in (6.20) follows from the fact that each of the eigenvalues are lower bounded by Δ. The first inequality in (6.22) follows from the fact that . The last inequality in (6.22) follows from fact that Δ ≥ rλmax. This completes the proof.
Since by assumption , term B in (6.18) is upper bounded by . Hence, we have proved that the sampling distribution in (6.16) satisfies ε-differential privacy. In the rest of the proof we will show that the distribution of θpriv in Algorithm is identical to (6.16).
Since we are operating the in the unconstrained space, i.e., , we have the following:
By using Radon-Nikodym theorem [Bil08], we have the following distribution on θpriv :
Here, v(b) is the is the pdf of the distribution on the random variable b, which is proportional to . This completes the proof.
Analogous to Theorem 6.5, we provide the utility guarantee of Algorithm in Theorem 6.9.
Theorem 6.9.Recall all the parameter choices in Theorem 6.7 for Algorithm 2 (Algorithm). Additionally, assume, where, and. Then, under appropriate choice of the regularization parameter Δ, the following is true:
Proof. Consider the regularized loss function , and the noisy regularized loss function . Let the following be the minimizers for each of the losses: , , and .
By the strong convexity property of , the following is true:
In the above (6.28) follows from the fact that , and the inequality in (6.29) follows via Cauchy-Schwartz. Using (6.28) we immediately have the following inequality, which bounds the difference .
Now, we finally bound in terms of ∥b∥2. We have the following:
The first inequality in (6.36) follows from the fact that , and the second inequality follows from (6.33). Taking expectation on both sides of (6.36), and optimizing for , we have the following:
Given the distribution on b in Algorithm , it is not hard to observe that . Therefore, by standard properties of Gamma distribution, we have . Plugging in this bound in (6.37) completes the proof.
Requirement on Smoothness, and Bounded Rank Hessian, and Convexity
For the privacy analysis in Theorem 6.7, we made these assumptions, beyond just assuming that the loss function ℓ(⋅;⋅) is ℓ2-Lipschitz bounded. In the following, we discuss the necessity of these assumptions.
Consider a simple problem where the data sample di ∈ ℝ, and the loss function ℓ(θ;di) = |θ − di|, i.e., the ERM problem is estimating the median of the data set D = {d1,…,dn}, with each di being unique. For brevity, assume n is odd, so there is a unique median. Clearly, the function is nondifferentiable at θ ∈ {d1,…,dn}, and hence non-smooth at those points. We focus on the loss function ℒ(θ; D) at θ = dmed. Notice that the slope of in the vicinity of dmed is either −1 or +1 . Now, since |b| exponentially distributed (as p = 1), we have Pr[|b| ≤ 1/2] = 1 − exp(−ε/4). If the strong convexity term Δ = 0 in Algorithm , then clearly, with probability at least 1−exp(−ε/4), Algorithm outputs θpriv = dmed. As dmed is a data point in the data set D, it is a direct violation of ε-DP. One might argue that non-zero value of strong convexity parameter Δ will improve the situation. To move the minimizer away from dmed, it is necessary that to ensure that the absolute value of the slope of the regularizer at dmed is at least 1/2. Since, dmed can be arbitrary close to zero, Δ has to be potentially infinite, which in turn will destroy any utility of the algorithm. This argument shows that smoothness is a necessary condition of Algorithm to ensure DP.
While convexity is a necessary condition for the proof of privacy in Algorithm , it is possible that one may be able to design variants of that does not rely on convexity for privacy. Curiously, if one observes the sampling distribution of θpriv in (6.16), then it would be obvious that removing the scaling term with with result in a sampling distribution that can proven to ensure ε-DP without relying on convexity, or even smoothness. (The proof will be a direct extension of the privacy theorem for Algorithm , i.e., Theorem 6.4.) It is an active area of research to design variants of Objective perturbation to be amenable to non-convex losses [NRVW20]. There is not much of an intuition there whether the condition on the regularization parameter Δ should necessarily depend on the rank of the Hessian (r). It may be a slack in the analysis of Theorem 6.7.
Computational Efficiency
While Algorithm is a mathematically well-defined object, it is unclear how to implement it in practice. In particular, for arbitrary convex losses, any reasonable optimization procedure will not reach the true minimizer θpriv with finite oracle complexity. Given a pre-specified parameter γ, there are optimization methods [Bub15] that will be ensure that they will output a model θ† s.t. with O(n/poly(γ)) oracle complexity. (Here .) In the unconstrained setting , because of Δ-strong convexity of , it implies . Therefore, one can add an additional DP-friendly noise with standard deviation , to cover for . For the constrained setting, one can first perform the above procedure on the unconstrained problem, and then project onto the constraint set . For a detailed discussion on this approach, see [Iye+19; BFTT19].
Excess Empirical Risk for Strongly Convex Functions
Theorem 6.9 is stated for just Lipschitz convex functions. However, the proof essentially goes via bounding the excess empirical risk for the strongly convex objective (see (6.33)). Using this machinery, one can obtain an excess empirical risk of , if each of the individual loss function ℓ(θ; d) is assumed to be Δ-strongly convex. Notice that this bound is tight [BST14]. While Algorithm requires assumptions like smoothness for the privacy proof, a variant of the exponential mechanism can also achieve a similar bound, albeit a more complicated analysis. (See Section 4 of [BST14] for more details.)
Extension to (ε,δ)-DP Variant
We will discuss algorithms that are specifically designed to obtain strong privacy/utility trade-offs in the (ε, δ)-DP setting. But it is worth mentioning that Algorithm can be shown to provide strong privacy/utility trade-offs in the (ε,δ)-DP setting too. The only change that is needed is the following: Change the noise distribution of b to . Since Gaussian distribution has a tighter concentration, the excess empirical risk becomes . This bound is also known to be tight [BST14]. In Section 6.3 we will study algorithms that achieve similar bounds, however, do not require assumptions like smoothness, or bounded rank of the Hessian. Also, the privacy guarantee of these algorithms will not depend on the convexity of the loss function.
6.3 Empirical Risk Minimization with (ε,δ)-DP
In this section we will look at algorithms that achieve optimal privacy/utility tradeoffs under (ε,δ)-DP, while assuming the loss function ℓ(θ;d) being L-Lipschitz in θ, w.r.t. ℓ2-norm. As we discussed earlier achieves similar bounds, but require additional assumptions like smoothness, and bounded rank of the Hessian. Algorithmically, the main difference from Algorithms 1 or Algorithm 2 is that we will not argue privacy for the final model θpriv. Rather, the privacy guarantee will hold for the complete optimization path (i.e., the intermediate models that will get generated. This eventually will imply the (ε, δ)-DP guarantee of the final model θpriv. Since we “privatize” the complete optimization path, as opposed to arguing privacy for the final model θpriv, the resulting algorithms operate under weaker privacy assumptions.
6.3.1 Differentially Private (Stochastic) Gradient Descent (DP-SGD)
DP-SGD [SCS13; BST14; Aba+16] is currently the most widely-used differentially private learning algorithm in practice, with at least two large-scale open source implementations TensorFlow-Privacy [Aba+15], and Opacus [You+21]. Along with its practical success, it also provides optimal privacy/utility trade-offs analytically. While there are various variants of DP-SGD in the literature [SSTT21], the one we will primarily focus on in this chapter is the full-gradient descent version. The presentation of the algorithm (Algorithm 3) will be primarily based on [SSTT21].
There are a few distinctive properties of the algorithm. First, notice the term clipping norm. Unlike Algorithms and above, Algorithm does not assume that the loss function ℓ(θ; d) is ℓ2-Lipschitz. Rather via the clipping norm bound, in Step 3, it enforces that the ℓ2-norm of the gradientii of any individual ℓ(θ;di) is bounded by L. Second, as we mentioned earlier,
Algorithm 3: Differentially private stochastic gradient descent (DP-SGD)
Require: Data set D = {d1,…,dn}, loss function: , clipping norm: L, constraint set: , number of iterations: T, noise multiplier: λ, learning rate: η.
θ0 ← 0.
fort = 0, …, T − 1 do
, where .
, where and σ = L · λ.
end for
return.
we will show that the entire optimization path {θ0,…, θT} is (ε,δ)-DP. Third, in Step 6 we output the average of all the models. One can provide similar utility/privacy trade-off for the last iterate too, i.e., θT[BST14]. We chose the average model purely for the simplicity of analysis. Fourth, unlike traditional SGD (stochastic gradient descent) [Bub15], where each gt is computed on a minibatch of examples from the training set D, in Algorithm we use the complete gradient. As we will discuss later, the privacy/utility trade-off that we will obtain for Algorithm can also be obtained via using a minibatch of size one in each step t ∈ [T], drawn i.i.d. from D. For the purpose of brevity, we will provide the main analysis in the context of full-batch gradient.
In the following, we first provide the privacy guarantee for Algorithm .
Theorem 6.10.If we choose the noise multiplier, then Algorithm(Algorithm 3) satisfies (ε,δ)-differential privacy.
Proof. Consider the estimation of any gt in Step 3 of Algorithm , given θt. Let D and D′ be two neighboring data sets, and gt and be the corresponding gradient estimates at θt. Due to the clip(⋅) function, we have the following: . Therefore, we can think gt:t ∈ [T] to be a set of T adaptively chosen queries on the data set D, with each query having ℓ2-sensitivity of L. By standard composition property of Gaussian mechanism (described in Part I of the book), if we choose the noise scale to be , then the set of {θ1,…, θt} satisfies (ε, δ)-differential privacy.
Next, we move on to prove the utility guarantee of Algorithm . We show the following:
Theorem 6.11.Assume that ∥▽ℓ(θ;d)∥2 ≤ L for alland, andUnder appropriate choice of the learning rate η, and setting the number of stepsand the noise multiplier, we have the following:
Proof. We prove the theorem via the standard template for analyzing SGD methods [Bub15]. Recall , where {θ1,…, θT} are the models in each iterate of DP-GD. By convexity, and the standard linearization trick in convex optimization [Bub15], we have:
Let bt is the Gaussian noise vector added at time step t To bound the error in (6.38), we will use a potential argument w.r.t. the potential function
Recall the update step in Algorithm . Since, by assumption the loss function ℓ(θ;d) is ℓ2-Lipschitz bounded, clip (⋅) does not have any effect. We get the following by simple algebraic manipulation:
where (6.40) follows from the fact that ℓ2-projection onto a convex constraint set always reduces the ℓ2-distance, and (6.43) follows because and thus . Rearranging the terms in (6.43), we have the following,
Summing up (6.44) for all t ∈ [T], averaging over the T iterations, and combining with (6.38), we get:
Setting η to minimize the RHS, we have
where the equality in (6.47) follows by plugging in . Now, setting , we have
This completes the proof.
Oracle Complexity
Notice, Algorithm reaches an average excess empirical risk of in steps. For non-smooth, and non-strongly convex losses, this rate of convergence is tight for SGD based methods (up to dependence on dimensionality), i.e., in Θ(1/α2) steps, one can get to an error of α. This demonstrates an important phenomenon. DP does not slow down the rate of convergence in comparison to a non-private SGD method up to the error allowed under privacy constraints. Furthermore, even if we set T → ∞, under appropriate choice of the learning rate η, the excess empirical risk remains the same. This implies, Algorithm does not need the number of steps T to tuned for optimal privacy/utility trade-off as long as . This property is not true in general for iterative DP optimization methods.
The oracle complexity of Algorithm (for achieving the excess empirical risk in Theorem 6.11) is . This because in each of the T steps, Algorithm performs n gradient evaluations.
Improving Oracle Complexity with Privacy Amplification by Sampling
One can improve the oracle complexity of Algorithm via special tool in the DP literature called, privacy amplification by sampling [Kas+08]. Informally, privacy amplification by sampling says that if an algorithm is -DP on a data set D, then on a data set Dsamp, where each entry of D is sampled with probability q, satisfies O(q⋅ε0)-DP. One can use this tool to show that essentially at the same level of noise as in Step 4 of Algorithm , one can use gt = n ⋅ clip(▽ℓ(θt;d)) (in Step 3) with d sampled uniformly at random from the data D, independently at each time step T. Since, modulo clipping, the new gt is an unbiased estimator of the gradient , the utility guarantee in Theorem 6.11 remain unchanged. This reduces the oracle complexity by a factor of n for Algorithm . For a focused analysis of privacy amplification via sampling, the reader is referred to Chapter 3.6.
Excess ERM Bound for Strongly Convex Losses
In Theorem 6.11 we provided the guarantee only for ℓ2-Lipschitz convex losses. One can use the same Algorithm , with appropriate learning rate η, to obtain optimal privacy/utility trade-off when the loss function ℓ(θ;d) satisfies Δ-strong convexity, along with L-Lipschitzness. The excess empirical risk bound in that case is [BST14]. As we will discuss later, this bound is tight.
Dimension Independent Excess ERM Bounds
In all the results we saw so far there is an explicit polynomial dependence of the dimensionality
(p) on the error. For of generalized linear models (e.g., logistic regression), one can completely avoid this dependence when and achieve an excess empirical risk of . Algorithm , with appropriate choice of the learning rate η is capable of achieving this bound. (See [STT20] for more details.)
6.3.2 Differentially Private Follow-the-regularized-leader (DP-FTRL)
Till now we assumed that the complete data set D is at the disposal of the optimization algorithm. However, there are problem settings where the data arrives in the form of a stream. Non-privately, the algorithms that are designed in that space are typically called online convex optimization (OCO) algorithms [Sha+11]. More formally, suppose we have a stream of data samples , where is the domain of data samples, and a loss function , where is the space of all models. We consider the setting of regret minimization.
Regret Minimization
At every time step t ∈ [n], while observing samples {d1,…, dt−1}, the algorithm outputs a model which is used to predict on example dt provided by an adversary after observing {θ1,…,θt}. The performance of is measured in terms of regret against an arbitrary post-hoc comparator , maximized over the choice of [d1,…,dn] by the adversary, where dt is a function of {d1,…, dt−1} and {θ1,…, θt} :
We consider the algorithm low-regret if . To ensure a lowregret algorithm, we will assume ∥▽ℓ(θ;d)∥2 ≤ L for any data sample d, and any models . The quantity is also called the adversarial regret[Haz19; Sha+11]. One can also look at a related quantity stochastic regret [HK14], where the data samples in D are drawn i.i.d. from some distribution τ. In this chapter, we will only focus on adversarial regret.
In (6.54), we show that the regret is an upper bound on the excess empirical risk in (6.3). Hence, for the remainder of this section, we will only focus on bounding . Although we have not discussed the DP-FTRL algorithm (), we want to highlight a specific attribute of the algorithm in order to connect the regret to the excess empirical risk. At any time step t, to estimate θt−1, only uses DP estimates (via Gaussian mechanism) for a set of queries of the form , where 0 ≤ τ1, τ2 ≤ t.
Now, given the data set D, consider another data set with n data samples with each entry of is sampled i.i.d. with replacement from D. First notice that with probability at least 1 − δ, no data sample in D appears more that O(ln(n/δ)) number of times. This follows from the standard use of Chernoff bound. Because of the way operates, this would increase the ℓ2-sensitivity of any query that considers from L to L⋅ln(n/δ), with probability 1 − δ. This in-turn means if adding to each query that considers satisfies (ε,δ)-DP, then adding satisfies (ε,δ)-DP for when operating on data set . This calculation says that if operates on instead of D, then the error due to noise will only go up by a factor of polylog (n/δ). Next we relate with , to ensure that one can use as a proxy for the data set D. Let {θ1,…, θn} be the models output by on data set . We have the following in (6.54).
Equation (6.50) follows from Jensen's inequality, and the equality in (6.52) follows from the fact that θt is independent of . By (6.54) it follows that the regret of on data set is an upper bound on the excess empirical risk of on the data set D.
Notion of Privacy
Since we are in the add/remove model of differential privacy, in the streaming setting removing one data sample can change time of arrival of all other data samples appearing after it. To ensure that such a thing does not happen, we operate with a notion of differential privacy, that preserves the length of the stream, even in the add/remove variant.
Definition 6.12 (Differential privacy). Letbe the domain of data records, be a special element, and letbe the extended domain. A randomized algorithmis (ε,δ)-differentially private iffor any data setand any neighbor(formed from D by replacing one record with ⟂), and for any event, we have
where the probability is over the randomness of.
In Algorithm (Differentially Private Follow-the-regularized-leader (DP-FTRL)), we treat ⟂ specially, namely assuming it always produces a zero gradient.
Interlude on Estimating Prefix-sum with (ε,δ)-DP
Before we present the description of Algorithm , we will take an interlude to a seemingly unrelated problem of estimating prefix sums: Consider a sequence of vectors X = {x1,…, xn}, with each xi ∈ ℝp and ‖xi‖2 ≤ L.
The objective it design a differentially private algorithm that outputs an approximation to {s1,…,st}, where each . We allow xt+1 to be adaptively chosen based on the outputs {s1,…, st}. [DNPR10; CSS11] studies this problem in the context of privacy under continual observation. Here, we provide the algorithm from [DNPR10] based on a binary tree data structure.
A naïve solution to the problem would be the following: ∀t ∈ [n], output , where . By standard properties of Gaussian mechanism described earlier in the book, this algorithm is (ε,δ)-differentially private. However, the error in each of the estimate , i.e., , is . Based on an algorithm by [DNPR10; CSS11], we provide an algorithm that reduces the error to . In the following we describe the algorithm.
There are three main functions in the algorithm, namely, InitializeTree, AddToTree, GetSum. At a high-level, InitializeTree initializes the tree data structure with 2⌈lg(n)⌉ leaf nodes, AddToTree allows adding a new vector xt to , and GetSum returns the prefix sum privately. It follows from [ST13a] that for a sequence of (adaptively chosen) vectors , if we perform for each t ∈ [n], then we can write where bt is normally distributed with mean zero, and . Now, since any data sample in the data set X affects only ⌈lg(n)⌉ nodes in the binary tree , hence setting would ensure that the algorithm is (ε,δ) differentially private. The formal description of the algorithm is given below.
InitializeTree (n, λ2, L): Initialize a complete binary tree with 2(⌈lg(n)⌉ leaf nodes, with each node being sampled i.i.d. from .
: Add v to all the nodes along the path to the root of , starting from t-th leaf node.
: Let [node1,…,nodeh] be the list of nodes from the root of to the t-th leaf node, with node 1 being the root node and node b being the leaf node.
Initialize s ← 0p and convert t to binary in h bit representation [b1,…,bh], with b1 being the most significant bit.
For each j ∈ [b], if bj = 1, then add the value in left sibling of node j to s. Here if node j is the left child, then it is treated as its own left sibling.
Return s.
We have the following theorem to formally quantify the privacy/utility trade-off for the tree aggregation algorithm.
Theorem 6.13 (Follows from [ST13a]). Let X = {x1,…, xn} be a sequence of adaptively chosen data vectors with ∀u ∈ [n], ‖xi‖2 ≤ L,xi ∈ ℝp. The tree aggregation algorithm described above is (ε, δ)-differentially private with noise multiplier. Furthermore, the outputsthat approximateshas the following property:
Algorithmic Description of DP-FTRL ()
The main idea of DP-FTRL [Kai+21b; ST13a; AS17] is based on three observations: i) For online convex optimization, to bound the regret, for a given loss function ℓ(θ;dt) (i.e., the loss at time step t), it suffices for the algorithm to operate on a linearization of the loss at θt (the model output at time step t): , ii) Under appropriate choice of λ, optimizing for over gives a good model at step t + 1, and iii) For all t ∈ [n], one can privately keep track of using the tree aggregation protocol[DNPR10; CSS11] described above.
In Theorem 6.14, we provide the privacy guarantee for Algorithm 4. The proof is immediate from Theorem 6.13.
Theorem 6.14 (Privacy guarantee). If the noise multiplier, then Algorithm 4 (Algorithm) guarantees (ε,δ)-differential privacy.
The theorem here gives a regret guarantee for Algorithm 4 against a fully adaptive[Sha+11] adversary who chooses the loss function ℓ(θ; dt) based on [θ1,…,θt ], but without knowing the internal randomness of the algorithm.
Algorithm 4: Differentially Private Follow-The-Regularized-Leader (DP-FTRL)
Require: Data set: D = {d1,…,dn} arriving in a stream, in an arbitrary order; constraint set: , noise multiplier: λ, regularization parameter: Δ, clipping norm: L.
. Outputθ1.
.
for t ∈ [n] do
Let ∇t ← clip(∇θℓ(θt; dt), L), where , taking ▽θℓ(θ; ⊥) = 0.
.
, i.e., estimate via tree-aggregation protocol.
. Outputθt+1.
end for
Theorem 6.15 (Regret guarantee). Let {θ1,…,θn} be the outputs of Algorithm(Algorithm 4), and L be a bound on the ℓ2-Lipschitz constant of the loss functions. W.p. at least 1 − β over the randomness of, the following is true for any.
Setting Δ optimally and plugging in the noise multiplier λ from Theorem 6.14 to ensure (ε,δ)-differential privacy, we have
Proof. Recall that by Algorithm , , where the Gaussian noise for st being the output of GetSum . By standard concentration of spherical Gaussians, w.p. at least 1 − β, ∀t ∈ [n], . We will use this bound to control the error introduced due to privacy. Now, consider the optimizer of the non-private objective:
That is, post-hoc we consider the hypothetical application of non-private FTRL to the same sequence of linearized loss functions seen in the private training run. In the following, we will first bound how much the models output by deviate from models output by the hypothetical nonprivate FTRL discussed above. Then, we invoke standard regret bound for FTRL, while accounting for the deviation of the models output by . By the same calculation as in (6.29) in Section 6.2.2, we obtain
We can now easily bound the regret. By standard linear approximation “trick” from the online learning literature [Sha12; Haz19], we have the following. For ▽t = ▽θℓ(θt;dt),
One can bound the term A in (6.57) by Theorem 5.2 of [Haz19] and get . As for term B, using (6.56) and the concentration on bt mentioned earlier, we have, w.p. at least 1 − β,
Combining (6.57) and (6.58), we immediately have the first part of the theorem. To prove the second part, we just optimize for the regularization parameter Δ and plug in the noise multiplier λ from Theorem 6.14.
Translating Theorem 6.15 Into Excess Empirical Risk
As we saw in (6.54), one can interpret the regret guarantee as a bound on the excess empirical risk. This essentially means the excess empirical risk one can obtain by using Algorithm is . While this bound is strictly worse than the one we obtained for Algorithm via Theorem 6.11, the oracle complexity of is better by a factor of n. A natural question that arises is whether, we can have achieve similar utility guarantee as under similar oracle complexity. This is still an open question for research.
Practical Extensions
One of the major advantages of DP-FTRL over DP-SGD is that it can operate over a stream of data samples, while still providing strong privacy/utility trade-offs. This makes it an attractive choice for settings like federated learning (FL), where there isn't a single static data set in a centralized location. However, extending DPFTRL to settings require a much more involved privacy analysis as one user can contribute multiple training examples, during the training process. See [Kai+21a] for a detailed discussion.
6.4 DP Empirical Risk Minimization with ℓ1/ℓ∞-geometry
The algorithms presented till now best work when the objective function is Lipschitz with respect to ℓ2-norm. But in many machine learning tasks, especially those with sparsity constraint, the objective function is often Lipschitz with respect to ℓ1 norm. For example, in the high-dimensional linear regression setting e.g. the classical LASSO algorithm [Tib96], we would like to compute . In the usual case of |xij| = O(1),|yi| = O(s), the loss function is O(s)-Lipschitz with respect to ℓ1-norm but is -Lipschitz with respect to ℓ2-norm within the constraint set ∥θ∥1 ≤ s. Here xi correspond to the i-th row of the design matrix X, and yi corresponds to the i-th coordinate of the response vector y.
Let us consider the data set D = {(x1,y1),…, (xn,yn)}, the loss function , and the constraint set to be ∥θ∥1 ≤ s. Then applying any of the algorithms mentioned earlier on the corresponding ERM problem would result in an excess empirical risk of . For the interesting high-dimensional parameter regime, where s ≪ n ≪ p, this bound is vacuous. We would ideally want an excess empirical risk of the form Oε,δ (poly(s, ln(p))). Here, hides the privacy parameters ε and δ.
In this section, we will show that in the high-dimensional setting it is more effective to use the private version of the classical Frank-Wolfe algorithm [FW56]. In particular, we show that for LASSO, such algorithm achieves the nearly optimal privacy risk of Θε,δ (s2 ⋅ polylog (p) ⋅ n1/3).
6.4.1 Frank-Wolfe Algorithm
We present the algorithm in this section as a purely optimization procedure that minimizes a convex function . The Frank-Wolfe algorithm [FW56] can be regarded as a “greedy” algorithm which moves towards the optimum solution in the first order approximation (see Algorithm 5 for the description). How fast Frank-Wolfe algorithm converges depends f’s “curvature”, defined as follows according to [Cla10; Jag13]. We remark that a γ-smooth function on has curvature constant bounded by .
Definition 6.16 (Curvature constant). For, define Γfas below.
Remark 6.17.One can show ([Cla10; Jag13]) that for any q,r ≥ 1 such that q−1 + r−1 = 1, Γfis upper bounded by, where.
Remark 6.18.One useful bound is for the quadratic programming f(θ) = θ⊤XTXθ + ⟨b,θ⟩. In this case, by [Cla10] , . Whenis centrally symmetric, we have the bound.
Algorithm 5 Frank-Wolfe algorithm
Require:
Choose an arbitrary θ1 from ;
fort = 1 to T − 1 do
Compute ;
Set ;
end for
return θT.
Define . The following theorem shows the convergence of Frank-Wolfe algorithm.
While the Frank-Wolfe algorithm does not necessarily provide faster convergence compared to the gradient-descent based method, it has two major advantages. First, on Line 3, it reduces the problem to solving a minimization of linear function. When is defined by small number of vertices, e.g. when is an ℓ1-ball, the minimization can be done by checking ⟨▽f(θt), x⟩ for each vertex x of . This can be done efficiently. Secondly, each step in Frank-Wolfe takes a convex combination of θt and , which is on the boundary of . Hence each intermediate solution is always inside (sometimes called projection free), and the final outcome θT is the convex combination of up to T points on the boundary of (or vertices of when is a polytope). Such outcome might be desired, for example when is a polytope, as it corresponds to a sparse solution. Due to these reasons Frank-Wolfe algorithm has found many applications in machine learning [SSZ10; HK12; Cla10]. As we shall see below, these properties are also useful for obtaining low risk bounds for their private version.
6.4.2 Private Frank-Wolfe Algorithm
There are different ways to make Algorithm 5 private, dependent on the geometry of . Here we focus on the important case where is a polytope, corresponding to the LASSO problem. In this case, we apply the exponential mechanism [MT07] to achieve privacy. We now present a private version of the Frank-Wolfe algorithm. We can achieve privacy by replacing Line 3 in Algorithm 5 with its private version in one of two ways. In the first variant, we can apply exponential mechanism [MT07] to guarantee privacy; and in the second variant, we can apply objective perturbation (Algorithm ) or DP-SGD (Algorithm ) or DP-FTRL (Algorithm ). The first variant works especially well when is a polytope defined by polynomially many vertices. In this case, we show that the error depends on the ℓ1-Lipschitz constant, which can be much smaller than the ℓ2-Lipschitz constant. In particular, the private Frank-Wolfe algorithm is nearly optimal for the important high-dimensional sparse linear regression (or compressive sensing) problem. For the details on the second variant, see [TTZ15].
Algorithm 6 describes the private version of Frank-Wolfe algorithm for the polytope case, i.e. when is a convex hull of a finite set S of vertices (or corners). In this case, we know that any linear function is minimized at one point of S per the following basic fact.
Fact 6.20.Letbe the convex hull of a compact set. For any vector v ∈ ℝp.
Since θt+1 can be selected as one of |S| vertices, by applying the exponential mechanism [MT07], we obtain differentially private algorithm with risk logarithmically dependent on |S|. When |S| is polynomial in p, it leads to an error bound with ln p dependence. While the exponential mechanism can be applied to the general as well, its error would depend on the size of a cover of the boundary of , which can be exponential in p, leading to an error bound with polynomial dependence on p.
Algorithm 6: Differentially Private Frank-Wolfe Algorithm (Polytope Case)
Require: Data set: D = {d1,…,dn}, loss function: (with ℓ1-Lipschitz constant L1 for ℓ), privacy parameters: (ε, δ), convex set: with denoting maxs∈S ‖s‖1 and S being the set of corners.
Choose an arbitrary θ1 from ;
fort = 1 to T − 1 do
, where .
.
, where .
end for
Output θpriv = θT.
Theorem 6.21 (Privacy guarantee). Algorithm 6 (Algorithm) is (ε,δ)-differentially private.
The proof of privacy follows from a straight forward use of exponential mechanism [MT07; BLST10] (the noisy maximum version from [BLST10], Theorem 5) and the advanced composition theorem discussed earlier in the book. In Theorem 6.22 we prove the utility guarantee for the private Frank-Wolfe algorithm for the convex polytope case. Define over all the possible data sets in the domain.
Theorem 6.22 (Utility guarantee). Let L1, S andbe defined as in Algorithms 6 (Algorithm). Let Γℓbe an upper bound on the curvature constant (defined in Definition 6.16) for the loss function ℓ(⋅;d) that holds for all. In Algorithm, if we set, then
Here the expectation is over the randomness of the algorithm.
Proof. For ease of notation we hide the dependence of ℒ on the data set D and represent it simply as ℒ(θ). In order to prove the utility guarantee we first invoke the utility guarantee of the non-private noisy Frank-Wolfe algorithm from [Jag13] (Theorem 1).
Theorem 6.23 (Non-private utility guarantee [Jag13]). Assume the conditions in Theorem 6.22 and let γ > 0 be fixed. Recall that μ = 1/(T+2) and let. Suppose that ⟨s1,⋯,sT⟩ is a sequence of vectors from, with ϕt+1 = (1 − μ)ϕt + μstsuch that for all t ∈ [T],
Then,
Since the convex set is a polytope with corners in S, if st in Theorem 6.23 corresponds to in Algorithm , and ϕt corresponds to θt in , then using the tail properties of Laplace distribution and Fact 6.20 one can show that with probability at least 1 − β, the term γ in Theorem 6.23 is at most . Plugging in this bound in Theorem 6.23, we immediately get that with probability at least 1 − β,
From, (6.59) we can conclude the following in expectation.
Setting results in the claimed utility guarantee.
6.4.3 Nearly Optimal Private LASSO
We now apply the private Frank-Wolfe algorithm to the important case of the sparse linear regression (or LASSO) problem. We show that the private Frank-Wolfe algorithm leads to a nearly tight Oε,δ (n1/3 ⋅ polylog (p)) bound. Oε,δ (⋅) hides terms in the privacy parameters.
Problem Definition
Given a data set D = {(x1,y1),⋯,(xn,yn)} of n-samples from the domain D = {(x,y):x ∈ ℝp, y ∈ [−1,1], ∥x∥∞ ≤ 1}, and the convex set . Define the squared loss,
The objective is to compute to minimize ℒ(θ; D) while preserving privacy with respect to add/removal of individual (xi, yi) pair. The non-private setting of the above problem is a variant of the least squares problem with ℓ1 regularization, which was started by the work of LASSO [Tib96; Tib+97] and intensively studied in the past years [HTF01; DJ04; CT05; Don06; CT07; BRT09; BM12; RWY09; Zha13]. One important reason for using ℓ1 regularization is to induce sparse solutions, i.e. θ with small number of non-zero coordinates. This is especially interesting for the so called “high-dimensional” setting where p ≫ n. Indeed, via a long line of work [DJ04; CT05; Don06; Wai06; CT07; BRT09], it has been shown that under suitable condition of X, using ℓ1 regularization can indeed produce a nearly optimal sparse solution, providing theoretical support to the empirical success of LASSO.
Since the ℓ1 ball is the convex hull of 2p vertices, we can apply the private Frank-Wolfe algorithm . For the above setting, it is easy to check that the ℓ1-Lipschitz constant is bounded by O(1). Further, by applying the bound on quadratic programming Remark 6.18, we have that since is the unit ℓ1 ball, and |xij| ≤ 1. Hence Γℓ = O(1). Now applying Theorem 6.22, we have
Corollary 6.24.Let D = {(x1,y1),⋯,(xn,yn)} of n samples from the domain D = {(x,y):∥x∥∞ ≤ 1, |y| ≤ 1}, and the convex setequal to the ℓ1-ball. The output θpriv of Algorithmensures the following.
Comparison to Algorithms for Private Sparse Support Selection
For a high-dimensional linear regression problem of the form y = ⟨x,θ* ⟩+ noise with ‖θ*‖0 = O(1), Algorithms in [KST12; ST13b] allow one to identify the non-zero coordinates of ]θ* exactly under (ε,δ)-DP. It is not hard to observe that this is a much tighter guarantee as opposed to Corollary 6.24. However, the algorithms in [KST12; ST13b] operate under much stronger assumptions like restricted strong convexity or mutual incoherence[Wai06]. These assumptions are known to be necessary even for non-private support selection, and may be too hard to satisfy in practice [Was12].
Note on the Lower Bound
As mentioned earlier, the bound obtained via Corollary 6.24 is essentially tight. The proof of the lower bound follows the standard template of fingerprinting codes, use to prove lower bounds for (ε,δ)-DP [Vad17; TTZ15].
Oracle Complexity
Algorithm essentially makes O(T ⋅ n) oracle calls to obtain the tight privacy/utility trade-off. Compared to non-private Frank-Wolfe, the oracle complexity remain unchanged up to terms depending on the privacy parameters (ε,δ), and additional poly-logarithmic factors. This is a common theme we saw in all the algorithms in this chapter. Differential privacy tends not hurt the rate of convergence. However, it only allows convergence to a specific error level allowed by the privacy constraints.
6.5 Lower Bounds, and Algorithms not Considered
6.5.1 Lower Bounds on Private Constrained Optimization
In this section, we discuss at a high-level some of the standard lower bounding techniques used for proving optimality of DP optimization algorithms. The lower bounds for the algorithms considered in this chapter are in some form dependent on the lower bound for estimating one-way marginals with DP (Theorem 6.25 below.)
Theorem 6.25 (Lower bounds for 1-way marginals).
- ε-differential private algorithms: Let n,p ∈ ℕ and ε > 0. There is a number M = Ω(min(n,p/ε)) such that for every ε-differentially private algorithm, there is a datasetwithsuch that, with probability at least 1/2 (taken over the algorithm random coins), we have
where.
- (ε,δ)-differential private algorithms:Let n,p ∈ ℕ,ε > 0, and. There is a numbersuch that for every (ε,δ) differentially private algorithm, there is a datasetwithsuch that, with probability at least 1/3 (taken over the algorithm random coins), we have
where.
Now define a dataset D = {d1,…,dn} with data points drawn from , and any , define . Clearly, ℒ is linear and, hence, Lipschitz and convex. Note that, whenever , is the minimizer of ℒ(θ; D) over . Next, we show lower bounds on the excess empirical risk incurred by any ε and (ε,δ) differentially private algorithm with output .
Theorem 6.26 (Lower bound for ε-differentially private algorithms). Let n, p ∈ ℕ and ε > 0. For every ε-differentially private algorithm (whose output is denoted by θpriv), there is a datasetsuch that, with probability at least 1/2 (over the algorithm random coins), we must have
whereis the minimizer of ℒ(θ; D) overand ℒ is defined above.
Proof. Let be an ε-differentially private algorithm for minimizing ℒ and let θpriv denote its output. First, observe that for any and dataset . Hence, we have . This is due to the fact that and the fact that .
Let M = Ω(min(n,p/ε)) be as in Part 1 of Theorem 6.25. Suppose, for the sake of a contradiction, that for every dataset with , with probability more than 1/2, we have ‖θpriv − θ*‖2 ≠ Ω(1). Let be an ε-DP algorithm that first runs on the data and then outputs . Note that this implies that for every data set with , with probability more than 1/2, which contradicts Part 1 of Theorem 6.25. Thus, there must exist a dataset with such that with probability at least 1/2, we have ‖θpriv − θ*‖2 ≠ Ω(1). Therefore, from the observation we made in the previous paragraph, we have, with probability at least 1/2, .
The lower bound for the (ε,δ)-DP case follows by the same argument as in Theorem 6.26, but reducing the problem instance to Part 2 in Theorem 6.25. The lower bound for the setting in Section 6.4 follows from a slightly complicated variant of Theorem 6.25. We encourage the readers to read [TTZ15] for more details.
6.5.2 Algorithms not Considered
In the exposition of this chapter, we left out quite a few important algorithms, primarily for the ease of presentation. In this section, we highlight some of them, and encourage interested readers to explore more.
Additional Assumptions on the Loss Function
In this chapter, we primarily focused on obtaining excess empirical risk bounds for Lipschitz convex convex functions. For the ℓ2-Lipschitz setting, if we additionally allow the loss functions to be Δ-strongly convex, then the excess empirical risk for the pure ε-case improves to . The algorithm is a two stage-algorithm, with a first localization step to identify a small set where the true minimizer lies, and then running Algorithm on that set [BST14]. In the (ε,δ)-case, the corresponding excess empirical risk becomes . The algorithms that achieve this bound are mild variants of Algorithms and . Assuming smoothness however, does not improve the excess empirical risk. However, it improves the rate of convergence/oracle complexity to achieve the same error.
Algorithms for Optimal Population Risk
As mentioned in the beginning of the chapter that we would focus only on excess empirical risk, and for estimating the excess true/population risk we would use (6.3). While this is a natural way to translate from excess empirical risk to excess population risk, this translation does not result in optimal excess population risk. For ℓ2-Lipschitz convex functions (with Lipschitz constant O(1), and for a constraint set with ) the optimal population risk is , and for 1-strongly convex functions it is . Notice that in both these cases, the lower-order term in n only depends on the privacy parameter, as opposed to the one obtained via (6.3). The algorithms that achieve these bounds are variants of Algorithm or Algorithm , with substantially more involved utility analysis, using tools from algorithmic stability. For a detailed discussion on these techniques, see [BFGT20]. When the geometry is ℓ1/ℓ∞ (as in Section 6.4), the corresponding optimal excess population risk of is obtained a variant of Algorithm . This bound assumes all the assumptions in Corollary 6.24. For a detailed exposition to this result see [AFKT21].
Other Algorithms not Discussed
For the purposes of brevity, we left out the discussion of a number of algorithms. In particular, we did not mention any algorithm which are optimal under local differential privacy [STU17]. We also did not discuss algorithms like private cutting plane methods[STU17], output perturbation[CMS11], bolt-on privacy[Wu+17], private mirror descent[TTZ14b], privacy amplification by iteration[FMTT18]. Many of these algorithms have advantages over the algorithms mentioned in this chapter, under specific problem settings. We encourage the readers to explore these algorithms, and their impact on the broader space of private constrained optimization.
In this chapter, we focused only on convex loss functions. As mentioned earlier algorithms like , and are applicable to non-convex losses too, as their privacy do not depend on convexity. While there are restricted utility analyses for non-convex losses [STT20; WCX19], it is still an active area of research. Additionally, there are better algorithms known specific to problems like linear regression [STU17; She19], or principal component analysis [DTTZ14; LMV21]. We did not explore these problems in this chapter.
Notes
All the results for Algorithm holds if the gradient is replaced by subgradient. So, differentiability is not a necessary condition.

