mlsanityData to 14 Oct 2026

TinyServe: Query-Aware Cache Selection for Efficient LLM Serving

arXiv 2509.12211 ↗First posted 28 Aug 2025cs.DC cs.AIcited by 9

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

  1. 2025PiKV: KV Cache Management System for Mixture of Experts2 Aug
  2. 2024PyramidKV: Dynamic KV Cache Compression based on Pyramidal Information Funneling4 Jun
  3. 2024SnapKV: LLM Knows What You are Looking for Before Generation22 Apr
  4. 2023Efficient Memory Management for Large Language Model Serving with PagedAttention12 Sep

Other references · 14

  1. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  2. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  3. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
  4. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
  5. 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 992
  6. 2022In-context Learning and Induction Headscited by 964
  7. 2022Interleaving Retrieval with Chain-of-Thought Reasoning for Knowledge-Intensive Multi-Step Questionscited by 923
  8. 2023Progress measures for grokking via mechanistic interpretabilitycited by 839
  9. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 726
  10. 2024TinyLlama: An Open-Source Small Language Modelcited by 618
  11. 2023TinyStories: How Small Can Language Models Be and Still Speak Coherent English?cited by 449
  12. 2025FastCache: Fast Caching for Diffusion Transformer Through Learnable Linear Approximationcited by 24
2 more
  1. 2024MT2ST: Adaptive Multi-Task to Single-Task Learningcited by 16
  2. 2024LLMEasyQuant: Scalable Quantization for Parallel and Distributed LLM Inferencecited by 15

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 3; 2026: 6.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Towards Efficient Large Language Model Serving: A Survey on System-Aware KV Cache Optimization
  2. 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inference
  3. 2025LServe: Efficient Long-sequence LLM Serving with Unified Sparse Attention
  4. 2025Progressive Sparse Attention: Algorithm and System Co-design for Efficient Attention in LLM Serving
  5. 2026PersistentKV: Page-Aware Decode Scheduling for Long-Context LLM Serving on Commodity GPUs
  6. 2026Unifying Sparse Attention with Hierarchical Memory for Scalable Long-Context LLM Serving
  7. 2025FastCache: Optimizing Multimodal LLM Serving through Lightweight KV-Cache Compression Framework
  8. 2026KV Cache Optimization Strategies for Scalable and Efficient LLM Inference