1 00:00:00,000 --> 00:00:20,300 Hello everyone, I'm Tianyu Peng from Tsinghua University and here I will first introduce our teams and here is the list of our team members and we get our first introduced some work of our team. 2 00:00:20,300 --> 00:00:29,320 We get three first places in all the three tracks in last year's NIPS competition and NIPS is a top conference of machine learning. 3 00:00:30,260 --> 00:00:37,920 We have published three papers about a virtual example on top conference of machine learning and computer vision. 4 00:00:38,460 --> 00:00:45,420 Besides, we also have a paper and a review of NIPS this year and all the three initial review scores are accepted. 5 00:00:45,900 --> 00:00:48,160 Here is a list of our publication. 6 00:00:48,580 --> 00:00:50,280 And today I will introduce... 7 00:00:50,300 --> 00:00:51,480 ...these two works. 8 00:00:53,420 --> 00:00:57,440 And the first work is boosting a virtual attack with momentum. 9 00:00:57,800 --> 00:01:02,040 This is a tagging method we used in last year on NIPS competition. 10 00:01:02,880 --> 00:01:12,240 Virtual examples are maliciously generated examples to form a machine learning model, but they are very similar to the original examples. 11 00:01:13,120 --> 00:01:19,620 I will briefly introduce some previous attack methods and later introduce their advantages and disadvantages. 12 00:01:20,300 --> 00:01:26,160 Finding a non-targeted virtual example can be thought as an optimization problem. 13 00:01:26,580 --> 00:01:34,180 We want to maximize the loose function of a virtual example, which is truly subject to the required maximum distance between them. 14 00:01:34,500 --> 00:01:41,980 The most famous one proposed by Goodfellow is the Facts-Gradient-San method, which applies to FGSM. 15 00:01:42,400 --> 00:01:50,000 It calculates the gradient of the loose function with respect to the input and applies the sine of the gradient to the input. 16 00:01:50,300 --> 00:01:58,480 The iterative variants of FGSM apply the same of the gradient multiple times. 17 00:01:58,840 --> 00:02:06,860 Optimization-based method directly optimize the distance between the virtual examples and the original examples minus the loads. 18 00:02:11,720 --> 00:02:27,340 Virtual examples have demonstrated good transferability across models, and that is the virtual example generated for one model can also for another model. 19 00:02:27,580 --> 00:02:36,660 The transferability of virtual examples in ample black box attacks, which may cause real security issues in real-world applications. 20 00:02:36,860 --> 00:02:43,480 Also, virtual examples have cross-data transferability, which is a universal virtual perturbation. 21 00:02:45,340 --> 00:02:50,120 However, there are some limitations of practical black box attacks. 22 00:02:50,480 --> 00:02:58,660 We found that existing attack methods cannot attack a black box efficiently. 23 00:02:58,860 --> 00:03:03,880 For FGSM, it is a fast and generous virtual example with good transferability, 24 00:03:04,040 --> 00:03:06,840 but the linearity assumption makes no sense. 25 00:03:06,860 --> 00:03:13,260 It may not hold for large distortion, and so it lacks the efficiency to attack a white box model. 26 00:03:13,560 --> 00:03:20,680 Thus, the success rate of black box attack is low, and iterative method has low transferability, 27 00:03:20,840 --> 00:03:27,380 because it gradually moves the virtual examples to the gradient direction to maximize the loose function, 28 00:03:27,640 --> 00:03:30,540 which may overfit to the model's decision boundary. 29 00:03:30,860 --> 00:03:36,840 So the trade-off between transferability and attack ability makes black box attacks less effective. 30 00:03:36,840 --> 00:03:40,920 Here we have an experiment. 31 00:03:41,100 --> 00:03:44,080 We attack inception with three with different numbers of iteration. 32 00:03:44,620 --> 00:03:51,840 We measure the success rate of white box inception with three, black box inception with four with two, and resnet 152. 33 00:03:53,160 --> 00:04:00,020 We know that the success rate decreases when increasing the number of iterations for black box attacks. 34 00:04:01,640 --> 00:04:06,820 Another way to attack a block-based model is to build a substitute network to develop a new model. 35 00:04:06,820 --> 00:04:09,400 to characterize the behaviors of the black box model. 36 00:04:10,240 --> 00:04:13,620 But this method requires full prediction confidence 37 00:04:13,620 --> 00:04:15,560 and tremendous recoveries. 38 00:04:15,640 --> 00:04:18,840 It is hard to deploy for models trained 39 00:04:18,840 --> 00:04:20,420 on large-scale data sites. 40 00:04:20,700 --> 00:04:23,100 And we can now use this method in the computation 41 00:04:23,100 --> 00:04:25,980 because we are not allowed to query the defense submissions. 42 00:04:26,460 --> 00:04:29,500 So our solution is to elevate the trade-off 43 00:04:29,500 --> 00:04:31,320 between the transferability and the attackability. 44 00:04:34,540 --> 00:04:37,380 Recall that finding a virtual example 45 00:04:37,380 --> 00:04:40,920 can be regarded as a constraint optimization problem. 46 00:04:41,260 --> 00:04:44,600 So we can apply some useful techniques in optimization 47 00:04:44,600 --> 00:04:46,040 to the virtual setting. 48 00:04:46,760 --> 00:04:48,860 Momentum methods are well-adapted 49 00:04:48,860 --> 00:04:52,840 to accelerate gradient descent and help 50 00:04:52,840 --> 00:04:55,180 to escape from poor local optima. 51 00:04:55,540 --> 00:04:59,240 In SGD, it also helps to stabilize update direction. 52 00:04:59,560 --> 00:05:00,800 So we add the momentum. 53 00:05:06,860 --> 00:05:10,240 And we propose a momentum iterative fast gradient 54 00:05:10,240 --> 00:05:10,700 sum method. 55 00:05:10,900 --> 00:05:12,800 This algorithm is very simple. 56 00:05:12,980 --> 00:05:15,420 We also calculate the gradient of the loose function 57 00:05:15,420 --> 00:05:19,060 with respect to the input in each iteration. 58 00:05:19,400 --> 00:05:22,160 By way, it calculates our Wechsler GT 59 00:05:22,160 --> 00:05:24,800 in the gradient direction across iterations. 60 00:05:25,280 --> 00:05:28,340 In each iteration, we apply the sign of the Wechsler 61 00:05:28,740 --> 00:05:30,140 to the virtual examples. 62 00:05:30,140 --> 00:05:33,140 We use the decay factor to control how much we 63 00:05:33,140 --> 00:05:36,340 trust the private gradient and the current gradients 64 00:05:36,340 --> 00:05:40,380 normalized to the L1 norm, because we noticed 65 00:05:40,380 --> 00:05:43,140 that the scale of the gradient in different iterations 66 00:05:43,140 --> 00:05:44,160 vary in magnitude. 67 00:05:46,340 --> 00:05:47,680 Here are some results. 68 00:05:48,540 --> 00:05:51,860 We are taking separate three, just a lot of models. 69 00:05:52,440 --> 00:05:57,740 And the success rate on the MI FGSM, which is our method, 70 00:05:57,920 --> 00:06:00,120 can take a wide-bots model with near 100% success rate. 71 00:06:01,500 --> 00:06:03,200 That's like FGSM. 72 00:06:03,340 --> 00:06:07,520 But it puts a black-bots model with much higher success rate. 73 00:06:09,580 --> 00:06:13,060 We also study the effects of the number of iterations 74 00:06:13,060 --> 00:06:14,320 on black-bots attacks. 75 00:06:14,640 --> 00:06:19,320 We also attack Inception V3 and measure the success rate 76 00:06:19,320 --> 00:06:20,840 on several black-bots models. 77 00:06:21,260 --> 00:06:24,300 We can see that the success rates for attacking 78 00:06:24,300 --> 00:06:26,100 a black-bots model does not decrease. 79 00:06:26,720 --> 00:06:28,700 It will increase in the number of iterations. 80 00:06:28,700 --> 00:06:31,100 So our method can, in some sense, 81 00:06:31,140 --> 00:06:32,980 alleviate the trade-off between the attackability 82 00:06:32,980 --> 00:06:33,880 and transferability. 83 00:06:35,600 --> 00:06:40,340 And another thing that is crucial for obtaining good results 84 00:06:40,340 --> 00:06:41,980 is to attack an ensemble of models. 85 00:06:42,340 --> 00:06:47,180 The main assumption is that if an adversarial example remains 86 00:06:47,180 --> 00:06:49,420 adversarial for multiple models, it 87 00:06:49,420 --> 00:06:51,560 is more likely to be misclassified 88 00:06:51,560 --> 00:06:52,780 by other black-bots models. 89 00:06:53,220 --> 00:06:56,800 We propose to attack an ensemble of models whose logits are 90 00:06:56,800 --> 00:06:57,600 fused together. 91 00:06:57,600 --> 00:07:01,840 We also compare the results of other ensemble methods, 92 00:07:02,080 --> 00:07:04,940 such as attacking an ensemble of models whose predictions 93 00:07:04,940 --> 00:07:09,440 or loops are fused, which show the results of attacking 94 00:07:09,440 --> 00:07:10,280 ensemble models. 95 00:07:10,840 --> 00:07:15,360 Ensemble logits consistently outperform the ensemble 96 00:07:15,360 --> 00:07:17,420 in predictions and ensemble in loops. 97 00:07:17,660 --> 00:07:22,660 And by applying the momentum iterative fast gradients 98 00:07:24,400 --> 00:07:27,580 FGSM to ensemble models, we get very good results. 99 00:07:27,600 --> 00:07:27,740 For example, by attacking an ensemble of models 100 00:07:27,740 --> 00:07:29,720 with a very high success rate for black-bots attacks, 101 00:07:30,000 --> 00:07:37,420 for example, by attacking an ensemble of models with a very 102 00:07:37,420 --> 00:07:44,320 high success rate. 103 00:07:45,720 --> 00:07:48,440 Now I just finished the first work. 104 00:07:48,720 --> 00:07:54,400 And this work is a drawing work with Chao Du, him. 105 00:07:54,860 --> 00:07:55,500 That's him. 106 00:07:55,640 --> 00:07:56,760 And a professional. 107 00:07:57,020 --> 00:07:57,580 Professional. 108 00:07:57,600 --> 00:07:58,420 Professor Zhu Junzhu. 109 00:07:58,920 --> 00:08:01,860 And in our work, we propose a new network architecture, 110 00:08:02,580 --> 00:08:04,360 which can return robust predictions 111 00:08:04,360 --> 00:08:05,600 in the works of sighting. 112 00:08:05,720 --> 00:08:09,280 We named the new network as Max-Mahalanobase Linear 113 00:08:09,280 --> 00:08:11,740 Discriminant Analysis Networks, and which are 114 00:08:11,740 --> 00:08:13,480 privy to MLDA networks. 115 00:08:13,700 --> 00:08:19,100 And this work just published at ML, yeah. 116 00:08:21,000 --> 00:08:23,220 First, it's about our motivation. 117 00:08:24,520 --> 00:08:27,340 Our motivation, one, is that almost 118 00:08:27,600 --> 00:08:30,520 all popular networks suffer from aversive attacks, 119 00:08:30,740 --> 00:08:33,520 where human imperceptible perturbation can mislead 120 00:08:33,520 --> 00:08:34,760 these high-accuracy networks. 121 00:08:36,280 --> 00:08:39,080 And about our second motivation, note 122 00:08:39,080 --> 00:08:41,220 that our typical faithful world deep night 123 00:08:41,220 --> 00:08:43,780 consists of a nonlinear transformation part that 124 00:08:43,780 --> 00:08:45,500 maps the input to the hidden feature, 125 00:08:45,720 --> 00:08:49,220 and a linear classifier part acting on the hidden feature 126 00:08:49,220 --> 00:08:50,540 to gather output. 127 00:08:52,280 --> 00:08:56,060 However, most of the work focus on designing power 128 00:08:56,060 --> 00:08:57,120 for nonlinear transformation. 129 00:08:59,800 --> 00:09:00,920 And this is the reason why we chose the linear classifier 130 00:09:00,920 --> 00:09:03,060 And by contrast, the linear classifier part 131 00:09:03,060 --> 00:09:05,640 is under-explored, by which you already 132 00:09:05,640 --> 00:09:07,020 by default your sub-max regression. 133 00:09:09,680 --> 00:09:12,760 Therefore, our goal is to design a new network architecture 134 00:09:12,760 --> 00:09:15,460 for better performance in the words of sighting. 135 00:09:17,620 --> 00:09:21,660 To achieve this, we decided to substitute a new linear 136 00:09:21,660 --> 00:09:23,480 classifier part for sub-max regression. 137 00:09:25,820 --> 00:09:27,580 And by our method, it comes from two methods. 138 00:09:27,600 --> 00:09:33,420 The first inspiration comes from Efron et al. 139 00:09:33,540 --> 00:09:36,280 They show that if the input is distributed 140 00:09:36,280 --> 00:09:40,040 as a mixture of Gaussian, the linear discriminant analysis, 141 00:09:40,260 --> 00:09:44,700 which is a bias to LDA, is more efficient than logistic 142 00:09:44,700 --> 00:09:45,100 regression. 143 00:09:47,500 --> 00:09:51,260 More efficient means that LDA needs less training data 144 00:09:51,260 --> 00:09:53,780 than LR to obtain certain error rates. 145 00:09:55,300 --> 00:09:57,580 However, in practice, LDA needs less training data than LR. 146 00:09:57,600 --> 00:10:02,420 Therefore, data points are hardly distributed as a mixture of Gaussian in the input space. 147 00:10:04,640 --> 00:10:09,380 To solve this, we get inspiration, too, from the fact that neural networks are powerful. 148 00:10:10,500 --> 00:10:15,800 Parallel's work on deep generative models has demonstrated that a deep net can learn 149 00:10:15,800 --> 00:10:20,940 to transform a simple distribution, for example, a mixture of Gaussian or a desktop Gaussian, 150 00:10:21,080 --> 00:10:23,080 to a complex data distribution. 151 00:10:23,980 --> 00:10:27,220 So we think the reverse direction should also be feasible. 152 00:10:27,600 --> 00:10:31,900 And this is actually what our method does in its nonlinear transformation part. 153 00:10:34,040 --> 00:10:39,040 Based on above analysis, in our method, we modeled the feature distribution as a mixture 154 00:10:39,040 --> 00:10:44,800 of Gaussian and then applied LDA on the feature to make predictions. 155 00:10:47,540 --> 00:10:51,280 Now, a naturally-risk question is how to trace the Gaussian parameters. 156 00:10:52,700 --> 00:10:57,000 One et al. also modeled the feature distribution 157 00:10:57,600 --> 00:10:58,140 as a mixture of Gaussian. 158 00:10:58,320 --> 00:11:02,940 However, they trace the Gaussian parameters as extra-trainable variables. 159 00:11:04,240 --> 00:11:10,660 By contrast, we trace them as hyperparameters calculated by our algorithm, which can provide 160 00:11:10,660 --> 00:11:12,600 theoretical guarantee on the robustness. 161 00:11:14,980 --> 00:11:19,880 And the induced mixture of Gaussian model is named Max-Major-Lenovitz distribution 162 00:11:19,880 --> 00:11:21,260 abbreviated to MMD. 163 00:11:24,400 --> 00:11:27,580 Intuitively, MMD makes the minimum distribution. 164 00:11:31,120 --> 00:11:40,200 For example, samples in different classes are separated the most when the distribution 165 00:11:40,200 --> 00:11:40,980 is MMD. 166 00:11:41,920 --> 00:11:49,180 When there are three classes, the Gaussian means of MMD are the three vertexes of the 167 00:11:49,180 --> 00:11:50,880 equilateral triangle. 168 00:11:52,280 --> 00:11:55,380 And how does MMD relate to robustness? 169 00:11:55,600 --> 00:11:57,560 Here, we first give the definition of robustness. 170 00:11:57,580 --> 00:12:04,440 The robustness on a point with the label i is defined as the local minimum distance of 171 00:12:04,440 --> 00:12:07,120 it to an original example with different label. 172 00:12:08,980 --> 00:12:14,360 And we further define the robustness of the classifier as minimum expected local distance. 173 00:12:17,460 --> 00:12:22,240 Then we get the relation between the expected local distance and the Gaussian parameters. 174 00:12:23,140 --> 00:12:27,560 Here, delta ij is the Major-Lenovitz distance between two Gaussian parameters. 175 00:12:27,560 --> 00:12:30,420 And it's the same with the Gaussian components of label i and j in the mixture of Gaussian. 176 00:12:32,100 --> 00:12:37,180 And further we find that the robustness can be approximately represented in the simple 177 00:12:37,180 --> 00:12:37,640 form. 178 00:12:39,200 --> 00:12:46,160 And recall the property of MMD, we can conclude that if the feature input distributes as MMD, 179 00:12:46,320 --> 00:12:49,060 then the approximate robustness is maximized. 180 00:12:51,720 --> 00:12:53,880 Finally, it's our experiment results. 181 00:12:55,400 --> 00:12:57,540 We first test our method on the non-progressive and non-progressive models. 182 00:12:57,540 --> 00:13:00,440 on normal examples, our method achieves comparable 183 00:13:00,440 --> 00:13:02,300 performance with typical networks. 184 00:13:02,800 --> 00:13:05,560 Now that here we denote specially Fenton-Annie training 185 00:13:05,560 --> 00:13:07,440 hyperparameter for our method. 186 00:13:09,370 --> 00:13:12,180 Here we show the PSNE visualization on the test side 187 00:13:12,180 --> 00:13:12,880 of CIFAR-10. 188 00:13:13,100 --> 00:13:15,840 We can find that our method results in, 189 00:13:16,710 --> 00:13:21,220 it's more orderly distributed in the feature space. 190 00:13:23,420 --> 00:13:26,960 Here we show the accuracy and authority of the text. 191 00:13:27,400 --> 00:13:30,800 We test the three different values of perturbation 192 00:13:31,340 --> 00:13:35,000 and the results shows that our method can largely 193 00:13:35,000 --> 00:13:37,640 improve accuracy compared to a virtual training 194 00:13:37,640 --> 00:13:42,660 baseline even with much less computational cost. 195 00:13:44,800 --> 00:13:48,560 We also test the optimization-based CNW tag. 196 00:13:48,780 --> 00:13:51,200 The results show that the CNW tag 197 00:13:51,200 --> 00:13:53,100 has to add much larger perturbation 198 00:13:53,100 --> 00:13:54,980 to successfully attack our method. 199 00:13:59,380 --> 00:14:01,940 Here the first row is a normal example. 200 00:14:02,620 --> 00:14:04,980 And the second row is all virtual noises 201 00:14:04,980 --> 00:14:07,780 crafted on the traditional SR networks. 202 00:14:08,040 --> 00:14:10,180 SR networks means sub-mass regression networks. 203 00:14:10,600 --> 00:14:14,720 And the third row is the noises crafted on our method. 204 00:14:15,060 --> 00:14:17,860 We can find that our method can learn more robust features 205 00:14:18,260 --> 00:14:20,340 such as the optimal attacking strategy, 206 00:14:20,340 --> 00:14:24,140 that the CNW method fans is to weaken the pixels 207 00:14:24,140 --> 00:14:26,040 of the normal examples as a whole, 208 00:14:26,580 --> 00:14:29,700 rather than adding many less noises as for SR networks. 209 00:14:31,960 --> 00:14:35,160 And besides, our method can have better performance 210 00:14:35,160 --> 00:14:36,800 on classified data sites, 211 00:14:36,920 --> 00:14:39,760 which may be helpful in other areas like Fahrenheit. 212 00:14:41,260 --> 00:14:43,320 And finally, in conclusion, 213 00:14:43,720 --> 00:14:47,100 our method doesn't introduce extra computational cost. 214 00:14:47,940 --> 00:14:50,320 It can largely improve robustness 215 00:14:50,320 --> 00:14:53,320 with no rules of accuracy on normal examples. 216 00:14:53,980 --> 00:14:56,640 And our method is quite easy to implement 217 00:14:56,640 --> 00:14:58,320 with only a few lengths of code. 218 00:15:00,380 --> 00:15:02,880 And finally, it is compatible 219 00:15:02,880 --> 00:15:04,540 with nearly all popular networks. 220 00:15:06,370 --> 00:15:06,820 Thank you. 221 00:15:12,680 --> 00:15:13,900 So, any question? 222 00:15:17,540 --> 00:15:18,220 Okay. 223 00:15:18,380 --> 00:15:20,640 So, I might have missed this, 224 00:15:20,840 --> 00:15:24,800 but what is the Mahalanobis distance? 225 00:15:25,200 --> 00:15:28,420 Yeah, you know Gaussian distribution, right? 226 00:15:28,680 --> 00:15:32,280 It has a power term. 227 00:15:33,380 --> 00:15:36,920 And it has a covariance matrix, and it has a min. 228 00:15:37,480 --> 00:15:41,420 So the Mahalanobis distance, actually you can wiki it. 229 00:15:41,900 --> 00:15:43,940 It has a wikipedia. 230 00:15:44,380 --> 00:15:45,960 And it's, 231 00:15:47,100 --> 00:15:49,020 it does some kind of distance. 232 00:15:50,140 --> 00:15:51,880 That's like, all the distance, 233 00:15:52,940 --> 00:15:54,540 something like that. 234 00:15:55,400 --> 00:15:56,660 It's to measure the, 235 00:15:56,660 --> 00:16:00,040 some similarity of two Gaussian distributions. 236 00:16:01,040 --> 00:16:02,380 It's just a transfer, 237 00:16:02,420 --> 00:16:05,860 transfer and review is a medium distance. 238 00:16:06,140 --> 00:16:09,300 You can rotate and scale the, 239 00:16:09,320 --> 00:16:12,700 the expression of the medium and the distance. 240 00:16:12,780 --> 00:16:13,280 Okay. 241 00:16:13,520 --> 00:16:13,700 All right. 242 00:16:13,880 --> 00:16:15,720 All right. 243 00:16:17,080 --> 00:16:17,640 Any other questions? 244 00:16:20,320 --> 00:16:20,800 Yes. 245 00:16:21,040 --> 00:16:22,040 During the CTF, 246 00:16:22,160 --> 00:16:25,780 are you using the same concept with the MMA or? 247 00:16:25,920 --> 00:16:26,400 No, no, no. 248 00:16:26,980 --> 00:16:28,860 Actually, we want to use this, 249 00:16:29,560 --> 00:16:31,780 but maybe this is still a secret, 250 00:16:31,860 --> 00:16:34,340 because we need to attend another computer, 251 00:16:34,540 --> 00:16:36,000 but we can say something about it. 252 00:16:36,240 --> 00:16:38,740 Well, it's not very scalable. 253 00:16:40,100 --> 00:16:42,660 I mean, if you want to scale it 254 00:16:42,660 --> 00:16:45,180 to a very large data set like ImageNet, 255 00:16:45,360 --> 00:16:46,620 you need to, 256 00:16:46,620 --> 00:16:48,580 you need a lot of tricks on 257 00:16:48,580 --> 00:16:51,700 fine-tuning training parameters, 258 00:16:51,940 --> 00:16:52,620 hyperparameters, 259 00:16:52,740 --> 00:16:55,260 like learning rates or weight decays. 260 00:16:55,820 --> 00:16:57,860 But we are not very good at it. 261 00:16:58,300 --> 00:16:58,780 Yeah. 262 00:16:59,380 --> 00:16:59,900 Yeah. 263 00:16:59,980 --> 00:17:04,220 So, we only test them on some small test data set 264 00:17:04,220 --> 00:17:05,660 or middle data set, 265 00:17:05,740 --> 00:17:07,180 like CFR-10 or MNIST, 266 00:17:07,260 --> 00:17:11,060 because we do not need to fine-tune any hyperparameters 267 00:17:11,740 --> 00:17:12,800 for our method. 268 00:17:12,980 --> 00:17:13,400 It can, 269 00:17:13,480 --> 00:17:16,300 it can get state-of-the-art performance. 270 00:17:16,300 --> 00:17:17,140 Okay. 271 00:17:17,360 --> 00:17:17,840 Yes. 272 00:17:18,140 --> 00:17:18,820 Got you. 273 00:17:18,880 --> 00:17:19,180 Got you. 274 00:17:19,560 --> 00:17:20,040 Okay. 275 00:17:21,380 --> 00:17:21,860 Okay. 276 00:17:21,860 --> 00:17:21,880 Okay. 277 00:17:21,880 --> 00:17:23,580 So, any other question? 278 00:17:23,940 --> 00:17:24,420 Thank you. 279 00:17:24,420 --> 00:17:24,640 Okay. 280 00:17:24,720 --> 00:17:25,160 Thank you.