QK-Norm: ℓ2-normalizing queries and keys stopped logit blowups in ViT-22B
RobertTLange · x · 2026-11-26
Robert Lange explains why attention divides by √dk: dot-product spread grows like √dk, saturating softmax and killing gradients. QK-Norm (arXiv:2010.04245) offers another fix — ℓ2-normalize queries and keys per head, learn a scale, and drop 1/√dk. It prevented attention logit blowups at scale (e.g. ViT-22B) and averaged +0.928 BLEU on low-resource translation benchmarks.
Related event: Thread Explains Why Attention Divides by √d_k and Its Alternatives(4 posts)→
More from Research
- 410 AI SEO agencies probed via 7-model parametric memory: over half unrecognized — dejanseo · 2026-11-27
- CVPR 2028 announces Program Chairs for San Antonio and recruits Publicity Chair volunteers — HildeKuehne · 2026-11-27
- Strangers in a Latent Space: Free Interactive Zero-Math Book Teaches How LLMs Work — s_scardapane · 2026-11-27
- rjs Explains Shaping in RL: Turning a Head-Scratcher Into a No-Brainer — round · 2026-11-27
- mgostIH: Metamath-Style Simple Provers Will Beat Lean as LLMs Outgrow Explicit Tactics — mgostIH · 2026-11-27
- AI data deluge is outpacing RCTs: a new framework for AI-era clinical medicine — arjunrajlab · 2026-11-27