1 00:00:00,000 --> 00:00:06,660 So the first talk we have is by Sven Cattell, data scientist at Endgame, and he's here to talk about 2 00:00:07,900 --> 00:00:08,760 adversarial patches 3 00:00:15,380 --> 00:00:21,820 Basically the plan for this talk was I was going to make t-shirts with adversarial patches and the volunteer t-shirts will have this stuff 4 00:00:22,340 --> 00:00:25,520 from it, I tried for about two months to do and 5 00:00:26,100 --> 00:00:26,820 eventually it 6 00:00:26,820 --> 00:00:34,860 started working so well, and I'm going to talk about how to make these patches, how they work, why the thing, and then like reasons 7 00:00:35,500 --> 00:00:39,320 for things. So I'm a data scientist at Endgame 8 00:00:41,020 --> 00:00:42,200 We've already heard about me 9 00:00:43,140 --> 00:00:43,620 so 10 00:00:44,860 --> 00:00:51,380 That's just what I'm going to be doing today. So the background of adversarial examples, you've got two 11 00:00:51,380 --> 00:00:56,580 things, basic classes of adversarial examples. One where you modify the pixels coming in for 12 00:00:56,820 --> 00:01:01,660 images. You modify the pixels of an image so that a classifier screws up 13 00:01:01,660 --> 00:01:07,920 This is the classic thing where you've got a cross-screen inside method attack, or you trigger a saliency, or various different types of attacks 14 00:01:07,920 --> 00:01:12,480 And we most, I hope most of us have seen Ian's panda 15 00:01:12,480 --> 00:01:16,200 Where he misclassifies it as a gibbon with some noise 16 00:01:17,260 --> 00:01:24,440 These sorts of attacks are good for understanding how neural deep learning works, but they don't act, they aren't actually attacks 17 00:01:24,440 --> 00:01:26,500 They can't do anything in the real world 18 00:01:26,820 --> 00:01:33,480 Because you'd have to grab the input out, the output of the camera, and modify the pixels on the fly, and it would 19 00:01:33,480 --> 00:01:38,760 You know, it's not a realistic attack, because it would be a requireable hardware computation 20 00:01:38,760 --> 00:01:45,360 Then you probably can get into a system. The other type of attack against machine learning is the physical modification 21 00:01:46,000 --> 00:01:51,640 So what you can do is you put a set of stickers on an object and have it misclassified 22 00:01:51,640 --> 00:01:54,320 One of the first papers that did this was one with 23 00:01:54,320 --> 00:01:56,360 They were attacking the 24 00:01:57,660 --> 00:02:01,420 Classifier that do stop signs because, you know, self-driving cars, stop signs 25 00:02:01,420 --> 00:02:04,000 And they came up with a way of producing 26 00:02:04,700 --> 00:02:12,180 Pixel modifications that they can put as stickers on the stop sign and causes the classifier to get misclassified 27 00:02:12,180 --> 00:02:13,420 You know, work badly 28 00:02:15,120 --> 00:02:19,140 There's some evidence that their attack does not work very well in real life 29 00:02:19,140 --> 00:02:26,240 And you have to have a weak, a poor classifier and a few other things to make it look like it works 30 00:02:27,140 --> 00:02:30,100 but these sorts of attacks are much harder to do 31 00:02:30,900 --> 00:02:38,300 So adversarial stickers or the second type of attack you actually can't put a thing on a person and out of it 32 00:02:38,300 --> 00:02:42,300 Okay, so the way you build the attack is there are three parts of the attack 33 00:02:42,300 --> 00:02:45,800 So you have the actual sticker, so 34 00:02:46,540 --> 00:02:48,560 Like I built this little object 35 00:02:49,320 --> 00:02:54,640 That contained the image, it's floating the pencil that holds the sticker 36 00:02:54,640 --> 00:02:56,220 it also holds a 37 00:02:56,220 --> 00:03:01,940 a mask so you can have the sticker be different shapes. Then we have a placer that puts the 38 00:03:01,940 --> 00:03:06,060 sticker on a bunch of images so that you can train against those images with the classifier. 39 00:03:06,460 --> 00:03:12,040 And then we have a trainer that actually does the training process. So it's very easy to 40 00:03:12,040 --> 00:03:16,320 build them, you've just got to build these through the components and if you go look 41 00:03:16,320 --> 00:03:21,580 at the original paper, there's a link to a GitHub account which has basically these things 42 00:03:21,580 --> 00:03:28,180 laid out. So if you've got a sticker, well the way I've built the sticker is you can 43 00:03:28,180 --> 00:03:34,880 take an image, a PNG image for a mask and it can be whatever you want as long as it 44 00:03:34,880 --> 00:03:39,620 fits within your training target thing or you can take a numpy array and then randomly 45 00:03:39,620 --> 00:03:45,080 initializes the patch around 50% gray with a bit of noise and that's the start of the 46 00:03:45,080 --> 00:03:49,220 sticker. It initializes that. When you pull the sticker, it gives you back the tensor 47 00:03:49,220 --> 00:03:51,560 for the sticker. I did this in about two weeks. 48 00:03:51,560 --> 00:03:56,440 It's called PyTorch and you can start applying it to images. It does a few things where it 49 00:03:56,440 --> 00:04:02,180 clips it so the sticker is an actual image so it stays in the pixel range and then it 50 00:04:02,180 --> 00:04:07,320 multiplies it by the mask so that it looks like that mask. An example is we've got the 51 00:04:07,320 --> 00:04:12,220 patch with the Defcon logo and then the mask that produced it and then we have the Endgame 52 00:04:12,220 --> 00:04:18,640 logo and the mask that produced it. So this is the simplest component but like the thing 53 00:04:18,640 --> 00:04:19,600 that we're actually training. 54 00:04:19,860 --> 00:04:21,200 This is the core. 55 00:04:21,280 --> 00:04:21,540 This is the core. 56 00:04:21,560 --> 00:04:24,760 So the rest is decorations around this. 57 00:04:26,220 --> 00:04:30,860 Probably the most important component is the placer. So what this does is you can take, 58 00:04:30,980 --> 00:04:37,720 you give three ranges, so a range of rotations that you're allowing, so any rotation in this 59 00:04:37,720 --> 00:04:43,500 range, so plus or minus 15 degrees, 30 degrees, a range of translations you're allowing and 60 00:04:43,500 --> 00:04:45,460 a range of scaling that you're allowing. 61 00:04:45,680 --> 00:04:51,240 So you can scale it up by 30% or down by 30% or whatever and you randomly select it. 62 00:04:51,240 --> 00:04:57,980 When you call it, what this does is it samples a bunch of your affine transformations within 63 00:04:58,680 --> 00:05:07,160 the ranges you've provided, copies the sticker into as many images as you have, and then 64 00:05:07,160 --> 00:05:13,280 transforms those stickers to be the right shape, also does this with masks, and then 65 00:05:13,280 --> 00:05:14,400 applies it to the sticker. 66 00:05:14,760 --> 00:05:19,180 So for how it works, so we've got the stickers on the side. 67 00:05:20,820 --> 00:05:26,300 And the masks on the side, and here is an affine transformation, and so randomly select 68 00:05:26,300 --> 00:05:34,940 a S, Theta, a Tx, and a Ty, and it'll select, in this case, 25 of those, and then apply 69 00:05:34,940 --> 00:05:39,720 that to each of those stickers, and then you get the transformation on the outside. 70 00:05:39,960 --> 00:05:45,180 So you see on the left you have the untransformed stickers, and on the right you have a bunch 71 00:05:45,180 --> 00:05:46,100 of transformed stickers. 72 00:05:47,540 --> 00:05:48,740 And so then you have... 73 00:05:48,740 --> 00:05:52,580 You store that and then put a little bit of math, and you apply the stickers to these 74 00:05:52,580 --> 00:05:53,620 images and you get... 75 00:05:54,280 --> 00:05:55,800 Sorry for the image quality here. 76 00:05:56,540 --> 00:06:04,040 You get a bunch of stuck images, like, stuck images, and that, at that point, you can 77 00:06:04,040 --> 00:06:04,780 feed to a classifier. 78 00:06:05,880 --> 00:06:08,700 And then we get to the last component, the trainer. 79 00:06:08,880 --> 00:06:12,980 This thing you can take in several models to train against, so these will be your white 80 00:06:12,980 --> 00:06:16,020 box models that you're training against, you're attacking against. 81 00:06:16,860 --> 00:06:18,720 It also takes an optimizer and a processor. 82 00:06:18,720 --> 00:06:20,580 There are a few other things you need to do gradient descent. 83 00:06:21,840 --> 00:06:28,020 This thing places the models and the stickers on the GPU and does all the stuff, the juggling 84 00:06:28,020 --> 00:06:29,320 that you don't want to think about. 85 00:06:29,800 --> 00:06:32,060 And actually what it does, it just performs the training. 86 00:06:32,580 --> 00:06:33,840 We have a basic training... 87 00:06:33,840 --> 00:06:39,640 The basic training loop here, this is for CIFAR, so we have our sticker on the left, 88 00:06:40,660 --> 00:06:44,900 and so the sticker goes through the placer with some images, and so it gets placed on 89 00:06:44,900 --> 00:06:45,040 the... 90 00:06:45,040 --> 00:06:46,880 Placed on the thing. 91 00:06:47,100 --> 00:06:48,660 So we have a bunch of 25 images. 92 00:06:48,720 --> 00:06:51,020 We have a bunch of images here that have had a sticker attached to them. 93 00:06:51,860 --> 00:06:57,860 Then this goes into a classifier, whatever classifier we have, that thing, and then 94 00:06:57,860 --> 00:07:00,500 we take the loss with respect to our target class. 95 00:07:00,700 --> 00:07:04,940 So in this case, I was going for the ninth class, the tenth class of CIFAR. 96 00:07:06,880 --> 00:07:10,100 So we take the loss with respect to what class we're trying to get, and then we do 97 00:07:10,100 --> 00:07:15,820 a back-prop gradient descent against the original sticker, because this entire thing from the 98 00:07:15,820 --> 00:07:18,420 original sticker to the loss is smooth... 99 00:07:18,420 --> 00:07:18,700 Is smooth. 100 00:07:18,720 --> 00:07:22,040 There's a smooth transformation, so we can do gradient descent with respect to the sticker 101 00:07:22,040 --> 00:07:22,320 itself. 102 00:07:23,920 --> 00:07:28,280 So this is the basic training loop, and if you wanted to do a single neural network, 103 00:07:28,440 --> 00:07:32,360 if you wanted to train it against a single classifier, you just do this, and you're good. 104 00:07:33,720 --> 00:07:37,700 But if you want to train it against several classifiers, so what happens if you want to 105 00:07:37,700 --> 00:07:40,000 train it against two, well, this... 106 00:07:40,000 --> 00:07:45,400 You can train it against two by going, okay, in my loop, I'm just going to do it twice, 107 00:07:45,440 --> 00:07:45,800 basically. 108 00:07:45,900 --> 00:07:47,620 The same basic loop twice. 109 00:07:47,620 --> 00:07:48,340 I'm going to have... 110 00:07:48,340 --> 00:07:51,640 You're going to do the first classifier, and then the second classifier, and then I'm 111 00:07:51,640 --> 00:07:53,980 going to loop until I get a sticker that works. 112 00:07:54,220 --> 00:07:56,640 So this is for an ensemble training against multiple models. 113 00:07:57,240 --> 00:08:02,020 And then there's the other way of doing it, which is what you do is you, instead of feeding 114 00:08:02,020 --> 00:08:06,480 into one classifier, you feed it into two classifiers, you get a loss, add it up, and 115 00:08:06,480 --> 00:08:08,900 take the gradient all the way back, and you get a result. 116 00:08:09,680 --> 00:08:15,720 So those two things work, and then you can train up a classifier, and here we go. 117 00:08:16,420 --> 00:08:16,820 Result. 118 00:08:17,720 --> 00:08:19,440 So if we have... 119 00:08:19,440 --> 00:08:20,400 I did this with... 120 00:08:20,400 --> 00:08:26,660 Like, the only thing I could get this working on was CIFAR, and we'll happily talk to people 121 00:08:26,660 --> 00:08:28,680 about null results here. 122 00:08:29,120 --> 00:08:34,400 So what I did was I got those four models on the side, so VGG-style network with nine 123 00:08:34,400 --> 00:08:40,520 layers, VGG with 13 layers, a ResNet with 22, and a DeepNet, which doesn't perform that 124 00:08:40,520 --> 00:08:41,820 well with 10 layers. 125 00:08:42,020 --> 00:08:43,920 And then I targeted against... 126 00:08:43,920 --> 00:08:44,660 Okay. 127 00:08:46,320 --> 00:08:46,800 Okay. 128 00:08:48,260 --> 00:08:54,260 I targeted against a ResNet-10, and the graph on the left is for that scale. 129 00:08:54,440 --> 00:09:00,780 For the zero scale, we had no performance, so this would be the image scale down to a 130 00:09:00,780 --> 00:09:01,080 point. 131 00:09:02,140 --> 00:09:03,760 Obviously, it's not going to do anything useful. 132 00:09:04,060 --> 00:09:08,340 And then when it covers 20% of the image, it's kind of useful. 133 00:09:08,520 --> 00:09:15,320 And then at about 40% of the image, it saturates the convolutional layers, and that causes 134 00:09:15,320 --> 00:09:16,020 misclassification. 135 00:09:16,820 --> 00:09:22,640 For this sticker here, you need to cover 40% of the image, and then it'll cause a misclassification. 136 00:09:26,160 --> 00:09:31,600 And this was trained in the sequential model, and then if you train it in parallel, it doesn't 137 00:09:31,600 --> 00:09:32,240 perform as well. 138 00:09:37,820 --> 00:09:39,440 There's reasons for that, but... 139 00:09:40,960 --> 00:09:44,080 So I built this out, tested it against CIFAR. 140 00:09:44,200 --> 00:09:46,260 You know, CIFAR was the unit test. 141 00:09:46,260 --> 00:09:48,700 And then I went, okay, I'm going to get this working on ImageNet. 142 00:09:49,420 --> 00:09:53,580 And so I went through the original paper, and with CIFAR, you can... 143 00:09:53,580 --> 00:09:59,620 With this stuff, it was trained with a certain range of rotations, scalings, and conflations. 144 00:10:00,180 --> 00:10:07,520 And if you take the rotation to be with plus or minus 90 degrees, it doesn't train well. 145 00:10:07,560 --> 00:10:07,980 It doesn't work. 146 00:10:09,280 --> 00:10:13,320 So in the original paper, they mentioned, oh, you can do complete rotations. 147 00:10:13,340 --> 00:10:14,720 It can be stuck in any orientation. 148 00:10:14,720 --> 00:10:15,340 It's fine. 149 00:10:15,800 --> 00:10:16,500 It'll work. 150 00:10:16,780 --> 00:10:18,340 But what they... 151 00:10:18,340 --> 00:10:21,860 When you actually look at their code, they only translate it by plus or minus 15 degrees 152 00:10:21,860 --> 00:10:27,360 in that range, which, well, that's the first thing that I was like, this is a little bit 153 00:10:27,360 --> 00:10:28,320 not so good. 154 00:10:28,820 --> 00:10:35,120 But so with CIFAR, this thing is with their parameters, and if you go for bigger parameters 155 00:10:35,120 --> 00:10:43,380 and more manipulation of the affine transformations, is that curve drops off rapidly, the more 156 00:10:43,380 --> 00:10:44,580 you perturb the image. 157 00:10:47,080 --> 00:10:54,680 So for these, this is how the GIFs of the training through an ImageNet. 158 00:10:55,800 --> 00:11:01,960 So what I did was I grabbed four ImageNet models of the PyTorch repository. 159 00:11:02,880 --> 00:11:04,000 I stuck... 160 00:11:04,000 --> 00:11:09,220 I pointed my trainer to train against those four, and it's the same set that I trained 161 00:11:09,220 --> 00:11:09,820 CIFAR against. 162 00:11:09,860 --> 00:11:14,520 So it would be a ResNet, ResNet-50, some 2BGG. 163 00:11:14,660 --> 00:11:14,700 And then it would be a CIFAR. 164 00:11:14,720 --> 00:11:16,180 And then it would be 2BGGs and a DeepNet. 165 00:11:16,460 --> 00:11:23,280 So I trained that against that, and I targeted a ResNet-50-3 or one of the BGGs. 166 00:11:23,660 --> 00:11:28,400 And the performance I got out of this was about 10%, 5%. 167 00:11:28,400 --> 00:11:30,840 So it doesn't actually function as well as the paper says. 168 00:11:30,960 --> 00:11:37,140 The paper that they have says it should work at the same as the CIFAR curves. 169 00:11:37,740 --> 00:11:39,680 And I got a flat curve. 170 00:11:43,240 --> 00:11:44,360 I tried... 171 00:11:44,360 --> 00:11:45,480 I went back to their paper. 172 00:11:45,620 --> 00:11:47,300 They're only using 5,000 examples. 173 00:11:47,620 --> 00:11:50,040 They're using models that may or may not... 174 00:11:50,040 --> 00:11:51,720 I don't know what their models look like. 175 00:11:52,220 --> 00:11:56,660 Could not get the thing to work after like two months of sitting. 176 00:11:57,340 --> 00:11:59,860 So basically, like, welcome to AI Village. 177 00:12:00,220 --> 00:12:01,280 We have a novel result. 178 00:12:04,520 --> 00:12:09,800 So references, like, I only used, like, the original paper, and then we got Ian's panda 179 00:12:09,800 --> 00:12:11,200 and the stop sign. 180 00:12:11,760 --> 00:12:14,280 So if you guys have any questions... 181 00:12:15,880 --> 00:12:16,360 Yeah? 182 00:12:25,280 --> 00:12:25,760 Yeah? 183 00:12:33,000 --> 00:12:37,700 I would be able to then do a white box attack, and these were designed to be black box attacks. 184 00:12:38,200 --> 00:12:40,160 And it's more effective with white box attacks. 185 00:12:41,560 --> 00:12:42,040 I... 186 00:12:42,620 --> 00:12:42,860 I... 187 00:12:42,860 --> 00:12:47,080 If I wanted this to be a realistic attack against machine learning models, which I 188 00:12:47,080 --> 00:12:47,480 should... 189 00:12:47,960 --> 00:12:49,920 And this should be robust enough to be black box. 190 00:12:50,260 --> 00:12:54,740 Also one of the things that makes the image more robust to train against several models 191 00:12:54,740 --> 00:12:57,140 is it's supposed to be an ox. 192 00:12:57,380 --> 00:13:01,640 It classifies as a conch shell, but that's partially because of the T-shirt printing. 193 00:13:02,640 --> 00:13:03,800 So it's not... 194 00:13:03,800 --> 00:13:07,660 The T-shirt printing isn't sensitive enough to get the fine details required for this 195 00:13:07,660 --> 00:13:08,640 to overwhelm the classifier. 196 00:13:09,340 --> 00:13:12,620 So I started this project with, like, yeah, these adversarial patches. 197 00:13:12,620 --> 00:13:13,040 It looks... 198 00:13:13,040 --> 00:13:13,880 The paper looks awesome. 199 00:13:13,920 --> 00:13:14,520 I'm going to do it. 200 00:13:14,580 --> 00:13:17,120 And then end of the project with, like, this is not realistic. 201 00:13:18,440 --> 00:13:18,860 Yeah? 202 00:13:21,140 --> 00:13:23,600 I don't remember at this point. 203 00:13:23,900 --> 00:13:24,040 I... 204 00:13:25,880 --> 00:13:26,300 Yeah. 205 00:13:30,620 --> 00:13:31,460 It might... 206 00:13:31,460 --> 00:13:33,300 It could be that I made a mistake somewhere. 207 00:13:34,080 --> 00:13:34,500 Yeah. 208 00:13:39,000 --> 00:13:41,920 So the code that I wrote is up on GitHub. 209 00:13:42,180 --> 00:13:42,600 It's... 210 00:13:42,600 --> 00:13:48,040 And I will be writing a blog post with AI Village and describing exactly why I think this 211 00:13:48,040 --> 00:13:48,620 is an old result. 212 00:13:49,180 --> 00:13:53,780 And with all the code and it's designed to be easily readable so you can see what's going 213 00:13:53,780 --> 00:13:54,000 on. 214 00:13:56,740 --> 00:13:57,220 Yeah? 215 00:14:02,600 --> 00:14:03,080 Yes. 216 00:14:07,520 --> 00:14:08,000 Yeah. 217 00:14:14,840 --> 00:14:15,240 Yeah. 218 00:14:18,280 --> 00:14:18,680 40%. 219 00:14:21,300 --> 00:14:22,780 Well, it becomes... 220 00:14:22,780 --> 00:14:23,600 There's a... 221 00:14:23,600 --> 00:14:29,220 Like, from making a few thousand of these, I have inclinations to say, you're going to 222 00:14:29,220 --> 00:14:30,440 get situations where... 223 00:14:30,440 --> 00:14:32,720 So the deeper the network, the more effective the attack. 224 00:14:34,060 --> 00:14:38,040 Part, I think, is because it can diffuse out more before it gets to the final, fully 225 00:14:38,040 --> 00:14:38,240 complete network. 226 00:14:41,540 --> 00:14:42,900 So, yeah. 227 00:14:46,420 --> 00:14:47,100 Yeah. 228 00:14:47,100 --> 00:14:47,400 I think... 229 00:14:47,400 --> 00:14:47,480 So, yeah. 230 00:14:47,480 --> 00:14:47,620 Yeah? 231 00:14:49,940 --> 00:14:50,280 Yes. 232 00:14:52,480 --> 00:14:56,700 I trained it on my desktop that has two 1080 TI's. 233 00:14:57,240 --> 00:15:01,240 And like a 670K... 234 00:15:01,240 --> 00:15:03,280 6700K thing. 235 00:15:04,040 --> 00:15:04,720 Yeah. 236 00:15:04,960 --> 00:15:06,420 I also trained... 237 00:15:06,420 --> 00:15:08,240 I actually trained those CIFAR things and... 238 00:15:08,240 --> 00:15:17,300 on my Razer Blade with the 1060, so this architecture, the model parallel 239 00:15:17,300 --> 00:15:22,940 architecture is about seven times faster than the sequential thing because you 240 00:15:22,940 --> 00:15:31,340 can put it on each one in each GPU and you don't have to juggle things. So it 241 00:15:31,340 --> 00:15:36,260 can train in about half an hour for image against a portion of image in. You 242 00:15:36,260 --> 00:15:42,100 only want to train it against like maybe 10,000 images, so you don't need to go 243 00:15:42,100 --> 00:15:47,900 all the way. Also when you actually go to decide, okay I'm going to do this, I pick 244 00:15:47,900 --> 00:15:56,160 a very very aggressive step size. So their step size in the paper is 5 and I 245 00:15:56,160 --> 00:16:00,480 found that if you make that too low it just stops, it doesn't move. So these 246 00:16:01,320 --> 00:16:06,120 GIFs were made with a step size of 0.3, so 247 00:16:06,120 --> 00:16:09,000 make them pretty and make them actually look like they're doing something. 248 00:16:23,300 --> 00:16:26,260 Do you want to try that out? The code is open source on the repo. 249 00:16:31,860 --> 00:16:35,160 So the way I built this was with the 250 00:16:36,440 --> 00:16:39,640 so there's the affine grid transformation in PyTorch, which was 251 00:16:39,640 --> 00:16:45,980 designed for spatial sequential networks. So in those they have a training 252 00:16:45,980 --> 00:16:50,520 parameter to unperturbed the network. So you know you put an affine 253 00:16:50,520 --> 00:16:55,300 transformation on an image to do data augmentation. So these networks were 254 00:16:55,300 --> 00:16:59,220 designed to learn how to undo data augmentation as well as do a 255 00:16:59,220 --> 00:17:04,300 classification. So there the architecture that for them is a there's a pair of 256 00:17:04,300 --> 00:17:05,140 objects. 257 00:17:05,160 --> 00:17:09,780 There's operations in PyTorch that do that step and they take in parameters 258 00:17:09,780 --> 00:17:15,980 like that, like the scanning thing. So that affine transformation is just a 259 00:17:15,980 --> 00:17:19,900 grid transformation and you can feed, it's a smooth transformation, you can 260 00:17:19,900 --> 00:17:26,120 feed data into that thing to fix your transformations to be useful. So there's 261 00:17:26,120 --> 00:17:30,140 actually a paper for doing, manipulating the affine transformations. 262 00:17:33,600 --> 00:17:33,960 Yeah. 263 00:17:35,060 --> 00:17:35,420 ... 264 00:17:43,380 --> 00:17:47,920 I would just, if I was a specific network that I was targeting, I would just do this. I 265 00:17:47,920 --> 00:17:53,360 wouldn't try to do ensemble training and stuff. Just focus on that one. 266 00:17:56,420 --> 00:18:00,120 Yeah. No, I wouldn't have to do anything. You might be able to be a bit more pervasive in your operations. 267 00:18:00,120 --> 00:18:00,660 training, too. 268 00:18:12,960 --> 00:18:14,540 Mm-hmm. Yeah. 269 00:18:36,360 --> 00:18:43,800 Yes. That's the thing. When you do this, when you take this, if you allow the rotation to 270 00:18:43,800 --> 00:18:51,420 be sampled from within plus or minus 90 degrees, the whole system breaks down. So the rotation 271 00:18:51,420 --> 00:18:57,160 that is actually effective is plus or minus 30 degrees or 15 degrees. So they already 272 00:18:57,160 --> 00:19:00,100 pretty much say these stickers have to be sitting straight up. 273 00:19:00,120 --> 00:19:01,640 Straight up and nice. Yeah. 274 00:19:14,520 --> 00:19:15,640 Yeah, but... 275 00:19:16,520 --> 00:19:23,740 Yeah, but they learn how to recognize dogs that are upside down. 276 00:19:27,720 --> 00:19:28,280 Yeah. 277 00:19:37,740 --> 00:19:39,320 Mm-hmm. 278 00:19:50,240 --> 00:19:56,040 Um, maybe? So I tried... 279 00:19:56,460 --> 00:19:57,160 Sorry. 280 00:19:58,700 --> 00:19:59,400 Sorry. 281 00:20:02,160 --> 00:20:04,000 Do you want to read the question? 282 00:20:05,140 --> 00:20:13,140 Actually, not the question. Not the question, but dealing with the VGG22, I think the kernels 283 00:20:13,140 --> 00:20:21,720 there are about three multiplied matrix. So the scaling is a lower one. 284 00:20:24,160 --> 00:20:24,560 Okay. 285 00:20:25,020 --> 00:20:29,980 Um, so the scaling is the receptive field. 286 00:20:30,060 --> 00:20:30,100 Yeah. 287 00:20:30,100 --> 00:20:33,120 The receptive field at the bottom is three by three, but then you go up one layer, the 288 00:20:33,120 --> 00:20:36,420 receptive field at the next thing, when you go all the way back down to the image is nine 289 00:20:36,420 --> 00:20:42,960 by nine. And then one layer up, it's like 27 by 27. Sorry, it's not, not by nine by 290 00:20:42,960 --> 00:20:48,280 nine. It's five by five and then six by six. Um, it's, sorry, uh, seven by seven. So the 291 00:20:48,280 --> 00:20:56,920 receptive field for this, that pixel at the top of the VGG22 is, uh, three times, yeah, 292 00:20:56,920 --> 00:21:04,600 22 times two plus one. So it's massive. So this pixel sees a lot. 293 00:21:11,400 --> 00:21:11,960 Yeah. 294 00:21:15,140 --> 00:21:17,620 Um, I want you to make... 295 00:21:17,620 --> 00:21:26,900 Yeah. Okay. Uh, yeah, we also put resonant... yeah. And the this, we tried also to also, you can try to, so the average is 20. 296 00:21:26,920 --> 00:21:29,720 against every architecture. Inception is also one of the ones that you can train against. 297 00:21:33,100 --> 00:21:43,040 So I think we're going to be... Mark Mager is the next guy? One quick question and then... 298 00:21:47,220 --> 00:21:52,740 I don't know if... I'm going to write the blog post and see, and then after that I'll 299 00:21:52,740 --> 00:21:57,060 see if I feel like continuing to work on this is fine. But I think we need to move on to 300 00:21:57,060 --> 00:21:58,020 our next speaker. So Mark?