atlas

Research map / Architectures and efficiency / Attention and transformers

The underlying structures of self-attention: symmetry, directionality, and emergent dynamics in Transformer training

ICML 2025 · Architectures and efficiency › Attention and transformers · approach: Attention head and block redesign · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Derives a bilinear-form framework showing that autoregressive training induces column-dominant directionality and bidirectional training induces symmetry in the query-key matrix W_qk of self-attention, validates this across pretrained models and modalities, and shows symmetric initialization speeds up encoder-only training.

Problem

Understanding how information is embedded in self-attention weight matrices and how autoregressive versus bidirectional training objectives shape their structure remains unclear.

Approach

Reformulates self-attention through the bilinear form W_qk = W_q W_k^T, shows the implicit gradient update of W_qk is a sum of rank-1 terms weighted by context/prediction counts, and derives that autoregressive objectives yield column dominance and directionality while bidirectional objectives yield approximate symmetry; uses this to motivate symmetric initialization.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use symmetric W_qk initialization instead of independent initialization (ablation)4-layer encoder-only Transformer · Jigsaw; Wikipedia; Red Pajamaloss: 2.782 -> 2.758; 0.984 -> 0.812; 1.106 -> 0.907Helped
Use symmetric W_qk initialization instead of independent initialization (ablation)12-layer encoder-only Transformer · Jigsaw; Wikipedia; Red Pajamaloss: 1.419 -> 1.430; 0.256 -> 0.247; 0.297 -> 0.274Mixed
Use symmetric W_qk initialization instead of independent initialization (ablation)24-layer encoder-only Transformer · Jigsaw; Wikipedia; Red Pajamaloss: 0.786 -> 0.739; 0.192 -> 0.166; 0.209 -> 0.189Helped
Use symmetric W_qk initialization instead of independent initialization (ablation)4-layer encoder-only Transformer · Jigsaw; Wikipedia; Red Pajamaspeed-up: 26 %; 73 %; 69 %Helped
Use symmetric W_qk initialization instead of independent initialization (ablation)12-layer encoder-only Transformer · Jigsaw; Wikipedia; Red Pajamaspeed-up: 0 %; 20 %; 35 %Mixed
Use symmetric W_qk initialization instead of independent initialization (ablation)24-layer encoder-only Transformer · Jigsaw; Wikipedia; Red Pajamaspeed-up: 14%; 44%; 34%Helped
Use symmetric W_qk initialization on vision Transformers (ablation)Vision Transformers · Vision tasksperformanceNo clear effect

Surprising findings

Experimental setup

Datasets: Wikipedia Jigsaw Red Pajama

Benchmarks: Wikipedia Jigsaw Red Pajama

Metrics: symmetry score directionality score final training loss training speed-up

Baselines: random initialization

Builds on: Transformer self-attention masked language modeling (BERT) logit lens

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy