2025 · 36 citations · 17 references
ComputingComputer ScienceComputer SystemsKnowledge RepresentationKnowledge ReuseNatural Language ProcessingCache Behavior AnalysisCachingCaching StrategiesLanguage ModelingCache DesignCache LocalityInline CachingLarge Language ModelsLong-context Language Modeling
Large language models (LLMs) often incorporate multiple text chunks in their inputs to provide the necessary contexts. To speed up the prefill of the long LLM inputs, one can pre-compute the KV cache of a text and re-use the KV cache when the context is reused as the prefix of another LLM input. However, the reused text chunks are not always the input prefix, which makes precomputed KV caches not directly usable since they ignore the text's cross-attention with the preceding texts. Thus, the benefits of reusing KV caches remain largely unrealized.
17
DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) · 2023 · 76.3K citations · Full text
Sanjay Ghemawat · Communications of the ACM · 2008 · 18.5K citations · Full text
Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks
Nils Reimers, Iryna Gurevych · 2019 · 10.9K citations · Full text
RoFormer: Enhanced transformer with Rotary Position Embedding
Jianlin Su, Murtadha Ahmed, Yu Lu et al. · Neurocomputing · 2023 · 1.4K citations
Efficient Memory Management for Large Language Model Serving with PagedAttention
Woosuk Kwon, Z. Li, Siyuan Zhuang et al. · 2023 · 1.1K citations · Full text