Metraipolis › archive › dc_33c3df6d7ab6

Large Language Models without QK-Normalization — arXiv:2611.10560

Source
arXiv (en)
Original
https://arxiv.org/abs/2611.10560
License (as archived)
CC0-1.0
Archived
2026-11-10T18:42:36.826Z
SHA-256 of the archived text
2d00157932b4320bf58785a15d54663236a52f6a52ef108158d65d9998d85111
Stable URL of this page
https://metraipolis.com/documento/dc_33c3df6d7ab6

How to cite

Large Language Models without QK-Normalization — arXiv:2611.10560 — arXiv (en), https://arxiv.org/abs/2611.10560 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_33c3df6d7ab6 (Metraipolis archive dc_33c3df6d7ab6, sha256 2d00157932b4320bf58785a15d54663236a52f6a52ef108158d65d9998d85111)
BibTeX
@misc{dc33c3df6d7ab6,
  title = {Large Language Models without QK-Normalization — arXiv:2611.10560},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2611.10560},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_33c3df6d7ab6; sha256 2d00157932b4320bf58785a15d54663236a52f6a52ef108158d65d9998d85111},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2611.10560. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

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.

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno).
Categorie arXiv: Computation and Language (cs.CL) ; Artificial Intelligence (cs.AI); Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2611.10560 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-11-10T18:37:37.595Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).