paper-with-me

Papers

A Generative Caching System for Large Language Models

2025-03-22 · Arun Iyengar, Ashish Kundu, Ramana Kompella, Sai Nandan Mamidi

Caching has the potential to be of significant benefit for accessing large language models (LLMs) due to their high latencies which typically range from a small number of seconds to well over a minute. Furthermore, many LLMs charge money for queries; caching thus has a clear monetary benefit. This paper presents a new caching system for improving user experiences with LLMs. In addition to reducing both latencies and monetary costs for accessing LLMs, our system also provides important features that go beyond the performance benefits typically associated with caches. A key feature we provide is generative caching, wherein multiple cached responses can be synthesized to provide answers to queries which have never been seen before. Our generative caches function as repositories of valuable information which can be mined and analyzed. We also improve upon past semantic caching techniques by tailoring the caching algorithms to optimally balance cost and latency reduction with the quality of responses provided. Performance tests indicate that our caches are considerably faster than GPTcache.

📄 PDF Abstract BibTeX arXiv:2503.17603

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

ToolCaching: Towards Efficient Caching for LLM Tool-calling

2026-01-20 · Yi Zhai, Dian Shen, Junzhou Luo, Bin Yang arxiv

Recent advances in Large Language Models (LLMs) have revolutionized web applications, enabling intelligent search, recommendation, and assistant services with natural language interfaces. Tool-calling extends LLMs with t…

Generative Caching for Structurally Similar Prompts and Responses

2025-11-14 · Sarthak Chakraborty, Suman Nath, Xuchao Zhang, Chetan Bansal 외 arxiv

Large Language Models (LLMs) are increasingly being used to plan, reason, and execute tasks across diverse scenarios. In use cases like repeatable workflows and agentic settings, prompts are often reused with minor varia…

Man-Made Heuristics Are Dead. Long Live Code Generators!

2025-10-09 · Rohit Dwivedula, Divyanshu Saxena, Aditya Akella, Swarat Chaudhuri 외 arxiv

Policy design for various systems controllers has conventionally been a manual process, with domain experts carefully tailoring heuristics for the specific instance in which the policy will be deployed. In this paper, we…

Code Generation

LLM-Empowered Cooperative Content Caching in Vehicular Fog Caching-Assisted Platoon Networks

2026-02-04 · Bowen Tan, Qiong Wu, Pingyi Fan, Kezhi Wang 외 arxiv

This letter proposes a novel three-tier content caching architecture for Vehicular Fog Caching (VFC)-assisted platoon, where the VFC is formed by the vehicles driving near the platoon. The system strategically coordinate…

Cache & Distil: Optimising API Calls to Large Language Models

2023-10-20 · Guillem Ramírez, Matthias Lindemann, Alexandra Birch, Ivan Titov

Large-scale deployment of generative AI tools often depends on costly API calls to a Large Language Model (LLM) to fulfil user queries. To curtail the frequency of these calls, one can employ a smaller language model -- …

Active LearningLanguage ModelingLanguage ModellingLarge Language Model