TinyServe: Query-Aware Cache Selection for Efficient LLM Serving
On the map: Efficient LLM inference and serving → KV cache optimization
Abstract (arXiv)
Serving large language models (LLMs) efficiently remains challenging due to the high memory and latency overhead of key-value (KV) cache access during autoregressive decoding. We present TinyServe, a lightweight and extensible serving system for deploying tiny LLMs (e.g., TinyLLaMA, GPT2-345M) with support for structured KV sparsity, plugin-based token selection, and hardware-efficient attention kernels. Unlike prior simulation frameworks, TinyServe executes real-time decoding with configurable sparsity strategies and fine-grained instrumentation. To reduce decoding cost, we introduce a textitquery-aware page selection mechanism that leverages bounding-box metadata to estimate attention relevance between the query and KV cache blocks. This enables selective KV loading with minimal overhead and no model modifications. Our fused CUDA kernel integrates page scoring, sparse memory access, and masked attention in a single pass. Experiments show that TinyServe achieves up to 3.4x speedup and over 2x memory savings with negligible accuracy drop. Additional analysis of cache reuse, page hit rate, and multi-GPU scaling confirms its practicality as an efficient system-level design for LLM training and inference research on resource-constrained hardware.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Placed in KV cache optimization, one of 12 directions in Efficient LLM inference and serving. Builds on 18 of its 33 references that are in the map. First posted on arXiv 28 Aug 2025.
Builds on
18 of 33 references.
Closest ancestors · 4
Same direction, newest first
- 2025PiKV: KV Cache Management System for Mixture of Experts2 Aug
- 2024PyramidKV: Dynamic KV Cache Compression based on Pyramidal Information Funneling4 Jun
- 2024SnapKV: LLM Knows What You are Looking for Before Generation22 Apr
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttention12 Sep
Other references · 14
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 992
- 2022In-context Learning and Induction Headscited by 964
- 2022Interleaving Retrieval with Chain-of-Thought Reasoning for Knowledge-Intensive Multi-Step Questionscited by 923
- 2023Progress measures for grokking via mechanistic interpretabilitycited by 839
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 726
- 2024TinyLlama: An Open-Source Small Language Modelcited by 618
- 2023TinyStories: How Small Can Language Models Be and Still Speak Coherent English?cited by 449
- 2025FastCache: Fast Caching for Diffusion Transformer Through Learnable Linear Approximationcited by 24
2 more
Built on by
Citing papers per year: 2025: 3; 2026: 6.
9 papers.
- 2025CXL-SpecKV: A Disaggregated FPGA Speculative KV-Cache for Datacenter LLM Servingcited by 8
- 2025CSV-Decode: Certifiable Sub-Vocabulary Decoding for Efficient Large Language Model Inferencecited by 7
- 2026AdaCorrection: Adaptive Offset Cache Correction for Accurate Diffusion Transformerscited by 3
- 2026Accelerating Frequency Domain Diffusion Models with Error-Feedback Event-Driven Cachingcited by 1
- 2026Thoughts-as-Planning: Latent World Models for Chain-of-Thoughts Optimization via Reinforcement Planningcited by 1
- 2025Cognitive Load Traces as Symbolic and Visual Accounts of Deep Model Cognitioncited by 0
- 2026Networking-Aware Energy Efficiency in Agentic AI Inference: A Surveycited by 0
- 2026HSMLA: Hierarchical Softmax Multi-scale Linear Attention for Efficient Vision Transformerscited by 0
- 2026MeshKV: A Network-on-Chip KV Cache Fabric for Scalable Transformer Decoding Acceleratorscited by 0
- 2026MeshKV: A Network-on-Chip KV Cache Fabric for Scalable Transformer Decoding Accelerators16 Sep 2026
- 2026HSMLA: Hierarchical Softmax Multi-scale Linear Attention for Efficient Vision Transformers7 Aug 2026
- 2026Thoughts-as-Planning: Latent World Models for Chain-of-Thoughts Optimization via Reinforcement Planning27 Apr 2026
- 2026Accelerating Frequency Domain Diffusion Models with Error-Feedback Event-Driven Caching24 Apr 2026
- 2026Networking-Aware Energy Efficiency in Agentic AI Inference: A Survey9 Apr 2026
- 2026AdaCorrection: Adaptive Offset Cache Correction for Accurate Diffusion Transformers13 Feb 2026
- 2025CXL-SpecKV: A Disaggregated FPGA Speculative KV-Cache for Datacenter LLM Serving11 Dec 2025
- 2025CSV-Decode: Certifiable Sub-Vocabulary Decoding for Efficient Large Language Model Inference16 Nov 2025
- 2025Cognitive Load Traces as Symbolic and Visual Accounts of Deep Model Cognition13 Oct 2025
Similar, not cited
Close in wording, no citation either way
- 2026Towards Efficient Large Language Model Serving: A Survey on System-Aware KV Cache Optimization
- 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inference
- 2025LServe: Efficient Long-sequence LLM Serving with Unified Sparse Attention
- 2025Progressive Sparse Attention: Algorithm and System Co-design for Efficient Attention in LLM Serving
- 2026PersistentKV: Page-Aware Decode Scheduling for Long-Context LLM Serving on Commodity GPUs
- 2026Unifying Sparse Attention with Hierarchical Memory for Scalable Long-Context LLM Serving
- 2025FastCache: Optimizing Multimodal LLM Serving through Lightweight KV-Cache Compression Framework
- 2026KV Cache Optimization Strategies for Scalable and Efficient LLM Inference