podcasts / The attention family / episode / question
Question

Why does self-attention use softmax instead of dividing attention scores by their sum?

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

In Vizuara's Lecture 5, Sreedath Panat notes that dividing scores such as 1, 2, 3 and 6 by their total of 12 does give numbers that sum to 1. The problem is that dot products turn negative when two vectors are more than 90 degrees apart, and dividing by the sum would then yield negative attention weights. Softmax guarantees every weight is positive and that each row sums to 1, which is why raw scores are always passed through it.

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?Q3What is the difference between self-attention and Bahdanau attention?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?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 →