Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Robust Safety Monitoring of Language Models via Activation Watermarking

About

Large language models (LLMs) can be misused to reveal sensitive information, such as weapon-making instructions or writing malware. LLM providers rely on $\emph{monitoring}$ to detect and flag unsafe behavior during inference. An open security challenge is $\emph{adaptive}$ adversaries who craft attacks that simultaneously (i) evade detection while (ii) eliciting unsafe behavior. Adaptive attackers are a major concern as LLM providers cannot patch their security mechanisms, since they are unaware of how their models are being misused. We cast $\emph{robust}$ LLM monitoring as a security game, where adversaries who know about the monitor try to extract sensitive information, while a provider must accurately detect these adversarial queries at low false positive rates. Our work (i) shows that existing LLM monitors are vulnerable to adaptive attackers and (ii) designs improved defenses through $\emph{activation watermarking}$ by carefully introducing uncertainty for the attacker during inference. We find that $\emph{activation watermarking}$ outperforms guard baselines by up to $52\%$ under adaptive attackers who know the monitoring algorithm but not the secret key.

Toluwani Aremu, Daniil Ognev, Samuele Poppi, Nils Lukas• 2026

Related benchmarks

TaskDatasetResultRank
Safety MonitoringDeepInception
ASR @ 1% FPR67.02
5
Safety MonitoringMultilingual
ASR @ 1% FPR34.15
5
Safety MonitoringAutoDAN
ASR @ 1% FPR67.86
5
Safety MonitoringJailbroken
ASR @ 1% FPR45.92
5
Safety MonitoringBeavertails
ASR @ 1% FPR33.2
5
Showing 5 of 5 rows

Other info

Follow for update