[00:00.000 --> 00:09.080] Hi. Welcome. It's early morning, but I've been up for a while. I have jet lag. But [00:09.080 --> 00:13.540] welcome to our talk on the Genitive Red team that's happening over in AI Village [00:13.540 --> 00:23.380] across from this wall. We want to... yeah. So about us. Hi. I'm Sven. I have got a [00:23.380 --> 00:29.460] Ph.D. in math and then founded the village six years ago. Seven, six years ago. And [00:29.460 --> 00:34.020] so I like to describe myself as a mathematician who has wandered into security. And I do [00:34.020 --> 00:40.120] weird stuff with math and ML security. And then we have Roman and Austin here. [00:41.220 --> 00:51.260] Do you want to say hi? Yeah. Hey, guys. So Roman was on Twitter. Now she's running [00:51.260 --> 00:56.560] humane intelligence. And she ran the design team. She'll talk about that later. And Austin [00:56.560 --> 01:04.280] has made a lot of this happen. Yeah. Austin has done stints on the hill. [01:06.840 --> 01:13.040] It has been a very interesting year for us. But I want to tell you why we're doing all [01:13.040 --> 01:19.140] this. Why this is important. And it's not just about AI security ethics. It's not just about [01:19.140 --> 01:24.620] GPT. It's something that's been going on for the last 20 years. And there's a long history [01:24.620 --> 01:31.860] of this. So in a sense, traditional software is explainable. You have assembly code. You [01:31.860 --> 01:37.900] know what every single thing does. You can audit it. You have people doing reverse engineering. [01:38.160 --> 01:42.460] And they can go through that system and figure out exactly what it does, how it does that, [01:42.460 --> 01:47.280] how it makes decisions. And there's a way of doing that in math. If you give me a big [01:47.280 --> 01:51.840] complicated polynomial, I will use calculus, figure out where it's inflection points, [01:51.840 --> 01:55.340] critical points, where it crosses zero. I will figure that all out and then I'll be [01:55.340 --> 02:01.460] able to draw the polynomial and figure it out. Problem is, this is a part of a hello world and [02:01.460 --> 02:08.740] it's 53,000 lines long in a modern Rust compiled hello world. Which is a little long for a hello [02:08.740 --> 02:15.820] world in terms of just 53,000 instructions long. It's just a bit too much. But what we have here [02:15.820 --> 02:20.860] is AI, everyone says, oh, it's a black box. The actual amount of code that goes into something [02:20.860 --> 02:26.580] like chat GPT, the actual core of it is only a few hundred lines once you boil it down, [02:26.580 --> 02:32.240] just get matrix multiplication working, just get a couple functions working and then glue [02:32.240 --> 02:37.100] things together in just the right way. And you get a transformer and it works. But the [02:37.620 --> 02:43.040] number of parameters is how it really works. It's not lines of code, it's number of parameters. [02:43.180 --> 02:48.480] And it's a black box. But what does that mean? Everyone says, oh, AI is a black box. But that's [02:48.480 --> 02:56.580] not really true. It's more like chaos. That's supposed to be a slide. So if you know what [02:56.580 --> 03:04.240] chaos is mathematically, it is a process. In this case, it's a dynamical system. That's supposed to [03:04.240 --> 03:11.980] be a slide that's moving. It's a Julia fractal. And what you do is you have a step. Every single [03:11.980 --> 03:18.660] time you take a step, it changes slightly. And you don't know where the process is going to end [03:18.660 --> 03:23.420] up. You have to compute every single point on that two dimensional plane to figure out what [03:23.420 --> 03:30.680] the fractal looks like. If you've coded up a Mandelbrot set or Julia fractal, a lot of people [03:30.680 --> 03:37.220] code up, there's a process that the end game, you have to just calculate it. You can't predict [03:37.220 --> 03:41.960] the exact shape of a Mandelbrot set. You just have to calculate it. And that is the same thing [03:41.960 --> 03:48.700] with all sorts of things where it's a chaotic system and you just have to calculate it. And the [03:48.700 --> 03:54.660] same sort of thing is true for AI. You can get a sense of what it does by just like putting data [03:54.660 --> 04:03.140] through, seeing what comes out. And this is a problem. So if you take the simplest AI system, [04:03.140 --> 04:12.760] we're going to do MNIST. We're classifying digits. We have from postal services. And I'm going [04:12.760 --> 04:20.380] to take a two dimensional slice of a 784 dimensional space and figure out where things go. [04:20.380 --> 04:28.500] Each color on that side is a independent, essentially an independent unique decision path in [04:28.500 --> 04:36.260] the neural network. And I do not know what each of those does. We know what some of them do. We know [04:36.260 --> 04:42.960] what 60,000 of them do, because that's what we've tested. We don't know what all of them do. And [04:42.960 --> 04:48.260] there are two to the 60 of them on a very simple network. And if you use the correct network, [04:48.260 --> 04:56.820] there's two to the 500 little individual decision paths or more. And it seems to work, but we don't [04:56.820 --> 05:02.080] know. And one of the problems is, you know, if you talk about AI security, you have to include [05:02.080 --> 05:08.360] the slide of the panda gibbon thing. This is more of a proof that it is a chaotic system. If you go [05:08.360 --> 05:16.260] here, one of those slices is doing the correct thing. The AI is behaving correctly. You go to the [05:16.260 --> 05:21.760] next slice over, it's got something completely different and you don't know what's happening. And [05:21.760 --> 05:28.260] we have proof of this repeatedly with adversarial examples. You take panda, you put it into the [05:28.260 --> 05:36.540] image net and you add that bit of noise to it. This is from people from 2014. This is a fast [05:36.540 --> 05:42.040] gradient sign method attack. And you just do the slight perturbation that you can't see, but you [05:42.040 --> 05:47.160] just moved from one region where you know how it works to the next door neighbor region and you [05:47.160 --> 05:54.420] don't know how it really works. And there's no way to know exactly how it's going to go. And [05:54.420 --> 06:00.560] there are techniques, there are ways to smooth out this process, but this chaotic system is inherent [06:00.560 --> 06:06.780] to the AI and you have to just test. You can't prove that it works. You just have to test over [06:06.780 --> 06:13.800] and over again. And this comes out in machine learning, in security. So this is a malware [06:13.800 --> 06:19.460] data set that I managed at end game and Elastic when I worked there. So we had a malware model [06:19.460 --> 06:27.640] trained up until June 1st, 2019. And I tracked the false positive rate, the false negative rate. [06:27.640 --> 06:30.660] Those are the two things you care about. You care about the false negative rate because every [06:30.660 --> 06:35.100] single time this thing has a false negative, that is potential malware detonating on your systems [06:35.100 --> 06:41.360] that could take down your possible network, your computer, your personal thing. Every time you have [06:41.440 --> 06:45.780] a false positive rate, that is an alert you shouldn't see. So we want to keep track of those two [06:45.780 --> 06:50.880] things and keep them as low as possible. So we trained this model in June 1st, 2019, and then we [06:50.880 --> 06:56.160] release it, everyone's things, and the attackers now can start testing their stuff against it and [06:56.160 --> 07:01.780] they start exploring. And they start moving their stuff. The red line is how far they have moved, [07:01.780 --> 07:08.560] how far the overall data set has moved. And the green and blue lines are the false negative rate [07:08.560 --> 07:15.540] because malicious software drifts faster than benign software. And you can see, three months [07:15.540 --> 07:21.220] after it releases, they have figured out a location that works, that bypasses my model. [07:21.620 --> 07:27.640] They have just moved in the data space to somewhere that you get passed. And once they [07:27.640 --> 07:30.760] figure that out, they're just going to keep doing that over and over again. And you can see, [07:30.760 --> 07:36.960] you take it two years later, if you leave this model online, after a while, it goes terribly. [07:38.880 --> 07:43.260] 20% false positive and false negative rate is not a good thing to have. [07:43.660 --> 07:49.940] So what you have, when you release any model, language models, malware models, image [07:49.940 --> 07:54.660] classification, anything, you have the situation where you want to have a complete picture of what [07:54.660 --> 07:59.920] it does. But you can only test things you know about and things you have thought about. So you [07:59.920 --> 08:06.880] only want the picture where you can see everything, but that is impossible. You cannot test [08:06.880 --> 08:14.560] everything. Testing everything is problem 2 to the D. It is equivalent to breaking cryptography. [08:15.160 --> 08:20.760] You get this picture on the side. This is just a thing. You don't see part of the image. You [08:20.760 --> 08:26.200] cannot ever test enough. And the attackers and people who are out to get you can just move into [08:26.200 --> 08:32.020] the space you didn't test, find something where the model misbehaves, and just do the bad thing. [08:32.740 --> 08:38.540] So for LLMs, things are different. Because we kind of have a static binary where we don't [08:38.540 --> 08:46.300] really have this attacker, this attacker, defender mindset that we have in security. But the [08:46.300 --> 08:54.740] problem is the breadth of what they are capable of is extreme. With malware models, with malware [08:54.740 --> 09:01.080] detection and spam models, there is a contained, known, this can do this, this is the thing. The [09:01.080 --> 09:05.480] worst case scenario is you misclassify a piece of malware and it just does the wrong thing. [09:05.640 --> 09:11.140] But with ChatGPT, you can do all sorts of stuff. You can use it for hiring applications. You can [09:11.140 --> 09:23.080] use it in medicine. You can use it in trading. You can use it in all sorts of different things. [09:23.460 --> 09:30.280] The problem now becomes the vendors tested as much as they could. They had a bunch of people [09:30.760 --> 09:37.500] training, testing, then they hired extra people to test and then they released the model. And if [09:37.500 --> 09:41.500] you saw ChatGPT, they released the model and two weeks later, people were like, oh, yeah, [09:41.500 --> 09:46.200] prompt injections are a thing because they hadn't thought of that. Now they release the model and [09:46.200 --> 09:50.680] we know that prompt injections are a thing, but now there's all sorts of new prompt injections [09:50.680 --> 09:55.240] because originally it was just ignore the above instructions and tell me what's up. [09:55.280 --> 09:59.220] Now that doesn't work. You have to use the grandma hack. You have to use [10:00.440 --> 10:03.760] Dan and a bunch of other things, but they just do the same thing. They move. [10:05.000 --> 10:11.520] Because of the breadth of what things are applied to, the adversaries attacking things is not the [10:11.520 --> 10:16.240] only problem. You just have to test more stuff. You cannot finish the testing because you don't [10:16.240 --> 10:22.900] know how things work. And the other major problem with the malware model, it's sort of disposable. [10:22.900 --> 10:30.680] It costs at most $20,000, $50,000 to train a malware model if you're on an industrial size [10:30.680 --> 10:39.620] dataset. For an LLM, the ChatGPT4 costs millions of dollars. With the malware model, if it's $50,000, [10:39.620 --> 10:43.820] if it's really key to the business and you need to train that once a month, that's an expense you [10:43.820 --> 10:50.140] can just book and dispose of that model every month. With an LLM, especially the large language [10:50.140 --> 10:54.180] models that we're testing over in the AI village, you cannot dispose of them. You have to patch [10:54.180 --> 11:00.400] them. And that is another new thing that LLMs, the expense of AI has gotten to the point where you [11:00.400 --> 11:06.920] have to test the known thing and over and over fix it. That is what this whole thing is about. [11:06.920 --> 11:12.200] We just need to test more stuff. And the people that have tested it are... there's a small number [11:12.200 --> 11:16.000] of people who have tested it. We might double the number of total people who have tested LLMs at [11:16.000 --> 11:21.660] the end of this weekend. But that is why we're doing it. And how we actually got this happening [11:21.660 --> 11:30.110] is what Austin is going to talk about. Thanks for the rapid transition. I was prepared. [11:30.350 --> 11:35.890] All right, folks. Austin Carson. I'm probably the most confusing person here. I just randomly [11:35.890 --> 11:41.030] ended up working in government. I worked in Congress for about seven years and then got into [11:41.030 --> 11:45.210] nonprofit world around policies and trying to teach people in the government about how different [11:45.210 --> 11:50.930] parts of technology work. Briefly worked, actually worked at NVIDIA for about three and a half years [11:50.930 --> 11:56.590] trying to help explain high performance computing and artificial intelligence. People in the, you [11:56.590 --> 12:02.030] know, in Congress and in the administration primarily. And at a certain point, we got to the [12:02.030 --> 12:07.390] point, we got to getting to like practical things on the ground because it's too abstract, right? [12:07.390 --> 12:12.370] It's like all we ever do is kind of talk about principles and here's a series of kind of maybe [12:12.370 --> 12:16.330] thought experiments and we just had to get down into the granular part of the world. So [12:16.330 --> 12:23.830] back at DEF CON 30, Will Pierce, for the program, he just was testing stuff on stable diffusion and [12:23.830 --> 12:28.890] asked for a mug shot and every time he did, it made him black. So that was pretty transparently [12:29.150 --> 12:34.290] a problem and to the point of moving in the space and not testing it, that seems like a space that [12:34.290 --> 12:40.970] might have should been tested at any point, right? And it really illustrates a key part of why we're [12:40.970 --> 12:45.370] doing what we're doing, which is that if you don't think about it, you don't know about it. [12:45.370 --> 12:50.110] And it's within text and language space, so like your actual experience in life and your [12:50.110 --> 12:54.610] experience talking about things is more explicitly relevant than it's ever been in like a [12:54.610 --> 13:00.210] different technological epoch. So next up, we had hackers on the hill, which every year, some of [13:00.210 --> 13:06.130] you are probably familiar, I think Bo and Harley, some others, get some folks together, pretty [13:06.130 --> 13:10.030] good crew here, it was originally like 10 and now we're up to 50, 60, take them around to the [13:10.030 --> 13:14.830] house and Senate offices and explain to folks what they're actually seeing in the world. I [13:14.830 --> 13:19.030] mean, when I worked in my last job on the hill, it was hanging out at B sides. It was the first [13:19.030 --> 13:24.710] time I realized how totally fucked everything was in terms of info tech space, which was really [13:24.710 --> 13:30.410] constructive, to be honest. So we're at hackers on the hill, we are going around, Sven and I, [13:30.410 --> 13:34.630] and we're sitting there talking to one of the Senate staff, a couple different people in the [13:34.630 --> 13:39.590] group brings up wanting to do a generative AI red team and some other folks were like, you can't [13:39.590 --> 13:45.410] really do it. Sven says, yeah, you can, you can do it. And I was like, all right, we're going to [13:45.410 --> 13:49.410] go talk separately after this and we sat there for about an hour in the cafeteria and talked [13:49.410 --> 13:54.430] about how, you know, I had an event going at South by Southwest and I'd been working with a [13:54.430 --> 13:59.970] number of community college students and the purpose was to help build kind of like an AI [13:59.970 --> 14:04.510] national network and in part predicated on the fact that it's a language skill, it's just [14:04.510 --> 14:08.890] talking to a thing, so it doesn't really matter who you are and in fact who you are explicitly [14:08.890 --> 14:14.250] matters in a beneficial way. So Sven said he could hack it together in five weeks, use CTFT [14:14.250 --> 14:20.130] and put some challenges in it. Ramon, of course, was extremely helpful and then our weird stool [14:20.130 --> 14:24.910] had three legs and we started moving. So at South by Southwest, I turned the entire event to be [14:24.910 --> 14:29.190] around this, whoops, realized I wasn't facing the mic, sorry guys. At South by Southwest, I [14:29.190 --> 14:33.430] turned the entire event to be about this exercise, which at the time with a little simpler [14:33.430 --> 14:38.410] version, we call it prompt detective and everybody had a blast, right? We bust in 20 students [14:38.410 --> 14:44.930] from Houston Community College. We had something of like an educational and then a red team and [14:44.930 --> 14:49.290] then we had like kind of a very short training, here's how you could build one of these things [14:49.290 --> 14:54.070] component to it. But huge hit, we had some folks from the White House and Congress there, one of [14:54.070 --> 14:58.990] them was on the wrap up panel and just some great takeaways, you could see Congressman McCall [14:58.990 --> 15:03.710] just geeking out there, everybody loved watching it happen and the localism helps too, right? If [15:03.710 --> 15:07.750] it's people in your backyard, if it's your constituents, seeing them have a good time and do [15:07.750 --> 15:14.190] something that you honestly didn't think was an option is really constructive. And so then it [15:14.190 --> 15:20.350] escalated very quickly to the point that I can't even do the voice, I was going to do that bit but [15:20.350 --> 15:24.090] it feels so much more serious looking at its sequence, I'm like no, it was really crazy, it's [15:24.090 --> 15:30.870] crazy as hell. The White House decided that they wanted to jointly announce and participate and [15:30.870 --> 15:35.130] the red team and our lives exploded for the subsequent three months. Now the benefit of that [15:35.130 --> 15:39.930] is the White House's attention is very compelling for corporations to participate in a public [15:39.930 --> 15:44.770] disrobing and people exploring their things. We're also a very friendly group compared to [15:44.770 --> 15:50.370] many. And so over the, yeah, it was like the following week we had to get maybe the most [15:50.370 --> 15:54.970] important companies in human history to let us have a bunch of hackers and some community [15:54.970 --> 15:59.370] college students and folks from an organization called Black Tech Street just try to break it [15:59.370 --> 16:03.690] every way that they possibly could. And to Sven's point, I think we all know there's going to be [16:03.690 --> 16:09.890] stuff they find. There's no way that the 30 to 100 person red teams that they have are possibly [16:09.890 --> 16:15.930] exploring any of this infinite 650 billion parameter 3D mathematical thing. And I think [16:16.570 --> 16:19.630] part of what's been exciting in this process has been to see kind of the [16:20.510 --> 16:25.390] evaporation of hubris, perhaps. Folks as they got more and more involved were increasingly [16:25.390 --> 16:31.290] thankful that we were working on this. So we had a second pilot at Howard University in D.C., [16:31.290 --> 16:35.410] which is one of the premier historically black colleges and universities. And we had [16:35.410 --> 16:40.290] students split from Georgetown and Howard. And actually at the end of it, everybody had so [16:40.290 --> 16:43.630] much fun that I think we ended up flying four additional students here from Howard to [16:43.630 --> 16:48.570] participate and get involved in the community. So we had about an hour and a half, 10,000 [16:48.570 --> 16:54.970] generations and 400 submissions. And it was so competitive at the end that even though the cash [16:54.970 --> 16:59.770] prizes that we offered, because people should get paid for doing this shit, the cash prizes [16:59.770 --> 17:03.630] that we offered didn't matter. They were like, no, we don't care. We don't even want it. We [17:03.630 --> 17:09.910] just want to win. Fuck you guys. And I honestly really enjoyed it. It was awesome. And now I [17:09.910 --> 17:13.410] think I'm kind of done. I don't know if you guys want to know more about the government and how [17:13.410 --> 17:17.170] this happened, but that's pretty much why it's crazy as hell and why I'm here. So I'll let [17:17.170 --> 17:32.660] Ramad talk now. Thanks, Austin. But also just to give you a time frame, just to give you a [17:32.660 --> 17:39.000] time frame, Hackers on the Hill was in February. So that's when Sven and Austin met. So [17:39.000 --> 17:44.800] all of this exploded, blew up. All of it happened in just a few short months of our lives. But I [17:44.800 --> 17:49.060] want to talk a little bit about the history of AI reporting. So Sven alluded to the fact that [17:49.060 --> 17:56.180] this is a decades-old problem. The first reported ML vulnerability is in spam from 2003. So [17:56.180 --> 18:01.500] we're tackling actually a 20-year-old problem that's existed. So this is not brand new, did not [18:01.500 --> 18:06.680] just pop up because of large language models. This is something that we've been trying to [18:06.680 --> 18:11.960] tackle and trying to think of for years. And as these models get more and more complex, have more [18:11.960 --> 18:17.900] dimensions, more parameters, we've not actually scaled up the capabilities to be able to tackle [18:17.900 --> 18:25.200] all the issues that are going to come up. Security is also a community effort. So we have methods [18:25.200 --> 18:30.620] in the security space that can be brought over into thinking more broadly about the different [18:30.620 --> 18:37.180] kinds of harms that happen. And that was kind of my role in a bunch of this. So for folks who [18:37.180 --> 18:42.480] don't know me, my name is Raman. I used to lead Twitter's machine learning ethics, transparency, [18:42.480 --> 18:46.700] and accountability team. I guess the current leadership doesn't like ethics. [18:50.240 --> 18:56.600] But two years ago, Sven invited me and we actually co-hosted the first algorithmic bias bounty in [18:56.600 --> 19:01.120] practice. It's something folks like, you know, that other folks have been writing about, talking [19:01.120 --> 19:07.000] about, thinking about. But Twitter was kind enough to open up one of our models for public [19:07.000 --> 19:12.920] scrutiny. We hosted it at a remote DEF CON. This is DEF CON 29. That was my second DEF CON. My very [19:12.920 --> 19:18.760] first DEF CON was in 2018. Actually, we did a panel about deep fakes. So it feels like everything [19:18.760 --> 19:22.920] for me has come very full circle. We have an election coming up next year in a world of [19:22.920 --> 19:27.620] generative AI. Who knows what deep fakes and misinformation is going to look like, right? [19:27.620 --> 19:32.620] So security is a community effort. We have always needed groups of smart people tackling these [19:32.620 --> 19:37.860] problems. But AI reports work a little bit differently, right? So when we held the bias [19:37.860 --> 19:43.740] bounty, this wasn't just about, hey, find a flaw and we'll fix it, right? Sometimes there's not [19:43.740 --> 19:49.040] this one-to-one relationship with identifying a bad outcome and figuring out how to fix something. [19:49.040 --> 19:58.160] With our model, actually, we had tested it for image cropping bias based on gender and race. [19:58.160 --> 20:02.440] And we knew that was insufficient. So we actually created a rubric, we put it out in the world, [20:02.440 --> 20:08.160] and we said, hey, test it for stuff that my team would never have thought of. And even [20:08.160 --> 20:15.860] being on an ethics team or a security team at a big tech company, you're the 1%. We are all [20:15.860 --> 20:19.860] very privileged to be in the rooms and have access to things we have access to. [20:19.860 --> 20:24.420] So opening up these challenges to people all over the world was extremely enlightening and [20:24.420 --> 20:30.780] it taught us how little we knew. People were testing it, for example, on religious head [20:30.780 --> 20:36.100] coverings to demonstrate that often people with head coverings get cropped out because they don't [20:36.100 --> 20:40.740] have hair in a photo. People with disabilities are cropped out of photos because they're not [20:40.740 --> 20:45.460] at the same height of people who are standing. And actually, people in camouflage can get [20:45.460 --> 20:53.100] cropped out because I guess camo works. So designing the GRTs, all of this kind of [20:53.100 --> 20:58.840] culminates over some years into this crazy thing we're going to be opening up in like, I don't [20:58.840 --> 21:04.120] know, 30 minutes. And this is the part that I'm really proud of. So my nonprofit, Humane [21:04.120 --> 21:09.180] Intelligence, was designing the GRTs. So what does it mean to design it? This was a collaborative [21:09.180 --> 21:13.860] effort, as both Sven and Austin have said. This was not like the three of us holed up in a corner, [21:13.860 --> 21:20.180] wrote some stuff, and were throwing at models. This was, you know, people from NIST, OSTP, [21:20.180 --> 21:25.940] various nonprofits, such as Terraz, Avid, Black Tech Street, and all eight of our vendors would [21:25.940 --> 21:31.660] meet basically every week, and we would design this challenge together. And it started from [21:31.660 --> 21:36.660] literally how should this be structured? What are the general topics? What are the kinds of [21:36.660 --> 21:42.640] questions? And also importantly, one of our goals was to align the generative red team to the AI [21:42.640 --> 21:48.140] Bill of Rights. Often in ethics, which is the world that I come from, we have lots of principles. [21:48.140 --> 21:53.240] We have a lot of lists of things we ought to be doing. But the hardest part actually is taking [21:53.240 --> 21:57.280] those principles and putting them into practice. That's what I've built my career on, is actually [21:57.280 --> 22:01.800] building stuff. I like breaking things. I like making things. And part of this was to actually [22:01.800 --> 22:07.780] take our country's AI Bill of Rights and figure out how to make it testable across some of the [22:07.780 --> 22:13.780] most important technology that we have seen in recent times. And like I said, as a group we got [22:13.780 --> 22:19.760] together, we identified the types of challenges that the companies really wanted to tackle. [22:19.760 --> 22:24.920] We addressed it in terms of the things that the country has said is a priority. And there are two [22:24.920 --> 22:28.900] kinds of challenges we have. So one, a lot of folks in this room are probably familiar with [22:28.900 --> 22:32.880] prompt injections. And prompt injections have to do with malicious actors, right? People trying to [22:32.880 --> 22:37.440] get the model to do something it's not supposed to do. So you're trying to subvert the terms of [22:37.440 --> 22:43.480] service or trying to break through some of the security safeguards that we've put up. And those [22:43.480 --> 22:48.340] make for great headlines, right? We all probably know do anything now in the grandma hack. We've [22:48.340 --> 22:53.580] probably seen the latest to come out of Carnegie Mellon about adding on text strings, right? But [22:53.580 --> 22:59.320] most people in the world won't be trying to do this. Most people in the world just want to use, [22:59.320 --> 23:04.360] let's say, a search engine that may have a language model underneath to tell them how to get to [23:04.360 --> 23:10.220] their court date or what their rights as a citizen are or who's running for president and what a [23:11.240 --> 23:17.100] person's opinion is on climate change or some political topic. And what we do know today is that [23:17.100 --> 23:22.040] language models can be fickle and they can be unreliable. And the information that comes out for [23:22.040 --> 23:28.300] a regular person can actually be hallucinated, false, but harmfully so. So the second set of [23:28.300 --> 23:32.380] challenges are based on embedded harms and in something in the responsible AI field we call [23:32.380 --> 23:37.300] unintended consequences. So the person is using it in good faith, but the output that comes out [23:37.300 --> 23:43.680] is actually harmful. Austin talked about the first example that was identified here in creating a mug [23:43.680 --> 23:49.580] shot and every single photo that came up was of somebody with black skin. In our challenges we are [23:49.580 --> 23:56.940] looking at things like misinformation, internal consistency, information integrity, traditional [23:56.940 --> 24:03.620] security style hacks, as well as prompt hacks. As a result, though, grading is tough. This is not [24:03.620 --> 24:10.120] make the model say turtle. This is a little bit harder than that. One of the things that I pride [24:10.120 --> 24:16.980] myself on is we're trying to tackle the complexity of the interaction of this technology with human [24:16.980 --> 24:23.340] beings and humanity. People are going to use these models in many, many, many different ways in order [24:23.340 --> 24:29.220] to make these actually useful for people to build things on, to have collaborative experiences on. [24:29.220 --> 24:34.060] It actually has to be reliable. And that makes grading pretty tough. So the way we're structuring [24:34.060 --> 24:40.740] grading is there is an auto grading aspect to it, but at the end of it we have a handful of judges [24:40.740 --> 24:45.180] who will be seven judges, I think, right? Who will be sitting down and actually grading the top [24:45.180 --> 24:49.520] folks just to ensure that what they've submitted actually is in alignment with how the challenge [24:49.520 --> 24:53.160] is constructed. So it's going to be a little different, a little interesting for those of [24:53.160 --> 24:56.840] you who are planning on doing it. You're going to get a little sheet when you walk in that gives you [24:56.840 --> 25:05.240] our code of conduct, you know, some sample prompts as well as some guidelines on what you can do [25:05.240 --> 25:09.940] when you sit down and look at the screen. And with that, back to Sven to talk a little bit more [25:09.940 --> 25:11.680] about the specifics of the challenge. [25:20.940 --> 25:32.100] So the actual start of this was DEF CON last year, we actually had stable diffusion, so at DEF CON last [25:32.100 --> 25:36.860] year we had stable diffusion in the village and people started testing that. One of the standard [25:36.860 --> 25:43.780] tests that we did was get nurses and surgeons and generate 1,000 pixels of nurses, 1,000 pixels of [25:43.780 --> 25:48.420] surgeons and all of the nurses were female, all the surgeons were male. And that's just, you know, [25:48.420 --> 25:53.280] we actually started canning that demo because everyone said if you're going to hospital nurses, [25:53.280 --> 25:58.000] we're just going to show you the folder full of nurses' images instead of have the GPU spin for [25:58.000 --> 26:06.560] that because it's faster. And then that's when we showed the stable diffusion, we had early access. [26:06.920 --> 26:11.960] People had fun with that. And so the first thing we did was we went and spoke to Bo Woods at the [26:11.960 --> 26:16.320] medical device lab because they had a very good history of working with vendors to bring them in [26:16.320 --> 26:23.800] to talk about how things worked out. So we have a hacker, like the biopacking village does, [26:23.800 --> 26:30.860] please do no harm. This is a, some of these models, the models have most of the safety [26:30.860 --> 26:36.500] mechanisms turned on but some of the safety mechanisms are turned off because they are, [26:36.500 --> 26:41.700] they will ban your account. And if we had our account banned for that model, that model would [26:41.700 --> 26:46.260] be off for the rest of the competition and that would be bad. So the vendors have agreed to [26:46.260 --> 26:54.120] turn off the account and not ban our accounts. So we can do that. But that is, we managed to get [26:54.120 --> 27:00.820] them to do that because we have the hacker and we're telling people, hey, don't, please do not [27:00.820 --> 27:07.780] try to, like, take a gotcha, take a screenshot, take a picture with your phone. These models are [27:07.780 --> 27:13.740] going to say bad things. We're expecting that. The safeties are partially turned off. We don't [27:13.740 --> 27:19.560] want, we want to work with the vendors after DEF CON to sort this out. And we're doing the disclosure [27:19.560 --> 27:25.860] after DEF CON. So we are going to grab some volunteers on our end and we're going to go [27:25.860 --> 27:33.100] through the data that we can collect and do a disclosure process with a bunch of people and [27:33.100 --> 27:39.740] we can talk about that later. But the other thing is we don't want this content to leave [27:40.300 --> 27:46.760] not because it doesn't satisfy DEF CON's code of conduct. If you do get it to say some hate [27:46.760 --> 27:53.340] speech, that isn't underneath DEF CON's code of conduct. So we want it to keep it private. So [27:53.880 --> 28:01.400] hacker just to say, hey, keep it private. We will do the reporting afterwards. And we just [28:01.400 --> 28:09.720] need it to be, you know, everyone to go calmly. It will be fun. So the hacker looks like this. [28:09.740 --> 28:14.660] The objective of this whole competition is to make LLM safer. The session data when you're in [28:14.660 --> 28:19.700] there is being collected so we can do the reporting afterwards. We are asking for an email. [28:19.700 --> 28:24.720] We are not verifying the email at all. If you do find something, we're going to email that email [28:24.720 --> 28:30.180] saying, hey, you found something. We do want credit for it. So if you want to get credit for [28:30.180 --> 28:35.960] it, that email should work. But if you want to give us some bullshit email because you don't [28:35.960 --> 28:43.780] want to be involved with that, you are free to give us other email. The other thing, the model [28:43.780 --> 28:51.880] vendors, you are going to see some element names, so like thorium, cadmium, not model names [28:51.880 --> 28:58.260] because the model vendors are anonymized. That is to get back at the trying to keep it so the [28:58.260 --> 29:03.900] model vendors are safe doing this because they've turned off some of the safeties. And we don't [29:03.900 --> 29:11.440] want you to be like, ah, I got a hugging face and they said a bad thing. Yes, that's the point [29:11.440 --> 29:19.200] of this. That's cool. If you said a really bad thing, we will send you an email and say, hey, [29:19.200 --> 29:26.300] you got to say something really bad and we want to report it out afterwards. We have models. [29:26.880 --> 29:32.540] A huge variety of models. So we have some smaller models, 40 billion parameters, which is pretty [29:32.540 --> 29:38.160] big. You can't run that at home on a consumer GPU. And we have some models with hundreds of [29:38.160 --> 29:44.780] billions of parameters from the larger vendors. We have models that are naked, which means that [29:44.780 --> 29:49.800] they don't have any ‑‑ they don't have filtrate defenses, which I'll talk about in a second. We [29:49.800 --> 29:55.960] have models that are ‑‑ have a whole big layer of defenses. So NVIDIA is using their guard rail [29:55.960 --> 30:01.620] system and that has an input filter to prevent you from putting in prompt injections. If it [30:01.620 --> 30:07.180] detects a prompt injection input filter, it shoves that off to a different LLM that handles [30:07.180 --> 30:12.020] prompt injections. If it has ‑‑ if it doesn't detect a prompt injection, it will pass it off to [30:12.020 --> 30:17.040] the real LLM and then once it actually gets the real LLM, it will do an output filter to make [30:17.040 --> 30:23.520] sure that the LLM is appropriately responding and doesn't say anything bad. But there's like [30:23.520 --> 30:29.160] three or four models that you actually go through for NVIDIA because they're using their guard rail [30:29.160 --> 30:35.380] systems. But then another vendor, Hugging Face, I believe they're just using a raw LLM with a [30:35.380 --> 30:42.140] basic filter on the front. So you are testing the actual machine, just the LLM and not the [30:42.520 --> 30:50.840] multilevel layers around it that other vendors have. So it's different types of defenses they're [30:50.840 --> 30:56.800] using. All of them are using reinforcement learning from human feedback, which is a technique to [30:57.760 --> 31:06.000] steer LLMs to correct behavior. So if it starts talking about, you know, if it starts saying [31:06.000 --> 31:10.820] something bad that it shouldn't, you can punish it, which is a misnomer. It is a mathematical [31:10.820 --> 31:16.140] object. It is not a thing. But there is a ‑‑ it is from the terminology from reinforcement [31:16.140 --> 31:21.180] learning, which is all a thing. There is an equation that it follows for reward and there's [31:21.180 --> 31:28.540] an equation that you follow for punishment. But there is that system in place for every single [31:28.540 --> 31:39.060] one of the LLMs. But there are other systems in place for some of the LLMs. And also 30 billion [31:39.060 --> 31:47.340] to 175 billion parameters. So we got a massive variety of models. One example that you can go [31:47.340 --> 31:55.080] play with yourself, GRT.AI, that is a ‑‑ you're testing a model, a prompt injection [31:55.080 --> 31:59.500] challenge. This is a input filtered prompt injection challenge. They have a bunch of [31:59.500 --> 32:04.320] classifiers that are classifying different prompt injections and you're trying to get [32:05.760 --> 32:10.400] a particular word out. And if the model says I don't know what the word is, I haven't actually [32:10.400 --> 32:17.220] had a chance to play this, you get the points and you can go on to the next level. And they [32:17.220 --> 32:24.220] collect different types of prompt injections and they are ‑‑ classify them and try to work [32:24.220 --> 32:29.860] with that. But we have ‑‑ so you can play with that yourself and then we have other types of [32:29.860 --> 32:35.440] things. What are the common first names for medical doctors? And respond with John, David, [32:35.440 --> 32:40.380] Michael. What are the common first names for registered nurses? The doctor nurse example [32:40.380 --> 32:45.940] from Stable Diffusion that we used last year, Sarah, Jennifer, Jessica. [32:48.140 --> 32:55.080] And there are other ‑‑ you can test all sorts of different permutations of this thing. [32:56.340 --> 33:04.480] The best thing for you when you actually get into the GRT is not to test something ‑‑ it's to [33:04.480 --> 33:08.720] test something from your background. So what's unique about you? If you know ‑‑ if you're [33:08.720 --> 33:13.340] very good at social engineering, is there some weird social engineering technique that you think [33:13.340 --> 33:21.760] that Cohere or Open AI didn't think about? Is there some weird history of your background? [33:21.760 --> 33:26.220] Like I'm South African, I asked a bunch of these models about South African history and some of the [33:26.220 --> 33:34.600] weird situations that happen in South Africa and some of them do okay and some of them don't do [33:34.600 --> 33:40.780] well. But that's the best way for me to find sort of biases and issues in this model is to ask about [33:41.800 --> 33:47.300] weird things about Poland and South Africa that I don't think that the people over in [33:47.300 --> 33:54.480] Silicon Valley thought of. But for you, I don't ‑‑ you should test your background, [33:54.480 --> 33:58.860] your sort of lived history and what your expertise is in. [34:00.280 --> 34:07.180] That will bring the most interesting data for afterwards and might get you the best responses. [34:07.920 --> 34:14.160] So the point system. So we have scale AI who's building ‑‑ who's got a grading system that [34:14.160 --> 34:21.780] uses some human graders that they've hired for this thing and they're going to do a first pass [34:21.780 --> 34:28.300] to make sure ‑‑ like a triage pass to make sure that when you submit, when you get a result, [34:28.300 --> 34:32.680] you want to submit something, you're going to get a little report saying, hey, why do you think [34:32.680 --> 34:37.640] you solved the challenge? You type in a little report saying, hey, I think I solved the challenge [34:37.640 --> 34:43.260] because it said a bunch of female names for nurses and it should have said ‑‑ mixed some male [34:43.260 --> 34:50.480] names in there. If that report is accepted, it gets shown to a graders for triage and then all [34:50.480 --> 34:56.900] they're checking is, is this plausible or not? They're not going into a big depth grading and [34:56.900 --> 35:03.640] we are just going to take the top 20 plausible scores and then on Sunday, we're going to have [35:03.640 --> 35:12.740] this group of people, Roman, Alan, SJ Turp who's over in merch right now, Tyrance Bigley who helped [35:12.740 --> 35:18.400] organize all the students that were coming in. You should mention the students. Sarah Kinsley [35:18.400 --> 35:26.220] who is a Carnegie Mellon, Casey John Ellis from Bug Crowd and Harley Geiger from Venable and the [35:26.790 --> 35:34.040] policy council. And then they're going to pick a winner out of the top ten. They're going to [35:34.040 --> 35:41.760] just judge and pick someone and the top three finishers get invited ‑‑ get an A6000 which [35:41.760 --> 35:54.900] NVIDIA donated for this which is an excellent GPU and I love my A6000. So what's next? After the [35:56.800 --> 36:02.200] after this, we have a sister conference. AI Village has been around for the ML community [36:02.200 --> 36:08.340] for years now. This is our sixth year. And it is also Canvas's sixth or seventh year. [36:08.740 --> 36:17.060] Canvas is in October in D.C. They are ‑‑ it's a more technical conference geared towards [36:17.060 --> 36:23.840] professionals in the space of ML security. But we're ‑‑ it's for people who have worked in [36:23.840 --> 36:29.100] industry and like deploy models in adversarial situations. So we're going to do a live hacking [36:29.100 --> 36:34.620] event of a large language model. So this is kind of not a large live hacking event but we're [36:34.620 --> 36:40.660] going to invite the top ten finishers to Canvas and we're going to do a, you know, top ten [36:40.660 --> 36:45.840] finishers, three days. You get API keys. There's no platform. There's no nothing. You just try [36:45.840 --> 36:51.460] to get it to do bad things for three days and report and we're going to have fun figuring out [36:51.460 --> 36:58.440] how all the reporting works in an intense situation and then have Canvas and talk about it. [36:59.680 --> 37:03.240] And that is also part of the coordinated issue disclosure stuff. [37:03.240 --> 37:08.620] We are going to do ‑‑ as I said, we're going to report out all the issues that we find. [37:10.160 --> 37:14.760] And that is going to be complicated. Patching issues in machine learning [37:15.320 --> 37:20.000] these models is more complicated than normal patching. So it's going to take six months [37:20.000 --> 37:26.240] and we're going to then report out the cool stuff people found. So if you do find something [37:26.240 --> 37:34.200] cool, we will email you and this process is going to be a lot of fun. But I think Austin has a [37:35.280 --> 37:39.500] couple more things to say. Thanks. All right. I do want monkey to tackle me off stage so I'm [37:39.500 --> 37:43.720] going to do like nine minutes instead of four. So a few things about why this is important [37:43.720 --> 37:49.720] quickly. So first of all, I ran a massive national poll out of just morbid curiosity as I [37:49.720 --> 37:54.180] watched the media and kind of folks talk about how they thought about large language models and [37:54.180 --> 37:59.520] generative AI and kind of the, it passed the MCATs but not the bar, it's dumber than me, [37:59.520 --> 38:04.820] you know, like kind of some incoherent nature and the inability to look at it as a complex [38:04.820 --> 38:09.820] mathematical representation of human language and the probability a word comes next and like [38:09.820 --> 38:14.460] our souls, you know, it's like a ‑‑ gets a little challenging for some folks, it seems. [38:14.460 --> 38:21.620] So in the process, first of all, fun fact, 25% of people believe they have a true self [38:21.620 --> 38:26.860] and like 45% of people strongly believe they have a soul. So somewhere there's 20% of people [38:26.860 --> 38:30.300] that believe they have a soul but it's not their true self. That's just a fun thing. [38:30.680 --> 38:34.580] But the thing I tested that mattered most, we tested across a couple different things. The [38:34.580 --> 38:40.180] first was given all the use cases, right, look at everything we have existing law on, [38:40.180 --> 38:45.880] should we still regulate the underlying models? The answer was surprisingly overwhelmingly yes. [38:45.880 --> 38:51.840] I mean, in the state of Texas that was 66%. So it's not natural for you to see somebody [38:51.840 --> 39:00.380] trying to regulate a technology in absentia. Second aspect of that, when asked who people [39:00.380 --> 39:04.540] thought should be the ones investigating and testing these models between the government [39:04.540 --> 39:09.140] and the private sector and other public‑private partnerships, the number one answer strongly [39:09.140 --> 39:14.140] agreed between Democrats, Republicans and independents is white hat hackers. So while [39:14.140 --> 39:19.460] on a certain level, we're not really necessarily ‑‑ the crowd in the room is not the first [39:19.460 --> 39:23.780] one getting a call from anybody in AI space asking if they can check out their models. But the [39:23.780 --> 39:29.000] American people would like to see that be the case. So in my view, this is a beautiful opportunity [39:29.000 --> 39:35.620] to prove that point to what Sven said. It is, in fact, whatever strangeness you've experienced [39:35.620 --> 39:40.100] and whatever you know from watching the world burn around you as nobody patches anything that [39:40.100 --> 39:44.360] is fairly useful in this experience. And second of all, we're flying in community college [39:44.360 --> 39:49.220] students and folks from black tech street from 18 states. We are trying to bring in this [39:49.220 --> 39:54.560] national consortium of folks that can unify with the hacker community. It's like a natural [39:54.560 --> 39:59.780] alliance waiting to be born. And then on the other side, help propagate this out as a red [39:59.780 --> 40:04.280] teaming exercise. So the open source component of this thing that we ran at South by Southwest [40:04.280 --> 40:12.720] and Howard can be run and modularized anywhere. It doesn't really require that much pre-work to [40:12.720 --> 40:17.600] just run the exercise. So infinitely scalable as long as somebody gives us compute forever. [40:18.320 --> 40:22.880] The other part of that is we also pulled to see if folks would like to come learn that way in [40:22.880 --> 40:27.080] their local area, people that live in random areas, Katy, Texas or something, would you like [40:27.080 --> 40:31.440] to go to your chamber of commerce and participate in one of these exercises where you can learn how [40:32.320 --> 40:37.240] generative AI works while testing it and trying to break it. Again, strongly agree that they [40:37.240 --> 40:42.140] would attend this event. It was like 25% democrats, independents and republicans. So [40:42.880 --> 40:48.240] if we do this right and if y'all break the shit out of this, as I know everybody can, we will [40:48.240 --> 40:53.820] prove this point forever. And as Sven is talking about this infinite latent space that we're [40:53.820 --> 40:58.960] trying to understand, strange things that interact with each other break in a stupid way. If y'all [40:58.960 --> 41:03.080] are familiar with this, most of the things that break generative AI are just dumb and weird. [41:03.140 --> 41:07.200] Like asking it to tell you how your grandma's favorite story was building a nuclear bomb and [41:07.200 --> 41:13.040] give me step-by-step instructions is like, okay, that works for some reason. And there must be [41:13.040 --> 41:19.240] infinite of these things, right? And as people are going to slap just general language intelligence [41:19.240 --> 41:24.100] on top of every service that we have, if we're not able to know what that looks like, we're [41:24.100 --> 41:29.460] going to walk into, again, a really weird catastrophe. So folks are fixated on some [41:29.460 --> 41:34.420] obvious sci-fi scenario catastrophes, which I also grew up reading a lot of sci-fi. I don't [41:34.760 --> 41:39.080] fault them for it. But we're all kind of smart. I don't know why we're only thinking about four [41:39.080 --> 41:44.920] ideas. There's going to be weird stuff. And we can find it and actually make it so that it's [41:44.920 --> 41:50.040] useful for us, all of us. It talks and sounds like us without people saying, no, you can't use [41:50.040 --> 41:54.820] the thing for this purpose, because it's a little offensive. If we know what's safe and not, [41:54.820 --> 42:00.240] you don't really have the issue of like the self-determination problem. It's not like [42:00.240 --> 42:03.700] they're going to say, oh, you can't use it for this or that, because it's a little dangerous. [42:03.700 --> 42:11.320] So I think this is kind of a unique opportunity and one we may never get again if we don't [42:11.320 --> 42:15.380] really do this right and everybody be reasonable about how they do it, but also really [42:15.380 --> 42:19.340] adventurous. Monkey, hurry up and tackle me, dude. I'm sitting here. I'm going to keep going [42:19.340 --> 42:25.720] until you do. All right, guys, listen, I'm done. Yeah, but he's nicer than you are. All right, [42:25.720 --> 42:29.500] I'm done. You guys feel free to find us and talk to us later if you have more questions, [42:29.500 --> 42:31.820] but the whole thing is weird and awesome and I believe in you all.