podcasts / The attention family / episode / question
Question

What is the difference between self-attention and Bahdanau attention?

Answered from Simplified self attention | The attention family series - Lecture 5 · The attention family · 2026-09-16

According to Sreedath Panat of Vizuara, Bahdanau attention lets the tokens of an output sequence, such as a French translation, attend to the tokens of a different input sequence, such as the English source. The two sequences can have different lengths, so the attention map is generally rectangular, which makes it closer to cross-attention. In self-attention a single sentence attends to itself, so every token scores against every token of the same sequence and the attention weight matrix is always square.

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

▸More from this episode

Q1How does simplified self-attention compute context vectors without trainable weights, according to Vizuara?Q2What is the matrix formula for simplified self-attention, and how does it relate to Attention Is All You Need?Q4Why does a word need a context vector instead of its embedding, according to Vizuara?Q5Why doesn't a token always get its highest attention score against itself?Q6Why does self-attention use softmax instead of dividing attention scores by their sum?Q7Are self-attention scores and attention weights symmetric?
Transcribe your links. Paste a YouTube, Google Drive or podcast link and WhipScribe gives you the transcript. Transcribe a link →