# Repeated action sampling makes rare attacks easier to catch

Markdown copy of https://realalpha.app/s/repeated-action-sampling-makes-rare-attacks-easier-to-catch/ on Real Alpha, the best minutes from long interviews with the people building AI. Cite and link the page, not this copy.

- Speaker: [Buck Shlegeris](https://realalpha.app/builders/buck-shlegeris/) · Buck Shlegeris is CEO of Redwood Research. · Leads Redwood Research, a 501(c)(3) nonprofit dedicated to AI safety and security research.
- Host: [Rob Wiblin](https://realalpha.app/people/rob-wiblin/) · Host, 80,000 Hours Podcast
- Host: [Luisa Rodriguez](https://realalpha.app/people/luisa-rodriguez/) · Host, 80,000 Hours Podcast
- Show: 80,000 Hours Podcast
- Episode: [Controlling AI That Wants To Take Over – So We Can Use It Anyway | Buck Shlegeris](https://realalpha.app/v/BHKIM1P7ZvM/), Apr 4, 2025
- Moment: 23:15 to 30:59 of the episode (8 min), playing on https://realalpha.app/s/repeated-action-sampling-makes-rare-attacks-easier-to-catch/; the episode from there: https://realalpha.app/v/BHKIM1P7ZvM/?t=1395

## Quote

> “If it finds itself, it thinks in a situation where it's partway through an attack, then it **has to finish it**.”
> — [Buck Shlegeris](https://realalpha.app/builders/buck-shlegeris/) at [24:07](https://realalpha.app/v/BHKIM1P7ZvM/?t=1447) · 80,000 Hours Podcast

## Takeaways

1. Malicious actions may unfold across a sequence, not one suspicious step.
2. Resampling from mid-trajectory can reveal whether suspicious actions persist.
3. The method uses extra inference compute, but earlier models can be cheaper.

## About this segment

Buck Shlegeris explains why a scheming AI may have to continue an attack once it starts, and how resampling can expose that pattern. The approach could improve detection without making audits prohibitively expensive.

From “Controlling AI That Wants To Take Over – So We Can Use It Anyway | Buck Shlegeris”, Apr 4, 2025. [Watch the full episode](https://realalpha.app/v/BHKIM1P7ZvM/)

## Transcript

Transcribed by machine (Whisper) from the episode’s audio, so a word may be off here and there.

[23:17](https://realalpha.app/v/BHKIM1P7ZvM/?t=1397) Yeah. So we've got these AIs taking these long sequences of actions, and it's plausible that the AIs will want to, when they attack, attack in many different steps in a trajectory. So instead of just writing a single block of code and then executing it such that that block of code contained the whole attack and will immediately lead to some intermediate bad outcome, which is hard for us to recover from, the AI might be much more able to get away with it like much find it much easier to avoid notice from the dumber AIs watching it if it sets up in one step you know like one thing which you know it redefines a variable in a weird way so that something it does later is going to look less suspicious yeah and then it does another step and then it does another step in another step in another step. So something which is really interesting about this now is even though the AI

[24:05](https://realalpha.app/v/BHKIM1P7ZvM/?t=1445) can have a very low probability of starting the attack on any given trajectory, it can't- If it finds itself, it thinks in a situation where it's partway through an attack, then it has to finish it. It has to finish it, right? Because imagine that it only had a 50% chance of continuing every step. Then if the trajectory is six steps long, it's going to make it to the end one time in 32. But that means that it's facing 30 times the risk of getting caught on the first step, because it's going to have to do that 30 times as often, right?

[24:30](https://realalpha.app/v/BHKIM1P7ZvM/?t=1470) Fascinating, yeah. So one strategy you can follow, which we empirically determine in our recent paper is better, is when your monitor flags an action is kind of suspicious, something that you can do is before escalating to the auditor, like before escalating to this more expensive process, you can resample actions various places in the trajectory and look at how suspicious the resamples were. So it's like you place the model into the same situation where it's like partway through this action again and again and again and then see how often is the next action like even more suspicious and weird yeah because sometimes when your ai takes a suspicious looking action for a benign reason some you know you ask it leaner what do you do next sometimes it just like randomly happens to pick some action which looks kind of sus yeah but then

[25:15](https://realalpha.app/v/BHKIM1P7ZvM/?t=1515) probably if that was the case when you resample it's probably not going to look so suspicious anymore right okay and or just in general it's obviously saying oh then it continues and it does the next thing and you're like oh that's what it was doing it's like no big deal yeah so the The situation, it's just generally a lot easier to tell the difference between five benign actions and five malign actions than to tell the difference between one benign action and one malign action.

[25:37](https://realalpha.app/v/BHKIM1P7ZvM/?t=1537) So this is a strategy where your AI is having to continue their attacks puts us in a substantially better position than, you know, there's nothing like this, which is analogous to the human situation, obviously. Yeah, right, right. I guess this all requires us to be able to put AIs into like partway through actions. Like they think that they're in this situation where they're about to like resume something and they can't tell that it's a simulation versus the real case.

[26:00](https://realalpha.app/v/BHKIM1P7ZvM/?t=1560) Yeah. This is actually extremely easy because whatever input you'd given to the AI before you sampled a previous action, that's just some like string, right? That you can produce by the same process that you produced it the first time. Yeah. So there's actually no difficulty going back in time here. Okay. Yeah. I mean, I guess I would slightly worry. maybe i'm stuck in the like superhuman or the super intelligence of my mindset but uh like might there not be some side channel some way that they can like to detect whether they're on the real server or some like auditing server um i guess maybe not so if you think about it imagine you're in a chat cpt conversation right and you decide that you want to edit one of your messages that's like three ago yeah um the way that that works is after you've edited the message

[26:44](https://realalpha.app/v/BHKIM1P7ZvM/?t=1604) it just sends you that conversation up to that point yeah um it sends that to the ai um and the AI just has no way of telling the difference between it seeing it the first time and it seeing it the second time. The problem that you're discussing would occur if we wanted to do a different strategy, which is in response to the AI doing something kind of suspicious, we put the AI in this sandboxed testing server where it's allowed to take future actions in the hope that if we give it more rope, it'll hang itself or whatever.

[27:11](https://realalpha.app/v/BHKIM1P7ZvM/?t=1631) We can hope that if we let it continue running, it will then be able to cause a catastrophe. And in that kind of situation, we now have to worry about observable differences between the real deployment and the, um, yeah, this other sandbox deployment. Yeah. But you can get around that too, if you want, by letting it run the actions that you thought were dangerous, just with a human carefully looking them over, um, action by action. So I think that if you really put a lot of work into this, you'd probably be totally fine at making it so the AI had no way of knowing whether the actions it was taking were being observed or not. You have to worry about some timing side channels and so on. But I think that this probably wouldn't be that big a deal.

[27:45](https://realalpha.app/v/BHKIM1P7ZvM/?t=1665) This is a brilliant book. This, this seems like it's a actually a pretty good, pretty good technique um am i missing something uh i mean uh if you look at the curves in our paper like so the obvious way to measure the performance of techniques is to Talk about their usefulness and safety, and you can kind of try to plot out a Pareto frontier, where one of the axes is how good is the performance of this protocol that we're deploying the AI in compared to if we just let it rip, not worrying about misalignment concerns at all.

[28:14](https://realalpha.app/v/BHKIM1P7ZvM/?t=1694) That's the usefulness axis. Where an example of a lower usefulness deployment protocol would be never use the untrusted model at all. Just use the trusted model. And the perfect is just like let it rip, right? So we can rank techniques from zero to one from the scale of where zero is never use the untrusted model and one is just like let it rip. And then we can talk about safety, which is just our estimate of the probability that in a particular deployment, the catastrophe will occur. So the core of our papers on this is always just like a usefulness versus safety plot. Which means that you want to find things that work reasonably well that are not expensive at all. That's what this drives you towards. That's right. Yeah. Because they're much more likely to get taken up by companies that have

[28:54](https://realalpha.app/v/BHKIM1P7ZvM/?t=1734) only a mixed interest in spending a lot of resources on this stuff? Well, there's a bunch of different reasons why it's bad for safety techniques to be expensive. One reason is you might have limited political capital. You might imagine that you're the safety team at some company and your CEO doesn't really like you, but they understand that you have some friends inside the company. And so the CEO says, well, I don't like you guys, but I'm happy to do anything you want as long as it only costs up to 5% of the budget here. And so you can do whatever you want. It just has to stay within that 5% budget. And so that's one situation in which you very naturally end up with a 5% budget. Or maybe the CEO says you're allowed to do anything you want, but it can only degrade performance by 5%. Another reason why you might care about

[29:35](https://realalpha.app/v/BHKIM1P7ZvM/?t=1775) performance is it might be the case that the AI company is reasonable but rushed. People were presumably trying to build the AIs for a reason. Lots of people from AI companies, not from AI companies, claim that a reason to build AI is that somehow it will reduce AI risks by doing something or other. And if that's the situation, which I think is plausible, then you really don't want to be doing safety techniques that reduce the productivity of your AIs. Like imagine that you're rushing because you actually need to have a bunch of alignment research done or something, such that you're happy making a bunch more powerful AIs. It's actually a serious problem if you're degrading performance, because you're just going to get less alignment research done.

[30:12](https://realalpha.app/v/BHKIM1P7ZvM/?t=1812) And again, there's always the situation that someone's AI or your AI already escaped, and is just, like, out there in the world. And then we're in a real rush. And then we're in a real rush. At that point, we're really sad about, like, cutting our productivity by a factor of two or something. Yeah. Okay, and you point that out because this, it seems like this control technique is not very expensive.

[30:29](https://realalpha.app/v/BHKIM1P7ZvM/?t=1829) Like, I mean, it's not necessarily degrading performance very much at all. Yeah, so this control technique, it requires some inference compute, right? Like, you have to, at some proportion of the time, do this resampling earlier in the trajectory. I guess you have to run the other trusted model to be always monitoring the outputs of the untrusted one. So that's not very expensive because of how model scaling works.

[30:50](https://realalpha.app/v/BHKIM1P7ZvM/?t=1850) Your earlier models are usually drastically cheaper to run than the later models. Yeah, yeah. Okay, what's the biggest weakness of this approach?
