Attention over all positions

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

Sampler › Denoiser › 12 denoiser blocks › Self-attention › Attention over all positions

Weighted value sum

×

no parameters

Mix the values with each query’s weights.

O=AV{\htmlData{light=head-outputs retrieve}{O}}={\htmlData{light=weights softmax}{A}}{\htmlData{light=values}{{\htmlClass{vl-stream-v}{V}}}}
in
AA [B batch, 12 heads, T queries, T keys]VV [B batch, 12 heads, T positions, 64 head features]
out
OO [B batch, 12 heads, T positions, 64 head features]
Sources1

Direct evidence

A block normalizes, modulates by the time condition’s shift and scale, projects to queries, keys and values, rotates queries and keys, attends over all positions with softcap, and adds the projected output scaled by a gate; the MLP branch does the same with its own shift, scale and gate.

The implementation, pinned at revision e18c42acdfb7, not yet public