Reproduce “Large Language Models without QK-Normalization” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Yongding Tao, Yitong Qiao, Tianqi Shao, Tian Wang, Zhixuan Chu, Xiaoming Wu, Yihong Dong, Ge Li

QK-MAP encodes changes in query and key magnitudes as patterns in a bounded periodic representation, rather than relying on vector length alone. In matched pretraining from 190M to 7B, it achieves lower language-modeling cross-entropy than Standard attention and QK-Norm at every tested scale. At 7B, its Avg-8 is 56.75%, versus 55.86% and 55.48%; this does not hold at 760M.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.