SafetyDrift: Predicting When AI Agents Cross the Line Before They Actually Do
Aditya Dhodapkar, Farhaan Pishori

TL;DR
SafetyDrift introduces a probabilistic model to predict when AI agents might violate safety, enabling early detection and prevention of safety violations across various tasks.
Contribution
It models safety trajectories as Markov chains and demonstrates effective early warning detection of safety violations with high accuracy and efficiency.
Findings
Agents in communication tasks have an 85% chance of violation within five steps after mild risk detection.
The lightweight monitor detects 94.7% of violations with an average of 3.7 steps warning.
The model outperforms keyword matching and LLM judges in detection accuracy and speed.
Abstract
When an LLM agent reads a confidential file, then writes a summary, then emails it externally, no single step is unsafe, but the sequence is a data leak. We call this safety drift: individually safe actions compounding into violations. Prior work has measured this problem; we predict it. SafetyDrift models agent safety trajectories as absorbing Markov chains, computing the probability that a trajectory will reach a violation within a given number of steps via closed form absorption analysis. A consequence of the monotonic state design is that every agent will eventually violate safety if left unsupervised (absorption probability 1.0 from all states), making the practical question not if but when, and motivating our focus on finite horizon prediction. Across 357 traces spanning 40 realistic tasks in four categories, we discover that "points of no return" are sharply task dependent: in…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
