Explain transformers to your manager in five slides
For engineers
An engineer must brief a non-technical manager on why the support assistant is confidently wrong and costly. Write the story, build five slides, check every number and rehearse.
To explain transformers to a manager, build five slides around one decision: first one token at a time, then attention, then its cost, then what to do. A deck that starts from the architecture loses the room. A deck that starts from a decision keeps it.
The situation
Priya is an engineer at Northwind Logistics. Northwind (a made-up company) runs a support assistant built on a hosted model. On Thursday she has ten minutes with Marco, her manager. He must decide whether to pay for a bigger context window or cap how much history the assistant reads. Marco has never studied machine learning and will ask direct questions.
Why it matters
Engineers often explain how something works and stop. Managers need what it means for a decision. The mechanism and the decision are the same story here: the assistant gives confident wrong answers because of how it writes, and costs climb because of how it reads.
How the work goes
- Write the one-sentence story first. Message, audience and action. Priya writes: "A model writes one token at a time and reads context at a cost that grows fast, so we should cap context before buying more." No slide is opened until this sentence holds up.
- Turn the story into five slide beats. One point per slide, and each title states that point. Order them so the ask arrives last: the problem, the mechanism, the cost, the options, the ask.
- Explain next-token prediction in plain words. A model gives every possible next token a probability, picks one, adds it and repeats. It cannot take back a token it wrote. So a fluent, confident answer is not a verified answer, and a model that starts a wrong path tends to justify it.
- Explain attention as a lookup. Each token asks a question (the query), compares it with a label on every earlier token (the keys), turns the scores into weights that sum to 1 and mixes the values. Many heads in many layers learn many patterns. In a model that writes text, a causal mask means each token sees only earlier ones.
- Show the cost. Every token is compared with earlier tokens, so work grows with the square of the prompt length. Techniques such as a KV cache, grouped-query attention and sliding-window attention cut the cost, each in a different place.
- Check every number and rehearse. Use only figures from Northwind's own data. Run the talk against a model playing a sceptical manager, and verify every number it quotes back.
Before and after
Before, slide 3 reads "Attention mechanism: queries, keys, values, softmax, multi-head". It has five terms and no point.
After, slide 3 reads "A prompt twice as long costs about four times as much to read", with a small table of comparisons by length and one line on what Marco can do about it. The terms live in the speaker notes for the question he may ask.
What goes wrong
- A deck generator fills gaps. A tool such as Copilot in PowerPoint or Gamma can produce a slide with a polished statistic that has no source. If Marco asks where it comes from, Priya has no answer. Every number must trace to her own data or a cited paper.
- An assistant explains with confident errors. Common ones: saying the model looks answers up, saying temperature 0 makes answers true, saying doubling the prompt doubles the cost, saying a generating model sees later words, or saying engineers assign each head a job. Each sounds plausible and each is wrong.
- Too much mechanism. Seven terms on one slide leave the audience with none. Keep the mechanism to what supports the decision.
- No rehearsal. The first hard question from Marco should not be the first time Priya hears it.
What to carry away
The mechanism is simple enough to say in two sentences: write one token at a time, and let each token look back at earlier ones. Everything else on the slides follows from those two sentences, and each slide's job is to move Marco closer to a decision, not to show how much Priya knows. The skills in this scenario are needed together: the story gives structure, the mechanism gives the content, and care with numbers gives the deck its trustworthiness.
Steps
Write the one-sentence story
State the message, the audience and the action before any slide tool is open. Priya's version is short enough to say in one breath and names a decision: cap context before buying more.
Priya's story Goal: Marco funds the right thing
- Message: a model writes one token at a time and reads context at a cost that grows fast
- Audience: Marco, no machine-learning background
- Action: approve a context cap before buying a bigger window
Turn the story into five slide beats
Give each slide one point and a title that states it. Order the slides so the ask comes last, after Marco has seen the problem, the mechanism, the cost and the options.
Explain writing one token at a time
Show the loop on a short example: score every next token, pick one, add it, repeat. Use a small probability table so Marco can see 'confident' does not mean 'checked'.
Next-token probabilities after 'Our refund window is' Made-up numbers for the lesson Candidate token Probability 30 41% 14 33% 60 12% Explain attention as a lookup
Each token asks a question, compares it with every earlier token and mixes in what it finds. Use the trophy-and-suitcase sentence for a pronoun that needs context, and say one line about heads and layers.
Show why a longer prompt costs more
Show attention work growing with the square of prompt length using one small table, then name the techniques that cut it: KV cache, grouped-query attention and sliding-window attention.
Comparisons by prompt length Rounded for teaching Prompt tokens Comparisons (about n x n) 2,000 4 million 8,000 64 million Check the numbers and rehearse
Keep only figures from Northwind's own data. Ask a model to play a sceptical manager, time the talk, and verify every number the model quotes before it goes near a slide.
Skills this scenario uses
Where to study
- Attention Is All You Need (Vaswani et al., 2017) (opens in a new tab)PaperFree
The paper that introduced the transformer, for the source of the architecture.
- The Illustrated Transformer (Jay Alammar) (opens in a new tab)ArticleFree
A step-by-step picture of attention and a transformer block.
- Transformer Explainer (Georgia Tech Polo Club) (opens in a new tab)ToolFree
Run a small model in the browser and watch attention and next-token probabilities change.
- 3Blue1Brown: Large Language Models explained briefly (opens in a new tab)VideoFree
A short visual explanation of next-token prediction for a non-technical audience.
- 3Blue1Brown: Attention in transformers, step-by-step (opens in a new tab)VideoFree
Queries, keys and values drawn out slowly.
- Tracing the thoughts of a large language model (Anthropic) (opens in a new tab)ArticleFree
Evidence that models plan ahead internally while writing one token at a time.
- GQA: Training Generalized Multi-Query Transformer Models (Ainslie et al., 2023) (opens in a new tab)PaperFree
The source for grouped-query attention as a way to shrink the cache.
- The secret structure of great talks (Nancy Duarte, TED) (opens in a new tab)VideoFree
How a talk builds from the problem to the ask.