PagedAttention
Also called paged attention, paged KV cache.
PagedAttention is a technique for serving language models that stores each request's key-value cache in fixed-size blocks that need not be contiguous in memory, like pages in operating-system virtual memory, which reduces wasted memory and lets requests share cached blocks.
Description
Kwon et al. introduced it in 2023 together with the vLLM serving system. Because the KV cache for each request is large and grows during generation, reserving contiguous memory for it wastes space through fragmentation and duplication, which limits how many requests can be batched. With paging, waste is close to zero, and blocks can be shared, for example between samples generated from the same prompt. The authors reported two to four times the throughput of earlier serving systems at similar latency, with larger gains for longer sequences and larger models.
Sources
- Kwon et al. (2023). Efficient Memory Management for Large Language Model Serving with PagedAttention.
Cite this entry
Protologue. (2026). PagedAttention. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.7.0, PTL-0253). https://protologue.com/t/pagedattention/
BibTeX
@misc{protologue_pagedattention,
title = {PagedAttention},
author = {{Protologue}},
year = {2026},
howpublished = {Protologue: A Taxonomy of Prompting and LLM Techniques, v1.7.0},
note = {Entry PTL-0253},
url = {https://protologue.com/t/pagedattention/}
}New terms, as they're coined
One email a week with the newest techniques, each defined and sourced like this entry.
Delivered through Beehiiv. Unsubscribe from any issue.