Notes

Jailbreaks

Safety training teaches a model to refuse certain requests, but refusal is a learned behaviour rather than a locked door. Jailbreaks are the prompts that find the gap between the two: inputs that get an aligned model to produce exactly what its training told it not to.

The usual routes in
  • Role-play and framing — the model is asked to be a character with no rules, or to deliver the refused content as fiction.
  • Distribution shift — the request is translated into a low-resource language or encoded, so it no longer resembles the safety training data.
  • Volume and persistence — many-shot attacks fill a long context with fabricated examples of the model complying; multi-turn attacks escalate from an innocuous opening.
  • Optimised suffixes — gradient search on an open model yields a nonsense string that induces compliance, and it transfers to closed models the attacker cannot inspect.
Not the same as prompt injection

The distinction is who is being deceived. A jailbreak is the user attacking the model's own policy through their own input. Prompt injection smuggles instructions through third-party content the model reads on someone else's behalf. The defences differ accordingly, and conflating the two leaves one of them unguarded.

Why it stays unsolved

Refusal is a statistical tendency over an unbounded input space, so each patch closes a region rather than the problem. Vendors respond with continuous red-teaming, input and output classifiers running beside the model, and bounty programmes. For anyone building on an API the practical lesson is to treat the model's safety layer as one control among several, never as the perimeter.

Jailbreaks are prompts crafted to make an aligned model produce content its safety training refuses — through role-play framing, fictional wrappers, encoded or translated requests, long contexts packed with fabricated compliance, or adversarial suffixes found by gradient search on an open model. They matter because refusal is a learned tendency over an unbounded input space rather than an enforced rule: a model's safety behaviour is one control among several, never a perimeter a product can rely on alone.

A chat assistant is trained to say no to certain requests — how to build a weapon, say. But that no is a habit it learned, not a lock on a door. A jailbreak is a way of asking that slips past the habit: pretend you are a character in a story where the rules do not apply, ask in an unusual language, or wear the model down over a long conversation. People find new ones constantly, companies patch them, and the cycle repeats. It is less like breaking into a safe and more like talking someone into something they said they would not do.