1 00:00:00,000 --> 00:00:08,820 Hello everyone, I'm Tian Yunpeng from Tsinghua University, and here I will first introduce our teams. 2 00:00:08,820 --> 00:00:11,820 And here is the list of our team members. 3 00:00:15,100 --> 00:00:20,860 And I will first introduce some work of our team. 4 00:00:20,860 --> 00:00:26,500 We get three first places in all the three tracks in last year's NIPS competition. 5 00:00:27,000 --> 00:00:29,560 And NIPS is a top conference of machine learning. 6 00:00:30,320 --> 00:00:38,660 We have published three papers about virtual examples on top conference of machine learning and computer vision. 7 00:00:38,660 --> 00:00:42,480 Besides, we also have a paper and a review of NIPS this year. 8 00:00:42,500 --> 00:00:46,180 And all those three initial review scores are accepted. 9 00:00:46,220 --> 00:00:48,920 Here is a list of our publications. 10 00:00:49,160 --> 00:00:52,140 And today I will introduce these two works. 11 00:00:53,340 --> 00:00:58,140 And the first work is boosting virtual attacks with momentum. 12 00:00:58,140 --> 00:01:03,140 This is an attacking method we used in last year's NIPS competition. 13 00:01:03,380 --> 00:01:13,300 Virtual examples are maliciously generated examples to fool a machine learning model, but they are very similar to the original examples. 14 00:01:13,560 --> 00:01:20,560 I will briefly introduce some previous attack methods and later introduce their advantages and disadvantages. 15 00:01:20,680 --> 00:01:26,840 Finding a non-target virtual example can be thought as an optimization problem. 16 00:01:26,920 --> 00:01:34,740 We want to maximize the loose function of our virtual example with its true label, subject to the required maximum distance between them. 17 00:01:34,740 --> 00:01:42,640 And the most famous one proposed by Good Fellow is the first gradient sum method, which refers to FGSM. 18 00:01:42,760 --> 00:01:50,740 And it calculates the gradient of the loose function with respect to the input and applies the sign of the gradient to the input. 19 00:01:50,740 --> 00:01:59,160 Iterative variants of FGSM apply the sign of the gradient multiple times. 20 00:01:59,160 --> 00:02:07,700 Optimization-based methods directly optimize the distance between virtual examples and the original examples minus the loose. 21 00:02:12,140 --> 00:02:27,940 Virtual examples have demonstrated good transferability across models, and that is the virtual example generated for one model can also fool another model. 22 00:02:27,940 --> 00:02:37,340 The transferability of our virtual examples enable black box attacks, which may cause real security issues in real applications. 23 00:02:37,340 --> 00:02:44,920 Also, virtual examples have cross-data transferability, which is a universal perturbation. 24 00:02:45,100 --> 00:02:50,920 However, there are some limitations of practical black box attacks. 25 00:02:50,920 --> 00:02:59,200 We found that existing attack methods cannot attack a black box efficiently. 26 00:02:59,200 --> 00:03:14,100 For FGSM, it is fast and generous as a virtual example with good transferability, but the linearity assumption may now hold for large distortion, and so it lacks the efficiency to attack a white box model. 27 00:03:14,100 --> 00:03:31,220 Thus, the success rate of black box attacks is low, and iterative methods have low transferability because they gradually move the virtual examples to the gradient direction to maximize the loose function, which may overfit to the model's decision boundary. 28 00:03:31,220 --> 00:03:39,080 So the tradeoff between transferability and attack ability makes black box attacks less effective. 29 00:03:39,440 --> 00:03:41,280 Here we have an experiment. 30 00:03:41,280 --> 00:03:44,920 We attack inception with 3 with different numbers of iterations. 31 00:03:44,920 --> 00:03:53,600 We measure the success rate of white box inception with 3, black box inception with 4, with 2, and with 9, 152. 32 00:03:53,600 --> 00:04:01,000 We know that success rate decreases when increasing the number of iterations for black box attacks. 33 00:04:01,660 --> 00:04:10,260 Another way to attack a block-based model is to build a substitute network to characterize the behaviors of the black box model. 34 00:04:10,420 --> 00:04:15,920 But this method requires full prediction confidence and tremendous recovery. 35 00:04:15,920 --> 00:04:26,880 It is hard to deploy for models trained on large-scale data sites, and we cannot use this method in the competition because we are not allowed to query the defense submissions. 36 00:04:26,900 --> 00:04:32,100 So our solution is to elevate the tradeoff between transferability and attackability. 37 00:04:34,860 --> 00:04:41,280 Recall that finding a virtual example can be regarded as a constraint optimization problem. 38 00:04:41,280 --> 00:04:46,980 So we can apply some useful techniques in optimization to the virtual setting. 39 00:04:46,980 --> 00:04:55,920 Momentum method is well adapted to accelerate gradient descent and help to escape from poor local optima. 40 00:04:55,920 --> 00:04:59,840 In SGD, it also helps to stabilize update direction. 41 00:04:59,840 --> 00:05:04,080 So we add the momentum term in the iterative method. 42 00:05:07,620 --> 00:05:11,160 And we propose a momentum iterative fast gradient sum method. 43 00:05:11,160 --> 00:05:13,160 This algorithm is very simple. 44 00:05:13,160 --> 00:05:19,760 We also calculate the gradient of the loop function with respect to the input in each iteration. 45 00:05:19,760 --> 00:05:25,620 And we calculate our vector gt in the gradient direction across iterations. 46 00:05:25,620 --> 00:05:30,660 In each iteration, we apply the sign of the vector to the virtual examples. 47 00:05:30,660 --> 00:05:44,820 We use the decay factor to control how much we trust the previous gradient and the current gradient normalized by the L1 norm because we noticed that the scale of the gradient in different iterations vary in magnitude. 48 00:05:46,200 --> 00:05:48,600 And here are some results. 49 00:05:48,620 --> 00:05:50,520 We are tagged in separate three. 50 00:05:50,520 --> 00:05:52,540 That's a lot of models. 51 00:05:52,540 --> 00:06:01,520 And the success rates and MIFGSM, which is our method, can tag a white-box model with near 100% success rates. 52 00:06:01,520 --> 00:06:03,660 That's like IFGSM. 53 00:06:03,660 --> 00:06:08,300 But it folds a black-box model with much higher success rates. 54 00:06:09,660 --> 00:06:14,760 We also study the effects of the number of iterations on black-box attacks. 55 00:06:14,760 --> 00:06:21,540 We also attack exception rate 3 and measure the success rates on several black-box models. 56 00:06:21,580 --> 00:06:29,400 We can see that the success rates for attacking a black-box model does not decrease when increasing the number of iterations. 57 00:06:29,400 --> 00:06:34,640 So our method can, in some sense, elevate the trade-off between the attackability and transferability. 58 00:06:35,900 --> 00:06:42,440 And another thing that is crucial for obtaining good results is to attack an ensemble of models. 59 00:06:42,440 --> 00:06:53,540 The main assumption is that if an adversarial example remains adversarial for multiple models, it is more likely to be misclassified by other black-box models. 60 00:06:53,540 --> 00:06:58,280 We propose to attack an ensemble of models whose logics are fused together. 61 00:06:58,280 --> 00:07:11,040 We also compare the results of other ensemble methods, such as attacking an ensemble of models whose predictions or logs are fused, which show the results of attacking ensemble models. 62 00:07:11,040 --> 00:07:18,200 Ensemble in logics consistently outperforms the ensemble in predictions and the ensemble in logs. 63 00:07:18,200 --> 00:07:30,400 And by applying the momentum iterative fast gradients of IFGSM to ensemble models, we get a very high success rate for black-box attacks. 64 00:07:30,400 --> 00:07:45,240 For example, by attacking Inception-V4, Inception-Ryzen-I-V2 and Ryzen-I-152, the generated adversarial example can fool Inception-V3 with a very high success rate. 65 00:07:46,140 --> 00:07:49,200 Now, I just finished the first work. 66 00:07:49,200 --> 00:07:59,120 And this work is a joint work with Shaodu, that's him, and Professor Junzhu. 67 00:07:59,120 --> 00:08:05,960 In our work, we propose a new network architecture which can return robust predictions in the worst-case setting. 68 00:08:05,960 --> 00:08:13,940 We name the new network as MaxMahalanobis Linear Discriminant Analysis Networks, which are privy to MMLDA networks. 69 00:08:13,940 --> 00:08:19,080 This is a work just published at the MNIL. 70 00:08:20,900 --> 00:08:23,820 First, it's about our motivation. 71 00:08:24,840 --> 00:08:35,420 Our motivation one is that almost all popular networks suffer from adversarial attacks, where human imperceptible perturbation can mislead these high-accuracy networks. 72 00:08:36,860 --> 00:08:51,300 And about our second motivation, note that our typical faithful world DEEP9 consists of a nonlinear transformation part that maps the input to the hidden feature, and a linear classifier part acting on the hidden feature to gather the output. 73 00:08:51,740 --> 00:09:00,600 However, most of the work focuses on designing powerful nonlinear transformation parts like VGG and RISC-9 and so on. 74 00:09:00,680 --> 00:09:07,800 And by contrast, the linear classifier part is under-explored, by which you already by default use some math regression. 75 00:09:09,800 --> 00:09:15,980 Therefore, our goal is to design a new network architecture for better performance in the adversarial setting. 76 00:09:17,440 --> 00:09:24,280 To achieve this, we decided to substitute a new linear classifier part for some math regression. 77 00:09:26,040 --> 00:09:28,900 And by our method, it comes from two inspirations. 78 00:09:29,460 --> 00:09:33,720 And the first inspiration comes from Ephron et al. 79 00:09:33,720 --> 00:09:46,040 They show that if the input distributes as a mixture of Gaussian, the linear discriminant analysis which abbreviates to LDA is more efficient than logistic regression. 80 00:09:48,020 --> 00:09:54,360 Here, more efficient means that LDA needs less training data than LR to obtain certain error rates. 81 00:09:55,680 --> 00:10:03,220 However, in practice, data points hardly distribute as a mixture of Gaussian in the input space. 82 00:10:04,500 --> 00:10:10,040 To solve this, we get inspiration, too, from the fact that neural networks are powerful. 83 00:10:10,620 --> 00:10:23,860 Prior work on deep generative models has demonstrated that a deep net can learn to transform a simple distribution, for example, a mixture of Gaussian or a decimal Gaussian, to a complex data distribution. 84 00:10:24,280 --> 00:10:27,860 So we think the reverse direction should also be feasible. 85 00:10:27,980 --> 00:10:32,620 And this is actually what our method does in its non-linear transformation part. 86 00:10:34,040 --> 00:10:45,560 Based on above analysis, in our method, we model the feature distribution as a mixture of Gaussian and then apply the LDA on the feature to make predictions. 87 00:10:47,540 --> 00:10:51,820 Now, a naturally raised question is how to train the Gaussian parameters. 88 00:10:53,160 --> 00:10:54,080 Wang et al. 89 00:10:55,040 --> 00:10:58,720 also models the feature distribution as a mixture of Gaussian. 90 00:10:58,720 --> 00:11:03,860 However, they train the Gaussian parameters as extra-trainable variables. 91 00:11:04,860 --> 00:11:13,580 By contrast, we train them as hyperparameters calculated by our algorithm, which can provide a theoretical guarantee on the robustness. 92 00:11:15,480 --> 00:11:22,180 And the induced mixture of Gaussian models is named the MaxMahalanobase distribution appropriate to MMD. 93 00:11:23,100 --> 00:11:32,200 And intuitively, MMD makes the minimum Mahalanobase distance between two Gaussian components maximal. 94 00:11:32,200 --> 00:11:41,680 For example, samples in different classes are separated the most when the distribution is MMD. 95 00:11:42,120 --> 00:11:51,410 When there are three classes, the Gaussian means of MMD are the three vertices of the equilateral triangle. 96 00:11:52,900 --> 00:11:55,720 And how does MMD relate to robustness? 97 00:11:55,720 --> 00:11:58,780 Here we first give the definition of robustness. 98 00:11:58,780 --> 00:12:07,500 The robustness on a point with label i is defined as the local minimum distance of it to an adversarial example with different label. 99 00:12:09,020 --> 00:12:15,260 And we further define the robustness of the classifier as minimum expected local distance. 100 00:12:17,760 --> 00:12:23,220 Then we get the relation between the expected local distance and the Gaussian parameters. 101 00:12:23,400 --> 00:12:31,120 Here delta ij is the Mahalanobase distance between two Gaussian components of label i and j in the mixture of Gaussian. 102 00:12:32,520 --> 00:12:38,360 And further, we find that the robustness can be approximately represented in this simple form. 103 00:12:39,460 --> 00:12:49,840 And recall the property of MMD, we can conclude that if the feature input distributes as MMD, then the approximate robustness is maximized. 104 00:12:51,780 --> 00:12:54,960 Finally, it's our experiment's results. 105 00:12:55,600 --> 00:12:58,880 We first test our method on normal examples. 106 00:12:58,880 --> 00:13:03,040 Our method achieves comparable performance with typical networks. 107 00:13:03,040 --> 00:13:08,200 Note that here we do not specially fine-tune any training hyperparameter for our method. 108 00:13:09,300 --> 00:13:13,460 Here we show the PSNE visualization on the test site of CIFAR-10. 109 00:13:13,460 --> 00:13:22,120 We can find that our method results in it's more orderly distributed in the feature space. 110 00:13:23,940 --> 00:13:27,700 Here we show the accuracy under iterative attacks. 111 00:13:27,700 --> 00:13:43,620 We test under three different values of perturbation, and the result shows that our method can largely improve accuracy compared to our virtual training baselines, even with much less computational cost. 112 00:13:44,880 --> 00:13:49,020 We also test the optimization-based CNW attack. 113 00:13:49,020 --> 00:13:55,640 The result shows that the CNW attack has to add much larger perturbation to successfully attack our method. 114 00:13:59,300 --> 00:14:08,120 Here, the first row is a normal example, and the second row is adversarial noises crafted on the traditional SR networks. 115 00:14:08,120 --> 00:14:11,000 SR networks mean sub-mass regression networks. 116 00:14:11,060 --> 00:14:15,360 And the third row is the noises crafted on our method. 117 00:14:15,360 --> 00:14:30,680 We can find that our method can learn more robust features, such that the optimal attacking strategy that the CNW method finds is to weaken the pixels of the normal examples as a whole, rather than adding many less noises as for SR networks. 118 00:14:32,620 --> 00:14:40,100 And besides, our method can have better performance on class-biased datasets, which may be helpful in other areas like fairness. 119 00:14:42,080 --> 00:14:47,880 Finally, in conclusion, our method doesn't introduce extra computational cost. 120 00:14:48,430 --> 00:14:54,220 It can largely improve robustness with no loss of accuracy on normal examples. 121 00:14:54,680 --> 00:14:59,060 And our method is quite easy to implement with only a few lines of code. 122 00:15:00,520 --> 00:15:05,170 And finally, it is compatible with nearly all popular networks. 123 00:15:06,320 --> 00:15:07,800 Thank you. 124 00:15:12,770 --> 00:15:14,320 So, any questions? 125 00:15:24,910 --> 00:15:29,090 Yeah, you know Gaussian distribution, right? 126 00:15:29,130 --> 00:15:37,630 It has a power term, and it has a covariance matrix, and it has a mean. 127 00:15:37,730 --> 00:15:42,110 So, the Mahalanobis distance... actually, you can wiki it. 128 00:15:42,110 --> 00:15:44,770 It has a wikipedia. 129 00:15:45,030 --> 00:15:55,090 And that's some kind of distance, just like Euler distance or something like that. 130 00:15:55,090 --> 00:16:00,750 It's to measure some similarity of two Gaussian distributions. 131 00:16:15,930 --> 00:16:18,030 So, any other questions? 132 00:16:20,410 --> 00:16:21,070 Yes. 133 00:16:24,950 --> 00:16:26,670 No, no, no. 134 00:16:27,050 --> 00:16:36,610 Actually, we want to use this, but maybe that's still a secret, because we need to attend another computer, but we can say something about it. 135 00:16:37,170 --> 00:16:39,290 It's not very scalable. 136 00:16:40,450 --> 00:16:58,810 I mean, if you want to scale it to a very large dataset like ImageNet, you need a lot of tricks on fine-tuning training parameters, hyperparameters, like learning rates or weight decays, but we are not very good at it. 137 00:16:59,570 --> 00:17:13,130 So, we only test them on some small dataset or middle dataset, like Cepherton or MNIST, because we do not need to fine-tune any hyperparameters for our method. 138 00:17:13,130 --> 00:17:17,070 It can get state-of-the-art performance. 139 00:17:17,730 --> 00:17:18,470 Yes. 140 00:17:21,630 --> 00:17:24,190 So, any other questions? 141 00:17:24,510 --> 00:17:25,730 Okay, thank you.