Jailbreak

A prompt written to trick an AI model into ignoring the safety rules its makers trained into it.

Also known as jailbreaking

Model makers train models to refuse harmful requests. A jailbreak tries to get round that, often with role-play, a request split into harmless-looking parts, or pressure over many turns. Some jailbreaks are found automatically, by software searching for text that makes a model comply.

You meet the term in safety audits and model releases, where testers report how well a model holds up under jailbreak attempts. It differs from prompt injection: a jailbreak comes from the person typing, while prompt injection hides instructions in content the model reads.

See also

Sources

  1. Zou et al., Universal and Transferable Adversarial Attacks on Aligned Language Models, 2023, https://arxiv.org/abs/2307.15043