mlsanityData to 14 Oct 2026

IC-Cache: Efficient Large Language Model Serving via In-context Caching

arXiv 2501.12689 ↗First posted 22 Jan 2025cs.LGcited by 13

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) have excelled in various applications, yet serving them at scale is challenging due to their substantial resource demands and high latency. Our real-world studies reveal that over 70% of user requests to LLMs have semantically similar counterparts, suggesting the potential for knowledge transfer among requests. However, naively caching and reusing past responses leads to a big quality drop. In this paper, we introduce IC-Cache, a caching system that enables live LLM capability augmentation to improve serving efficiency: by leveraging historical request-response pairs from larger models as in-context examples, IC-Cache empowers small LLMs to imitate and even exceed the compositional abilities (e.g., reasoning) of their larger counterparts, enabling selective offloading of requests to reduce cost and latency. Achieving this live augmentation at scale introduces intricate trade-offs between response quality, latency, and system throughput. For a new request, IC-Cache efficiently selects similar, high-utility examples to prepend them to the new request's input. At scale, it adaptively routes requests across LLMs of varying capabilities, accounting for response quality and serving loads. IC-Cache employs a cost-aware cache replay mechanism that refines example quality offline to maximize online cache utility and efficiency. Evaluations on millions of realistic requests demonstrate that IC-Cache improves LLM serving throughput by 1.4-5.9x and reduces latency by 28-71% without hurting response quality.

Key facts. Cited by 13 papers in the map (data through 14 Oct 2026). Builds on 37 of its 77 references that are in the map. First posted on arXiv 22 Jan 2025.

Builds on

37 of 77 references.

References · 37

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2022Training language models to follow instructions with human feedbackcited by 15,971
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  4. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  5. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
  6. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  7. 2022Emergent Abilities of Large Language Modelscited by 2,512
  8. 2017Billion-scale similarity search with GPUscited by 2,497
  9. 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
  10. 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,839
  11. 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,605
  12. 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,141
25 more
  1. 2024SimPO: Simple Preference Optimization with a Reference-Free Rewardcited by 963
  2. 2023Large Language Modelscited by 780
  3. 2024RouteLLM: Learning to Route LLMs with Preference Datacited by 682
  4. 2023Safe RLHF: Safe Reinforcement Learning from Human Feedbackcited by 656
  5. 2024DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Servingcited by 617
  6. 2023Splitwise: Efficient generative LLM inference using phase splittingcited by 558
  7. 2023Active Retrieval Augmented Generationcited by 516
  8. 2023LMSYS-Chat-1M: A Large-Scale Real-World LLM Conversation Datasetcited by 461
  9. 2023Enhancing Retrieval-Augmented Large Language Models with Iterative Retrieval-Generation Synergycited by 346
  10. 2023SARATHI: Efficient LLM Inference by Piggybacking Decodes with Chunked Prefillscited by 193
  11. 2023DistillSpec: Improving Speculative Decoding via Knowledge Distillationcited by 165
  12. 2023Fast Distributed Inference Serving for Large Language Modelscited by 145
  13. 2023Compositional Exemplars for In-context Learningcited by 144
  14. 2024Inference without Interference: Disaggregate LLM Inference for Mixed Downstream Workloadscited by 121
  15. 2024MegaScale: Scaling Large Language Model Training to More Than 10,000 GPUscited by 112
  16. 2024PowerInfer-2: Fast Large Language Model Inference on a Smartphonecited by 103
  17. 2024Parrot: Efficient Serving of LLM-based Applications with Semantic Variablecited by 99
  18. 2023A Theory of Emergent In-Context Learning as Implicit Structure Inductioncited by 86
  19. 2024In-context Learning with Retrieved Demonstrations for Language Models: A Surveycited by 70
  20. 2024LongRAG: A Dual-Perspective Retrieval-Augmented Generation Paradigm for Long-Context Question Answeringcited by 49
  21. 2024Andes: Defining and Enhancing Quality-of-Experience in LLM-Based Text Streaming Servicescited by 45
  22. 2023Tree of Clarifications: Answering Ambiguous Questions with Retrieval-Augmented Large Language Modelscited by 43
  23. 2023Generating Data for Symbolic Language with Large Language Modelscited by 12
  24. 2025HyGen: Efficient LLM Serving via Elastic Online-Offline Request Co-locationcited by 10
  25. 2024Auto-GDA: Automatic Domain Adaptation for Efficient Grounding Verification in Retrieval-Augmented Generationcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 5; 2026: 8.

13 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2025Rethinking Caching for LLM Serving Systems: Beyond Traditional Heuristics
  2. 2025Cache-to-Cache: Direct Semantic Communication Between Large Language Models
  3. 2025Semantic Caching for Low-Cost LLM Serving: From Offline Learning to Online Adaptation
  4. 2024InstCache: A Predictive Cache for LLM Serving
  5. 2025KVShare: An LLM Service System with Efficient and Effective Multi-Tenant KV Cache Reuse
  6. 2026Asynchronous Verified Semantic Caching for Tiered LLM Architectures
  7. 2024EPIC: Efficient Position-Independent Caching for Serving Large Language Models
  8. 2024Beyond KV Caching: Shared Attention for Efficient LLMs