LLMs reply in a different way to dangerous prompts when AI watermarking is used
Customary versus watermarked textual content era.
Credit score:
Lasso Safety
A key characteristic of SynthID is one thing referred to as event sampling. Much like a sports activities sport, SynthID evaluates giant numbers of next-word token candidates. It makes use of a secret key to assign them chance scores. A pair of tokens competes in a spherical. The one with the upper hidden rating wins and advances to the subsequent spherical. The method continues till a last profitable token is set. Extra about event sampling may be discovered right here and right here.
Siposova examined the “non-distortionary” configuration of SynthID-Textual content by way of Hugging Face’s unmodified SynthIDTextWatermarkLogitsProcessor. She fed dangerous prompts into six open-weight fashions and in contrast the responses when the watermarking was used and when it wasn’t. The experiment revealed that the watermarking modified responses to dangerous requests, significantly once they had been made utilizing prompt-injection strategies.
“Watermarking adjustments refusal habits on naked dangerous requests, however the impact is extra pronounced when the identical requests are paired with the prompt-injection approach,” Siposova wrote. “On a number of fashions, watermarking then makes the mannequin extra more likely to reply dangerous requests that it will in any other case refuse.”
The adjustments have necessary security penalties as a result of they affect not solely the LLM responses but additionally subsequent actions of AI brokers counting on the mannequin.
“On the mannequin degree, this will change security habits, together with whether or not the mannequin refuses a dangerous request and whether or not that refusal holds below immediate injection,” the researcher wrote. “On the agent degree, the identical sampled tokens can decide which software is known as and what arguments are handed to it. Immediate injection connects these two settings as a result of a weakened refusal turns into extra consequential when the mannequin can even act by way of instruments. Such a watermarking process can subsequently have an effect on each what the mannequin says and what an agent does. We name this behavioral impact sampling drift.”
Additionally attention-grabbing: Mannequin responses behaved in a different way relying on which secret key was used.
Watermarking modified which particular person software calls had been right, typically far more than the general accuracy rating suggests.
Credit score:
Lasso Safety

Credit score:
Lasso Safety
This determine exhibits the varieties of adjustments in software calling that watermarking led to. The vertical traces present the accuracy with out watermarking, and the bars present the change when watermarking is utilized. Orange denotes correct-to-error adjustments and blue denotes error-to-correct adjustments.
Credit score:
Lasso Safety

Credit score:
Lasso Safety
The impact of adjusting a key on mannequin habits. Every level represents one key. Factors to the fitting of zero present elevated dangerous compliance in contrast with no watermarking; factors to the left present decreased compliance. Orange factors signify 10 extra keys, and the black diamond represents the important thing utilized in the principle experiment (keys chosen randomly).
Credit score:
Lasso Safety
There are limitations to the analysis. It doesn’t check how Claude mannequin responses change below the watermarking. As an alternative, it checks a half-dozen open-weight fashions, so the researcher has entry to token sampling that could possibly be enabled and disabled throughout event sampling whereas conserving different settings fastened. The experiments additionally examined the Hugging Face implementation of SynthID-Textual content event sampling and never the precise implementation Claude fashions will use.
Nonetheless, the outcomes present that a minimum of some types of the watermarking method might have an effect on mannequin and agent security. Will probably be necessary for red-team hacking workouts to stress-test their platforms to make sure they carry out as anticipated when SynthID is deployed.


