attention-is-structured-directed-computation

IN derived (depth 1)

Created 2026-06-21T11:23:58+00:00 · Reviewed 2026-06-21T14:41:08+00:00

Transformer attention is a structured directed computation — asymmetric (i→j ≠ j→i), position-dependent (requiring explicit positional encoding), and gradient-stabilized (√d_k scaling) — not a symmetric similarity metric.

Summary

Attention in a transformer is a one-way, order-sensitive lookup operation, not a simple "how alike are these two tokens" score — what token A pulls from token B is a different computation than the reverse, and it only works because positions are encoded explicitly and the math is scaled to keep training stable. This matters because any model or inference that treats attention as a symmetric similarity metric gets the wrong picture of what the network is actually computing and can therefore mispredict how changes to one token ripple through the sequence.

Justifications

SL — Three independent mechanical properties of attention collectively define it as a directed graph computation rather than pairwise similarity

Antecedents (all must be IN):

Dependents

These beliefs depend on this one: