Definition
For a single attention head with query and key projection matrices , define the combined bilinear form , so that the pre-softmax attention logit between tokens and is . Any square matrix admits a unique Toeplitz decomposition with symmetric part and skew-symmetric part . A symmetry score quantifies which part dominates: means the operator is closer to a symmetric (undirected, content-similarity) bilinear form, means it is closer to a pure skew-symmetric (fully directional) form. A separate directionality score, built from the relative magnitude of outlier row- versus column-norms of , quantifies whether the operator’s dominant behavior is row- or column-driven — a distinct axis from the symmetric/skew split, capturing a different kind of asymmetry (which token’s representation dominates the interaction, rather than whether the interaction itself is order-independent).
Intuition
A symmetric bilinear form scores token pairs the same regardless of which token is “query” and which is “key” — attention driven purely by mutual content similarity, as in an undirected graph. A skew-symmetric form instead flips sign under swapping , encoding a genuinely directional relationship (who attends to whom is not symmetric) — the natural fingerprint of positional order or causal precedence. Because is learned freely rather than constrained to either extreme, measuring where a trained head actually sits on this spectrum reveals whether attention in that layer has organized itself around “what is similar” or “what comes before/after,” without assuming either in advance.
Properties
- Two independent axes, not one scalar. The symmetric/skew split answers “is the interaction order-independent,” while the row/column directionality score answers “which token’s representation dominates” — a head can score high on one axis and low on the other, so both must be reported, not collapsed into a single number.
- A structural signature that tracks architecture family, not just
individual heads. Saponati, Sager, Vilimelis Aceituno, Stadelmann
& Grewe (2025) compute the median symmetry and directionality score
per layer across a broad sweep of real pretrained models — BERT
(including BERT-Tiny), the GPT-2 family, LLaMA3, Phi, Mistral,
ModernBERT, T5, plus vision and audio Transformers — finding
encoder-only models consistently score higher on symmetry and
decoder-only (causal) models consistently score higher on
directionality, across every architecture and modality tested. See
saponati-etal-2025-real-encoder-only-transformers-bert-modernbert-t5-encoder-score-measurably-higher-on-w-qk-symmetry-while-real-decoder-only-transformers-gpt-2-llama3-phi-mistral-score-higher-on-directionality. - The asymmetry is provably gradient-driven, not incidental. The same paper proves (via a gradient decomposition of ‘s update as a sum of rank-1 outer-product terms ) that causal masking during training systematically biases gradient updates toward the skew-symmetric part, giving a mechanistic account for why decoder-only training produces directional operators without any explicit symmetry constraint being imposed.
- Causally load-bearing, not merely descriptive. Initializing so that starts out symmetric (versus independent random initialization) measurably speeds convergence and lowers final loss in real encoder-only Transformers trained from scratch on real text corpora (Jigsaw, Wikipedia, Red Pajama) — up to 73% faster convergence for a 4-layer encoder on Wikipedia, with smaller but still positive effects at 12 layers — a direct intervention on the operator’s own symmetric/skew balance with a measured training- dynamics consequence, not just a post-hoc correlational characterization of already-trained weights.
Relative to continuous-causal-attention-operator
Continuous causal attention operator (CCT) generalizes the domain of attention (from discrete token positions to continuous time) while reusing a pretrained model’s weights unchanged. This node instead asks a structural question about the weights themselves — whether the already-existing, standard discrete attention operator’s matrix has organized into a symmetric or directional bilinear form as a consequence of training. The two nodes concern the same family of objects (linear operators mediating the attention mechanism) but at different levels: one is about extending attention’s input domain, the other about classifying the algebraic structure of its learned weight matrix.
Key papers
- Saponati, M., Sager, P., Vilimelis Aceituno, P., Stadelmann, T. & Grewe, B. (2025). The Underlying Structures of Self-Attention: Symmetry, Directionality, and Emergent Dynamics in Transformer Training. arXiv:2502.10927 — origin of the symmetric/skew decomposition and directionality score, and the symmetric- initialization causal intervention.