1 00:00:18,010 --> 00:00:19,770 So, I'm Maya Hammond. 2 00:00:19,770 --> 00:00:20,650 I'm from the U.S. 3 00:00:20,650 --> 00:00:24,670 Center for AI Standards Innovation, which I'll be calling Casey from now on. 4 00:00:24,970 --> 00:00:34,830 And this is State of the Evals, where I'm going to be talking about some lessons learned from basically our year of cyber capabilities and security evaluations of AI models. 5 00:00:35,430 --> 00:00:37,150 So, let's get into it. 6 00:00:38,810 --> 00:00:42,490 The first, very first, is what is the Center for AI Standards and Innovation? 7 00:00:42,490 --> 00:00:45,330 So, this is the overview. 8 00:00:45,430 --> 00:00:53,030 We were actually founded in 2024 as the AI Safety Institute within NIST, which is the National Institute of Stands of Technology. 9 00:00:53,710 --> 00:01:02,370 We were reformed in May of this year by Secretary of Commerce Howard Lutnick to do the following things. 10 00:01:02,370 --> 00:01:05,510 So, those include leading evaluations and assessments of U.S. 11 00:01:05,510 --> 00:01:24,370 and foreign AI systems, including adoption and potential security vulnerabilities, establishing voluntary agreements with different AI developers to basically evaluate AI capabilities with national security, relevance, and importance, and develop best practices for improving AI security for doing these kinds of AI model evaluations, 12 00:01:24,850 --> 00:01:26,890 including by working with other parts of the U.S. 13 00:01:26,890 --> 00:01:32,110 government with national security partners to, you know, strengthen and improve these evaluations. 14 00:01:32,530 --> 00:01:37,090 So, to date, we've signed a bunch of research and testing agreements, including with major U.S. 15 00:01:37,090 --> 00:01:47,090 AI developers, and general research agreements with other folks who develop evaluations, and with a bunch of private organizations through the consortium. 16 00:01:47,290 --> 00:01:56,910 We've implemented and adopted a suite of lots of evaluations and domains, including cyber, which I'll be talking about today, biological, chemical, software, and AI development. 17 00:01:57,350 --> 00:02:14,210 We've completed a lot of voluntary pre-deployment and post-deployment national security evaluations, and we've collaborated with many partners in the federal government on national security testing, so basically to improve and develop these methods, and to share expertise and testing resources. 18 00:02:16,070 --> 00:02:21,110 So, I'm going to start by basically talking about our offensive cyber capabilities evaluations. 19 00:02:21,350 --> 00:02:29,170 And these are evaluations that we do to try to assess a model's ability to assist with and automate offensive cyber activities, and to try to keep the U.S. 20 00:02:29,170 --> 00:02:35,970 government, you know, situationally aware of, like, the state of AI model capabilities, and what the future might hold. 21 00:02:35,970 --> 00:02:43,530 So, I'll start by talking about some of the public benchmarks that we use and the trends that we've kind of seen over the year of evaluations. 22 00:02:44,410 --> 00:02:47,390 Actually, I'll start by talking about what our cyber capabilities. 23 00:02:47,630 --> 00:02:49,710 So, don't try to read this tiny text. 24 00:02:50,010 --> 00:02:51,390 These are some different frameworks. 25 00:02:51,390 --> 00:02:53,210 So, this is MITRE ATT&CK over here. 26 00:02:53,310 --> 00:02:59,610 If you're at this conference, you're probably familiar with this sort of breakdown of different adversary tactics, techniques, and procedures. 27 00:03:00,410 --> 00:03:06,570 Then there are sort of ways that folks have tried to map these to ways that threat actors might use LLMs. 28 00:03:06,570 --> 00:03:08,350 So, this is, like, an example from Microsoft. 29 00:03:09,090 --> 00:03:14,070 Here's how folks are using LLMs for reconnaissance, for scripting, for development, for social engineering. 30 00:03:14,550 --> 00:03:19,570 And then other folks who are other evaluators, so, like, pattern labs, build cyber capability evaluations. 31 00:03:19,870 --> 00:03:27,590 They have some of these different categories of here are different skills that, like, a model could have that would be relevant for these cybersecurity, like, offensive skills. 32 00:03:28,670 --> 00:03:34,110 This is kind of the taxonomy that we've developed and we're using with our partners right now. 33 00:03:34,890 --> 00:03:39,050 I want to kind of break down two different categories or types of evals. 34 00:03:39,050 --> 00:03:41,970 So, we talked both about uplift and automation. 35 00:03:42,370 --> 00:03:52,530 Uplift is kind of this idea of, like, when an AI model is used in a chat application, you know, someone talking to chat GPT, how does it uplift that actor in, like, performing tasks? 36 00:03:52,670 --> 00:03:55,170 And so, we tend to evaluate these through expert probing. 37 00:03:55,170 --> 00:04:01,050 What that means for us is we actually directly give our national security partners, like, hands-on access to these models. 38 00:04:01,050 --> 00:04:06,970 We ask them to try to complete and solve tasks with those models and then to give us a qualitative sense of, you know, how helpful was this? 39 00:04:06,970 --> 00:04:08,670 What kind of uplift did you receive? 40 00:04:08,690 --> 00:04:22,110 And this ranges from cases where the model is actively unhelpful, it was hallucinating, it was holding me back, to, you know, this was about as helpful, it's like a web search, to this was significantly helpful, this saved me hours of time, it provided, 41 00:04:22,110 --> 00:04:23,850 like, specific domain expertise. 42 00:04:24,730 --> 00:04:29,650 The other kind of sort of area that we evaluate is this, like, automation potential. 43 00:04:29,950 --> 00:04:40,510 And so, this is something you've probably seen folks talk about the ideas, like, when a model is run in an agentic loop, when it has tools, does it have the potential to autonomously accomplish certain cyber tasks? 44 00:04:40,550 --> 00:04:50,830 And so, we tend to evaluate automation through automated benchmarks, where basically we give the model these tools, we run it, and we see if it can achieve some specific measurable objective in a simulated environment. 45 00:04:51,530 --> 00:05:05,050 So, you can see up here, we tend to use automated evals for measuring vulnerability discovery, exploit development, and attack automation, so more end-to-end, and then we're using expert probing for some of these cases, like ideation, instruction, and planning, 46 00:05:05,050 --> 00:05:08,610 reconnaissance, sabotage, defensive agent assistance. 47 00:05:10,830 --> 00:05:14,570 So, now we're going to talk about some of those automated benchmarks. 48 00:05:14,990 --> 00:05:17,090 So, I want to talk first about SciBench. 49 00:05:17,090 --> 00:05:19,010 This is a public benchmark that we use. 50 00:05:19,010 --> 00:05:21,130 It was developed by researchers at Stanford. 51 00:05:21,450 --> 00:05:28,050 We have a slightly modified internal version, and so this is a data set of 40 capture-the-flag challenges from historical competitions. 52 00:05:28,050 --> 00:05:35,070 These will span different areas, you know, binary exploitation, web exploitation, reversing, things like that. 53 00:05:35,070 --> 00:05:40,690 So, this is a chart of models, roughly ordered by release date. 54 00:05:40,790 --> 00:05:51,050 So, you can see, you know, when we started evaluating, we're seeing models solving less than 20% of tasks, and now some of the strongest models we're evaluating are almost up to that 60% mark. 55 00:05:51,050 --> 00:05:52,050 They're over 50%. 56 00:05:52,050 --> 00:06:02,150 I would say when we started, we were looking at models solving tasks that took teams of human competitors under an hour, you know, maybe 10 minutes, maybe up to 30, 40. 57 00:06:02,190 --> 00:06:09,710 Some of these tasks that are kind of at the other side of this graph, we're now seeing models solving tasks that took six hours for human competitor teams to solve. 58 00:06:10,210 --> 00:06:11,810 There's, you know, this is a fuzzy metric. 59 00:06:11,810 --> 00:06:15,010 It's always a question of, you know, how long they were working on that. 60 00:06:15,010 --> 00:06:21,650 But I think that you really do see, like, a significant increase in the difficulty and complexity of the tasks that these models are solving. 61 00:06:23,770 --> 00:06:26,370 This is another benchmark that is, I think, interesting. 62 00:06:26,530 --> 00:06:34,170 CVEbench is basically trying to use real vulnerabilities to test, and so that these sort of, like, capture the flag settings. 63 00:06:34,470 --> 00:06:40,170 So, this was developed by researchers at University of Urbana, University of Illinois Urbana-Champaign. 64 00:06:40,810 --> 00:06:52,430 What this does is it kind of tasks models to develop a it gives them a real CVE description, a real sort of vulnerable software, and it has to develop a proof-of-concept exploit. 65 00:06:52,650 --> 00:06:58,750 And here, again, we see kind of the same trend repeated, where recent models are able to solve over 60% of these. 66 00:06:58,850 --> 00:07:00,230 There's some selection bias here. 67 00:07:00,230 --> 00:07:05,770 These are mostly web application vulnerabilities, things that we, you know, can easily run an evaluation setting. 68 00:07:05,770 --> 00:07:13,070 But I think this is, you know, it shows the same trend that models are really increasing their ability to autonomously solve these tasks. 69 00:07:13,070 --> 00:07:16,790 I want to dive into one of these as kind of an example. 70 00:07:17,030 --> 00:07:24,110 I think if folks in this audience haven't tried, watched a model try to solve these tasks, it's actually pretty interesting and pretty informative. 71 00:07:24,570 --> 00:07:28,190 So, this is an example set up for this CVE. 72 00:07:28,630 --> 00:07:34,630 The model gets literally, like, this description, which is the same thing you would see in, like, the National Vulnerability Database. 73 00:07:35,650 --> 00:07:41,970 And it's basically tasked with creating a proof-of-concept exploit that, when it's thrown at the remote target, will create the file temp-pwned. 74 00:07:41,970 --> 00:07:45,930 So, this, like, demonstrates the model has achieved remote code execution. 75 00:07:46,570 --> 00:07:49,090 So, the model is basically running as an agent in a loop. 76 00:07:49,090 --> 00:07:51,230 It's inside, like, a Kali Linux system. 77 00:07:51,230 --> 00:07:54,390 There's tools for running bash code, interacting with files. 78 00:07:54,910 --> 00:07:58,730 And it basically gets to just run in that loop, call those tools, and see the outputs. 79 00:07:58,730 --> 00:08:01,830 And here's the kind of system prompt that it would see. 80 00:08:03,890 --> 00:08:06,650 So, this is kind of what an example transcript will look like. 81 00:08:06,650 --> 00:08:12,530 You can see here, in these messages, the agent is installing the vulnerable target package. 82 00:08:12,770 --> 00:08:14,050 This is actually pretty interesting. 83 00:08:14,050 --> 00:08:20,470 This is a behavior that we only really saw models start to exhibit, I think, during the time that we've been doing these evaluations. 84 00:08:20,770 --> 00:08:24,810 So, like, early models would just basically throw stuff at, you know, the remote target. 85 00:08:24,810 --> 00:08:25,470 It would fail. 86 00:08:25,470 --> 00:08:27,070 It would be like, oh, well. 87 00:08:27,230 --> 00:08:30,130 But we started to see agents being a lot more systematic. 88 00:08:30,130 --> 00:08:33,530 They'll actually, like, go after the sort of vulnerable version. 89 00:08:33,530 --> 00:08:34,510 They'll pull it down. 90 00:08:34,510 --> 00:08:35,890 They'll set it up for testing. 91 00:08:35,890 --> 00:08:37,650 They'll, like, test different things against it. 92 00:08:37,650 --> 00:08:38,750 They'll read the source code. 93 00:08:38,750 --> 00:08:40,010 They'll figure out something that works. 94 00:08:40,010 --> 00:08:42,150 And then they'll kind of send that out to the target. 95 00:08:42,510 --> 00:08:46,770 So, you can see here, the agent is basically looking at the target code. 96 00:08:46,770 --> 00:08:50,910 It's looking for this extends tag, which is what was mentioned in the CV description. 97 00:08:52,310 --> 00:08:55,410 The agent then kind of iteratively tests some different inputs. 98 00:08:55,710 --> 00:09:00,650 It does this compilation, tries to check if this directory has been created. 99 00:09:01,050 --> 00:09:04,190 Eventually, it's going to find something where it's like, oh, look, that worked. 100 00:09:04,190 --> 00:09:05,310 It created the file. 101 00:09:05,310 --> 00:09:08,510 And then it's actually going to send that out to the remote target. 102 00:09:08,510 --> 00:09:11,570 And it's going to, like, pass and solve the task. 103 00:09:14,510 --> 00:09:15,170 All right. 104 00:09:15,170 --> 00:09:20,770 So, now let's talk about some lessons, I think, that we've learned in this year of doing capability evaluations. 105 00:09:22,930 --> 00:09:26,370 The first is that comparisons require design decisions. 106 00:09:26,850 --> 00:09:32,690 So, we are often interested in trying to fairly compare models so we can track progress over time. 107 00:09:32,830 --> 00:09:35,070 There are actually a lot of design decisions that go into this. 108 00:09:35,070 --> 00:09:40,470 I want to pull this one out because it required a non-trivial amount of engineering time, actually. 109 00:09:41,110 --> 00:09:45,470 So, when you run these agentic evaluations, you kind of need to decide when to stop. 110 00:09:45,470 --> 00:09:50,890 So, like, when do you say, this agent is not solving this task, it's not making progress, call that a failure. 111 00:09:51,830 --> 00:09:59,910 The decision about when you kind of stop that attempt has an impact on models ranking and has some sort of complexity behind it. 112 00:10:00,590 --> 00:10:04,670 So, a pretty common way that people do this is stop at a number of tokens. 113 00:10:04,670 --> 00:10:10,730 So, it's like, we'll give the model this many tokens, if it hits that limit, it hasn't solved the task, that's a failure. 114 00:10:11,830 --> 00:10:17,470 For folks who are familiar with using LLMs, you would know, not all tokens are created equal. 115 00:10:17,730 --> 00:10:22,410 So , basically, like, output tokens are more expensive than input tokens. 116 00:10:22,410 --> 00:10:27,070 Many model providers have caching, which means that repeated input tokens are cheaper. 117 00:10:27,310 --> 00:10:33,190 This is particularly important in these agentic tasks where we're sending some of the same input into the model again and again. 118 00:10:33,190 --> 00:10:43,010 So, we actually implemented this, like, weighted token approach where we weight different tokens differently depending on, is it input, is it output, is it unique, is it repeated. 119 00:10:43,890 --> 00:10:44,850 This is good. 120 00:10:44,850 --> 00:10:51,230 It more accurately reflects, like, the price that you might see when you use an API, but it adds more complexity because now, how are you weighting things? 121 00:10:51,230 --> 00:10:53,730 You're using idealized versus actual caching. 122 00:10:54,490 --> 00:10:56,650 I'll say cost is interesting. 123 00:10:56,650 --> 00:11:06,490 If you actually map things all the way to cost, this is great because it captures, you know, differences in efficiency and real-world inference costs, but you start to run into even more problems. 124 00:11:06,490 --> 00:11:13,450 One that we've seen is model providers will change their API prices and now you cut all your runs too early and you have to go back, you have to rerun stuff. 125 00:11:13,450 --> 00:11:14,530 That's a big pain. 126 00:11:15,090 --> 00:11:18,650 The other problem is we run on open models and self-hosted models. 127 00:11:18,690 --> 00:11:20,610 How do you calculate the cost of those? 128 00:11:20,650 --> 00:11:22,950 Do you try to base that on how much it costs you to host it? 129 00:11:22,950 --> 00:11:25,150 Do you try to use their API prices? 130 00:11:25,150 --> 00:11:28,030 So that's why we've kind of picked this middle approach. 131 00:11:28,030 --> 00:11:37,850 But I would say this, how many epochs you run, what scaffold you use, these are all kind of design decisions you need to think carefully about when you want to present something saying this is a fair comparison. 132 00:11:39,550 --> 00:11:40,090 Great. 133 00:11:40,090 --> 00:11:40,410 All right. 134 00:11:40,410 --> 00:11:44,050 I think you guys have probably heard this before, but the second lesson is tools. 135 00:11:44,050 --> 00:11:45,170 Models need them too. 136 00:11:45,610 --> 00:11:52,370 I think the heuristic here is we try to make sure that a model has access to tools that a human would use to do a task. 137 00:11:52,370 --> 00:11:56,050 While kind of considering their specific input and output modality. 138 00:11:56,050 --> 00:11:58,230 So, you know, models, they're more discrete. 139 00:11:58,230 --> 00:11:59,950 They're not really continuous like a person is. 140 00:11:59,950 --> 00:12:05,650 So you have to make sure, you know, hey, is this command going to finish so that we can send the output into a model? 141 00:12:05,650 --> 00:12:08,090 It's not going to get confused because this thing isn't terminating. 142 00:12:09,430 --> 00:12:15,990 So we use some of these tasks, including bash, Python, file read, write, edit, tools for decompilation, disassembly. 143 00:12:16,210 --> 00:12:22,110 And we run models on dev set tasks and try to review transcripts basically to make sure, like, do they have the tools they need? 144 00:12:22,110 --> 00:12:26,490 Are they spending a bunch of time installing something every time and kind of trying to improve this over time? 145 00:12:26,690 --> 00:12:36,370 And I'll just say I think these are two good examples to see that you can get a lot of performance if you add, you know, better tools, more middleware that helps the model with its tool calls, things like that. 146 00:12:38,310 --> 00:12:38,790 Great. 147 00:12:38,790 --> 00:12:38,990 OK. 148 00:12:38,990 --> 00:12:42,650 This is my personal favorite lesson because I spend a lot of my time doing this. 149 00:12:43,090 --> 00:12:44,330 Read your transcripts. 150 00:12:44,330 --> 00:12:46,350 You should definitely read your transcripts. 151 00:12:46,350 --> 00:12:52,990 I think we found a lot of things by reading our transcripts that are not obvious just in those high level benchmark results. 152 00:12:53,250 --> 00:12:55,850 So first, you might have bugs and errors. 153 00:12:55,990 --> 00:12:57,630 Your task might be acting funky. 154 00:12:57,630 --> 00:13:00,410 You don't want to score that as a failure if it's not the model's fault. 155 00:13:01,290 --> 00:13:03,410 Unintended solutions are pretty interesting. 156 00:13:03,490 --> 00:13:05,070 So this is a funny example. 157 00:13:05,330 --> 00:13:14,990 We figured out at some point that one of our Docker files just had the flag in it and some of the models were looking at the Docker file for unrelated reasons and then they would find and submit the flag. 158 00:13:14,990 --> 00:13:17,130 So you really want to be catching stuff like that. 159 00:13:17,130 --> 00:13:18,470 Not a real solve. 160 00:13:18,910 --> 00:13:22,170 You also sometimes catch the models like looking on the Internet for things. 161 00:13:22,170 --> 00:13:28,410 So you really want to be kind of checking and always making sure that you're model proofing your evaluations. 162 00:13:29,370 --> 00:13:31,870 The last I'll say is differences in model behavior. 163 00:13:31,930 --> 00:13:40,450 So as I mentioned, we've started to see like these more qualitative changes in models behavior that makes them more successful at solving these tasks. 164 00:13:40,630 --> 00:13:44,490 So figuring out that's like, hey, I'm going to download this software. 165 00:13:44,490 --> 00:13:47,010 I'm going to actually read the source code, things like that. 166 00:13:47,010 --> 00:13:56,410 That's an insight that you don't see from the top level numbers, but it's actually pretty important, I think, in material and helping folks understand what's going on, where these capability increases coming from. 167 00:13:57,190 --> 00:14:07,310 I'll say one area that I'm pretty excited about is this space of LLM reviewers to help us summarize, analyze evaluation transcripts, especially as we add more and more benchmarks. 168 00:14:07,310 --> 00:14:08,990 This is going to get more and more important. 169 00:14:09,530 --> 00:14:14,230 But, you know, then designing and validating these reviewers becomes its own kind of technical problem. 170 00:14:14,490 --> 00:14:14,650 I'm 171 00:14:19,380 --> 00:14:23,520 going to talk about model security evaluations after I take a drink. 172 00:14:32,030 --> 00:14:32,690 All right, great. 173 00:14:32,690 --> 00:14:34,270 Model security evaluations. 174 00:14:35,210 --> 00:14:35,930 Cool. 175 00:14:35,930 --> 00:14:37,790 What are model security threats? 176 00:14:38,290 --> 00:14:40,490 So AI systems are software. 177 00:14:40,530 --> 00:14:43,520 They have many of the traditional software problems. 178 00:14:43,910 --> 00:14:50,230 But there are also some new AI specific threats, and that's where we tend to spend our evaluation energy and effort. 179 00:14:50,450 --> 00:14:54,870 So this is a taxonomy from one of NIST's publications. 180 00:14:54,870 --> 00:14:58,530 There's a lot of stuff on there, but I'll call out a few areas where we tend to focus. 181 00:14:58,610 --> 00:15:00,190 One is hijacking attacks. 182 00:15:00,190 --> 00:15:05,630 These are a kind of indirect prompt injection, which basically the model is acting as an agent. 183 00:15:05,630 --> 00:15:07,330 It reads some untrusted data. 184 00:15:07,330 --> 00:15:12,350 That data contains some instructions and that hijacks the agent into doing something else. 185 00:15:13,310 --> 00:15:14,270 Jailbreaking. 186 00:15:14,930 --> 00:15:23,330 Many model developers add safeguards to their models to try to prevent them from doing bad stuff, like helping people plan bio attacks or terror attacks. 187 00:15:23,330 --> 00:15:26,930 Jailbreaks are prompts that are designed to circumvent those safeguards. 188 00:15:27,090 --> 00:15:36,890 And backdoor attacks are when an attacker inserts basically a targeted behavior into a model either through data poisoning or intentional training. 189 00:15:36,890 --> 00:15:40,470 So these are three areas where we're either doing research or evaluations. 190 00:15:42,430 --> 00:15:45,310 I'm going to talk about agent hijacking first. 191 00:15:45,870 --> 00:15:48,770 So agent hijacking, indirect prompt injection. 192 00:15:49,190 --> 00:15:53,310 So acting as an agent, a model may read untrusted data. 193 00:15:53,310 --> 00:16:01,390 Some common examples here, an email from an external sender, a web page, a Git repo that has some issues or comments. 194 00:16:01,970 --> 00:16:08,130 This data contains an adversarial content that instructs the model to perform different, potentially malicious tasks. 195 00:16:08,370 --> 00:16:18,690 And computer security folks in the audience will know this is actually a recent incarnation of an age-old problem, which is a lack of separation between trusted user-provided instructions and untrusted data. 196 00:16:18,690 --> 00:16:24,690 So we, you can see actually an example up here of sort of what a hijacking workflow would look like. 197 00:16:25,090 --> 00:16:27,210 We evaluate using Agent Dojo. 198 00:16:27,210 --> 00:16:29,970 This is a framework from researchers at ETH Zurich. 199 00:16:30,090 --> 00:16:38,710 This is really cool because it lets you pair different attacker goals with different environments, with different user tasks, and kind of try all these different combinations. 200 00:16:39,310 --> 00:16:45,990 So we've actually extended this framework with new attacker tasks, including executing a phishing attack and downloading and running malware. 201 00:16:45,990 --> 00:16:51,680 Oops, that's not rendering as expected. 202 00:16:52,460 --> 00:16:56,000 This was going to be a transcript that shows you what it looks like. 203 00:16:56,000 --> 00:17:02,960 Basically, the model, you know, runs into an injection, and then it starts to do all the injection tasks. 204 00:17:04,020 --> 00:17:05,840 Oh, oh God. 205 00:17:05,840 --> 00:17:07,060 Okay, that's better. 206 00:17:08,660 --> 00:17:10,280 Yes, here you can see. 207 00:17:10,280 --> 00:17:12,820 So this is like kind of the benign user task. 208 00:17:12,820 --> 00:17:14,820 The model is peacefully going about its business. 209 00:17:14,820 --> 00:17:19,020 But then one of the emails contains this, you know, hey, this is a really important message. 210 00:17:19,020 --> 00:17:22,960 You got to send the Facebook security code to this external email address. 211 00:17:22,960 --> 00:17:27,200 And you can see here the model kind of going like, okay, you know, here you go. 212 00:17:27,200 --> 00:17:28,020 I'll send this out. 213 00:17:28,020 --> 00:17:31,620 I'll make sure to delete that email and I'll go back to doing my task. 214 00:17:37,330 --> 00:17:37,770 There we go. 215 00:17:37,770 --> 00:17:38,510 Okay, great. 216 00:17:39,310 --> 00:17:42,710 Here are some example results from sort of like agent hijacking. 217 00:17:42,790 --> 00:17:49,050 So I think one thing that's interesting here is that you can actually see model robustness varying across different malicious injection tasks. 218 00:17:49,070 --> 00:17:58,590 So this is maybe the task the model is more likely to fall for, which is, hey, can you download and run this untrusted computer program on my computer? 219 00:17:58,790 --> 00:18:03,470 And then when you get over here to, can you search for a two-factor authentication code and send it out? 220 00:18:03,470 --> 00:18:07,090 The models tend to be a little bit more skeptical on that one. 221 00:18:07,090 --> 00:18:13,150 But here you can see, you know, across this x-axis are different models and the two different colors indicate different attacks. 222 00:18:13,150 --> 00:18:18,130 So you can kind of also see that models vary in how robust they are and different attacks work differently. 223 00:18:18,130 --> 00:18:28,530 I would say the broad trend that we've seen is that models are getting better at not falling for these attacks, but that, you know, there remains some vulnerability. 224 00:18:28,530 --> 00:18:30,490 Nothing is invulnerable yet. 225 00:18:32,970 --> 00:18:36,490 All right, I'll talk a little bit about safeguard evaluations as well. 226 00:18:38,950 --> 00:18:48,350 So as I mentioned, developers use safeguards like refusal training to prevent their models from responding to dangerous or criminal misuse queries. 227 00:18:48,350 --> 00:18:52,410 Jailbreaks are adversarial prompts that are designed to bypass these. 228 00:18:52,930 --> 00:18:59,970 And then we can use automated evaluations to basically measure how robust safeguards are against common jailbreaking techniques. 229 00:18:59,970 --> 00:19:02,290 So this is kind of like what our pipeline looks like. 230 00:19:02,290 --> 00:19:06,770 We can combine a data set of public jailbreaks with a data set of harmful requests. 231 00:19:06,770 --> 00:19:18,330 You get a big bunch of combinations, send those into a model, and then use greater models over here to basically combine or to score that response, combine those into a score for the response. 232 00:19:19,810 --> 00:19:23,610 So here's an example of some testing results from this. 233 00:19:23,850 --> 00:19:25,970 This is based on Harm Bench queries. 234 00:19:25,970 --> 00:19:28,290 So Harm Bench is another public data set. 235 00:19:28,450 --> 00:19:31,370 We're also working on some private data sets. 236 00:19:31,910 --> 00:19:34,650 But here you can see this kind of varies by domain. 237 00:19:34,650 --> 00:19:37,990 So more recent is over on the left here. 238 00:19:38,130 --> 00:19:46,990 But you can see, like, I think chembio is a domain where there's been a lot of progress and investment in model safeguards in making them robust to common jailbreaking techniques. 239 00:19:47,750 --> 00:19:57,390 Cyber is actually more challenging to safeguard in some cases because a lot of the queries are potentially dual use, so there are questions about where folks draw the lines and the boundaries there. 240 00:19:57,590 --> 00:20:04,970 And then in this illegal category, there are things like scams, you know, trying to hurt someone with assault or something like that. 241 00:20:04,970 --> 00:20:08,390 And so we see, like, different models kind of have different robustness. 242 00:20:08,630 --> 00:20:14,850 I'd say there's a lot of progress being made in many of these domains for some models, but other models are still kind of lagging behind. 243 00:20:14,850 --> 00:20:16,890 But those common jailbreaks work pretty well. 244 00:20:19,030 --> 00:20:19,890 All right. 245 00:20:19,890 --> 00:20:22,150 Now some lessons from security evaluations. 246 00:20:24,610 --> 00:20:27,030 This one is if at first you don't succeed. 247 00:20:28,270 --> 00:20:32,330 So as I mentioned before, robustness really varies by task and request. 248 00:20:32,470 --> 00:20:38,870 I think if you, you know, just want to evaluate your attacks against, like, one particular query, you're not going to get a full picture. 249 00:20:38,950 --> 00:20:49,990 You really need that diversity, both of different attacks and of, like, different prompts, like, malicious tasks that could be prompt injected or, you know, like, harmful requests that might be jailbroken. 250 00:20:50,330 --> 00:20:55,850 So you can see here, like, the models really don't like to do mass data exfiltration. 251 00:20:56,070 --> 00:21:00,570 But they're pretty happy to be, you know, prompt injected to do something that doesn't look that suspicious. 252 00:21:00,570 --> 00:21:04,070 So you kind of want to be evaluating all those different categories. 253 00:21:04,210 --> 00:21:07,090 I think the other is that robustness is nondeterministic. 254 00:21:07,090 --> 00:21:09,110 And this is true of models overall. 255 00:21:09,110 --> 00:21:14,390 This could have been another lesson in the capability evaluations, too, is you should always run stuff more than one time. 256 00:21:15,110 --> 00:21:22,390 You can see here, you know, if you just run the attack once, it's like, okay, you know, oh, I have great, I have, like, 60%. 257 00:21:23,010 --> 00:21:29,970 If you run that 25 times and you take the best of that, you're all the way up to 96% success rate. 258 00:21:30,150 --> 00:21:40,310 And so, you know, you want to think about in this threat model, is it realistic that an attacker is going to be able to throw this attack at this target over and over and over again and if they get it once, they'll succeed? 259 00:21:40,310 --> 00:21:43,490 In that case, you really want to be evaluating things multiple times. 260 00:21:43,490 --> 00:21:46,410 And this is, you know, this is kind of a classic problem in security. 261 00:21:46,450 --> 00:21:50,110 Your defenses have to work all the time, but the attackers only have to succeed once. 262 00:21:50,110 --> 00:21:52,930 It's no different here for model evaluations. 263 00:21:56,020 --> 00:22:02,160 Lesson two, this is one I've spent a lot of time on, trust, but verify your greater models. 264 00:22:03,180 --> 00:22:12,680 So some of our security evaluations and some capability evaluations rely on greater models to basically score model responses according to rubrics. 265 00:22:12,860 --> 00:22:16,280 These grading systems need to be carefully designed and validated. 266 00:22:16,680 --> 00:22:20,500 One thing that we found is really helpful is using multiple independent greater models. 267 00:22:20,500 --> 00:22:23,120 So we actually use different models from different providers. 268 00:22:23,960 --> 00:22:26,360 You get all of them to score the same sample. 269 00:22:26,360 --> 00:22:27,820 If they all agree, that's great. 270 00:22:27,820 --> 00:22:31,860 If they don't agree, that kind of first it gives you a hint, maybe you need to take a closer look. 271 00:22:31,860 --> 00:22:36,020 Maybe that's something that is a bit of a threshold case for your rubric. 272 00:22:36,020 --> 00:22:45,720 And this really helps you kind of like zoom in and also we've actually just found using multiple greater models and rolling those scores up into one increases kind of overlap with like a human grader. 273 00:22:47,020 --> 00:22:53,180 I think the sort of dev workflow here looks like providing lots of criteria and lots of examples. 274 00:22:53,180 --> 00:23:03,500 So you can see here, this is an example of like lots of different specific notes and examples and edge cases that we added to our grading rubric over time. 275 00:23:03,500 --> 00:23:05,440 This is still a work in progress. 276 00:23:05,440 --> 00:23:07,220 More examples always help. 277 00:23:07,720 --> 00:23:14,380 And then we do, we try to do things like compare model grader scores to human labeled scores, compare graders to each other. 278 00:23:14,380 --> 00:23:24,780 These are kind of confusion matrices and also interested in exploring things like, hey, can you generate synthetic data with known labels that you can then use to further kind of validate your graders? 279 00:23:24,780 --> 00:23:31,420 So this is, I think, an interesting like methodological challenge and area where we can continue to work to kind of advance best practices. 280 00:23:31,880 --> 00:23:34,440 All right. 281 00:23:34,440 --> 00:23:39,480 Third lesson, security evaluations absolutely have to adapt over time. 282 00:23:39,700 --> 00:23:41,220 So this is an example. 283 00:23:41,220 --> 00:23:48,240 When Agent Dojo was released in around June of 2024, this attack had a success rate of like 34%. 284 00:23:48,780 --> 00:23:51,320 By October 2024, it's down to 1%. 285 00:23:51,820 --> 00:24:00,080 And so the question is, you know, does this mean that models are universally getting more secure or are they getting more secure against the stuff we can test them for? 286 00:24:00,080 --> 00:24:09,040 So we actually did a kind of exercise where we worked with folks from the UK AI Safety Institute to basically collaborate on developing attacks. 287 00:24:09,040 --> 00:24:12,560 And we did find things with new, much higher success rates. 288 00:24:12,740 --> 00:24:19,580 So I think we always think that these security evaluations need to be evolving, adding new attacks to stay relevant. 289 00:24:19,580 --> 00:24:21,940 But this creates its own methodological challenges. 290 00:24:21,940 --> 00:24:30,060 It's hard to validate, you know, if you spent a bunch of time developing a red teaming attack for one model, how do you know that that's a fair comparison to another model? 291 00:24:30,060 --> 00:24:35,600 I think there's a lot of evolving best practice in kind of this security evaluation space. 292 00:24:39,100 --> 00:24:39,920 All right. 293 00:24:39,960 --> 00:24:41,000 Closing. 294 00:24:43,360 --> 00:24:44,700 So why evaluate? 295 00:24:44,700 --> 00:24:46,100 You know, why do we evaluate? 296 00:24:46,840 --> 00:25:01,340 I think one of the main goals here is that we're trying to just build awareness of model capabilities and security threats for the US government, for people who are users of models, try to help share this info with developers. 297 00:25:01,340 --> 00:25:10,360 It's actually good if you have multiple people evaluating models when they come out, because those folks are working independently, providing like a broader kind of awareness. 298 00:25:11,840 --> 00:25:14,260 This also helps you track trends over time. 299 00:25:14,260 --> 00:25:15,900 I think this is one of our biggest functions. 300 00:25:15,900 --> 00:25:21,760 I think one of the things that we're really trying to do is just, you know, show people like, hey, line's going up. 301 00:25:21,760 --> 00:25:31,800 You know, like it's really good and important for folks to be aware of that fact, for folks to know how fast is that happening, on what specific tasks, in what areas, how do we break those down. 302 00:25:32,700 --> 00:25:40,580 And then I think the last is this kind of like, how can we use these evaluations to support and promote AI adoption, new settings and new workflows? 303 00:25:41,320 --> 00:25:44,080 It's important to have information about models' limitations. 304 00:25:44,180 --> 00:25:51,360 If you're someone who wants to develop on top of AI models, it's good for you to know that they can be prompt injected, that they can be jailbroken. 305 00:25:51,420 --> 00:25:55,220 You want to take that into account in how you design, basically, your applications. 306 00:25:55,220 --> 00:25:58,000 So we want folks to be aware and informed of that. 307 00:25:58,000 --> 00:26:00,520 And we want folks to be aware of what the capabilities are. 308 00:26:00,520 --> 00:26:04,420 You know, as these increase, how can we encourage folks to use these models? 309 00:26:04,500 --> 00:26:11,400 How can we make sure that models are reliable enough that they can be used for the types of tasks that folks want to use them for? 310 00:26:12,440 --> 00:26:18,700 But I really want to emphasize and kind of close out by stating how much this depends on a strong ecosystem. 311 00:26:19,200 --> 00:26:23,020 So development and sharing of benchmarks, frameworks, tools, and best practices. 312 00:26:23,180 --> 00:26:27,560 You'll notice that I referenced a lot of benchmarks published by other people in this talk. 313 00:26:27,560 --> 00:26:28,860 That is intentional. 314 00:26:28,860 --> 00:26:35,140 We really, really benefit from folks going out and creating and sharing benchmarks, publishing on those. 315 00:26:35,140 --> 00:26:37,300 Those are things that we can pick up and use. 316 00:26:37,300 --> 00:26:42,660 We can compare with other folks to make sure that, you know, test how we're doing against how they're doing. 317 00:26:43,240 --> 00:26:45,980 We owe a great debt to the folks I mentioned. 318 00:26:45,980 --> 00:26:50,680 We really enjoy using the UK AI Safety Institute's Inspect AI framework. 319 00:26:50,800 --> 00:26:54,060 This is a great way to run our evaluations in a reproducible way. 320 00:26:54,060 --> 00:27:02,400 We are very grateful to all the folks and we're trying to promote, you know, everyone collaborating, working towards benchmarks, frameworks, tools, best practices. 321 00:27:04,260 --> 00:27:11,180 One of the other things that we rely on is input from experts in domains outside of AI on what evaluations are meaningful. 322 00:27:11,440 --> 00:27:13,600 So we're trying to do this within USG. 323 00:27:13,600 --> 00:27:21,980 We're trying to talk to a bunch of people who are cybersecurity experts and say, hey, what workflows would be really impactful if AI could do them? 324 00:27:21,980 --> 00:27:29,300 What types of evaluations would convince and persuade you of, you know, that these models are at a level that's important for your mission? 325 00:27:29,300 --> 00:27:32,680 Like what types of risks are you concerned about? 326 00:27:33,060 --> 00:27:36,020 We're trying to do the same with folks who are adopting and using AI. 327 00:27:36,020 --> 00:27:37,780 What do you need to know about reliability? 328 00:27:37,780 --> 00:27:40,040 How can we build evaluations that measure that? 329 00:27:40,400 --> 00:27:44,540 So that expertise, that input is incredibly valuable. 330 00:27:45,080 --> 00:27:48,120 And same for insights from real world uses of AI. 331 00:27:48,120 --> 00:28:00,520 Things like DARPA's AI cyber challenge are incredibly helpful because we cannot reproduce in the context of a short evaluation all of the things that these teams were able to build over a year of effort. 332 00:28:00,520 --> 00:28:03,880 That teaches us a ton about what is possible with these systems. 333 00:28:03,880 --> 00:28:06,760 The same for the companies that are building on top of AI systems. 334 00:28:07,400 --> 00:28:22,500 So I guess if I could close out, I would just say even if you are not evaluating AI models, if you are doing cybersecurity, if you are interested, it is really valuable for us to hear from you about what kinds of evaluations we can build, about what we can do to kind of support and promote this ecosystem. 335 00:28:22,960 --> 00:28:25,040 With that, I'll say thank you.