Key and value heads

Pinned implementation and paper LDLM @ e18c42a, not yet public · arXiv:2605.07933v1 · OpenWebText · 1024 · checkpoint, tokenizer and saved statistics not verified · How to read

Latent encoder › 6 encoder blocks › Perceiver attention › Key and value heads

Take the latents’ own keys

×

no parameters

The second 768 features of the fused projection’s output are the latents’ own keys.

ka=p769:1536a{\htmlData{light=take-k-self}{{\htmlClass{vl-stream-k}{k^{a}}}}}=p^{a}_{769:1536}
in
pap^{a} [B batch, T positions, 2304 q, k, v]
out
kak^{a} [B batch, T positions, 768 d]
Sources1

Direct evidence

Both streams are normalized; queries come from one stream, keys and values from both, concatenated along positions; queries and keys are normalized per head; attention runs over all positions with softcap; the heads are merged and projected.

The implementation, pinned at revision e18c42acdfb7, not yet public