<?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'>Lifelong DP: Consistently Bounded Differential Privacy in Lifelong Machine Learning</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>08/22/2023</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10426186</idno>
					<idno type="doi"></idno>
					<title level='j'>Proceedings of The 1st Conference on Lifelong Learning Agents</title>
<idno></idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Phung Lai</author><author>Han Hu</author><author>Hai Phan</author><author>Ruoming Jin</author><author>My Thai</author><author>An Chen</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[In this paper, we show that the process of continually learning new tasks and memorizing previous tasks introduces unknown privacy risks and challenges to bound the privacy loss. Based upon this, we introduce a formal definition of Lifelong DP, in which the participation of any data tuples in the training set of any tasks is protected, under a consistently bounded DP protection, given a growing stream of tasks. A consistently bounded DP means having only one fixed value of the DP privacy budget, regardless of the number of tasks. To preserve Lifelong DP, we propose a scalable and heterogeneous algorithm, called L2DP-ML with a streaming batch training, to efficiently train and continue releasing new versions of an L2M model, given the heterogeneity in terms of data sizes and the training order of tasks, without affecting DP protection of the private training set. An end-to-end theoretical analysis and thorough evaluations show that our mechanism is significantly better than baseline approaches in preserving Lifelong DP. The implementation of L2DP-ML is available at: https://github.com/haiphanNJIT/PrivateDeepLearning.]]></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>Lifelong learning (L2M) is crucial for machine learning (ML) to acquire new skills through continual learning, pushing ML toward a more human learning in reality. Given a stream of different tasks and data, a deep neural network (DNN) can quickly learn a new task, by leveraging the acquired knowledge after learning previous tasks, under constraints in terms of the amount of computing and memory required <ref type="bibr">(Chaudhry et al., 2019)</ref>. As a result, it is quite challenging to train an L2M model with a high utility. Orthogonal to this, L2M models are vulnerable to adversarial attacks, i.e., privacy model attacks <ref type="bibr">(Shokri et al., 2017;</ref><ref type="bibr">Fredrikson et al., 2015;</ref><ref type="bibr">Wang et al., 2015;</ref><ref type="bibr">Papernot et al., 2016)</ref>, when DNNs are trained on highly sensitive data, e.g., clinical records <ref type="bibr">(Choi et al., 2017;</ref><ref type="bibr">Miotto et al., 2016)</ref>, user profiles <ref type="bibr">(Roumia &amp; Steinhubl, 2014;</ref><ref type="bibr">Wu et al., 2010)</ref>, and medical images <ref type="bibr">(Plis et al., 2014;</ref><ref type="bibr">Helmstaedter et al., 2013)</ref>.</p><p>In practice, the privacy risk will be more significant since an adversary can observe multiple versions of an L2M model released after training on each task. Different versions of the model parameters can be considered as an additional information leakage, compared with a model trained on a single task (Theorem 1). Memorizing previous tasks while learning new tasks further exposes private information in the training set, by continuously accessing the data from the previously learned tasks (i.e., data stored in an episodic memory <ref type="bibr">(Chaudhry et al., 2019;</ref><ref type="bibr">Riemer et al., 2019;</ref><ref type="bibr">Tao et al., 2020)</ref>); or accessing adversarial examples produced from generative memories to imitate real examples of past tasks <ref type="bibr">(Shin et al., 2017;</ref><ref type="bibr">Wu et al., 2018;</ref><ref type="bibr">Ostapenko et al., 2019)</ref>. Unfortunately, there is a lack of study offering privacy protection to the training data in L2M.</p><p>Our Contributions. To address this problem, we propose to preserve differential privacy (DP) <ref type="bibr">(Dwork et al., 2006)</ref>, a rigorous formulation of privacy in probabilistic terms, in L2M. We introduce a new definition of lifelong differential privacy (Lifelong DP), in which the participation of any data tuple in any tasks is protected under a consistently bounded DP guarantee, given the released parameters in both learning new tasks and memorizing previous tasks (Definition 3). This is significant by allowing us to train and release new versions of an L2M model, given a stream of tasks and data, under DP protection.</p><p>Based upon this, we propose a novel L2DP-ML algorithm to preserve Lifelong DP. In L2DP-ML, privacy-preserving noise is injected into inputs and hidden layers to achieve DP in learning private model parameters in each task (Alg. 1). Then, we configure the episodic memory as a stream of fixed and disjoint batches of data, to efficiently achieve Lifelong DP (Theorem 2). The previous task memorizing constraint is solved, by inheriting the recipe of the wellknown A-gem algorithm <ref type="bibr">(Chaudhry et al., 2019)</ref>, under Lifelong DP. To our knowledge, our study establishes a formal connection between DP preservation and L2M given a growing number of learning tasks compared with existing works <ref type="bibr">(Farquhar &amp; Gal, 2018;</ref><ref type="bibr">Phan et al., 2019a)</ref>. Rigorous experiments, conducted on permuted MNIST <ref type="bibr">(Kirkpatrick et al., 2017)</ref>, permuted CIFAR-10 datasets, and an L2M task on our collected dataset for human activity recognition in the wild show promising results in preserving DP in L2M.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">BACKGROUND</head><p>Let us first revisit L2M with A-gem and DP. In L2M, we learn a sequence of tasks T = {t 1 , . . . , t m } one by one, such that the learning of each new task will not forget the models learned for the previous tasks. Let D i be the dataset of the i-th task. Each tuple contains data x &#8712; [-1, 1] d and a ground-truth label y &#8712; Z K , which is a one-hot vector of K categorical outcomes y = {y 1 , . . . , y K }. A single true class label y x &#8712; y given x is assigned to only one of the K categories. All the training sets D i are non-overlapping; that is, an arbitrary input (x, y) belongs to only one D i , i.e., &#8707;!i &#8712; [1, m] : (x, y) &#8712; D i (x &#8712; D i for simplicity). On input x and parameters &#952;, a model outputs class scores f : R d &#8594; R K that map inputs x to a vector of scores f (x) = {f 1 (x), . . . , f K (x)} s.t. &#8704;k &#8712; [1, K] : f k (x) &#8712; [0, 1] and K k=1 f k (x) = 1. The class with the highest score is selected as the predicted label for x, denoted as y(x) = max k&#8712;K f k (x). A loss function L(f (&#952;, x), y) presents the penalty for mismatching between the predicted values f (&#952;, x) and original values y.</p><p>Lifelong Learning. Given the current task &#964; (&#8804; m), let us denote T &#964; = {t 1 , . . . , t &#964; -1 } is a set of tasks that have been learnt. Although there are different L2M settings, i.e., episodic memory <ref type="bibr">(Rebuffi et al., 2017;</ref><ref type="bibr">Lopez-Paz &amp; Ranzato, 2017;</ref><ref type="bibr">Riemer et al., 2019;</ref><ref type="bibr">Abati et al., 2020;</ref><ref type="bibr">Tao et al., 2020;</ref><ref type="bibr">Rajasegaran et al., 2020;</ref><ref type="bibr">Ebrahimi et al., 2020)</ref> and generative memory <ref type="bibr">(Shin et al., 2017;</ref><ref type="bibr">Wu et al., 2018;</ref><ref type="bibr">Ostapenko et al., 2019)</ref>, we leverage one of the state-of-the-art algorithms, i.e., A-gem <ref type="bibr">(Chaudhry et al., 2019)</ref>, to demonstrate our privacy-preserving mechanism, without loss of the generality of our study. A-gem avoids catastrophic forgetting by storing an episodic memory M i for each task t i &#8712; T &#964; . When minimizing the loss on the current task &#964; , a typical approach is to treat the losses on the episodic memories of tasks i &lt; &#964; , given by L(f (&#952;, M i )) = 1 |Mi| x&#8712;Mi L(f (&#952;, x), y), as inequality constraints. In A-gem, the L2M objective function is:</p><p>where &#952; &#964; -1 are the values of model parameters &#952; learned after training the task</p><p>Eq. 1 indicates that learning &#952; &#964; given the task &#964; will not forget previously learned tasks {t 1 , . . . , t &#964; -1 } enforced by the memory replaying constraint</p><p>At each training step, A-gem <ref type="bibr">(Chaudhry et al., 2019)</ref> has access to only D &#964; and M &#964; to compute the projected gradient g (i.e., by addressing the constraint in Eq. 1), as follows:</p><p>where g is the updated gradient computed on a batch sampled from D &#964; , g ref is an episodic gradient computed on a batch sampled from M &#964; , and g is used to update the model parameters &#952; in Eq. 1.</p><p>Differential Privacy (DP). DP guarantees that the released statistical results, computed from the underlying sensitive data, is insensitive to the presence or absence of one tuple in a dataset. Let us briefly revisit the definition of DP, as:</p><p>Definition 1 (&#1013;, &#948;)-DP <ref type="bibr">(Dwork et al., 2006)</ref>. A randomized algorithm A is (&#1013;, &#948;)-DP, if for any two neighboring databases D and D &#8242; differing at most one tuple, and &#8704;O &#8838; Range(A), we have:</p><p>where &#1013; controls the amount by which the distributions induced by D and D &#8242; may differ, and &#948; is a broken probability.</p><p>A smaller &#1013; enforces a stronger privacy guarantee.</p><p>DP has been preserved in many ML models and tasks <ref type="bibr">(Abadi et al., 2017;</ref><ref type="bibr">Phan et al., 2019b;</ref><ref type="bibr">Papernot et al., 2018)</ref>. However, existing mechanisms have not been designed to preserve DP in L2M under a fixed and consistently bounded privacy budget given a growing stream of learning tasks. That differs from our goal in this study.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">PRIVACY RISK AND LIFELONG DP</head><p>In this section, we focus on analyzing the unknown privacy risk in L2M and introduce a new concept of Lifelong DP.</p><p>Privacy Risk Analysis. One benefit of L2M is that end-users can use an L2M model after training each task &#964; , instead of waiting for the model to be trained on all the tasks. Thus, in practice, the adversary can observe the model parameters &#952; 1 , . </p><p>i differ at most one tuple; and (2) M i and M &#8242; i differ at most one tuple.</p><p>A Naive Mechanism. To preserve DP in L2M, one can employ the moments accountant <ref type="bibr">(Abadi et al., 2016)</ref> to train the model f by injecting Gaussian noise into clipped gradients g and g ref (Eq. 2), with privacy budgets &#1013; D&#964; and &#1013; M&#964; on each dataset D &#964; and on the episodic memory M &#964; , and a gradient clipping bound C. The post-processing property in DP <ref type="bibr">(Dwork et al., 2014)</ref> can be applied to guarantee that g, computed from the perturbed g and g ref , is also DP.</p><p>Let us denote this mechanism as A, and denote A &#964; as A applied on the task &#964; . A naive approach <ref type="bibr">(Desai et al., 2021)</ref> is to repeatedly apply A on the sequence of tasks T. Since training data is non-overlapping among tasks, the parallel composition property in DP <ref type="bibr">(Dwork &amp; Lei, 2009</ref>) can be applied to estimate the total privacy budget consumed across all the tasks, as follows:</p><p>where &#1013; = max i&#8712;[1,m] (&#1013; Di + &#1013; Mi ), and &#8704;i, j &#8712; [1, m] : &#948; is the same for &#1013; Di and &#1013; Mj .</p><p>A(data m ) indicates that the model is trained from scratch with the mechanism A, given randomly initiated parameters &#952; 0 , i.e., A(&#952; 0 , data m ). Intuitively, we can achieve the traditional DP guarantee in L2M, as the participation of a particular data tuple in each dataset D &#964; is protected under the released (&#1013;, &#948;)-DP {&#952; i } i&#8712; <ref type="bibr">[1,m]</ref> . However, this approach introduces unknown privacy risks in each task and in the whole training process, as discussed next.</p><p>Observing the intermediate parameters {&#952; i } i&lt;&#964; turns the mechanism A &#964; into a list of adaptive DP mechanisms A 1 , . . . , A &#964; sequentially applied on tasks t 1 , . . . , t &#964; , where A i : (</p><p>This is an instance of adaptive composition, which we can model by using the output of all the previous mechanisms {&#952; i } i&lt;&#964; as the auxiliary input of the A &#964; mechanism. Thus, given an outcome &#952; &#964; , the privacy loss c(&#8226;) at &#952; &#964; can be measured as follows:</p><p>The privacy loss is accumulated across tasks, as follows:</p><p>As a result of the Theorem 1, the privacy budget at each task &#964; cannot be simply bounded by max &#964; &#8712;[1,m] (&#1013; D&#964; + &#1013; M&#964; ), given &#948; (Eq. 4). This problem might be addressed by replacing the max function in Eq. 4 with a summation function:</p><p>, to compute the upper bound of the privacy budget for an entire of the continual learning process. To optimize this naive approach, one can adapt the management policy <ref type="bibr">(L&#233;cuyer et al., 2019)</ref> to redistribute the privacy budget across tasks while limiting the total privacy budget &#1013; to be smaller than a predefined upper bound, that is, the training will be terminated when &#1013; reaches the predefined upper bound.</p><p>However, the challenge in bounding the privacy risk is still the same, centering around the growing number of tasks m and the heterogeneity among tasks: (1) The larger the number of tasks, the larger the privacy budget will be consumed by the function. It is hard to identify an upper bound privacy budget given an unlimited number of streaming tasks in L2M; (2) Different tasks may require different numbers of training steps due to the difference in terms of the number of tuples in each task; thus, affecting the privacy budget &#1013;; and (3) The order of training tasks also affect the privacy budget, since computing g ref by using data in the episodic memory from one task may be more than other tasks. Therefore, bounding the DP budget in L2M is non-trivial.</p><p>Lifelong DP. To address these challenges, we propose a new definition of &#1013;-Lifelong DP to guarantee that an adversary cannot infer whether a data tuple is in the lifelong training dataset data m , given the released parameters {&#952; i } i&#8712; <ref type="bibr">[1,m]</ref> learned from a growing stream of an infinite number of new tasks, denoted &#8704;m &#8712; [1, &#8734;), under a consistently bounded DP budget &#1013; (Eq. 6). A consistently bounded DP means having only one fixed value of &#1013;, regardless of the number of tasks m. In other words, it does not exist an i &#8804; m and an &#1013; &#8242; &lt; &#1013;, such that releasing {&#952; j } j&#8712; <ref type="bibr">[1,i]</ref> given training dataset data i is &#1013; &#8242; -DP (Eq. 7). A consistently bounded DP is significant by enabling us to keep training and releasing an L2M model without intensifying the end-to-end privacy budget consumption. Lifelong DP can be formulated as follows:</p><p>Definition 3 &#1013;-Lifelong DP. Given a lifelong database data m , a randomized algorithm A achieves &#1013;-Lifelong DP, if for any of two lifelong neighboring databases (data m , data &#8242; m ), for all possible outputs</p><p>) where Range(A) denotes every possible output of A.</p><p>In our Lifelong DP definition, the episodic memory (data) M can be an empty set &#8709; in the definition of lifelong neighboring databases (Def. 2) given L2M mechanisms that do not need to access M <ref type="bibr">(Yoon et al., 2020;</ref><ref type="bibr">Ye &amp; Bors, 2020;</ref><ref type="bibr">Maschler et al., 2021;</ref><ref type="bibr">Qu et al., 2021;</ref><ref type="bibr">He &amp; Zhu, 2022)</ref>.</p><p>To preserve Lifelong DP, we need to address the following problems: (1) The privacy loss accumulation across tasks;</p><p>(2) The overlapping between the episodic memory M and the training data D; and (3) The data sampling process for computing the episodic gradient g ref given the growing episodic memory M. The root cause issue of these problems is that in an L2M model, the episodic memory M, which accumulatively stores data from all of the previous tasks, is read at each training step. Thus, using the moments account to preserve Lifelong DP will cause the privacy budget accumulated, resulting in a loose privacy protection given a large number of tasks or training steps. Therefore, designing a mechanism to preserve Lifelong DP under a tight privacy budget is non-trivial and an open problem.</p><p>Algorithm 1 L2DP-ML Algorithm  </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">PRESERVING LIFELONG DP</head><p>To overcome the aforementioned issues, our idea is designing a L2M mechanism such that the privacy budget will not accumulate across training steps while memorizing previously learned tasks. More precisely, we design our network as a multi-layer neural network stacked on top of a feature representation learning model. Then, we propose a new Laplace mechanism-based Lifelong DP algorithm, called L2DP-ML (Alg. 1), in computing the gradients g, g ref , and g. Finally, to overcome expensive computation cost and heterogeneity among tasks, we develop a scalable and heterogeneous algorithm through a streaming batch training (Alg. 2), to efficiently learn Lifelong DP parameters (Theorem 2).</p><p>Network Design. In our Alg. 1 and Fig. <ref type="figure">1</ref>, a DNN is designed as a stack of an auto-encoder for feature representation learning and a typical multi-layer neural network, as follows: f (x) = G(a(x, &#952; 1 ), &#952; 2 ) where a(&#8226;) is the auto-encoder and G(&#8226;) is the multi-layer neural network. The auto-encoder a(&#8226;) takes x as an input with model parameters &#952; 1 ; meanwhile, the multi-layer neural network G(&#8226;) takes the output of the auto-encoder a(&#8226;) as its input with model parameters &#952; 2 and returns the class scores f (x).</p><p>This network design allows us to: (1) Tighten the sensitivity of our model, since it is easy to train the auto-encoder using less sensitive objective functions, given its small sizes;</p><p>(2) Reduce the privacy budget consumption, since the computations of the multi-layer neural network is DP when the output of the auto-encoder is DP; and (3) Provide a better re-usability, given that the auto-encoder can be reused and shared for different predictive models.</p><p>Given a dataset D &#964; , the objective functions of the auto-encoder and the multi-layer neural network can be the classical cross-entropy error functions for data reconstruction at the input layer and for classification at the output layer, denoted R D&#964; (&#952; 1 ) and L D&#964; (&#952; 2 ) respectively. Without loss of generality, we define the data reconstruction function R D&#964; (&#952; 1 ) and the classification function L D&#964; (&#952; 2 ) as follows:</p><p>where the transformation of</p><p>is the reconstruction of x r , and h &#960;r computed from the x r through the network with W &#960; is the parameter at the last hidden layer h &#960; .</p><p>Our L2M objective function is defined as:</p><p>where {&#952; 1 , &#952; 2 } are the model parameters; while, {&#952; &#964; 1 , &#952; &#964; 2 } are the values of {&#952; 1 , &#952; 2 } after learning task &#964; . At each training step on the current task &#964; , to update the model parameters {&#952; &#964; 1 , &#952; &#964; 2 } minimizing Eq. 10, we need to compute the gradients g and g ref , and then follow Eq. 2 to compute the projected gradient g for the model parameters {&#952; &#964; 1 , &#952; &#964; 2 } (Fig. <ref type="figure">2</ref>). Given the projected g, we can update {&#952; &#964; 1 , &#952; &#964; 2 } by applying typical descent operation, as follows.</p><p>Gradient Update g. To compute the gradient g for {&#952; &#964; 1 , &#952; &#964; 2 } on the current task &#964; , we first derive polynomial forms of R D&#964; (&#952; 1 ) and L D&#964; (&#952; 2 ), by applying the 1st and 2nd orders of Taylor Expansion <ref type="bibr">(Arfken, 1985)</ref> as follows:</p><p>To preserve &#1013; 1 -DP in learning &#952; 1 , we leverage Functional Mechanism <ref type="bibr">(Zhang et al., 2012)</ref> to inject a Laplace noise into polynomial coefficients of the function R D&#964; (&#952; 1 ), which are the input x and the first transformation h 1 . Laplace mechanism <ref type="bibr">(Dwork et al., 2014)</ref> is well-known in perturbing objective functions to prevent privacy budget accumulation in training ML models <ref type="bibr">(Phan et al., 2017a;</ref><ref type="bibr">b;</ref><ref type="bibr">2020)</ref>. As in <ref type="bibr">(Phan et al., 2020)</ref>, the global sensitivity &#8710; R is bounded as follows:</p><p>where</p><p>and &#1013; 1 is a privacy budget.</p><p>Importantly, the perturbation of each example x turns the original data <ref type="bibr">(Phan et al., 2020)</ref> (Alg. 1, line 2). Based upon that, all the computations on top of the (&#1013; 1 /&#947; x )-DP dataset D &#964; , including h r , h r , x r , and the computation of gradients g of the model parameters &#952; 1 are shown to be (&#1013; 1 /&#947; x )-DP without accessing any additional information from the original data D &#964; , i.e., &#8704;s &#8712; [1, d] :</p><p>. This follows the post-processing property of DP <ref type="bibr">(Dwork et al., 2014)</ref>. Consequently, the total privacy budget used to perturb R is (&#1013; 1 + &#1013; 1 /&#947; x ), by having</p><p>A similar approach is applied to perturb the objective function L D&#964; (&#952; 2 ) at the output layer with a privacy budget &#1013; 2 . The perturbed function of L is denoted as L D&#964; (&#952; 2 ). As in Lemma 3 <ref type="bibr">(Phan et al., 2020)</ref>, the output of the auto-encoder, which is the perturbed transformation</p><p>and &#8741;&#952; 1 &#8741; 1,1 is the maximum 1-norm of &#952; 1 's columns<ref type="foot">foot_0</ref> . As a result, the computations of all the hidden layers of the multi-layer neural network G(&#8226;) that takes the output of the auto-encoder h 1D&#964; as its input, is (&#1013; 1 /&#947;)-DP, since h 1D&#964; is (&#1013; 1 /&#947;)-DP, following the post-processing property of DP <ref type="bibr">(Dwork et al., 2014)</ref> </p><p>That helps us to (1) avoid extra privacy budget consumption in computing the multi-layer neural network G(&#8226;); (2) tighten the sensitivity of the function L D&#964; (i.e., &#8710; L &#8804; 2|h &#960; |); and (3) achieve DP gradient update for &#952; 2 . The total privacy budget used to perturb L is</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>1, lines 5 and 10).</head><p>Episodic and Projected Gradients g ref and g. Now, we are ready to present our approach in achieving Lifelong DP, by configuring the episodic memory at the current task &#964; (i.e., M &#964; ) as a fixed and disjoint set of datasets from previous tasks, i.e., M &#964; = {D 1 , . . . , D &#964; -1 } (Alg. 1, line 7); such that, at each training step, the computation of episodic gradients g ref for the model parameters {&#952; 1 , &#952; 2 } using a randomly picked dataset D ref &#8712; M &#964; (Alg. 1, lines 8 and 11), is (&#1013; 1 + &#1013; 1 /&#947; x + &#1013; 1 /&#947; + &#1013; 2 )-DP, without incurring any additional privacy budget consumption for the dataset D ref . The projected gradients g is computed from g and g ref (Eq. 2) is also (&#1013; 1 + &#1013; 1 /&#947; x + &#1013; 1 /&#947; + &#1013; 2 )-DP, following the post-processing property of DP <ref type="bibr">(Dwork et al., 2014)</ref>.</p><p>Hence, we reformulate the L2M objective function in Eq. 10, as follows:</p><p>where</p><p>By using the perturbed functions R and L, the constrained optimization of Eq. 14 can be addressed similarly to Eq. 2, when the projected gradient g is computed as:</p><p>where g is the gradient update on the current task &#964; , and g ref is computed using a dataset D ref randomly selected from the episodic memory M &#964; .</p><p>Lifelong DP Guarantee. Given the aforementioned network f (x) as the stack of the auto-encoder and the multilayer neural network, and privacy budgets &#1013; 1 and &#1013; 2 , the total Lifelong DP privacy consumption in learning the model parameters {&#952; 1 , &#952; 2 } at each task is computed in Theorem 2.</p><p>Theorem 2 shows that Alg. 1 achieves &#1013;-Lifelong DP in learning the model parameters at each task</p><p>, where &#1013; = (&#1013; 1 + &#1013; 1 /&#947; x + &#1013; 1 /&#947; + &#1013; 2 ). There are three key properties in the proof of Theorem 2 (Appx. B):</p><p>(1) For every input x in the whole training set</p><p>x is included in one and only one dataset, denoted D x &#8712; D (Eq. 17). Hence, the DP guarantee to x in D is equivalent to the DP guarantee to x in D x (Eqs. 19 and 20).</p><p>(2) If we randomly sample tuples from the episodic memory to compute the episodic gradients g ref , the sampling set and its neighboring set can have at most i -1 different tuples (i &#8712; [1, m]), since each D i and its neighboring dataset D &#8242; i can have at most 1 different tuple. In addition, a random sampling set of tuples in the episodic memory can overlap with more than one datasets D i , which is used to compute the gradient g. Importantly, different sampling sets from the episodic memory can overlap each other; thus, a simple data tuple potentially is used in multiple DPpreserving objective functions using these overlapping sets to compute the episodic gradients g ref . These issues introduce additional privacy risk by following the group privacy theory and overlapping datasets in DP. We address this problem, by having the episodic memory as a fixed and disjoint set of datasets across T training tasks (Eq. 18). As a result, we can prevent the additional privacy leakage, caused by: (i) Differing at most i -1 tuples between neighboring M i and M &#8242; i for all i &#8712; (1, m]; and (ii) Generating new and overlapping sets of data samples for computing the episodic gradient (which are considered overlapping datasets in the parlance of DP) in the typical training. Thus, the optimization on one task does not affect the DP protection of any other tasks, even the objective function given one task can be different from the objective function given other tasks (Eq. 21).</p><p>(3) Together with the results achieved in (1) and ( <ref type="formula">2</ref>), by having one and only one privacy budget for every task, we can achieve Eqs. 6 and 7 in Lifelong DP (Def. 3). We present these steps in Eqs. 27 and 29.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">SCALABLE AND HETEROGENEOUS TRAINING</head><p>Although computing the gradients given the whole dataset D &#964; achieves Lifelong DP, it has some shortcomings: (1) consumes a large computational memory to store the episodic memory; (2) computational efficiency is low, since we need to use the whole dataset D &#964; and D ref to compute the gradient update and the episodic gradient at each step; This results in a slow convergence speed and poor utility.</p><p>Scalability. To address this, we propose a streaming batch training (Alg. 2, Appx. C), in which a batch of data is used to train the model at each training step, by the following steps.</p><p>(1) Slitting the private training data D &#964; (&#8704;&#964; &#8712; T) into disjoint and fixed batches (Alg. 2, line 4).</p><p>(2) Using a single draw of Laplace noise across batches (Alg. 2, lines 1-2). That prevents additional privacy leakage, caused by: (i) Generating multiple draws of noise (i.e., equivalent to applying one DP-preserving mechanism multiple times on the same dataset); (ii) Generating new and overlapping batches (which are considered overlapping datasets in the parlance of DP); and (iii) More importantly, for any example x, x is included in only one batch. Hence, each disjoint batch of data in Alg. 2 can be considered as a separate dataset in Alg. 1.</p><p>(3) For each task, we randomly select a batch to place in the episodic memory (Alg. 2, line 17).</p><p>(4) At each training step, a batch from the current task is used to compute the gradient g, and a batch randomly selected from the episodic memory is used to compute the episodic gradient g ref <ref type="bibr">(Alg. 2,</ref>. Thus, Alg. 2 still preserves (&#1013; 1 + &#1013; 1 /&#947; x + &#1013; 1 /&#947; + &#1013; 2 )-Lifelong DP (Theorem 2).</p><p>By doing so, we significantly reduce the computational complexity and memory consumption, since only a small batch of data from each task is stored in the episodic memory.</p><p>Heterogeneity. Based upon this, our algorithm can be applied to address the heterogeneity in terms of data sizes among tasks, which differs from multi-modal tasks <ref type="bibr">(Liu et al., 2019)</ref>. We can train one task with multiple epochs, without affecting the Lifelong DP protection in Alg. 2, by 1) keeping all the batches fixed among epochs, and 2) at the end of training each task, we randomly select a batch of that task to place in the episodic memory. The order of the task does not affect the Lifelong DP, since the privacy budget is not accumulated across tasks. These distinct properties enable us to customize our training, by having different numbers of training epochs for different tasks and having different training orders of tasks. Tasks with smaller numbers of data tuples can have larger numbers of training epochs. This helps us to achieve better model utility under the same privacy protection as shown in our experiments.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6">EXPERIMENTS</head><p>Our validation focuses on understanding the impacts of the privacy budget &#1013; and the heterogeneity on model utility. For reproducibility, our implementation is available and uploaded.</p><p>Baseline Approaches. We consider A-gem <ref type="bibr">(Chaudhry et al., 2019)</ref> as an upper bound in terms of model performance, since A-gem is a noiseless model. We aim to show how much model utility is compromised for the Lifelong DP protection. Also, we consider the naive algorithm <ref type="bibr">(Desai et al., 2021)</ref>, called NaiveGaussian, as a baseline to demonstrate the effectiveness of our L2DP-ML mechanism. It is worth noting that there is a lack of a precise definition of adjacent  databases resulting in an unclear or not well-justified DP protection for L2M in existing works <ref type="bibr">(Farquhar &amp; Gal, 2018;</ref><ref type="bibr">Phan et al., 2019a)</ref>. Therefore, we do not consider them as baselines in our experiments.</p><p>To evaluate the heterogeneity, we further derive several versions of our algorithm (Alg. 2), including: (1) Balanced L2DP-ML, in which all the tasks have the same number of training steps, given a fixed batch size. This is also true for a Balanced A-gem algorithm;</p><p>(2) L2DP-ML with the same number of epochs for all the tasks; and (3) Heterogeneous L2DP-ML, in which a fixed number of training epochs is assigned to each task. The numbers of epochs among tasks can be different. For instance, 5 epochs are used to train tasks with 5Hz, 10Hz, and 20Hz data, and 1 epoch is used to train the task with a larger volume of 50Hz data. The number of epochs is empirically identified by the data size of each task, since the search space of the number of epochs for each task is exponentially large.</p><p>Datasets. We evaluate our approach using permuted and split MNIST <ref type="bibr">(Kirkpatrick et al., 2017)</ref>, permuted and split CIFAR-10 (Ivan, 2019), split CIFAR-100 datasets<ref type="foot">foot_1</ref> , and our human activity recognition in the wild (HARW) dataset. Permuted MNIST is a variant of <ref type="bibr">MNIST (LeCun et al., 1998)</ref> dataset, where each task has a random permutation of the input pixels, which is applied to all the images of that task. We adopt this approach to permute the CIFAR-10 dataset, including the input pixels and three color channels. Our HARW dataset was collected from 116 users, each of whom provided mobile sensor data and labels for their activities on Android phones consecutively in three months. HARW is an ultimate task for L2M, since different sensor sampling rates, e.g., 50Hz, 20Hz, 10Hz, and 5Hz, from different mobile devices are considered as L2M tasks. The classification output includes five classes of human activities, i.e., walking, sitting, in car, cycling, and running. The data collection and processing of our HARW dataset is in Appx. D. The setting of split CIFAR-10 and CIFAR-100, and split MNIST datasets are in Appx. E.</p><p>Model Configuration. In the permuted MNIST dataset, we used three convolutional layers (32, 64, and 96 features).</p><p>In the permuted CIFAR-10 dataset, we used a Resnet-18 network (64, 64, 128, 128, and 160 features) with kernels (4, 3, 3, 3, and 3). In the HARW dataset, we used three convolutional layers (32, 64, and 96 features). Detailed model configurations are in the Appx. E. To conduct a fair comparison, we applied a grid-search for the best values of hyper-parameters, including the privacy budget &#1013; &#8712; [4, 10], the noise scale z &#8712; [1.1, 2.5], and the clipping bound C &#8712; [0.01, 1], in the NaiveGaussian mechanism. Based on the results of our hyper-parameter grid-search (Table <ref type="table">5</ref>), we set z = 2.2 for &#1013; = 4.0, z = 1.7 for &#1013; = 7.0, and z = 1.4 for &#1013; = 10.0, and C = 0.01 is used for all values of &#1013;.</p><p>Evaluation Metrics. We employ the well-applied average accuracy and forgetting measures after the model has been trained with all the batches up to task &#964; <ref type="bibr">(Chaudhry et al., 2018;</ref><ref type="bibr">2019)</ref>, defined as follows: (1) average accuracy &#964; = </p><p>where f &#964; t is the forgetting on task t after the model is trained with all the batches up till task &#964; . f &#964; t is computed as follows: f &#964; t = max l&#8712;{1,...,&#964; -1} (a l,n,t -a &#964;,n,t ); and (3) We measure the significant difference between two average accuracy curves induced by models A and B after task &#964; , using a p value (2-tail t-tests) curve:</p><p>Results in Permuted MNIST. Fig. <ref type="figure">7a</ref> and Table <ref type="table">1</ref> illustrate the average accuracy and forgetting measure of each model as a function of the privacy budget &#1013; on the permuted MNIST dataset. It is clear that the NaiveGaussian mechanism does not work well under a tight privacy budget &#1013; &#8712; [0.5, 2] given a large number of tasks m = 20. This is because each task can consume a tiny privacy budget &#1013;/m resulting in either a large noise injected into the clipped gradients or a lack of training steps to achieve better model utility. By avoiding the privacy budget accumulation across tasks and training steps, our L2DP-ML models significantly outperform the NaiveGaussian mechanism. Our L2DP-ML model achieves 47.73% compared with 10.43% of the NaiveGaussian after 20 tasks given &#1013; = 0.5 (p &lt; 6.81e -15).</p><p>Regarding the upper bound performance, there is a small average accuracy gap between the noiseless A-gem model and our L2DP-ML models given a small number of tasks. The gap increases when the number of tasks increases (23.3% at &#1013; = 0.5 with 20 tasks). The larger the privacy budget (i.e., &#1013; = 2.0), the higher the average accuracy we can achieve, i.e., an improvement of 9.92% with p &lt; 2.83e -14, compared with smaller privacy budgets (i.e., &#1013; = 0.5). Also, our L2DP-ML models have a relatively good average forgetting with tight privacy protection (&#1013; = 0.5, 1, and 2), compared with the noiseless A-gem model.</p><p>Results in Permuted CIFAR-10. Although permuted CIFAR-10 tasks are very difficult (Fig. <ref type="figure">7b</ref> and Table <ref type="table">1</ref>), even with the noiseless A-gem model, i.e., 35.24% accuracy on average, the results on the permuted CIFAR-10 further strengthen our observation. Our L2DP-ML models significantly outperform the NaiveGaussian mechanism. Our L2DP-ML model achieves an improvement of 8.84% in terms of average accuracy over the NaiveGaussian after 17 tasks given &#1013; = 4 (p &lt; 4.68e -7). We further observe that the NaiveGaussian mechanism has a remarkably larger average forgetting compared with our L2DP-ML (Table <ref type="table">1</ref>).</p><p>Interestingly, the gap between A-gem and our L2DP-ML models is notably shrunken when the number of tasks increases (from 16.47% with 1 task to 9.89% with 17 tasks, at &#1013; = 4). In addition, the average forgetting values in our L2DP-ML are better than the noiseless A-gem. This is a promising result. We also registered that the larger the privacy budget (i.e., &#1013; = 10), the higher the average accuracy that we can achieve, i.e., an improvement of 4.73% with p &lt; 1.15e -9, compared with smaller budgets (i.e., &#1013; = 4).</p><p>Heterogeneous Training. We now focus on shedding light into understanding the impacts of heterogeneity and privacy on model utility given different variants of our L2DP-ML mechanisms and the noiseless A-gem model. The p value curves are in Figures <ref type="figure">5</ref> and<ref type="figure">6</ref>, Appx. E.</p><p>On the HARW task (Fig. <ref type="figure">3c</ref> and Table <ref type="table">1</ref>), our L2DP-ML model achieves a very competitive average accuracy, given a very tight DP budget &#1013; = 0.2 (i.e., 61.26%) compared with the noiseless A-gem model (i.e., 62.27%), across four tasks. Our model also achieves a better average forgetting, i.e., 11.33, compared with 12.69 of the noiseless A-gem model. That is promising. Increasing the privacy budget modestly increases the model performance. The differences in terms of average accuracy and forgetting are not significant. This is also true, when we randomly flip the order of the tasks (Fig. <ref type="figure">4</ref> and Table <ref type="table">2</ref>). The results showed that our model effectively preserves Lifelong DP in HARW tasks.</p><p>Heterogeneous training, with customized numbers of epochs and task orders, further improves our model performance, under the same Lifelong DP protection. Fig. <ref type="figure">5</ref> illustrates the p values between the average accuracy curves of our L2DP-ML, given 1) heterogeneous training with different numbers of epochs, 2) task orders, and 3) privacy budgets, over its basic settings, i.e., &#1013; = 0.5 for the permuted MNIST dataset, &#1013; = 4 for the permuted CIFAR-10 dataset, and &#1013; = 0.2 for the HARW dataset, with one training epoch.</p><p>&#8226; In the permuted MNIST dataset (Figs. <ref type="figure">7a</ref> and<ref type="figure">5a</ref>), when our L2DP-ML model is trained with 2 or 3 epochs per task, the average accuracy is improved, i.e., 2.81%, 4.8% given 2, 3 epochs, respectively, with p &lt; 8.44e -9. In the permuted CIFAR-10, using larger numbers of training epochs shows significant performance improvements over a small number of tasks (Fig. <ref type="figure">5b</ref>). When the number of tasks becomes larger, the p values become less significant (even insignificant), compared with the p value curves of larger DP budgets (i.e., &#1013; = 2 and &#1013; = 10 in the permuted MNIST and permuted CIFAR-10). Meanwhile, training with a larger number of epochs yields better results with small numbers of tasks (i.e., fewer than 6 tasks), compared with larger DP budgets.</p><p>&#8226; In the HARW tasks, the improvement is more significant (Figs. <ref type="figure">3c</ref> and<ref type="figure">5c</ref>). Heterogeneous and Balanced L2DP-ML models outperform the basic settings with uniform numbers of training epochs, i.e., 1, 2, and 5 epochs. On average, we registered an improvement of 1.93% given the Balanced L2DP-ML and an improvement of 5.14% given the Heterogeneous L2DP-ML, over the basic setting (1 training epoch). The results are statistically significant (Fig. <ref type="figure">5c</ref>). The average forgetting values of the Balanced L2DP-ML (0.1593) and the Heterogeneous L2DP-ML (0.1920) are higher than the basic setting (0.1133), with p &lt; 2.19e -5 (Table <ref type="table">1</ref>). This is expected as a primary trade-off in L2M, given a better average accuracy. In fact, the average forgetting values are also notably higher given larger uniform numbers of epochs, i.e, 2 and 5 epochs, and the Balanced A-gem. We do not address this fundamental issue in L2M since it is out-of-scope of this study. We focus on preserving Lifelong DP.</p><p>&#8226; We observe similar results in randomly flipping the order of the tasks (Figs. <ref type="figure">4</ref> and<ref type="figure">6</ref>, Table <ref type="table">2</ref>). Among all task orders, our Heterogeneous L2DP-ML achieves the best average accuracy (66.4%) with the task order [5Hz, 10Hz, 20Hz, 50Hz] (Fig. <ref type="figure">3c</ref>) compared with the worse order [20Hz, 50Hz, 5Hz, 10Hz] (56.69%) (Fig. <ref type="figure">4b</ref>), i.e., p &lt; 9.9e -5. More importantly, in both average accuracy and forgetting, our Balanced and Heterogeneous L2DP-ML models achieve a competitive performance compared with the noiseless Balanced A-gem, which is considered to have the upper bound performance, and a better performance compared with having the uniform numbers of epochs across tasks. This obviously shown that the distinct ability to offer the heterogeneity in training across tasks greatly improves our model performance, under the same Lifelong DP protection.</p><p>Results in Split Tasks. We observe similar results on split CIFAR-10, CIFAR-100, and MNIST datasets as L2DP-ML achieves competitive average accuracy approaching the noiseless A-gem model under rigorous privacy budgets (Fig. <ref type="figure">7</ref>, Appx. E). After 5 tasks of the split MNIST dataset, L2DP-ML achieves 73.54% and 81.83% in average accuracy at the privacy budgets 0.5 and 1 respectively, compared with 79.71% of the noiseless A-gem. Interestingly, our L2DP-ML has slightly higher average accuracy than the noiseless A-gem after 11 tasks of the split CIFAR-10 and CIFAR-100 dataset (14.83% in L2DP-ML at &#1013; = 4 compared with 13.44% in the noiseless A-gem). One reason is that Lifelong DP-preserving noise can help to mitigate the catastrophic forgetting. As showed in Table <ref type="table">6</ref> (Appx. E), our L2DP-ML obtains a significantly lower average forgetting (2.7% at &#1013; = 4) than the noiseless A-gem (19.5%).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7">CONCLUSION</head><p>In this paper, we showed that L2M introduces unknown privacy risk and challenges in preserving DP. To address this, we established a connection between DP preservation and L2M, through a new definition of Lifelong DP. To preserve Lifelong DP, we proposed the first scalable and heterogeneous mechanism, called L2DP-ML. Our model shows promising results in several tasks with different settings and opens a long-term avenue to achieve better model utility with lower computational cost, under Lifelong DP.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A PROOF OF THEOREM 1</head><p>Proof 1 Let us denote A 1:i as A 1 , . . . , A i , we have:</p><p>Consequently, Theorem 1 does hold.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B PROOF OF THEOREM 2</head><p>Proof 2 &#8704;&#964; &#8712; T, let D &#964; and D </p><p>Therefore, we further have</p><p>In addition, we also have that:</p><p>where D = {D 1 , . . . , D m }.</p><p>Together with Eq. 17, by having disjoint and fixed datasets in the episodic memory, we have that:</p><p>Without loss of the generality, we can assume that x e &#8712; D &#964; : Eqs. 16 -18</p><p>This is also true when x e &#8712; D ref and x e &#824; &#8712; D &#964; .</p><p>As a result, we have</p><p>After one training step, D &#964; will be placed into the episodic memory M &#964; to create the memory M &#964; +1 . In the next training task, D &#964; can be randomly selected to compute the episodic gradient g ref . This computation does not incur any additional privacy budget consumption for the dataset D &#964; , by applying the Theorem 4 in <ref type="bibr">(Phan et al., 2020)</ref>, which allows us to compute gradients across an unlimited number of training steps using R D&#964; (&#952; &#964; -1</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>1</head><p>) and L D&#964; (&#952; &#964; -1</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>2</head><p>). Therefore, if the same privacy budget is used for all the training tasks in T, we will have only one privacy loss for every tuple in all the tasks. The optimization in one task does not affect the DP guarantee of any other tasks. Consequently, we have</p><p>Eq. 21 can be further used to prove the Lifelong DP protection. Given data m where M t = D t in Alg. 1, we have that</p><p>Therefore, we have</p><p>where</p><p>1. Since all the datasets are non-overlapping, i.e., &#8745; i&#8712;[1,m] D i = &#8709;, given an arbitrary tuple x e , we have that</p><p>Thus, the optimization of {&#952; i 1 , &#952; i 2 } = arg min &#952;1,&#952;2 [R Di (&#952; i-1 1 ) + L Di (&#952; i-1</p><p>2 )] for any other task i different from &#964; does not affect the privacy protection of x e in D. From Eqs. 23 and 24, we have</p><p>The worse privacy leakage case to x e is that D &#964; is used in every D </p><p>In order to bound the privacy loss, we consider the worse case; therefore, from Eq. 25, we further have that</p><p>Eq. 26 is equivalent to the continuously training of our model by optimizing R and L with D &#964; used as both the current task and the episodic memory, across m steps. By following the Theorem 4 in <ref type="bibr">(Phan et al., 2020)</ref>, the privacy budget is not accumulated across training steps. Therefore, we have that</p><p>In the least privacy leakage case, we have that</p><p>As a result, we have that</p><p>where &#1013; = (&#1013; 1 + &#1013; 1 /&#947; x + &#1013; 1 /&#947; + &#1013; 2 ).</p><p>From Eqs. 27 and 29, we have that Alg. 1 achieves</p><p>. Consequently, Theorem 2 does hold.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C L2DP-ML WITH STREAMING BATCH TRAINING</head><p>Algorithm 2 L2DP-ML with Streaming Batch Training Input:</p><p>, batch size &#955;, privacy budgets: &#1013; 1 and &#1013; 2 , learning rate &#1009; Output: Compute Gradients:</p><p>)} with the noise &#967;3 &#955; 14:</p><p>Randomly Select a batch B &#8712; B 18:</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D HARW DATASET</head><p>Data Collection. We utilize Android smartphones to collect smartphone sensor data "in the wild" from university students as subjects for the following reasons: (1) University students should have relatively good access to the smartphones and related technologies;</p><p>(2) University students should be more credible and easier to be motivated than other sources (e.g., recruiting test subjects on crowd-sourcing websites); and (3) It will be easier for our team to recruit and distribute rewards to students. We launched two data collection runs at two universities for three months each. During the course of three months, we let the participants to collect data and labels by themselves (in the wild), and only intervene through reminding emails if we saw a decline in the amount of daily activities. A total of 116 participants were recorded after the two data collection runs.</p><p>Data Processing. For the demonstration purpose of this paper, we use only accelerometer data. Our data processing consists of the following steps: (1) Any duplicated data points (e.g., data points that have the same timestamp) are merged by taking the average of their sensor values;</p><p>(2) Using 300 milliseconds as the threshold, continuous data sessions are identified and separated by breaking up the data sequences at any gap that is larger than the threshold; (3) Data sessions that have unstable or unsuitable sampling rates are filtered out. We only keep the data sessions that have a stable sampling rate of 5Hz, 10Hz, 20Hz, or 50Hz; (4) The label sessions that are associated with each data session (if any) are identified from the raw labels. Note that the label sessions are also filtered with the following two criteria to ensure good quality: (a) The first 10 seconds and the last 10 seconds of each label session are trimmed, due to the fact that users were likely operating the phone during these time periods; (b) Any label session longer than 30 minutes is trimmed down to 30 minutes, in order to mitigate the potential inaccurate labels due to users' negligence (forgot to turn off labeling); and (5) We sample data segments at the size of 100 data points with sliding windows. Different overlapping percentages were used for different classes and different sampling rates. The majority classes have 25% overlapping to reduce the number of data segments, while the minority classes have up to 90% overlapping to increase the available data segments. The same principle is applied to sessions with different sampling rates. We sample 15% of data for testing, while the rest are used for training (Table <ref type="table">3</ref>). Data Normalization. In our L2DP-ML models, we normalize the accelerometer data with the following steps: (1) We compute the mean and variance of each axis (i.e., X, Y , and Z) using only training data to avoid information leakage from the training phase to the testing phase. Then, both training and testing data are normalized with zscore, based on the mean and variance computed from training data; (2) Based on this, we clip the values in between [min, max] = [-2, 2] for each axis, which covers at least 90% of possible data values; and (3) Finally, all values are linearly scaled to [-1, 1] to finish the normalization process, as x = 2 &#215; [ x-min max-min -1/2]. In the HARW dataset, each data tuple includes 100 values &#215; 3 channels of the accelerometer sensor, i.e., 300 values in total as a model input. The classification output includes five classes of human activities, i.e., walking, sitting, in car, cycling, and running (Table <ref type="table">3</ref>, Appx. D). Given 20Hz, 5Hz, 10Hz, and 50Hz tasks, we correspondingly have <ref type="bibr">881, 7553, 621, and 156,033 data points in training and 159, 1,297, 124, and 27,134</ref> data points in testing.</p><p>Baseline Model Performance. We conducted experiments on the HARW dataset in a centralized training on the whole dataset including all the data sampling rates using following baselines: 1) CNN-based model with the numbers of convolution-channels set to 32, 64, 128, denoted as CNN-32, CNN-64, CNN-128, respectively; 2) Bidirectional LSTM (BiLSTM); and 3) CNN-based models proposed by <ref type="bibr">Ignatov (2018)</ref>, with additional features (CNN-Ig) and without additional features (CNN-Ig-featureless) using the Ignatov's recommended settings in <ref type="bibr">Ignatov (2018)</ref>.</p><p>As in Table <ref type="table">4</ref>, our model trained on each task independently achieves competitive results with these baselines under a rigorous DP budget (&#1013; = 0.2), i.e., 77%, 76%, 75%, 58%, on the 5Hz, 10Hz, 20Hz, and 50Hz learning tasks respectively. Although the number of 50Hz training data points is larger than other tasks, the data labels are noisy and collected in short-time periods due to the limited computational resources on mobile devices; thus, the model performance in the 50Hz learning task is lower.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>E HYPER-PARAMETER GRID-SEARCH AND SUPPLEMENTAL RESULTS</head><p>Model Configuration. In the permuted MNIST and the Split MNIST datasets, we used three convolutional layers <ref type="bibr">(32, 64, and 96 features)</ref>. Each hidden neuron connects with a 5x5 unit patch. A fully-connected layer has 512 units. In the permuted CIFAR-10 and the Split CIFAR-10/100 datasets, we used a <ref type="bibr">64,</ref><ref type="bibr">128,</ref><ref type="bibr">128,</ref><ref type="bibr">and 160 features)</ref> with kernels (4, 3, 3, 3, and 3). One fully-connected layer has 256 neurons. In the HARW dataset, we used three convolutional layers <ref type="bibr">(32, 64, and 96 features)</ref>. Each hidden neuron connects with a 2x2 unit patch. A fully-connected layer has 128 units.</p><p>In the Split CIFAR-10 and CIFAR-100 setting, there are 11 tasks, in which the first task is the full CIFAR-10 classification task, and the remaining 10 tasks consist of splits from the CIFAR-100 dataset. Each split contains 10 classes from the CIFAR-100. We adopt this approach from <ref type="bibr">(Von Oswald et al., 2020)</ref>. In the Split MNIST setting, there are 5 tasks, in which each task consists of 2 classes from the MNIST dataset. There is no overlapping classes between tasks in the Split CIFAR-10 and CIFAR-100, and in the Split MNIST.</p><p>In order to be fair in comparison with the L2DP-ML and A-gem mechanisms, we conducted experiments over a wide range of privacy hyper-parameters such as privacy budget (&#1013;), noise scale (z), and sensitivity to select the best hyper-parameters in NaiveGaussian mechanism in our experiments. The search ranges and their results (i.e., average accuracy over all tasks) are provided in Table <ref type="table">5</ref>. We reported the best results, i.e., highest average accuracy over all tasks, of the hyper-parameter grid-search experiments.  </p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_0"><p>https://en.wikipedia.org/wiki/Operator_norm</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="2" xml:id="foot_1"><p>Datasets were downloaded and evaluated by Phung Lai, Han Hu, and NhatHai Phan.</p></note>
		</body>
		</text>
</TEI>
