1 00:00:00,000 --> 00:00:06,060 Many thanks to Rohan and Amogh for your excellent presentation. 2 00:00:06,440 --> 00:00:15,420 And now let's welcome Wei-Ling from Baidu X-Lab. 3 00:00:15,620 --> 00:00:19,560 Yeah, he will give us the... 4 00:00:21,920 --> 00:00:23,240 Sorry, what was it? 5 00:00:40,660 --> 00:00:43,260 Magic tricks for self-driving cars. 6 00:00:43,540 --> 00:00:44,460 Yeah, let's welcome. 7 00:00:49,620 --> 00:00:50,720 Thanks for the introduction. 8 00:00:51,220 --> 00:00:52,240 So good morning, everyone. 9 00:00:52,420 --> 00:00:53,500 Thanks for attending our talk. 10 00:00:53,700 --> 00:00:54,780 So my name is Wei-Ling Xu. 11 00:00:54,940 --> 00:00:58,180 I'm a PhD student in computer science at the University of Virginia. 12 00:00:58,640 --> 00:00:59,980 And I'm currently an... 13 00:01:00,000 --> 00:01:01,740 I'm an intern researcher at Baidu X-Lab. 14 00:01:02,040 --> 00:01:08,720 So today I'm not going here to defend Baidu's deep speech against Berkeley attack. 15 00:01:09,180 --> 00:01:13,840 I'm going to show you some interesting magic tricks for self-driving cars. 16 00:01:14,400 --> 00:01:21,440 And this is a joint work with my colleagues at Baidu X-Lab, Dr. Zheng Yuzhong and Dr. Yuanhan Jia. 17 00:01:23,060 --> 00:01:23,620 So... 18 00:01:30,020 --> 00:01:31,120 So is this working? 19 00:01:32,180 --> 00:01:34,180 Or should you just use keyboard? 20 00:01:35,140 --> 00:01:38,840 Okay, so before my presentation, I wanted to do some... 21 00:01:38,840 --> 00:01:39,660 I'll do several... 22 00:01:42,220 --> 00:01:43,240 Several clarifications. 23 00:01:43,860 --> 00:01:46,720 First, this is just a proof of concept. 24 00:01:47,080 --> 00:01:50,300 Second, we are not targeting any autonomous vehicle vendors. 25 00:01:50,620 --> 00:01:56,040 And instead, our target is the general computer vision technique that could be used on many self-driving cars. 26 00:01:56,320 --> 00:01:58,960 So we are not going to make any big news. 27 00:01:59,100 --> 00:01:59,880 Of course, PR... 28 00:01:59,880 --> 00:01:59,980 Of course, PR... 29 00:01:59,980 --> 00:02:01,300 PR crisis for anybody. 30 00:02:02,120 --> 00:02:02,460 So... 31 00:02:02,460 --> 00:02:03,440 And... 32 00:02:03,440 --> 00:02:09,100 But I believe our attack is very practical and has some implications about self-driving cars. 33 00:02:09,300 --> 00:02:15,640 So we ask you not to reproduce our magic tricks against your neighbor's self-driving car. 34 00:02:15,840 --> 00:02:19,240 And we are not responsible for any good or bad consequences. 35 00:02:21,920 --> 00:02:22,600 Okay. 36 00:02:22,800 --> 00:02:27,900 So, first of all, let me briefly introduce typical autonomous vehicle framework. 37 00:02:28,280 --> 00:02:28,840 So... 38 00:02:28,840 --> 00:02:29,380 So... 39 00:02:29,380 --> 00:02:35,500 So, a self-driving car does not necessarily look very different from the other cars we are driving every day. 40 00:02:35,700 --> 00:02:39,100 It may have the same cabin, the same wheels, and the same power chain. 41 00:02:39,320 --> 00:02:48,700 It's said that it has extra sensors and actuators, as well as a brand, which consists of three major components. 42 00:02:49,060 --> 00:02:52,420 The procession module, the prediction module, and the planning module. 43 00:02:52,980 --> 00:02:55,400 So, for a self-driving car to drive... 44 00:02:58,160 --> 00:02:59,060 To finish... 45 00:02:59,380 --> 00:03:05,480 To finish the driving task, it requires some sensors, such as a radar, LiDAR, or camera, to perceive the surroundings on the road. 46 00:03:05,660 --> 00:03:10,180 For example, it needs to recognize the drivable areas, and it needs to recognize the other road... 47 00:03:10,980 --> 00:03:16,160 Objects on the road, such as the other cars or pedestrians, and something like that. 48 00:03:16,540 --> 00:03:24,480 And the perception module recognizes those objects, but it only knows the situation at that moment. 49 00:03:24,980 --> 00:03:25,500 And... 50 00:03:25,500 --> 00:03:26,020 But... 51 00:03:26,680 --> 00:03:28,360 That's why we need a prediction module. 52 00:03:28,540 --> 00:03:29,260 So, using... 53 00:03:29,260 --> 00:03:40,140 Using the prediction module, we can predict the location of those objects in the future seconds. 54 00:03:40,300 --> 00:03:48,100 So that the planning module could make a plan to drive the vehicle smoothly, to avoid obstacles, and to reach the destination. 55 00:03:48,800 --> 00:03:53,360 So, in this work, we focus on the camera-based perception techniques. 56 00:03:54,020 --> 00:03:56,960 So, it should work like this. 57 00:03:57,700 --> 00:03:59,240 Using the camera input... 58 00:03:59,240 --> 00:04:07,320 The object detection module should be able to recognize the size and the location of those objects, such as the cars. 59 00:04:07,500 --> 00:04:12,980 And the objects could be very close to the camera, and it could be very far from the camera. 60 00:04:13,120 --> 00:04:20,020 So, the detection module should be able to recognize all those important objects to make the driving smooth. 61 00:04:21,840 --> 00:04:25,040 And here, we want to show you some metrics. 62 00:04:26,200 --> 00:04:28,320 So, here we have the DEF CON flag. 63 00:04:28,440 --> 00:04:28,900 I think everyone... 64 00:04:28,900 --> 00:04:31,380 Everyone here recognizes this as the DEF CON flag. 65 00:04:31,720 --> 00:04:34,280 And so, we want to put this in our scene. 66 00:04:34,500 --> 00:04:36,840 So, here we just put it on the floor. 67 00:04:37,140 --> 00:04:45,560 And you can see that the target perception module just recognized the DEF CON flag as a car with very high confidence. 68 00:04:46,240 --> 00:04:53,760 So, we can change the viewpoint of the camera, and the prediction is still very confident. 69 00:04:55,600 --> 00:04:58,020 So, next, I will introduce... 70 00:04:58,020 --> 00:04:59,860 I will introduce how we implement those attacks. 71 00:05:04,300 --> 00:05:05,740 Okay, so this is our target. 72 00:05:05,880 --> 00:05:10,300 It's the YOLO V3 model, which is very famous in the computer vision. 73 00:05:10,500 --> 00:05:18,960 And I believe some self-driving cars use the similar architectures, even though they use different training sets to get a model on their cars. 74 00:05:19,480 --> 00:05:25,800 And this model takes the input of 416 by 416 and in three channels, RGB channels. 75 00:05:26,080 --> 00:05:27,660 So, it's a color image input. 76 00:05:28,020 --> 00:05:29,840 And the Model V3 model is huge. 77 00:05:30,440 --> 00:05:38,360 It has 147 trainable layers and 62 million trainable parameters in total. 78 00:05:38,620 --> 00:05:40,900 So, it's a very large and complicated model. 79 00:05:41,240 --> 00:05:49,220 And the YOLO V3 model can output 3,549 bonding boxes. 80 00:05:50,800 --> 00:05:57,300 Of course, we only show the bonding boxes with a high confidence here, such as the stop sign on the corner. 81 00:05:59,000 --> 00:06:05,180 And the target model we use here, it was trained with the COCO data set, the MS COCO data set. 82 00:06:05,340 --> 00:06:07,960 So, it has 80 classics in total. 83 00:06:08,220 --> 00:06:17,520 But here, we only focus on those important classics, such as the person, car, truck, bus, and bicycle, motorcycles, because those are more related to self-driving cars. 84 00:06:21,440 --> 00:06:26,600 And in order to attack the YOLO V3 model, we need to understand how the model does that. 85 00:06:26,600 --> 00:06:28,900 And that's the inference. 86 00:06:29,360 --> 00:06:36,380 So, for an input image, the YOLO model first spread into several grids. 87 00:06:36,560 --> 00:06:39,460 So, the YOLO model actually uses three different grids. 88 00:06:39,600 --> 00:06:43,100 This is the first one, the 13 by 3 grid. 89 00:06:43,260 --> 00:06:47,080 And it has the 26 by 26 and 52 by 52. 90 00:06:47,320 --> 00:06:52,680 Here, we will just use this 13 by 13 as a running example because it's more visible on slides. 91 00:06:54,160 --> 00:07:04,700 So, for any unit on this grid, the model will give some prediction about the objects at the center point within this yellow unit. 92 00:07:05,880 --> 00:07:08,220 And this prediction will not be wild. 93 00:07:08,360 --> 00:07:09,860 It should have some references. 94 00:07:10,180 --> 00:07:13,580 So, the technique YOLO V3 uses is called anchor box. 95 00:07:13,700 --> 00:07:19,840 So, anchor box is like a reference for a specific prediction of the object detection. 96 00:07:19,840 --> 00:07:28,860 So, for each unit of the grid and then for each anchor box, you have a prediction about a specific object. 97 00:07:29,120 --> 00:07:31,800 And it is a very long vector. 98 00:07:32,000 --> 00:07:35,580 So, I will explain how should we interpret those vectors. 99 00:07:36,480 --> 00:07:44,320 And the first four scales are about the boundary box about the detected object. 100 00:07:44,700 --> 00:07:49,080 And first, we need to determine the center point of this object. 101 00:07:49,960 --> 00:07:54,060 We use the location of this yellow unit. 102 00:07:54,220 --> 00:07:58,800 So, here at 11 and 2 on this grid. 103 00:07:59,060 --> 00:08:04,360 And we need the output of Tx and Ty to calculate the center point. 104 00:08:04,740 --> 00:08:11,280 For example, in this example, the center point is at a green point. 105 00:08:12,380 --> 00:08:18,800 And next, we need to use the third and fourth output to calculate the object size. 106 00:08:18,800 --> 00:08:23,140 So, it is calculated with one of the anchor boxes. 107 00:08:23,240 --> 00:08:26,960 The first one, the width and height of the anchor box. 108 00:08:28,220 --> 00:08:30,180 So, here we got this. 109 00:08:31,580 --> 00:08:33,540 The detected object should be in this size. 110 00:08:34,180 --> 00:08:37,300 And so, this is the location and size of the boundary box. 111 00:08:37,560 --> 00:08:43,940 And at this point, we do know which object class is the prediction. 112 00:08:44,160 --> 00:08:48,780 So, we have 80 scalars about the boundary box. 113 00:08:48,780 --> 00:08:50,820 This is the prediction on the class X. 114 00:08:51,560 --> 00:08:57,300 So, YOLOv3 used 80 different sigma outputs to do this class prediction. 115 00:08:57,480 --> 00:09:02,440 Instead of the more commonly used softmax function. 116 00:09:03,610 --> 00:09:10,840 And here, we can tell that the stop sign should have the highest probability if the model is a good model. 117 00:09:12,480 --> 00:09:18,060 But there are some other cases that a boundary box may not contain any objects. 118 00:09:18,060 --> 00:09:23,140 So, the YOLOv3 model uses an output called objectnext. 119 00:09:23,340 --> 00:09:25,880 So, it is also a sigma output. 120 00:09:26,360 --> 00:09:33,180 The higher objectnext means that the higher confidence there is an object in this boundary box. 121 00:09:33,520 --> 00:09:41,000 So, we do this multiplication and get the final confidence for this boundary box. 122 00:09:41,120 --> 00:09:43,940 So, we know that stop sign has the highest confidence. 123 00:09:44,540 --> 00:09:47,560 So, we know that YOLOv3 model predicts this. 124 00:09:48,060 --> 00:09:49,920 So, we can see the stop sign at this location. 125 00:09:50,720 --> 00:09:52,440 Okay, that's the YOLOv3 model. 126 00:09:54,040 --> 00:09:56,080 And let me introduce our third model. 127 00:09:56,440 --> 00:09:59,720 I think it's different from many adversarial machine learning work. 128 00:09:59,920 --> 00:10:06,780 Because we don't assume that the perturbation we add is invisible to human eyes. 129 00:10:06,980 --> 00:10:15,160 So, actually, in our third model, we can put any image patch on the surface of any object in our scene. 130 00:10:15,420 --> 00:10:18,040 So, in this case, we put it on the front. 131 00:10:18,060 --> 00:10:20,500 Because it's more visible to our camera. 132 00:10:21,120 --> 00:10:23,740 And, of course, we will add some perturbations. 133 00:10:23,860 --> 00:10:25,560 And it's calculated by our algorithm. 134 00:10:25,840 --> 00:10:30,520 And then it will be interpreted differently to human vision. 135 00:10:32,180 --> 00:10:36,180 Okay, next, I will introduce videos in this attack. 136 00:10:38,100 --> 00:10:43,300 And, first, we need to implement this input construction pipeline. 137 00:10:43,600 --> 00:10:46,700 Because we need the algorithm to calculate it. 138 00:10:46,700 --> 00:10:54,040 To get the input that would make our objective function to the destination we want. 139 00:10:54,520 --> 00:10:59,860 And, first, we need to resize the picture to a specific size. 140 00:10:59,960 --> 00:11:02,480 So that it will fit the location we want it to put on. 141 00:11:02,700 --> 00:11:05,420 And then we need to do this perspective transformation. 142 00:11:07,100 --> 00:11:09,700 So that we can get a credit viewpoint from the camera. 143 00:11:10,280 --> 00:11:16,140 And then we remove that mask pixels of the same picture. 144 00:11:16,700 --> 00:11:20,240 And then we paste the image patch to that location. 145 00:11:20,580 --> 00:11:23,020 So that's how we construct this input. 146 00:11:23,320 --> 00:11:25,100 And the whole pipeline is differentiable. 147 00:11:25,300 --> 00:11:33,020 So, in our attack, we can directly calculate the image we should have for this successful attack. 148 00:11:34,960 --> 00:11:37,200 And the second thing is about the objectives. 149 00:11:38,440 --> 00:11:42,720 So, for different attacks, we should define different objective functions. 150 00:11:43,120 --> 00:11:45,840 And the first example is the production attack. 151 00:11:45,840 --> 00:11:48,260 I just show you as a demo. 152 00:11:48,680 --> 00:11:55,780 And there are many ways to design objective function for a specific goal. 153 00:11:56,060 --> 00:11:59,940 And, first, we can do it in an easy way. 154 00:12:00,120 --> 00:12:02,400 We just want more certain objects on the whole image. 155 00:12:02,780 --> 00:12:06,180 So, I'm not going to show you any equations here. 156 00:12:06,340 --> 00:12:08,240 I think you have seen a lot these days. 157 00:12:08,460 --> 00:12:10,200 And I just show you some pseudocode. 158 00:12:10,480 --> 00:12:13,860 So, here, we just wanted one... 159 00:12:13,860 --> 00:12:17,820 And the model to predict more car... 160 00:12:18,620 --> 00:12:19,700 Okay, great. 161 00:12:20,720 --> 00:12:23,220 More car objects from the input. 162 00:12:23,560 --> 00:12:27,260 So, we just get the index of the car class. 163 00:12:27,520 --> 00:12:32,580 And then, in this white box class probabilities matrix. 164 00:12:33,040 --> 00:12:43,400 And we use this lab code to tell the algorithm that we just want to maximize the probability of the car class. 165 00:12:43,400 --> 00:12:45,660 For every graded units. 166 00:12:46,180 --> 00:12:51,860 And remember that we have the object index output for the Euro V3 prediction. 167 00:12:52,180 --> 00:12:55,300 So, we also add that in our loss function. 168 00:12:55,500 --> 00:12:59,040 And then, we sum out the two loss. 169 00:12:59,280 --> 00:13:00,480 And that's our final loss. 170 00:13:01,040 --> 00:13:01,320 And... 171 00:13:02,760 --> 00:13:04,660 So, this is very easy to implement. 172 00:13:04,980 --> 00:13:07,320 But it could be difficult to optimize. 173 00:13:07,600 --> 00:13:09,360 Because if you have so many outputs. 174 00:13:09,920 --> 00:13:10,480 And... 175 00:13:10,480 --> 00:13:14,360 And the result might not be very good. 176 00:13:14,480 --> 00:13:18,180 Because it doesn't look intuitive quite. 177 00:13:18,560 --> 00:13:22,100 It predicts two cars from the perturbations. 178 00:13:22,400 --> 00:13:26,960 And so, we should refine those objective functions. 179 00:13:27,640 --> 00:13:29,240 So, because we have... 180 00:13:29,240 --> 00:13:35,040 We know how Euro V3 model calculate the predictions. 181 00:13:35,160 --> 00:13:36,900 So, we can just make a reverse. 182 00:13:40,580 --> 00:13:43,320 Because we know the exact location. 183 00:13:43,460 --> 00:13:44,940 We want the model to predict the object. 184 00:13:45,120 --> 00:13:54,120 So, we can just use a calculator to get the prediction vector for the Euro V3 model. 185 00:13:54,320 --> 00:14:03,260 And then, we use the mean square error to make the prediction of the input get as close as possible to the calculated results. 186 00:14:03,780 --> 00:14:09,880 And in this way, it could produce the result like this. 187 00:14:10,480 --> 00:14:11,400 Which we prefer. 188 00:14:13,060 --> 00:14:17,180 And in other attacks, for example, object vanish. 189 00:14:17,500 --> 00:14:21,980 We also have many different ways to design an objective function. 190 00:14:23,680 --> 00:14:26,200 And this is just a very close version. 191 00:14:26,840 --> 00:14:27,640 And so, here... 192 00:14:27,640 --> 00:14:31,740 You know, somebody wouldn't like others to recognize his car. 193 00:14:31,840 --> 00:14:37,680 So, they might exploit their law in California to release the car every six months. 194 00:14:37,840 --> 00:14:40,460 And they don't have to put a license plate on it. 195 00:14:40,480 --> 00:14:56,140 And if they want to do it more aggressively, they can even put a specialized license plate on it. 196 00:14:56,240 --> 00:15:00,080 So that the other self-driving cars wouldn't recognize it as a car at all. 197 00:15:02,500 --> 00:15:09,540 And the code is also very simple because this is a close objective function. 198 00:15:09,540 --> 00:15:11,320 And we just get the car index. 199 00:15:11,640 --> 00:15:18,120 And then, we take out the minus sign from the two logs variables. 200 00:15:18,660 --> 00:15:20,740 And then, that's the loss funnel. 201 00:15:22,940 --> 00:15:24,760 So, the result would look like this. 202 00:15:24,900 --> 00:15:31,060 The model couldn't recognize the object as a car with that license plate. 203 00:15:32,500 --> 00:15:35,720 And the other interesting magic trick would be the transformation. 204 00:15:36,180 --> 00:15:39,320 So, we can make a certain object class to transform to other classes. 205 00:15:39,540 --> 00:15:45,500 For example, we can make a car look like a train to the Yolo V3 model. 206 00:15:45,780 --> 00:15:52,840 And we just added different class probabilities to the loss function. 207 00:15:53,080 --> 00:15:55,860 And then, we can get a result like this. 208 00:15:56,060 --> 00:15:58,660 So, it's a different license plate. 209 00:15:58,900 --> 00:16:02,600 And it's like the transformer in the middle stage. 210 00:16:02,800 --> 00:16:08,520 Because the object looks like a train and a car to the model with similar probabilities. 211 00:16:11,080 --> 00:16:12,200 And, okay. 212 00:16:12,280 --> 00:16:16,060 So, we have discussed how we construct the input and how we design the objective function. 213 00:16:16,380 --> 00:16:21,220 And the next is about how to get exactly get those inputs. 214 00:16:21,540 --> 00:16:23,180 So, we need some optimization techniques. 215 00:16:23,660 --> 00:16:28,640 And we have found that these two tricks are very effective in our attack. 216 00:16:29,220 --> 00:16:36,080 Which is first introduced by this Oakland paper by Nicholas Coligny. 217 00:16:37,320 --> 00:16:38,980 And the first trick is to... 218 00:16:39,540 --> 00:16:41,020 Use the change of variable. 219 00:16:41,600 --> 00:16:46,280 Because in the pixel space, we have this interval constraint from... 220 00:16:46,280 --> 00:16:49,160 We normalize it to 0 and 1. 221 00:16:49,780 --> 00:16:55,920 And if your input has to be minus, then it's not going to be an effective pixel in the physical wall. 222 00:16:56,000 --> 00:16:59,840 So, you're not going to realize the attack in the physical wall. 223 00:17:00,240 --> 00:17:05,140 So, this interval constraint is very important to realize this physical attack. 224 00:17:05,860 --> 00:17:08,940 We use the change of variable trick... 225 00:17:09,540 --> 00:17:12,400 To convert the input to the 10th entry space. 226 00:17:12,680 --> 00:17:13,900 So, then it has... 227 00:17:14,540 --> 00:17:18,020 It would encode this interval in our objective function. 228 00:17:18,320 --> 00:17:24,600 And then you can use many off-the-shelf optimizers such as ADAM to do this optimization. 229 00:17:25,240 --> 00:17:30,540 And the second trick, useful trick, is to optimize the logits instead of the model output. 230 00:17:31,600 --> 00:17:38,580 So, in Coligny's paper, they found that if we can skip the functions at the last layer... 231 00:17:38,580 --> 00:17:40,700 Like sigmoid or softmax... 232 00:17:40,700 --> 00:17:43,120 We can avoid vanishing gradients. 233 00:17:43,700 --> 00:17:45,720 And it helps to get better results. 234 00:17:46,800 --> 00:17:53,240 Okay, so far, we have the methods to generate a successful digital attack. 235 00:17:53,620 --> 00:17:57,020 But image sensing is not an identity function. 236 00:17:57,480 --> 00:18:01,060 So, it doesn't mean we could do it in the physical wall. 237 00:18:01,440 --> 00:18:05,340 Because you need to print out the image patch... 238 00:18:05,340 --> 00:18:08,560 And you need a camera to take a picture of the scene. 239 00:18:08,580 --> 00:18:11,920 And then you get an input for the YOLOv3 model. 240 00:18:13,100 --> 00:18:20,640 And for printer or cameras, they have several weaknesses. 241 00:18:20,820 --> 00:18:24,320 For example, they have very limited resolutions. 242 00:18:24,740 --> 00:18:29,360 So, even if you calculate that the specific pixel should be in a specific value... 243 00:18:29,360 --> 00:18:33,920 But you may not be able to do that after you print it out and use a camera to take the picture. 244 00:18:34,340 --> 00:18:38,120 And the printer and camera could have some... 245 00:18:39,380 --> 00:18:42,580 And they both have the render noise. 246 00:18:42,740 --> 00:18:48,400 So, we need to consider all these possible factors... 247 00:18:48,400 --> 00:18:51,120 To realize the physical attack. 248 00:18:51,540 --> 00:18:56,300 And we found that there are several methods and techniques... 249 00:18:56,300 --> 00:18:59,340 Firstly, introduced by researchers at CMU. 250 00:18:59,400 --> 00:19:00,600 It's very useful in our attack. 251 00:19:01,660 --> 00:19:03,760 For example, for the limited resolution... 252 00:19:03,760 --> 00:19:07,640 And they introduced a regularization term to smooth the patch... 253 00:19:07,640 --> 00:19:09,660 With the total variation regularization. 254 00:19:10,020 --> 00:19:14,900 And for the distortions, they have developed a manual color management... 255 00:19:14,900 --> 00:19:20,460 And designed a non-printability loss... 256 00:19:21,600 --> 00:19:25,820 To encode this color management in the optimization. 257 00:19:27,720 --> 00:19:29,880 And in the physical wall... 258 00:19:29,880 --> 00:19:33,900 We might not be able to put the image patch to the exact location... 259 00:19:33,900 --> 00:19:36,040 To match the pixels in the digital image. 260 00:19:36,040 --> 00:19:39,280 So, we use this trick as... 261 00:19:39,280 --> 00:19:41,980 In every iteration of this optimization... 262 00:19:41,980 --> 00:19:44,640 We make some random transformations. 263 00:19:45,160 --> 00:19:47,620 So, the generated patch would be... 264 00:19:47,620 --> 00:19:52,380 A robust to some movements of the image patch. 265 00:19:54,800 --> 00:19:56,520 Okay, so here comes the conclusion. 266 00:19:57,140 --> 00:20:00,660 We have shown that the magicians can fool the object detection models... 267 00:20:00,660 --> 00:20:02,240 And so can attackers. 268 00:20:02,580 --> 00:20:05,560 So, we should be very cautious with the self-driving cars... 269 00:20:05,560 --> 00:20:07,180 That rely on computer vision. 270 00:20:08,300 --> 00:20:09,180 And that's it. 271 00:20:09,320 --> 00:20:10,700 Okay, thank you for listening to my talk. 272 00:20:17,180 --> 00:20:18,980 I can take any questions if you have. 273 00:20:23,540 --> 00:20:25,480 The company logo part... 274 00:20:25,480 --> 00:20:27,520 Did you add that or was that in your world? 275 00:20:29,860 --> 00:20:33,060 Okay, so we were not allowed to show the logo there. 276 00:20:33,820 --> 00:20:34,720 If you want... 277 00:20:34,720 --> 00:20:37,420 We can show that location for you. 278 00:20:37,460 --> 00:20:38,420 You can put your name there. 279 00:20:42,220 --> 00:20:45,120 I didn't quite follow how you... 280 00:20:45,720 --> 00:20:49,140 So, you divided the image into little subsets... 281 00:20:49,140 --> 00:20:53,500 And then you analyzed each little section individually... 282 00:20:53,500 --> 00:20:57,560 And then somehow you got a bounding box for the entire stop sign? 283 00:20:57,880 --> 00:20:58,580 Okay, sorry. 284 00:20:58,740 --> 00:21:01,920 I think that's the part of the Euro V3 model itself. 285 00:21:02,620 --> 00:21:04,060 So, it's not about it. 286 00:21:04,060 --> 00:21:05,120 It's actually about the attack. 287 00:21:05,680 --> 00:21:08,900 It's just a way to interpret the results of the Euro V3 model. 288 00:21:09,300 --> 00:21:11,900 And if you want to attack the model... 289 00:21:11,900 --> 00:21:14,560 You have to follow the design pipeline for that. 290 00:21:15,440 --> 00:21:15,960 Okay. 291 00:21:16,580 --> 00:21:17,300 Thank you. 292 00:21:18,740 --> 00:21:23,060 Is there any investigation of any single objects in the real world? 293 00:21:23,540 --> 00:21:25,520 Or were these all just things? 294 00:21:25,600 --> 00:21:26,800 Or you preferred the images? 295 00:21:27,240 --> 00:21:28,100 Okay, so... 296 00:21:28,100 --> 00:21:30,280 Here, what we show on the screen is... 297 00:21:30,280 --> 00:21:34,040 I think it should be called as a semi-physical attack... 298 00:21:34,040 --> 00:21:36,840 Because we show these pictures on the screen... 299 00:21:36,840 --> 00:21:40,420 But we use the actual camera to take the picture... 300 00:21:40,420 --> 00:21:42,440 And we change the viewpoint of the camera... 301 00:21:42,440 --> 00:21:43,940 And show you the video. 302 00:21:44,200 --> 00:21:45,800 Is it a video-to-video? 303 00:21:47,680 --> 00:21:49,720 It's a screen recorded on my iPhone. 304 00:21:50,000 --> 00:21:52,540 Yeah, the model is interpreting a screen... 305 00:21:52,540 --> 00:21:53,560 Yes. 306 00:21:53,780 --> 00:21:54,640 Yeah, so... 307 00:21:54,640 --> 00:21:57,440 I run the Euro V3 model on my mobile phone... 308 00:21:57,440 --> 00:21:59,980 And I use the camera on my mobile phone to take this video. 309 00:22:01,840 --> 00:22:02,360 Hi. 310 00:22:02,620 --> 00:22:05,320 So, you used an example of, like, a license plate... 311 00:22:05,320 --> 00:22:07,860 As a way to misidentify... 312 00:22:08,300 --> 00:22:10,020 Even something as small as a sticker... 313 00:22:10,020 --> 00:22:11,640 That's always flat to the back of the bar... 314 00:22:11,640 --> 00:22:12,720 It's called an increase... 315 00:22:13,600 --> 00:22:15,900 It depends, because this is the proof of concept. 316 00:22:16,140 --> 00:22:17,780 I think there are many other factors... 317 00:22:17,780 --> 00:22:20,460 That could change the result of this attack. 318 00:22:21,860 --> 00:22:25,080 Do you have any idea, like, how big something has to be? 319 00:22:25,380 --> 00:22:25,700 Okay. 320 00:22:27,360 --> 00:22:28,340 So, good question. 321 00:22:28,480 --> 00:22:31,080 I think this depends on the model... 322 00:22:31,080 --> 00:22:33,960 Because different models have a different input size. 323 00:22:34,180 --> 00:22:35,840 I mean, if the input size is larger... 324 00:22:35,840 --> 00:22:37,800 Probably a smaller patch would be effective. 325 00:22:38,120 --> 00:22:42,460 Because it would cause more different pixels in your input. 326 00:22:48,620 --> 00:22:49,180 Okay. 327 00:22:49,720 --> 00:22:50,280 David? 328 00:22:51,160 --> 00:22:53,640 In the object vanish attack... 329 00:22:55,120 --> 00:22:59,240 Does it work by reducing the objectness output... 330 00:22:59,240 --> 00:23:01,060 Or by reducing all... 331 00:23:01,060 --> 00:23:03,200 The specific class outputs? 332 00:23:03,580 --> 00:23:04,640 You can do both. 333 00:23:05,120 --> 00:23:06,280 Do you know which one? 334 00:23:07,120 --> 00:23:08,660 It's a design choice. 335 00:23:08,920 --> 00:23:11,280 You can try both and just try to find... 336 00:23:11,280 --> 00:23:15,900 Which definition is the best for your optimizer. 337 00:23:16,360 --> 00:23:18,300 Because for this attack... 338 00:23:18,300 --> 00:23:20,560 It is a non-convex function. 339 00:23:20,780 --> 00:23:22,920 You don't have a good optimizer... 340 00:23:22,920 --> 00:23:24,400 That can always get the best solution. 341 00:23:24,660 --> 00:23:25,900 You should just try. 342 00:23:38,660 --> 00:23:40,080 This is a great question. 343 00:23:40,300 --> 00:23:44,240 So, we just tried white box attack here. 344 00:23:44,680 --> 00:23:48,520 But we tried other models on my mobile phone... 345 00:23:48,520 --> 00:23:50,880 To test these outputs. 346 00:23:51,240 --> 00:23:53,260 And we found that they are still effective. 347 00:23:53,560 --> 00:23:55,440 Probably because the model are similar enough... 348 00:23:55,440 --> 00:23:56,580 To reproduce the attack. 349 00:24:00,420 --> 00:24:02,580 So, I just wanted to ask you a quick question. 350 00:24:02,600 --> 00:24:05,220 How robust are the sort of... 351 00:24:05,220 --> 00:24:06,320 Pretty first versions of this thing? 352 00:24:06,480 --> 00:24:07,360 Do you use different names? 353 00:24:08,340 --> 00:24:09,980 It looks like it's kind of... 354 00:24:09,980 --> 00:24:10,790 In a particular area... 355 00:24:11,100 --> 00:24:11,660 It's not sort of... 356 00:24:11,660 --> 00:24:13,000 You put a student name in there? 357 00:24:14,040 --> 00:24:14,540 Okay. 358 00:24:14,640 --> 00:24:16,340 So, for this specific example... 359 00:24:16,340 --> 00:24:19,360 Because we didn't add a large movement steps... 360 00:24:19,360 --> 00:24:21,360 In each iteration. 361 00:24:21,680 --> 00:24:24,980 So, it might have some limited... 362 00:24:26,060 --> 00:24:26,560 Robots. 363 00:24:26,560 --> 00:24:27,340 What's next to the... 364 00:24:28,040 --> 00:24:28,760 Viewpoint change. 365 00:24:29,000 --> 00:24:31,200 But if you really like that feature... 366 00:24:31,200 --> 00:24:32,640 You can add more... 367 00:24:32,640 --> 00:24:35,480 Add a larger moving distance... 368 00:24:35,480 --> 00:24:36,360 In each iteration. 369 00:24:36,620 --> 00:24:37,640 And the output should be... 370 00:24:37,640 --> 00:24:38,900 More robots to that movement. 371 00:24:40,680 --> 00:24:41,200 Okay. 372 00:24:42,160 --> 00:24:43,200 That gentleman first. 373 00:24:43,400 --> 00:24:44,600 How quickly can you... 374 00:24:44,600 --> 00:24:45,600 Recompute... 375 00:24:46,320 --> 00:24:48,240 These adversarial images on the fly? 376 00:24:48,680 --> 00:24:50,500 I'm thinking of a scenario where... 377 00:24:50,500 --> 00:24:51,700 If you had a screen... 378 00:24:51,700 --> 00:24:52,300 And you were just... 379 00:24:53,320 --> 00:24:54,340 Correcting for the like... 380 00:24:54,340 --> 00:24:55,600 App line transforms and stuff. 381 00:24:56,560 --> 00:24:57,700 Here we use... 382 00:24:58,500 --> 00:24:59,200 Perspective transform. 383 00:24:59,500 --> 00:25:00,240 I think it's a... 384 00:25:00,240 --> 00:25:01,780 More powerful method... 385 00:25:01,780 --> 00:25:03,040 To represent this transformation. 386 00:25:03,560 --> 00:25:04,620 And alpha is the subset. 387 00:25:07,800 --> 00:25:08,320 Okay. 388 00:25:10,620 --> 00:25:12,280 So, this is the offline attack. 389 00:25:12,720 --> 00:25:13,240 Actually. 390 00:25:13,360 --> 00:25:13,900 That's the answer. 391 00:25:14,680 --> 00:25:15,960 We are not... 392 00:25:16,580 --> 00:25:18,420 What we are showing here... 393 00:25:18,420 --> 00:25:19,480 Is not an online attack. 394 00:25:21,740 --> 00:25:23,940 So, the DevCon logo image... 395 00:25:23,940 --> 00:25:24,940 That you have there... 396 00:25:24,940 --> 00:25:26,400 Doesn't appear to be... 397 00:25:26,400 --> 00:25:26,540 It's not a... 398 00:25:27,280 --> 00:25:29,480 Optimized for adversarial benefit. 399 00:25:29,840 --> 00:25:30,180 You know? 400 00:25:30,200 --> 00:25:31,260 It doesn't seem that... 401 00:25:31,260 --> 00:25:33,180 That's been the result of optimization. 402 00:25:33,620 --> 00:25:35,920 How come it's being reliably detected... 403 00:25:35,920 --> 00:25:37,840 When it's not an optimized image? 404 00:25:38,040 --> 00:25:39,540 It is optimized to... 405 00:25:39,540 --> 00:25:40,640 Make it... 406 00:25:40,640 --> 00:25:42,400 Be recognized as car... 407 00:25:42,400 --> 00:25:43,320 In our objective function. 408 00:25:43,580 --> 00:25:45,220 But we didn't limit the... 409 00:25:46,180 --> 00:25:47,940 The amount of pixel values... 410 00:25:47,940 --> 00:25:48,920 We can change in our attack. 411 00:25:49,140 --> 00:25:50,520 But for this specific example... 412 00:25:50,520 --> 00:25:50,820 We just... 413 00:25:50,820 --> 00:25:51,300 We just... 414 00:25:51,300 --> 00:25:52,020 Run... 415 00:25:52,020 --> 00:25:53,700 Ten iterations... 416 00:25:53,700 --> 00:25:54,380 On my... 417 00:25:54,380 --> 00:25:55,680 On MacBook Pro CPU. 418 00:25:56,000 --> 00:25:56,540 So... 419 00:25:56,560 --> 00:25:57,180 That's it. 420 00:25:57,320 --> 00:25:59,120 Ten iterations of the image... 421 00:25:59,120 --> 00:25:59,940 Or ten integrations... 422 00:25:59,940 --> 00:26:00,420 Of the... 423 00:26:00,420 --> 00:26:00,580 Of the... 424 00:26:00,580 --> 00:26:00,860 Of the... 425 00:26:02,060 --> 00:26:03,280 So, we attack a... 426 00:26:03,280 --> 00:26:04,040 A pre-trained model. 427 00:26:04,260 --> 00:26:05,580 And the ten iterations here... 428 00:26:05,580 --> 00:26:06,520 Means the... 429 00:26:06,520 --> 00:26:07,380 Attack iterations. 430 00:26:07,900 --> 00:26:09,340 So, we get the gradients... 431 00:26:09,340 --> 00:26:10,040 From the input... 432 00:26:10,040 --> 00:26:10,720 For ten times... 433 00:26:10,720 --> 00:26:11,420 And update it. 434 00:26:12,140 --> 00:26:13,100 Update input. 435 00:26:13,360 --> 00:26:13,600 Yes. 436 00:26:13,680 --> 00:26:14,040 Image. 437 00:26:14,100 --> 00:26:14,580 Yes. 438 00:26:14,720 --> 00:26:15,200 Yes. 439 00:26:22,880 --> 00:26:23,760 So, you said... 440 00:26:23,760 --> 00:26:25,040 This is an offline attack... 441 00:26:25,040 --> 00:26:25,320 And you... 442 00:26:25,320 --> 00:26:26,420 Put that image... 443 00:26:26,420 --> 00:26:26,540 On the... 444 00:26:26,560 --> 00:26:27,380 On to another image. 445 00:26:27,760 --> 00:26:29,260 Have you tried anything... 446 00:26:29,260 --> 00:26:29,560 Where you... 447 00:26:29,560 --> 00:26:30,740 Lose a real world image? 448 00:26:31,280 --> 00:26:31,760 And... 449 00:26:31,760 --> 00:26:32,480 If... 450 00:26:32,480 --> 00:26:33,480 If not... 451 00:26:33,480 --> 00:26:34,440 Do you think that would work? 452 00:26:34,620 --> 00:26:35,980 You've painted that on the screen. 453 00:26:36,000 --> 00:26:36,200 Okay. 454 00:26:36,280 --> 00:26:36,760 Great question. 455 00:26:36,920 --> 00:26:37,480 So, actually... 456 00:26:37,480 --> 00:26:37,760 We have... 457 00:26:37,760 --> 00:26:38,860 We have tried to print... 458 00:26:38,860 --> 00:26:39,780 The image patch... 459 00:26:39,780 --> 00:26:40,180 Patch out. 460 00:26:40,400 --> 00:26:41,900 And put it on another image. 461 00:26:42,060 --> 00:26:42,400 So... 462 00:26:42,400 --> 00:26:43,360 I think it... 463 00:26:43,360 --> 00:26:44,520 So, in that way... 464 00:26:44,520 --> 00:26:45,460 We didn't take... 465 00:26:45,460 --> 00:26:46,540 The video... 466 00:26:46,540 --> 00:26:47,620 On the screen. 467 00:26:47,780 --> 00:26:49,260 And it's an actual paper... 468 00:26:49,260 --> 00:26:49,880 We printed out. 469 00:26:50,240 --> 00:26:50,720 And... 470 00:26:50,720 --> 00:26:51,280 We... 471 00:26:51,280 --> 00:26:52,020 We still observe... 472 00:26:52,020 --> 00:26:52,700 The similar results. 473 00:26:52,980 --> 00:26:53,540 It would be... 474 00:26:56,620 --> 00:26:57,260 Sometimes... 475 00:26:57,260 --> 00:26:57,940 But it's... 476 00:26:57,940 --> 00:26:59,060 The success rate is... 477 00:26:59,060 --> 00:26:59,760 It's not... 478 00:26:59,760 --> 00:27:00,120 As... 479 00:27:00,120 --> 00:27:01,860 As high as this one. 480 00:27:02,000 --> 00:27:02,860 Because we... 481 00:27:02,860 --> 00:27:03,360 We didn't... 482 00:27:03,360 --> 00:27:04,320 For... 483 00:27:04,320 --> 00:27:04,800 For that one... 484 00:27:04,800 --> 00:27:05,040 We... 485 00:27:05,040 --> 00:27:05,860 We didn't use... 486 00:27:05,860 --> 00:27:06,420 Use the... 487 00:27:06,420 --> 00:27:07,760 Non-print-abraded... 488 00:27:07,760 --> 00:27:08,760 Loss... 489 00:27:08,760 --> 00:27:09,400 To... 490 00:27:09,400 --> 00:27:11,160 To take care of this... 491 00:27:11,160 --> 00:27:13,000 Printing distortions. 492 00:27:17,480 --> 00:27:18,120 Okay. 493 00:27:18,360 --> 00:27:19,300 Do we have more questions? 494 00:27:20,560 --> 00:27:21,580 If no... 495 00:27:21,580 --> 00:27:23,220 Thanks for attending my talk. 496 00:27:26,560 --> 00:27:28,240 And thank you so much for, analysis. 497 00:27:28,380 --> 00:27:28,760 Thank you very much. 498 00:27:29,020 --> 00:27:29,340 And, uh... 499 00:27:29,340 --> 00:27:29,400 And, uh... 500 00:27:29,400 --> 00:27:30,040 I'll see you at our next event.