mlsanityData to 14 Oct 2026

Generative Caching for Structurally Similar Prompts and Responses

arXiv 2511.17565 ↗First posted 14 Nov 2025cs.CL cs.AIcited by 3

Not on the map. Why?

Abstract (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 variations while having a similar structure for recurring tasks. This opens up opportunities for caching. However, exact prompt matching fails on such structurally similar prompts, while semantic caching may produce incorrect responses by ignoring critical differences. To address this, we introduce ourmethod, a generative cache that produces variation-aware responses for structurally similar prompts. ourmethod identifies reusable response patterns across similar prompt structures and synthesizes customized outputs for new requests. We show that ourmethod achieves 83% cache hit rate, while having minimal incorrect hits on datasets without prompt repetition. In agentic workflows, it improves cache hit rate by ~20% and reduces end-to-end execution latency by ~34% compared to standard prompt matching.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 43 of its 74 references that are in the map. First posted on arXiv 14 Nov 2025.

Builds on

43 of 74 references.

References · 43

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  3. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  4. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  5. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  6. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  7. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
  8. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
  9. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
  10. 2017Billion-scale similarity search with GPUscited by 2,497
  11. 2023A Survey on Large Language Model based Autonomous Agentscited by 2,242
  12. 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 2,006
31 more
  1. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
  2. 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,729
  3. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,434
  4. 2022WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agentscited by 1,251
  5. 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,141
  6. 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,139
  7. 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,076
  8. 2023CRITIC: Large Language Models Can Self-Correct with Tool-Interactive Critiquingcited by 783
  9. 2022PAL: Program-aided Language Modelscited by 652
  10. 2023Plan-and-Solve Prompting: Improving Zero-Shot Chain-of-Thought Reasoning by Large Language Modelscited by 560
  11. 2022Efficiently Scaling Transformer Inferencecited by 539
  12. 2023LMSYS-Chat-1M: A Large-Scale Real-World LLM Conversation Datasetcited by 461
  13. 2023Augmented Language Models: a Surveycited by 403
  14. 2023A Real-World WebAgent with Planning, Long Context Understanding, and Program Synthesiscited by 353
  15. 2023Prompt Cache: Modular Attention Reuse for Low-Latency Inferencecited by 268
  16. 2024CacheBlend: Fast Large Language Model Serving for RAG with Cached Knowledge Fusioncited by 223
  17. 2024WebPilot: A Versatile and Autonomous Multi-Agent System for Web Task Execution with Strategic Explorationcited by 101
  18. 2018NL2Bash: A Corpus and Semantic Parser for Natural Language Interface to the Linux Operating Systemcited by 98
  19. 2024ChunkAttention: Efficient Self-Attention with Prefix-Aware KV Cache and Two-Phase Partitioncited by 82
  20. 2023LASER: LLM Agent with State-Space Exploration for Web Navigationcited by 66
  21. 2023RCAgent: Cloud Root Cause Analysis by Autonomous Agents with Tool-Augmented Large Language Modelscited by 65
  22. 2024Exploring LLM-based Agents for Root Cause Analysiscited by 61
  23. 2025Cache-Craft: Managing Chunk-Caches for Efficient Retrieval-Augmented Generationcited by 36
  24. 2024DroidSpeak: KV Cache Sharing for Cross-LLM Communication and Multi-LLM Servingcited by 35
  25. 2025Towards Enterprise-Ready Computer Using Generalist Agentcited by 31
  26. 2024Building AI Agents for Autonomous Clouds: Challenges and Design Principlescited by 19
  27. 2024SCALM: Towards Semantic Caching for Automated Chat Services with Large Language Modelscited by 16
  28. 2025IC-Cache: Efficient Large Language Model Serving via In-context Cachingcited by 13
  29. 2024LLM-dCache: Improving Tool-Augmented LLMs with GPT-Driven Localized Data Cachingcited by 7
  30. 2025Advancing Semantic Caching for LLMs with Domain-Specific Embeddings and Synthetic Datacited by 7
  31. 2024InstCache: A Predictive Cache for LLM Servingcited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 2.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Asynchronous Verified Semantic Caching for Tiered LLM Architectures
  2. 2026Don't Break the Cache: An Evaluation of Prompt Caching for Long-Horizon Agentic Tasks
  3. 2025TweakLLM: A Routing Architecture for Dynamic Tailoring of Cached Responses
  4. 2024Marconi: Prefix Caching for the Era of Hybrid LLMs
  5. 2026Not All Tokens Are Worth Caching: Learning Semantic-Aware Eviction for LLM Prefix Caches
  6. 2026Grounded Cache Routing for Retrieval-Augmented Generation: When Is It Safe to Reuse an Answer?
  7. 2025Semantic Caching for Low-Cost LLM Serving: From Offline Learning to Online Adaptation
  8. 2026MVR-cache: Optimizing Semantic Caching via Multi-Vector Retrieval and Learned Prompt Segmentation