<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Parameter-Free Locally Differentially Private Stochastic Subgradient Descent</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>2019</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10208411</idno>
					<idno type="doi"></idno>
					<title level='j'>Workshop on Privacy in Machine Learning at NeurIPS'19</title>
<idno></idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Kwang-Sung Jun</author><author>Francesco Orabona</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[We consider the problem of minimizing a convex risk with stochastic subgradients guaranteeing $\epsilon$-locally differentially private ($\epsilon$-LDP). While it has been shown that stochastic optimization is possible with $\epsilon$-LDP via the standard SGD, its convergence rate largely depends on the learning rate, which must be tuned via repeated runs. Further, tuning is detrimental to privacy loss since it significantly increases the number of gradient requests. In this work, we propose BANCO (Betting Algorithm for Noisy COins), the first $\epsilon$-LDP SGD algorithm that essentially matches the convergence rate of the tuned SGD without any learning rate parameter, reducing privacy loss and saving privacy budget.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">Introduction</head><p>In this paper, we consider the problem of minimizing the convex risk of a machine learning predictor, guaranteeing local differential privacy. Instead of going through the empirical risk minimization route, we directly optimize the stochastic objective of the risk via stochastic subgradients appropriately sanitized to guarantee the local differential privacy. Our proposed algorithm is a variant of stochastic subgradient descent, with the important feature of not requiring the tuning of learning rates. Yet, it guarantees the same convergence rate and local differential privacy of a stochastic subgradient descent procedure with the oracle tuning of its learning rate.</p><p>More in details, consider the risk R(w) &#8758; R d &#8594; R defined as R(w) &#8758;= E x&#8764;&#961; X [&#8467;(w, x)], where &#8467;(w, x) is convex in the first argument and x represents sensitive data about an individual drawn i.i.d. from &#961; X . In machine learning terms, R(w) represents the test loss that we are interested in directly minimizing, while &#8467;(w, x) is the loss on a single sample x. It is well-known that, by linearity of the expectation, we can get an unbiased estimate of a subgradient of R(w) just using a subgradient w.r.t. the first argument of &#8467;(&#8901;, x) where x is drawn i.i.d. from &#961; X . Hence, we can construct sanitized subgradients simply returning a noisy version G(w) &#8712; &#8706;&#8467;(w, x) + &#958; where the noise &#958; guarantees the &#491;-Local Differential Privacy (&#491;-LDP), which prevents the private information from being identified. We elaborate more on the problem definition and the assumptions in Section 2.</p><p>One immediately obvious algorithm to try for &#491;-LDP is the standard stochastic subgradient descent (SGD) algorithm together with the popular choice of density p(&#958;) &#8733; exp(-&#491; 2 &#958; ) <ref type="bibr">(Song et al., 2013;</ref><ref type="bibr">2015;</ref><ref type="bibr">Wu et al., 2017)</ref>. Let us consider the SGD with a constant learning rate &#951; for simplicity. <ref type="foot">1</ref> The convergence rate of SGD w.r.t. the optimum w * = min w R(w) after one pass over T samples is</p><p>Notice that the convergence rate largely depends on the learning rate, and setting &#951; = &#491; d &#8730; T results in the rate of O( d &#491; w * 2 &#8730; T ). While the optimal tuning w * &#491; d &#8730; T would result in a much better rate of O( d &#491; w * &#8730; T ), the value w * cannot be known beforehand. Therefore, practitioners need to tune the learning rate by trying out various values over multiple runs. However, this significantly increases the number of subgradient requests, which can be interpreted as the privacy cost. This also implies that, when there is a fixed budget of privacy loss, one would have to use a smaller &#491; to allow multiple runs, which slows down the convergence.</p><p>Departing from the cumbersome and privacy-costing parameter tuning, we propose a new algorithm BANCO (Betting Algorithm for Noisy COins) that enjoys the convergence rate &#213;( d &#491; w * &#8730; T ) without having to tune any parameters, where &#213; hides logarithmic factors. At the heart of the algorithm is a decomposition that isolates the work of adapting to the norm of the optimum w * and delegates it to a one-dimensional stochastic optimization algorithm. We describe our algorithm and highlight the proof sketch in Section 3 and conclude with future directions in Section 4. Related work. While there is a large body of work on differentially private (DP) empirical risk minimization, there is less research on studying the generalization properties of the obtained solution. Moreover, most of the work is based on the notion of differential privacy rather than on the stronger notion of local differential privacy (LDP). We remind the readers that the DP is useful when the data provider trusts the learning agents to be DP and allows them to access sensitive data (or data provider may possess the learners internally) whereas LDP is useful when the data provider does not trust the learning agents and thus have to release sanitized version of individual data. Due to space constraints, we focus on discussing the most relevant works. The notion of LDP was introduced in Duchi et al. ( <ref type="formula">2014</ref>) and <ref type="bibr">Song et al. (2013;</ref><ref type="bibr">2015)</ref>. <ref type="bibr">Duchi et al. (2014)</ref> study the generalization of locally differentially private SGD, focusing on the optimal dependency on the number of dimensions, but assuming bounded domains to optimally tune the learning rates. <ref type="bibr">Song et al. (2013;</ref><ref type="bibr">2015)</ref> use locally differentially private SGD to minimize the regularized ERM problems. <ref type="bibr">Wu et al. (2017)</ref> study the convergence of SGD to minimize the ERM problem and guarantee differential privacy through the output perturbation method, and they also require the knowledge of the norm of the optimal solution to optimally tune the learning rates. <ref type="bibr">Bassily et al. (2014)</ref> studies the generalization properties of locally differentially private SGD, but it requires a bounded domain to set the learning rates or the presence of a regularizer, that in turn must be tuned. Instead, our work gives a generalization guarantee for a locally differentially private SGD with one pass over the data and no learning rates to tune.</p><p>The problem of parameter-free &#491;-LDP SGD can be seen as a noisy version of the parameter-free SGD problem <ref type="bibr">(Streeter and McMahan, 2012;</ref><ref type="bibr">Orabona and Pal, 2016;</ref><ref type="bibr">Orabona and Tommasi, 2017;</ref><ref type="bibr">Cutkosky and Orabona, 2018)</ref>. However, the extension of existing (near-optimal) parameter-free SGDs to noisy gradients is not immediately clear since the noise makes the gradients unbounded while the parameter-free SGDs require bounded gradients. Specifically, naively feeding in the unbounded gradients can even make the algorithm undefined, let alone the lack of convergence guarantees; see <ref type="bibr">(Jun and Orabona, 2019</ref>, Section 3) for a detailed argument. Our solution in this paper goes back to the more general version of Online Convex Optimization (OCO) <ref type="bibr">(Zinkevich, 2003)</ref> and reconsider its formulation to allow unbounded noise, which is more general than the &#491;-LDP setting. In this paper, however, we focus on the LDP setting; we refer the interested readers to <ref type="bibr">Jun and Orabona (2019)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">Problem Definition and Preliminaries</head><p>In this section, we describe our notations and provide relevant background.</p><p>Locally Differentially Private (LDP) SGD. An &#491;-differentially private algorithm must guarantee that the log-likelihood ratio of the outputs of the algorithm under two databases differing in a single individual's data is smaller than &#491; <ref type="bibr">(Dwork et al., 2006)</ref>. In the stricter definition of local differential privacy (LDP) <ref type="bibr">(Wasserman and Zhou, 2010;</ref><ref type="bibr">Kasiviswanathan et al., 2011;</ref><ref type="bibr">Duchi et al., 2014;</ref><ref type="bibr">Song et al., 2013;</ref><ref type="bibr">2015)</ref> an untrusted algorithm is allowed to access a perturbed version of a sensitive data point only through a sanitization interface. In particular, the sanitization mechanism must guarantee that the log-likelihood ratio of the data of two individuals x and x &#8242; is smaller than &#491;.</p><p>Definition 1 (Local Differential Privacy). Let D = (X 1 , . . . , X n ) be a sensitive dataset where each</p><p>where the probability is w.r.t. the randomization in the sanitization mechanism.</p><p>Algorithm 1 Betting Algorithm for Noisy COins (BANCO) for Differentially Private SGD</p><p>Receive a noisy negative subgradient &#285;t such that E[&#285; t ] &#8712; -&#8706;&#8467;(w t , x) where x &#8764; &#961; X 4:</p><p>Update magnitude:</p><p>G , 1 b , and k 1 = 0.6838 5:</p><p>Update direction:</p><p>Project direction onto L2 ball: q t+1 = q t+ 1 2 &#8901; min 1, q t+ 1 2 -1 2 7:</p><p>Update the weight vector:</p><p>Denote by &#8706;&#8467;(w, x) the subdifferential set of &#8467; w.r.t. its first argument evaluated at (w, x). The local differential setting can be specialized to SGD, as described in the introduction, by a mechanism that, upon receiving a subgradient in &#8706;&#8467;(w, x) with x i.i.d.</p><p>&#8764; &#961; X , returns a noisy version G(w) &#8712; &#8706;&#8467;(w, x) + &#958;, where the noise &#958; guarantees the &#491;-local differential privacy.</p><p>Assumptions. Throughout, we work with negative subgradients for notational simplicity. Let &#285;t be the negative subgradient received at time step t. Let g t = E t [&#285; t ] be the true negative subgradient and &#958; t = &#285;t -E t [&#285; t ] where we use the notation</p><p>We assume that the true subgradients are bounded by G: g t 2 &#8804; G. Furthermore, the noise &#958; t is conditionally zero-mean and has conditional finite variance:</p><p>for some &#963; &gt; 0. We also assume a tail condition such that &#958; t is conditionally sub-exponential with parameters (&#963; 2 1D , b):</p><p>One can show that, when (2) is achieved with equality, we have &#963; 2 1D &#8804; &#963; 2 . The intuition of the condition above is that the tail of the noise &#958; t behaves well in any direction. This noise definition covers a wide range of distributions, including Gaussian and Laplace. If d = 1, we have &#963; 2 = &#963; 2 1D . This is not true in general and the relationship depends on the noise distribution. If &#958; t &#8764; N (0, s 2 I), then one can see that &#963; 2 1D = s 2 and &#963; 2 = ds 2 . As another example, the Laplace mechanism noise used in differentially-private learning satisfies the tail condition above; see <ref type="bibr">Jun and Orabona (2019, Lemma 7)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">Parameter-free Stochastic Optimization with Noise</head><p>We now describe BANCO that achieves essentially the convergence rate of optimally-tuned SGD without repeated runs for tuning the learning rate, thus being truly one-pass. BANCO decomposes the optimization process into two parts: one for optimizing the direction and the other for the magnitude of the solution vector. For the direction, we use projected stochastic gradient descent with adaptive learning rates <ref type="bibr">(Orabona and P&#225;l, 2018)</ref>. While, for the magnitude we use a parameter-free algorithm based on coin-betting <ref type="bibr">(Orabona and Pal, 2016;</ref><ref type="bibr">Jun and Orabona, 2019)</ref>. We then construct the solution vector as the multiplication of the two solutions. The full pseudocode can be found in Algorithm 1. Note that m t+1 has a closed form solution as follows: with shorthands x = &#8721; t s=1 &#10216;&#285; s , q s &#10217; and y = t(&#963; 2 2 + G 2 ),</p><p>8ay 3 2 .</p><p>For improving numerical precision for computing m t+1 , we refer to <ref type="bibr">(Koolen, 2015)</ref>.</p><p>We now show that BANCO is a parameter-free &#491;-LDP SGD algorithm. Consider the Laplace sanitization mechanism that adds noise with probability density function &#961; &#958; (z) &#8733; exp(-&#491; 2 z 2 ), which makes the subgradients very similar to one another. <ref type="bibr">Song et al. (2015)</ref> proved that this mechanism is &#491;-locally differentially private and ensures</p><p>, satisfying (1). Further, <ref type="bibr">Jun and Orabona (2019, Lemma 7)</ref> show that this mechanism satisfies (2) with &#963; 2 1D = 18d 2 &#491; 2 and b = &#491; 4. Theorem 2. Assume that &#8467;(w, x) is convex in the first argument w &#8712; R d and has its subgradients' L2-norm bounded by 1, where the subgradient is with respect to the first argument. Let the noise &#285;t -E[&#285; t ] follow the density &#961;(z) &#8733; exp(-&#491; 2 z 2 ). Then, for any w &#8902; &#8712; R d , after one pass over T samples Algorithm 1 guarantees</p><p>This convergence rate matches the private SGD of <ref type="bibr">Wu et al. (2017)</ref> up to polylogarithmic terms, with the important difference that we do not need to assume the knowledge of the norm of the optimal solution w &#8902; to tune the learning rates. Furthermore, the rate in Theorem 2 is unimprovable up to logarithmic factors as shown in <ref type="bibr">Jun and Orabona (2019)</ref>. Finally, we remark that Algorithm 1 is in fact an instance of <ref type="bibr">Jun and Orabona (2019)</ref>, and more generic algorithms are available via a reduction therein, which can be of independent interest. Also, the Gaussian noise can be used as well, resulting a better dependency in the dimension of the space, but in the weaker (&#491;, &#948;)-LDP.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1">Proof Sketch</head><p>The proof is mainly concerned with regret, a standard quantity in online learning that measures the suboptimality with an arbitrary comparator u. Theorem 2 is a direct consequence of the expected regret bound we describe below using so-called the online-to-batch conversion <ref type="bibr">(Cesa-Bianchi et al., 2004)</ref>. Theorem 3 below shows that the expected regret of Algorithm 1 is decomposed into two expected regrets, each for the magnitude learner m t and the direction learner q t . The fact that we require the expected regret of the direction learner w.r.t. the unit norm comparator frees us from tuning its learning rate, delegating the burden of adaptation to the magnitude learner. In turn, the magnitude algorithm is parameter-free, giving the best guarantee without having to tune any learning rates. The proof is simple and immediate from <ref type="bibr">Cutkosky and Orabona (2018)</ref>. Hereafter, we consider linear functions that can be written as &#8467;(w, x) = &#10216;-g t , w&#10217; for some g t without loss of generality (due to the convexity).</p><p>Theorem 3. Suppose the direction learner obtains expected regret Regret D T (u) &#8758;= &#8721; T t=1 &#10216;&#285; t , uq t &#10217; for any competitor u in the unit ball S &#8834; R d and the magnitude learner obtains expected regret Regret M T (v) &#8758;= &#8721; T t=1 s t &#8901; (vm t ) for any competitor v &#8712; R where s t = &#10216;&#285; t , q t &#10217;. Then, the iterates</p><p>where we define u u = 0 when u = 0.</p><p>For the direction learner, one can invoke any algorithm that guarantees the optimal regret with respect to competitors in the unit ball. Here, we have used projected online gradient descent with the scale-free learning rates in <ref type="bibr">Orabona and P&#225;l (2018)</ref>. One can then immediately obtain the expected regret bound with noisy subgradients:</p><p>where (a) uses Jensen's inequality and the fact that E[ &#285;t 2 ] = E[ g t 2 2 ] + &#963; 2 . Finally, for the magnitude learner, we have instantiated the coin betting algorithm of <ref type="bibr">Jun and Orabona (2019)</ref> that has the following regret bound:</p><p>4 Future Work</p><p>Our study opens up numerous research directions. First, one immediate difference in our upper bound from the standard SGD algorithm with adaptive step size is that we do not have a data-dependent regret bound; we have (G 2 + &#963; 2 )T rather than E[&#8721; T t=1 &#285;t 2 ]. It would be interesting to investigate whether data-dependent bounds are possible. Second, it would be desirable not to require the knowledge of the noise through (&#963; 2 , b) so we can have a single algorithm that can adapt to various types of noise. Finally, high probability regret bounds are a straightforward research direction.</p></div>			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_0"><p>The same argument holds for adaptive learning rates such as<ref type="bibr">Duchi et al. (2010)</ref>.33rd Conference on Neural Information Processing Systems (NeurIPS</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_1"><p>2019), Vancouver, Canada.</p></note>
		</body>
		</text>
</TEI>
