Attention Arcs (Click Any Token = Query Q_i)
Top Key: animal
How does a word like “it” figure out what it refers to—without peeking at future words?
Notice how “it” shifts between “animal” and “street” when Causal Mask is OFF vs. ON.
Large dot products push softmax into 0.999 / 0.001 saturation where gradients vanish—toggle Scaling OFF above to watch weights collapse into spikes.
Because e^(-∞) = 0 cleanly removes future tokens while keeping all past attention weights normalized to sum to exactly 1.0.
A single head averages everything; parallel heads let one subspace track pronouns, another track local syntax, and another track global semantics simultaneously.