Why One Attention Head Isn’t Enough: Parallel Subspaces
At any token position, a language model needs to track multiple things simultaneously: **who** a pronoun refers to, **what** the preceding word was, and **which** verb governs the clause. One softmax distribution averages these conflicting signals into mush.
**Multi-Head Attention** slices $d_{\text{model}}$ into $H$ independent subspaces (e.g., 32 heads × 128 dims). Each head learns its own $W_Q, W_K, W_V$ projections in parallel, then concatenates all heads through $W_O$. Click the 4 head cards on the stage to see each head focus on a different token for the exact same word!
idea:Splitting 4,096 dims into 32 heads of 128 dims costs virtually the exact same FLOPs as one giant 4,096-dim head—yet unlocks 32 simultaneous reasoning patterns.