1 00:00:00,000 --> 00:00:06,360 Hi, I'm presenting Adversarial Example Witchcraft, or How to Use Alchemy to Turn Turtles into Rifles. 2 00:00:07,820 --> 00:00:08,420 Let's see. 3 00:00:09,580 --> 00:00:13,400 I'm Heather Lawrence. I do data science at the Nebraska Applied Research Institute. 4 00:00:13,460 --> 00:00:15,720 You can find me on Twitter under InfosecAnon. 5 00:00:16,040 --> 00:00:21,080 If you didn't get a chance to visit the slides online, I have them on my Twitter. 6 00:00:21,360 --> 00:00:24,340 And then I'm also not above bribing my audience, 7 00:00:24,340 --> 00:00:29,000 so I have stickers back there and cards in the event that you want them. 8 00:00:29,180 --> 00:00:34,060 Right back where this goon here is, waving his hand. 9 00:00:34,460 --> 00:00:35,000 All right, cool. 10 00:00:38,140 --> 00:00:44,480 So, here we see a video of Google's state-of-the-art Inception 3 model. 11 00:00:45,960 --> 00:00:48,160 And you see a printed turtle, right? 12 00:00:48,240 --> 00:00:50,500 It's obviously identified as a turtle. 13 00:00:52,900 --> 00:00:54,320 And then after making changes, 14 00:00:54,320 --> 00:00:55,520 changes to the texture map, 15 00:00:55,680 --> 00:00:59,900 the classifier believes it's a rifle with high confidence from every angle. 16 00:01:01,340 --> 00:01:03,380 Look at that rifle. Isn't it so pretty? 17 00:01:06,100 --> 00:01:10,860 So, most of this research in this space has focused on manipulating image classifiers. 18 00:01:11,580 --> 00:01:14,780 It's easier to tell visually that an effect is occurring. 19 00:01:16,200 --> 00:01:17,940 And we watched this video. 20 00:01:18,080 --> 00:01:19,840 We saw it being identified as a rifle. 21 00:01:20,040 --> 00:01:22,600 So, I'm going to motivate the real question of this talk, 22 00:01:22,700 --> 00:01:24,140 which is, what happens? 23 00:01:24,320 --> 00:01:30,040 What happens when an autonomous system cannot tell the difference between a turtle and a rifle in a surveillance state? 24 00:01:31,280 --> 00:01:33,700 I'm just going to, like, marinate on that one for a second. 25 00:01:34,600 --> 00:01:37,720 And so, I didn't write this for machine learning experts. 26 00:01:38,040 --> 00:01:39,700 I wrote this to be approachable. 27 00:01:40,080 --> 00:01:42,220 So, I'm going to use something, like, some terminology. 28 00:01:42,940 --> 00:01:47,400 A classifier is, like, a style of machine learning algorithm that determines a class of data. 29 00:01:47,980 --> 00:01:51,520 I might say SVM, which stands for support vector machine. 30 00:01:51,720 --> 00:01:52,620 It's a type of algorithm. 31 00:01:52,800 --> 00:01:54,120 You don't need to know about any of the math. 32 00:01:54,120 --> 00:01:54,780 You don't need to know math or how it works. 33 00:01:55,040 --> 00:01:58,020 When I say perturbation, I mean I'm basically adding noise. 34 00:01:58,220 --> 00:01:58,740 And that's it. 35 00:01:58,840 --> 00:02:00,920 It's a very fancy word. It means adding noise. 36 00:02:01,220 --> 00:02:06,460 And then adversarial example is presenting a worst-case example for an algorithm. 37 00:02:07,480 --> 00:02:09,160 And so, my outline goes like this. 38 00:02:09,640 --> 00:02:12,580 Brief history, types of attacks, what blind spots are. 39 00:02:12,720 --> 00:02:14,000 It's pretty important to motivate. 40 00:02:14,760 --> 00:02:18,240 Adversarial examples, what they are, how to defend against them as far as we know. 41 00:02:18,620 --> 00:02:21,820 White box versus black box techniques. 42 00:02:22,680 --> 00:02:23,560 A demo. 43 00:02:24,120 --> 00:02:25,260 And then resources are at the end. 44 00:02:26,580 --> 00:02:31,520 So, in 2004, Dalvi et al. released this paper called Adversarial Classification. 45 00:02:32,060 --> 00:02:34,900 And it was in the spam detection domain. 46 00:02:35,060 --> 00:02:40,000 And it outlined a formal game between a victim and a defending classifier. 47 00:02:40,200 --> 00:02:43,360 And they were trying to determine which one could fool the other. 48 00:02:44,600 --> 00:02:48,100 And then Hoang et al. in Adversarial Machine Learning, 49 00:02:48,220 --> 00:02:52,540 they kind of defined, like, a formal taxonomy regarding the attacks that are possible. 50 00:02:54,040 --> 00:02:59,640 And in 2016, it's interesting because now we've moved beyond the theoretical. 51 00:02:59,840 --> 00:03:03,540 And I don't even need access to your classifier to attack it anymore, 52 00:03:03,720 --> 00:03:05,580 which is kind of interesting. 53 00:03:08,660 --> 00:03:11,160 And so, we have poisoning versus evasion. 54 00:03:11,260 --> 00:03:13,000 Poisoning happens before training. 55 00:03:13,180 --> 00:03:15,400 And evasion happens after training. 56 00:03:15,680 --> 00:03:18,180 And you'll notice here from this Biggio et al. paper, 57 00:03:18,240 --> 00:03:20,500 you have part of the MNIST data set, 58 00:03:20,560 --> 00:03:21,420 which if you aren't familiar, 59 00:03:21,420 --> 00:03:25,280 is this huge image data set of handwritten digits. 60 00:03:25,440 --> 00:03:28,420 And the idea is the classifier is trying to properly determine 61 00:03:28,420 --> 00:03:29,980 what that digit is from handwriting. 62 00:03:31,180 --> 00:03:33,160 And so, they added some noise. 63 00:03:33,280 --> 00:03:35,880 And you'll notice the classification error, the validation error, 64 00:03:36,000 --> 00:03:38,440 shot up, right, after they added this noise. 65 00:03:39,100 --> 00:03:41,140 And so, the evasion attack after training, 66 00:03:41,300 --> 00:03:43,560 you see a bus, we add some noise, 67 00:03:43,780 --> 00:03:44,920 and now it's an ostrich. 68 00:03:46,180 --> 00:03:47,500 That looks like an ostrich, right? 69 00:03:51,620 --> 00:03:52,280 Yes, yeah. 70 00:03:52,520 --> 00:03:54,460 All right, so the types of attacks, right? 71 00:03:54,500 --> 00:03:58,060 We have causative, so we can manipulate the training data before training, 72 00:03:58,160 --> 00:03:59,400 if you have that kind of access. 73 00:03:59,740 --> 00:04:03,660 You have data poisoning, where you can specially craft attack points 74 00:04:03,660 --> 00:04:06,360 injected into the training data, again, before training. 75 00:04:06,600 --> 00:04:10,320 Or exploratory, where you're trying to exploit the classifier, 76 00:04:10,380 --> 00:04:13,000 kind of figure out how it works after it's already been trained. 77 00:04:13,860 --> 00:04:15,660 And then a hybrid is a mixture of those attacks. 78 00:04:17,560 --> 00:04:20,660 All right, this is probably the important part of this. 79 00:04:20,660 --> 00:04:23,140 Like, what is a blind spot, and why do I care about it? 80 00:04:23,440 --> 00:04:25,900 There are regions in the model's decision space 81 00:04:25,900 --> 00:04:27,800 where the decision boundary isn't accurate. 82 00:04:28,060 --> 00:04:32,780 And basically, this is areas that are not well-defined. 83 00:04:32,980 --> 00:04:34,540 And I like to use pandas. 84 00:04:34,540 --> 00:04:35,960 So, let's say I have a classifier. 85 00:04:36,400 --> 00:04:38,920 And I'm training the classifier on what a panda looks like. 86 00:04:39,460 --> 00:04:42,100 I've got a whole bunch of images on what pandas look like. 87 00:04:42,380 --> 00:04:46,040 But I want you to think for a second about the entire sample space 88 00:04:46,040 --> 00:04:47,320 of what is not a panda. 89 00:04:47,640 --> 00:04:49,680 And then I have to provide that to the classifier. 90 00:04:49,680 --> 00:04:54,480 I can't exhaust that space in any reasonable amount of time 91 00:04:54,480 --> 00:04:56,820 because the overhead on that is crazy, right? 92 00:04:57,080 --> 00:05:00,500 Everything that is not a panda has to be provided to the classifier. 93 00:05:01,020 --> 00:05:03,980 Well, if you don't provide that data, the classifier doesn't know. 94 00:05:04,040 --> 00:05:05,280 It has to infer, right? 95 00:05:05,340 --> 00:05:09,220 It has to infer what is not a panda based on what it thinks it is a panda. 96 00:05:09,720 --> 00:05:12,000 And so that's where these blind spots are coming in. 97 00:05:12,420 --> 00:05:17,880 Because we don't exhaustively provide the classifier that data. 98 00:05:18,460 --> 00:05:19,420 And given... 99 00:05:19,680 --> 00:05:21,800 This is an ongoing research area. 100 00:05:21,940 --> 00:05:25,740 So nobody has definitively proven yet why these exist. 101 00:05:26,280 --> 00:05:28,840 This is theoretically why they exist. 102 00:05:29,220 --> 00:05:30,920 So let me motivate that real quick. 103 00:05:32,000 --> 00:05:33,640 And so here be bugs, right? 104 00:05:33,960 --> 00:05:37,380 As introspection into algorithms increase, so do the flaws. 105 00:05:37,620 --> 00:05:39,400 Like bug bounty programs, right? 106 00:05:39,440 --> 00:05:42,920 You have more eyes looking on lines of code, you're going to see more errors. 107 00:05:42,980 --> 00:05:45,700 If you have more AI experts looking at the algorithms, 108 00:05:45,960 --> 00:05:47,540 you're going to see more flaws. 109 00:05:48,700 --> 00:05:49,220 So... 110 00:05:49,800 --> 00:05:51,600 The Bureau of Labor Statistics, 111 00:05:51,880 --> 00:05:56,180 it estimates there's like 105,000 information security analysts here in the US. 112 00:05:56,300 --> 00:06:00,920 Whereas Element AI estimates there's only 22,000 AI experts worldwide, right? 113 00:06:00,980 --> 00:06:02,780 That's a factor of five in this country alone. 114 00:06:03,540 --> 00:06:04,060 So... 115 00:06:04,680 --> 00:06:06,740 Do you want to get into machine learning? 116 00:06:06,820 --> 00:06:07,280 We need you. 117 00:06:09,400 --> 00:06:11,280 Alright, so what are adversarial examples? 118 00:06:11,840 --> 00:06:15,440 They're data that presents a worst case to the classifier. 119 00:06:15,560 --> 00:06:19,240 It's intentionally intended to make the classifier make a wrong decision. 120 00:06:20,040 --> 00:06:22,980 Some of the examples, particularly for information security, 121 00:06:23,380 --> 00:06:27,820 is detecting domain generation algorithms used in command and control infrastructure, 122 00:06:28,380 --> 00:06:32,200 and then malicious portable executables that are classified as benign. 123 00:06:32,300 --> 00:06:34,700 And there's actually a paper behind this, which is really cool. 124 00:06:35,320 --> 00:06:39,720 They determine the parts of the executable that could not be perturbed, 125 00:06:39,720 --> 00:06:42,880 could not be changed, in order for it to be executed. 126 00:06:43,240 --> 00:06:45,820 And then they took all the other bits, and they perturbed all those. 127 00:06:46,660 --> 00:06:48,900 And the classifier could not detect them. 128 00:06:48,900 --> 00:06:50,420 As being malicious. 129 00:06:50,640 --> 00:06:52,420 It was like, oh, this is fine, this is benign. 130 00:06:53,640 --> 00:06:55,740 So, maybe if you're information security, 131 00:06:56,080 --> 00:06:59,060 you remember signature-based detection and how that was a problem? 132 00:06:59,360 --> 00:07:02,560 Well, now we have a problem with machine learning-based detection, right? 133 00:07:02,620 --> 00:07:06,880 We're at that next stage of the attack-defense paradigm. 134 00:07:08,500 --> 00:07:13,580 So some real-world adversarial examples are the sticker attack on the self-driving cars. 135 00:07:14,860 --> 00:07:18,880 If the self-driving car cannot identify that that is a sticker, 136 00:07:18,880 --> 00:07:19,200 it's a stop sign. 137 00:07:21,080 --> 00:07:24,480 Using eyeglass frames on facial recognition systems, 138 00:07:24,640 --> 00:07:28,600 they cannot properly identify who the person is with a pair of glasses on. 139 00:07:29,280 --> 00:07:33,420 Or perturbing oral, vocal sound, 140 00:07:33,540 --> 00:07:38,040 and making it sound from, it was the best of times, it was the worst of times, 141 00:07:38,060 --> 00:07:38,900 adding some noise. 142 00:07:39,100 --> 00:07:41,280 And it is a truth universally acknowledged. 143 00:07:41,820 --> 00:07:44,520 Those aren't the same at all. 144 00:07:44,960 --> 00:07:45,460 Okay. 145 00:07:46,380 --> 00:07:46,940 Cool. 146 00:07:47,920 --> 00:07:52,240 And so now, remember how you used to throw salt over your shoulder for good luck? 147 00:07:52,380 --> 00:07:55,940 Well, now we're using salt circles to trap self-driving cars. 148 00:07:56,660 --> 00:08:01,100 So, we are effectively using alchemy to fool AI systems now. 149 00:08:03,600 --> 00:08:06,180 So, generating adversarial examples, right? 150 00:08:06,220 --> 00:08:07,780 What I've been talking about this whole time, right? 151 00:08:07,840 --> 00:08:12,000 We're adding noise, random perturbations to the sample. 152 00:08:12,540 --> 00:08:15,440 And it's optimized with something called gradient ascent. 153 00:08:15,540 --> 00:08:16,800 It has to do with derivatives. 154 00:08:16,800 --> 00:08:19,280 That part's not particularly important, 155 00:08:19,540 --> 00:08:24,580 but it's a method that determines the directions that move the algorithm's output 156 00:08:24,580 --> 00:08:25,980 by the greatest degree, 157 00:08:26,940 --> 00:08:30,060 and then directs the input by small degrees to create that output. 158 00:08:30,220 --> 00:08:30,980 That's a lot of words. 159 00:08:31,900 --> 00:08:33,300 Basically, we're just adding noise. 160 00:08:33,580 --> 00:08:34,940 We're adding special noise. 161 00:08:35,200 --> 00:08:36,700 And we're adding it to every pixel, 162 00:08:36,840 --> 00:08:38,940 so that when the classifier looks at it, 163 00:08:38,960 --> 00:08:41,400 it's like right in that blind spot. 164 00:08:41,480 --> 00:08:44,060 I don't know whether to infer that's a panda or not. 165 00:08:44,360 --> 00:08:44,420 Okay. 166 00:08:46,040 --> 00:08:50,340 So, what we can do about adversarial examples 167 00:08:50,340 --> 00:08:53,340 is we start facilitating robust algorithms. 168 00:08:53,700 --> 00:08:57,580 We know that retraining from scratch increases misclassifications. 169 00:08:57,980 --> 00:09:03,180 We know that retraining with disjoint data increases misclassifications. 170 00:09:03,520 --> 00:09:07,220 And we're starting to find out that training with adversarial examples 171 00:09:07,220 --> 00:09:09,780 reduces the amount of misclassifications. 172 00:09:11,540 --> 00:09:14,400 So, if we reduce the weights or the activations, 173 00:09:14,400 --> 00:09:15,580 given to the inputs, 174 00:09:15,860 --> 00:09:19,220 we can reduce the amount that that classifier is affected. 175 00:09:19,600 --> 00:09:22,280 We can also choose to keep a human in the loop. 176 00:09:22,500 --> 00:09:24,580 Do not use autonomous systems. 177 00:09:24,660 --> 00:09:27,500 Do not let them do whatever they want and not check them. 178 00:09:28,460 --> 00:09:31,140 Or, you can use something called the consensus method. 179 00:09:31,540 --> 00:09:34,300 So now, instead of having a single classifier that's trained, 180 00:09:34,500 --> 00:09:37,300 we now have, like, three classifiers that are trained. 181 00:09:37,480 --> 00:09:38,720 They take in the input, 182 00:09:38,840 --> 00:09:42,900 and they come to a decision on whether that input should be trusted or not. 183 00:09:43,360 --> 00:09:43,980 All right. 184 00:09:44,400 --> 00:09:47,860 These are all methods to try to make these classifiers more robust. 185 00:09:48,780 --> 00:09:51,380 And so, we might see our training life cycles change. 186 00:09:51,780 --> 00:09:54,200 Anybody who's done, like, machine learning in this room 187 00:09:54,200 --> 00:09:59,260 will notice that import data, clean data, test, train, split, and then deploy. 188 00:09:59,400 --> 00:10:01,500 That's already part of our life cycle. 189 00:10:01,740 --> 00:10:03,740 But now, with adversarial examples, 190 00:10:04,060 --> 00:10:07,940 we might have to train with them, continue to test with them, 191 00:10:08,120 --> 00:10:11,800 repeat this process, right, to get that sample space reduced, 192 00:10:12,060 --> 00:10:14,120 and then deploy afterwards. 193 00:10:14,400 --> 00:10:15,560 After we retrain. 194 00:10:21,120 --> 00:10:24,440 Unfortunately, some of the early research in this area 195 00:10:24,440 --> 00:10:26,400 had really bad attacker assumptions. 196 00:10:27,340 --> 00:10:29,600 It's like easy mode, white box assumptions, 197 00:10:29,800 --> 00:10:33,420 where the attacker apparently has the code, the training data, 198 00:10:33,640 --> 00:10:34,840 everything that happens. 199 00:10:35,140 --> 00:10:38,120 And, like, who has that kind of access? 200 00:10:38,240 --> 00:10:39,460 I don't have that kind of access. 201 00:10:40,480 --> 00:10:43,700 And they reference the information security community 202 00:10:43,700 --> 00:10:45,980 for trying to get, like, more robust attacks. 203 00:10:46,480 --> 00:10:48,180 But I guess they think we know something? 204 00:10:48,360 --> 00:10:48,740 I don't know. 205 00:10:49,140 --> 00:10:52,240 But black box research is now here, right? 206 00:10:52,300 --> 00:10:55,360 They're starting to assume more constraints. 207 00:10:56,700 --> 00:11:00,440 And attacks can be transferred between classifiers. 208 00:11:00,620 --> 00:11:01,900 It's called model transferability. 209 00:11:02,040 --> 00:11:03,420 I'm going to get into it here in a second. 210 00:11:03,940 --> 00:11:09,940 The idea is that an attacker model uses the victim model as an oracle. 211 00:11:10,020 --> 00:11:12,220 And it queries the oracle over and over again 212 00:11:12,220 --> 00:11:14,360 for the decisions on how it's going to classify. 213 00:11:14,740 --> 00:11:18,260 It takes those decisions, trains a separate, 214 00:11:18,380 --> 00:11:19,440 completely separate model, 215 00:11:20,060 --> 00:11:22,760 generates the adversarial examples from that attacker model, 216 00:11:23,000 --> 00:11:25,060 and those examples still work on the victim. 217 00:11:25,880 --> 00:11:26,480 Right? 218 00:11:26,500 --> 00:11:34,440 So this is from Adversarial Examples in Machine Learning by Paperno. 219 00:11:34,500 --> 00:11:37,480 It was presented in USENIX Enigma 2017. 220 00:11:37,900 --> 00:11:40,160 Basically the same idea, but visually represented. 221 00:11:40,380 --> 00:11:41,440 You have an attacker. 222 00:11:42,100 --> 00:11:43,360 Queries the oracle. 223 00:11:43,540 --> 00:11:47,380 The oracle returns what its classification decisions are. 224 00:11:47,600 --> 00:11:50,140 The attacker trains classifier B. 225 00:11:50,440 --> 00:11:55,600 And the adversarial examples that are affected by classifier B 226 00:11:55,600 --> 00:11:57,220 also affect classifier A. 227 00:11:57,420 --> 00:12:01,280 And so this graph that you see here on the left, right? 228 00:12:01,340 --> 00:12:01,840 A bunch of boxes. 229 00:12:02,660 --> 00:12:06,080 It's showing that the source machine learning technique, 230 00:12:06,860 --> 00:12:08,980 which ones were affected on the target. 231 00:12:08,980 --> 00:12:13,620 So on the vertical axis, let's look at LR, logistic regression. 232 00:12:14,620 --> 00:12:19,800 If my source was logistic regression and I trained it 233 00:12:19,800 --> 00:12:23,280 and I used the adversarial examples on, let's say, 234 00:12:23,420 --> 00:12:25,100 the other logistic regression, right? 235 00:12:25,160 --> 00:12:27,580 The victim model was also LR. 236 00:12:28,460 --> 00:12:32,000 My increase in misclassifications go up to 91%. 237 00:12:32,820 --> 00:12:33,660 That's huge. 238 00:12:34,140 --> 00:12:34,700 91%. 239 00:12:34,700 --> 00:12:36,440 Like look at all that huge black column. 240 00:12:37,620 --> 00:12:38,860 Decision trees are the worst. 241 00:12:38,980 --> 00:12:39,180 Apparently. 242 00:12:40,720 --> 00:12:42,060 And this is really scary, right? 243 00:12:42,100 --> 00:12:45,600 How many classifiers do you know that are logistic regression? 244 00:12:46,080 --> 00:12:47,180 Support vector machine. 245 00:12:47,680 --> 00:12:51,340 These are pretty popular classifier models. 246 00:12:53,520 --> 00:12:56,200 So what we know is that differentiable models 247 00:12:56,200 --> 00:12:59,740 like logistic regression are more affected than models that aren't. 248 00:12:59,820 --> 00:13:02,420 So like deep neural networks are less affected 249 00:13:02,420 --> 00:13:03,960 than logistic regression is. 250 00:13:04,720 --> 00:13:07,520 And they make use of something called reservoir sampling. 251 00:13:08,060 --> 00:13:08,960 When you have a reservoir sampling, 252 00:13:08,980 --> 00:13:11,280 if you have to query the oracle 10,000 times, 253 00:13:11,730 --> 00:13:12,840 somebody's going to notice, right? 254 00:13:13,520 --> 00:13:17,100 With reservoir sampling, I can get that down to 1,000 times 255 00:13:17,100 --> 00:13:18,620 and have less notice. 256 00:13:18,940 --> 00:13:23,620 But I can still have that randomized sampling space 257 00:13:23,620 --> 00:13:26,960 to where it's almost like I got the 1,000 queries 258 00:13:26,960 --> 00:13:27,820 and I only got 100. 259 00:13:30,580 --> 00:13:33,060 Notable recent research is very interesting. 260 00:13:33,300 --> 00:13:34,620 The space is moving very fast. 261 00:13:35,440 --> 00:13:38,700 Right now we're starting to use a limited information approach. 262 00:13:38,700 --> 00:13:42,400 And then testing it on the Google Cloud AWS classifiers 263 00:13:42,400 --> 00:13:43,540 to see how well they're affected. 264 00:13:44,520 --> 00:13:45,600 And they are affected. 265 00:13:47,300 --> 00:13:49,300 Some of the papers that I have in the resources, 266 00:13:49,440 --> 00:13:51,100 they go more into detail on this. 267 00:13:51,540 --> 00:13:53,340 And they actually show percentages. 268 00:13:53,540 --> 00:13:55,060 And they are in the 80s and above. 269 00:13:55,440 --> 00:13:59,820 So these are affected in state-of-the-art classifiers 270 00:14:00,480 --> 00:14:01,340 in the cloud. 271 00:14:02,720 --> 00:14:03,700 All right, so the demo. 272 00:14:04,100 --> 00:14:06,120 I know the adversarial patch was given yesterday. 273 00:14:06,120 --> 00:14:10,260 But if you have an app called TF Classify, 274 00:14:10,420 --> 00:14:12,280 it's a classification app that you can, 275 00:14:12,380 --> 00:14:14,820 that attempts to classify the things that you have 276 00:14:14,820 --> 00:14:16,300 in front of you one at a time, 277 00:14:16,400 --> 00:14:18,920 and provide it to this adversarial patch, 278 00:14:19,820 --> 00:14:20,900 it looks like a toaster. 279 00:14:21,860 --> 00:14:23,440 Does that look like a toaster to you? 280 00:14:24,220 --> 00:14:26,020 Yes, yes, it looks like a toaster. 281 00:14:26,400 --> 00:14:27,600 Man, I don't know what you have, 282 00:14:27,700 --> 00:14:28,860 but I want whatever you have. 283 00:14:29,540 --> 00:14:31,040 All right, so let's go through this demo. 284 00:14:33,120 --> 00:14:35,340 We have a pair of glasses. 285 00:14:37,700 --> 00:14:39,700 At 67%, 70%, pretty good. 286 00:14:41,420 --> 00:14:44,200 Yep, that's a toaster at about 40%. 287 00:14:47,120 --> 00:14:49,880 And then it's kind of limited on what it's been trained on. 288 00:14:50,040 --> 00:14:52,400 So here's my duo serving here. 289 00:14:52,460 --> 00:14:53,780 And that's apparently a Granny Smith apple. 290 00:14:56,040 --> 00:14:56,920 Good job, guys. 291 00:14:58,760 --> 00:15:00,940 So I have a bunch of references for this talk 292 00:15:00,940 --> 00:15:02,620 that I couldn't go into in 20 minutes. 293 00:15:02,800 --> 00:15:05,340 And that's why I provided links to the slides. 294 00:15:05,340 --> 00:15:06,940 It's written in 9 font. 295 00:15:07,100 --> 00:15:08,360 I don't expect you to take pictures of that. 296 00:15:09,000 --> 00:15:11,120 And maybe you are in this talk, 297 00:15:11,300 --> 00:15:13,280 and you're like, man, machine learning sounds cool. 298 00:15:13,440 --> 00:15:14,680 Here are some resources for you. 299 00:15:15,220 --> 00:15:17,280 There's a GitHub page with machine learning 300 00:15:17,280 --> 00:15:18,600 for cybersecurity, which is amazing. 301 00:15:18,940 --> 00:15:21,440 And of course, Andrew Ng's machine learning course 302 00:15:21,440 --> 00:15:23,400 is like the go-to thing for machine learning. 303 00:15:27,780 --> 00:15:28,760 So, takeaways. 304 00:15:28,920 --> 00:15:29,580 You walked in. 305 00:15:30,260 --> 00:15:32,220 Basically, machine learning algorithms can be attacked. 306 00:15:33,320 --> 00:15:35,240 Algorithms, like humans, have blind spots. 307 00:15:35,820 --> 00:15:37,720 You need to red team your algorithms 308 00:15:37,720 --> 00:15:38,920 to increase robustness. 309 00:15:39,440 --> 00:15:41,360 Otherwise, somebody's going to do it for you, 310 00:15:41,380 --> 00:15:42,240 and you may not know. 311 00:15:42,820 --> 00:15:44,200 And then like SQL injection, 312 00:15:44,620 --> 00:15:46,400 classifiers require input validation. 313 00:15:46,940 --> 00:15:49,460 If your classifier is taking input 314 00:15:49,460 --> 00:15:51,160 from an adversarial environment 315 00:15:51,160 --> 00:15:52,800 or a possible adversarial environment, 316 00:15:53,040 --> 00:15:55,560 that is, users that could put in data, 317 00:15:56,160 --> 00:15:57,960 make sure you control that data 318 00:15:57,960 --> 00:15:59,100 that you accept from that user. 319 00:15:59,260 --> 00:16:02,160 Right? Don't allow it to retrain your classifier 320 00:16:02,220 --> 00:16:03,740 or otherwise alter it 321 00:16:03,740 --> 00:16:05,280 to make poor decisions. 322 00:16:06,580 --> 00:16:08,120 Again, you can get these slides here. 323 00:16:08,320 --> 00:16:09,500 My name is Heather Lawrence. 324 00:16:10,080 --> 00:16:11,760 I work data science at NARI. 325 00:16:12,780 --> 00:16:13,920 Thank you for your attention.