Dense warm-up step

KL divergence

×

The KL divergence of the target from the indexer’s distribution, summed over the queries.

LI=∑tDKL(pt,: ∥ Softmax⁡(It,:))\mathcal L_I=\sum_t D_{\mathrm{KL}}\big(p_{t,:}\,\big\|\,\operatorname{Softmax}(I_{t,:})\big)
in
pp [B batch, T queries, T keys]II [B batch, T queries, T keys]
out
LI\mathcal L_I [1]
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