atlas

Research map / Architectures and efficiency / Attention and transformers

Normalization in Attention Dynamics

NeurIPS 2025 · Architectures and efficiency › Attention and transformers · approach: Transformer block and depth design · 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.

Casts six transformer normalization schemes (Post-LN, Pre-LN, Mix-LN, Peri-LN, nGPT, sqrt-scaling) as a common normalized attention particle ODE on the sphere, where each scheme is a speed-regulation factor, and derives clustering and initial/terminal velocity results.

Problem

How normalization schemes in deep transformers affect token representation evolution, clustering dynamics, and representation collapse in depth, which has lacked a unified theoretical comparison.

Approach

Reinterprets differently normalized attention updates as a single interacting-particle ODE on the sphere (with Q=K=V=I) where each normalization scheme acts as a speed regulation factor s_j(t); extends Lojasiewicz-based convergence to these modulated gradient flows and compares initial and terminal token velocities across schemes.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use Peri-LN instead of Post-LNNormalized attention dynamics · Symmetric orthogonal initializationterminal cosine-similarity velocity: Ce^{-2t} -> C/t^3Helped
Use Pre-LN instead of Post-LNNormalized attention dynamics · Symmetric orthogonal initializationterminal cosine-similarity velocity: Ce^{-2t} -> C/t^3Helped
Use sqrt-scaling instead of Post-LNNormalized attention dynamics · Symmetric orthogonal initializationterminal cosine-similarity velocity: Ce^{-2t} -> \displaystyle C\frac{e^{-4\sqrt{t}}}{\sqrt{t}}Helped
Use Peri-LN instead of Post-LNNormalized attention dynamics · Local-cone initializationvariance decay rate: -\Theta(\mathrm{Var}(t)) -> -\Theta\left(\mathrm{Var}(t)/t \right)Helped
Use Pre-LN instead of Post-LNNormalized attention dynamics · Local-cone initializationvariance decay rate: -\Theta(\mathrm{Var}(t)) -> -\Theta\left(\mathrm{Var}(t)/t \right)Helped
Use Peri-LN instead of Post-LNNormalized attention dynamics · Random uniform initial directionsfirst-layer angular displacement: \Omega(\min(d/\log n, \sqrt{n/\log n}))Helped
Use nGPT with a selected \alpha_t scheduleNormalized attention dynamics · Symmetric orthogonal initializationterminal cosine-similarity velocity: C\displaystyle\alpha_te^{-2\int_C^t \alpha_s d s}Mixed

Surprising findings

Limitations

Experimental setup

Metrics: cosine similarity evolution initial velocity bound cluster variance decay rate

Baselines: Post-LN Pre-LN Mix-LN Peri-LN nGPT sqrt-scaling

Builds on: Lojasiewicz inequality particle dynamics of transformers (Geshkovski et al.) nGPT Mix-LN Peri-LN

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