Introduction
Learning halfspaces is a classical problem in learning theory. A halfspace is specified by a weight vector w ∈ R d w \in\mathbb{R}^{d} w ∈ R d and a threshold t ∈ R t \in\mathbb{R} t ∈ R , and classifies a point x ∈ R d x \in\mathbb{R}^{d} x ∈ R d according to sign ( ⟨ w , x ⟩ + t ) \operatorname{sign}(\langle w,x\rangle+ t) sign (⟨ w , x ⟩ + t ) . We write P P P for the distribution of labeled examples and μ = P X \mu= P_{X} μ = P X for its input marginal. In classical realizable PAC learning, the distribution P P P is assumed to be linearly separable and the learner is required to output a classifier h h h with err P ( h ) ≤ α \operatorname{err}_{P}(h) \le\alpha err P ( h ) ≤ α for any accuracy parameter α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) . In the agnostic setting, the labels in the dataset may be arbitrary. Thus, the guarantee is relaxed to requiring the learner to output a classifier h h h with error
err P ( h ) ≤ OPT + α , \operatorname{err}_{P}(h) \le\operatorname{OPT} + \alpha, err P ( h ) ≤ OPT + α ,
where OPT is the minimum error achievable by a halfspace under P P P . This setting allows the data to be noisy or imperfectly separable by a linear decision boundary. Differential privacy (DP) Dwork et al. [21 ] imposes an additional constraint, requiring the distribution of the learner’s output to change only slightly when a single training example is replaced. In this paper, we study whether agnostic halfspace learning can be made differentially private with small computational and statistical overhead relative to non-private learning.
Agnostically learning halfspaces is known to be computationally hard, even for non-private improper learners, i.e., learners whose output need not be a halfspace Tiegel [48 ] . To overcome this, a rich line of work has focused on distributions with structured marginals but arbitrary labels. Under Gaussian and more generally log-concave marginals, Kalai et al. [29 ] provided the first algorithm for agnostic learning of halfspaces whose runtime is polynomial in the dimension for every fixed accuracy. For Gaussian marginals, their complexity scales as d O ( 1 / α 4 ) d^{O(1/\alpha^{4})} d O ( 1/ α 4 ) which was later improved to d O ( 1 / α 2 ) d^{O(1/\alpha^{2})} d O ( 1/ α 2 ) by Diakonikolas et al. [11 ] . However, their algorithm was improper. A proper algorithm must output a halfspace and can be desirable because a linear halfspace offers a more compact and interpretable representation of the classifier with O ( d ) O(d) O ( d ) parameters. For Gaussian marginals, Diakonikolas et al. [15 ] provided the first agnostic proper learner for halfspaces with somewhat comparable statistical and computational complexity. For DP agnostic learning, Kasiviswanathan et al. [34 ] provided the first agnostic private learners for finite classes with sample complexity scaling logarithmically in the size of the hypothesis class. Alon et al. [2 ] and Li et al. (2025) provided general reductions from agnostic learning to realisable learning. However, their reductions are not shown to be computationally efficient. For halfspaces over finite domains, Beimel et al. [6 ] provided efficient private agnostic learners, but over infinite domains such as R d \mathbb{R}^d R d , distribution-free private learning of halfspaces is information-theoretically impossible even in the realisable setting due to their infinite Littlestone dimension ([7 , 1 ] ). Distributional assumptions on the marginal μ \mu μ are therefore essential for both privacy and computational efficiency. Given the non-private agnostic learners under structured marginals ([29 , 15 ] ), our goal in this work is to obtain matching statistical and computational complexities under differential privacy.
However, even under Gaussian marginals, the d O ( 1 / α 2 ) d^{O(1/\alpha^2)} d O ( 1/ α 2 ) dependence on statistical and therefore computational complexity is likely unavoidable for approaches using polynomial regression due to known SQ lower bounds ([16 , 25 ] ). A natural relaxation for the problem is semi-agnostic proper learning , which allows halfspaces h h h with
err P ( h ) ≤ C ⋅ O P T + α , \operatorname{err}_{P}(h) \le C\cdot\mathrm{OPT}+\alpha, err P ( h ) ≤ C ⋅ OPT + α ,
where C C C is a known universal constant. Non-private learners, under Gaussian marginals, can achieve this guarantee in time polynomial in both d d d and 1 / α 1/\alpha 1/ α simultaneously ([17 ] ). This raises the natural question of whether the polynomial dependence on d d d , 1 / α 1/\alpha 1/ α can be maintained for semi-agnostic learning under privacy. Together, these lead to the following question:
What statistical and computational guarantees can DP algorithms get under Gaussian marginals for i) agnostic improper, ii) agnostic proper, and iii) semi-agnostic proper learning of halfspaces?
Our Results
Table 1 summarizes our results. All algorithms satisfy ( ε D P , δ D P ) (\varepsilon_{\mathrm{DP}},\delta_{\mathrm{DP}}) ( ε DP , δ DP ) -DP guarantees with respect to the dataset, and their error guarantees hold with high probability. Additionally, all our algorithms run in time polynomial in the sample size for every fixed accuracy. Throughout, O ~ ( ⋅ ) \widetilde{O}(\cdot) O ( ⋅ ) hides factors polylogarithmic in 1 / α 1/\alpha 1/ α , 1 / β 1/\beta 1/ β , 1 / ε D P 1/\varepsilon_{\mathrm{DP}} 1/ ε DP , and 1 / δ D P 1/\delta_{\mathrm{DP}} 1/ δ DP .
Table 1. The rows correspond, respectively, to Theorem 2.1 , Theorem D.1 , Theorem 3.1 , and Theorem 4.1 . Here, D G ≍ d O ( 1 / α 2 ) D_{\mathrm{G}}\asymp d^{O(1/\alpha^2)} D G ≍ d O ( 1/ α 2 ) and D L ≍ d exp ( O ( 1 / α ) ) D_{\mathrm{L}}\asymp d^{\exp(O(1/\alpha))} D L ≍ d e x p ( O ( 1/ α )) match known rates in the non-private setting ([11 , 29 ] ), and O ~ \widetilde{O} O suppresses polylogarithmic factors.
Agnostic Improper learning. Our first result in § 2 gives a private improper agnostic learner under the standard Gaussian marginal. The algorithm relies on private polynomial L 1 L^1 L 1 regression using clipped Hermite features of degree O ( 1 / α 2 ) O(1/\alpha^2) O ( 1/ α 2 ) . A key step is to control the effect of clipping on the error and then convert the expected excess-loss bound to a high-probability one. This achieves an error at most OPT + α +\alpha + α with high probability using sample complexity
n = O ~ ( D p α 2 + D p α ε D P ) where D p = ( d + p p ) (1) n = \widetilde{O}\left(\frac{D_p}{\alpha^2}+\frac{D_p}{\alpha\varepsilon_{\mathrm{DP}}}\right) \quad\text{where} \quad D_p = \binom{d+p}{p} \tag*{(1)} n = O ( α 2 D p + α ε DP D p ) where D p = ( p d + p ) (1)
The first term in Equation (1) is the statistical cost of the problem due to finite samples and the second term is the cost due to privacy. In Appendix § 10 , we extend this approach to known log-concave marginals using p = exp ( O ( 1 / α ) ) p=\exp(O(1/\alpha)) p = exp ( O ( 1/ α )) , incurring an additional α − 1 / 2 \alpha^{-1/2} α − 1/2 factor in the privacy term of Equation (1) (as shown in Table 1 ).
Agnostic Proper learning. In § 3 we give a proper DP learner for halfspaces under Gaussian marginals with error at most OPT + α +\alpha + α . As shown in Table 1 , its sample size is
n = O ~ ( D p α 2 + D p α ε D P + 1 α 6 + 1 ε D P α 5 ) (2) n = \widetilde{O}\left(\frac{D_p}{\alpha^2}+\frac{D_p}{\alpha\varepsilon_{\mathrm{DP}}}+\frac{1}{\alpha^6}+\frac{1}{\varepsilon_{\mathrm{DP}}\alpha^5}\right) \tag*{(2)} n = O ( α 2 D p + α ε DP D p + α 6 1 + ε DP α 5 1 ) (2)
The learner works by first estimating a polynomial privately, similar to the improper case, which gives the first two terms in Equation (2) . Then we show that this polynomial can be used to obtain a subspace of dimension O ( α − 4 ) O(\alpha^{-4}) O ( α − 4 ) which contains a halfspace with error close to OPT. Finally, creating a discrete cover of halfspaces supported on this space, and using the exponential mechanism leads to the final output. This subspace creation, discretisation, and exponential mechanism costs the last two terms in Equation (2) .
Semi-Agnostic Proper learning. In § 4 , we give a proper learner under Gaussian marginals with error at most O ( O P T ) + α O(\mathrm{OPT})+\alpha O ( OPT ) + α . The sample complexity, as described in Table 1 , is
n = O ~ ( d α 2 + d α ε D P ) . (3) n = \widetilde{O}\left(\frac{d}{\alpha^2}+\frac{d}{\alpha\varepsilon_{\mathrm{DP}}}\right). \tag*{(3)} n = O ( α 2 d + α ε DP d ) . (3)
The learner works by utilizing a privatized semi-agnostic learner from Diakonikolas et al. [17 ] that provides the error guarantee of O ( η ) O(\eta) O ( η ) , where η ≥ O P T \eta\geq\mathrm{OPT} η ≥ OPT is known a priori . However, since we do not know what η \eta η is, we search over a small candidate set of η \eta η ’s by using the said privatized learner, and then pick the best hypothesis using the exponential mechanism on a fresh validation set.
Remark 1. Note that d O ( 1 / α 2 ) ⋅ 1 / α c = d O ( 1 / α 2 ) d^{O(1/\alpha^2)}\cdot1/\alpha^c=d^{O(1/\alpha^2)} d O ( 1/ α 2 ) ⋅ 1/ α c = d O ( 1/ α 2 ) . We fix p p p for both improper and proper agnostic settings, such that it is the smallest p ∈ N p\in\mathbb{N} p ∈ N guaranteeing the existence of the polynomial bases that accurately approximate halfspaces. In other words, we use the same p p p as required by the known non-private counterparts of our algorithms (Diakonikolas et al., [11 ] ; Pesenti et al., [45 ] ). Thus, whatever exponent d d d has in the sample complexity of the respective non-private learners, we achieve that, while keeping the additional cost in poly ( 1 / α ) \operatorname{poly}(1/\alpha) poly ( 1/ α ) explicitly outside the exponent of d d d .
Remark 2. We additionally note that the added cost in our sample complexity due to DP matches the non-private sample complexity (terms without ε D P \varepsilon_{\mathrm{DP}} ε DP or δ D P \delta_{\mathrm{DP}} δ DP ) for each of the three Gaussian settings above when ε D P = Ω ( α ) \varepsilon_{\mathrm{DP}}=\Omega(\alpha) ε DP = Ω ( α ) . In that sense, we get privacy for free . This is commonly observed in DP statistical estimation (see, e.g., [33 , 30 ] ), and such sample complexity is often tight for various problems, such as mean and covariance estimation (Kamath et al., [31 ] ).
Notation. We denote the class of halfspaces by C \mathcal{C} C . For a classifier h : R d → { ± 1 } h:\mathbb{R}^d\to\{\pm1\} h : R d → { ± 1 } , its population error is err P ( h ) : = P ( X , Y ) ∼ P [ h ( X ) ≠ Y ] \operatorname{err}_{P}(h):=\mathbb{P}_{(X,Y)\sim P}[h(X)\ne Y] err P ( h ) := P ( X , Y ) ∼ P [ h ( X ) = Y ] and, given a sample S S S , its empirical error is err ^ S ( h ) : = \widehat{\operatorname{err}}_{S}(h):= err S ( h ) := ∣ S ∣ − 1 ∑ ( x , y ) ∈ S 1 { h ( x ) ≠ y } |S|^{-1}\sum_{(x,y)\in S}\mathbf{1}\{h(x)\ne y\} ∣ S ∣ − 1 ∑ ( x , y ) ∈ S 1 { h ( x ) = y } . Unless stated otherwise, the input marginal is μ = N ( 0 , I d ) \mu=\mathcal{N}(0,I_d) μ = N ( 0 , I d ) ; the only exception is our result for log-concave marginals (Theorem D.1 ). We define O P T : = inf c ∈ C err P ( c ) \mathrm{OPT}:=\inf_{c\in\mathcal{C}}\operatorname{err}_P(c) OPT := inf c ∈ C err P ( c ) . For a function g : R d → R g:\mathbb{R}^d\to\mathbb{R} g : R d → R and q ∈ { 1 , 2 } q\in\{1,2\} q ∈ { 1 , 2 } , we write ∥ g ∥ L q ( μ ) : = ( E X ∼ μ [ ∣ g ( X ) ∣ q ] ) 1 / q \|g\|_{L^q(\mu)}:=\left(\mathbb{E}_{X\sim\mu}[|g(X)|^q]\right)^{1/q} ∥ g ∥ L q ( μ ) := ( E X ∼ μ [ ∣ g ( X ) ∣ q ] ) 1/ q . The formal definition of differential privacy and associated properties are given in Appendix § 8 .§ 2 .
Private Improper Agnostic Learning
In this section, we give a differentially private algorithm for agnostically learning halfspaces under Gaussian marginals. We build on the polynomial L 1 L^1 L 1 regression algorithm of Kalai et al. [29 ] , which fits a low-degree polynomial to the labels and then thresholds its predictions.
To privatize this approach, we need two additional properties. We first need a bounded domain that contains the coefficients of a good polynomial approximation to every halfspace. Working in the orthonormal Hermite basis, the unit-norm approximation guarantee of Lemma B.10 allows us to restrict the coefficient vector to the Euclidean unit ball. Second, we need uniformly bounded feature norms so that the regression loss is Lipschitz in the coefficient vector. We obtain this by clipping the feature vectors. This increases the population L 1 L^1 L 1 loss by at most the probability of clipping, which we bound in Lemma C.2 . These two properties allow us to fit the coefficients using private convex optimisation (Kulkarni et al. [36 ] ). We then repeat the DP optimisation step on independent samples to boost its success probability and use the exponential mechanism (McSherry and Talwar [41 ] ) to privately select among the resulting thresholded classifiers. Our main result is stated as follows.
Theorem 2.1 (DP improper agnostic learner for Gaussian marginals). Let α , β , ε D P , δ D P ∈ ( 0 , 1 / 2 ] \alpha,\beta,\varepsilon_{\mathrm{DP}},\delta_{\mathrm{DP}}\in(0,1/2] α , β , ε DP , δ DP ∈ ( 0 , 1/2 ] . Set p = ⌈ C α − 2 ⌉ p=\lceil C\alpha^{-2}\rceil p = ⌈ C α − 2 ⌉ for a sufficiently large universal constant C > 0 C>0 C > 0 , and D p = ( d + p p ) D_p=\binom{d+p}{p} D p = ( p d + p ) . Suppose d ≥ C d i m α − 5 d\ge C_{\mathrm{dim}}\alpha^{-5} d ≥ C dim α − 5 , where C d i m > 0 C_{\mathrm{dim}}>0 C dim > 0 is a sufficiently large universal constant. Let P P P be any distribution on R d × { ± 1 } \mathbb{R}^d\times\{\pm1\} R d × { ± 1 } with marginal μ = N ( 0 , I d ) \mu=\mathcal{N}(0,I_d) μ = N ( 0 , I d ) . Then Algorithm 1 is ( ε D P , δ D P ) (\varepsilon_{\mathrm{DP}},\delta_{\mathrm{DP}}) ( ε DP , δ DP ) -DP. Given
n = O ~ ( D p α 2 + D p ε D P α ) n=\widetilde{O}\left(\frac{D_p}{\alpha^2}+\frac{D_p}{\varepsilon_{\mathrm{DP}}\alpha}\right) n = O ( α 2 D p + ε DP α D p ) i.i.d. samples from P P P , it returns a classifier h h h satisfying err P ( h ) ≤ O P T + α \operatorname{err}_P(h)\le\mathrm{OPT}+\alpha err P ( h ) ≤ OPT + α with probability at least 1 − β 1-\beta 1 − β . The algorithm runs in time poly ( n ) \operatorname{poly}(n) poly ( n ) .
The two terms in the sample complexity arise from statistical estimation and private optimization, respectively. When ε D P ≥ α \varepsilon_{\mathrm{DP}}\ge\alpha ε DP ≥ α , the privacy term is absorbed into the statistical term, so privacy is free up to logarithmic factors. The sample complexity O ~ ( D p / α 2 ) \widetilde{O}(D_p/\alpha^2) O ( D p / α 2 ) matches the dependence on d d d of known algorithms for non-private agnostic learning of halfspaces under Gaussian marginals (Diakonikolas et al. [11 ] ). Moreover, the d 1 / α 2 d^{1/\alpha^2} d 1/ α 2 cost is necessary in the statistical query model, even without privacy (Diakonikolas et al. [16 ] ). In Appendix § 10 , we extend the method to log-concave marginals and establish an analogous guarantee.
The Algorithm
We represent each input x x x by its feature vector ψ p ( x ) = ( h κ ( x ) ) ∣ κ ∣ ≤ p ∈ R D p \psi_p(x)=(h_\kappa(x))_{|\kappa|\le p}\in\mathbb{R}^{D_p} ψ p ( x ) = ( h κ ( x ) ) ∣ κ ∣ ≤ p ∈ R D p of normalized Hermite polynomials (O’Donnell [44 ] ) of degree at most p p p . The degree p = ⌈ C α − 2 ⌉ p=\lceil C\alpha^{-2}\rceil p = ⌈ C α − 2 ⌉ suffices to approximate every halfspace in L 1 ( μ ) L^1(\mu) L 1 ( μ ) up to error α \alpha α (Diakonikolas et al. [11 ] ). To bound the influence of any single example and make the regression loss Lipschitz in its coefficients, we clip the feature vectors to norm at most T = 2 D p T=2\sqrt{D_p} T = 2 D p : ψ ~ p ( x ) : = T ψ p ( x ) / max { T , ∥ ψ p ( x ) ∥ 2 } \widetilde{\psi}_p(x):=T\psi_p(x)/\max\{T,\|\psi_p(x)\|_2\} ψ p ( x ) := T ψ p ( x ) / max { T , ∥ ψ p ( x ) ∥ 2 } . Then, by Lemma C.2 , the Algorithm 1 Private polynomial L 1 L^1 L 1 regression
Require: Sample S S S of size n n n ; parameters α \alpha α , β \beta β , ε D P \varepsilon_{\mathrm{DP}} ε DP , δ D P \delta_{\mathrm{DP}} δ DP .
Set p = ⌈ C α − 2 ⌉ p=\lceil C\alpha^{-2}\rceil p = ⌈ C α − 2 ⌉ , T = 2 D p T=2\sqrt{D_p} T = 2 D p , k = ⌈ log 2 ( 2 / β ) ⌉ k=\lceil\log_2(2/\beta)\rceil k = ⌈ log 2 ( 2/ β )⌉ , M = ⌈ C / α ⌉ M=\lceil C/\alpha\rceil M = ⌈ C / α ⌉ , and n 0 , m n_0,m n 0 , m as in (14b)–(14c).
Partition S S S into training blocks S 1 , … , S k S_1,\ldots,S_k S 1 , … , S k of size n 0 n_0 n 0 and a validation block S v a l S_{\mathrm{val}} S val of size m m m .
for j = 1 , … , k j=1,\ldots,k j = 1 , … , k do
v ^ j ← \hat{v}_j\leftarrow v ^ j ← output of the ( ε D P , δ D P ) (\varepsilon_{\mathrm{DP}},\delta_{\mathrm{DP}}) ( ε DP , δ DP ) -DP optimizer on L ^ S j \widehat{L}_{S_j} L S j over B 2 D p B_2^{D_p} B 2 D p .
end for
For ( j , ℓ ) ∈ [ k ] × [ M ] (j,\ell)\in[k]\times[M] ( j , ℓ ) ∈ [ k ] × [ M ] , set t ℓ = − 1 + ( 2 ℓ − 1 ) / M t_\ell=-1+(2\ell-1)/M t ℓ = − 1 + ( 2 ℓ − 1 ) / M and h j , ℓ ( x ) = sign ( ⟨ v ^ j , ψ ˉ p , T ( x ) ⟩ − t ℓ ) h_{j,\ell}(x)=\operatorname{sign}(\langle\hat{v}_j,\bar{\psi}_{p,T}(x)\rangle-t_\ell) h j , ℓ ( x ) = sign (⟨ v ^ j , ψ ˉ p , T ( x )⟩ − t ℓ ) .
Sample ( ȷ ^ , ℓ ^ ) (\hat{\jmath},\hat{\ell}) ( ^ , ℓ ^ ) with probability proportional to exp ( − ε D P m err ^ S v a l ( h j , ℓ ) / 2 ) \exp(-\varepsilon_{\mathrm{DP}}m\widehat{\operatorname{err}}_{S_{\mathrm{val}}}(h_{j,\ell})/2) exp ( − ε DP m err S val ( h j , ℓ ) /2 ) .
return h ȷ ^ , ℓ ^ h_{\hat{\jmath},\hat{\ell}} h ^ , ℓ ^ .
clipping probability is at most O ( α ) O(\alpha) O ( α ) . Given a sample S S S , the regression step approximately minimizes the empirical L 1 L^1 L 1 loss
L ^ S ( v ) = 1 ∣ S ∣ ∑ ( X i , Y i ) ∈ S ∣ ⟨ v , ψ ˉ p , T ( X i ) ⟩ − Y i ∣ (4) \widehat{L}_S(v)=\frac{1}{|S|}\sum_{(X_i,Y_i)\in S}\left|\langle v,\bar{\psi}_{p,T}(X_i)\rangle-Y_i\right| \tag*{(4)} L S ( v ) = ∣ S ∣ 1 ( X i , Y i ) ∈ S ∑ ⟨ v , ψ ˉ p , T ( X i )⟩ − Y i (4)
over the unit ball B 2 D p = { v ∈ R D p : ∥ v ∥ 2 ≤ 1 } B_2^{D_p}=\{v\in\mathbb{R}^{D_p}:\|v\|_2\le1\} B 2 D p = { v ∈ R D p : ∥ v ∥ 2 ≤ 1 } . This loss is convex and T T T -Lipschitz in v v v , so we apply the private convex ERM algorithm of Kulkarni et al. [36 ] , restated in Lemma B.4 . A potential alternative approach is to implement polynomial regression using statistical queries (Kearns, [35 ] ) and then simulate these queries privately (Kasiviswanathan et al., [34 ] ). For the clipped regression problem of Equation (4), these queries can estimate the expected subgradients. However, making this SQ implementation explicit and replacing its query answers with actual private estimates leads to an algorithm with basically the same structure as ours. For this reason, we do not write the SQ version of this algorithm here.
Next, the regression guarantee holds in expectation, so we repeat the regression step on independent training blocks to ensure that at least one output has small population loss with high probability. Specifically, Algorithm 1 first partitions the sample into k k k training blocks of size n 0 n_0 n 0 and a validation block of size m m m . It runs the private optimizer on each training block to obtain coefficient vectors v ^ 1 , … , v ^ k \hat{v}_1,\ldots,\hat{v}_k v ^ 1 , … , v ^ k with scores ⟨ v ^ j , ψ ˉ p , T ( x ) ⟩ \langle\hat{v}_j,\bar{\psi}_{p,T}(x)\rangle ⟨ v ^ j , ψ ˉ p , T ( x )⟩ , and then thresholds them at M M M evenly spaced points in [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] to produce k M kM k M candidate classifiers. Finally, it selects one candidate using the exponential mechanism (McSherry and Talwar, [41 ] ), scoring each candidate by its fraction err ^ S v a l ( ⋅ ) \widehat{\operatorname{err}}_{S_{\mathrm{val}}}(\cdot) err S val ( ⋅ ) of misclassified validation examples. Repeating the regression step on k k k blocks boosts its success probability, and the validation step chooses the coefficient vector and the threshold jointly.
Analysis
In this section, we outline the accuracy analysis; the full accuracy and privacy proofs are deferred to Appendix § 9 . Define the population loss L P ( v ) : = E ( X , Y ) ∼ P [ ⟨ v , ψ ˉ p , T ( X ) ⟩ − Y ] L_P(v):=\mathbb{E}_{(X,Y)\sim P}[\langle v,\bar{\psi}_{p,T}(X)\rangle-Y] L P ( v ) := E ( X , Y ) ∼ P [⟨ v , ψ ˉ p , T ( X )⟩ − Y ] and its minimum over the unit ball L ∗ : = min ∥ v ∥ 2 ≤ 1 L P ( v ) L^*:=\min_{\|v\|_2\le1}L_P(v) L ∗ := min ∥ v ∥ 2 ≤ 1 L P ( v ) . For a universal constant c ∈ ( 0 , 1 / 4 ] c\in(0,1/4] c ∈ ( 0 , 1/4 ] , we first compare the minimum regression loss with the error of the best halfspace:
L ∗ ≤ 2 OPT + 2 c α . (5) L^*\le2\operatorname{OPT}+2c\alpha. \tag*{(5)} L ∗ ≤ 2 OPT + 2 c α . (5)
We then show that the algorithm returns a classifier whose error satisfies
err P ( h ) ≤ 1 2 L ∗ + 3 c α (6) \operatorname{err}_P(h)\le\frac{1}{2}L^*+3c\alpha \tag*{(6)} err P ( h ) ≤ 2 1 L ∗ + 3 c α (6)
with probability at least 1 − β 1-\beta 1 − β . Together, these give err P ( h ) ≤ OPT + 4 c α ≤ OPT + α \operatorname{err}_P(h)\le\operatorname{OPT}+4c\alpha\le\operatorname{OPT}+\alpha err P ( h ) ≤ OPT + 4 c α ≤ OPT + α with the same probability.
We begin with Equation (5) , which compares the clipped regression problem with the best halfspace. Fix f ∈ C f \in\mathcal{C} f ∈ C . By Lemma B.10 ([11 , 45 ] ), there is a polynomial q = ⟨ v q , ψ p ⟩ q = \langle v_q, \psi_p\rangle q = ⟨ v q , ψ p ⟩ with ∥ v q ∥ 2 ≤ 1 \lVert v_q\rVert_2 \le1 ∥ v q ∥ 2 ≤ 1 and ∥ q − f ∥ L 1 ( μ ) ≤ c α \lVert q-f\rVert_{L_1(\mu)} \le c\alpha ∥ q − f ∥ L 1 ( μ ) ≤ c α . Let s ( x ) : = T / max { T , ∥ ψ p ( x ) ∥ 2 } s(x) := T/\max\{T,\lVert\psi_p(x)\rVert_2\} s ( x ) := T / max { T , ∥ ψ p ( x ) ∥ 2 } , so that ψ ‾ p , T ( x ) = s ( x ) ψ p ( x ) \overline{\psi}_{p,T}(x) = s(x)\psi_p(x) ψ p , T ( x ) = s ( x ) ψ p ( x ) . Since ⟨ v q , ψ ‾ p , T ( x ) ⟩ = s ( x ) q ( x ) \langle v_q,\overline{\psi}_{p,T}(x)\rangle= s(x)q(x) ⟨ v q , ψ p , T ( x )⟩ = s ( x ) q ( x ) with 0 < s ( x ) ≤ 1 0 < s(x) \le1 0 < s ( x ) ≤ 1 , and ∣ y ∣ = 1 \lvert y\rvert= 1 ∣ y ∣ = 1 ,
∣ s ( x ) q ( x ) − y ∣ ≤ s ( x ) ∣ q ( x ) − y ∣ + 1 − s ( x ) ≤ ∣ q ( x ) − f ( x ) ∣ + ∣ f ( x ) − y ∣ + 1 − s ( x ) . \begin{aligned}
\lvert s(x)q(x)-y\rvert&\le s(x)\lvert q(x)-y\rvert+ 1-s(x) \\
&\le\lvert q(x)-f(x)\rvert+ \lvert f(x)-y\rvert+ 1-s(x).
\end{aligned} ∣ s ( x ) q ( x ) − y ∣ ≤ s ( x ) ∣ q ( x ) − y ∣ + 1 − s ( x ) ≤ ∣ q ( x ) − f ( x )∣ + ∣ f ( x ) − y ∣ + 1 − s ( x ) .
The first inequality follows by adding and subtracting s ( x ) y s(x)y s ( x ) y and applying the triangle inequality. Taking expectations gives
L P ( v q ) ≤ 2 err P ( f ) + ∥ q − f ∥ L 1 ( μ ) + E μ [ 1 − s ( X ) ] . L_P(v_q) \le2\operatorname{err}_P(f) + \lVert q-f\rVert_{L_1(\mu)} + \mathbb{E}_{\mu}[1-s(X)]. L P ( v q ) ≤ 2 err P ( f ) + ∥ q − f ∥ L 1 ( μ ) + E μ [ 1 − s ( X )] .
The three terms are the classification error of f f f , the polynomial approximation error, and the clipping bias. Since 1 − s ( x ) ≤ 1 { ∥ ψ p ( x ) ∥ 2 > T } 1-s(x) \le\mathbf{1}\{\lVert\psi_p(x)\rVert_2 > T\} 1 − s ( x ) ≤ 1 {∥ ψ p ( x ) ∥ 2 > T } , Lemma C.2 bounds the last term by c α c\alpha c α . Clipping thus enters only through its probability. The approximation error is also at most c α c\alpha c α , so L P ( v q ) ≤ 2 err P ( f ) + 2 c α L_P(v_q) \le2\operatorname{err}_P(f)+2c\alpha L P ( v q ) ≤ 2 err P ( f ) + 2 c α . As ∥ v q ∥ 2 ≤ 1 \lVert v_q\rVert_2 \le1 ∥ v q ∥ 2 ≤ 1 , we have L ⋆ ≤ L P ( v q ) L^\star\le L_P(v_q) L ⋆ ≤ L P ( v q ) , and taking the infimum over f f f gives (5) .
For Equation (6) , we first show that at least one of the k k k regression runs is nearly optimal. The loss is convex and T T T -Lipschitz and thus for each training block, Lemma B.4 from Kulkarni et al. [36 ] bounds the expected optimization error. Then, standard Rademacher complexity bound for linear predictors under L 1 L_1 L 1 loss (Lemma B.7 ), applied with E μ ∥ ψ ‾ p , T ( X ) ∥ 2 2 ≤ D p \mathbb{E}_{\mu}\lVert\overline{\psi}_{p,T}(X)\rVert_2^2 \le D_p E μ ∥ ψ p , T ( X ) ∥ 2 2 ≤ D p , bounds the expected deviation between the empirical and population losses. We choose n 0 n_0 n 0 so that these two contributions sum to at most c α c\alpha c α (see (16) ), giving
E [ L P ( v ^ j ) ] − L ⋆ ≤ c α , \mathbb{E}[L_P(\hat{v}_j)]-L^\star\le c\alpha, E [ L P ( v ^ j )] − L ⋆ ≤ c α ,
where the expectation is over S j S_j S j and the optimizer’s randomness. Since v ^ j \hat{v}_j v ^ j lies in the unit ball, its excess loss L P ( v ^ j ) − L ⋆ L_P(\hat{v}_j)-L^\star L P ( v ^ j ) − L ⋆ is non-negative. Markov’s inequality therefore gives L P ( v ^ j ) ≤ L ⋆ + 2 c α L_P(\hat{v}_j) \le L^\star+2c\alpha L P ( v ^ j ) ≤ L ⋆ + 2 c α with probability at least 1 / 2 1/2 1/2 . The k k k runs are independent, so with probability at least 1 − 2 − k ≥ 1 − β / 2 1-2^{-k} \ge1-\beta/2 1 − 2 − k ≥ 1 − β /2 , some run j ⋆ j^\star j ⋆ satisfies this bound.
We next show that thresholding this run yields a good candidate classifier. For any fixed regression output v ^ j \hat{v}_j v ^ j , a uniformly random threshold τ ∈ [ − 1 , 1 ] \tau\in[-1,1] τ ∈ [ − 1 , 1 ] gives expected classification error at most L P ( v ^ j ) / 2 L_P(\hat{v}_j)/2 L P ( v ^ j ) /2 , where the expectation is over τ \tau τ ([29 ] , see also Fact B.6 ). Rounding τ \tau τ to the midpoint of its grid interval makes it uniform over the M M M grid thresholds and increases the expected classification error by at most 1 / ( 2 M ) ≤ c α 1/(2M) \le c\alpha 1/ ( 2 M ) ≤ c α . Thus, at least one grid threshold has error no larger than this average. On the event that some run j ⋆ j^\star j ⋆ satisfies this loss bound, we have that
min j , ℓ err P ( h j , ℓ ) ≤ 1 2 L P ( v ^ j ⋆ ) + c α ≤ 1 2 L ⋆ + 2 c α . \min_{j,\ell}\operatorname{err}_P(h_{j,\ell}) \le\frac{1}{2}L_P(\hat{v}_{j^\star})+c\alpha\le\frac{1}{2}L^\star+2c\alpha. j , ℓ min err P ( h j , ℓ ) ≤ 2 1 L P ( v ^ j ⋆ ) + c α ≤ 2 1 L ⋆ + 2 c α .
This establishes that the candidate set contains a good classifier. It remains to select one privately. The algorithm uses the exponential mechanism on the independent validation sample S v a l S_{\mathrm{val}} S val to select among the k M kM k M candidate classifiers. By Lemma B.5 , with m m m as in (17) , the selected classifier has error at most c α c\alpha c α above the best candidate with probability at least 1 − β / 2 1-\beta/2 1 − β /2 . A union bound over the training and validation failure events proves Equation (6) .
Finally, since T D p = 2 D p T\sqrt{D_p}=2D_p T D p = 2 D p and k = O ( log ( 1 / β ) ) k=\mathcal{O}(\log(1/\beta)) k = O ( log ( 1/ β )) , the choices of n 0 n_0 n 0 and m m m give the sample bound of Theorem 2.1 . Computing the features, running the k k k private optimizers, and evaluating the k M kM k M candidates on S v a l S_{\mathrm{val}} S val take poly ( n ) \operatorname{poly}(n) poly ( n ) arithmetic operations. The detailed proof, along with privacy and runtime calculations appear in Appendix § 9 .
Remark 3. The dimension assumption in Theorem 2.1 allows us to use the clipping radius T = 2 D p T = 2\sqrt{D_p} T = 2 D p . To obtain a guarantee in every dimension, we instead take T = D p / ( c α ) T = \sqrt{D_p}/(c\alpha) T = D p / ( c α ) for a sufficiently small universal constant c > 0 c > 0 c > 0 . Orthonormality and Markov’s inequality give
Pr μ ( ∥ ψ p ( X ) ∥ 2 > T ) ≤ D p T 2 = c α . (7) \Pr_{\mu}(\lVert\psi_p(X)\rVert_2 > T) \le\frac{D_p}{T^2} = c\alpha. \tag*{(7)} μ Pr (∥ ψ p ( X ) ∥ 2 > T ) ≤ T 2 D p = c α . (7)
Replacing Lemma C.2 with this bound, the same analysis (see Appendix § 9 ) establishes the learning guarantee of Theorem 2.1 for every d ≥ 1 d \ge1 d ≥ 1 . The statistical term in the sample complexity remains unchanged, and the privacy term acquires an additional α − 1 / 2 \alpha^{-1/2} α − 1/2 factor.
Private Proper Agnostic Learning
The agnostic learner in § 2 is improper since its output need not be a halfspace. In this section, we provide a private proper learner that outputs a halfspace in R d \mathbb{R}^d R d . A halfspace requires only O ( d ) O(d) O ( d ) parameters, compared to d O ( 1 / α 2 ) d^{O(1/\alpha^2)} d O ( 1/ α 2 ) coefficients for the improper hypothesis, and is faster to evaluate on a point and also easier to interpret.
We will adapt the low-rank subspace reduction of Diakonikolas et al. [15 ] to design the learner. First, it constructs a finite class of halfspaces from a polynomial with sufficiently small excess squared loss. The resulting class is guaranteed to contain a halfspace whose error is close to the best halfspace. Once we have this finite class of halfspaces, we use the exponential mechanism (McSherry and Talwar, [41 ] ) to privately select a halfspace from it. Our main result is stated below.
Theorem 3.1 (DP proper agnostic learner). Let α , β , δ D P ∈ ( 0 , 1 / 2 ) \alpha,\beta,\delta_{\mathrm{DP}} \in(0,1/2) α , β , δ DP ∈ ( 0 , 1/2 ) and ε D P ∈ ( 0 , 1 ) \varepsilon_{\mathrm{DP}} \in(0,1) ε DP ∈ ( 0 , 1 ) . Set p = ⌈ C 0 / ( c α ) 2 ⌉ p = \lceil C_0/(c\alpha)^2\rceil p = ⌈ C 0 / ( c α ) 2 ⌉ for a sufficiently large universal constant C 0 > 0 C_0 > 0 C 0 > 0 and a sufficiently small universal constant c > 0 c > 0 c > 0 , let D p = ( d + p p ) D_p = \binom{d+p}{p} D p = ( p d + p ) , and suppose that d ≥ C d i m α − 5 d \ge C_{\mathrm{dim}}\alpha^{-5} d ≥ C dim α − 5 for a sufficiently large universal constant C d i m > 0 C_{\mathrm{dim}} > 0 C dim > 0 . Let P P P be any distribution on R d × { ± 1 } \mathbb{R}^d \times\{\pm1\} R d × { ± 1 } with marginal μ = N ( 0 , I d ) \mu= \mathcal{N}(0,I_d) μ = N ( 0 , I d ) . Then Algorithm 2 is ( ε D P , δ D P ) (\varepsilon_{\mathrm{DP}},\delta_{\mathrm{DP}}) ( ε DP , δ DP ) -DP and, given
n = O ~ ( D p α 2 + D p ε D P α + 1 α 6 + 1 ε D P α 5 ) n = \widetilde{O}\left(\frac{D_p}{\alpha^2} + \frac{D_p}{\varepsilon_{\mathrm{DP}}\alpha} + \frac{1}{\alpha^6} + \frac{1}{\varepsilon_{\mathrm{DP}}\alpha^5}\right) n = O ( α 2 D p + ε DP α D p + α 6 1 + ε DP α 5 1 ) i.i.d. samples from P P P , returns a halfspace h ∈ C h \in\mathcal{C} h ∈ C satisfying err P ( h ) ≤ OPT + α \operatorname{err}_P(h) \le\operatorname{OPT} + \alpha err P ( h ) ≤ OPT + α with probability at least 1 − β 1-\beta 1 − β . The algorithm runs in time poly ( n ) ⋅ exp ( O ( α − 4 log ( 1 / α ) ) ) \operatorname{poly}(n) \cdot\exp(O(\alpha^{-4}\log(1/\alpha))) poly ( n ) ⋅ exp ( O ( α − 4 log ( 1/ α ))) .
A proof sketch appears at the end of this section, and the full proof is given in Appendix § 11 . We use a strengthened version of the subspace reduction of Diakonikolas et al. [15 ] , reducing the polynomial degree from O ( 1 / α 4 ) O(1/\alpha^4) O ( 1/ α 4 ) to O ( 1 / α 2 ) O(1/\alpha^2) O ( 1/ α 2 ) . This reduces the subspace dimension from O ( 1 / α 6 ) O(1/\alpha^6) O ( 1/ α 6 ) to O ( 1 / α 4 ) O(1/\alpha^4) O ( 1/ α 4 ) and yields a smaller finite class for the exponential mechanism. We also extend the reduction to labels in [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] . Lemma 3.2 states this guarantee.
Thus, our sample bound has the same ( ( d + p p ) ) (d+p \choose p) ( p ) ( d + p ) dependence on the dimension as non-private improper agnostic learning under Gaussian marginals (Diakonikolas et al., [11 ] ), while returning a halfspace. When ε D P ≥ α \varepsilon_{\mathrm{DP}} \ge\alpha ε DP ≥ α , the privacy terms are absorbed into the statistical terms D p / α 2 + 1 / α 6 D_p/\alpha^2 + 1/\alpha^6 D p / α 2 + 1/ α 6 , up to logarithmic factors. In this regime, privacy comes essentially for free.
The factor exp ( O ( α − 4 log ( 1 / α ) ) ) \exp(O(\alpha^{-4}\log(1/\alpha))) exp ( O ( α − 4 log ( 1/ α ))) in the running time arises from constructing and searching a finite cover of halfspaces of at most this size, so the running time is polynomial in n n n for every fixed accuracy α \alpha α . The non-private proper learner of Diakonikolas et al. [15 ] also searches such a cover, and its running time likewise includes a term exponential in poly ( 1 / α ) \operatorname{poly}(1/\alpha) poly ( 1/ α ) .
Lemma 3.2. There exist universal constants C 0 , C , c 0 > 0 C_0, C, c_0 > 0 C 0 , C , c 0 > 0 such that the following holds. Let ( X , U ) (X,U) ( X , U ) have any joint distribution with X ∼ N ( 0 , I d ) X \sim\mathcal{N}(0,I_d) X ∼ N ( 0 , I d ) and ∣ U ∣ ≤ 1 |U| \le1 ∣ U ∣ ≤ 1 . Fix α ∈ ( 0 , 1 / 2 ) \alpha\in(0,1/2) α ∈ ( 0 , 1/2 ) , and set p = ⌈ C 0 α − 2 ⌉ p = \lceil C_0\alpha^{-2}\rceil p = ⌈ C 0 α − 2 ⌉ . Let P p \mathcal{P}_p P p denote the space of polynomials on R d \mathbb{R}^d R d of degree at most p p p . Suppose that q ∈ P p q \in\mathcal{P}_p q ∈ P p satisfies
E [ ( U − q ( X ) ) 2 ] ≤ inf Q ∈ P p E [ ( U − Q ( X ) ) 2 ] + c 0 2 α 2 . (8) \mathbb{E}\left[(U-q(X))^2\right] \le\inf_{Q\in\mathcal{P}_p}\mathbb{E}\left[(U-Q(X))^2\right] + c_0^2\alpha^2. \tag*{(8)} E [ ( U − q ( X ) ) 2 ] ≤ Q ∈ P p inf E [ ( U − Q ( X ) ) 2 ] + c 0 2 α 2 . (8) Using just q q q and α \alpha α , we can construct a finite class of halfspaces H ( q ) ⊆ C \mathcal{H}(q) \subseteq\mathcal{C} H ( q ) ⊆ C satisfying log ∣ H ( q ) ∣ ≤ C α − 4 log ( 1 / α ) \log|\mathcal{H}(q)| \le C\alpha^{-4}\log(1/\alpha) log ∣ H ( q ) ∣ ≤ C α − 4 log ( 1/ α ) , such that, for every f ∈ C f \in\mathcal{C} f ∈ C , there exists h ∈ H ( q ) h \in\mathcal{H}(q) h ∈ H ( q ) with E [ U ( f ( X ) − h ( X ) ) ] ≤ C α \mathbb{E}[U(f(X)-h(X))] \le C\alpha E [ U ( f ( X ) − h ( X ))] ≤ C α .
The proof is stated in Appendix § 11 . A natural idea is to obtain the polynomial q q q from our private improper learner in Theorem 2.1 . However, the coefficients v ^ j \hat{v}_j v ^ j obtained in each regression run of Algorithm 1 only satisfy the following L 1 L^1 L 1 guarantee:
E ( X , Y ) ∼ P [ ∣ ⟨ v ^ j , ψ ˉ p , T ( X ) ⟩ − Y ∣ ] ≤ min ∥ v ∥ 2 ≤ 1 E ( X , Y ) ∼ P [ ∣ ⟨ v , ψ ˉ p , T ( X ) ⟩ − Y ∣ ] + O ( α ) , \mathbb{E}_{(X,Y)\sim P}\left[\left|\langle\hat{v}_j,\bar{\psi}_{p,T}(X)\rangle-Y\right|\right] \le\min_{\|v\|_2\le1}\mathbb{E}_{(X,Y)\sim P}\left[\left|\langle v,\bar{\psi}_{p,T}(X)\rangle-Y\right|\right] + O(\alpha), E ( X , Y ) ∼ P [ ⟨ v ^ j , ψ ˉ p , T ( X )⟩ − Y ] ≤ ∥ v ∥ 2 ≤ 1 min E ( X , Y ) ∼ P [ ⟨ v , ψ ˉ p , T ( X )⟩ − Y ] + O ( α ) ,
which does not imply the excess squared-loss bound in Equation (8) . Moreover, the function ⟨ v ^ j , ψ ˉ p , T ( X ) ⟩ \langle\hat{v}_j,\bar{\psi}_{p,T}(X)\rangle ⟨ v ^ j , ψ ˉ p , T ( X )⟩ is a linear combination of clipped Hermite features ψ ˉ p , T ( X ) \bar{\psi}_{p,T}(X) ψ ˉ p , T ( X ) and therefore need not be a polynomial as required in Lemma 3.2 . We therefore need a different private polynomial construction that directly controls excess squared loss.
Constructing a private polynomial with small excess squared loss
To construct the polynomial, we propose a simple estimator based on the correlations between the labels and the Hermite features. For squared-loss regression, these correlations give the coefficients of the optimal polynomial (see Lemma 3.3 below). However, clipping changes the correlations between the labels and the Hermite features. Write m = E [ Y ψ p ( X ) ] m = \mathbb{E}[Y\psi_p(X)] m = E [ Y ψ p ( X )] for the original correlation vector and m T = E [ Y ψ ˉ p , T ( X ) ] m_T = \mathbb{E}[Y\bar{\psi}_{p,T}(X)] m T = E [ Y ψ ˉ p , T ( X )] for the correlation vector computed using clipped features. Then
∥ m − m T ∥ 2 = sup ∥ v ∥ 2 = 1 ∣ E [ Y ( 1 − s ( X ) ) ⟨ v , ψ p ( X ) ⟩ ] ∣ ≤ E [ ( 1 − s ( X ) ) 2 ] ≤ Pr μ [ ∥ ψ p ( X ) ∥ 2 > T ] = O ( α ) , \begin{aligned}
\lVert m-m_T\rVert_2 = \sup_{\lVert v\rVert_2=1}\left|\mathbb{E}\left[Y(1-s(X))\langle v,\psi_p(X)\rangle\right]\right| \\
&\le\sqrt{\mathbb{E}\left[(1-s(X))^2\right]} \le\sqrt{\Pr_{\mu}\left[\lVert\psi_p(X)\rVert_2>T\right]} = O(\sqrt{\alpha}),
\end{aligned} ∥ m − m T ∥ 2 = ∥ v ∥ 2 = 1 sup ∣ E [ Y ( 1 − s ( X )) ⟨ v , ψ p ( X )⟩ ] ∣ ≤ E [ ( 1 − s ( X ) ) 2 ] ≤ μ Pr [ ∥ ψ p ( X ) ∥ 2 > T ] = O ( α ) ,
where the first inequality uses Cauchy–Schwarz and orthonormality of Hermite functions, and the last inequality uses O ( α ) O(\alpha) O ( α ) bound on the clipping probability from § 2 (see Lemma C.2 ). Thus, a O ( α ) O(\sqrt{\alpha}) O ( α ) bound on the difference between the original and clipped correlations only gives an O ( α ) O(\alpha) O ( α ) bound on excess squared loss, whereas Lemma 3.2 requires an O ( α 2 ) O(\alpha^2) O ( α 2 ) excess squared loss. Therefore, we need our estimated coefficients to be within O ( α ) O(\alpha) O ( α ) of the optimal coefficients.
We show that this can be achieved by constructing the polynomial for the clipped labels U = s ( X ) Y U=s(X)Y U = s ( X ) Y , using the loss L s ( Q ) = E [ ( U − Q ( X ) ) 2 ] L_s(Q)=\mathbb{E}\left[(U-Q(X))^2\right] L s ( Q ) = E [ ( U − Q ( X ) ) 2 ] . Note that ∣ U ∣ = ∣ s ( X ) Y ∣ ≤ 1 |U|=|s(X)Y|\le1 ∣ U ∣ = ∣ s ( X ) Y ∣ ≤ 1 . Then, the corresponding correlation vector is m T = E [ Y ψ ˉ p , T ( X ) ] = E [ U ψ p ( X ) ] m_T=\mathbb{E}[Y\bar{\psi}_{p,T}(X)]=\mathbb{E}[U\psi_p(X)] m T = E [ Y ψ ˉ p , T ( X )] = E [ U ψ p ( X )] . By orthonormality of the Hermite basis, m T m_T m T is exactly the coefficient vector minimizing L s L_s L s over P p \mathcal{P}_p P p .
Lemma 3.3. Let X ∼ N ( 0 , I d ) X\sim\mathcal{N}(0,I_d) X ∼ N ( 0 , I d ) , let ∣ U ∣ ≤ 1 |U|\le1 ∣ U ∣ ≤ 1 , and write m T = E [ U ψ p ( X ) ] m_T=\mathbb{E}[U\psi_p(X)] m T = E [ U ψ p ( X )] . The polynomial q m T ( x ) = ⟨ m T , ψ p ( x ) ⟩ q_{m_T}(x)=\langle m_T,\psi_p(x)\rangle q m T ( x ) = ⟨ m T , ψ p ( x )⟩ is the unique minimizer of L s L_s L s over P p \mathcal{P}_p P p .
Proof of Lemma 3.3 . Every polynomial in P p \mathcal{P}_p P p can be written as q w ( x ) = ⟨ w , ψ p ( x ) ⟩ q_w(x)=\langle w,\psi_p(x)\rangle q w ( x ) = ⟨ w , ψ p ( x )⟩ for some w ∈ R D p w\in\mathbb{R}^{D_p} w ∈ R D p . Using orthonormality of the Hermite basis, we get E [ ψ p ( X ) ψ p ( X ) T ] = I D p \mathbb{E}[\psi_p(X)\psi_p(X)^\mathsf{T}]=I_{D_p} E [ ψ p ( X ) ψ p ( X ) T ] = I D p . Then,
L s ( q w ) = E [ ( U − q w ( X ) ) 2 ] = E [ U 2 ] − 2 ⟨ w , m T ⟩ + ∥ w ∥ 2 2 = E [ U 2 ] − ∥ m T ∥ 2 2 + ∥ w − m T ∥ 2 2 . (9) \begin{aligned}
L_s(q_w)=\mathbb{E}\left[(U-q_w(X))^2\right]=\mathbb{E}[U^2]-2\langle w,m_T\rangle+\lVert w\rVert_2^2 \\
&=\mathbb{E}[U^2]-\lVert m_T\rVert_2^2+\lVert w-m_T\rVert_2^2. \tag*{(9)}
\end{aligned} L s ( q w ) = E [ ( U − q w ( X ) ) 2 ] = E [ U 2 ] − 2 ⟨ w , m T ⟩ + ∥ w ∥ 2 2 = E [ U 2 ] − ∥ m T ∥ 2 2 + ∥ w − m T ∥ 2 2 . (9)
Algorithm 2 Private proper learning of Gaussian halfspaces
Require: Sample S S S of size n n n , accuracy α \alpha α , failure probability β \beta β , and privacy parameters ( ε D P , δ D P ) (\varepsilon_{\mathrm{DP}}, \delta_{\mathrm{DP}}) ( ε DP , δ DP ) .
Set p = ⌈ C 0 / ( c α ) ⌉ p = \lceil C_0/(c\alpha)\rceil p = ⌈ C 0 / ( c α )⌉ , D p = ( d + p p ) D_p = \binom{d+p}{p} D p = ( p d + p ) , and T = 2 D p T = 2\sqrt{D_p} T = 2 D p , where c > 0 c > 0 c > 0 is a sufficiently small universal constant.
Split S S S into disjoint blocks S 1 , S 2 S_1, S_2 S 1 , S 2 of size n / 2 n/2 n /2 each, independently of the sample values.
Draw Z ∼ N ( 0 , σ 2 I D p ) Z \sim\mathcal{N}(0, \sigma^2 I_{D_p}) Z ∼ N ( 0 , σ 2 I D p ) with σ = 4 T 2 log ( 1.25 / δ D P ) ε D P n \sigma= \frac{4T\sqrt{2\log(1.25/\delta_{\mathrm{DP}})}}{\varepsilon_{\mathrm{DP}}n} σ = ε DP n 4 T 2 l o g ( 1.25/ δ DP ) .
m ~ ← Proj B D p 2 ( 2 n ∑ ( X i , Y i ) ∈ S 1 Y i ψ ‾ p , T ( X i ) + Z ) \widetilde{m} \leftarrow\operatorname{Proj}_{B_{D_p}^2}\left(\frac{2}{n}\sum_{(X_i,Y_i)\in S_1}Y_i\overline{\psi}_{p,T}(X_i)+Z\right) m ← Proj B D p 2 ( n 2 ∑ ( X i , Y i ) ∈ S 1 Y i ψ p , T ( X i ) + Z ) and set q ( x ) ← ⟨ m ~ , ψ p ( x ) ⟩ q(x) \leftarrow\langle\widetilde{m},\psi_p(x)\rangle q ( x ) ← ⟨ m , ψ p ( x )⟩ .
Construct H ( q ) \mathcal{H}(q) H ( q ) using the construction in Lemma 3.2 with accuracy c α c\alpha c α .
Sample h ∈ H ( q ) h \in\mathcal{H}(q) h ∈ H ( q ) with probability proportional to exp ( − ( ε D P / 2 ) ∑ ( X i , Y i ) ∈ S 2 1 { h ( X i ) ≠ Y i } ) \exp\left(-(\varepsilon_{\mathrm{DP}}/2)\sum_{(X_i,Y_i)\in S_2}\mathbf{1}\{h(X_i)\ne Y_i\}\right) exp ( − ( ε DP /2 ) ∑ ( X i , Y i ) ∈ S 2 1 { h ( X i ) = Y i } ) .
return h h h .
The first two terms do not depend on w w w . Thus, the loss is minimized uniquely at w = m T w = m_T w = m T .
Thus, our goal is to estimate m T m_T m T privately. For any estimate m ~ \widetilde{m} m , using Equation (9) , we get that the polynomial q m ~ ( x ) = ⟨ m ~ , ψ p ( x ) ⟩ q_{\widetilde{m}}(x) = \langle\widetilde{m},\psi_p(x)\rangle q m ( x ) = ⟨ m , ψ p ( x )⟩ satisfies
L s ( q m ~ ) − inf Q ∈ P p L s ( Q ) = ∥ m ~ − m T ∥ 2 2 . L_s(q_{\widetilde{m}})-\inf_{Q\in\mathcal{P}_p}L_s(Q)=\|\widetilde{m}-m_T\|_2^2. L s ( q m ) − Q ∈ P p inf L s ( Q ) = ∥ m − m T ∥ 2 2 .
It therefore suffices to estimate a coefficient vector m ~ \widetilde{m} m such that ∥ m ~ − m T ∥ 2 ≤ c 0 c α \|\widetilde{m}-m_T\|_2\le c_0c\alpha ∥ m − m T ∥ 2 ≤ c 0 c α for some constant c 0 > 0 c_0>0 c 0 > 0 . The regression step in Algorithm 2 (Step 4) estimates these correlations using the Gaussian mechanism and projects the estimate onto the coefficient unit ball. Since ∥ m T ∥ 2 ≤ 1 \|m_T\|_2\le1 ∥ m T ∥ 2 ≤ 1 , projection cannot increase the estimation error. The following lemma gives the guarantee for the resulting polynomial.
Lemma 3.4. Let α , β , δ D P ∈ ( 0 , 1 / 2 ) \alpha,\beta,\delta_{\mathrm{DP}}\in(0,1/2) α , β , δ DP ∈ ( 0 , 1/2 ) and ε D P ∈ ( 0 , 1 ] \varepsilon_{\mathrm{DP}}\in(0,1] ε DP ∈ ( 0 , 1 ] . Let q q q be the polynomial constructed in Step 4 of Algorithm 2, using the n / 2 n/2 n /2 independent samples in S 1 S_1 S 1 . Its release is ( ε D P , δ D P ) (\varepsilon_{\mathrm{DP}},\delta_{\mathrm{DP}}) ( ε DP , δ DP ) -differentially private, and ∥ q ∥ L 2 ( μ ) ≤ 1 \|q\|_{L^2(\mu)}\le1 ∥ q ∥ L 2 ( μ ) ≤ 1 on every run. If n / 2 = Ω ~ ( D p / α 2 + D p / ( ε D P α ) ) n/2=\widetilde{\Omega}(D_p/\alpha^2+D_p/(\varepsilon_{\mathrm{DP}}\alpha)) n /2 = Ω ( D p / α 2 + D p / ( ε DP α )) , then, with probability at least 1 − β / 2 1-\beta/2 1 − β /2 ,
L s ( q ) ≤ inf Q ∈ P p L s ( Q ) + c 0 2 c 2 α 2 . (10) L_s(q)\le\inf_{Q\in\mathcal{P}_p}L_s(Q)+c_0^2c^2\alpha^2. \tag*{(10)} L s ( q ) ≤ Q ∈ P p inf L s ( Q ) + c 0 2 c 2 α 2 . (10)
The proof is given in Appendix § 11 .
Constructing the finite set of halfspaces
We now use the polynomial q q q computed in Step 4 of Algorithm 2 to construct a finite class of halfspaces. On the event in Lemma 3.4 , this polynomial satisfies the squared-loss condition (Equation (8) ) of Lemma 3.2 with accuracy c α c\alpha c α . We therefore apply Lemma 3.2 in Step 5 to construct H ( q ) \mathcal{H}(q) H ( q ) . The full algorithm and proof are given in Appendix § 11 . The algorithm follows the subspace and discretization construction of Diakonikolas et al. [15 ] . Specifically, we compute
M = E X ∼ N ( 0 , I d ) [ ∇ q ( X ) ∇ q ( X ) T ] . M=\mathbb{E}_{X\sim\mathcal{N}(0,I_d)}\left[\nabla q(X)\nabla q(X)^{\mathsf T}\right]. M = E X ∼ N ( 0 , I d ) [ ∇ q ( X ) ∇ q ( X ) T ] .
and take V V V to be the span of its eigenvectors with eigenvalues at least c 2 α 2 / C 0 c^2\alpha^2/C_0 c 2 α 2 / C 0 . They show that the resulting subspace has dimension O ( α − 4 ) O(\alpha^{-4}) O ( α − 4 ) . Discretizing unit normal vectors in V V V gives a finite class of halfspaces satisfying log ∣ H ( q ) ∣ = O ( α − 4 log ( 1 / α ) ) \log|\mathcal{H}(q)| = O\left(\alpha^{-4}\log(1/\alpha)\right) log ∣ H ( q ) ∣ = O ( α − 4 log ( 1/ α ) ) . All these operations use only q q q and the known Gaussian marginal, so Algorithm 2 preserves DP by post-processing (Lemma B.3).
Lemma 3.4 guarantees the polynomial q q q has small excess squared loss for the clipped labels U U U . Lemma 3.5 next translates this guarantee into classification error for the original labels.
Lemma 3.5. Suppose that d ≥ C d i m α − 5 d \ge C_{\mathrm{dim}}\alpha^{-5} d ≥ C dim α − 5 for a sufficiently large universal constant C d i m C_{\mathrm{dim}} C dim and C C C is the constant in Lemma 3.2. Let q q q and H ( q ) \mathcal{H}(q) H ( q ) be constructed by Algorithm 2. If q q q satisfies Equation (10) ,
min h ∈ H ( q ) err P ( h ) ≤ OPT + ( C / 2 + 1 ) c α . \min_{h\in\mathcal{H}(q)} \operatorname{err}_{P}(h) \le\operatorname{OPT}+(C/2+1)c\alpha. h ∈ H ( q ) min err P ( h ) ≤ OPT + ( C /2 + 1 ) c α .
Proof. On the event in the lemma, Lemma 3.2 gives, for every halfspace f ∈ C f \in\mathcal{C} f ∈ C , an h ∈ H ( q ) h \in\mathcal{H}(q) h ∈ H ( q ) satisfying E [ U ( f ( X ) − h ( X ) ) ] ≤ C c α \mathbb{E}[U(f(X)-h(X))] \le Cc\alpha E [ U ( f ( X ) − h ( X ))] ≤ C c α . Since
err P ( h ) − err P ( f ) = 1 2 E [ Y ( f ( X ) − h ( X ) ) ] ≤ 1 2 E [ U ( f ( X ) − h ( X ) ) ] + E [ 1 − s ( X ) ] , \operatorname{err}_{P}(h)-\operatorname{err}_{P}(f)=\frac{1}{2}\mathbb{E}[Y(f(X)-h(X))]\le\frac{1}{2}\mathbb{E}[U(f(X)-h(X))]+\mathbb{E}[1-s(X)], err P ( h ) − err P ( f ) = 2 1 E [ Y ( f ( X ) − h ( X ))] ≤ 2 1 E [ U ( f ( X ) − h ( X ))] + E [ 1 − s ( X )] ,
it remains to bound the last term. As s ( X ) = 1 s(X)=1 s ( X ) = 1 outside the clipping event, Lemma C.2 gives E [ 1 − s ( X ) ] ≤ P [ ∥ ψ p ( X ) ∥ 2 > T ] ≤ c α \mathbb{E}[1-s(X)]\le\mathbb{P}\left[\lVert\psi_p(X)\rVert_2>T\right]\le c\alpha E [ 1 − s ( X )] ≤ P [ ∥ ψ p ( X ) ∥ 2 > T ] ≤ c α when T = 2 D p T=2\sqrt{D_p} T = 2 D p and d ≥ 2 p 2 / ( c α ) d\ge2p^2/(c\alpha) d ≥ 2 p 2 / ( c α ) .
Thus, H ( q ) \mathcal{H}(q) H ( q ) contains a halfspace with error at most OPT + ( C / 2 + 1 ) c α \operatorname{OPT}+(C/2+1)c\alpha OPT + ( C /2 + 1 ) c α .
:::
Selecting the best halfspace
Finally, Algorithm 2 selects a halfspace from H ( q ) \mathcal{H}(q) H ( q ) using the exponential mechanism, with scores equal to the negative empirical errors on S 2 S_2 S 2 . These errors are measured against the original labels Y Y Y . Conditional on the released polynomial, H ( q ) \mathcal{H}(q) H ( q ) is fixed and independent of S 2 S_2 S 2 . By Lemma B.5, this selection adds at most c α c\alpha c α error with probability at least 1 − β / 2 1-\beta/2 1 − β /2 , provided
n = Ω ( ( α − 4 log ( 1 / α ) + log ( 1 / β ) ) ( 1 α 2 + 1 ε D P α ) ) . (11) n=\Omega\left(\left(\alpha^{-4}\log(1/\alpha)+\log(1/\beta)\right)\left(\frac{1}{\alpha^2}+\frac{1}{\varepsilon_{\mathrm{DP}}\alpha}\right)\right). \tag*{(11)} n = Ω ( ( α − 4 log ( 1/ α ) + log ( 1/ β ) ) ( α 2 1 + ε DP α 1 ) ) . (11)
Combining this with Lemma 3.4 and taking c c c sufficiently small gives error at most OPT + α \operatorname{OPT}+\alpha OPT + α , with probability at least 1 − β 1-\beta 1 − β . The private regression step uses S 1 S_1 S 1 , while the exponential mechanism uses the disjoint block S 2 S_2 S 2 , each of size n / 2 n/2 n /2 . Therefore, post-processing and parallel composition give ( ε D P , δ D P ) (\varepsilon_{\mathrm{DP}},\delta_{\mathrm{DP}}) ( ε DP , δ DP ) -privacy for Algorithm 2.
Proof Sketch of Theorem 3.1. Algorithm 2 is the proper private learner achieving the guarantee in Theorem 3.1. Its output belongs to H ( q ) ⊆ C \mathcal{H}(q)\subseteq\mathcal{C} H ( q ) ⊆ C , so it is proper. Lemma 3.4 guarantees that Algorithm 2 outputs a polynomial satisfying Equation (8) in Lemma 3.2 with accuracy c α c\alpha c α , with probability at least 1 − β / 2 1-\beta/2 1 − β /2 . Thus, Step 5 constructs H ( q ) \mathcal{H}(q) H ( q ) from a subspace of dimension O ( α − 4 ) O(\alpha^{-4}) O ( α − 4 ) . Lemma 3.5 ensures that it contains a halfspace with error at most OPT + ( C / 2 + 1 ) c α \operatorname{OPT}+(C/2+1)c\alpha OPT + ( C /2 + 1 ) c α . When the sample size n n n satisfies Equation (11) , the exponential mechanism adds at most c α c\alpha c α error with probability at least 1 − β / 2 1-\beta/2 1 − β /2 by Lemma B.5; a union bound and sufficiently small c c c give the claimed accuracy. Adding the validation sample cost to the sample cost in Lemma 3.4 gives the stated sample complexity. For privacy, note that Step 4 is ( ε D P , δ D P ) (\varepsilon_{\mathrm{DP}},\delta_{\mathrm{DP}}) ( ε DP , δ DP ) -DP by Lemma 3.4, Step 5 is post-processing, and Step 6 is ε D P \varepsilon_{\mathrm{DP}} ε DP -DP on S 2 S_2 S 2 by exponential mechanism, conditioned on the released polynomial. Since S 1 S_1 S 1 and S 2 S_2 S 2 are disjoint, parallel composition makes the entire algorithm ( ε D P , δ D P ) (\varepsilon_{\mathrm{DP}},\delta_{\mathrm{DP}}) ( ε DP , δ DP ) -DP.
Private Proper Semi-Agnostic Learning
In this section, we provide a DP algorithm for proper semi-agnostic learning of halfspaces whose sample complexity is polynomial in d d d and 1 / α 1/\alpha 1/ α , rather than exponential in 1 / α 1/\alpha 1/ α as in Theorems 2.1 and 3.1 . The difference between semi-agnostic and agnostic error guarantee is that the former allows a universal constant factor multiplying OPT. We use a privatised version of the non-private gradient descent (on a non-convex function) algorithm of Diakonikolas et al. [17 ] as a subroutine. Roughly speaking, given an upper bound η ≥ \eta\geq η ≥ OPT, this private subroutine (Algorithm 3) returns a halfspace with error O ( η ) \mathcal{O}(\eta) O ( η ) . Then, our main algorithm (Algorithm 4) searches over a small set of candidate values of η \eta η and selects a hypothesis using the exponential mechanism. We state our main result below and defer the privacy proof and technical details of the accuracy analysis to Appendix § 12 .
Theorem 4.1 (DP semi-agnostic proper learner). Let α , β , ε D P , δ D P ∈ ( 0 , 1 ) \alpha,\beta,\varepsilon_{\mathrm{DP}},\delta_{\mathrm{DP}} \in(0,1) α , β , ε DP , δ DP ∈ ( 0 , 1 ) . Let P P P be any distribution on R d × { ± 1 } \mathbb{R}^{d} \times\{\pm1\} R d × { ± 1 } with marginal μ = N ( 0 , I d ) \mu= \mathcal{N}(0,I_d) μ = N ( 0 , I d ) . Then Algorithm 4 is ( ε D P , δ D P ) (\varepsilon_{\mathrm{DP}},\delta_{\mathrm{DP}}) ( ε DP , δ DP ) -DP and, given
n = O ~ ( d α 2 + d ε D P α ) n = \widetilde{\mathcal{O}}\left(\frac{d}{\alpha^{2}}+\frac{d}{\varepsilon_{\mathrm{DP}}\alpha}\right) n = O ( α 2 d + ε DP α d ) i.i.d. samples from P P P , where d ≥ 16 log ( n / β ) d \geq16\log(n/\beta) d ≥ 16 log ( n / β ) , it returns a halfspace h ∈ C h \in\mathcal{C} h ∈ C satisfying err P ( h ) ≤ C ⋅ O P T + α \operatorname{err}_{P}(h) \leq C\cdot\mathrm{OPT}+\alpha err P ( h ) ≤ C ⋅ OPT + α with probability at least 1 − β 1-\beta 1 − β , where C > 0 C>0 C > 0 is a universal constant. The algorithm runs in time poly ( n ) \operatorname{poly}(n) poly ( n ) .
We make the above assumption on d d d (Appendix § 12 .§ 2 ) for ease of exposition. It can be removed by setting the clipping parameter L L L in Algorithm 3 to a tighter bound of O ( d + log ( n / β ) ) \mathcal{O}(\sqrt{d}+\sqrt{\log(n/\beta)}) O ( d + log ( n / β ) ) , thus simply introducing more polylog terms in the sample complexity that we already omit in our presentation.
The Algorithm
We first describe the subroutine in Algorithm 3, which takes a known upper bound η ≥ \eta\geq η ≥ OPT and performs gradient updates using a ramp loss. For a > 0 a>0 a > 0 and b ∈ R b \in\mathbb{R} b ∈ R , define
r a , b ( z ) = { 0 if z ≤ b − a , z − b + a if b − a < z < b + a , 2 a if z ≥ b + a . (12) r_{a,b}(z)=
\begin{cases}
0 & \text{if } z \leq b-a,\\
z-b+a & \text{if } b-a<z<b+a,\\
2a & \text{if } z \geq b+a.
\end{cases} \tag*{(12)} r a , b ( z ) = ⎩ ⎨ ⎧ 0 z − b + a 2 a if z ≤ b − a , if b − a < z < b + a , if z ≥ b + a . (12)
Algorithm 3 follows Algorithms 1 and 2 from Diakonikolas et al. [17 ] , with noise added to the computations that access the dataset. The algorithm needs to privately estimate two quantities from the dataset before running gradient descent: the threshold parameter τ \tau τ and the initial weight vector w ^ 0 \widehat{w}_0 w 0 . Diakonikolas et al. [17 ] first estimate the threshold from the average of the labels in D τ D_\tau D τ , using the inverse Gaussian CDF. We privatise this average by adding Laplace noise, obtaining the threshold estimate τ ^ \widehat{\tau} τ in Algorithm 3. Next, we compute the initial weight vector w ^ 0 \widehat{w}_0 w 0 by adding Gaussian noise to the average of x y xy x y over D i n i t D_{\mathrm{init}} D init in Algorithm 3. The algorithm then keeps τ ^ \widehat{\tau} τ fixed, and performs gradient descent using the ramp function in Equation (12) and the private threshold τ ^ \widehat{\tau} τ , with a fresh block D t D_t D t in each iteration. Algorithm 3 adds Gaussian noise to each empirical gradient before performing the gradient update.
With these modifications, Algorithm 3 privately returns a hypothesis with population classification error O ( η ) \mathcal{O}(\eta) O ( η ) whenever η ≥ \eta\geq η ≥ OPT, as shown in Proposition 4.2. Since OPT is unknown, Algorithm 4 tries a geometric grid of candidate values η 1 , … , η K \eta_1,\ldots,\eta_K η 1 , … , η K . For each η k \eta_k η k , it runs Algorithm 3 on a separate subset of the data to obtain a hypothesis h k h_k h k . The grid is chosen such that at least one of these hypotheses has error O ( O P T + α ) \mathcal{O}(\mathrm{OPT}+\alpha) O ( OPT + α ) with high probability. The algorithm then uses the exponential mechanism on a separate validation set D v a l D_{\mathrm{val}} D val to select a hypothesis whose empirical classification error is close to the smallest among these candidates.
Algorithm 3 DP Semi-Agnostic Subroutine DPSAS
Require: Dataset $D$ of $n_0$ labelled examples, privacy parameters $\varepsilon_{\mathrm{DP}}, \delta_{\mathrm{DP}} > 0$, and error parameter $\eta$.
Partition Dataset and Clip for DP
1: $s \leftarrow \Theta(1/\log^{3/2}(1/\eta))$ and $T \leftarrow \Theta(\log^4(1/\eta))$.
2: Partition $D$ into $D_{\mathrm{init}}, D_{\tau}, D_0, \ldots, D_{T-1}$, each of size $m_0 \leftarrow |D|/(T+2)$.
3: $L \leftarrow 2\sqrt{d}$ and clip each feature vector in $D$ to have norm at most $L$.
Privately computing threshold $\hat{\tau}$.
4: $\kappa \leftarrow C\eta$ for a universal constant $C$ and $\hat{y} \leftarrow \mathbb{E}_{(x,y)\sim D_{\tau}}[y] + z_{\tau}$,
where $z_{\tau} \sim \operatorname{Lap}\left(\frac{2}{\varepsilon_{\mathrm{DP}}m_0}\right)$.
5: $\hat{\tau} \leftarrow \Phi^{-1}\left(\operatorname{clip}_{\kappa}\left[\frac{1+\hat{y}}{2}\right]^{1-\kappa}\right)$.
Privately computing initial weight $\hat{w}_0$.
6: $\widetilde{w}_0 \leftarrow \mathbb{E}_{(x,y)\sim D_{\mathrm{init}}}[xy] + z_0$,
where $z_0 \sim \mathcal{N}(0,\sigma^2 I)$ and $\sigma \leftarrow \frac{2L\sqrt{2\log(2/\delta_{\mathrm{DP}})}}{\varepsilon_{\mathrm{DP}}m_0}$.
7: $\hat{w}_0 \leftarrow \frac{\widetilde{w}_0}{\|\widetilde{w}_0\|}$ if $\|\widetilde{w}_0\| \ne 0$, otherwise $\hat{w}_0 \sim S^{d-1}$ uniformly at random.
Run DP online gradient descent.
8: $\lambda \leftarrow e^{\pi^2/2}s$ and $B \leftarrow S^{d-1}$.
9: for $t=0$ to $T-1$ do
10: $\phi_t \leftarrow (\pi/2)(1-s^2/64)^t$, $a_t \leftarrow \sin(\phi_t)$, and $b_t \leftarrow -\hat{\tau}\cos(\phi_t)$.
11: $\hat{L}_t(w) \leftarrow \mathbb{E}_{(x,y)\sim D_t}\left[-r_{a_t,b_t}\left(\frac{w\cdot x}{\|w\|}\right)y\right]$.
12: $\hat{u} \leftarrow \hat{w}_t-\lambda(\nabla\hat{L}_t(\hat{w}_t)+z_{t+1})$ and $\hat{w}_{t+1} \leftarrow \operatorname{proj}_B(\hat{u})$,
where $z_{t+1} \sim \mathcal{N}(0,\sigma^2(I-\hat{w}_t\hat{w}_t^{\mathsf{T}}))$.
13: end for
14: Return $\hat{w}_T,\hat{\tau}$.
Accuracy
A major component for proving the utility for Algorithm 4 is proving the accuracy guarantees for Algorithm 3. Note that by construction, α ≤ η k \alpha\le\eta_k α ≤ η k for all k ∈ [ K ] k \in[K] k ∈ [ K ] . In the presentation for the rest of § 4.2 , we will omit the subscript from η k \eta_k η k to refer to the parameter η \eta η in Algorithm 3. We write m 0 m_0 m 0 for the number of examples in each of the T + 2 T+2 T + 2 disjoint blocks used by the algorithm; the total sample size for one run is n 0 = ( T + 2 ) m 0 n_0=(T+2)m_0 n 0 = ( T + 2 ) m 0 .
Proposition 4.2. Let η ∈ ( 0 , 1 / 2 ) \eta\in(0,1/2) η ∈ ( 0 , 1/2 ) and β , ε D P , δ D P ∈ ( 0 , 1 ) \beta,\varepsilon_{\mathrm{DP}},\delta_{\mathrm{DP}}\in(0,1) β , ε DP , δ DP ∈ ( 0 , 1 ) . Let P P P be any distribution on R d × { ± 1 } \mathbb{R}^d \times\{\pm1\} R d × { ± 1 } with marginal μ = N ( 0 , I d ) \mu=\mathcal{N}(0,I_d) μ = N ( 0 , I d ) and OPT ≤ η \operatorname{OPT}\le\eta OPT ≤ η . Then Algorithm 3 is ( ε D P , δ D P ) (\varepsilon_{\mathrm{DP}},\delta_{\mathrm{DP}}) ( ε DP , δ DP ) -DP and, given
m 0 = O ~ ( d η 2 + d ε D P η ) m_0=\widetilde{O}\left(\frac{d}{\eta^2}+\frac{d}{\varepsilon_{\mathrm{DP}}\eta}\right) m 0 = O ( η 2 d + ε DP η d )
i.i.d. samples from P P P in each of its blocks, where d ≥ 16 log ( n 0 / β ) d\ge16\log(n_0/\beta) d ≥ 16 log ( n 0 / β ) for the total sample size n 0 n_0 n 0 , returns a halfspace h ∈ C h\in\mathcal{C} h ∈ C satisfying err P ( h ) ≤ C η \operatorname{err}_P(h)\le C\eta err P ( h ) ≤ C η with probability at least 1 − β 1-\beta 1 − β , where C > 0 C>0 C > 0 is a universal constant.
We follow the utility analysis of Diakonikolas et al. [17 ] , with modifications to account for the noise added for privacy. Their analysis starts with a weight vector that makes an angle less than π / 2 \pi/2 π /2 with the optimal halfspace w ∗ w^* w ∗ . In each iteration, the gradient update reduces this angle until the weight vector is sufficiently close to w ∗ w^* w ∗ to give the desired error guarantee. We first analyse these updates assuming that our private initialization satisfies this starting condition and that replacing the optimal threshold by our private estimate preserves a small classification error and then prove it in Claims 4.5 and 4.6 . They first prove population-level results, where they show that applying population-level gradients will slowly lead us to w ∗ w^* w ∗ , and then use concentration bounds to show that the empirical gradients satisfy the estimates needed for convergence with high probability. We modify these empirical estimates to account for the additional noise added for privacy.
The first result describes the structure of the noisy gradient and the updated weight vector. Its proof is given in Appendix § 12 .
Claim 4.3 (Modification of Claim C.2 from Diakonikolas et al. [17 ] ). For any unit vector w ∈ R d w \in\mathbb{R}^d w ∈ R d , the DP gradient rule from Algorithm 3 with loss L ~ t ( w ) \widetilde{L}_t(w) L t ( w ) and stepsize λ \lambda λ corresponds to the update:
w ′ = w − λ ∇ w L ~ t ( w ) ∥ w − λ ∇ w L ~ t ( w ) ∥ w' = \frac{w-\lambda\nabla_w\widetilde{L}_t(w)}{\left\lVert w-\lambda\nabla_w\widetilde{L}_t(w)\right\rVert} w ′ = w − λ ∇ w L t ( w ) w − λ ∇ w L t ( w ) such that
∇ w L ~ t ( w ) = E ( x , y ) ∼ D t [ − y 1 { ∣ w ⋅ x − b t ∣ ≤ a t } ∇ w w ⋅ x ∥ w ∥ ] + z t + 1 , \nabla_w\widetilde{L}_t(w) = \mathbb{E}_{(x,y)\sim D_t}\left[-y\mathbf{1}\left\{\left|w\cdot x-b_t\right|\le a_t\right\}\nabla_w\frac{w\cdot x}{\lVert w\rVert}\right]+z_{t+1}, ∇ w L t ( w ) = E ( x , y ) ∼ D t [ − y 1 { ∣ w ⋅ x − b t ∣ ≤ a t } ∇ w ∥ w ∥ w ⋅ x ] + z t + 1 , where z t + 1 ∼ N ( 0 , ( I − w w T ) σ 2 ) z_{t+1}\sim\mathcal{N}\left(0,(\mathbf{I}-ww^{\mathsf{T}})\sigma^2\right) z t + 1 ∼ N ( 0 , ( I − w w T ) σ 2 ) and
σ = 2 2 log ( 2 / δ D P ) ε D P m 0 . \sigma=\frac{2\sqrt{2\log(2/\delta_{\mathrm{DP}})}}{\varepsilon_{\mathrm{DP}}m_0}. σ = ε DP m 0 2 2 log ( 2/ δ DP ) .
Next, we prove the DP analogue of Lemma C.12 from Diakonikolas et al. [17 ] and show that the original additive error guarantees are not affected by the added noise for DP. We keep the notation consistent with theirs, and define g ( w , ϕ , x , y ) = y ( proj w ⊥ x ) 1 { ∣ w ⋅ x + τ ^ cos ( ϕ ) ∣ ≤ sin ( ϕ ) } g(w,\phi,x,y)=y(\operatorname{proj}_{w^\perp}x)\mathbf{1}\{|w\cdot x+\widehat{\tau}\cos(\phi)|\le\sin(\phi)\} g ( w , ϕ , x , y ) = y ( proj w ⊥ x ) 1 { ∣ w ⋅ x + τ cos ( ϕ ) ∣ ≤ sin ( ϕ )} and B ϕ = { z ∈ R : ∣ z + τ ^ cos ( ϕ ) ∣ ≤ sin ( ϕ ) } B_\phi=\{z\in\mathbb{R}:|z+\widehat{\tau}\cos(\phi)|\le\sin(\phi)\} B ϕ = { z ∈ R : ∣ z + τ cos ( ϕ ) ∣ ≤ sin ( ϕ )} . Our GD algorithm outputs f ( w , ϕ , x , y ) : = E ( x , y ) ∼ D [ g ( w , ϕ , x , y ) ] + z f(w,\phi,x,y):=\mathbb{E}_{(x,y)\sim D}[g(w,\phi,x,y)]+z f ( w , ϕ , x , y ) := E ( x , y ) ∼ D [ g ( w , ϕ , x , y )] + z , where z z z is the Gaussian noise (as in Claim 4.3 ).
Lemma 4.4 (Modification of Lemma C.12 from Diakonikolas et al. [17 ] ). Let q = Pr x ∼ μ [ w ⋅ x ∈ B ϕ ] q=\Pr_{x\sim\mu}[w\cdot x\in B_\phi] q = Pr x ∼ μ [ w ⋅ x ∈ B ϕ ] . Assuming that
m 0 ≥ O ( d q log ( 1 / β 0 ) η 2 + log ( d / β 0 ) q 2 + d log ( 1 / δ D P ) log ( 1 / β 0 ) η ε D P ) , m_0\ge O\left(\frac{dq\log(1/\beta_0)}{\eta^2}+\frac{\log(d/\beta_0)}{q^2}+\frac{d\sqrt{\log(1/\delta_{\mathrm{DP}})\log(1/\beta_0)}}{\eta\varepsilon_{\mathrm{DP}}}\right), m 0 ≥ O ( η 2 d q log ( 1/ β 0 ) + q 2 log ( d / β 0 ) + η ε DP d log ( 1/ δ DP ) log ( 1/ β 0 ) ) , we have with probability at least 1 − β 0 1-\beta_0 1 − β 0 that for any unit vector u ∈ R d u\in\mathbb{R}^d u ∈ R d , such that E ( x , y ) ∼ P [ g ( w , ϕ , x , y ) ⋅ u ] ≥ 0 \mathbb{E}_{(x,y)\sim P}[g(w,\phi,x,y)\cdot u]\ge0 E ( x , y ) ∼ P [ g ( w , ϕ , x , y ) ⋅ u ] ≥ 0 , the following hold:
f ( w , ϕ , x , y ) ⋅ u ≥ 1 2 E ( x , y ) ∼ P [ g ( w , ϕ , x , y ) ⋅ u ] − O ( η ) f(w,\phi,x,y)\cdot u\ge\frac{1}{2}\mathbb{E}_{(x,y)\sim P}[g(w,\phi,x,y)\cdot u]-O(\eta) f ( w , ϕ , x , y ) ⋅ u ≥ 2 1 E ( x , y ) ∼ P [ g ( w , ϕ , x , y ) ⋅ u ] − O ( η ) and
∥ f ( w , ϕ , x , y ) ∥ ≤ 2 ∥ E ( x , y ) ∼ P [ g ( w , ϕ , x , y ) ] ∥ + O ( η ) . \lVert f(w,\phi,x,y)\rVert\le2\left\lVert\mathbb{E}_{(x,y)\sim P}[g(w,\phi,x,y)]\right\rVert+O(\eta). ∥ f ( w , ϕ , x , y )∥ ≤ 2 E ( x , y ) ∼ P [ g ( w , ϕ , x , y )] + O ( η ) .
Proof. The proof remains the same, except for accounting for the error due to Gaussian noise. This lemma is applied on independent dataset D t D_t D t in each iteration t t t . We use the notation D D D in this case as a shorthand for D t D_t D t , since we are omitting the subscript everywhere. For the first part, Diakonikolas et al. [17 ] show the first line of the following.
u ⋅ E ( x , y ) ∼ D [ g ( w , ϕ , x , y ) ] ≥ u ⋅ E ( x , y ) ∼ P [ g ( w , ϕ , x , y ) ] Pr x ∼ D x [ w ⋅ x ∈ B ϕ ] Pr x ∼ μ [ w ⋅ x ∈ B ϕ ] − O ( η ) Pr x ∼ μ [ w ⋅ x ∈ B ϕ ] u\cdot\mathbb{E}_{(x,y)\sim D}[g(w,\phi,x,y)]\ge u\cdot\mathbb{E}_{(x,y)\sim P}[g(w,\phi,x,y)]\frac{\Pr_{x\sim D_x}[w\cdot x\in B_\phi]}{\Pr_{x\sim\mu}[w\cdot x\in B_\phi]}-O(\eta)\Pr_{x\sim\mu}[w\cdot x\in B_\phi] u ⋅ E ( x , y ) ∼ D [ g ( w , ϕ , x , y )] ≥ u ⋅ E ( x , y ) ∼ P [ g ( w , ϕ , x , y )] Pr x ∼ μ [ w ⋅ x ∈ B ϕ ] Pr x ∼ D x [ w ⋅ x ∈ B ϕ ] − O ( η ) x ∼ μ Pr [ w ⋅ x ∈ B ϕ ]
⟹ u ⋅ f ( w , ϕ , x , y ) ≥ u ⋅ E ( x , y ) ∼ P [ g ( w , ϕ , x , y ) ] Pr x ∼ D x [ w ⋅ x ∈ B ϕ ] Pr x ∼ μ [ w ⋅ x ∈ B ϕ ] − O ( η ) Pr x ∼ μ [ w ⋅ x ∈ B ϕ ] − ∥ z ∥ (13) \Longrightarrow\quad u\cdot f(w,\phi,x,y)\ge u\cdot\mathbb{E}_{(x,y)\sim P}[g(w,\phi,x,y)]\frac{\Pr_{x\sim D_x}[w\cdot x\in B_\phi]}{\Pr_{x\sim\mu}[w\cdot x\in B_\phi]}-O(\eta)\Pr_{x\sim\mu}[w\cdot x\in B_\phi]-\lVert z\rVert \tag*{(13)} ⟹ u ⋅ f ( w , ϕ , x , y ) ≥ u ⋅ E ( x , y ) ∼ P [ g ( w , ϕ , x , y )] Pr x ∼ μ [ w ⋅ x ∈ B ϕ ] Pr x ∼ D x [ w ⋅ x ∈ B ϕ ] − O ( η ) x ∼ μ Pr [ w ⋅ x ∈ B ϕ ] − ∥ z ∥ (13)
Our private sample complexity allows ∥ z ∥ ≤ O ( η ) \lVert z\rVert\le O(\eta) ∥ z ∥ ≤ O ( η ) with probability at least 1 − β 0 / 2 1-\beta_0/2 1 − β 0 /2 (via concentration of high-dimensional Gaussians). Therefore, this direction of the proof follows by following the remaining steps of the proof from Diakonikolas et al. [17 ] .
We justify the norm bound separately. Let g p o p : = E [ g ( w , ϕ , X , Y ) ] g_{\mathrm{pop}} := \mathbb{E}[g(w,\phi,X,Y)] g pop := E [ g ( w , ϕ , X , Y )] and g ^ : = E ( x , y ) ∼ D [ g ( w , ϕ , x , y ) ] \widehat{g} := \mathbb{E}_{(x,y)\sim\mathcal{D}}[g(w,\phi,x,y)] g := E ( x , y ) ∼ D [ g ( w , ϕ , x , y )] , so that f = g ^ + z f = \widehat{g} + z f = g + z . Also, define the population and empirical masses of the band B ϕ B_\phi B ϕ by q : = Pr X ∼ μ [ w ⋅ X ∈ B ϕ ] q := \Pr_{X\sim\mu}[w\cdot X\in B_\phi] q := Pr X ∼ μ [ w ⋅ X ∈ B ϕ ] and q ^ : = 1 n ∑ i = 1 n 1 { w ⋅ x i ∈ B ϕ } \widehat{q} := \frac{1}{n}\sum_{i=1}^{n}\mathbf{1}\{w\cdot x_i\in B_\phi\} q := n 1 ∑ i = 1 n 1 { w ⋅ x i ∈ B ϕ } , respectively. If g ^ = 0 \widehat{g}=0 g = 0 , the claim is immediate. Otherwise, define u : = g ^ / ∥ g ^ ∥ u := \widehat{g}/\lVert\widehat{g}\rVert u := g / ∥ g ∥ . On the same concentration event on z τ z_\tau z τ used above, and the argument in Diakonikolas et al. [17 ] , writing q ^ / q ∈ [ 1 / 2 , 2 ] \widehat{q}/q\in[1/2,2] q / q ∈ [ 1/2 , 2 ] , their argument gives, for every unit vector u u u ,
u ⋅ g ^ ≤ q ^ q u ⋅ g p o p + O ( η ) u\cdot\widehat{g}\le\frac{\widehat{q}}{q}u\cdot g_{\mathrm{pop}}+O(\eta) u ⋅ g ≤ q q u ⋅ g pop + O ( η )
If g ^ = 0 \widehat{g}=0 g = 0 , the desired bound is immediate. Otherwise, take u = g ^ / ∥ g ^ ∥ u=\widehat{g}/\lVert\widehat{g}\rVert u = g / ∥ g ∥ . If u ⋅ g p o p ≥ 0 u\cdot g_{\mathrm{pop}}\ge0 u ⋅ g pop ≥ 0 , then
∥ g ^ ∥ ≤ 2 u ⋅ g p o p + O ( η ) ≤ 2 ∥ g p o p ∥ + O ( η ) . \lVert\widehat{g}\rVert\le2u\cdot g_{\mathrm{pop}}+O(\eta)\le2\lVert g_{\mathrm{pop}}\rVert+O(\eta). ∥ g ∥ ≤ 2 u ⋅ g pop + O ( η ) ≤ 2 ∥ g pop ∥ + O ( η ) .
If u ⋅ g p o p < 0 u\cdot g_{\mathrm{pop}}<0 u ⋅ g pop < 0 , then, since q ^ / q ≥ 1 / 2 \widehat{q}/q\ge1/2 q / q ≥ 1/2 ,
q ^ q u ⋅ g p o p ≤ 1 2 u ⋅ g p o p < 0 , \frac{\widehat{q}}{q}u\cdot g_{\mathrm{pop}}\le\frac{1}{2}u\cdot g_{\mathrm{pop}}<0, q q u ⋅ g pop ≤ 2 1 u ⋅ g pop < 0 ,
and hence ∥ g ^ ∥ ≤ O ( η ) \lVert\widehat{g}\rVert\le O(\eta) ∥ g ∥ ≤ O ( η ) . Thus, in either case ∥ g ^ ∥ ≤ 2 ∥ g p o p ∥ + O ( η ) \lVert\widehat{g}\rVert\le2\lVert g_{\mathrm{pop}}\rVert+O(\eta) ∥ g ∥ ≤ 2 ∥ g pop ∥ + O ( η ) . The bound ∥ z ∥ ≤ O ( η ) \lVert z\rVert\le O(\eta) ∥ z ∥ ≤ O ( η ) implies
∥ f ∥ ≤ ∥ g ^ ∥ + ∥ z ∥ ≤ 2 ∥ g p o p ∥ + O ( η ) , \lVert f\rVert\le\lVert\widehat{g}\rVert+\lVert z\rVert\le2\lVert g_{\mathrm{pop}}\rVert+O(\eta), ∥ f ∥ ≤ ∥ g ∥ + ∥ z ∥ ≤ 2 ∥ g pop ∥ + O ( η ) ,
as claimed.
Now, writing θ = θ ( w , w ∗ ) \theta=\theta(w,w^*) θ = θ ( w , w ∗ ) , we get v ⋅ E ( x , y ) ∼ P [ g ( w , ϕ , x , y ) ] ≥ sin ( θ ) e − τ 2 / 2 > 0 v\cdot\mathbb{E}_{(x,y)\sim\mathcal{P}}[g(w,\phi,x,y)]\ge\sin(\theta)e^{-\tau^2/2}>0 v ⋅ E ( x , y ) ∼ P [ g ( w , ϕ , x , y )] ≥ sin ( θ ) e − τ 2 /2 > 0 using Lemma C.3 from Diakonikolas et al. [17 ] . They then condition on the event A k A_k A k on which Lemma C.12 holds, and apply the directional result of Lemma C.12 to v v v . Hence, the only direction needed in their argument satisfies the positivity condition ( E ( x , y ) ∼ P [ g ( w , ϕ , x , y ) ⋅ u ] ≥ 0 ) (\mathbb{E}_{(x,y)\sim\mathcal{P}}[g(w,\phi,x,y)\cdot u]\ge0) ( E ( x , y ) ∼ P [ g ( w , ϕ , x , y ) ⋅ u ] ≥ 0 ) required by our restricted statement. This lower bound on v ⋅ E ( x , y ) ∼ P [ g ( w , ϕ , x , y ) ] v\cdot\mathbb{E}_{(x,y)\sim\mathcal{P}}[g(w,\phi,x,y)] v ⋅ E ( x , y ) ∼ P [ g ( w , ϕ , x , y )] is then converted into a lower bound on w ∗ ⋅ E ( x , y ) ∼ P [ g ( w , ϕ , x , y ) ] w^*\cdot\mathbb{E}_{(x,y)\sim\mathcal{P}}[g(w,\phi,x,y)] w ∗ ⋅ E ( x , y ) ∼ P [ g ( w , ϕ , x , y )] , and, together with the norm bound from Lemma C.12, is used to verify the hypotheses of Corollary C.8 and get contraction of the angle between the iterate and w ∗ w^* w ∗ .
Next, we show that the DP initialization w 0 w_0 w 0 in our algorithm satisfies the constraints that are needed in the proof of Theorem 1.2 from (Diakonikolas et al., [17 ] ). They require that the dot product of the true weight w ∗ w^* w ∗ with our initialization be strictly more than 0.
Claim 4.5. Suppose e − τ ^ 2 / 2 ∣ τ ^ ∣ ≥ c η \frac{e^{-\widehat{\tau}^2/2}}{|\widehat{\tau}|}\ge c\eta ∣ τ ∣ e − τ 2 /2 ≥ cη . Then, with probability at least 1 − O ( β ) 1-O(\beta) 1 − O ( β ) , if
m 0 ≥ O ~ ( d η 2 + d log ( 1 / δ D P ) ϵ D P η ) m_0\ge\widetilde{O}\left(\frac{d}{\eta^2}+\frac{\sqrt{d\log(1/\delta_{\mathrm{DP}})}}{\epsilon_{\mathrm{DP}}\eta}\right) m 0 ≥ O ( η 2 d + ϵ DP η d log ( 1/ δ DP ) ) the private initializer satisfies w ∗ ⋅ w ^ 0 > 0 w^*\cdot\widehat{w}_0>0 w ∗ ⋅ w 0 > 0 .
We only invoke Claim 4.5 in the above non-trivial regime. In the complementary case e − τ ^ 2 / 2 ∣ τ ^ ∣ < C η \frac{e^{-\widehat{\tau}^2/2}}{|\widehat{\tau}|}<C\eta ∣ τ ∣ e − τ 2 /2 < C η , the argument of Diakonikolas et al. [17 ] already implies that using the threshold τ ^ \widehat{\tau} τ with any unit normal vector yields classification error O ( η ) O(\eta) O ( η ) . Hence, no positive-correlation initialization guarantee is needed in this case. Finally, we bound the error on our noisy empirical threshold.
Claim 4.6 (Modification of Claim C.9 from Diakonikolas et al., [17 ] ). Suppose η , β 0 ∈ ( 0 , 1 / 2 ) \eta, \beta_0 \in(0,1/2) η , β 0 ∈ ( 0 , 1/2 ) , and w ∗ \mathbf{w}^* w ∗ is a unit vector and τ \tau τ is a threshold, such that Pr ( x , y ) ∼ P [ sign ( w ∗ ⋅ x + τ ) ≠ y ] ≤ η \Pr_{(x,y)\sim P}[\operatorname{sign}(\mathbf{w}^* \cdot x+\tau)\ne y]\le\eta Pr ( x , y ) ∼ P [ sign ( w ∗ ⋅ x + τ ) = y ] ≤ η . Suppose τ ^ = Φ − 1 ( clip ( [ 1 + E ( x , y ) ∼ D [ y ] + z τ ] / 2 ) κ 1 − κ ) \hat{\tau}=\Phi^{-1}\left(\operatorname{clip}\left([1+\mathbb{E}_{(x,y)\sim D}[y]+z_\tau]/2\right)_{\kappa}^{1-\kappa}\right) τ ^ = Φ − 1 ( clip ( [ 1 + E ( x , y ) ∼ D [ y ] + z τ ] /2 ) κ 1 − κ ) for κ = O ( η ) \kappa=O(\eta) κ = O ( η ) is the DP estimate of the threshold τ \tau τ output by Algorithm 3. If
m 0 ≥ O ( log ( 1 / β 0 ) η 2 + log ( 1 / β 0 ) ε D P η ) , m_0 \ge O\left(\frac{\log(1/\beta_0)}{\eta^2}+\frac{\log(1/\beta_0)}{\varepsilon_{\mathrm{DP}}\eta}\right), m 0 ≥ O ( η 2 log ( 1/ β 0 ) + ε DP η log ( 1/ β 0 ) ) , then with probability at least 1 − β 0 1-\beta_0 1 − β 0 ,
Pr ( x , y ) ∼ P [ sign ( w ∗ ⋅ x + τ ^ ) ≠ y ] ≤ O ( η ) . \Pr_{(x,y)\sim P}[\operatorname{sign}(\mathbf{w}^*\cdot x+\hat{\tau})\ne y]\le O(\eta). ( x , y ) ∼ P Pr [ sign ( w ∗ ⋅ x + τ ^ ) = y ] ≤ O ( η ) . Proof. Diakonikolas et al. [17 ] show that satisfying ∣ E ( x , y ) ∼ D [ y ] − E ( x , y ) ∼ P [ y ] ∣ ≤ O ( η ) |\mathbb{E}_{(x,y)\sim D}[y]-\mathbb{E}_{(x,y)\sim P}[y]|\le O(\eta) ∣ E ( x , y ) ∼ D [ y ] − E ( x , y ) ∼ P [ y ] ∣ ≤ O ( η ) in the proof of Claim C.9 is enough, which is what we need, as well. Thus, ∣ E ( x , y ) ∼ D [ y ] + z τ − E ( x , y ) ∼ P [ y ] ∣ ≤ O ( η ) |\mathbb{E}_{(x,y)\sim D}[y]+z_\tau-\mathbb{E}_{(x,y)\sim P}[y]|\le O(\eta) ∣ E ( x , y ) ∼ D [ y ] + z τ − E ( x , y ) ∼ P [ y ] ∣ ≤ O ( η ) suffices for us, and the rest of the argument follows. We additionally clip the argument of Φ − 1 \Phi^{-1} Φ − 1 to [ κ , 1 − κ ] [\kappa,1-\kappa] [ κ , 1 − κ ] , where κ = C η \kappa=C\eta κ = C η for a sufficiently small universal constant C > 0 C>0 C > 0 .
Let p ~ = ( 1 + E ( x , y ) ∼ D ^ [ y ] + z τ ) / 2 \tilde{p}=(1+\mathbb{E}_{(x,y)\sim\hat{D}}[y]+z_\tau)/2 p ~ = ( 1 + E ( x , y ) ∼ D ^ [ y ] + z τ ) /2 and p ^ = clip ( p ~ , [ κ , 1 − κ ] ) \hat{p}=\operatorname{clip}(\tilde{p},[\kappa,1-\kappa]) p ^ = clip ( p ~ , [ κ , 1 − κ ]) . Since z τ z_\tau z τ is sampled from Laplace distribution with parameter 2 / m 0 ε D P 2/m_0\varepsilon_{\mathrm{DP}} 2/ m 0 ε DP , by the concentration of Laplace distribution, ∣ z τ ∣ ≤ 2 log ( 1 / β 0 ) / m 0 ε D P |z_\tau|\le2\log(1/\beta_0)/m_0\varepsilon_{\mathrm{DP}} ∣ z τ ∣ ≤ 2 log ( 1/ β 0 ) / m 0 ε DP with probability at least 1 − β 0 1-\beta_0 1 − β 0 . For this to be upper bounded by O ( η ) O(\eta) O ( η ) , having m 0 ≥ O ( log ( 1 / β 0 ) / ε D P η ) m_0\ge O(\log(1/\beta_0)/\varepsilon_{\mathrm{DP}}\eta) m 0 ≥ O ( log ( 1/ β 0 ) / ε DP η ) suffices. For any p ∈ [ 0 , 1 ] p\in[0,1] p ∈ [ 0 , 1 ] , ∣ p ^ − p ∣ ≤ ∣ p ~ − p ∣ + κ |\hat{p}-p|\le|\tilde{p}-p|+\kappa ∣ p ^ − p ∣ ≤ ∣ p ~ − p ∣ + κ . Hence, the clipping introduces at most an additional O ( η ) O(\eta) O ( η ) error. In particular, taking p = ( 1 + E ( x , y ) ∼ P [ y ] ) / 2 p=(1+\mathbb{E}_{(x,y)\sim P}[y])/2 p = ( 1 + E ( x , y ) ∼ P [ y ]) /2 , the above concentration guarantee implies ∣ p ^ − p ∣ ≤ O ( η ) |\hat{p}-p|\le O(\eta) ∣ p ^ − p ∣ ≤ O ( η ) . Since τ ^ = Φ − 1 ( p ^ ) \hat{\tau}=\Phi^{-1}(\hat{p}) τ ^ = Φ − 1 ( p ^ ) , the remainder of the proof of Claim C.9 follows as before.
Putting It All Together
Proof of Proposition 4.2. As mentioned earlier, our modifications are needed only for dataset-level results. Claims C.2 and C.9, along with Lemma C.12, are the only ones that needed modifications. Note that the technical results in Appendices B and C from Diakonikolas et al. [17 ] still hold when we are using independent samples for threshold estimation, initialization, and each iteration of gradient descent, so they transfer to our private case, as well. We have shown via Claims 4.3 and 4.6 , and Lemma 4.4 , respectively, that at minimal cost in sample complexity, those results hold. Additionally, they prove that their initial weight vector w 0 w_0 w 0 is not too far in terms of angle from w ∗ \mathbf{w}^* w ∗ . We prove in Claim 4.5 that the same holds for our noisy initialization w ^ 0 \hat{w}_0 w ^ 0 . With these necessary modifications, our proof of accuracy is complete.
The grid in Algorithm 4 starts at η 1 = C η α \eta_1=C_\eta\alpha η 1 = C η α , where C η > 1 C_\eta>1 C η > 1 is a universal constant, and uses η k = 2 k − 1 η 1 \eta_k=2^{k-1}\eta_1 η k = 2 k − 1 η 1 for k ∈ [ K ] k\in[K] k ∈ [ K ] . The dataset is partitioned into a validation set D v a l D_{\mathrm{val}} D val and K K K subsets D 1 , … , D K D^1,\ldots,D^K D 1 , … , D K . For each k ∈ [ K ] k\in[K] k ∈ [ K ] , the subroutine is run on D k D^k D k with parameter η k \eta_k η k to obtain h k h_k h k .
Proof of Theorem 4.1 . Proposition F.1 provides the privacy guarantees. Now, we complete the proof of accuracy. First, note that the difference between the final error guarantee required to be in O ( α ) O(\alpha) O ( α ) , but in Algorithm 4, we work with η k \eta_k η k ’s. The idea is that η k ≥ α \eta_k\ge\alpha η k ≥ α for all k ∈ [ K ] k\in[K] k ∈ [ K ] . Now, either OPT < η 1 \operatorname{OPT}<\eta_1 OPT < η 1 , or there must be a k ∗ ∈ [ K ] ∖ { 1 } k^*\in[K]\setminus\{1\} k ∗ ∈ [ K ] ∖ { 1 } , such that η 1 2 k ∗ − 2 ≤ OPT ≤ η 1 2 k ∗ − 1 \eta_1 2^{k^*-2}\le\operatorname{OPT}\le\eta_1 2^{k^*-1} η 1 2 k ∗ − 2 ≤ OPT ≤ η 1 2 k ∗ − 1 . We claim that in either case, there exists at least one k ∈ [ K ] k\in[K] k ∈ [ K ] , for which h k h_k h k has error O ( OPT + α ) O(\operatorname{OPT}+\alpha) O ( OPT + α ) .
When OPT < η 1 \operatorname{OPT}<\eta_1 OPT < η 1 , then Algorithm 3 will return h h h , such that the error of h h h is at most O ( η 1 ) = O ( α ) O(\eta_1)=O(\alpha) O ( η 1 ) = O ( α ) with probability at least 1 − β ′ 1-\beta' 1 − β ′ , where β ′ = β / K \beta'=\beta/K β ′ = β / K (Proposition 4.2). This satisfies the semi-agnostic learning guarantee even if OPT is much smaller than η \eta η because α = Θ ( η 1 ) \alpha=\Theta(\eta_1) α = Θ ( η 1 ) .
On the other hand, suppose there exists k ∗ ∈ [ K ] ∖ { 1 } k^*\in[K]\setminus\{1\} k ∗ ∈ [ K ] ∖ { 1 } , such that η 1 2 k ∗ − 2 ≤ OPT ≤ η 1 2 k ∗ − 1 \eta_1 2^{k^*-2}\le\operatorname{OPT}\le\eta_1 2^{k^*-1} η 1 2 k ∗ − 2 ≤ OPT ≤ η 1 2 k ∗ − 1 . Then with probability at least 1 − ( K − 1 ) β ′ 1-(K-1)\beta' 1 − ( K − 1 ) β ′ , for all k ≥ k ∗ k\ge k^* k ≥ k ∗ , Algorithm 3 will return hypotheses h k h_k h k , respectively, such that the total error is O ( η k ) \mathcal{O}(\eta_k) O ( η k ) . Thus for k ∗ k^* k ∗ , η k ∗ = η 1 2 k ∗ − 1 ≤ 2 OPT \eta_{k^*}=\eta_1 2^{k^*-1}\le2\operatorname{OPT} η k ∗ = η 1 2 k ∗ − 1 ≤ 2 OPT . This means that h k ∗ h_{k^*} h k ∗ should satisfy the semi-agnostic error guarantee O ( OPT ) \mathcal{O}(\operatorname{OPT}) O ( OPT ) with no additional additive error.
Combining the two together, with probability at least 1 − O ( β ) 1-\mathcal{O}(\beta) 1 − O ( β ) , there must exist k ∈ [ K ] k\in[K] k ∈ [ K ] , such that the semi-agnostic error of h k h_k h k is at most max { O ( α ) , O ( OPT ) } \max\{\mathcal{O}(\alpha),\mathcal{O}(\operatorname{OPT})\} max { O ( α ) , O ( OPT )} . Now, we just need to show that the final hypothesis returned by Algorithm 4 is accurate. For that, we know that with probability at least 1 − O ( β ) 1-\mathcal{O}(\beta) 1 − O ( β ) , for all k ∈ [ K ] k\in[K] k ∈ [ K ] , the population error err P ( h k ) \operatorname{err}_P(h_k) err P ( h k ) must be close to the empirical error err ^ D v a l ( h k ) \widehat{\operatorname{err}}_{D_{\mathrm{val}}}(h_k) err D val ( h k ) on D v a l D_{\mathrm{val}} D val using Hoeffding’s inequality; because of our sample complexity,
∣ err P ( h k ) − err ^ D v a l ( h k ) ∣ ≤ O ( log ( K / β ) ∣ D v a l ∣ ) ≤ O ( α ) . \left|\operatorname{err}_P(h_k)-\widehat{\operatorname{err}}_{D_{\mathrm{val}}}(h_k)\right|\le\mathcal{O}\left(\sqrt{\frac{\log(K/\beta)}{|D_{\mathrm{val}}|}}\right)\le\mathcal{O}(\alpha). ∣ err P ( h k ) − err D val ( h k ) ∣ ≤ O ( ∣ D val ∣ log ( K / β ) ) ≤ O ( α ) .
With probability at least 1 − O ( β ) 1-\mathcal{O}(\beta) 1 − O ( β ) , the exponential mechanism returns an h ˉ \bar{h} h ˉ , whose empirical error is at most O ( α ) \mathcal{O}(\alpha) O ( α ) in addition to the empirical optimal among all h k h_k h k ’s. From these two additional error sources, we get that h ˉ \bar{h} h ˉ has a population error of at most max { O ( α ) , O ( OPT ) } + O ( α ) \max\{\mathcal{O}(\alpha),\mathcal{O}(\operatorname{OPT})\}+\mathcal{O}(\alpha) max { O ( α ) , O ( OPT )} + O ( α ) .
Finally, we bound the running time. Each run of Algorithm 3 uses every sample in its data a constant number of times (for clipping, the estimates of τ ^ \hat{\tau} τ ^ and w ^ 0 \hat{w}_0 w ^ 0 , or one gradient step), at O ( d ) \mathcal{O}(d) O ( d ) cost per use. Since the runs use disjoint data, all K = O ( log ( 1 / α ) ) K=\mathcal{O}(\log(1/\alpha)) K = O ( log ( 1/ α )) runs together take O ( n d ) \mathcal{O}(nd) O ( n d ) time. Scoring the K K K candidates on D v a l D_{\mathrm{val}} D val takes O ( n d log ( 1 / α ) ) \mathcal{O}(nd\log(1/\alpha)) O ( n d log ( 1/ α )) time. Since d ≤ n d\le n d ≤ n , the total running time is O ( n d log ( 1 / α ) ) = poly ( n ) \mathcal{O}(nd\log(1/\alpha))=\operatorname{poly}(n) O ( n d log ( 1/ α )) = poly ( n ) .
Conclusion and Open Problems
We provide the first computationally efficient DP agnostic learners for halfspaces, where privacy comes for free in terms of sample complexity, i.e., the sample complexity overhead due to privacy matches that of the non-private learners. Specifically, we study three settings: improper agnostic, proper agnostic, and semi-agnostic. Our techniques are based on those of the non-private work, albeit with additional steps and analyses to incorporate clipping and noise injection to provide DP guarantees.
One avenue for improvement is in the improper agnostic setting, where we have to explicitly compute the orthonormal basis for each family of distributions when the marginals are known, unlike Kalai et al. [29 ] , who work with the standard polynomial basis for all families of distributions. The only parameter they need to know for their kernel is the degree of the polynomial. An interesting future direction is to find more versatile polynomial bases that admit bounded coefficients for a large family of distributions, or alternatively to learn such a basis privately from the data, removing the need to know the marginal in advance. Another direction is to design efficient DP algorithms for agnostic learning of concept classes beyond halfspaces. Finally, one could explore lower bounds in DP agnostic learning to determine the necessary sample complexity overhead for these problems.
Acknowledgements and AI Disclosure
The authors acknowledge the Novo Nordisk Foundation for support via the Startup grant (NNF24OCO 087820); AS additionally acknowledges support from VILLUM FONDEN via the Young Investigator program (VIL72069).
The main ideas underlying this work were developed by the authors. AI tools were used to help sharpen the parameter dependence of technical lemmas. The authors take full responsibility for the correctness of the results and the content of the final manuscript.
Other Related Work
Agnostic learning under structured marginals. Without distributional assumptions, agnostically learning halfspaces is computationally hard, even for weak learning [26 , 22 , 10 , 48 ] . Building on the low-degree Fourier approach of Linial et al. [38 ] , Kalai et al. [29 ] use polynomial L 1 L_1 L 1 regression to obtain improper agnostic learners for halfspaces with error O P T + α \mathrm{OPT}+\alpha OPT + α under structured marginals, including Gaussian and log-concave distributions. The complexity of this approach is governed by the degree of polynomials needed to approximate halfspaces in L 1 L_1 L 1 . Under Gaussian marginals, Diakonikolas et al. [11 ] improved the runtime of Kalai et al. [29 ] from d O ( α − 4 ) d^{O(\alpha^{-4})} d O ( α − 4 ) to d O ( α − 2 ) d^{O(\alpha^{-2})} d O ( α − 2 ) by establishing sharper polynomial approximation bounds. This is essentially optimal: statistical-query algorithms require time d Ω ( α − 2 ) d^{\Omega(\alpha^{-2})} d Ω ( α − 2 ) [25 , 13 , 16 ] , and a nearly matching lower bound holds for all polynomial-time algorithms under the subexponential hardness of Learning with Errors [18 ] . However, this approach is improper, as the resulting classifier need not be a halfspace. Diakonikolas et al. [15 ] addressed this limitation by using polynomial regression to identify a subspace containing the normal vector of a near-optimal halfspace; this yields a proper learner with error O P T + α \mathrm{OPT}+\alpha OPT + α and runtime d poly ( 1 / α ) d^{\operatorname{poly}(1/\alpha)} d poly ( 1/ α ) .
Semi-agnostic learning. Motivated by these computational barriers, a related line of work improves computational efficiency by relaxing the agnostic error guarantee. For homogeneous halfspaces, Awasthi et al. [4 ] developed a localization-based algorithm achieving O ( O P T ) + α O(\mathrm{OPT})+\alpha O ( OPT ) + α error under isotropic log-concave marginals. Combining localization with polynomial regression, Daniely [9 ] obtains an improper approximation scheme under the uniform spherical marginal, achieving error ( 1 + γ ) O P T + α (1+\gamma)\mathrm{OPT}+\alpha ( 1 + γ ) OPT + α in time polynomial in d d d and 1 / α 1/\alpha 1/ α for every fixed γ > 0 \gamma>0 γ > 0 ; Diakonikolas et al. [15 ] give a proper analogue under Gaussian marginals. Diakonikolas et al. [14 ] showed that non-convex SGD achieves O ( O P T ) + α O(\mathrm{OPT})+\alpha O ( OPT ) + α error for homogeneous halfspaces under a broad family of marginals, including isotropic log-concave distributions. For general halfspaces under Gaussian marginals, Diakonikolas et al. [12 ] obtained constant-factor guarantees, even in a stronger contamination model allowing corruption of both examples and labels, and Diakonikolas et al. [17 ] developed the sample-efficient online gradient descent algorithm on which our private semi-agnostic learner builds. Complementary work studies convex surrogates for homogeneous halfspaces. Under well-behaved marginals, including isotropic log-concave distributions, Frei et al. [23 ] obtain O ~ ( O P T ) + α \widetilde{O}(\sqrt{\mathrm{OPT}})+\alpha O ( OPT ) + α error using gradient methods on convex losses, while Ji et al. [28 ] show that logistic regression alone cannot improve on this and obtain O ~ ( O P T ) + α \widetilde{O}(\mathrm{OPT})+\alpha O ( OPT ) + α by adding a hinge-loss refinement step.
Private learning. Distribution-free private learning of halfspaces over infinite domains is impossible: already thresholds over R \mathbb{R} R are not privately learnable [7 ] , and private learnability is characterized by finite Littlestone dimension [39 , 1 , 8 ] . Over finite domains X ⊂ R d X\subset\mathbb{R}^d X ⊂ R d , Beimel et al. [6 ] (improved by Kaplan et al. [32 ] ) give private agnostic learners whose sample complexity grows with log ∗ ∣ X ∣ \log^{*}|X| log ∗ ∣ X ∣ . Generic private realizable-to-agnostic transformations [2 ] (Li et al. 2025) are statistically efficient but not computationally efficient in general. Efficient private PAC learners exist under margin assumptions [43 , 5 ] , with guarantees stated for margin-based losses rather than O P T \mathrm{OPT} OPT for the 0-1 loss.
Auxiliary Results
Concentration Inequalities
Lemma B.1 (Vector Bernstein Inequality). Let U 1 , … , U n U_1,\ldots,U_n U 1 , … , U n be independent, mean-zero random vectors in R d \mathbb{R}^d R d . Suppose that ∥ U i ∥ 2 ≤ B \lVert U_i\rVert_2 \le B ∥ U i ∥ 2 ≤ B almost surely for all i ∈ { 1 , … , n } i \in\{1,\ldots,n\} i ∈ { 1 , … , n } , and let ∑ i = 1 n E ∥ U i ∥ 2 2 ≤ v \sum_{i=1}^n \mathbb{E}\lVert U_i\rVert_2^2 \le v ∑ i = 1 n E ∥ U i ∥ 2 2 ≤ v . Then, for every β ∈ ( 0 , 1 ) \beta\in(0,1) β ∈ ( 0 , 1 ) , with probability at least 1 − β 1-\beta 1 − β ,
∥ 1 n ∑ i = 1 n U i ∥ 2 ≤ 2 v log ( 2 / β ) n + 2 B log ( 2 / β ) 3 n . \left\lVert\frac{1}{n}\sum_{i=1}^n U_i \right\rVert_2 \le\frac{\sqrt{2v\log(2/\beta)}}{n}+\frac{2B\log(2/\beta)}{3n}. n 1 i = 1 ∑ n U i 2 ≤ n 2 v log ( 2/ β ) + 3 n 2 B log ( 2/ β ) .
Differential Privacy Tools
Definition B.2 (Differential privacy; Dwork et al., [21 ] ). Let ε D P > 0 \varepsilon_{\mathrm{DP}}>0 ε DP > 0 and δ D P ∈ [ 0 , 1 ) \delta_{\mathrm{DP}}\in[0,1) δ DP ∈ [ 0 , 1 ) . A randomized algorithm A : Z n → Y \mathcal{A}:\mathcal{Z}^n\to\mathcal{Y} A : Z n → Y is ( ε D P , δ D P ) (\varepsilon_{\mathrm{DP}},\delta_{\mathrm{DP}}) ( ε DP , δ DP ) -differentially private if, for every pair of datasets S , S ′ ∈ Z n S,S'\in\mathcal{Z}^n S , S ′ ∈ Z n differing in a single example and every measurable set E ⊆ Y E\subseteq\mathcal{Y} E ⊆ Y ,
Pr [ A ( S ) ∈ E ] ≤ e ε D P Pr [ A ( S ′ ) ∈ E ] + δ D P . \Pr[\mathcal{A}(S)\in E]\le e^{\varepsilon_{\mathrm{DP}}}\Pr[\mathcal{A}(S')\in E]+\delta_{\mathrm{DP}}. Pr [ A ( S ) ∈ E ] ≤ e ε DP Pr [ A ( S ′ ) ∈ E ] + δ DP .
Lemma B.3 (Post-Processing of DP; Dwork and Roth, [20 ] ). If M : X n → Y M:\mathcal{X}^n\to\mathcal{Y} M : X n → Y is ( ε D P , δ D P ) (\varepsilon_{\mathrm{DP}},\delta_{\mathrm{DP}}) ( ε DP , δ DP ) -DP, and f : Y → Z f:\mathcal{Y}\to\mathcal{Z} f : Y → Z is any randomized function, then the algorithm f ∘ M f\circ M f ∘ M is ( ε D P , δ D P ) (\varepsilon_{\mathrm{DP}},\delta_{\mathrm{DP}}) ( ε DP , δ DP ) -DP.
Lemma B.4 (Private convex ERM; Kulkarni et al., [36 ] , Theorem 1.1). Let Ω ⊆ R D \Omega\subseteq\mathbb{R}^D Ω ⊆ R D be a public, nonempty, compact convex set of Euclidean diameter R R R , and let ℓ ( ⋅ ; z ) : R D → R \ell(\cdot;z):\mathbb{R}^D\to\mathbb{R} ℓ ( ⋅ ; z ) : R D → R be a public convex T T T -Lipschitz loss for every z ∈ Z z\in\mathcal{Z} z ∈ Z . For n ≥ 2 n\ge2 n ≥ 2 , 0 < ε D P ≤ 1 / 2 0<\varepsilon_{\mathrm{DP}}\le1/2 0 < ε DP ≤ 1/2 , and 0 < δ D P ≤ 1 / 2 0<\delta_{\mathrm{DP}}\le1/2 0 < δ DP ≤ 1/2 , there exists an ( ε D P , δ D P ) (\varepsilon_{\mathrm{DP}},\delta_{\mathrm{DP}}) ( ε DP , δ DP ) -DP algorithm under replacement adjacency such that, for every S = ( Z 1 , … , Z n ) ∈ Z n S=(Z_1,\ldots,Z_n)\in\mathcal{Z}^n S = ( Z 1 , … , Z n ) ∈ Z n , its output v ^ ∈ Ω \hat{v}\in\Omega v ^ ∈ Ω satisfies
E [ L ^ S ( v ^ ) ] − min v ∈ Ω L ^ S ( v ) ≤ O ( T R D log ( 1 / δ D P ) n ε D P ) , \mathbb{E}\left[\widehat{L}_S(\hat{v})\right]-\min_{v\in\Omega}\widehat{L}_S(v)\le O\left(\frac{TR\sqrt{D\log(1/\delta_{\mathrm{DP}})}}{n\varepsilon_{\mathrm{DP}}}\right), E [ L S ( v ^ ) ] − v ∈ Ω min L S ( v ) ≤ O ( n ε DP T R D log ( 1/ δ DP ) ) , where L ^ S ( v ) : = 1 n ∑ i = 1 n ℓ ( v ; Z i ) \widehat{L}_S(v):=\frac{1}{n}\sum_{i=1}^n\ell(v;Z_i) L S ( v ) := n 1 ∑ i = 1 n ℓ ( v ; Z i ) , and the expectation is over the algorithm’s randomness. The algorithm performs O ( n 2 ) O(n^2) O ( n 2 ) subgradient evaluations and Euclidean projections onto Ω \Omega Ω .
Proof. Compared to Kulkarni et al. [36 ] , we use R R R as an upper bound on the initialization distance and assume convexity and T T T -Lipschitzness on all of R D \mathbb{R}^D R D , rather than only on the neighborhood required in the original statement. Their complexity guarantee implies O ( n 2 ) O(n^2) O ( n 2 ) subgradient evaluations in the stated parameter range, with at most as many Euclidean projections, since each iteration uses one projection and at least one subgradient evaluation.
Lemma B.5 (Validation via the exponential mechanism). Let K , m ∈ N K,m\in\mathbb{N} K , m ∈ N , and let h 1 , … , h K h_1,\ldots,h_K h 1 , … , h K be classifiers independent of S v a l ∼ P m S_{\mathrm{val}}\sim P^m S val ∼ P m . For ε D P > 0 \varepsilon_{\mathrm{DP}}>0 ε DP > 0 , select j ^ ∈ [ K ] \hat{j}\in[K] j ^ ∈ [ K ] with probability proportional to exp ( − ε D P m err ^ S v a l ( h j ) / 2 ) \exp(-\varepsilon_{\mathrm{DP}}m\widehat{\operatorname{err}}_{S_{\mathrm{val}}}(h_j)/2) exp ( − ε DP m err S val ( h j ) /2 ) . Conditional on the candidates, selection is ε D P \varepsilon_{\mathrm{DP}} ε DP -differentially private under replacement. For 0 < η < 1 0<\eta<1 0 < η < 1 , with probability at least 1 − η 1-\eta 1 − η ,
err P ( h j ^ ) ≤ min j ∈ [ K ] err P ( h j ) + 2 log ( 4 K / η ) 2 m + 2 log ( 2 K / η ) ε D P m . \operatorname{err}_P(h_{\hat{j}})\le\min_{j\in[K]}\operatorname{err}_P(h_j)+2\sqrt{\frac{\log(4K/\eta)}{2m}}+\frac{2\log(2K/\eta)}{\varepsilon_{\mathrm{DP}}m}. err P ( h j ^ ) ≤ j ∈ [ K ] min err P ( h j ) + 2 2 m log ( 4 K / η ) + ε DP m 2 log ( 2 K / η ) . Proof. Condition on the candidates. Hoeffding’s inequality (Hoeffding, [27 ] ) and a union bound give the first slack term, accounting for the deviations of validation errors from population errors for both the selected classifier and the best candidate. The score − m err ^ S v a l ( h j ) -m\widehat{\operatorname{err}}_{S_{\mathrm{val}}}(h_j) − m err S val ( h j ) has sensitivity one, so the exponential mechanism ensures privacy and gives the second slack term, accounting for suboptimal selection based on empirical errors (McSherry and Talwar, [41 ] ). Allocate failure probability η / 2 \eta/2 η /2 to each bound.
L 1 L^1 L 1 Regression
Fact B.6 (Random thresholding; Kalai et al., [29 ] , Proof of Theorem 5). Let τ ∼ Unif [ − 1 , 1 ] \tau\sim\operatorname{Unif}[-1,1] τ ∼ Unif [ − 1 , 1 ] . For every z ∈ R z \in\mathbb{R} z ∈ R and y ∈ { − 1 , 1 } y \in\{-1,1\} y ∈ { − 1 , 1 } , we have Pr τ [ sign ( z − τ ) ≠ y ] ≤ 1 2 ∣ z − y ∣ \Pr_{\tau}[\operatorname{sign}(z-\tau) \ne y] \le\frac{1}{2}|z-y| Pr τ [ sign ( z − τ ) = y ] ≤ 2 1 ∣ z − y ∣ .
Lemma B.7 (Uniform deviation for L 1 L^1 L 1 regression). Let ϕ : X → R D \phi:\mathcal{X}\to\mathbb{R}^{D} ϕ : X → R D be a fixed feature map such that E ∥ ϕ ( X ) ∥ 2 2 ≤ D \mathbb{E}\|\phi(X)\|_{2}^{2}\le D E ∥ ϕ ( X ) ∥ 2 2 ≤ D . Let L P ( v ) = E ∣ ⟨ v , ϕ ( X ) ⟩ − Y ∣ L_P(v)=\mathbb{E}\left|\langle v,\phi(X)\rangle-Y\right| L P ( v ) = E ∣ ⟨ v , ϕ ( X )⟩ − Y ∣ , and let L ^ S ( v ) \widehat{L}_S(v) L S ( v ) be its empirical counterpart on S ∼ P n S\sim P^n S ∼ P n . Then, for every R > 0 R>0 R > 0 ,
E S ∼ P n sup ∥ v ∥ 2 ≤ R ( L P ( v ) − L ^ S ( v ) ) ≤ 2 R D n . \mathbb{E}_{S\sim P^n}\sup_{\|v\|_2\le R}\left(L_P(v)-\widehat{L}_S(v)\right)\le2R\sqrt{\frac{D}{n}}. E S ∼ P n ∥ v ∥ 2 ≤ R sup ( L P ( v ) − L S ( v ) ) ≤ 2 R n D . Proof. Let σ 1 , … , σ n \sigma_1,\ldots,\sigma_n σ 1 , … , σ n be i.i.d. Rademacher random variables, independent of S S S . Symmetrization (Shalev-Shwartz and Ben-David, [46 ] ) and contraction for the 1-Lipschitz maps t ↦ ∣ t − Y i ∣ t\mapsto|t-Y_i| t ↦ ∣ t − Y i ∣ (Shalev-Shwartz and Ben-David, [46 ] ) give
E S sup ∥ v ∥ 2 ≤ R ( L P ( v ) − L ^ S ( v ) ) ≤ 2 R n E S , σ ∥ ∑ i = 1 n σ i ϕ ( X i ) ∥ 2 . \mathbb{E}_S\sup_{\|v\|_2\le R}\left(L_P(v)-\widehat{L}_S(v)\right)\le\frac{2R}{n}\mathbb{E}_{S,\sigma}\left\|\sum_{i=1}^{n}\sigma_i\phi(X_i)\right\|_2. E S ∥ v ∥ 2 ≤ R sup ( L P ( v ) − L S ( v ) ) ≤ n 2 R E S , σ i = 1 ∑ n σ i ϕ ( X i ) 2 . By Jensen’s inequality, and since the cross terms vanish in expectation, the right-hand side is at most 2 R n ( ∑ i = 1 n E ∥ ϕ ( X i ) ∥ 2 2 ) 1 / 2 ≤ 2 R D / n \frac{2R}{n}\left(\sum_{i=1}^{n}\mathbb{E}\|\phi(X_i)\|_2^2\right)^{1/2}\le2R\sqrt{D/n} n 2 R ( ∑ i = 1 n E ∥ ϕ ( X i ) ∥ 2 2 ) 1/2 ≤ 2 R D / n . □ \square □
Gaussian Marginals
For a probability measure μ \mu μ on R d \mathbb{R}^{d} R d and r ∈ [ 1 , ∞ ) r\in[1,\infty) r ∈ [ 1 , ∞ ) , we write ∥ f ∥ L r ( μ ) : = ( ∫ ∣ f ( x ) ∣ r d μ ( x ) ) 1 / r \|f\|_{L^r(\mu)}:=\left(\int|f(x)|^r\,d\mu(x)\right)^{1/r} ∥ f ∥ L r ( μ ) := ( ∫ ∣ f ( x ) ∣ r d μ ( x ) ) 1/ r and ∥ f ∥ L ∞ ( μ ) : = inf { M ≥ 0 : μ ( { x : ∣ f ( x ) ∣ > M } ) = 0 } \|f\|_{L^\infty(\mu)}:=\inf\{M\ge0:\mu(\{x:|f(x)|>M\})=0\} ∥ f ∥ L ∞ ( μ ) := inf { M ≥ 0 : μ ({ x : ∣ f ( x ) ∣ > M }) = 0 } . The inner product on L 2 ( μ ) L^2(\mu) L 2 ( μ ) is ⟨ f , g ⟩ L 2 ( μ ) : = ∫ f ( x ) g ( x ) d μ ( x ) \langle f,g\rangle_{L^2(\mu)}:=\int f(x)g(x)\,d\mu(x) ⟨ f , g ⟩ L 2 ( μ ) := ∫ f ( x ) g ( x ) d μ ( x ) .
Lemma B.8 (Hermite basis; O’Donnell, [44 ] ). Let { h m } m ≥ 0 \{h_m\}_{m\ge0} { h m } m ≥ 0 be the normalized univariate Hermite polynomials, defined by
e t x − t 2 / 2 = ∑ m = 0 ∞ h m ( x ) t m m ! . e^{tx-t^2/2}=\sum_{m=0}^{\infty}h_m(x)\frac{t^m}{\sqrt{m!}}. e t x − t 2 /2 = m = 0 ∑ ∞ h m ( x ) m ! t m . For each multi-index κ = ( κ 1 , … , κ d ) ∈ N 0 d \kappa=(\kappa_1,\ldots,\kappa_d)\in\mathbb{N}_0^d κ = ( κ 1 , … , κ d ) ∈ N 0 d , define h κ ( x ) = ∏ j = 1 d h κ j ( x j ) h_\kappa(x)=\prod_{j=1}^{d}h_{\kappa_j}(x_j) h κ ( x ) = ∏ j = 1 d h κ j ( x j ) and ∣ κ ∣ = ∑ j = 1 d κ j |\kappa|=\sum_{j=1}^{d}\kappa_j ∣ κ ∣ = ∑ j = 1 d κ j . Then { h κ } κ ∈ N 0 d \{h_\kappa\}_{\kappa\in\mathbb{N}_0^d} { h κ } κ ∈ N 0 d is a complete orthonormal basis of L 2 ( N ( 0 , I d ) ) L^2(\mathcal{N}(0,I_d)) L 2 ( N ( 0 , I d )) . In particular, { h κ : ∣ κ ∣ ≤ p } \{h_\kappa:|\kappa|\le p\} { h κ : ∣ κ ∣ ≤ p } is an orthonormal basis for the polynomials of total degree at most p p p , with dimension ( d + p p ) \binom{d+p}{p} ( p d + p ) .
Lemma B.9 (Mehler’s formula; Andrews et al., [3 ] ). Let { h κ } κ ∈ N 0 d \{h_\kappa\}_{\kappa\in\mathbb{N}_0^d} { h κ } κ ∈ N 0 d be the multivariate Hermite polynomials, orthonormal in L 2 ( N ( 0 , I d ) ) L^2(\mathcal{N}(0,I_d)) L 2 ( N ( 0 , I d )) . For each multi-index κ ∈ N 0 d \kappa\in\mathbb{N}_0^d κ ∈ N 0 d , write ∣ κ ∣ = ∑ j = 1 d κ j |\kappa|=\sum_{j=1}^{d}\kappa_j ∣ κ ∣ = ∑ j = 1 d κ j . For every x , y ∈ R d x,y\in\mathbb{R}^d x , y ∈ R d and ρ ∈ ( − 1 , 1 ) \rho\in(-1,1) ρ ∈ ( − 1 , 1 ) ,
∑ κ ∈ N 0 d ρ ∣ κ ∣ h κ ( x ) h κ ( y ) = 1 ( 1 − ρ 2 ) d / 2 exp ( 2 ρ ⟨ x , y ⟩ − ρ 2 ( ∥ x ∥ 2 2 + ∥ y ∥ 2 2 ) 2 ( 1 − ρ 2 ) ) . \sum_{\kappa\in\mathbb{N}_0^d}\rho^{|\kappa|}h_\kappa(x)h_\kappa(y)=\frac{1}{(1-\rho^2)^{d/2}}\exp\left(\frac{2\rho\langle x,y\rangle-\rho^2\left(\|x\|_2^2+\|y\|_2^2\right)}{2(1-\rho^2)}\right). κ ∈ N 0 d ∑ ρ ∣ κ ∣ h κ ( x ) h κ ( y ) = ( 1 − ρ 2 ) d /2 1 exp ( 2 ( 1 − ρ 2 ) 2 ρ ⟨ x , y ⟩ − ρ 2 ( ∥ x ∥ 2 2 + ∥ y ∥ 2 2 ) ) .
Lemma B.10 (Unit-norm polynomial approximation of halfspaces under Gaussian measure). Let d ≥ 1 d\ge1 d ≥ 1 , and let { h κ } κ ∈ N 0 d \{h_\kappa\}_{\kappa\in\mathbb{N}_0^d} { h κ } κ ∈ N 0 d be the orthonormal Hermite basis of L 2 ( N ( 0 , I d ) ) L^2(\mathcal{N}(0,I_d)) L 2 ( N ( 0 , I d )) . There exists a universal constant C > 0 C>0 C > 0 such that for every α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) and every halfspace c : R d → { − 1 , 1 } c:\mathbb{R}^d\to\{-1,1\} c : R d → { − 1 , 1 } , there is a polynomial q ( x ) = ∑ ∣ κ ∣ ≤ p w κ h κ ( x ) q(x)=\sum_{|\kappa|\le p}w_\kappa h_\kappa(x) q ( x ) = ∑ ∣ κ ∣ ≤ p w κ h κ ( x ) of degree p ≤ C α − 2 p\le C\alpha^{-2} p ≤ C α − 2 with ∥ w ∥ 2 ≤ 1 \|w\|_2\le1 ∥ w ∥ 2 ≤ 1 and ∥ c − q ∥ L 1 ( N ( 0 , I d ) ) ≤ α \|c-q\|_{L^1(\mathcal{N}(0,I_d))}\le\alpha ∥ c − q ∥ L 1 ( N ( 0 , I d )) ≤ α .
Proof. Write c ( x ) = f θ ( ⟨ u , x ⟩ ) c(x)=f_\theta(\langle u,x\rangle) c ( x ) = f θ (⟨ u , x ⟩) , where f θ ( z ) = sgn ( z − θ ) f_\theta(z)=\operatorname{sgn}(z-\theta) f θ ( z ) = sgn ( z − θ ) and ∥ u ∥ 2 = 1 \|u\|_2=1 ∥ u ∥ 2 = 1 . Let B : R → [ 0 , ∞ ) B:\mathbb{R}\to[0,\infty) B : R → [ 0 , ∞ ) be the one-dimensional smoothing kernel of Diakonikolas et al. [11 ] , and define B λ ( t ) = λ B ( λ t ) B_\lambda(t)=\lambda B(\lambda t) B λ ( t ) = λ B ( λ t ) .
By Pesenti et al. [45 ] , for every θ ∈ R \theta\in\mathbb{R} θ ∈ R , there exist λ > 0 \lambda>0 λ > 0 and an integer p ≤ C α − 2 p\le C\alpha^{-2} p ≤ C α − 2 , with C C C independent of θ \theta θ , such that g θ = B λ ∗ f θ g_\theta=B_\lambda*f_\theta g θ = B λ ∗ f θ satisfies
∥ f θ − Π p g θ ∥ L 1 ( N ( 0 , 1 ) ) ≤ α , \|f_\theta-\Pi_p g_\theta\|_{L^1(\mathcal{N}(0,1))}\le\alpha, ∥ f θ − Π p g θ ∥ L 1 ( N ( 0 , 1 )) ≤ α ,
where Π p ( ⋅ ) \Pi_p(\cdot) Π p ( ⋅ ) is the L 2 ( N ( 0 , 1 ) ) L^2(\mathcal{N}(0,1)) L 2 ( N ( 0 , 1 )) -orthogonal projection onto polynomials of degree at most p p p .
Since ∫ R B λ ( t ) d t = 1 \int_{\mathbb{R}}B_\lambda(t)\,\mathrm{d}t=1 ∫ R B λ ( t ) d t = 1 (Diakonikolas et al. [11 ] ), we have
∣ g θ ( z ) ∣ ≤ ∫ R B λ ( t ) ∣ f θ ( z − t ) ∣ d t = 1 ∀ z . |g_\theta(z)|\le\int_{\mathbb{R}}B_\lambda(t)|f_\theta(z-t)|\,\mathrm{d}t=1\quad\forall z. ∣ g θ ( z ) ∣ ≤ ∫ R B λ ( t ) ∣ f θ ( z − t ) ∣ d t = 1 ∀ z .
Hence ∥ Π p g θ ∥ L 2 ( N ( 0 , 1 ) ) ≤ ∥ g θ ∥ L 2 ( N ( 0 , 1 ) ) ≤ 1 \|\Pi_p g_\theta\|_{L^2(\mathcal{N}(0,1))}\le\|g_\theta\|_{L^2(\mathcal{N}(0,1))}\le1 ∥ Π p g θ ∥ L 2 ( N ( 0 , 1 )) ≤ ∥ g θ ∥ L 2 ( N ( 0 , 1 )) ≤ 1 .
Set q ( x ) = Π p g θ ( ⟨ u , x ⟩ ) q(x)=\Pi_p g_\theta(\langle u,x\rangle) q ( x ) = Π p g θ (⟨ u , x ⟩) . Its degree is at most p p p , so q = ∑ ∣ κ ∣ ≤ p w κ h κ q=\sum_{|\kappa|\le p}w_\kappa h_\kappa q = ∑ ∣ κ ∣ ≤ p w κ h κ for some coefficient vector w w w (Lemma B.8 ). Since ∥ u ∥ 2 = 1 \|u\|_2=1 ∥ u ∥ 2 = 1 , we have ⟨ u , X ⟩ ∼ N ( 0 , 1 ) \langle u,X\rangle\sim\mathcal{N}(0,1) ⟨ u , X ⟩ ∼ N ( 0 , 1 ) for X ∼ N ( 0 , I d ) X\sim\mathcal{N}(0,I_d) X ∼ N ( 0 , I d ) . Thus, the approximation error and L 2 L^2 L 2 norm of q q q under N ( 0 , I d ) \mathcal{N}(0,I_d) N ( 0 , I d ) equal those of Π p g θ \Pi_p g_\theta Π p g θ under N ( 0 , 1 ) \mathcal{N}(0,1) N ( 0 , 1 ) . Finally, orthonormality yields ∥ w ∥ 2 = ∥ q ∥ L 2 ( N ( 0 , I d ) ) = ∥ Π p g θ ∥ L 2 ( N ( 0 , 1 ) ) ≤ 1 \|w\|_2=\|q\|_{L^2(\mathcal{N}(0,I_d))}=\|\Pi_p g_\theta\|_{L^2(\mathcal{N}(0,1))}\le1 ∥ w ∥ 2 = ∥ q ∥ L 2 ( N ( 0 , I d )) = ∥ Π p g θ ∥ L 2 ( N ( 0 , 1 )) ≤ 1 .
Fact B.11 (Euclidean covers; Diakonikolas et al. [15 ] ). For every k ≥ 1 k\ge1 k ≥ 1 and γ ∈ ( 0 , 1 ) \gamma\in(0,1) γ ∈ ( 0 , 1 ) , the unit sphere in R k \mathbb{R}^k R k has an explicit γ \gamma γ -cover in ℓ 2 \ell_2 ℓ 2 of size at most ( C / γ ) k (C/\gamma)^k ( C / γ ) k , where C > 0 C>0 C > 0 is a universal constant.
Fact B.12 (Gaussian halfspace discretization; Diakonikolas et al. [15 ] ). Let X ∼ N ( 0 , I d ) X\sim\mathcal{N}(0,I_d) X ∼ N ( 0 , I d ) , let u , v ∈ R d u,v\in\mathbb{R}^d u , v ∈ R d be unit vectors, and let t 1 , t 2 ∈ R t_1,t_2\in\mathbb{R} t 1 , t 2 ∈ R . Then E [ ∣ h u , t 1 ( X ) − h v , t 1 ( X ) ∣ ] = O ( ∥ u − v ∥ 2 ) \mathbb{E}[|h_{u,t_1}(X)-h_{v,t_1}(X)|]=O(\|u-v\|_2) E [ ∣ h u , t 1 ( X ) − h v , t 1 ( X ) ∣ ] = O ( ∥ u − v ∥ 2 ) and E [ ∣ h u , t 1 ( X ) − h u , t 2 ( X ) ∣ ] = O ( ∣ t 1 − t 2 ∣ ) \mathbb{E}[|h_{u,t_1}(X)-h_{u,t_2}(X)|]=O(|t_1-t_2|) E [ ∣ h u , t 1 ( X ) − h u , t 2 ( X ) ∣ ] = O ( ∣ t 1 − t 2 ∣ ) . Moreover, if ∣ t ∣ ≥ C log ( 1 / γ ) |t|\ge C\sqrt{\log(1/\gamma)} ∣ t ∣ ≥ C log ( 1/ γ ) , then E [ ∣ h v , t ( X ) − sign ( t ) ∣ ] = O ( γ ) \mathbb{E}[|h_{v,t}(X)-\operatorname{sign}(t)|]=O(\gamma) E [ ∣ h v , t ( X ) − sign ( t ) ∣ ] = O ( γ ) .
Log-Concave Marginals
A probability measure is log-concave if its density is of the form e − V e^{-V} e − V , where V V V is convex. Log-concavity is preserved under linear projections, and log-concave distributions have finite moments of all orders. We use the following quantitative density bound for standardized one-dimensional log-concave distributions.
Fact B.13 (Bound on the density of log-concave distributions; Kalai et al. [29 ] ). Let ν \nu ν be a log-concave distribution on R \mathbb{R} R with mean zero and variance one. Then its density g g g satisfies g ( x ) ≤ e ⋅ e − ∣ x ∣ / 16 g(x)\le e\cdot e^{-|x|/16} g ( x ) ≤ e ⋅ e − ∣ x ∣/16 for all x ∈ R x\in\mathbb{R} x ∈ R .
The next two results concern weighted polynomial approximation on R \mathbb{R} R with the exponential weight function. They are not specific to log-concave measures. We use them, together with Fact B.13, in the proof of Lemma D.3 . Let ∥ ⋅ ∥ L k \|\cdot\|_{L^k} ∥ ⋅ ∥ L k denote the L k L^k L k norm with respect to the Lebesgue measure, and let W ( x ) : = e − ∣ x ∣ W(x):=e^{-|x|} W ( x ) := e − ∣ x ∣ .
Lemma B.14 (Weighted Nikolskii inequality; Lubinsky [40 ] ). There is a universal constant C C C such that, for every p ≥ 1 p\ge1 p ≥ 1 and every univariate polynomial q q q of degree at most p p p ,
∥ q W ∥ L ∞ ≤ C log ( p + 1 ) ∥ q W ∥ L 1 . \|qW\|_{L^\infty}\le C\log(p+1)\|qW\|_{L^1}. ∥ q W ∥ L ∞ ≤ C log ( p + 1 ) ∥ q W ∥ L 1 .
Lemma B.15 (Weighted Jackson estimate; Freud et al. [24 ] , see also Lubinsky [40 ] ). Let f θ ( z ) = sign ( z − θ ) f_\theta(z)=\operatorname{sign}(z-\theta) f θ ( z ) = sign ( z − θ ) . There exists a universal constant C > 0 C>0 C > 0 such that, for every θ ∈ R \theta\in\mathbb{R} θ ∈ R and integer p ≥ 2 p\ge2 p ≥ 2 , there is a polynomial q q q of degree at most p p p satisfying
∥ ( q − f θ ) W ∥ L 1 ≤ C log ( p + 1 ) . \|(q-f_\theta)W\|_{L^1}\le\frac{C}{\log(p+1)}. ∥ ( q − f θ ) W ∥ L 1 ≤ log ( p + 1 ) C .
Proof. Set H θ = f θ W H_\theta=f_\theta W H θ = f θ W . By Freud et al. [24 ] , taking δ = 1 / 2 \delta=1/2 δ = 1/2 , there exists a polynomial q q q of degree at most p p p satisfying
∥ ( q − f θ ) W ∥ L 1 ≤ C [ sup ∣ h ∣ ≤ 1 / log p ∥ H θ ( ⋅ + h ) − H θ ∥ L 1 + ∥ H θ ∥ L 1 log p + ∫ ∣ z ∣ ≥ p ∣ H θ ( z ) ∣ d z ] . \lVert(q-f_\theta)W\rVert_{L^1}\le C\left[\sup_{|h|\le1/\log p}\lVert H_\theta(\cdot+h)-H_\theta\rVert_{L^1}+\frac{\lVert H_\theta\rVert_{L^1}}{\log p}+\int_{|z|\ge\sqrt{p}}|H_\theta(z)|\,dz\right]. ∥( q − f θ ) W ∥ L 1 ≤ C [ ∣ h ∣ ≤ 1/ l o g p sup ∥ H θ ( ⋅ + h ) − H θ ∥ L 1 + log p ∥ H θ ∥ L 1 + ∫ ∣ z ∣ ≥ p ∣ H θ ( z ) ∣ d z ] .
To bound the first term on the right hand side, first observe that ∥ W ′ ∥ L 1 = 2 \lVert W'\rVert_{L^1}=2 ∥ W ′ ∥ L 1 = 2 . Using the fundamental theorem of calculus, we obtain ∥ W ( ⋅ + h ) − W ∥ L 1 ≤ ∣ h ∣ ∥ W ′ ∥ L 1 = 2 ∣ h ∣ \lVert W(\cdot+h)-W\rVert_{L^1}\le|h|\lVert W'\rVert_{L^1}=2|h| ∥ W ( ⋅ + h ) − W ∥ L 1 ≤ ∣ h ∣ ∥ W ′ ∥ L 1 = 2∣ h ∣ . Next, f θ ( z + h ) f_\theta(z+h) f θ ( z + h ) and f θ ( z ) f_\theta(z) f θ ( z ) differ only when z z z lies between θ − h \theta-h θ − h and θ \theta θ . On this interval, their difference has absolute value 2 2 2 . Since W ≤ 1 W\le1 W ≤ 1 , ∥ ( f θ ( ⋅ + h ) − f θ ) W ∥ L 1 ≤ 2 ∣ h ∣ \lVert(f_\theta(\cdot+h)-f_\theta)W\rVert_{L^1}\le2|h| ∥( f θ ( ⋅ + h ) − f θ ) W ∥ L 1 ≤ 2∣ h ∣ . Finally, adding and subtracting f θ ( z + h ) W ( z ) f_\theta(z+h)W(z) f θ ( z + h ) W ( z ) and applying the triangle inequality gives
∥ H θ ( ⋅ + h ) − H θ ∥ L 1 ≤ ∥ W ( ⋅ + h ) − W ∥ L 1 + ∥ ( f θ ( ⋅ + h ) − f θ ) W ∥ L 1 ≤ 4 ∣ h ∣ . \lVert H_\theta(\cdot+h)-H_\theta\rVert_{L^1}\le\lVert W(\cdot+h)-W\rVert_{L^1}+\lVert(f_\theta(\cdot+h)-f_\theta)W\rVert_{L^1}\le4|h|. ∥ H θ ( ⋅ + h ) − H θ ∥ L 1 ≤ ∥ W ( ⋅ + h ) − W ∥ L 1 + ∥( f θ ( ⋅ + h ) − f θ ) W ∥ L 1 ≤ 4∣ h ∣.
For the remaining terms, ∣ H θ ∣ = W |H_\theta|=W ∣ H θ ∣ = W gives ∥ H θ ∥ L 1 = 2 \lVert H_\theta\rVert_{L^1}=2 ∥ H θ ∥ L 1 = 2 and ∫ ∣ z ∣ ≥ p ∣ H θ ( z ) ∣ d z = 2 e − p \int_{|z|\ge\sqrt{p}}|H_\theta(z)|\,dz=2e^{-\sqrt{p}} ∫ ∣ z ∣ ≥ p ∣ H θ ( z ) ∣ d z = 2 e − p . Substituting these estimates yields ∥ ( q − f θ ) W ∥ L 1 ≤ C ( 6 / log p + 2 e − p ) ≤ C / log ( p + 1 ) \lVert(q-f_\theta)W\rVert_{L^1}\le C(6/\log p+2e^{-\sqrt{p}})\le C/\log(p+1) ∥( q − f θ ) W ∥ L 1 ≤ C ( 6/ log p + 2 e − p ) ≤ C / log ( p + 1 ) . All constants are independent of p p p and θ \theta θ . □
Proofs for Improper Learning with Gaussian Marginals
In this section, we prove Theorem 2.1 . We first establish the privacy guarantee of Algorithm 1.
Proposition C.1. Algorithm 1 satisfies ( ε D P , δ D P ) (\varepsilon_{\mathrm{DP}},\delta_{\mathrm{DP}}) ( ε DP , δ DP ) -DP under replacement of one labeled example.
Proof. The feature map, the partition into blocks, and the algorithm parameters are data-independent. For each example ( x , y ) (x,y) ( x , y ) , the loss v ↦ ∣ ⟨ v , ψ ˉ p , T ( x ) ⟩ − y ∣ v\mapsto|\langle v,\bar{\psi}_{p,T}(x)\rangle-y| v ↦ ∣ ⟨ v , ψ ˉ p , T ( x )⟩ − y ∣ is convex and T T T -Lipschitz, since ∥ ψ ˉ p , T ( x ) ∥ 2 ≤ T \lVert\bar{\psi}_{p,T}(x)\rVert_2\le T ∥ ψ ˉ p , T ( x ) ∥ 2 ≤ T . As the optimization domain is the public unit ball, Lemma B.4 implies that each regression run is ( ε D P , δ D P ) (\varepsilon_{\mathrm{DP}},\delta_{\mathrm{DP}}) ( ε DP , δ DP ) -DP with respect to its training block.
All blocks are disjoint, and running the DP gradient descent algorithm with the same privacy parameters independently on each block guarantees ( ε D P , δ D P ) (\varepsilon_{\mathrm{DP}},\delta_{\mathrm{DP}}) ( ε DP , δ DP ) -DP by the guarantees of Lemma B.4 and parallel composition. Our output space being defined for the remainder of the computations via v ^ j \hat{v}_j v ^ j ’s does not violate DP because of post-processing (Lemma B.3 ). Finally, applying the exponential mechanism (Lemma B.5 ) on a disjoint validation block of data satisfies ε D P \varepsilon_{\mathrm{DP}} ε DP -DP. Therefore, by parallel composition, we obtain ( ε D P , δ D P ) (\varepsilon_{\mathrm{DP}},\delta_{\mathrm{DP}}) ( ε DP , δ DP ) -DP. □
Next, we establish a tail bound for the Hermite feature norm, which controls the bias introduced by clipping.
Lemma C.2 (Hermite feature norm tail bound). Let d , p ≥ 1 d,p\ge1 d , p ≥ 1 be integers and D p = ( d + p p ) D_p=\binom{d+p}{p} D p = ( p d + p ) . Let h 1 , … , h D p h_1,\ldots,h_{D_p} h 1 , … , h D p enumerate the multivariate Hermite polynomials of degree at most p p p , orthonormal in L 2 ( N ( 0 , I d ) ) L^2(\mathcal{N}(0,I_d)) L 2 ( N ( 0 , I d )) . Define ψ p ( x ) = ( h 1 ( x ) , … , h D p ( x ) ) \psi_p(x)=(h_1(x),\ldots,h_{D_p}(x)) ψ p ( x ) = ( h 1 ( x ) , … , h D p ( x )) . For every α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) satisfying d ≥ 2 p 2 / α d\ge2p^2/\alpha d ≥ 2 p 2 / α and X ∼ N ( 0 , I d ) X\sim\mathcal{N}(0,I_d) X ∼ N ( 0 , I d ) ,
P [ ∥ ψ p ( X ) ∥ 2 > 2 D p ] ≤ α . \mathbb{P}\left[\lVert\psi_p(X)\rVert_2>2\sqrt{D_p}\right]\le\alpha. P [ ∥ ψ p ( X ) ∥ 2 > 2 D p ] ≤ α .
Proof. Write V = ∥ ψ p ( X ) ∥ 2 2 / D p V=\lVert\psi_p(X)\rVert_2^2/D_p V = ∥ ψ p ( X ) ∥ 2 2 / D p . Orthonormality gives E [ V ] = 1 \mathbb{E}[V]=1 E [ V ] = 1 . We claim that
Var ( V ) ≤ e 2 p 2 / d − 1. (14) \operatorname{Var}(V)\le e^{2p^2/d}-1. \tag*{(14)} Var ( V ) ≤ e 2 p 2 / d − 1. (14)
Assuming this claim, Chebyshev’s inequality gives
P [ ∥ ψ p ( X ) ∥ 2 > 2 D p ] = P [ V − 1 > 3 ] ≤ E [ ( V − 1 ) 2 ] 9 ≤ e 2 p 2 / d − 1 9 ≤ e α − 1 9 ≤ ( e − 1 ) α 9 ≤ α . \mathbb{P}\left[\lVert\psi_p(X)\rVert_2 > 2\sqrt{D_p}\right] = \mathbb{P}[V-1>3]
\le\frac{\mathbb{E}\left[(V-1)^2\right]}{9}
\le\frac{e^{2p^2/d}-1}{9}
\le\frac{e^\alpha-1}{9}
\le\frac{(e-1)\alpha}{9}
\le\alpha. P [ ∥ ψ p ( X ) ∥ 2 > 2 D p ] = P [ V − 1 > 3 ] ≤ 9 E [ ( V − 1 ) 2 ] ≤ 9 e 2 p 2 / d − 1 ≤ 9 e α − 1 ≤ 9 ( e − 1 ) α ≤ α .
where d ≥ 2 p 2 / α d \ge2p^2/\alpha d ≥ 2 p 2 / α in the third inequality and the fourth inequality follows by convexity of e x e^x e x for α ∈ [ 0 , 1 ] \alpha\in[0,1] α ∈ [ 0 , 1 ] .
It remains to establish (14) . For every integer m ≥ 0 m \ge0 m ≥ 0 , define K m ( x ) = ∑ ∣ κ ∣ ≤ m h κ ( x ) 2 K_m(x) = \sum_{|\kappa|\le m} h_\kappa(x)^2 K m ( x ) = ∑ ∣ κ ∣ ≤ m h κ ( x ) 2 . In particular, K p ( X ) = D p V K_p(X) = D_pV K p ( X ) = D p V . To compute the second moment of K p ( X ) K_p(X) K p ( X ) , we use the generating function F ( z , x ) = ∑ m = 0 ∞ K m ( x ) z m F(z,x) = \sum_{m=0}^{\infty} K_m(x)z^m F ( z , x ) = ∑ m = 0 ∞ K m ( x ) z m . Mehler’s formula (restated in Lemma B.9 ) gives
F ( z , x ) = 1 1 − z ∑ κ ∈ N 0 d z ∣ κ ∣ h κ ( x ) 2 = exp ( z 1 + z ∥ x ∥ 2 2 ) ( 1 − z ) ( 1 − z 2 ) d / 2 . F(z,x)=\frac{1}{1-z}\sum_{\kappa\in\mathbb{N}_0^d}z^{|\kappa|}h_\kappa(x)^2
=\frac{\exp\left(\frac{z}{1+z}\lVert x\rVert_2^2\right)}{(1-z)(1-z^2)^{d/2}}. F ( z , x ) = 1 − z 1 κ ∈ N 0 d ∑ z ∣ κ ∣ h κ ( x ) 2 = ( 1 − z ) ( 1 − z 2 ) d /2 exp ( 1 + z z ∥ x ∥ 2 2 ) .
Since ∥ X ∥ 2 2 ∼ χ d 2 \lVert X\rVert_2^2\sim\chi_d^2 ∥ X ∥ 2 2 ∼ χ d 2 , its moment-generating function gives, for sufficiently small z , w > 0 z,w>0 z , w > 0 ,
E [ F ( z , X ) F ( w , X ) ] = 1 ( 1 − z ) d + 1 ( 1 − w ) d + 1 ( 1 − 4 z w ( 1 − z ) ( 1 − w ) ) − d / 2 . \mathbb{E}[F(z,X)F(w,X)]
=\frac{1}{(1-z)^{d+1}(1-w)^{d+1}}
\left(1-\frac{4zw}{(1-z)(1-w)}\right)^{-d/2}. E [ F ( z , X ) F ( w , X )] = ( 1 − z ) d + 1 ( 1 − w ) d + 1 1 ( 1 − ( 1 − z ) ( 1 − w ) 4 z w ) − d /2 .
Expanding the last factor using the binomial series and comparing coefficients of z p w p z^pw^p z p w p yields
E [ K p ( X ) 2 ] = ∑ k = 0 p 4 k ( d / 2 ) k k ! ( d + p p − k ) 2 . \mathbb{E}[K_p(X)^2]
=\sum_{k=0}^{p}\frac{4^k(d/2)_k}{k!}\binom{d+p}{p-k}^2. E [ K p ( X ) 2 ] = k = 0 ∑ p k ! 4 k ( d /2 ) k ( p − k d + p ) 2 .
where ( a ) k = ∏ j = 0 k − 1 ( a + j ) (a)_k=\prod_{j=0}^{k-1}(a+j) ( a ) k = ∏ j = 0 k − 1 ( a + j ) , with ( a ) 0 = 1 (a)_0=1 ( a ) 0 = 1 . We therefore arrive at
E [ V 2 ] = ∑ k = 0 p 4 k ( d / 2 ) k k ! ( ( d + p p − k ) D p ) 2 ≤ ∑ k = 0 p ( 2 p 2 / d ) k k ! ≤ e 2 p 2 / d . \mathbb{E}[V^2]
=\sum_{k=0}^{p}\frac{4^k(d/2)_k}{k!}\left(\frac{\binom{d+p}{p-k}}{D_p}\right)^2
\le\sum_{k=0}^{p}\frac{(2p^2/d)^k}{k!}
\le e^{2p^2/d}. E [ V 2 ] = k = 0 ∑ p k ! 4 k ( d /2 ) k ( D p ( p − k d + p ) ) 2 ≤ k = 0 ∑ p k ! ( 2 p 2 / d ) k ≤ e 2 p 2 / d .
where the first inequality follows from ( d + p p − k ) / D p = ∏ j = 0 k − 1 p − j d + 1 + j \binom{d+p}{p-k}/D_p=\prod_{j=0}^{k-1}\frac{p-j}{d+1+j} ( p − k d + p ) / D p = ∏ j = 0 k − 1 d + 1 + j p − j , together with p − j ≤ p p-j\le p p − j ≤ p and ( d / 2 + j ) / ( d + 1 + j ) 2 ≤ 1 / ( 2 d ) (d/2+j)/(d+1+j)^2\le1/(2d) ( d /2 + j ) / ( d + 1 + j ) 2 ≤ 1/ ( 2 d ) . Since E [ V ] = 1 \mathbb{E}[V]=1 E [ V ] = 1 , (14) follows. □
We now turn to the proof of Theorem 2.1 . We use Algorithm 1 with the degree-p p p Hermite feature map ψ p \psi_p ψ p . Fix a universal constant c ∈ ( 0 , 1 / 4 ] c\in(0,1/4] c ∈ ( 0 , 1/4 ] and a sufficiently large universal constant C C C , depending only on c c c . Set
p = ⌈ C α − 2 ⌉ , D p = ( d + p p ) , T = 2 D p , k = ⌈ log 2 2 β ⌉ , M = ⌈ C α ⌉ . (15) p=\left\lceil C\alpha^{-2}\right\rceil,\qquad
D_p=\binom{d+p}{p},\qquad
T=2\sqrt{D_p},\qquad
k=\left\lceil\log_2\frac{2}{\beta}\right\rceil,\qquad
M=\left\lceil\frac{C}{\alpha}\right\rceil. \tag*{(15)} p = ⌈ C α − 2 ⌉ , D p = ( p d + p ) , T = 2 D p , k = ⌈ log 2 β 2 ⌉ , M = ⌈ α C ⌉ . (15)
Since p ≤ ( C + 1 ) α − 2 p \le(C+1)\alpha^{-2} p ≤ ( C + 1 ) α − 2 , choosing C d i m ≥ 2 ( C + 1 ) 2 / c C_{\mathrm{dim}} \ge2(C+1)^2/c C dim ≥ 2 ( C + 1 ) 2 / c ensures that d ≥ C d i m α − 5 d \ge C_{\mathrm{dim}}\alpha^{-5} d ≥ C dim α − 5 implies d ≥ 2 p 2 / ( c α ) d \ge2p^2/(c\alpha) d ≥ 2 p 2 / ( c α ) . Thus Lemma C.2 applies at level c α c\alpha c α . Let n 0 ≥ 2 n_0 \ge2 n 0 ≥ 2 be the smallest integer satisfying
C ( T D p log ( 1 / δ D P ) ε D P n 0 + D p n 0 ) ≤ c α , (16) C\left(\frac{T\sqrt{D_p\log(1/\delta_{\mathrm{DP}})}}{\varepsilon_{\mathrm{DP}}n_0}+\sqrt{\frac{D_p}{n_0}}\right)\le c\alpha, \tag*{(16)} C ( ε DP n 0 T D p log ( 1/ δ DP ) + n 0 D p ) ≤ c α , (16)
and set
m = ⌈ C ( 1 α 2 + 1 ε D P α ) log k M β ⌉ , n = k n 0 + m . (17) m=\left\lceil C\left(\frac{1}{\alpha^2}+\frac{1}{\varepsilon_{\mathrm{DP}}\alpha}\right)\log\frac{kM}{\beta}\right\rceil,\qquad n=kn_0+m. \tag*{(17)} m = ⌈ C ( α 2 1 + ε DP α 1 ) log β k M ⌉ , n = k n 0 + m . (17)
Proof of Theorem 2.1 . Proposition C.1 establishes privacy. It remains to establish the accuracy, sample complexity, and running time bounds. Write μ = N ( 0 , I d ) \mu=\mathcal{N}(0,I_d) μ = N ( 0 , I d ) , and recall the population regression loss L P ( v ) = E ( X , Y ) ∼ P [ ∣ ⟨ v , ψ ˉ p , T ( X ) ⟩ − Y ∣ ] L_P(v)=\mathbb{E}_{(X,Y)\sim P}\left[\left|\langle v,\bar{\psi}_{p,T}(X)\rangle-Y\right|\right] L P ( v ) = E ( X , Y ) ∼ P [ ⟨ v , ψ ˉ p , T ( X )⟩ − Y ] , and its minimum L ⋆ : = min ∥ v ∥ 2 ≤ 1 L P ( v ) L^\star:=\min_{\lVert v\rVert_2\le1}L_P(v) L ⋆ := min ∥ v ∥ 2 ≤ 1 L P ( v ) . Additionally, for the training block S j S_j S j , write L ^ S j ( v ) : = n 0 − 1 ∑ ( X i , Y i ) ∈ S j ∣ ⟨ v , ψ ˉ p , T ( X i ) ⟩ − Y i ∣ \widehat{L}_{S_j}(v):=n_0^{-1}\sum_{(X_i,Y_i)\in S_j}\left|\langle v,\bar{\psi}_{p,T}(X_i)\rangle-Y_i\right| L S j ( v ) := n 0 − 1 ∑ ( X i , Y i ) ∈ S j ⟨ v , ψ ˉ p , T ( X i )⟩ − Y i for the empirical regression loss.
We first bound the expected excess regression loss of a single training run. Orthonormality and clipping give E μ ∥ ψ ˉ p , T ( X ) ∥ 2 2 ≤ D p \mathbb{E}_{\mu}\lVert\bar{\psi}_{p,T}(X)\rVert_2^2\le D_p E μ ∥ ψ ˉ p , T ( X ) ∥ 2 2 ≤ D p and ∥ ψ ˉ p , T ( x ) ∥ 2 ≤ T \lVert\bar{\psi}_{p,T}(x)\rVert_2\le T ∥ ψ ˉ p , T ( x ) ∥ 2 ≤ T . The loss is convex and T T T -Lipschitz on all of R D p \mathbb{R}^{D_p} R D p , and the optimization domain is the public unit ball, of diameter 2. Fix a population minimizer v ⋆ ∈ argmin ∥ v ∥ 2 ≤ 1 L P ( v ) v^\star\in\operatorname*{argmin}_{\lVert v\rVert_2\le1}L_P(v) v ⋆ ∈ argmin ∥ v ∥ 2 ≤ 1 L P ( v ) , so that L P ( v ⋆ ) = L ⋆ L_P(v^\star)=L^\star L P ( v ⋆ ) = L ⋆ . Adding and subtracting L ^ S j ( v ^ j ) \widehat{L}_{S_j}(\widehat{v}_j) L S j ( v j ) and L ^ S j ( v ⋆ ) \widehat{L}_{S_j}(v^\star) L S j ( v ⋆ ) give
L P ( v ^ j ) − L ⋆ = [ L P ( v ^ j ) − L ^ S j ( v ^ j ) ] + [ L ^ S j ( v ^ j ) − L ^ S j ( v ⋆ ) ] + [ L ^ S j ( v ⋆ ) − L ⋆ ] ≤ sup ∥ v ∥ 2 ≤ 1 ( L P ( v ) − L ^ S j ( v ) ) + [ L ^ S j ( v ^ j ) − min ∥ v ∥ 2 ≤ 1 L ^ S j ( v ) ] + [ L ^ S j ( v ⋆ ) − L ⋆ ] . (18) \begin{aligned}
L_P(\widehat{v}_j)-L^\star
&=\left[L_P(\widehat{v}_j)-\widehat{L}_{S_j}(\widehat{v}_j)\right]+\left[\widehat{L}_{S_j}(\widehat{v}_j)-\widehat{L}_{S_j}(v^\star)\right]+\left[\widehat{L}_{S_j}(v^\star)-L^\star\right]\\
&\le\sup_{\lVert v\rVert_2\le1}\left(L_P(v)-\widehat{L}_{S_j}(v)\right)+\left[\widehat{L}_{S_j}(\widehat{v}_j)-\min_{\lVert v\rVert_2\le1}\widehat{L}_{S_j}(v)\right]+\left[\widehat{L}_{S_j}(v^\star)-L^\star\right]. \tag*{(18)}
\end{aligned} L P ( v j ) − L ⋆ = [ L P ( v j ) − L S j ( v j ) ] + [ L S j ( v j ) − L S j ( v ⋆ ) ] + [ L S j ( v ⋆ ) − L ⋆ ] ≤ ∥ v ∥ 2 ≤ 1 sup ( L P ( v ) − L S j ( v ) ) + [ L S j ( v j ) − ∥ v ∥ 2 ≤ 1 min L S j ( v ) ] + [ L S j ( v ⋆ ) − L ⋆ ] . (18)
The inequality uses ∥ v ^ j ∥ 2 ≤ 1 \lVert\widehat{v}_j\rVert_2\le1 ∥ v j ∥ 2 ≤ 1 . Since v ⋆ v^\star v ⋆ is fixed and the examples in S j S_j S j are sampled from P P P , E S j L ^ S j ( v ⋆ ) = L P ( v ⋆ ) = L ⋆ \mathbb{E}_{S_j}\widehat{L}_{S_j}(v^\star)=L_P(v^\star)=L^\star E S j L S j ( v ⋆ ) = L P ( v ⋆ ) = L ⋆ . Thus the final term in (15) has mean zero. Taking expectations over S j S_j S j and the randomness of the private optimizer, Lemmas B.4 and B.7 therefore give
E [ L P ( v ^ j ) − L ⋆ ] ≤ E [ L ^ S j ( v ^ j ) − min ∥ v ∥ 2 ≤ 1 L ^ S j ( v ) ] + 2 D p n 0 ≤ c α , (19) \mathbb{E}[L_P(\widehat{v}_j)-L^\star]\le\mathbb{E}\left[\widehat{L}_{S_j}(\widehat{v}_j)-\min_{\lVert v\rVert_2\le1}\widehat{L}_{S_j}(v)\right]+2\sqrt{\frac{D_p}{n_0}}\le c\alpha, \tag*{(19)} E [ L P ( v j ) − L ⋆ ] ≤ E [ L S j ( v j ) − ∥ v ∥ 2 ≤ 1 min L S j ( v ) ] + 2 n 0 D p ≤ c α , (19)
where the last inequality follows from the choice of n 0 n_0 n 0 in (14b).
We then use the standard confidence-amplification argument based on independent repetition; see, e.g., Shalev-Shwartz et al. [47 ] . By (16) and Markov’s inequality, P ( L P ( v ^ j ) − L ⋆ > 2 c α ) ≤ 1 / 2 \mathbb{P}(L_P(\widehat{v}_j)-L^\star>2c\alpha)\le1/2 P ( L P ( v j ) − L ⋆ > 2 c α ) ≤ 1/2 . Since the k k k training runs are independent, P ( min j ∈ [ k ] L P ( v ^ j ) > L ⋆ + 2 c α ) ≤ 2 − k ≤ β / 2 \mathbb{P}(\min_{j\in[k]}L_P(\widehat{v}_j)>L^\star+2c\alpha)\le2^{-k}\le\beta/2 P ( min j ∈ [ k ] L P ( v j ) > L ⋆ + 2 c α ) ≤ 2 − k ≤ β /2 . Thus, with probability at least 1 − β / 2 1-\beta/2 1 − β /2 ,
min j ∈ [ k ] L P ( v ^ j ) ≤ L ⋆ + 2 c α . (20) \min_{j\in[k]}L_P(\widehat{v}_j)\le L^\star+2c\alpha. \tag*{(20)} j ∈ [ k ] min L P ( v j ) ≤ L ⋆ + 2 c α . (20)
Next, we argue about the correctness of the choice of our threshold, which requires our grid over [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] to be fine enough that the bias due to discretization is small, but not so fine that we blow up in terms of our sample complexity and running time when applying the exponential mechanism. If we select a threshold uniformly at random from the continuous interval [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] , then Fact B.6 bounds the expected classification error under a uniform threshold τ ∼ Unif [ − 1 , 1 ] \tau\sim\operatorname{Unif}[-1,1] τ ∼ Unif [ − 1 , 1 ] by half the absolute loss. Then the expected 0-1 loss preserves our agnostic learning error requirements. However, rounding τ \tau τ to the midpoint of its grid interval yields a threshold that is uniform over { t 1 , … , t M } \{t_1,\ldots,t_M\} { t 1 , … , t M } . At a fixed x x x , rounding changes the prediction only if the score ⟨ v ^ j , ψ ˉ p , T ( x ) ⟩ \langle\widehat{v}_j,\bar{\psi}_{p,T}(x)\rangle ⟨ v j , ψ ˉ p , T ( x )⟩ lies between τ \tau τ and the midpoint τ \tau τ is rounded to, which happens with probability at most 1 / ( 2 M ) 1/(2M) 1/ ( 2 M ) . Hence, the expectation of the population error of v ^ j \widehat{v}_j v j over the random sampling from the discretized grid is M − 1 ∑ ℓ = 1 M err P ( h j , ℓ ) ≤ L P ( v ^ j ) / 2 + 1 / ( 2 M ) M^{-1}\sum_{\ell=1}^{M}\operatorname{err}_{P}(h_{j,\ell}) \le L_{P}(\widehat{v}_{j})/2 + 1/(2M) M − 1 ∑ ℓ = 1 M err P ( h j , ℓ ) ≤ L P ( v j ) /2 + 1/ ( 2 M ) . Since min ℓ err P ( h j , ℓ ) ≤ M − 1 ∑ ℓ = 1 M err P ( h j , ℓ ) \min_{\ell}\operatorname{err}_{P}(h_{j,\ell}) \le M^{-1}\sum_{\ell=1}^{M}\operatorname{err}_{P}(h_{j,\ell}) min ℓ err P ( h j , ℓ ) ≤ M − 1 ∑ ℓ = 1 M err P ( h j , ℓ ) , conditioned on the event in (20) and taking the minimum over all v ^ j \widehat{v}_{j} v j 's, we have
min j , ℓ err P ( h j , ℓ ) ≤ 1 2 min j ∈ [ k ] L P ( v ^ j ) + 1 2 M ≤ 1 2 L ⋆ + 2 c α . (21) \min_{j,\ell}\operatorname{err}_{P}(h_{j,\ell}) \le\frac{1}{2}\min_{j\in[k]}L_{P}(\widehat{v}_{j})+\frac{1}{2M}\le\frac{1}{2}L^{\star}+2c\alpha. \tag*{(21)} j , ℓ min err P ( h j , ℓ ) ≤ 2 1 j ∈ [ k ] min L P ( v j ) + 2 M 1 ≤ 2 1 L ⋆ + 2 c α . (21)
Let h h h denote the classifier selected by the exponential mechanism on S v a l S_{\mathrm{val}} S val . Conditional on the training outputs, Lemma B.5 , with K = k M K=kM K = k M , η = β / 2 \eta=\beta/2 η = β /2 , and m m m as in (17) , gives err P ( h ) ≤ min j , ℓ err P ( h j , ℓ ) + c α \operatorname{err}_{P}(h)\le\min_{j,\ell}\operatorname{err}_{P}(h_{j,\ell})+c\alpha err P ( h ) ≤ min j , ℓ err P ( h j , ℓ ) + c α with probability at least 1 − β / 2 1-\beta/2 1 − β /2 . Thus, with probability at least 1 − β 1-\beta 1 − β ,
err P ( h ) ≤ L ⋆ / 2 + 3 c α , (22) \operatorname{err}_{P}(h)\le L^{\star}/2+3c\alpha, \tag*{(22)} err P ( h ) ≤ L ⋆ /2 + 3 c α , (22)
which comes due to sampling and the noise due to the exponential mechanism.
We next compare L ⋆ L^{\star} L ⋆ with the error of the best halfspace. Fix c 0 ∈ C c_{0}\in\mathcal{C} c 0 ∈ C . By Lemma B.10 , and the choice of the degree p p p in (15) , there is a polynomial q = ⟨ v q , ψ p ⟩ q=\langle v_{q},\psi_{p}\rangle q = ⟨ v q , ψ p ⟩ with ∥ v q ∥ 2 ≤ 1 \lVert v_{q}\rVert_{2}\le1 ∥ v q ∥ 2 ≤ 1 and ∥ q − c 0 ∥ L 1 ( μ ) ≤ c α \lVert q-c_{0}\rVert_{L^{1}(\mu)}\le c\alpha ∥ q − c 0 ∥ L 1 ( μ ) ≤ c α . Write s ( x ) : = T / max { T , ∥ ψ p ( x ) ∥ 2 } s(x):=T/\max\{T,\lVert\psi_{p}(x)\rVert_{2}\} s ( x ) := T / max { T , ∥ ψ p ( x ) ∥ 2 } , so that ψ ‾ p , T ( x ) = s ( x ) ψ p ( x ) \overline{\psi}_{p,T}(x)=s(x)\psi_{p}(x) ψ p , T ( x ) = s ( x ) ψ p ( x ) . Since 0 < s ( x ) ≤ 1 0<s(x)\le1 0 < s ( x ) ≤ 1 and ∣ y ∣ = 1 |y|=1 ∣ y ∣ = 1 ,
∣ ⟨ v q , ψ ‾ p , T ( x ) ⟩ − y ∣ = ∣ s ( x ) q ( x ) − y ∣ ≤ s ( x ) ∣ q ( x ) − y ∣ + 1 − s ( x ) ≤ ∣ q ( x ) − c 0 ( x ) ∣ + ∣ c 0 ( x ) − y ∣ + 1 − s ( x ) . \begin{aligned}
\left|\langle v_q,\overline{\psi}_{p,T}(x)\rangle-y\right|&=|s(x)q(x)-y|\\
&\le s(x)|q(x)-y|+1-s(x)\\
&\le|q(x)-c_0(x)|+|c_0(x)-y|+1-s(x).
\end{aligned} ⟨ v q , ψ p , T ( x )⟩ − y = ∣ s ( x ) q ( x ) − y ∣ ≤ s ( x ) ∣ q ( x ) − y ∣ + 1 − s ( x ) ≤ ∣ q ( x ) − c 0 ( x ) ∣ + ∣ c 0 ( x ) − y ∣ + 1 − s ( x ) .
Taking expectations over a population example ( X , Y ) ∼ P (X,Y)\sim P ( X , Y ) ∼ P yields
L P ( v q ) ≤ 2 err P ( c 0 ) + ∥ q − c 0 ∥ L 1 ( μ ) + E μ [ 1 − s ( X ) ] . (23) L_{P}(v_q)\le2\operatorname{err}_{P}(c_0)+\lVert q-c_0\rVert_{L^{1}(\mu)}+\mathbb{E}_{\mu}[1-s(X)]. \tag*{(23)} L P ( v q ) ≤ 2 err P ( c 0 ) + ∥ q − c 0 ∥ L 1 ( μ ) + E μ [ 1 − s ( X )] . (23)
Moreover, since 0 ≤ 1 − s ( x ) ≤ 1 { ∥ ψ p ( x ) ∥ 2 > T } 0\le1-s(x)\le\mathbf{1}\{\lVert\psi_p(x)\rVert_{2}>T\} 0 ≤ 1 − s ( x ) ≤ 1 {∥ ψ p ( x ) ∥ 2 > T } , Lemma C.2 , applied at level c α c\alpha c α , gives E μ [ 1 − s ( X ) ] ≤ Pr μ ( ∥ ψ p ( X ) ∥ 2 > T ) ≤ c α \mathbb{E}_{\mu}[1-s(X)]\le\Pr_{\mu}(\lVert\psi_p(X)\rVert_{2}>T)\le c\alpha E μ [ 1 − s ( X )] ≤ Pr μ (∥ ψ p ( X ) ∥ 2 > T ) ≤ c α . Since ∥ v q ∥ 2 ≤ 1 \lVert v_q\rVert_{2}\le1 ∥ v q ∥ 2 ≤ 1 , we conclude that L ⋆ ≤ L P ( v q ) ≤ 2 err P ( c 0 ) + 2 c α L^{\star}\le L_{P}(v_q)\le2\operatorname{err}_{P}(c_0)+2c\alpha L ⋆ ≤ L P ( v q ) ≤ 2 err P ( c 0 ) + 2 c α . Taking the infimum over c 0 ∈ C c_0\in\mathcal{C} c 0 ∈ C gives
L ⋆ ≤ 2 OPT + 2 c α . (24) L^{\star}\le2\operatorname{OPT}+2c\alpha. \tag*{(24)} L ⋆ ≤ 2 OPT + 2 c α . (24)
Combining (22) and (24) , we obtain the desired
err P ( h ) ≤ OPT + 4 c α ≤ OPT + α , \operatorname{err}_{P}(h)\le\operatorname{OPT}+4c\alpha\le\operatorname{OPT}+\alpha, err P ( h ) ≤ OPT + 4 c α ≤ OPT + α ,
where the last inequality uses c ≤ 1 / 4 c\le1/4 c ≤ 1/4 .
The choices in (16) and (17) satisfy
n 0 = O ~ ( D p α 2 + D p ϵ D P α ) , m = O ~ ( ( 1 α 2 + 1 ϵ D P α ) log 2 β ) , n_0=\widetilde{O}\left(\frac{D_p}{\alpha^2}+\frac{D_p}{\epsilon_{\mathrm{DP}}\alpha}\right),\qquad
m=\widetilde{O}\left(\left(\frac{1}{\alpha^2}+\frac{1}{\epsilon_{\mathrm{DP}}\alpha}\right)\log\frac{2}{\beta}\right), n 0 = O ( α 2 D p + ϵ DP α D p ) , m = O ( ( α 2 1 + ϵ DP α 1 ) log β 2 ) ,
where the bound on n 0 n_0 n 0 uses T D p = 2 D p T\sqrt{D_p}=2D_p T D p = 2 D p . Since k = O ( log ( 2 / β ) ) k=O(\log(2/\beta)) k = O ( log ( 2/ β )) and n = k n 0 + m n=kn_0+m n = k n 0 + m , this yields the stated sample bound on n n n .
Finally, we analyse the running time. Computing the clipped Hermite features requires O ( p D p ) O(pD_p) O ( p D p ) arithmetic operations per example. Given these features, subgradient evaluation and projection onto the Euclidean unit ball each take O ( D p ) O(D_p) O ( D p ) time, so Lemma B.4 gives a total cost of O ( k n 0 2 D p ) O(kn_0^2D_p) O ( k n 0 2 D p ) for the k k k private ERM runs. Evaluating the k M kM k M candidate classifiers on the validation sample requires O ( k M m D p ) O(kMmD_p) O ( k M m D p ) operations. Thus, the overall running time is
O ( n p D p + k n 0 2 D p + k M m D p ) = poly ( n ) , O\left(npD_p+kn_0^2D_p+kMmD_p\right)=\operatorname{poly}(n), O ( n p D p + k n 0 2 D p + k M m D p ) = poly ( n ) ,
since M ≤ p < D p ≤ n 0 M\le p<D_p\le n_0 M ≤ p < D p ≤ n 0 and k n 0 + m = n kn_0+m=n k n 0 + m = n .
Private Improper Agnostic Learning: Log-Concave Marginals
We extend the learner of § 2 to known, full-dimensional1 log-concave marginals. The regression, confidence amplification, thresholding, and private validation steps are unchanged. We replace the Hermite features by a polynomial basis that is orthonormal under the marginal. The approximation guarantee in Lemma D.3 allows us to restrict regression to a coefficient ball of constant radius. We use the known marginal to choose a clipping threshold T T T that controls the additional regression loss while keeping the feature norms bounded.
Theorem D.1 (DP improper agnostic learner for log-concave marginals). Let α , β ∈ ( 0 , 1 ) \alpha,\beta\in(0,1) α , β ∈ ( 0 , 1 ) and ε D P , δ D P ∈ ( 0 , 1 / 2 ] \varepsilon_{\mathrm{DP}},\delta_{\mathrm{DP}} \in(0,1/2] ε DP , δ DP ∈ ( 0 , 1/2 ] . Set p = ⌈ exp ( C / α ) ⌉ p = \lceil\exp(C/\alpha)\rceil p = ⌈ exp ( C / α )⌉ for a sufficiently large universal constant C > 0 C > 0 C > 0 , let D p = ( d + p p ) D_p = \binom{d+p}{p} D p = ( p d + p ) , and let T T T be as in (25) . Let P P P be any distribution on R d × { ± 1 } \mathbb{R}^d \times\{\pm1\} R d × { ± 1 } with a known, full-dimensional log-concave marginal μ \mu μ . Then the modification of Algorithm 1 described in Appendix § 10 .§ 1 is ( ε D P , δ D P ) (\varepsilon_{\mathrm{DP}},\delta_{\mathrm{DP}}) ( ε DP , δ DP ) -DP and, given
n = O ~ ( D p α 2 + T D p ε D P α ) n = \widetilde{O}\left(\frac{D_p}{\alpha^2} + \frac{T\sqrt{D_p}}{\varepsilon_{\mathrm{DP}}\alpha}\right) n = O ( α 2 D p + ε DP α T D p ) i.i.d. samples from P P P , returns a classifier h h h satisfying err P ( h ) ≤ OPT + α \operatorname{err}_P(h) \le\operatorname{OPT}+\alpha err P ( h ) ≤ OPT + α with probability at least 1 − β 1-\beta 1 − β . The algorithm runs in time poly ( n ) \operatorname{poly}(n) poly ( n ) , provided that constructing the orthonormal feature map, evaluating it at an input, and computing T T T from public information each take time poly ( D p ) \operatorname{poly}(D_p) poly ( D p ) .
As we show in Remark 3, T = D p / ( c α ) T = \sqrt{D_p/(c\alpha)} T = D p / ( c α ) is an admissible clipping threshold. Consequently, the sample bound is at most O ~ ( D p / α 2 + D p / ( ε D P α 3 / 2 ) ) \widetilde{O}(D_p/\alpha^2 + D_p/(\varepsilon_{\mathrm{DP}}\alpha^{3/2})) O ( D p / α 2 + D p / ( ε DP α 3/2 )) .
The Algorithm
Let μ \mu μ be a known, full-dimensional log-concave distribution on R d \mathbb{R}^d R d . We modify Algorithm 1 by replacing the Hermite features with a polynomial basis orthonormal under μ \mu μ , choosing a clipping threshold adapted to μ \mu μ , and changing the optimization domain. We increase the polynomial degree to achieve the required approximation accuracy. We keep k k k , M M M , and m m m as in (15) and (17) , and replace the block size n 0 n_0 n 0 by (30) . The private optimization procedure, independent repetitions, thresholding, and private validation remain unchanged. We discuss the changes to Algorithm 1 in greater detail in the remainder of this section.
First, for the existence of a polynomial with good approximating guarantees, we increase the degree p = ⌈ exp ( C / α ) ⌉ p = \lceil\exp(C/\alpha)\rceil p = ⌈ exp ( C / α )⌉ for a sufficiently large universal constant C > 0 C > 0 C > 0 . For the optimization domain, we replace the unit coefficient ball in Algorithm 1 with B 2 D p ( R 0 ) : = { v ∈ R D p : ∥ v ∥ 2 ≤ R 0 } B_2^{D_p}(R_0) := \{v \in\mathbb{R}^{D_p}: \|v\|_2 \le R_0\} B 2 D p ( R 0 ) := { v ∈ R D p : ∥ v ∥ 2 ≤ R 0 } , where R 0 R_0 R 0 is the universal constant in Lemma D.3 .
Next, we recall how to construct an orthonormal basis for the polynomials of degree at most p p p in L 2 ( μ ) L^2(\mu) L 2 ( μ ) . Let m p ( x ) = ( x κ ) ∣ κ ∣ ≤ p m_p(x) = (x^\kappa)_{|\kappa|\le p} m p ( x ) = ( x κ ) ∣ κ ∣ ≤ p be the vector of monomials of degree at most p p p . Following the standard moment-matrix orthonormalization ([19 ] ), define the population Gram matrix G p = E μ [ m p ( X ) m p ( X ) T ] G_p = \mathbb{E}_{\mu}[m_p(X)m_p(X)^\mathsf{T}] G p = E μ [ m p ( X ) m p ( X ) T ] and set ψ p ( x ) = G p − 1 / 2 m p ( x ) \psi_p(x) = G_p^{-1/2}m_p(x) ψ p ( x ) = G p − 1/2 m p ( x ) . The entries of G p G_p G p are the moments of μ \mu μ through degree 2 p 2p 2 p . Log-concavity ensures that all moments are finite, while full dimensionality guarantees that G p G_p G p is positive definite. Since G p − 1 / 2 G_p^{-1/2} G p − 1/2 is invertible, the coordinates of ψ p \psi_p ψ p span the polynomials of degree at most p p p . Moreover, E μ [ ψ p ( X ) ψ p ( X ) T ] = I D p \mathbb{E}_{\mu}[\psi_p(X)\psi_p(X)^\mathsf{T}] = I_{D_p} E μ [ ψ p ( X ) ψ p ( X ) T ] = I D p , so they form an orthonormal basis of this polynomial space in L 2 ( μ ) L^2(\mu) L 2 ( μ ) . In particular, ⟨ v , ψ p ⟩ L 2 ( μ ) = ∥ v ∥ 2 \langle v,\psi_p\rangle_{L^2(\mu)} = \|v\|_2 ⟨ v , ψ p ⟩ L 2 ( μ ) = ∥ v ∥ 2 and E μ [ ∥ ψ p ( X ) ∥ 2 2 ] = D p \mathbb{E}_{\mu}[\|\psi_p(X)\|_2^2] = D_p E μ [ ∥ ψ p ( X ) ∥ 2 2 ] = D p . This construction based on the moment-matrix provides a general way to obtain the required orthonormal basis. When an explicit basis is available, it may be used directly without forming G p G_p G p . provided its construction and evaluation satisfy the computational assumption in Theorem D.1 . For example, the normalized Hermite basis for the standard Gaussian marginal can be constructed and evaluated in poly ( D p ) \operatorname{poly}(D_p) poly ( D p ) arithmetic operations.
Finally, we discuss clipping. As in the Gaussian case, we radially clip the feature vectors to obtain a uniform bound on their norms: ψ ˉ p , T ( x ) : = T ψ p ( x ) / max { T , ∥ ψ p ( x ) ∥ 2 } \bar{\psi}_{p,T}(x) := T\psi_p(x)/\max\{T,\lVert\psi_p(x)\rVert_2\} ψ ˉ p , T ( x ) := T ψ p ( x ) / max { T , ∥ ψ p ( x ) ∥ 2 } . Since μ \mu μ is known, we can choose the clipping threshold directly from the marginal. For a sufficiently small universal constant c > 0 c > 0 c > 0 , set
T = min { t > 0 : E μ [ ( 1 − t ∥ ψ p ( X ) ∥ 2 ) + ] ≤ c α } . (25) T = \min\left\{t > 0 : \mathbb{E}_{\mu}\left[\left(1-\frac{t}{\lVert\psi_p(X)\rVert_2}\right)_+\right] \le c\alpha\right\}. \tag*{(25)} T = min { t > 0 : E μ [ ( 1 − ∥ ψ p ( X ) ∥ 2 t ) + ] ≤ c α } . (25)
where ( x ) + = max { x , 0 } (x)_+ = \max\{x,0\} ( x ) + = max { x , 0 } . The argument for (7) uses only orthonormality and therefore also applies to the present feature map. Since ( 1 − t / ∥ ψ p ( x ) ∥ 2 ) + ≤ 1 { ∥ ψ p ( x ) ∥ 2 > t } (1-t/\lVert\psi_p(x)\rVert_2)_+ \le\mathbf{1}\{\lVert\psi_p(x)\rVert_2 > t\} ( 1 − t / ∥ ψ p ( x ) ∥ 2 ) + ≤ 1 {∥ ψ p ( x ) ∥ 2 > t } , the choice t = D p / ( c α ) t = \sqrt{D_p/(c\alpha)} t = D p / ( c α ) is admissible, and hence T ≤ D p / ( c α ) T \le\sqrt{D_p/(c\alpha)} T ≤ D p / ( c α ) . Depending on the marginal and the parameter regime, marginal-dependent choices may yield a smaller threshold. For example, if μ = N ( 0 , I d ) \mu= N(0,I_d) μ = N ( 0 , I d ) and d ≥ 2 p 2 / ( c α ) d \ge2p^2/(c\alpha) d ≥ 2 p 2 / ( c α ) , Lemma C.2 shows that T ≤ 2 D p T \le2\sqrt{D_p} T ≤ 2 D p , so the privacy term improves to O ( D p / ( ε D P α ) ) O(D_p/(\varepsilon_{\mathrm{DP}}\alpha)) O ( D p / ( ε DP α )) .2
Analysis
In this section, we prove Theorem D.1 . We first establish privacy.
Proposition D.2. The learner in Theorem D.1 satisfies ( ε D P , δ D P ) (\varepsilon_{\mathrm{DP}},\delta_{\mathrm{DP}}) ( ε DP , δ DP ) -DP under replacement of one labeled example.
Proof. The feature map, clipping threshold, coefficient ball, and sample partition are public. Since ∥ ψ ˉ p , T ( x ) ∥ 2 ≤ T \lVert\bar{\psi}_{p,T}(x)\rVert_2 \le T ∥ ψ ˉ p , T ( x ) ∥ 2 ≤ T , the loss is convex and T T T -Lipschitz in v v v on all of R D p \mathbb{R}^{D_p} R D p . Thus, each regression run is ( ε D P , δ D P ) (\varepsilon_{\mathrm{DP}},\delta_{\mathrm{DP}}) ( ε DP , δ DP ) -DP by Lemma B.4 . The neighboring-dataset argument in the proof of Proposition C.1 then applies unchanged, establishing ( ε D P , δ D P ) (\varepsilon_{\mathrm{DP}},\delta_{\mathrm{DP}}) ( ε DP , δ DP ) -DP for the full learner.
We next prove the bounded-norm polynomial approximation guarantee. The key ingredient is the exponential density bound for one-dimensional log-concave distributions (Fact B.13), which allows us to transfer weighted polynomial approximation bounds to the L 1 L^1 L 1 and L 2 L^2 L 2 norms under the marginal. The result extends to arbitrary halfspaces by considering their one-dimensional projections.
Lemma D.3 (Bounded-norm polynomial approximation of halfspaces under log-concave measures). There exist universal constants C , R 0 ≥ 1 C,R_0 \ge1 C , R 0 ≥ 1 such that the following holds. Let μ \mu μ be a log-concave probability measure on R d \mathbb{R}^d R d . For every integer p ≥ 2 p \ge2 p ≥ 2 and halfspace c : R d → { − 1 , 1 } c:\mathbb{R}^d \to\{-1,1\} c : R d → { − 1 , 1 } , there is a polynomial q q q of degree at most p p p satisfying ∥ q − c ∥ L 1 ( μ ) ≤ C / log ( p + 1 ) \lVert q-c\rVert_{L^1(\mu)} \le C/\log(p+1) ∥ q − c ∥ L 1 ( μ ) ≤ C / log ( p + 1 ) and ∥ q ∥ L 2 ( μ ) ≤ R 0 \lVert q\rVert_{L^2(\mu)} \le R_0 ∥ q ∥ L 2 ( μ ) ≤ R 0 . In particular, taking p = ⌈ exp ( C / α ) ⌉ p=\lceil\exp(C/\alpha)\rceil p = ⌈ exp ( C / α )⌉ gives ∥ q − c ∥ L 1 ( μ ) ≤ α \lVert q-c\rVert_{L^1(\mu)} \le\alpha ∥ q − c ∥ L 1 ( μ ) ≤ α .
Proof. Consider a log-concave probability measure ν \nu ν on R \mathbb{R} R with mean zero and variance one, and set f θ ( z ) = sign ( z − θ ) f_\theta(z)=\operatorname{sign}(z-\theta) f θ ( z ) = sign ( z − θ ) . We will first prove that there exists a polynomial r r r of degree at most p p p satisfying
∥ r − f θ ∥ L 1 ( ν ) ≤ C / log ( p + 1 ) and ∥ r − f θ ∥ L 2 ( ν ) 2 ≤ C . (26) \lVert r-f_\theta\rVert_{L^1(\nu)} \le C/\log(p+1) \quad\text{and}\quad\lVert r-f_\theta\rVert_{L^2(\nu)}^2 \le C. \tag*{(26)} ∥ r − f θ ∥ L 1 ( ν ) ≤ C / log ( p + 1 ) and ∥ r − f θ ∥ L 2 ( ν ) 2 ≤ C . (26)
Assuming the above is true, we next extend it to R d \mathbb{R}^d R d . Write the halfspace c ( x ) = sign ( ⟨ u , x ⟩ − θ ) c(x)=\operatorname{sign}(\langle u,x\rangle-\theta) c ( x ) = sign (⟨ u , x ⟩ − θ ) . For X ∼ μ X\sim\mu X ∼ μ , consider the mean a = E μ ⟨ u , X ⟩ a=\mathbb{E}_{\mu}\langle u,X\rangle a = E μ ⟨ u , X ⟩ and variance b 2 = Var μ ( ⟨ u , X ⟩ ) > 0 b^2=\operatorname{Var}_{\mu}(\langle u,X\rangle)>0 b 2 = Var μ (⟨ u , X ⟩) > 0 .3 Let ν \nu ν denote the distribution of the normalized random variable Z = ( ⟨ u , X ⟩ − a ) / b Z=(\langle u,X\rangle-a)/b Z = (⟨ u , X ⟩ − a ) / b . Then ν \nu ν is log-concave, with mean zero and variance one. Apply Equation (26) to f ( θ − a ) / b f_{(\theta-a)/b} f ( θ − a ) / b and set q ( x ) = r ( ( ⟨ u , x ⟩ − a ) / b ) q(x)=r((\langle u,x\rangle-a)/b) q ( x ) = r ((⟨ u , x ⟩ − a ) / b ) . Since q ( X ) = r ( Z ) q(X)=r(Z) q ( X ) = r ( Z ) and c ( X ) = f ( θ − a ) / b ( Z ) c(X)=f_{(\theta-a)/b}(Z) c ( X ) = f ( θ − a ) / b ( Z ) , this preserves the degree of the polynomial and yields ∥ q − c ∥ L 1 ( μ ) ≤ C / log ( p + 1 ) \|q-c\|_{L_1(\mu)}\le C/\log(p+1) ∥ q − c ∥ L 1 ( μ ) ≤ C / log ( p + 1 ) and ∥ q − c ∥ L 2 ( μ ) 2 ≤ C \|q-c\|_{L_2(\mu)}^2\le C ∥ q − c ∥ L 2 ( μ ) 2 ≤ C . Since ∥ c ∥ L 2 ( μ ) = 1 \|c\|_{L_2(\mu)}=1 ∥ c ∥ L 2 ( μ ) = 1 , using the triangle inequality on q = ( q − c ) + c q=(q-c)+c q = ( q − c ) + c gives
∥ q ∥ L 2 ( μ ) ≤ ∥ q − c ∥ L 2 ( μ ) + ∥ c ∥ L 2 ( μ ) ≤ C + 1 = : R 0 . \|q\|_{L_2(\mu)}\le\|q-c\|_{L_2(\mu)}+\|c\|_{L_2(\mu)}\le\sqrt{C}+1=:R_0. ∥ q ∥ L 2 ( μ ) ≤ ∥ q − c ∥ L 2 ( μ ) + ∥ c ∥ L 2 ( μ ) ≤ C + 1 =: R 0 .
It remains to prove Equation (26) . Let W ( z ) = exp ( − ∣ z ∣ / 32 ) W(z)=\exp(-|z|/32) W ( z ) = exp ( − ∣ z ∣/32 ) . Then using Kalai et al. [29 ] (Lemma 6) (restated in Fact B.13), the density satisfies
g ( z ) ≤ e exp ( − ∣ z ∣ / 16 ) . (27) g(z)\le e\exp(-|z|/16). \tag*{(27)} g ( z ) ≤ e exp ( − ∣ z ∣/16 ) . (27)
Note that f θ ( z ) W ( z ) f_\theta(z)W(z) f θ ( z ) W ( z ) is the product of a sign function and an exponentially decaying weight, so ∣ f θ ( z ) W ( z ) ∣ = e − ∣ z ∣ / 32 |f_\theta(z)W(z)|=e^{-|z|/32} ∣ f θ ( z ) W ( z ) ∣ = e − ∣ z ∣/32 . Then, the approximation theorem of Freud et al. [24 ] (restated in Lemma B.15) gives a polynomial r r r of degree at most p p p satisfying
∥ ( r − f θ ) W ∥ L 1 ≤ C log ( p + 1 ) . (28) \|(r-f_\theta)W\|_{L_1}\le\frac{C}{\log(p+1)}. \tag*{(28)} ∥ ( r − f θ ) W ∥ L 1 ≤ log ( p + 1 ) C . (28)
We now bound the L 2 L_2 L 2 error:
∥ ( r − f θ ) W ∥ L 2 2 ≤ ∥ ( r − f θ ) W ∥ L ∞ ∥ ( r − f θ ) W ∥ L 1 ≤ ( ∥ r W ∥ L ∞ + ∥ f θ W ∥ L ∞ ) C log ( p + 1 ) ≤ C log ( p + 1 ) C log ( p + 1 ) ≤ C . (29) \begin{aligned}
\|(r-f_\theta)W\|_{L_2}^2\le\|(r-f_\theta)W\|_{L_\infty}\|(r-f_\theta)W\|_{L_1}\le\left(\|rW\|_{L_\infty}+\|f_\theta W\|_{L_\infty}\right)\frac{C}{\log(p+1)} \\
&\le C\log(p+1)\frac{C}{\log(p+1)}\le C. \tag*{(29)}
\end{aligned} ∥ ( r − f θ ) W ∥ L 2 2 ≤ ∥ ( r − f θ ) W ∥ L ∞ ∥ ( r − f θ ) W ∥ L 1 ≤ ( ∥ r W ∥ L ∞ + ∥ f θ W ∥ L ∞ ) log ( p + 1 ) C ≤ C log ( p + 1 ) log ( p + 1 ) C ≤ C . (29)
Here the first inequality follows from Hölder’s inequality and the second uses Equation (28) and triangle inequality. The third inequality follows from Mhaskar and Saff [42 ] (Theorem 3.1) (restated in Lemma B.14) and observing that ∥ f θ W ∥ L ∞ ≤ 1 \|f_\theta W\|_{L_\infty}\le1 ∥ f θ W ∥ L ∞ ≤ 1 . Now using g ≤ e W 2 g\le eW^2 g ≤ e W 2 and W ≤ 1 W\le1 W ≤ 1 we can transfer Equations (28) and (29) to a norm with respect to measure induced by ν \nu ν , to get Equation (26) . This completes the proof.
We now turn to the proof of Theorem D.1 . Fix c ∈ ( 0 , 1 / 4 ] c\in(0,1/4] c ∈ ( 0 , 1/4 ] as in (25) . The block-size condition differs from the Gaussian case only through the radius R 0 R_0 R 0 and the threshold T T T : let n 0 ≥ 2 n_0\ge2 n 0 ≥ 2 be the smallest integer satisfying
C [ R 0 T D p log ( 1 / δ D P ) ε D P n 0 + R 0 D p n 0 ] ≤ c α . (30) C\left[\frac{R_0T\sqrt{D_p}\log(1/\delta_{\mathrm{DP}})}{\varepsilon_{\mathrm{DP}}n_0}+R_0\sqrt{\frac{D_p}{n_0}}\right]\le c\alpha. \tag*{(30)} C [ ε DP n 0 R 0 T D p log ( 1/ δ DP ) + R 0 n 0 D p ] ≤ c α . (30)
Proof of Theorem D.1 . Proposition D.2 provides the privacy guarantee. We now prove the accuracy and running time bounds. Write L P ( v ) = E ( X , Y ) ∼ P ∣ ⟨ v , ψ ˉ p , T ( X ) ⟩ − Y ∣ L_P(v)=\mathbb{E}_{(X,Y)\sim P}|\langle v,\bar{\psi}_{p,T}(X)\rangle-Y| L P ( v ) = E ( X , Y ) ∼ P ∣ ⟨ v , ψ ˉ p , T ( X )⟩ − Y ∣ and L ⋆ = min ∥ v ∥ 2 ≤ R 0 L P ( v ) L^\star=\min_{\|v\|_2\le R_0}L_P(v) L ⋆ = min ∥ v ∥ 2 ≤ R 0 L P ( v ) . The minimum exists since the domain is compact and the clipped loss is continuous in v v v .
We first compare L ⋆ L^\star L ⋆ with the error of the best halfspace. Fix c 0 ∈ C c_0\in\mathcal{C} c 0 ∈ C . By Lemma D.3 , our choice of p p p gives a polynomial q = ⟨ v q , ψ p ⟩ q=\langle v_q,\psi_p\rangle q = ⟨ v q , ψ p ⟩ such that ∥ q − c 0 ∥ L 1 ( μ ) ≤ c α \|q-c_0\|_{L_1(\mu)}\le c\alpha ∥ q − c 0 ∥ L 1 ( μ ) ≤ c α and ∥ v q ∥ 2 = ∥ q ∥ L 2 ( μ ) ≤ R 0 \|v_q\|_2=\|q\|_{L_2(\mu)}\le R_0 ∥ v q ∥ 2 = ∥ q ∥ L 2 ( μ ) ≤ R 0 . Let s ( x ) = T / max { T , ∥ ψ p ( x ) ∥ 2 } s(x)=T/\max\{T,\|\psi_p(x)\|_2\} s ( x ) = T / max { T , ∥ ψ p ( x ) ∥ 2 } . Since 1 − s ( x ) = ( 1 − T / ∥ ψ p ( x ) ∥ 2 ) + 1-s(x)=(1-T/\|\psi_p(x)\|_2)_+ 1 − s ( x ) = ( 1 − T /∥ ψ p ( x ) ∥ 2 ) + , (25) gives E μ [ 1 − s ( X ) ] ≤ c α \mathbb{E}_\mu[1-s(X)]\le c\alpha E μ [ 1 − s ( X )] ≤ c α . Substituting this into (23) gives L P ( v q ) ≤ 2 err P ( c 0 ) + 2 c α L_P(v_q)\le2\operatorname{err}_P(c_0)+2c\alpha L P ( v q ) ≤ 2 err P ( c 0 ) + 2 c α . Since ∥ v q ∥ 2 ≤ R 0 \|v_q\|_2\le R_0 ∥ v q ∥ 2 ≤ R 0 , taking the infimum over c 0 ∈ C c_0\in\mathcal{C} c 0 ∈ C yields
L ⋆ ≤ 2 OPT + 2 c α . (31) L^\star\le2\operatorname{OPT}+2c\alpha. \tag*{(31)} L ⋆ ≤ 2 OPT + 2 c α . (31)
Next, we bound the expected excess regression loss of a single training run. The loss is convex and T T T -Lipschitz on all of R D p \mathbb{R}^{D_p} R D p , the optimization domain has diameter 2 R 0 2R_0 2 R 0 , and E μ ∥ ψ ˉ p , T ( X ) ∥ 2 2 ≤ D p \mathbb{E}_{\mu}\lVert\bar{\psi}_{p,T}(X)\rVert_2^2 \le D_p E μ ∥ ψ ˉ p , T ( X ) ∥ 2 2 ≤ D p . Applying the decomposition in (18) , we obtain
E [ L P ( v ^ j ) − L ⋆ ] ≤ E [ L ^ S j ( v ^ j ) − min ∥ v ∥ 2 ≤ R 0 L ^ S j ( v ) ] + E sup ∥ v ∥ 2 ≤ R 0 ( L P ( v ) − L ^ S j ( v ) ) ≤ C R 0 T D p log ( 1 / δ D P ) ε D P n 0 + 2 R 0 D p n 0 ≤ c α . \begin{aligned}
\mathbb{E}[L_P(\hat{v}_j)-L^\star] \le\mathbb{E}\left[\widehat{L}_{S_j}(\hat{v}_j)-\min_{\lVert v\rVert_2\le R_0}\widehat{L}_{S_j}(v)\right]+\mathbb{E}\sup_{\lVert v\rVert_2\le R_0}\left(L_P(v)-\widehat{L}_{S_j}(v)\right) \\
&\le C\frac{R_0T\sqrt{D_p\log(1/\delta_{\mathrm{DP}})}}{\varepsilon_{\mathrm{DP}}n_0}+2R_0\sqrt{\frac{D_p}{n_0}}\le c\alpha.
\end{aligned} E [ L P ( v ^ j ) − L ⋆ ] ≤ E [ L S j ( v ^ j ) − ∥ v ∥ 2 ≤ R 0 min L S j ( v ) ] + E ∥ v ∥ 2 ≤ R 0 sup ( L P ( v ) − L S j ( v ) ) ≤ C ε DP n 0 R 0 T D p log ( 1/ δ DP ) + 2 R 0 n 0 D p ≤ c α .
where the second inequality follows from Lemmas B.4 and B.7 , and the last from (30) .
Since the training runs are independent and the thresholding and validation steps use the same choices of k k k , M M M , and m m m , the argument leading to (22) applies with L ⋆ = min ∥ v ∥ 2 ≤ R 0 L P ( v ) L^\star=\min_{\lVert v\rVert_2\le R_0}L_P(v) L ⋆ = min ∥ v ∥ 2 ≤ R 0 L P ( v ) . Consequently, using (31) , err P ( h ) ≤ OPT + α \operatorname{err}_P(h)\le\operatorname{OPT}+\alpha err P ( h ) ≤ OPT + α with probability at least 1 − β 1-\beta 1 − β .
It remains to bound the sample size and running time. Since R 0 R_0 R 0 is a universal constant, (30) gives
n 0 = O ( D p α 2 + T D p log ( 1 / δ D P ) ε D P α ) , n_0=O\left(\frac{D_p}{\alpha^2}+\frac{T\sqrt{D_p\log(1/\delta_{\mathrm{DP}})}}{\varepsilon_{\mathrm{DP}}\alpha}\right), n 0 = O ( α 2 D p + ε DP α T D p log ( 1/ δ DP ) ) ,
independent of β \beta β , and k = O ( log ( 2 / β ) ) k=O(\log(2/\beta)) k = O ( log ( 2/ β )) . The validation size m m m is absorbed by this bound. Indeed, D p ≥ 1 D_p\ge1 D p ≥ 1 , and every point satisfies ∥ ψ p ( x ) ∥ 2 ≥ 1 \lVert\psi_p(x)\rVert_2\ge1 ∥ ψ p ( x ) ∥ 2 ≥ 1 because the constant polynomial has unit L 2 ( μ ) L^2(\mu) L 2 ( μ ) norm. Hence, the expectation in (25) is at least ( 1 − t ) + (1-t)_+ ( 1 − t ) + , so T ≥ 1 − c α ≥ 3 / 4 T\ge1-c\alpha\ge3/4 T ≥ 1 − c α ≥ 3/4 . This proves the stated bound on n = k n 0 + m n=kn_0+m n = k n 0 + m . Since T ≤ D p / ( c α ) T\le\sqrt{D_p/(c\alpha)} T ≤ D p / ( c α ) by (7) , the bound is always at most O ~ ( D p / α 2 + D p / ( ε D P α 3 / 2 ) ) \widetilde{O}(D_p/\alpha^2+D_p/(\varepsilon_{\mathrm{DP}}\alpha^{3/2})) O ( D p / α 2 + D p / ( ε DP α 3/2 )) .
Finally, we bound the running time, measured in arithmetic operations. By the computational hypothesis in Theorem D.1 , computing G p − 1 / 2 G_p^{-1/2} G p − 1/2 and T T T takes poly ( D p ) \operatorname{poly}(D_p) poly ( D p ) operations. For each example, evaluating ψ p ( x ) = G p − 1 / 2 m p ( x ) \psi_p(x)=G_p^{-1/2}m_p(x) ψ p ( x ) = G p − 1/2 m p ( x ) takes O ( p D p ) O(pD_p) O ( p D p ) operations for the monomials and O ( D p 2 ) O(D_p^2) O ( D p 2 ) for the matrix–vector product, and clipping takes O ( D p ) O(D_p) O ( D p ) more. The remaining steps are those of Algorithm 1 with the unit ball replaced by B D p 2 ( R 0 ) B_{D_p^2}(R_0) B D p 2 ( R 0 ) . Projection onto this ball still takes O ( D p ) O(D_p) O ( D p ) operations, so, as in the proof of Theorem 2.1 , the private ERM runs and the validation step take O ( k n 0 2 D p ) O(kn_0^2D_p) O ( k n 0 2 D p ) and O ( k M m D p ) O(kMmD_p) O ( k M m D p ) operations, respectively. Since p < D p p<D_p p < D p , the total is
poly ( D p ) + O ( n D p 2 + k n 0 2 D p + k M m D p ) = poly ( n ) , \operatorname{poly}(D_p)+O(nD_p^2+kn_0^2D_p+kMmD_p)=\operatorname{poly}(n), poly ( D p ) + O ( n D p 2 + k n 0 2 D p + k M m D p ) = poly ( n ) ,
where the last equality uses M ≤ p < D p ≤ n 0 M\le p<D_p\le n_0 M ≤ p < D p ≤ n 0 and k n 0 + m = n kn_0+m=n k n 0 + m = n .
Proofs for Proper Learning with Gaussian Marginals
Proof of Lemma 3.2 . We follow the subspace construction in the proof of Diakonikolas et al. [15 ] . Write μ = N ( 0 , I d ) \mu=\mathcal{N}(0,I_d) μ = N ( 0 , I d ) . Let q ⋆ q^\star q ⋆ be the orthogonal projection of r ( x ) = E [ U ∣ X = x ] r(x)=\mathbb{E}[U\mid X=x] r ( x ) = E [ U ∣ X = x ] onto P p \mathcal{P}_p P p . The squared-loss identity gives ∥ q − q ⋆ ∥ L 2 ( μ ) ≤ c 0 α \lVert q-q^\star\rVert_{L^2(\mu)}\le c_0\alpha ∥ q − q ⋆ ∥ L 2 ( μ ) ≤ c 0 α . Since ∣ r ∣ ≤ 1 \lvert r\rvert\le1 ∣ r ∣ ≤ 1 , we also have ∥ q ⋆ ∥ L 2 ( μ ) ≤ 1 \lVert q^\star\rVert_{L^2(\mu)}\le1 ∥ q ⋆ ∥ L 2 ( μ ) ≤ 1 and ∥ q ∥ L 2 ( μ ) ≤ 1 + c 0 α \lVert q\rVert_{L^2(\mu)}\le1+c_0\alpha ∥ q ∥ L 2 ( μ ) ≤ 1 + c 0 α . Consequently, for every Q ∈ P p Q\in\mathcal{P}_p Q ∈ P p ,
∣ E [ ( U − q ( X ) ) Q ( X ) ] ∣ = ∣ E [ ( q ⋆ ( X ) − q ( X ) ) Q ( X ) ] ∣ ≤ c 0 α ∥ Q ∥ L 2 ( μ ) . (32) \left\lvert\mathbb{E}[(U-q(X))Q(X)]\right\rvert=\left\lvert\mathbb{E}[(q^\star(X)-q(X))Q(X)]\right\rvert\le c_0\alpha\lVert Q\rVert_{L^2(\mu)}. \tag*{(32)} ∣ E [( U − q ( X )) Q ( X )] ∣ = ∣ E [( q ⋆ ( X ) − q ( X )) Q ( X )] ∣ ≤ c 0 α ∥ Q ∥ L 2 ( μ ) . (32)
Set M = E μ [ ∇ q ( X ) ∇ q ( X ) T ] M=\mathbb{E}_{\mu}\left[\nabla q(X)\nabla q(X)^{\mathsf{T}}\right] M = E μ [ ∇ q ( X ) ∇ q ( X ) T ] , and let V V V be the span of its eigenvectors with eigenvalues at least α 2 / C 0 \alpha^2/C_0 α 2 / C 0 . The Hermite derivative identity and trace estimate in Diakonikolas et al. [15 ] give tr ( M ) ≤ p ∥ q ∥ L 2 ( μ ) 2 \operatorname{tr}(M)\le p\lVert q\rVert_{L^2(\mu)}^2 tr ( M ) ≤ p ∥ q ∥ L 2 ( μ ) 2 . It follows that
dim ( V ) ≤ C 0 p ( 1 + c 0 α ) 2 α 2 = O ( α − 4 ) . \dim(V)\le\frac{C_0p(1+c_0\alpha)^2}{\alpha^2}=O\left(\alpha^{-4}\right). dim ( V ) ≤ α 2 C 0 p ( 1 + c 0 α ) 2 = O ( α − 4 ) .
Fix a halfspace f = h w , t f = h_{w,t} f = h w , t and write w = w V + w ⊥ w = w_V + w_\perp w = w V + w ⊥ for its orthogonal decomposition with respect to V V V . If w ⊥ = 0 w_\perp= 0 w ⊥ = 0 , then f f f already has its normal in V V V . Otherwise, set ξ = w ⊥ / ∥ w ⊥ ∥ 2 \xi= w_\perp/\lVert w_\perp\rVert_2 ξ = w ⊥ / ∥ w ⊥ ∥ 2 , and define
( A ξ g ) ( x ) = E G ∼ N ( 0 , 1 ) [ g ( x − ⟨ ξ , x ⟩ ξ + G ξ ) ] . (A_\xi g)(x) = \mathbb{E}_{G \sim\mathcal{N}(0,1)}[g(x - \langle\xi, x\rangle\xi+ G\xi)]. ( A ξ g ) ( x ) = E G ∼ N ( 0 , 1 ) [ g ( x − ⟨ ξ , x ⟩ ξ + G ξ )] .
Under μ \mu μ , this is conditional expectation given the projection onto ξ ⊥ \xi^\perp ξ ⊥ . Thus, A ξ A_\xi A ξ is an orthogonal projection in L 2 ( μ ) L^2(\mu) L 2 ( μ ) , a contraction in L 1 ( μ ) L^1(\mu) L 1 ( μ ) , and preserves P p \mathcal{P}_p P p . Applying Diakonikolas et al. [15 ] directly gives
∥ q − A ξ q ∥ L 2 ( μ ) 2 ≤ E [ ( ∂ ξ q ( X ) ) 2 ] = ξ ⊤ M ξ ≤ α 2 / C 0 . (33) \lVert q - A_\xi q\rVert_{L^2(\mu)}^2 \leq\mathbb{E}\left[(\partial_\xi q(X))^2\right] = \xi^\top M \xi\leq\alpha^2/C_0. \tag*{(33)} ∥ q − A ξ q ∥ L 2 ( μ ) 2 ≤ E [ ( ∂ ξ q ( X ) ) 2 ] = ξ ⊤ M ξ ≤ α 2 / C 0 . (33)
By Lemma B.10 , taking C 0 C_0 C 0 sufficiently large gives a ∈ P p a \in\mathcal{P}_p a ∈ P p with ∥ a ∥ L 2 ( μ ) ≤ 1 \lVert a\rVert_{L^2(\mu)} \leq1 ∥ a ∥ L 2 ( μ ) ≤ 1 and ∥ f − a ∥ L 1 ( μ ) ≤ α \lVert f-a\rVert_{L^1(\mu)} \leq\alpha ∥ f − a ∥ L 1 ( μ ) ≤ α . Set Q = a − A ξ a Q = a - A_\xi a Q = a − A ξ a . Then ∥ Q ∥ L 2 ( μ ) ≤ 1 \lVert Q\rVert_{L^2(\mu)} \leq1 ∥ Q ∥ L 2 ( μ ) ≤ 1 , A ξ Q = 0 A_\xi Q = 0 A ξ Q = 0 , and
∥ ( f − A ξ f ) − Q ∥ L 1 ( μ ) ≤ ∥ f − a ∥ L 1 ( μ ) + ∥ A ξ ( f − a ) ∥ L 1 ( μ ) ≤ 2 α . \lVert(f-A_\xi f)-Q\rVert_{L^1(\mu)} \leq\lVert f-a\rVert_{L^1(\mu)} + \lVert A_\xi(f-a)\rVert_{L^1(\mu)} \leq2\alpha. ∥( f − A ξ f ) − Q ∥ L 1 ( μ ) ≤ ∥ f − a ∥ L 1 ( μ ) + ∥ A ξ ( f − a ) ∥ L 1 ( μ ) ≤ 2 α .
Since ∣ U ∣ ≤ 1 \lvert U\rvert\leq1 ∣ U ∣ ≤ 1 and A ξ Q = 0 A_\xi Q = 0 A ξ Q = 0 , we obtain
E [ U ( f ( X ) − A ξ f ( X ) ) ] ≤ 2 α + E [ ( U − q ( X ) ) Q ( X ) ] + E [ ( q ( X ) − A ξ q ( X ) ) Q ( X ) ] ≤ ( 2 + c 0 + C 0 − 1 / 2 ) α , \begin{aligned}
\mathbb{E}[U(f(X)-A_\xi f(X))] \leq2\alpha+ \mathbb{E}[(U-q(X))Q(X)] + \mathbb{E}[(q(X)-A_\xi q(X))Q(X)] \\
&\leq(2+c_0+C_0^{-1/2})\alpha,
\end{aligned} E [ U ( f ( X ) − A ξ f ( X ))] ≤ 2 α + E [( U − q ( X )) Q ( X )] + E [( q ( X ) − A ξ q ( X )) Q ( X )] ≤ ( 2 + c 0 + C 0 − 1/2 ) α ,
where the last inequality uses Equations (32) and (33) . Now,
A ξ f ( x ) = E G [ sign ( ⟨ w V , x ⟩ + ∥ w ⊥ ∥ 2 G + t ) ] . A_\xi f(x) = \mathbb{E}_G[\operatorname{sign}(\langle w_V,x\rangle+ \lVert w_\perp\rVert_2 G+t)]. A ξ f ( x ) = E G [ sign (⟨ w V , x ⟩ + ∥ w ⊥ ∥ 2 G + t )] .
This is a mixture of halfspaces with unit normals in V V V , or constant classifiers if w V = 0 w_V=0 w V = 0 . Hence one such classifier h ∗ h^* h ∗ satisfies E [ U ( f ( X ) − h ∗ ( X ) ) ] ≤ ( 2 + c 0 + C 0 − 1 / 2 ) α \mathbb{E}[U(f(X)-h^*(X))] \leq(2+c_0+C_0^{-1/2})\alpha E [ U ( f ( X ) − h ∗ ( X ))] ≤ ( 2 + c 0 + C 0 − 1/2 ) α . When w ⊥ = 0 w_\perp=0 w ⊥ = 0 , take h ∗ = f h^*=f h ∗ = f .
For the finite class, use the covering and discretization bounds of Diakonikolas et al. [15 ] , restated in Facts B.11 and B.12. Normalize the nonzero centers of an α / 2 \alpha/2 α /2 -net of the unit ball of V V V to obtain an α \alpha α -net V \mathcal{V} V of its unit sphere. Set
R = α ⌈ K 0 log ( 1 / α ) / α ⌉ R = \alpha\left\lceil K_0\sqrt{\log(1/\alpha)}/\alpha\right\rceil R = α ⌈ K 0 log ( 1/ α ) / α ⌉
for a sufficiently large universal constant K 0 K_0 K 0 . Define
H ( q ) = { h v , j α : v ∈ V , j ∈ Z , ∣ j α ∣ ≤ R } ∪ { h e 1 , R , h e 1 , − R } . \mathcal{H}(q) = \{h_{v,j\alpha}: v \in\mathcal{V},\ j \in\mathbb{Z},\ \lvert j\alpha\rvert\leq R\} \cup\{h_{e_1,R},h_{e_1,-R}\}. H ( q ) = { h v , j α : v ∈ V , j ∈ Z , ∣ j α ∣ ≤ R } ∪ { h e 1 , R , h e 1 , − R } .
When V = { 0 } V=\{0\} V = { 0 } , omit the first set. The two additional halfspaces approximate the constant classifiers. The discretization bound gives an h ∈ H ( q ) h \in\mathcal{H}(q) h ∈ H ( q ) satisfying P [ h ( X ) ≠ h ∗ ( X ) ] = O ( α ) \mathbb{P}[h(X)\ne h^*(X)] = O(\alpha) P [ h ( X ) = h ∗ ( X )] = O ( α ) , including when h ∗ h^* h ∗ is constant or has threshold outside [ − R , R ] [-R,R] [ − R , R ] . Thus,
E [ U ( f ( X ) − h ( X ) ) ] ≤ E [ U ( f ( X ) − h ∗ ( X ) ) ] + 2 P [ h ( X ) ≠ h ∗ ( X ) ] ≤ C α . \mathbb{E}[U(f(X)-h(X))] \leq\mathbb{E}[U(f(X)-h^*(X))] + 2\mathbb{P}[h(X)\ne h^*(X)] \leq C\alpha. E [ U ( f ( X ) − h ( X ))] ≤ E [ U ( f ( X ) − h ∗ ( X ))] + 2 P [ h ( X ) = h ∗ ( X )] ≤ C α .
Finally, the covering bound gives
log ∣ H ( q ) ∣ = O ( ( dim ( V ) + 1 ) log ( 1 / α ) ) = O ( α − 4 log ( 1 / α ) ) . \log\lvert\mathcal{H}(q)\rvert= O((\dim(V)+1)\log(1/\alpha)) = O(\alpha^{-4}\log(1/\alpha)). log ∣ H ( q )∣ = O (( dim ( V ) + 1 ) log ( 1/ α )) = O ( α − 4 log ( 1/ α )) .
The construction uses only q q q and α \alpha α .
Proof of Lemma 3.4. Let
m ~ = 2 n ∑ ( X i , Y i ) ∈ S 1 Y i ψ ˉ p , T ( X i ) . \widetilde{m} = \frac{2}{n}\sum_{(X_i,Y_i)\in S_1} Y_i\bar{\psi}_{p,T}(X_i). m = n 2 ( X i , Y i ) ∈ S 1 ∑ Y i ψ ˉ p , T ( X i ) .
Each summand has norm at most T T T , so m ~ \widetilde{m} m has replacement sensitivity 4 T / n 4T/n 4 T / n . The noise scale in Algorithm 2 therefore makes m ~ + Z \widetilde{m}+Z m + Z ( ε D P , δ D P ) (\varepsilon_{\mathrm{DP}},\delta_{\mathrm{DP}}) ( ε DP , δ DP ) -DP by standard Gaussian mechanism [20 ] . Projection and construction of q q q are post-processing and preserve privacy.
Write ℓ = log ( 8 / β ) \ell=\log(8/\beta) ℓ = log ( 8/ β ) and L δ D P = log ( 1.25 / δ D P ) L_{\delta_{\mathrm{DP}}}=\log(1.25/\delta_{\mathrm{DP}}) L δ DP = log ( 1.25/ δ DP ) . The centered summands have norm at most 2 T 2T 2 T and second moment at most D p D_p D p . By Lemma B.1 , with probability at least 1 − β / 4 1-\beta/4 1 − β /4 ,
∥ m ~ − m T ∥ 2 ≤ C 1 ( D p ℓ n + T ℓ n ) . \lVert\widetilde{m}-m_T\rVert_2 \le C_1\left(\sqrt{\frac{D_p\ell}{n}}+\frac{T\ell}{n}\right). ∥ m − m T ∥ 2 ≤ C 1 ( n D p ℓ + n T ℓ ) .
Gaussian concentration gives, with probability at least 1 − β / 4 1-\beta/4 1 − β /4 , ∥ Z ∥ 2 ≤ σ ( D p + 2 ℓ ) \lVert Z\rVert_2\le\sigma\left(\sqrt{D_p}+\sqrt{2\ell}\right) ∥ Z ∥ 2 ≤ σ ( D p + 2 ℓ ) . Orthonormality and ∣ U ∣ ≤ 1 |U|\le1 ∣ U ∣ ≤ 1 imply ∥ m T ∥ 2 ≤ 1 \lVert m_T\rVert_2\le1 ∥ m T ∥ 2 ≤ 1 . Projection onto the unit ball therefore cannot increase distance to m T m_T m T . Using T = 2 D p T=2\sqrt{D_p} T = 2 D p , with probability at least 1 − β / 2 1-\beta/2 1 − β /2 we obtain
∥ m ~ − m T ∥ 2 ≤ ∥ m ^ − m T ∥ 2 + ∥ Z ∥ 2 ≤ C 2 ( D p ℓ n + D p ℓ n + ( D p + D p ℓ ) L δ D P ε D P n ) . \begin{aligned}
\lVert\widetilde{m}-m_T\rVert_2\le\lVert\widehat{m}-m_T\rVert_2+\lVert Z\rVert_2 \\
&\le C_2\left(\sqrt{\frac{D_p\ell}{n}}+\frac{\sqrt{D_p\ell}}{n}+\frac{(D_p+\sqrt{D_p\ell})\sqrt{L_{\delta_{\mathrm{DP}}}}}{\varepsilon_{\mathrm{DP}}n}\right).
\end{aligned} ∥ m − m T ∥ 2 ≤ ∥ m − m T ∥ 2 + ∥ Z ∥ 2 ≤ C 2 ( n D p ℓ + n D p ℓ + ε DP n ( D p + D p ℓ ) L δ DP ) .
For a sufficiently large universal constant K K K , the condition
n ≥ K ( D p ℓ α 2 + D p ℓ L δ D P ε D P α ) (34) n\ge K\left(\frac{D_p\ell}{\alpha^2}+\frac{D_p\ell\sqrt{L_{\delta_{\mathrm{DP}}}}}{\varepsilon_{\mathrm{DP}}\alpha}\right) \tag*{(34)} n ≥ K ( α 2 D p ℓ + ε DP α D p ℓ L δ DP ) (34)
makes this at most c 0 c α c_0c\alpha c 0 c α . By Equation (9) ,
L S ( q ) − inf Q ∈ P p L S ( Q ) = ∥ m ~ − m T ∥ 2 2 ≤ c 0 2 c 2 α 2 . L_S(q)-\inf_{Q\in\mathcal{P}_p}L_S(Q)=\lVert\widetilde{m}-m_T\rVert_2^2\le c_0^2c^2\alpha^2. L S ( q ) − Q ∈ P p inf L S ( Q ) = ∥ m − m T ∥ 2 2 ≤ c 0 2 c 2 α 2 .
Finally, projection and orthonormality give ∥ q ∥ L 2 ( μ ) = ∥ m ~ ∥ 2 ≤ 1 \lVert q\rVert_{L^2(\mu)}=\lVert\widetilde{m}\rVert_2\le1 ∥ q ∥ L 2 ( μ ) = ∥ m ∥ 2 ≤ 1 on every run.
Proof of Theorem 3.1. Round n n n up to an even integer. If one observation in S 1 S_1 S 1 changes, the private polynomial release is followed only by post-processing with S 2 S_2 S 2 fixed. If one observation in S 2 S_2 S 2 changes, the distribution of q q q is unchanged, and conditional on q q q , selection is ε D P \varepsilon_{\mathrm{DP}} ε DP -DP. Thus, the complete algorithm is ( ε D P , δ D P ) (\varepsilon_{\mathrm{DP}},\delta_{\mathrm{DP}}) ( ε DP , δ DP ) -DP.
Since p = ⌈ C 0 / ( c α ) 2 ⌉ p=\lceil C_0/(c\alpha)^2\rceil p = ⌈ C 0 / ( c α ) 2 ⌉ , choosing C d i m ≥ 2 ( C 0 + 1 ) 2 c − 5 C_{\mathrm{dim}}\ge2(C_0+1)^2c^{-5} C dim ≥ 2 ( C 0 + 1 ) 2 c − 5 ensures d ≥ 2 p 2 / ( c α ) d\ge2p^2/(c\alpha) d ≥ 2 p 2 / ( c α ) . Thus, the dimension condition needed in Lemma 3.5 follows from the theorem’s assumption. The first two terms in the sample bound imply Equation (34) and hence the event in Lemma 3.4 with probability at least 1 − β / 2 1-\beta/2 1 − β /2 . On this event, Lemma 3.5 gives
min h ∈ H ( q ) err P ( h ) ≤ OPT + ( C / 2 + 1 ) c α . \min_{h\in\mathcal{H}(q)}\operatorname{err}_P(h)\le\operatorname{OPT}+(C/2+1)c\alpha. h ∈ H ( q ) min err P ( h ) ≤ OPT + ( C /2 + 1 ) c α .
Condition on any such released polynomial and write K = ∣ H ( q ) ∣ K=|\mathcal{H}(q)| K = ∣ H ( q ) ∣ . Applying Lemma B.5 to the n / 2 n/2 n /2 observations in S 2 S_2 S 2 gives, with probability at least 1 − β / 2 1-\beta/2 1 − β /2 ,
err P ( h ^ ) ≤ min h ∈ H ( q ) err P ( h ) + 2 log ( 8 K / β ) n + 4 log ( 4 K / β ) ε D P n . \operatorname{err}_P(\widehat{h})\le\min_{h\in\mathcal{H}(q)}\operatorname{err}_P(h)+2\sqrt{\frac{\log(8K/\beta)}{n}}+\frac{4\log(4K/\beta)}{\varepsilon_{\mathrm{DP}}n}. err P ( h ) ≤ h ∈ H ( q ) min err P ( h ) + 2 n log ( 8 K / β ) + ε DP n 4 log ( 4 K / β ) .
Since log K = O ( α − 4 log ( 1 / α ) ) \log K = O\left(\alpha^{-4}\log(1/\alpha)\right) log K = O ( α − 4 log ( 1/ α ) ) , the last two terms in the theorem’s sample bound control the dependence on K K K . The first two terms also control the remaining confidence terms, since D p ≥ 1 D_p \ge1 D p ≥ 1 . With sufficiently large constants in the sample bound, the selection error is at most c α c\alpha c α .
A union bound therefore gives, with probability at least 1 − β 1-\beta 1 − β ,
err P ( h ^ ) ≤ OPT + ( C / 2 + 2 ) c α ≤ OPT + α , \operatorname{err}_P(\hat{h}) \le\operatorname{OPT} +(C/2+2)c\alpha\le\operatorname{OPT}+\alpha, err P ( h ^ ) ≤ OPT + ( C /2 + 2 ) c α ≤ OPT + α ,
where the last inequality follows by taking c c c sufficiently small. Every member of H ( q ) \mathcal{H}(q) H ( q ) is a halfspace, so the learner is proper.
Finally, we analyse the running time. Computing the clipped Hermite features of the samples in S 1 S_1 S 1 takes O ( n p D p ) O(npD_p) O ( n p D p ) time, and the noisy average and its projection take O ( n D p ) O(nD_p) O ( n D p ) more. Since ∂ i h κ = κ i h κ − e i \partial_i h_\kappa=\sqrt{\kappa_i}\,h_{\kappa-e_i} ∂ i h κ = κ i h κ − e i , the matrix M = E [ ∇ q ( X ) ∇ q ( X ) T ] M=\mathbb{E}[\nabla q(X)\nabla q(X)^{\mathsf{T}}] M = E [ ∇ q ( X ) ∇ q ( X ) T ] can be computed exactly from the coefficients of q q q in O ( d 2 D p ) O(d^2D_p) O ( d 2 D p ) time, and its eigendecomposition takes O ( d 3 ) O(d^3) O ( d 3 ) time. By Lemma 3.2 , ∣ H ( q ) ∣ = exp ( O ( α − 4 log ( 1 / α ) ) ) |\mathcal{H}(q)|=\exp\left(O\left(\alpha^{-4}\log(1/\alpha)\right)\right) ∣ H ( q ) ∣ = exp ( O ( α − 4 log ( 1/ α ) ) ) ; each member can be listed in poly ( d , 1 / α ) \operatorname{poly}(d,1/\alpha) poly ( d , 1/ α ) time and evaluated on S 2 S_2 S 2 in O ( n d ) O(nd) O ( n d ) time. Thus, the exponential mechanism takes O ( n d ∣ H ( q ) ∣ ) O(nd|\mathcal{H}(q)|) O ( n d ∣ H ( q ) ∣ ) time overall. Since d ≤ D p ≤ n d\le D_p\le n d ≤ D p ≤ n and 1 / α ≤ n 1/\alpha\le n 1/ α ≤ n , the total running time is poly ( n ) ⋅ exp ( O ( α − 4 log ( 1 / α ) ) ) \operatorname{poly}(n)\cdot\exp\left(O\left(\alpha^{-4}\log(1/\alpha)\right)\right) poly ( n ) ⋅ exp ( O ( α − 4 log ( 1/ α ) ) ) .
Missing Details for Semi-Agnostic Learning
Algorithm 4 DP Semi-Agnostic Halfspace Learner
Require: Dataset D = ( ( x 1 , y 1 ) , … , ( x n , y n ) ) D=((x_1,y_1),\ldots,(x_n,y_n)) D = (( x 1 , y 1 ) , … , ( x n , y n )) , privacy parameters ε D P , δ D P > 0 \varepsilon_{\mathrm{DP}},\delta_{\mathrm{DP}}>0 ε DP , δ DP > 0 , accuracy parameter α \alpha α , error probability β \beta β .
Partition dataset for multiple runs and set parameters.
Set K ← C K log ( 1 / α ) K\leftarrow C_K\log(1/\alpha) K ← C K log ( 1/ α ) for universal constant C K ≥ 1 C_K\ge1 C K ≥ 1 .
Let D v a l ⊂ D D_{\mathrm{val}}\subset D D val ⊂ D , such that ∣ D v a l ∣ = O ( log ( K / β ) α 2 + log ( K / β ) α ε D P ) |D_{\mathrm{val}}|=O\left(\frac{\log(K/\beta)}{\alpha^2}+\frac{\log(K/\beta)}{\alpha\varepsilon_{\mathrm{DP}}}\right) ∣ D val ∣ = O ( α 2 l o g ( K / β ) + α ε DP l o g ( K / β ) ) . Set D ′ ← D ∖ D v a l D'\leftarrow D\setminus D_{\mathrm{val}} D ′ ← D ∖ D val .
Partition D ′ D' D ′ into K K K equal parts D 1 , … , D K D^1,\ldots,D^K D 1 , … , D K .
Set η 1 ← C η α \eta_1\leftarrow C_\eta\alpha η 1 ← C η α , and η k ← 2 k − 1 η 1 \eta_k\leftarrow2^{k-1}\eta_1 η k ← 2 k − 1 η 1 for k ∈ [ K ] k\in[K] k ∈ [ K ] and universal constant C η > 1 C_\eta>1 C η > 1 .
Run Algorithm 3 on each partition with appropriate parameters.
for k = 1 k=1 k = 1 to K K K do
Set h k : = ( w ^ k , τ ^ k ) ← DPSAS ε D P , δ D P , η k ( D k ) h_k:=(\hat{w}_k,\hat{\tau}_k)\leftarrow\operatorname{DPSAS}_{\varepsilon_{\mathrm{DP}},\delta_{\mathrm{DP}},\eta_k}(D^k) h k := ( w ^ k , τ ^ k ) ← DPSAS ε DP , δ DP , η k ( D k ) .
end for
Run all h k h_k h k ’s on D v a l D_{\mathrm{val}} D val and pick the best one using exponential mechanism.
Let H ← ( h 1 , … , h K ) H\leftarrow(h_1,\ldots,h_K) H ← ( h 1 , … , h K ) .
Define the score function Score ( D v a l , h k ) : = 1 ∣ D v a l ∣ ∑ ( x , y ) ∈ D v a l 1 { sign ( w ^ k ⋅ x + τ ^ k ) = y } \operatorname{Score}(D_{\mathrm{val}},h_k):=\frac{1}{|D_{\mathrm{val}}|}\sum_{(x,y)\in D_{\mathrm{val}}}\mathbf{1}\{\operatorname{sign}(\hat{w}_k\cdot x+\hat{\tau}_k)=y\} Score ( D val , h k ) := ∣ D val ∣ 1 ∑ ( x , y ) ∈ D val 1 { sign ( w ^ k ⋅ x + τ ^ k ) = y } .
Set Δ ← 1 / ∣ D v a l ∣ \Delta\leftarrow1/|D_{\mathrm{val}}| Δ ← 1/∣ D val ∣ .
Set h ˉ ← ExpMech ε D P , H ( Score , Δ , D v a l ) \bar{h}\leftarrow\operatorname{ExpMech}_{\varepsilon_{\mathrm{DP}},H}(\operatorname{Score},\Delta,D_{\mathrm{val}}) h ˉ ← ExpMech ε DP , H ( Score , Δ , D val ) .
Return h ˉ \bar{h} h ˉ .
Privacy
We first prove the privacy guarantees of Algorithm 4.
Proposition F.1. Algorithm 4 satisfies ( O ( ε D P ) , O ( δ D P ) ) (\mathcal{O}(\varepsilon_{\mathrm{DP}}), \mathcal{O}(\delta_{\mathrm{DP}})) ( O ( ε DP ) , O ( δ DP )) -DP.
Proof. We show that all different steps of Algorithm 4 that involve referencing the data using Algorithm 3 and the exponential mechanism satisfy DP, and then we apply parallel composition. However, for that, we first need to prove the privacy guarantees of Algorithm 3 by combination of using privacy guarantees of the standard DP mechanisms and parallel composition.
In Algorithm 3, when computing the threshold τ ^ \widehat{\tau} τ , the sensitivity of E ( x , y ) ∼ D [ y ] \mathbb{E}_{(x,y)\sim D}[y] E ( x , y ) ∼ D [ y ] (the average of all the labels) has sensitivity 2 / m 0 2/m_0 2/ m 0 because the labels can be either − 1 -1 − 1 or 1 1 1 . Therefore, adding Laplace noise scaled to 2 / ε D P m 0 2/\varepsilon_{\mathrm{DP}}m_0 2/ ε DP m 0 satisfies ε D P \varepsilon_{\mathrm{DP}} ε DP -DP.
For computing the initial weight vector w ^ 0 \widehat{w}_0 w 0 , we compute the noisy average of x y xy x y over the entire dataset D i n i t D_{\mathrm{init}} D init . Since we clip all the data points to within L L L in ℓ 2 \ell_2 ℓ 2 norm, and y y y is either − 1 -1 − 1 or 1 1 1 , the ℓ 2 \ell_2 ℓ 2 sensitivity of this average is 2 L / m 0 2L/m_0 2 L / m 0 . Thus, adding Gaussian noise to this average scaled to 2 L 2 log ( 2 / δ D P ) / ε D P m 0 2L\sqrt{2\log(2/\delta_{\mathrm{DP}})}/\varepsilon_{\mathrm{DP}}m_0 2 L 2 log ( 2/ δ DP ) / ε DP m 0 satisfies ( ε D P , δ D P ) (\varepsilon_{\mathrm{DP}},\delta_{\mathrm{DP}}) ( ε DP , δ DP ) -DP.
Next, in each iteration of the gradient descent procedure, we add Gaussian noise to the average gradient vector. From Claim 4.3 , we see that the average gradient is of the form
E ( x , y ) ∼ D [ − y 1 { ∣ w ⋅ x − b t ∣ ≤ a t } ∇ w w ⋅ x ∥ w ∥ ] . \mathbb{E}_{(x,y)\sim D}\left[-y1\{|w\cdot x-b_t|\leq a_t\}\nabla_w\frac{w\cdot x}{\|w\|}\right]. E ( x , y ) ∼ D [ − y 1 { ∣ w ⋅ x − b t ∣ ≤ a t } ∇ w ∥ w ∥ w ⋅ x ] .
Therefore, the sensitivity of this average gradient is at most
2 ∥ ∇ w w ⋅ x ∥ w ∥ ∥ m 0 ≤ 2 ∥ x ∥ m 0 ≤ 2 L m 0 . \frac{2\left\|\nabla_w\frac{w\cdot x}{\|w\|}\right\|}{m_0}\leq\frac{2\|x\|}{m_0}\leq\frac{2L}{m_0}. m 0 2 ∇ w ∥ w ∥ w ⋅ x ≤ m 0 2∥ x ∥ ≤ m 0 2 L .
This implies that adding Gaussian noise to the average scaled to 2 L 2 log ( 2 / δ D P ) / ε D P m 0 2L\sqrt{2\log(2/\delta_{\mathrm{DP}})}/\varepsilon_{\mathrm{DP}}m_0 2 L 2 log ( 2/ δ DP ) / ε DP m 0 satisfies ( ε D P , δ D P ) (\varepsilon_{\mathrm{DP}},\delta_{\mathrm{DP}}) ( ε DP , δ DP ) -DP in each iteration. However, in each iteration, a disjoint dataset gets used, so no data point gets used twice for any DP operation. Hence, by parallel composition, we get ( ε D P , δ D P ) (\varepsilon_{\mathrm{DP}},\delta_{\mathrm{DP}}) ( ε DP , δ DP ) -DP for this part, as well.
Finally, applying parallel composition over the three steps again, we obtain ( ε D P , δ D P ) (\varepsilon_{\mathrm{DP}},\delta_{\mathrm{DP}}) ( ε DP , δ DP ) -DP for Algorithm 3.
The guarantees of the exponential mechanism in Algorithm 4 imply ε D P \varepsilon_{\mathrm{DP}} ε DP -DP because the sensitivity of the mean of 0-1 random variables is 1 / ∣ D v a l ∣ 1/|D_{\mathrm{val}}| 1/∣ D val ∣ . Since all the DP steps in Algorithm 4 are taken on disjoint and separate datasets, we obtain the required DP guarantee using parallel composition. □
Relevant Assumptions and Regularity Conditions
For simplicity, we assume that the ambient dimension d d d is large enough. This assumption can be removed by using the exact expressions for concentration inequalities for high-dimensional Gaussians.
Assumption F.2 (Assumption on ambient dimension). We assume the following bound on the ambient dimension in terms of the error probability β ∈ ( 0 , 1 ) \beta\in(0,1) β ∈ ( 0 , 1 ) and number of samples n ∈ N n\in\mathbb{N} n ∈ N :
d ≥ 16 log ( n / β ) . d\geq16\log(n/\beta). d ≥ 16 log ( n / β ) .
We do this for ease of notation, but we can make our calculations exact with a few extra lower order terms by not making this assumption.
Next, we state the Laurent-Massart inequality for concentration of high-dimensional Gaussians.
Lemma F.3 (Laurent-Massart inequality). Let X ∼ N ( 0 , I ) X\sim\mathcal{N}(0,\mathbb{I}) X ∼ N ( 0 , I ) be d d d -dimensional, and Σ = A T A \Sigma=A^{\mathsf{T}}A Σ = A T A for A ∈ R d × d A\in\mathbb{R}^{d\times d} A ∈ R d × d . Then the following holds for all t > 0 t>0 t > 0 .
Pr [ ∥ A X ∥ 2 2 > tr ( Σ ) + 2 tr ( Σ 2 ) t + 2 t ∥ Σ ∥ 2 ] ≤ e − t \Pr\left[\|AX\|_2^2>\operatorname{tr}(\Sigma)+2\sqrt{\operatorname{tr}(\Sigma^2)t}+2t\|\Sigma\|_2\right]\leq e^{-t} Pr [ ∥ A X ∥ 2 2 > tr ( Σ ) + 2 tr ( Σ 2 ) t + 2 t ∥Σ ∥ 2 ] ≤ e − t Pr [ ∥ A X ∥ 2 2 < tr ( Σ ) − 2 tr ( Σ 2 ) t ] ≤ e − t \Pr\left[\|AX\|_2^2<\operatorname{tr}(\Sigma)-2\sqrt{\operatorname{tr}(\Sigma^2)t}\right]\leq e^{-t} Pr [ ∥ A X ∥ 2 2 < tr ( Σ ) − 2 tr ( Σ 2 ) t ] ≤ e − t
Using the above, we have the following deterministic regularity condition that we would assume throughout the proof.
Lemma F.4 (Concentration of high-dimensional Gaussians). Let X 1 , … , X n X_1,\ldots,X_n X 1 , … , X n be i.i.d. samples from a d d d -dimensional Gaussian N ( 0 , I ) \mathcal{N}(0,I) N ( 0 , I ) . Then for β ∈ ( 0 , 1 ) \beta\in(0,1) β ∈ ( 0 , 1 ) , the following holds with probability at least 1 − β 1-\beta 1 − β .
Pr [ ∀ i ∈ [ n ] : ∥ X i ∥ ∈ [ d / 2 , 2 d ] ] ≥ 1 − β \Pr\left[\forall i \in[n]: \lVert X_i\rVert\in[\sqrt{d}/2,2\sqrt{d}]\right] \ge1-\beta Pr [ ∀ i ∈ [ n ] : ∥ X i ∥ ∈ [ d /2 , 2 d ] ] ≥ 1 − β
Proof. The proof follows by simply applying Assumption F.2, Lemma F.3, and the union bound over all n n n samples. □ \square □
In Algorithm 3, we set the clipping parameter L = 2 d L=2\sqrt{d} L = 2 d to ensure that all data points lie completely within the ℓ 2 \ell_2 ℓ 2 ball of radius L L L around the origin, and no point gets actually clipped with high probability.
Missing Proofs from Section 4
Proof of Claim 4.3. The proof of this claim is the same as that of Claim C.2 from [17 ] , except that the noisy gradient term has Gaussian noise added in the subspace orthogonal to w w w (which is a known DP quantity) because the weight vectors get ultimately projected onto the unit ball and the GD algorithm will not move in the direction of w w w . Therefore, by Pythagoras’ theorem, w − λ ∇ w L ~ t ( w ) w-\lambda\nabla_w\widetilde{L}_t(w) w − λ ∇ w L t ( w ) term will still have norm at least 1 1 1 as the gradient and the noise belong to the same subspace that is orthogonal to w w w . □ \square □
Proof of Claim 4.5. In our algorithm w ~ 0 = w 0 + z 0 \widetilde{w}_0=w_0+z_0 w 0 = w 0 + z 0 , where z 0 ∼ N ( 0 , σ 2 I ) z_0\sim\mathcal{N}(0,\sigma^2I) z 0 ∼ N ( 0 , σ 2 I ) , σ = 4 2 d log ( 2 / δ D P ) ε D P m 0 \sigma=\frac{4\sqrt{2d\log(2/\delta_{\mathrm{DP}})}}{\varepsilon_{\mathrm{DP}}m_0} σ = ε DP m 0 4 2 d l o g ( 2/ δ DP ) , and w 0 w_0 w 0 is as defined by Diakonikolas et al. [17 ] in Algorithm 2. We know from the proof of Theorem 1.2 in Diakonikolas et al. [17 ] that w ∗ ⋅ w 0 > ω ( η ) w^*\cdot w_0>\omega(\eta) w ∗ ⋅ w 0 > ω ( η ) . Therefore, it is sufficient to bound w ∗ ⋅ z 0 w^*\cdot z_0 w ∗ ⋅ z 0 because w ∗ ⋅ w ~ 0 > 0 ⇒ w ∗ ⋅ w ^ 0 > 0 w^*\cdot\widetilde{w}_0>0\Rightarrow w^*\cdot\widehat{w}_0>0 w ∗ ⋅ w 0 > 0 ⇒ w ∗ ⋅ w 0 > 0 . Note that for any fixed unit vector w ∗ w^* w ∗ , w ∗ ⋅ z 0 ∼ N ( 0 , σ 2 ) w^*\cdot z_0\sim\mathcal{N}(0,\sigma^2) w ∗ ⋅ z 0 ∼ N ( 0 , σ 2 ) . Applying concentration inequality for 1-D Gaussians, we get that with probability at least 1 − O ( β ) 1-O(\beta) 1 − O ( β ) ,
∣ w ∗ ⋅ z 0 ∣ ≤ O ( d log ( 1 / δ D P ) log ( 1 / β ) ε D P m 0 ) < O ( η ) \lvert w^*\cdot z_0\rvert\le O\left(\frac{\sqrt{d\log(1/\delta_{\mathrm{DP}})\log(1/\beta)}}{\varepsilon_{\mathrm{DP}}m_0}\right)<O(\eta) ∣ w ∗ ⋅ z 0 ∣ ≤ O ( ε DP m 0 d log ( 1/ δ DP ) log ( 1/ β ) ) < O ( η )
by plugging in our bound on the sample complexity. □ \square □