podcasts / The attention family / episode / question
Question

How do you read an attention weights matrix in neural machine translation, according to Vizuara?

Answered from Additive Attention (Bahdanau Attention) | The Attention Family, Lecture 3 · The attention family · 2026-09-08

The Vizuara instructor reads the matrix row by row: each row belongs to one output word and its cells, which sum to one, show how much that word attends to each input word. The brightest cells reveal which words are translations of each other. The matrix is square only when input and output lengths match; cross-sentence attention is generally rectangular, unlike self-attention, which is always square.

▸In their words

“Are forever going to see as long as you are working with transformer architecture.” Instructor · at 25:48 — open in the transcript →

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

▸More from this episode

Q1How does Bahdanau additive attention compute alignment scores, according to Vizuara?Q2Why is Bahdanau attention called additive attention?Q3What problem did Bahdanau attention solve in RNN sequence-to-sequence translation?Q4What is the difference between attention scores and attention weights in Bahdanau attention?Q6How does a Bahdanau attention decoder predict the next token, as Vizuara explains it?Q7How does additive attention differ from Luong dot-product and scaled dot-product attention?
Transcribe your links. Paste a YouTube, Google Drive or podcast link and WhipScribe gives you the transcript. Transcribe a link →