Module 6 · Why it goes wrong, by mechanism

Reasoning that is pattern matching, and how to tell

In this lesson

  • 9 min read
  • 8 reading sections
  • Knowledge check
  • Lesson 6 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

The perturbation experiments

Take a standard school maths word problem. “Ravi has 12 apples and gives 5 to Meena. How many are left?” A capable model answers it. Now change the names and the numbers, keeping the structure identical. Accuracy drops: a little for the strongest models, several points for most. Now add one sentence that is plausible and irrelevant: “Three of the apples were slightly smaller than the others.” Accuracy drops again, and for many models the drop is large: tens of points on problems whose arithmetic did not change at all.

That is the design of a 2024 study that built a perturbed version of a popular maths benchmark, and its result has been reproduced widely. Similar work uses trivially simple puzzles (“Alice has three brothers and two sisters; how many sisters does Alice’s brother have?”), on which strong models fail at surprising rates, and fail differently when a number changes.

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) ‘Reasoning that is pattern matching, and how to tell’, in How a Language Model Actually Works. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/how-llms-work/reasoning-by-pattern (Accessed: 29 November 2026).