out [1]
Explanation
Two losses and two learners that do not share a gradient. The indexer’s input is detached from the computational graph: the indexer’s training signal is from only, and the main model is optimized according to the language modeling loss only.
Against the warm-up: attention is sparse now, every parameter trains, and the target is taken over the selected positions alone.
Learning rate ; 15,000 steps of 480 sequences of 128K tokens, 943.7B tokens in all. The optimizer is not disclosed, nor how the indexer’s loss is formed over the model’s layers; the plate draws one attention and its indexer.
Sources
Direct evidence
§2.1, Sparse Training Stage: the token selection is introduced and all model parameters are optimized. The indexer’s outputs keep being aligned to the main attention over the selected set, L_I = Σ_t D_KL(p_{t,S_t} ‖ Softmax(I_{t,S_t})) (eq. 4). The indexer’s input is detached from the computational graph: the indexer’s training signal is from L_I only, the main model’s from the language modeling loss only. Learning rate 7.3×10⁻⁶; 2,048 key-value tokens for each query; 15,000 steps of 480 sequences of 128K tokens.
DeepSeek_V3_2.pdf p. 3 ↗ · deepseek-ai/DeepSeek-V3.2-Exp @ 87e509a2e5a1
§4.2, Hyper-Parameters: 61 Transformer layers, hidden dimension 7168, 128 attention heads.
DeepSeek-V3-technical-report-2412.19437v2.pdf p. 22 ↗ · arXiv 2412.19437 @ v2
§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