podcasts / The attention family / episode / question
Question

Why do transformers use multiple attention heads, according to Vizuara?

Answered from Introduction to Multi-Head Attention (MHA) | The attention family series - Lecture 8 · The attention family · 2026-10-03

In Vizuara's Lecture 8, Sreedath Panat explains that a single attention head produces one set of attention weights and therefore only one context vector per token, which cannot capture everything worth knowing about that token. With several heads, each computes its own independent attention weights, so a token gets one context vector per head, and each head can learn something different. Combined, those outputs give a richer representation than one head can. Panat stresses this picture is qualitative: what a given head really learns is hard to say without attention visualisation maps.

▸In their words

“It's very difficult to unless you have some sort of attention visualization map.” Sreedath Panat · at 7:56 — open in the transcript →

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

▸More from this episode

Q2How are the outputs of multiple attention heads combined into one context vector per token?Q3How many dimensions does each attention head get in GPT-2 and GPT-3?Q4Why is implementing multi-head attention with a for loop slow?Q5What is the weight split approach to multi-head attention that Vizuara teaches?Q6Why do you transpose dimensions 1 and 2 when computing batched multi-head attention?
Transcribe your links. Paste a YouTube, Google Drive or podcast link and WhipScribe gives you the transcript. Transcribe a link →