SpinTheMic
Pro

Explain it in 60 seconds

The attention mechanism

Machine Learning · Deep Learning · Intermediate

What is the attention mechanism, and why was it a breakthrough?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Lets the model focus on the most relevant parts of the input.
  • Computes weights from similarity between queries and keys; combines values.
  • Solves bottleneck of compressing a whole sequence into one vector.
  • Self-attention relates every token to every other token.
  • Foundation of transformers.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics