Indexer warm-up
×A short stage warms up the lightning indexer of CSA before sparse attention is switched on.
KL to a target distribution
One part of the model learns to imitate a distribution another part produces: the loss is the KL divergence of that target from the learner’s distribution.
DeepSeek-V3.2-Exp report, eq. 3
What the letters mean
: what the main attention attends to from query , the target; : the lightning indexer’s scores for it.
The report warms up the lightning indexer and names no loss or trained part. In DeepSeek-V3.2’s recipe, whose sparse attention CSA applies, the warm-up trains only the indexer, by KL to the main attention.
KL to a target distribution as drawn for DeepSeek‑V3.2‑Exp →
- Where
- 64K, after 1T tokens
Not disclosed Objective · Trainable · Tokens · Steps · Learning rate
Architecture at this stageThe lightning indexer of CSA learns to score the compressed entries; attention is still dense.
What the terms meanLightning indexer · Sparse attention
- Lightning indexer
- A small scorer beside attention that rates every earlier position for each query; sparse attention then attends only to the positions it rates highest.
- Sparse attention
- Each query attends only to a subset of the earlier positions, picked by an indexer, which keeps attention over a long context affordable.
All settings2
- Method
- When attention sparsity comes in, “a short stage to warm up the lightning indexer in CSA” first, then sparse attention for most of training
- Where
- At a sequence length of 64K, after the first 1T tokens of dense attention
Sources1
- DeepSeek-V4-2606.19348v1.pdf, p. 25Method, Where