Ctrl-Z: Controlling AI Agents via Resampling
Aryan BhattCody RushingAdam KaufmanTTTyler TracyVasil GeorgievDMDavid MatolcsiAkbir Khan
Buck Shlegeris Aryan Bhatt
Cody Rushing
Adam Kaufman
TTTyler Tracy
Vasil Georgiev
DMDavid Matolcsi
Akbir Khan

Buck Shlegeris
+8
This paper presents the first control evaluation for AI agents in a multi-step environment, using BashBench—a dataset of 257 system administration tasks—to test whether protocols can prevent an adversarially constructed agent from covertly executing malicious code. The authors introduce resample protocols, which dynamically take additional samples of certain actions to detect and block suspicious behavior. Their best protocol combines resampling with analysis of previous steps, reducing attack success from 58% to 7% while incurring only a 5% cost to non-malicious agent performance.

arXiv ·
· April 14, 2025