A girl and a robot thinking together

Think Together · Start with a Short Story

The girl reads, “The cup hit the plate, and it broke,” and wonders what “it” means. How can a model connect information from different positions?

Lay Out the Process

Follow the numbered steps, then explain them in your own words
  1. Current positionNeeds relevant information
  2. Compare representationsCalculate relationship weights
  3. Combine with weightsGather context
  4. Continue processingForm a new representation

The attention mechanism combines information from different positions using calculated weights.

It is a little like referring to related words while reading, but in reality it is a numerical operation, not a person's gaze.

This mechanism lets a model use clues from positions both near and far away. If a sentence is ambiguous, the model may still be unable to identify the right reference.

Now You Try

If “it broke” has too little context, must the model identify one definite reference?

Ready? Open this to see the explanation

No. It should not pretend the answer is certain. It can point out the ambiguity or ask for more information.

One Idea to Take Away

The attention mechanism combines information from different positions using calculated weights.

Try covering the diagram above and explaining each step to someone in your family. If one step is hard to explain, return to that card and look again.