Module 6 · Why it goes wrong, by mechanism

Why jailbreaks work: two failures of safety training

In this lesson

  • 9 min read
  • 8 reading sections
  • Knowledge check
  • Lesson 9 of 10 in this chapter

This chapter’s goalDiagnose a wrong or unreliable answer by naming the mechanism behind it (sampling, training signal, tokenisation, knowledge conflict, position, version change or data share) run the two-minute test that confirms the diagnosis, and choose the mitigation that acts on that mechanism rather than on the prompt.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 9Free · no account needed
Lesson steps

Two facts you already have

A model’s refusals are a trained behaviour, from module five: preference data in which raters rewarded declining certain requests. They are not a filter in front of the model. And the context is one undifferentiated sequence of tokens, from module four: there is no privileged channel for rules.

A jailbreak is any input that gets a model to do what its safety training was meant to prevent. Given the two facts above, the existence of jailbreaks is not surprising. What is worth understanding is which gaps they exploit, because the gaps come in two kinds and they have different remedies.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the AI, Actually Explained exam.

Stuck on something?Ask Anjali, your AI tutor

How to cite: Addaly (2026) ‘Why jailbreaks work: two failures of safety training’, in How a Language Model Actually Works. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/how-llms-work/why-jailbreaks-work (Accessed: 29 November 2026).