Dense warm-up step

Sum over heads, normalize

×

The scores are summed across the heads and L1-normalized along the sequence: a distribution over positions for each query.

pt,:=∑hAh,t,:∥∑hAh,t,:∥1p_{t,:}=\frac{\sum_h A_{h,t,:}}{\lVert\sum_h A_{h,t,:}\rVert_1}
in
AA [B batch, 128 heads, T queries, T keys]
out
pp [B batch, T queries, T keys]
Sources

Direct evidence

§2.1, Dense Warm-up Stage: dense attention is kept and every parameter but the lightning indexer’s is frozen; the main attention scores are summed across heads and L1-normalized along the sequence into a target distribution p; the indexer’s objective is D_KL(p ‖ Softmax(I)), summed over the queries (eq. 3). Learning rate 10⁻³, 1,000 steps of 16 sequences of 128K tokens.

DeepSeek_V3_2.pdf pp. 2–3 ↗ · deepseek-ai/DeepSeek-V3.2-Exp @ 87e509a2e5a1