podcasts / The attention family / episode / question
Question

Why can't self-attention use raw input embeddings for attention scores?

Answered from Q, K, V intuition - self attention with trainable weights | The attention family series - Lecture 6 · The attention family · 2026-09-18

Sreedath Panat of Vizuara argues that input embeddings ignore context: the same word always has the same vector wherever it appears. In the sentence where a dog chases a ball but it could not catch it, the first it refers to the dog and the second to the ball, yet both share one embedding, so a plain X times X-transpose score cannot treat them differently. Transforming embeddings with learned matrices before taking the dot product is what lets the scores reflect what each token should attend to.

▸In their words

“So we can't really rely on just the input embeddings alone to construct the attention scores.” Sreedath Panat · at 10:12 — open in the transcript →

Source: our own transcription of the episode. The full conversation is on The attention family (2026-09-18). Read the whole episode summary →

▸More from this episode

Q1What do query, key and value mean in self-attention, according to Vizuara?Q3How does a key weight matrix change attention scores in Vizuara's dog and ball example?Q4What does an attention-weighted sum of value vectors mean in the transformer formula?Q5Can the query, key and value space have a different dimension from the input embeddings?Q6How are the W_Q, W_K and W_V weight matrices learned in an LLM?
Transcribe your links. Paste a YouTube, Google Drive or podcast link and WhipScribe gives you the transcript. Transcribe a link →