<?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'>Adversarial Training Can Hurt Generalization</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>08/26/2019</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10113528</idno>
					<idno type="doi"></idno>
					<title level='j'>ArXiv.org</title>
<idno>2331-8422</idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Aditi Raghunathan</author><author>Sang Michael Xie</author><author>Fanny Yang</author><author>John C. Duchi</author><author>Percy Liang</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[While adversarial training can improve robust accuracy (against an adversary), it sometimes hurts standard accuracy (when there is no adversary). Previous work has studied this tradeoff between standard and robust accuracy, but only in the setting where no predictor performs well on both objectives in the infinite data limit. In this paper, we show that even when the optimal predictor with infinite data performs well on both objectives, a tradeoff can still manifest itself with finite data. Furthermore, since our construction is based on a convex learning problem, we rule out optimization concerns, thus laying bare a fundamental tension between robustness and generalization. Finally, we show that robust self-training mostly eliminates this tradeoff by leveraging unlabeled data.]]></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>Neural networks trained using standard training have very low accuracies on perturbed inputs commonly referred to as adversarial examples <ref type="bibr">[12]</ref>. Even though adversarial training <ref type="bibr">[4,</ref><ref type="bibr">6]</ref> can be effective at improving the accuracy on such examples (robust accuracy), these modified training methods decrease accuracy on natural unperturbed inputs (standard accuracy) <ref type="bibr">[6,</ref><ref type="bibr">19]</ref>. Table <ref type="table">1</ref> shows the discrepancy between standard and adversarial training on CIFAR-10. While adversarial training improves robust accuracy from 3.5% to 45.8%, standard accuracy drops from 95.2% to 87.3%.</p><p>One explanation for a tradeoff is that the standard and robust objectives are fundamentally at conflict. Along these lines, Tsipras et al. <ref type="bibr">[14]</ref> and Zhang et al. <ref type="bibr">[19]</ref> construct learning problems where the perturbations can change the output of the Bayes estimator. Thus no predictor can achieve both optimal standard accuracy and robust accuracy even in the infinite data limit. However, we typically consider perturbations (such as imperceptible &#8734; perturbations) which do not change the output of the Bayes estimator, so that a predictor with both optimal standard and high robust accuracy exists.</p><p>Another explanation could be that the hypothesis class is not rich enough to contain predictors that have optimal standard and high robust accuracy, even if they exist <ref type="bibr">[9]</ref>. However, Table <ref type="table">1</ref> shows that adversarial training achieves 100% standard and robust accuracy on the training set, suggesting that the hypothesis class is expressive enough in practice.</p><p>Having ruled out a conflict in the objectives and expressivity issues, Table <ref type="table">1</ref> suggests that the tradeoff stems from the worse generalization of adversarial training either due to (i) the statistical properties of the robust objective or (ii) the dynamics of optimizing the robust objective on neural networks.</p><p>In an attempt to disentangle optimization and statistics, we ask does the tradeoff indeed disappear if we rule out optimization issues? After all, from a statistical perspective, the robust objective adds information (constraints on the outputs of perturbations) which should intuitively aid generalization, similar to Lasso regression which enforces sparsity <ref type="bibr">[13]</ref>.</p><p>Contributions. We answer the above question negatively by constructing a learning problem with a convex loss where adversarial training hurts generalization even when the optimal predictor has both optimal standard and robust accuracy. Convexity rules out optimization issues, revealing a fundamental statistical explanation for why adversarial training requires more samples to obtain high standard accuracy. Furthermore, we show that we can eliminate the tradeoff in our constructed problem using the recently-proposed robust self-training <ref type="bibr">[15,</ref><ref type="bibr">1,</ref><ref type="bibr">8,</ref><ref type="bibr">18]</ref> on additional unlabeled data.</p><p>In an attempt to understand how predictive this example is of practice, we subsample CIFAR-10 and visualize trends in the performance of standard and adversarially trained models with varying training sample sizes. We observe that the gap between the accuracies of standard and adversarial training decreases with larger sample size, mirroring the trends observed in our constructed problem. Recent results from <ref type="bibr">[1]</ref> show that, similarly to our constructed setting, robust self-training also helps to mitigate the trade-off in CIFAR-10.</p><p>Standard vs. robust generalization. Recent work <ref type="bibr">[11,</ref><ref type="bibr">16,</ref><ref type="bibr">5,</ref><ref type="bibr">7]</ref> has focused on the sample complexity of learning a predictor that has high robust accuracy (robust generalization), a different objective. In contrast, we study the finite sample behavior of adversarially trained predictors on the standard learning objective (standard generalization), and show that adversarial training as a particular training procedure could require more samples to attain high standard accuracy.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Convex learning problem: the staircase</head><p>We construct a learning problem with the following properties. First, fitting the majority of the distribution is statistically easy-it can be done with a simple predictor. Second, perturbations of these majority points are low in probability and require complex predictors to be fit. These two ingredients cause standard estimators to perform better than their adversarially trained robust counterparts with a few samples.</p><p>Standard training only fits the training points, which can be done with a simple estimator that generalizes well; adversarial training encourages fitting perturbations of the training points making the estimator complex and generalize poorly.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1.">General setup</head><p>We consider mapping x &#8712; X &#8834; R to y &#8712; R where (x, y) is a sample from the joint distribution P and conditional densities exist. We denote by P x the marginal distribution on X . We generate the data as y = f (x) + &#963;v i where</p><p>&#8764; N (0, 1) and f : X &#8594; R. For an example (x, y), we measure robustness of a predictor with respect to an invariance set B(x) that contains the set of inputs on which the predictor is expected to match the target y.</p><p>The central premise of this work is that the optimal predictor is robust. In our construction, we let f be robust by enforcing the invariance property (see Appendix A)</p><p>Given training data consisting of n i.i.d. samples (x i ,y i ) &#8764; P, our goal is to learn a predictor f &#8712; F . We assume that the hypothesis class F contains f and consider the squared loss. Standard training simply minimizes the empirical risk over the training points. Robust training seeks to enforce invariance to perturbations of training points by penalizing the worst-case loss over the invariance set B(x i ) with respect to target y i . We consider regularized estimation and obtain the following standard and robust (adversarially trained) estimators for sample size n:</p><p>We construct a P and f such that both estimators above converge to f , but such that the error of the robust estimator f rob n is larger than that of f std n for small sample size n.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2.">Construction</head><p>In our construction, we consider linear predictors as "simple" predictors that generalize well and staircase predictors as "complex" predictors that generalize poorly (Figure <ref type="figure">1(a)</ref>). Input distribution. In order to satisfy the property that a simple predictor fits most of the distribution, we define f to be linear on the set X line &#8838; X , where</p><p>for parameters &#948; &#8712; [0, 1] and a positive integer s. Any predictor that fits points in X line will have low (but not optimal) standard error when &#948; is small. Perturbations. We now define the perturbations such that that fitting perturbations of the majority of the distribution requires complex predictors. We can obtain a staircase by flattening out the region around the points in X line locally (Figure <ref type="figure">1(a)</ref>). This motivates our construction where we treat points in X line as anchor points and the set X c line as local perturbations of these points: x &#177; for x &#8712; X line . This is a simpler version of the commonly studied &#8734; perturbations in computer vision. For a point that is not an anchor point, we define B(x) as the invariance set of the closest anchor point x . Formally, for some &#8712; (0, 1  2 ), B(x) = { x , x + , x -}.</p><p>(5) Output distribution. For any point in the support X ,</p><p>for some parameter m. Setting the slope as m = 1 makes f resemble a staircase. Such an f satisfies the invariance property (1) that ensures that the optimal predictor for standard error is also robust. Note that f (x) = mx (a simple linear function) when restricted to x in X line . Note also that the invariance sets B(x) are disjoint. This is in contrast to the example in <ref type="bibr">[19]</ref>, where any invariant function is also globally constant. Our construction allows a non-trivial robust and accurate estimator. We generate the output by adding Gaussian noise to the optimal predictor f , i.e., y = f (x)+&#963;v i where v i i.i.d.</p><p>&#8764; N (0,1). The standard predictor also has low error, but higher than the robust predictor. (d): An illustration of our convex problem when the slope m = 0. The optimal predictor f that is robust is a simple linear function. This setting sees no tradeoff for any sample size.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.3.">Simulations</head><p>We empirically validate the intuition that the staircase problem is sensitive to robust training by simulating training with various sample sizes and comparing the test MSE of the standard and robust estimators ( <ref type="formula">2</ref>) and ( <ref type="formula">3</ref>). We report final test errors here; trends in generalization gap (difference between train and test error) are nearly identical. See Appendix D for more details.</p><p>Figure <ref type="figure">2</ref> shows the difference in test errors of the two estimators. For each sample size n, we compare the standard and robust estimators by performing a grid search over regularization parameters &#955; that individually minimize the test MSE of each estimator. With few samples, most training samples are from X line and standard training learns a simple linear predictor that fits all of X line . On the other hand, robust estimators fit the low probability perturbations X c line , leading to staircases that generalize poorly. Figure <ref type="figure">1</ref>(b) visualizes the two estimators for small samples. However, as we increase the size of the training set, the training set contains all points from X line , and robust estimators also generalize well despite being more complex. Furthermore, in this regime, robust estimators indeed see the expected "regularization" benefit where the robust objective helps fit points in the low probability regions X c line , even when they are not yet sampled in the training points. In general, we see that robust training has higher test error with a small sample size, but the difference in the test error of standard and robust estimators decreases as sample size increases, and robust training eventually obtains lower test error.</p><p>Another common approach to encoding invariances is data augmentation, where perturbations are sampled from B(x) and added to the dataset. Data augmentation is less demanding than adversarial training which minimizes loss on the worst-case point within the invariance set. We find that for our staircase example, an estimator trained even with the less demanding data augmentation sees a similar tradeoff with small training sets, due to increased complexity of the augmented estimator.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.4.">Robust self-training mostly eliminates the tradeoff</head><p>Section 2.3 shows that the gap between the standard errors of robust and standard estimators decreases as training sample size increases. Moreover, if we obtained training points spanning X line , then the robust estimator (staircase) would also generalize well and have lower error than the standard estimator. Thus, a natural strategy to eliminate the tradeoff is to sample more training points. In fact, we do not need additional labels for the points on X line -a standard trained estimator fits points on X line with just a few labels, and can be used to generate labels on additional unlabeled points. Recent works have proposed robust self-training (RST) to leverage unlabeled data for robustness <ref type="bibr">[10,</ref><ref type="bibr">1,</ref><ref type="bibr">15,</ref><ref type="bibr">8,</ref><ref type="bibr">18]</ref>. RST is a robust variant of the popular self-training algorithm for semi-supervised learning <ref type="bibr">[10]</ref>, which uses a standard estimator trained on a few labels to generate psuedo-labels for unlabeled data as described above. See Appendix C for details on RST.</p><p>For the staircase problem (m = 1), RST mostly eliminates the tradeoff and achieves similar test error to standard training (while also being robust, see Appendix C.2) as shown in Figure <ref type="figure">2</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Experiments on CIFAR-10</head><p>In our staircase problem from Section 2, robust estimators perform worse on the standard objective because these predictors are more complex, thereby generalizing poorly. Does this also explain the drop in standard accuracy we see for adversarially trained models on real datasets like CIFAR-10?  We subsample CIFAR-10 by various amounts to study the effect of sample size on the standard test errors of standard and robust models. To train a robust model, we use the adversarial training procedure from <ref type="bibr">[6]</ref> against &#8734; perturbations of varying sizes (see Figure <ref type="figure">2</ref>). The gap in the errors of the standard and adversarially trained models decreases as sample size increases, mirroring the trends in the staircase problem. Extrapolating the trends, more training data should eliminate the tradeoff in CIFAR-10. Similarly to the staircase example, <ref type="bibr">[1]</ref> showed that robust self-training with additional unlabeled data improves robust accuracy and standard accuracy in CIFAR-10. See Appendix C for more details.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.">Adversarial training can also help</head><p>One of the key ingredients that causes the tradeoff in the staircase problem is the complexity of robust predictors. If we change our construction such that robust predictors are also simple, we see that adversarial training instead offers a regularization benefit. When m = 0, the optimal predictor (which is robust) is linear (Figure <ref type="figure">1(d)</ref>). We find that adversarial training has lower standard error by enforcing invariance on B(x) making the robust estimator less sensitive to target noise (Figure <ref type="figure">4(a)</ref>).</p><p>Similarly, on MNIST , the adversarially trained model has lower test error than standard trained model. As we increase the sample size, both standard and adversarially trained models converge to obtain same small test error. We remark that our observation on MNIST is contrary to that reported in <ref type="bibr">[14]</ref>, due to a different initialization that led to better optimization (see Appendix Section D.2).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.">Conclusion</head><p>In this work, we shed some light on the counter-intuitive phenomenon where enforcing invariance respected by the optimal function could actually degrade performance. Being invariant could require complex predictors and consequently more samples to generalize well. Our experiments support that the tradeoff between robustness and accuracy observed in practice is indeed due to insufficient samples and additional unlabeled data is sufficient to mitigate this tradeoff.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Consistency of robust and standard estimators</head><p>We show that the invariance condition (restated, <ref type="bibr">(7)</ref>) is a sufficient condition for the minimizers of the standard and robust objectives under P in the infinite data limit to be the same.</p><p>for all x &#8712; X .</p><p>Recall that y = f (x) + &#963;v i where v i i.i.d.</p><p>&#8764; N (0, 1), with</p><p>Therefore, if f is in the hypothesis class F , then f minimizes the standard objective for the square loss.</p><p>If both f std n (2) and f rob n (3) converge to the same Bayes optimal f as n &#8594; &#8734;, we say that the two estimators f std n and f rob n are consistent. In this section, we show that the invariance condition <ref type="bibr">(7)</ref> implies consistency of f rob n and f std n .</p><p>Intuitively, from <ref type="bibr">(7)</ref>, since f is invariant for all x in B(x), the maximum over B(x) in the robust objective is achieved by the unperturbed input x (and also achieved by any other element of B(x)). Hence the standard and robust loss of f are equal. For any other predictor, the robust loss upper bounds the standard loss, which in turn is an upper bound on the standard loss of f (since f is Bayes optimal). Therefore f also obtains optimal robust loss and f std n and f rob n are consistent and converge to f with infinite data. Formally, let be the square loss function, and the population loss be E (x,y)&#8764;P [ (f (x),y)]. In this section, all expectations are taken over the joint distribution P.</p><p>Theorem 1. (Regression) Consider the minimizer of the standard population squared loss, f * = argmin f E[ (f (x),y)] where (f (x), y) = (f (x) -y) 2 . Assuming (7) holds, we have that for any f , E[max x&#8712;B(x) (f (x), y)] &#8805; E[max x&#8712;B(x) (f * (x),y)], such that f * is also optimal for the robust population squared loss.</p><p>Proof. Note that the optimal standard model is the Bayes estimator, such that f</p><p>where the first equality follows because f * is the Bayes estimator and the second equality is from <ref type="bibr">(7)</ref>. Noting that for any classifier f , E[max x&#8712;B(x) (f (x),y)] &#8805; E[ (f (x),y)] &#8805; E[ (f (x),y)], the theorem statement follows.</p><p>For the classification case, consistency requires label invariance, which is that <ref type="bibr">(8)</ref> such that the adversary cannot change the label that achieves the maximum but can perturb the distribution.</p><p>The optimal standard classifier here is the Bayes optimal classifier f c = argmax y p(y | x). Assuming that f c = argmax y p(y | x) is in F, then consistency follows by essentially the same argument as in the regression case.</p><p>Theorem 2. (Classification) Consider the minimizer of the standard population 0-1 loss, f c = argmin f E[ (f (x),y)] where (f (x), y) = 1{argmax j f (x) j = y}. Assuming (8) holds, we have that for any f ,</p><p>such that f c is also optimal for the robust population 0-1 loss.</p><p>Proof. Replacing f with f c and (f (x), y) with the zero-one loss 1{argmax j f (x) j = y} in the proof of Theorem 1 gives the result.</p><p>In our staircase problem, from (1), we assume that the target y is generated as follows: y = f (x)+&#963;v i where v i i.i.d.</p><p>&#8764; N (0,1), we see that the points within an invariance sets B(x) have the same target distribution (target distribution invariance).</p><p>for all x &#8712; X .</p><p>The target invariance condition above implies consistency in both the regression and classification case.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Convex staircase example B.1. Data distribution</head><p>Distribution of X . We focus on a 1-dimensional regression case. Let s be the total number of "stairs" in the staircase problem. Let s 0 &#8804; s be the number of stairs that have a large weight in the data distribution. Define &#948; &#8712; [0,1] to be the probability of sampling a perturbation point, i.e. x &#8712; X c line , which we will choose to be close to zero. The size of the perturbations is &#8712; [0, 1  2 ), which is bounded by 1 2 so that x&#177; = x, for any x &#8712; X line . The standard deviation of the noise in the targets is &#963; &gt; 0. Finally, m &#8712; [0,1] is a parameter controlling the slope of the points in X line .</p><p>Let w &#8712; &#8710; s be a distribution over X line where &#8710; s is the probability simplex of dimension s. We define the data distribution with the following generative process for one sample x. First, sample a point i from X line according to the categorical distribution described by w, such that i &#8764; Categorical(w). Second, sample x by perturbing i with probability &#948; such that</p><p>Note that this is just a formalization of the distribution described in Section 2. The sampled x is in X line with probability 1 -&#948; and X c line with probability &#948;, where we choose &#948; to be small. In addition, in order to exaggerate the difference between robust and standard estimators for small sample sizes, we set w such that the first s 0 stairs have the majority of probability mass. To achieve this, we set the unnormalized probabilities of w as &#373;j = 1/s 0 j &lt; s 0 0.01 j &#8805; s 0 and define w by normalizing w = &#373;/ j &#373;j . For our examples, we fix s 0 = 5. In general, even though we can increase s to create versions of our example with more stairs, s 0 is fixed to highlight the bad extrapolation behavior of the robust estimator.</p><p>Distribution of Y. We define the target distribution as</p><p>, where x rounds x to the nearest integer. The invariance sets are B(x) = { x -, x , x + }. We define the distribution such that for any x, all points in B(x) have the same mean target value m x . See Figure <ref type="figure">1</ref> for an illustration. Note that B(x) is defined such that ((9)) holds, since for any x 1 ,x 2 &#8712; B(x), x 1 = x 2 and thus p(y | x 1 ) = p(y | x 2 ).</p><p>The conditional distributions are defined since p(x) &gt; 0 for any x &#8712; B(x).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B.2. Model</head><p>Our hypothesis class is the family of cubic B-splines as defined in <ref type="bibr">[3]</ref>. Cubic B-splines are piecewise cubic functions, where the endpoints of each cubic function are called the knots. In our example, we fix the knots to be &#964; = [-,0, ,...,(s-1)-,s-1,(s-1)+ ], which places a knot on every point on the support of X . This ensures that the family is expressive enough to include f , which is any function in F which satisfies f (x) = m x for all x in X . Cubic B-splines can be viewed as a kernel method with kernel feature map &#934; : X &#8594; R 3s+2 , where s is the number of stairs in the example.</p><p>For some regularization parameter &#955; &#8805; 0 we optimize with the penalized smoothing spline loss function over parameters &#952;,</p><p>where &#8486; i,j = &#934; (t) i &#934; (t) j dt measures smoothness in terms of the second derivative.With respect to the regularized objectives ( <ref type="formula">2</ref>) and ( <ref type="formula">3</ref>), the norm regularizer is f 2 = &#952; T &#8486;&#952;.</p><p>We implement the optimization of the standard and robust objectives using the basis described in <ref type="bibr">[3]</ref>. The regularization penalty matrix &#8486; computes second-order finite differences of the parameters &#952;. Suppose we have n samples of training inputs X = {x 1 ,...,x n } and targets y = {y 1 ,...,y n } drawn from P . The standard spline objective solves the linear system &#952;std = (&#934;(X) T &#934;(X)+&#955;&#8486;) -1 &#934;(X) T y,</p><p>The standard estimator is then f std n (x) = &#934;(x) T &#952;std . We solve the robust objective directly as a pointwise maximum of squared losses over the invariance sets (which is still convex) using CVXPY <ref type="bibr">[2]</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B.3. Role of different parameters</head><p>To construct an example where robustness hurts generalization, the main parameters needed are that the slope m is large and that the probability &#948; of drawing samples from perturbation points X c line is small. When slope m is large, the complexity of the true function increases such that good generalization requires more samples. A small &#948; ensures that a low-norm linear solution has low test error. This example is insensitive to whether there is label noise, meaning that &#963; = 0 is sufficient to observe that robustness hurts generalization.</p><p>If m &#8776; 0, then the complexity of the true function is low and we observe that robustness helps generalization. In contrast, this example relies on the fact that there is label noise (&#963; &gt; 0) so that the noise-cancelling effect of robust training improves generalization. In the absence of noise, robustness neither hurts nor helps generalization since both the robust and standard estimators converge to the true function (f * (x) = 0) with only one sample.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B.4. Plots of other values</head><p>We show plots for a variety of quantities against number of samples n. For each n, we pick the best regularization parameter &#955; with respect to standard test MSE individually for robust and standard training. in the m = 1 (robustness hurts) and m = 0 (robustness helps) cases, with all the same parameters as before. In both cases, the test MSE and generalization gap (difference between training MSE and test MSE) are almost identical due to robust and standard training having similar training errors. In the m = 1 case where robustness hurts (Figure <ref type="figure">6</ref>), robust training finds higher norm estimators for all sample sizes. With enough samples, standard training begins to increase the norm of its solution as it starts to converge to the true function (which is complex) and the robust train MSE starts to drop accordingly. In the m = 0 case where robustness helps (Figure <ref type="figure">7</ref>), the optimal predictor is the line f (x) = 0, which has 0 norm. The robust estimator has consistently low norm. With small sample size, the standard estimator has low norm but has high test MSE. This happens when the standard estimator is close to linear (has low norm), but the estimator has the wrong slope, causing high test MSE. However, in the infinite data limit, both standard and robust estimators converge to the optimal solution.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. Robust self-training algorithm</head><p>We describe the robust self-training procedure, which performs robust training on a dataset augmented with unlabeled data. The targets for the unlabeled data are generated from a standard estimator trained on the labeled training data. Since the standard estimator has good standard generalization, the generated targets for the unlabeled data have low error on expectation. Robust training on the augmented dataset seeks to improve both the standard and robust test error of robust training (over just the labeled training data). Intuitively, robust self-training achieves these gains by mimicking the standard estimator on more of the data distribution (by using unlabeled data) while also optimizing the robust objective.</p><p>In robust self-training, we are given n samples of training inputs X = {x 1 ,...,x n } and targets y = {y 1 ,...,y n } drawn from P . Suppose that we have additional m unlabeled samples X u drawn from P x . Robust self-training uses the following steps for a given regularization &#955;:</p><p>1. Compute the standard estimator f std n (2) on the labeled data (X, y) with regularization parameter &#955;.</p><p>2. Generate pseudo-targets y u = f std n (X u ) by evaluating the standard estimator obtained above on the unlabeled data X u . 3. Construct an augmented dataset X aug = X &#8746; X u , y aug = y &#8746; y u .</p><p>4. Return a robust estimator f rob n (3) with the augmented dataset (X aug , y aug ) as training data.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C.1. Results on CIFAR-10</head><p>We present relevant results from the recent work of <ref type="bibr">[1]</ref> on robust self-training applied on CIFAR-10 augmented with unlabeled data in Table <ref type="table">2</ref>. The procedure employed in <ref type="bibr">[1]</ref> is identical to the procedure describe above, using a modified version of adversarial training (TRADES) <ref type="bibr">[19]</ref> as the robust estimator.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C.2. Robust self-training doesn't sacrifice robustness</head><p>In Section 2.4, we show that if we have access to additional unlabeled samples from the data distribution, robust self-training (RST) can mitigate the tradeoff in standard error between robust and standard estimators. It is important that we do not sacrifice robustness in order to have better standard error. Figure <ref type="figure">5</ref> shows that in the case where robustness hurts generalization in our convex construction (m = 1   <ref type="bibr">[6]</ref>. The models are trained for 200 epochs using minibatched gradient descent with momentum, such that 100% standard training accuracy is achieved for both standard and adversarial models in all cases and &gt; 98% adversarial training accuracy is achieved by adversarially trained models in most cases. We did not include reuslts for subsampling factors greater than 50, since the test accuracies are very low (20-50%). However, we note that for very small sample sizes (subsampling factor 500), the robust estimator can have slightly better test accuracy than the standard estimator. While this behavior is not captured by our example, we focus on capturing the observation that standard and robust test errors converge with more samples.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D.2. MNIST</head><p>The MNIST dataset consists of 60000 labeled examples of digits. We sub-sample the dataset by factors of {1, 2, 5, 8, 10, 20, 40, 50, 80, 200, 500} and report results for a small 3-layer CNN averaged over 2 trials for each sub-sample factor. All models are trained for 200 epochs and achieve 100% standard training accuracy in all cases. The adversarial models achieve &gt; 99% adversarial training accuracy in all cases. We train the adversarial models under the &#8734; attack model with PGD adversarial training and = 0.3. For computing the max in each training step, we use 40 steps of PGD, with step size 0.01 (the parameters used in <ref type="bibr">[6]</ref>). We use the Adam optimizer. The final robust test accuracy when training with the full training set was 91%.</p><p>Initialization and trade-off for MNIST . We note here that the tradeoff for adversarial training reported in <ref type="bibr">[14]</ref> is because the adversarially trained model hasn't converged (even after a large number of epochs). Using the Xavier initialization, we get faster convergence with adversarial training and see no drop in clean accuracy at the same level of robust accuracy. Interestingly, standard training is not affected by initialization, while adversarial training is dramatically affected.   </p></div></body>
		</text>
</TEI>
