attention-asymmetric-stabilized-mathematical-structure

IN derived (depth 1)

Created 2026-06-21T10:01:28+00:00 · Reviewed 2026-06-21T15:37:01+00:00

The attention mechanism has a carefully engineered mathematical structure: scaled dot-product computation with sqrt(d_k) normalization prevents gradient explosion in high dimensions, while the asymmetry (Q/K projections differ) means token-to-token relevance is inherently directional — attention from A to B does not imply attention from B to A.

Justifications

SL — Three attention mechanism beliefs reveal a design where stability (scaling) and expressivity (asymmetry) are both engineered into the mathematical structure

Antecedents (all must be IN):

  • IN attention-formula-scaled-dot-product — The scaled dot-product attention formula is Attention(Q,K,V) = softmax(QK^T / sqrt(d_k)) * V.
  • IN attention-scaling-factor-sqrt-dk — Attention scores are divided by sqrt(d_k) (not d_k) to stabilize gradients during training.
  • IN attention-non-symmetric — Attention is non-symmetric: high attention from token i to token j does not imply high attention from j to i, because W^Q and W^K are different matrices.

Dependents

These beliefs depend on this one: