Stateful Large Language Model Serving with Pensieve
On the map: Efficient LLM inference and serving → KV cache optimization
Abstract (arXiv)
Large Language Models (LLMs) are wildly popular today and it is important to serve them efficiently. Existing LLM serving systems are stateless across requests. Consequently, when LLMs are used in the common setting of multi-turn conversations, a growing log of the conversation history must be processed alongside any request by the serving system at each turn, resulting in repeated processing. In this paper, we design Pensieve, a system optimized for multi-turn conversation LLM serving. Pensieve maintains the conversation state across requests by caching previously processed history to avoid duplicate processing. Pensieve's multi-tier caching strategy can utilize both GPU and CPU memory to efficiently store and retrieve cached data. Pensieve also generalizes the recent PagedAttention kernel to support attention between multiple input tokens with a GPU cache spread over non-contiguous memory. Our evaluation shows that Pensieve can achieve 1.14-3.0× the throughput of vLLM and TensorRT-LLM and significantly reduce latency.
Key facts. Cited by 59 papers in the map (data through 7 Oct 2026). Placed in KV cache optimization, one of 12 directions in Efficient LLM inference and serving. Builds on 29 of its 60 references that are in the map. First posted on arXiv 9 Dec 2023.
Builds on
29 of 60 references.
Closest ancestors · 2
Same direction, newest first
- 2023CacheGen: KV Cache Compression and Streaming for Fast Large Language Model Serving11 Oct
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttention12 Sep
Other references · 27
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
- 2022Fast Inference from Transformers via Speculative Decodingcited by 1,615
- 2019Root Mean Square Layer Normalizationcited by 1,425
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
- 2017Mixed Precision Trainingcited by 1,135
15 more
- 2023Accelerating Large Language Model Decoding with Speculative Samplingcited by 975
- 2016Training Deep Nets with Sublinear Memory Costcited by 825
- 2023Enhancing Chat Language Models by Scaling High-quality Instructional Conversationscited by 825
- 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 798
- 2023FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPUcited by 567
- 2021A White Paper on Neural Network Quantizationcited by 453
- 2022DeepSpeed Inference: Enabling Efficient Inference of Transformer Models at Unprecedented Scalecited by 403
- 2021ZeRO-Offload: Democratizing Billion-Scale Model Trainingcited by 339
- 2022Reducing Activation Recomputation in Large Transformer Modelscited by 300
- 2023Prompt Cache: Modular Attention Reuse for Low-Latency Inferencecited by 255
- 2022The case for 4-bit precision: k-bit Inference Scaling Lawscited by 247
- 2016Clipper: A Low-Latency Online Prediction Serving Systemcited by 191
- 2019Checkmate: Breaking the Memory Wall with Optimal Tensor Rematerializationcited by 90
- 2017TensorFlow-Serving: Flexible, High-Performance ML Servingcited by 85
- 2021Large Graph Convolutional Network Training with GPU-Oriented Data Communication Architecturecited by 25
Built on by
Citing papers per year: 2023: 1; 2024: 8; 2025: 22; 2026: 28.
59 papers.
Sort:
By area:
- 2025Memory-R1: Enhancing Large Language Model Agents to Manage and Utilize Memories via Reinforcement Learningcited by 220
- 2024Cost-Efficient Large Language Model Serving for Multi-turn Conversations with CachedAttentioncited by 159
- 2024A Survey on Large Language Model Acceleration based on KV Cache Managementcited by 125
- 2025LMCache: An Efficient KV Cache Layer for Enterprise-Scale LLM Inferencecited by 119
- 2023Towards Efficient Generative Large Language Model Serving: A Survey from Algorithms to Systemscited by 101
- 2024MemServe: Context Caching for Disaggregated LLM Serving with Elastic Memory Poolcited by 67
- 2025KVFlow: Efficient Prefix Caching for Accelerating LLM-Based Multi-Agent Workflowscited by 56
- 2024EPIC: Efficient Position-Independent Caching for Serving Large Language Modelscited by 45
- 2025KVCache Cache in the Wild: Characterizing and Optimizing KVCache Cache at a Large Cloud Providercited by 41
- 2024Fast State Restoration in LLM Serving with HCachecited by 32
- 2024Marconi: Prefix Caching for the Era of Hybrid LLMscited by 29
- 2025TAPAS: Thermal- and Power-Aware Scheduling for LLM Inference in Cloud Platformscited by 28
38 more
- 2025Strata: Hierarchical Context Caching for Long Context Language Model Servingcited by 25
- 2024Asynchronous LLM Function Callingcited by 18
- 2026ThunderAgent: A Simple, Fast and Program-Aware Agentic Inference Systemcited by 17
- 2024METIS: Fast Quality-Aware RAG Systems with Configuration Adaptationcited by 16
- 2025TokenCake: A KV-Cache-centric Serving Framework for LLM-based Multi-Agent Applicationscited by 16
- 2025Pie: A Programmable Serving System for Emerging LLM Applicationscited by 15
- 2025RetroInfer: A Vector Storage Engine for Scalable Long-Context LLM Inferencecited by 13
- 2025Nexus:Proactive Intra-GPU Disaggregation of Prefill and Decode in LLM Servingcited by 12
- 2025TokenFlow: Responsive LLM Text Streaming Serving under Request Burst via Preemptive Schedulingcited by 10
- 2025MPIC: Position-Independent Multimodal Context Caching System for Efficient MLLM Servingcited by 8
- 2026Execution-State Capsules: Graph-Bound Execution-State Checkpoint and Restore for Low-Latency, Small-Batch, On-Device Physical-AI Servingcited by 7
- 2025Alignment Drift in CEFR-prompted LLMs for Interactive Spanish Tutoringcited by 6
- 2026You Need an Encoder for Native Position-Independent Cachingcited by 6
- 2025TokenLake: A Unified Segment-level Prefix Cache Pool for Fine-grained Elastic Long-Context LLM Servingcited by 5
- 2025Improving the Serving Performance of Multi-LoRA Large Language Models via Efficient LoRA and KV Cache Managementcited by 4
- 2026Beyond Experience Retrieval: Learning to Generate Utility-Optimized Structured Experience for Frozen LLMscited by 4
- 2025ShadowServe: Interference-Free KV Cache Fetching for Distributed Prefix Cachingcited by 3
- 2026ReCache: Efficient KV Cache Reuse and Compression for Tool-Augmented LLM Agentscited by 3
- 2025Generative AI for CAD Automation: Leveraging Large Language Models for 3D Modellingcited by 2
- 2025Revisiting Disaggregated Large Language Model Serving for Performance and Energy Implicationscited by 2
- 2026HybridGen: Efficient LLM Generative Inference via CPU-GPU Hybrid Computingcited by 2
- 2026Multi-Segment Attention: Enabling Efficient KV-Cache Management for Faster Large Language Model Servingcited by 2
- 2026SwiftCache: Efficient LLM Serving for Multi-turn Conversations with Heterogeneous KV Cache Sharingcited by 2
- 2026Towards Efficient Large Language Model Serving: A Survey on System-Aware KV Cache Optimizationcited by 2
- 2026SMetric: Rethink LLM Scheduling for Serving Agents with Balanced Session-centric Schedulingcited by 2
- 2026SmartGen: Seamless Disaggregated LLM Inference with Selective KV Cache Transfercited by 2
- 2025EFIM: Efficient Serving of LLMs for Infilling Tasks with Improved KV Cache Reusecited by 1
- 2025Krul: Efficient State Restoration for Multi-turn Conversations with Dynamic Cross-layer KV Sharingcited by 1
- 2026PrefixWall: Mitigating Prefix Caching Side Channels in Shared LLM Systemscited by 1
- 2026A CXL Memory Rack for Multi-Turn LLM Servingcited by 1
- 2025Network and Systems Performance Characterization of MCP-Enabled LLM Agentscited by 0
- 2025DisCEdge: Distributed Context Management for Large Language Models at the Edgecited by 0
- 2026Efficient Remote KV Cache Reuse with GPU-native Video Codeccited by 0
- 2026Adaptive Multi-Objective Tiered Storage Configuration for KV Cache in LLM Servicecited by 0
- 2026SmoothAgent: Efficient Long-Horizon LLM-Based Agent Serving with Lookahead Context Engineeringcited by 0
- 2026Multi-Turn Distributed Inference with Mixture of Experts for 6G Edge--Cloud Networkscited by 0
- 2026Not Forgotten: Implementation and Evaluation of a Personalized Episodic Memory for the Humanoid Robot Head Kimcited by 0
- 2026ServerlessT2I: Efficient Text-to-Image Workflow Serving on a Serverless Platformcited by 0
50 most cited of 59 All 59 (JSON)
- 2026TempoKV: Timely Staging of LLM KV Caches for Memory-Semantic Flash28 Sep 2026
- 2026OmniTide: Co-Designing Algorithms and Systems for Efficient On-Device Omni-LLM Streaming28 Sep 2026
- 2026EfficientAgent: What Makes KV Cache Offloading Work for Concurrent Agents?27 Sep 2026
- 2026Crossflow: Prefill-Decode Elasticity for Agentic LLM Serving22 Sep 2026
- 2026Hot-Cold Tiering of HBM and High Bandwidth Flash for Agentic LLM Serving22 Sep 2026
- 2026Bridging LLM Serving and CXL-SSDs with Chunk-Aware KV Cache Management20 Sep 2026
- 2026mzCache: On-Device LLM Memory Management under Multitasking1 Sep 2026
- 2026Simthesizer: An Agent-Driven Simulation Framework for LLM Serving Systems25 Aug 2026
- 2026ReCache: Efficient KV Cache Reuse and Compression for Tool-Augmented LLM Agents20 Aug 2026
- 2026TensorCast: The Missing Tensor Management Layer in Large Language Model Infrastructure6 Aug 2026
- 2026SmartGen: Seamless Disaggregated LLM Inference with Selective KV Cache Transfer30 Jul 2026
- 2026ServerlessT2I: Efficient Text-to-Image Workflow Serving on a Serverless Platform29 Jul 2026
38 more
- 2026Not Forgotten: Implementation and Evaluation of a Personalized Episodic Memory for the Humanoid Robot Head Kim27 Jul 2026
- 2026A CXL Memory Rack for Multi-Turn LLM Serving20 Jul 2026
- 2026SMetric: Rethink LLM Scheduling for Serving Agents with Balanced Session-centric Scheduling9 Jul 2026
- 2026Towards Efficient Large Language Model Serving: A Survey on System-Aware KV Cache Optimization9 Jul 2026
- 2026SmoothAgent: Efficient Long-Horizon LLM-Based Agent Serving with Lookahead Context Engineering30 Jun 2026
- 2026Execution-State Capsules: Graph-Bound Execution-State Checkpoint and Restore for Low-Latency, Small-Batch, On-Device Physical-AI Serving18 Jun 2026
- 2026SwiftCache: Efficient LLM Serving for Multi-turn Conversations with Heterogeneous KV Cache Sharing15 Jun 2026
- 2026Multi-Segment Attention: Enabling Efficient KV-Cache Management for Faster Large Language Model Serving1 Jun 2026
- 2026Multi-Turn Distributed Inference with Mixture of Experts for 6G Edge--Cloud Networks6 May 2026
- 2026HybridGen: Efficient LLM Generative Inference via CPU-GPU Hybrid Computing20 Apr 2026
- 2026PrefixWall: Mitigating Prefix Caching Side Channels in Shared LLM Systems11 Mar 2026
- 2026Adaptive Multi-Objective Tiered Storage Configuration for KV Cache in LLM Service25 Feb 2026
- 2026ThunderAgent: A Simple, Fast and Program-Aware Agentic Inference System14 Feb 2026
- 2026Efficient Remote KV Cache Reuse with GPU-native Video Codec10 Feb 2026
- 2026You Need an Encoder for Native Position-Independent Caching2 Feb 2026
- 2026Beyond Experience Retrieval: Learning to Generate Utility-Optimized Structured Experience for Frozen LLMs30 Jan 2026
- 2025DisCEdge: Distributed Context Management for Large Language Models at the Edge27 Nov 2025
- 2025Revisiting Disaggregated Large Language Model Serving for Performance and Energy Implications14 Nov 2025
- 2025Pie: A Programmable Serving System for Emerging LLM Applications28 Oct 2025
- 2025TokenCake: A KV-Cache-centric Serving Framework for LLM-based Multi-Agent Applications21 Oct 2025
- 2025Network and Systems Performance Characterization of MCP-Enabled LLM Agents20 Oct 2025
- 2025LMCache: An Efficient KV Cache Layer for Enterprise-Scale LLM Inference8 Oct 2025
- 2025TokenFlow: Responsive LLM Text Streaming Serving under Request Burst via Preemptive Scheduling3 Oct 2025
- 2025ShadowServe: Interference-Free KV Cache Fetching for Distributed Prefix Caching21 Sep 2025
- 2025Memory-R1: Enhancing Large Language Model Agents to Manage and Utilize Memories via Reinforcement Learning27 Aug 2025
- 2025Strata: Hierarchical Context Caching for Long Context Language Model Serving26 Aug 2025
- 2025TokenLake: A Unified Segment-level Prefix Cache Pool for Fine-grained Elastic Long-Context LLM Serving24 Aug 2025
- 2025Krul: Efficient State Restoration for Multi-turn Conversations with Dynamic Cross-layer KV Sharing10 Jul 2025
- 2025KVFlow: Efficient Prefix Caching for Accelerating LLM-Based Multi-Agent Workflows10 Jul 2025
- 2025Nexus:Proactive Intra-GPU Disaggregation of Prefill and Decode in LLM Serving9 Jul 2025
- 2025Generative AI for CAD Automation: Leveraging Large Language Models for 3D Modelling5 Jul 2025
- 2025KVCache Cache in the Wild: Characterizing and Optimizing KVCache Cache at a Large Cloud Provider3 Jun 2025
- 2025EFIM: Efficient Serving of LLMs for Infilling Tasks with Improved KV Cache Reuse28 May 2025
- 2025Alignment Drift in CEFR-prompted LLMs for Interactive Spanish Tutoring13 May 2025
- 2025RetroInfer: A Vector Storage Engine for Scalable Long-Context LLM Inference5 May 2025
- 2025Improving the Serving Performance of Multi-LoRA Large Language Models via Efficient LoRA and KV Cache Management19 Apr 2025
- 2025MPIC: Position-Independent Multimodal Context Caching System for Efficient MLLM Serving4 Feb 2025
- 2025TAPAS: Thermal- and Power-Aware Scheduling for LLM Inference in Cloud Platforms5 Jan 2025
50 newest of 59 All 59 (JSON)
- 2024Cost-Efficient Large Language Model Serving for Multi-turn Conversations with CachedAttentioncited by 159
- 2025LMCache: An Efficient KV Cache Layer for Enterprise-Scale LLM Inferencecited by 119
- 2023Towards Efficient Generative Large Language Model Serving: A Survey from Algorithms to Systemscited by 101
- 2024MemServe: Context Caching for Disaggregated LLM Serving with Elastic Memory Poolcited by 67
- 2025KVCache Cache in the Wild: Characterizing and Optimizing KVCache Cache at a Large Cloud Providercited by 41
- 2025Strata: Hierarchical Context Caching for Long Context Language Model Servingcited by 25
- 2025TokenCake: A KV-Cache-centric Serving Framework for LLM-based Multi-Agent Applicationscited by 16
- 2025RetroInfer: A Vector Storage Engine for Scalable Long-Context LLM Inferencecited by 13
- 2025Nexus:Proactive Intra-GPU Disaggregation of Prefill and Decode in LLM Servingcited by 12
- 2025TokenFlow: Responsive LLM Text Streaming Serving under Request Burst via Preemptive Schedulingcited by 10
- 2026Execution-State Capsules: Graph-Bound Execution-State Checkpoint and Restore for Low-Latency, Small-Batch, On-Device Physical-AI Servingcited by 7
- 2025TokenLake: A Unified Segment-level Prefix Cache Pool for Fine-grained Elastic Long-Context LLM Servingcited by 5
12 most cited of 32 All 32 (JSON)
- 2026TempoKV: Timely Staging of LLM KV Caches for Memory-Semantic Flash28 Sep 2026
- 2026OmniTide: Co-Designing Algorithms and Systems for Efficient On-Device Omni-LLM Streaming28 Sep 2026
- 2026Hot-Cold Tiering of HBM and High Bandwidth Flash for Agentic LLM Serving22 Sep 2026
- 2026mzCache: On-Device LLM Memory Management under Multitasking1 Sep 2026
- 2026TensorCast: The Missing Tensor Management Layer in Large Language Model Infrastructure6 Aug 2026
- 2026SmartGen: Seamless Disaggregated LLM Inference with Selective KV Cache Transfer30 Jul 2026
- 2026A CXL Memory Rack for Multi-Turn LLM Serving20 Jul 2026
- 2026Towards Efficient Large Language Model Serving: A Survey on System-Aware KV Cache Optimization9 Jul 2026
- 2026SmoothAgent: Efficient Long-Horizon LLM-Based Agent Serving with Lookahead Context Engineering30 Jun 2026
- 2026Execution-State Capsules: Graph-Bound Execution-State Checkpoint and Restore for Low-Latency, Small-Batch, On-Device Physical-AI Serving18 Jun 2026
- 2026SwiftCache: Efficient LLM Serving for Multi-turn Conversations with Heterogeneous KV Cache Sharing15 Jun 2026
- 2026Multi-Segment Attention: Enabling Efficient KV-Cache Management for Faster Large Language Model Serving1 Jun 2026
12 newest of 32 All 32 (JSON)
- 2025Memory-R1: Enhancing Large Language Model Agents to Manage and Utilize Memories via Reinforcement Learningcited by 220
- 2025KVFlow: Efficient Prefix Caching for Accelerating LLM-Based Multi-Agent Workflowscited by 56
- 2026ThunderAgent: A Simple, Fast and Program-Aware Agentic Inference Systemcited by 17
- 2026ReCache: Efficient KV Cache Reuse and Compression for Tool-Augmented LLM Agentscited by 3
- 2026SMetric: Rethink LLM Scheduling for Serving Agents with Balanced Session-centric Schedulingcited by 2
- 2025Network and Systems Performance Characterization of MCP-Enabled LLM Agentscited by 0
- 2026Simthesizer: An Agent-Driven Simulation Framework for LLM Serving Systemscited by 0
- 2026Crossflow: Prefill-Decode Elasticity for Agentic LLM Servingcited by 0
- 2026EfficientAgent: What Makes KV Cache Offloading Work for Concurrent Agents?cited by 0
- 2026EfficientAgent: What Makes KV Cache Offloading Work for Concurrent Agents?27 Sep 2026
- 2026Crossflow: Prefill-Decode Elasticity for Agentic LLM Serving22 Sep 2026
- 2026Simthesizer: An Agent-Driven Simulation Framework for LLM Serving Systems25 Aug 2026
- 2026ReCache: Efficient KV Cache Reuse and Compression for Tool-Augmented LLM Agents20 Aug 2026
- 2026SMetric: Rethink LLM Scheduling for Serving Agents with Balanced Session-centric Scheduling9 Jul 2026
- 2026ThunderAgent: A Simple, Fast and Program-Aware Agentic Inference System14 Feb 2026
- 2025Network and Systems Performance Characterization of MCP-Enabled LLM Agents20 Oct 2025
- 2025Memory-R1: Enhancing Large Language Model Agents to Manage and Utilize Memories via Reinforcement Learning27 Aug 2025
- 2025KVFlow: Efficient Prefix Caching for Accelerating LLM-Based Multi-Agent Workflows10 Jul 2025
- 2024Fast State Restoration in LLM Serving with HCachecited by 32
- 2024METIS: Fast Quality-Aware RAG Systems with Configuration Adaptationcited by 16
- 2024METIS: Fast Quality-Aware RAG Systems with Configuration Adaptation13 Dec 2024
- 2024Fast State Restoration in LLM Serving with HCache7 Oct 2024
- 2024EPIC: Efficient Position-Independent Caching for Serving Large Language Modelscited by 45
- 2024Marconi: Prefix Caching for the Era of Hybrid LLMscited by 29
- 2025TAPAS: Thermal- and Power-Aware Scheduling for LLM Inference in Cloud Platformscited by 28
- 2024Asynchronous LLM Function Callingcited by 18
- 2025Alignment Drift in CEFR-prompted LLMs for Interactive Spanish Tutoringcited by 6
- 2026You Need an Encoder for Native Position-Independent Cachingcited by 6
- 2026Beyond Experience Retrieval: Learning to Generate Utility-Optimized Structured Experience for Frozen LLMscited by 4
- 2025Generative AI for CAD Automation: Leveraging Large Language Models for 3D Modellingcited by 2
- 2025DisCEdge: Distributed Context Management for Large Language Models at the Edgecited by 0
- 2026Not Forgotten: Implementation and Evaluation of a Personalized Episodic Memory for the Humanoid Robot Head Kimcited by 0
- 2026ServerlessT2I: Efficient Text-to-Image Workflow Serving on a Serverless Platformcited by 0
- 2026Bridging LLM Serving and CXL-SSDs with Chunk-Aware KV Cache Managementcited by 0
- 2026Bridging LLM Serving and CXL-SSDs with Chunk-Aware KV Cache Management20 Sep 2026
- 2026ServerlessT2I: Efficient Text-to-Image Workflow Serving on a Serverless Platform29 Jul 2026
- 2026Not Forgotten: Implementation and Evaluation of a Personalized Episodic Memory for the Humanoid Robot Head Kim27 Jul 2026
- 2026You Need an Encoder for Native Position-Independent Caching2 Feb 2026
- 2026Beyond Experience Retrieval: Learning to Generate Utility-Optimized Structured Experience for Frozen LLMs30 Jan 2026
- 2025DisCEdge: Distributed Context Management for Large Language Models at the Edge27 Nov 2025
- 2025Generative AI for CAD Automation: Leveraging Large Language Models for 3D Modelling5 Jul 2025
- 2025Alignment Drift in CEFR-prompted LLMs for Interactive Spanish Tutoring13 May 2025
- 2025TAPAS: Thermal- and Power-Aware Scheduling for LLM Inference in Cloud Platforms5 Jan 2025
- 2024Asynchronous LLM Function Calling9 Dec 2024
- 2024Marconi: Prefix Caching for the Era of Hybrid LLMs28 Nov 2024
- 2024EPIC: Efficient Position-Independent Caching for Serving Large Language Models20 Oct 2024
Similar, not cited
Close in wording, no citation either way
- 2024Keep the Cost Down: A Review on Methods to Optimize LLM' s KV-Cache Consumption
- 2026Tangram: Unlocking Non-Uniform KV Cache Compression for Efficient Multi-turn LLM Serving
- 2025IC-Cache: Efficient Large Language Model Serving via In-context Caching
- 2024Infinite-LLM: Efficient LLM Service for Long Context with DistAttention and Distributed KVCache
- 2025Mell: Memory-Efficient Large Language Model Serving via Multi-GPU KV Cache Management
- 2025Stateful KV Cache Management for LLMs: Balancing Space, Time, Accuracy, and Positional Fidelity
- 2025FlowKV: Enhancing Multi-Turn Conversational Coherence in LLMs via Isolated Key-Value Cache Management
- 2025Rethinking Caching for LLM Serving Systems: Beyond Traditional Heuristics