mlsanityData to 24 Nov 2026

Large Language Models without QK-Normalization

arXiv 2611.10560 ↗Submitted 7 Nov 2026cs.CL cs.AI cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Query-Key Normalization (QK-Norm) is widely adopted in modern large language models to control the growth of attention logits and improve training stability. However, query and key norms are not merely sources of instability. The query norm controls the sharpness of the attention distribution, while the key norm determines how strongly a token attracts different queries. These norms therefore carry token-specific information about attention selectivity and token importance. By normalizing both, QK-Norm suppresses this information. This raises a natural question: can we control query-key representations without discarding their sensitivity to magnitude? To address this question, we propose QK-MAP, a Magnitude-Aware Projection for constructing queries and keys. Rather than removing magnitude through normalization, QK-MAP transforms the input representation using multiple learnable frequencies, so that changes in magnitude are encoded as bounded phase patterns. This allows magnitude to be represented through phase and direction rather than vector length alone. Its periodic features have a fixed norm while remaining sensitive to magnitude changes, separating magnitude encoding from norm growth. Multiple frequencies further help distinguish magnitudes and reduce periodic ambiguity. Experiments across model scales from 190M to 7B parameters show that QK-MAP achieves lower training and validation loss than both Standard attention and QK-Norm. Further analyses show that QK-MAP preserves sensitivity to input scale, assigns less attention to the first token, and produces stronger attention contrast for relevant evidence in synthetic long-context tests. These results demonstrate that query-key scale can be effectively controlled without sacrificing token-specific magnitude information.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 47 of its 53 references that are in the map. Submitted 7 Nov 2026.

Builds on

47 of 53 references.

References · 47

  1. 2017Attention Is All You Needcited by 62,125
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,866
  3. 2025Qwen3 Technical Reportcited by 9,994
  4. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 5,336
  5. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 5,132
  6. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,388
  7. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,765
  8. 2016Pointer Sentinel Mixture Modelscited by 3,344
  9. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 3,052
  10. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,575
  11. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,444
  12. 2020Implicit Neural Representations with Periodic Activation Functionscited by 2,310
35 more
  1. 2020Fourier Features Let Networks Learn High Frequency Functions in Low Dimensional Domainscited by 2,305
  2. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,284
  3. 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 2,225
  4. 2025Gemma 3 Technical Reportcited by 2,058
  5. 2020Rethinking Attention with Performerscited by 1,669
  6. 2019Root Mean Square Layer Normalizationcited by 1,624
  7. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,559
  8. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,557
  9. 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,254
  10. 2024Chameleon: Mixed-Modal Early-Fusion Foundation Modelscited by 1,003
  11. 2020On Layer Normalization in the Transformer Architecturecited by 971
  12. 2017Crowdsourcing Multiple Choice Science Questionscited by 823
  13. 2023Scaling Vision Transformers to 22 Billion Parameterscited by 720
  14. 2024OLMo: Accelerating the Science of Language Modelscited by 665
  15. 2024Dolma: an Open Corpus of Three Trillion Tokens for Language Model Pretraining Researchcited by 528
  16. 2020Query-Key Normalization for Transformerscited by 322
  17. 2024When Attention Sink Emerges in Language Models: An Empirical Viewcited by 236
  18. 2019Time2Vec: Learning a Vector Representation of Timecited by 225
  19. 2023Small-scale proxies for large-scale Transformer training instabilitiescited by 206
  20. 2022DeepNet: Scaling Transformers to 1,000 Layerscited by 189
  21. 2020The Lipschitz Constant of Self-Attentioncited by 187
  22. 2023Stabilizing Transformer Training by Preventing Attention Entropy Collapsecited by 173
  23. 2019Transformers without Tears: Improving the Normalization of Self-Attentioncited by 159
  24. 2025NoLiMa: Long-Context Evaluation Beyond Literal Matchingcited by 142
  25. 2024OLMES: A Standard for Language Model Evaluationscited by 129
  26. 2021Learnable Fourier Features for Multi-Dimensional Spatial Positional Encodingcited by 97
  27. 2021NormFormer: Improved Transformer Pretraining with Extra Normalizationcited by 90
  28. 2023Spike No More: Stabilizing the Pre-training of Large Language Modelscited by 60
  29. 2021Lipschitz Normalization for Self-Attention Layers with Application to Graph Neural Networkscited by 41
  30. 2022M2D2: A Massively Multi-domain Language Modeling Datasetcited by 29
  31. 2024Methods of improving LLM training stabilitycited by 16
  32. 2025Controlling changes to attention logitscited by 4
  33. 2025Norm×Direction: Restoring the Missing Query Norm in Vision Linear Attentioncited by 3
  34. 2026QUEST: A robust attention formulation using query-modulated spherical attentioncited by 2
  35. 2026QK-Normed MLA: QK normalization without full key cachingcited by 1

Built on by

Not cited yet.