Deep learningUnder construction
The KV cache
This page is not written yet. Its place on the map is ready: where it lies, what it rests on, and what leads from it.
What it rests on
- AttentionDeep learningAttention lets each position of a sequence take in information from other positions. Each position sends out a query; every position it may read offers a key and a value; the better a key matches the query, the more of that position’s value it receives. In a language model a position may read only itself and the positions before it.
- TransformersDeep learningA network built from attention and feed-forward layers with residual connections and normalisation: an encoder stack, a decoder stack, or both.
What leads from it
- Causal encoder-decoderPapers, under construction
- Compressed Sparse Attention 2Papers, under construction
- Sparse attentionDeep learning, under construction
- Grouped-query attentionDeep learning, under construction
- Multi-head latent attentionDeep learning, under construction
- The context windowDeep learning, under construction
- Sliding-window attentionDeep learning, under construction
- KV cache evictionDeep learning, under construction
- KV cache quantisationDeep learning, under construction
- Cross-layer KV sharingDeep learning, under construction
- Paged attentionDeep learning, under construction