[00:00.000 --> 00:07.800] Hello everyone, I'm Tian Yunpeng from Tsinghua University, and here I will first introduce [00:07.800 --> 00:18.820] our teams. And here is the list of our team members. And I will first introduce some work [00:18.820 --> 00:26.500] of our team. We get three first places in all the three tracks in last year's NIPS competition. [00:27.000 --> 00:29.560] And NIPS is a top conference of machine learning. [00:30.320 --> 00:37.060] We have published three papers about virtual examples on top conference of machine learning [00:37.060 --> 00:42.780] and computer vision. Besides, we also have a paper and a review of NIPS this year. And all [00:42.780 --> 00:49.560] those three initial review scores are accepted. Here is a list of our publications. And today [00:49.560 --> 00:58.140] I will introduce these two works. And the first work is boosting virtual attacks with momentum. [00:58.140 --> 01:04.620] This is an attacking method we used in last year's NIPS competition. Virtual examples are [01:04.620 --> 01:11.420] maliciously generated examples to fool a machine learning model, but they are very similar to the [01:11.420 --> 01:18.480] original examples. I will briefly introduce some previous attack methods and later introduce their [01:18.480 --> 01:25.820] advantages and disadvantages. Finding a non-target virtual example can be thought as an optimization [01:25.820 --> 01:31.000] problem. We want to maximize the loose function of our virtual example with its true label, [01:31.000 --> 01:37.100] subject to the required maximum distance between them. And the most famous one proposed by Good [01:37.100 --> 01:44.180] Fellow is the first gradient sum method, which refers to FGSM. And it calculates the gradient [01:44.180 --> 01:50.740] of the loose function with respect to the input and applies the sign of the gradient to the input. [01:50.740 --> 02:00.200] Iterative variants of FGSM apply the sign of the gradient multiple times. Optimization-based [02:00.200 --> 02:06.280] methods directly optimize the distance between virtual examples and the original examples minus [02:06.280 --> 02:23.580] the loose. Virtual examples have demonstrated good transferability across models, and that is [02:23.580 --> 02:28.940] the virtual example generated for one model can also fool another model. The transferability of [02:28.940 --> 02:35.960] our virtual examples enable black box attacks, which may cause real security issues in real [02:35.960 --> 02:42.500] applications. Also, virtual examples have cross-data transferability, which is a universal [02:43.400 --> 02:51.640] perturbation. However, there are some limitations of practical black box attacks. We found that [02:52.900 --> 03:01.680] existing attack methods cannot attack a black box efficiently. For FGSM, it is fast and generous [03:01.680 --> 03:07.860] as a virtual example with good transferability, but the linearity assumption may now hold for [03:07.860 --> 03:14.800] large distortion, and so it lacks the efficiency to attack a white box model. Thus, the success [03:14.800 --> 03:22.360] rate of black box attacks is low, and iterative methods have low transferability because they [03:22.360 --> 03:27.960] gradually move the virtual examples to the gradient direction to maximize the loose function, [03:27.960 --> 03:34.240] which may overfit to the model's decision boundary. So the tradeoff between transferability [03:34.240 --> 03:41.740] and attack ability makes black box attacks less effective. Here we have an experiment. We attack [03:41.740 --> 03:46.640] inception with 3 with different numbers of iterations. We measure the success rate of [03:46.640 --> 03:54.220] white box inception with 3, black box inception with 4, with 2, and with 9, 152. We know that [03:54.220 --> 03:59.360] success rate decreases when increasing the number of iterations for black box [03:59.360 --> 04:07.020] attacks. Another way to attack a block-based model is to build a substitute network to [04:07.020 --> 04:13.220] characterize the behaviors of the black box model. But this method requires full prediction [04:13.220 --> 04:20.000] confidence and tremendous recovery. It is hard to deploy for models trained on large-scale [04:20.000 --> 04:24.900] data sites, and we cannot use this method in the competition because we are not allowed to [04:24.900 --> 04:30.540] query the defense submissions. So our solution is to elevate the tradeoff between transferability [04:30.540 --> 04:40.480] and attackability. Recall that finding a virtual example can be regarded as a constraint optimization [04:40.480 --> 04:46.980] problem. So we can apply some useful techniques in optimization to the virtual setting. [04:46.980 --> 04:54.280] Momentum method is well adapted to accelerate gradient descent and help to escape from poor [04:54.280 --> 05:01.980] local optima. In SGD, it also helps to stabilize update direction. So we add the momentum term [05:01.980 --> 05:11.160] in the iterative method. And we propose a momentum iterative fast gradient sum method. [05:11.160 --> 05:16.120] This algorithm is very simple. We also calculate the gradient of the loop function with respect [05:16.120 --> 05:24.420] to the input in each iteration. And we calculate our vector gt in the gradient direction across [05:24.420 --> 05:30.660] iterations. In each iteration, we apply the sign of the vector to the virtual examples. [05:30.660 --> 05:35.880] We use the decay factor to control how much we trust the previous gradient and the current [05:35.880 --> 05:41.840] gradient normalized by the L1 norm because we noticed that the scale of the gradient [05:41.840 --> 05:44.820] in different iterations vary in magnitude. [05:46.200 --> 05:52.540] And here are some results. We are tagged in separate three. That's a lot of models. [05:52.540 --> 06:00.500] And the success rates and MIFGSM, which is our method, can tag a white-box model with near 100% [06:00.500 --> 06:08.300] success rates. That's like IFGSM. But it folds a black-box model with much higher success rates. [06:09.660 --> 06:15.640] We also study the effects of the number of iterations on black-box attacks. We also attack [06:15.640 --> 06:22.540] exception rate 3 and measure the success rates on several black-box models. We can see that the [06:22.540 --> 06:28.520] success rates for attacking a black-box model does not decrease when increasing the number of [06:28.520 --> 06:33.120] iterations. So our method can, in some sense, elevate the trade-off between the attackability [06:33.120 --> 06:41.120] and transferability. And another thing that is crucial for obtaining good results is to attack [06:41.120 --> 06:47.860] an ensemble of models. The main assumption is that if an adversarial example remains adversarial [06:47.860 --> 06:53.540] for multiple models, it is more likely to be misclassified by other black-box models. [06:53.540 --> 06:59.700] We propose to attack an ensemble of models whose logics are fused together. We also compare the [06:59.700 --> 07:05.100] results of other ensemble methods, such as attacking an ensemble of models whose predictions [07:05.100 --> 07:12.780] or logs are fused, which show the results of attacking ensemble models. Ensemble in logics [07:12.780 --> 07:19.060] consistently outperforms the ensemble in predictions and the ensemble in logs. And by [07:20.020 --> 07:27.040] applying the momentum iterative fast gradients of IFGSM to ensemble models, [07:27.040 --> 07:34.540] we get a very high success rate for black-box attacks. For example, by attacking Inception-V4, [07:34.540 --> 07:43.220] Inception-Ryzen-I-V2 and Ryzen-I-152, the generated adversarial example can fool Inception-V3 with a [07:43.220 --> 07:53.600] very high success rate. Now, I just finished the first work. And this work is a joint work with [07:53.600 --> 08:02.100] Shaodu, that's him, and Professor Junzhu. In our work, we propose a new network architecture [08:02.100 --> 08:07.380] which can return robust predictions in the worst-case setting. We name the new network as [08:07.380 --> 08:13.940] MaxMahalanobis Linear Discriminant Analysis Networks, which are privy to MMLDA networks. [08:13.940 --> 08:23.820] This is a work just published at the MNIL. First, it's about our motivation. [08:24.840 --> 08:30.980] Our motivation one is that almost all popular networks suffer from adversarial attacks, [08:30.980 --> 08:35.420] where human imperceptible perturbation can mislead these high-accuracy networks. [08:36.860 --> 08:42.060] And about our second motivation, note that our typical faithful world DEEP9 consists of a [08:42.060 --> 08:47.400] nonlinear transformation part that maps the input to the hidden feature, and a linear classifier [08:47.400 --> 08:55.420] part acting on the hidden feature to gather the output. However, most of the work focuses on [08:55.420 --> 09:01.880] designing powerful nonlinear transformation parts like VGG and RISC-9 and so on. And by contrast, [09:01.880 --> 09:06.820] the linear classifier part is under-explored, by which you already by default use some math [09:06.820 --> 09:14.080] regression. Therefore, our goal is to design a new network architecture for better performance [09:14.080 --> 09:22.220] in the adversarial setting. To achieve this, we decided to substitute a new linear classifier [09:22.220 --> 09:28.900] part for some math regression. And by our method, it comes from two inspirations. [09:29.460 --> 09:36.720] And the first inspiration comes from Ephron et al. They show that if the input distributes as [09:36.880 --> 09:43.380] a mixture of Gaussian, the linear discriminant analysis which abbreviates to LDA is more [09:43.380 --> 09:51.300] efficient than logistic regression. Here, more efficient means that LDA needs less training data [09:51.300 --> 10:00.940] than LR to obtain certain error rates. However, in practice, data points hardly distribute as a [10:00.940 --> 10:08.560] mixture of Gaussian in the input space. To solve this, we get inspiration, too, from the fact that [10:08.560 --> 10:15.300] neural networks are powerful. Prior work on deep generative models has demonstrated that a deep [10:15.300 --> 10:20.580] net can learn to transform a simple distribution, for example, a mixture of Gaussian or a decimal [10:20.580 --> 10:27.860] Gaussian, to a complex data distribution. So we think the reverse direction should also be feasible. [10:27.980 --> 10:32.620] And this is actually what our method does in its non-linear transformation part. [10:34.040 --> 10:39.660] Based on above analysis, in our method, we model the feature distribution as a mixture of Gaussian [10:41.180 --> 10:45.560] and then apply the LDA on the feature to make predictions. [10:47.540 --> 10:51.820] Now, a naturally raised question is how to train the Gaussian parameters. [10:53.160 --> 10:58.720] Wang et al. also models the feature distribution as a mixture of Gaussian. [10:58.720 --> 11:03.860] However, they train the Gaussian parameters as extra-trainable variables. [11:04.860 --> 11:10.820] By contrast, we train them as hyperparameters calculated by our algorithm, which can provide [11:10.920 --> 11:17.900] a theoretical guarantee on the robustness. And the induced mixture of Gaussian models is [11:17.900 --> 11:22.180] named the MaxMahalanobase distribution appropriate to MMD. [11:23.100 --> 11:30.380] And intuitively, MMD makes the minimum Mahalanobase distance between two Gaussian [11:30.380 --> 11:39.280] components maximal. For example, samples in different classes are separated the most [11:39.280 --> 11:44.410] when the distribution is MMD. When there are three classes, [11:45.500 --> 11:51.410] the Gaussian means of MMD are the three vertices of the equilateral triangle. [11:52.900 --> 11:58.780] And how does MMD relate to robustness? Here we first give the definition of robustness. [11:58.780 --> 12:04.080] The robustness on a point with label i is defined as the local minimum distance [12:04.080 --> 12:07.500] of it to an adversarial example with different label. [12:09.020 --> 12:15.260] And we further define the robustness of the classifier as minimum expected local distance. [12:17.760 --> 12:23.220] Then we get the relation between the expected local distance and the Gaussian parameters. [12:23.400 --> 12:29.740] Here delta ij is the Mahalanobase distance between two Gaussian components of label i and j in the [12:29.740 --> 12:36.500] mixture of Gaussian. And further, we find that the robustness can be approximately represented [12:36.500 --> 12:43.960] in this simple form. And recall the property of MMD, we can conclude that if the feature [12:43.960 --> 12:49.840] input distributes as MMD, then the approximate robustness is maximized. [12:51.780 --> 12:58.880] Finally, it's our experiment's results. We first test our method on normal examples. [12:58.880 --> 13:03.040] Our method achieves comparable performance with typical networks. [13:03.040 --> 13:08.200] Note that here we do not specially fine-tune any training hyperparameter for our method. [13:09.300 --> 13:13.460] Here we show the PSNE visualization on the test site of CIFAR-10. [13:13.460 --> 13:22.120] We can find that our method results in it's more orderly distributed in the feature space. [13:23.940 --> 13:30.120] Here we show the accuracy under iterative attacks. We test under three different values of [13:30.120 --> 13:37.120] perturbation, and the result shows that our method can largely improve accuracy compared to our [13:37.120 --> 13:43.620] virtual training baselines, even with much less computational cost. [13:44.880 --> 13:52.020] We also test the optimization-based CNW attack. The result shows that the CNW attack has to add [13:52.020 --> 13:55.640] much larger perturbation to successfully attack our method. [13:59.300 --> 14:05.900] Here, the first row is a normal example, and the second row is adversarial noises crafted [14:05.900 --> 14:11.860] on the traditional SR networks. SR networks mean sub-mass regression networks. And the third row [14:11.860 --> 14:18.360] is the noises crafted on our method. We can find that our method can learn more robust features, [14:18.360 --> 14:22.460] such that the optimal attacking strategy that the CNW method finds [14:22.460 --> 14:26.620] is to weaken the pixels of the normal examples as a whole, [14:26.620 --> 14:30.680] rather than adding many less noises as for SR networks. [14:32.620 --> 14:37.180] And besides, our method can have better performance on class-biased datasets, [14:37.180 --> 14:40.100] which may be helpful in other areas like fairness. [14:42.080 --> 14:47.880] Finally, in conclusion, our method doesn't introduce extra computational cost. [14:48.430 --> 14:54.220] It can largely improve robustness with no loss of accuracy on normal examples. [14:54.680 --> 14:59.060] And our method is quite easy to implement with only a few lines of code. [15:00.520 --> 15:05.170] And finally, it is compatible with nearly all popular networks. [15:06.320 --> 15:14.320] Thank you. So, any questions? [15:24.910 --> 15:35.530] Yeah, you know Gaussian distribution, right? It has a power term, and it has a covariance [15:35.530 --> 15:42.790] matrix, and it has a mean. So, the Mahalanobis distance... actually, you can wiki it. It has a [15:43.510 --> 15:55.090] wikipedia. And that's some kind of distance, just like Euler distance or something like that. [15:55.090 --> 16:00.750] It's to measure some similarity of two Gaussian distributions. [16:15.930 --> 16:18.030] So, any other questions? [16:20.410 --> 16:21.070] Yes. [16:24.950 --> 16:31.990] No, no, no. Actually, we want to use this, but maybe that's still a secret, [16:31.990 --> 16:36.610] because we need to attend another computer, but we can say something about it. [16:37.170 --> 16:45.890] It's not very scalable. I mean, if you want to scale it to a very large dataset like ImageNet, [16:45.890 --> 16:53.170] you need a lot of tricks on fine-tuning training parameters, hyperparameters, [16:53.170 --> 16:58.810] like learning rates or weight decays, but we are not very good at it. [16:59.570 --> 17:07.630] So, we only test them on some small dataset or middle dataset, like Cepherton or MNIST, [17:07.630 --> 17:14.590] because we do not need to fine-tune any hyperparameters for our method. It can get [17:14.590 --> 17:25.730] state-of-the-art performance. Yes. So, any other questions? Okay, thank you.