Lightning indexer
×learned · not counted here
The only part that trains: it scores every position for every query, cheaply.
- in
- [B batch, T positions, 7168 d]
- out
- [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
§1, eq. 1 and Figure 1: the indexer’s queries and weights are derived from the query token’s hidden state and its key from a preceding token’s, the same input hidden state the main attention reads.
DeepSeek_V3_2.pdf pp. 1–2 ↗ · deepseek-ai/DeepSeek-V3.2-Exp @ 87e509a2e5a1