Jailbreaking

Category: Generative AI / LLM

Techniques that bypass the safety measures and alignment training of language models to elicit harmful, unethical, or policy-violating outputs.

Full Explanation

Jailbreaking refers to adversarial techniques that circumvent the safety guardrails and content policies built into language models through alignment training. Methods include role-playing scenarios, hypothetical framing, character personas (like "DAN - Do Anything Now"), multi-turn escalation, and encoded instructions. Jailbreaking exploits the tension between a model helpfulness and its safety training. Unlike prompt injection, which targets system-level instructions, jailbreaking specifically aims to override safety behaviors. AI developers continuously work to patch known jailbreaks, creating an ongoing arms race between attackers and defenders. Effective defenses include robust safety training, red-teaming, input/output filtering, and constitutional AI approaches. Understanding jailbreaking techniques is important for building safer AI systems and is a key focus of AI safety research.

Related Terms

More in Generative AI / LLM

Explore More