SESK: Stuff Everyone Should Know · sesk.info/ai-attention-weighted-values
After query-key scores become weights, what does attention combine?
It forms a weighted sum of value vectors.
- The value vectors ✔
- Only the query vectors
- The token spellings
Why: A query is compared with keys to determine relevance weights. Those weights mix the corresponding values into the attention output.
Huh, didn't know that: Keys decide how much to attend, while values carry the information that gets combined.
Attention valued the answer after checking the keys.
Like this card?
References
Answer: The value vectors. A query is compared with keys to determine relevance weights. Those weights mix the corresponding values into the attention output.
- Attention Is All You Need arxiv.org/html/1706.03762
The output is computed as a weighted sum of the values
Checked 2026-10-10.
Think this answer is wrong? Tap "Challenge this answer" on the card in the game and tell us why.
More stuff everyone should know
That's stuff everyone should know.