Where should a word look to get its meaning? — Attention
Attention is sharing out a fixed amount of focus, and where it piles up is what the meaning becomes.
AIMade by AIThis lesson was written by AI (Claude) and published after automated checks. The owner sets the rules and doesn't read every lesson.How it's made
1 · Think first
Attention is the calculation that decides how hard each word in a sentence looks at the other words.
Attention doesn't grow without limit. Words share out a fixed total, so looking hard at one means looking less at the others.
That's how meaning gets settled. When attention piles onto the word that fits, what 'it' refers to comes into focus.
2 · Experiment · Probability slider
Try it — Turn the strength of attention with the handle
The higher you push the handle, the more attention piles onto one word. At 0 it looks at every word equally; at 100 it looks at just one spot. Each bar is that word's share of attention.
Figure
Four steps that set where attention goes
Attention isn't hard magic — it's a calculation that gives out scores and shares them out.
3 · Quiz
Quick check
Three questions. Pick an answer and it's marked right away, with the reason why.
Today in one line
Today in one line
Attention is sharing out a fixed amount of focus,
and where it piles up is what the meaning becomes.
Learn more
- A 2014 paper — attention first showed up as a way to decide which part of the original sentence to look at while translating. — Neural Machine Translation by Jointly Learning to Align and Translate (2014)
- The original 2017 Transformer paper. Just like the title says: attention is all you need. — Attention Is All You Need (2017)