Advancing Semantic Caching for LLMs with Domain-Specific Embeddings and Synthetic Data
Not on the map. Why?
Abstract (arXiv)
This report investigates enhancing semantic caching effectiveness by employing specialized, fine-tuned embedding models. Semantic caching relies on embedding similarity rather than exact key matching, presenting unique challenges in balancing precision, query latency, and computational efficiency. We propose leveraging smaller, domain-specific embedding models, fine-tuned with targeted real-world and synthetically generated datasets. Our empirical evaluations demonstrate that compact embedding models fine-tuned for just one epoch on specialized datasets significantly surpass both state-of-the-art open-source and proprietary alternatives in precision and recall. Moreover, we introduce a novel synthetic data generation pipeline for the semantic cache that mitigates the challenge of limited domain-specific annotated data, further boosting embedding performance. Our approach effectively balances computational overhead and accuracy, establishing a viable and efficient strategy for practical semantic caching implementations.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 19 of its 38 references that are in the map. First posted on arXiv 3 Apr 2025.
Builds on
19 of 38 references.
References · 19
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2024Qwen2.5 Technical Reportcited by 4,942
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
- 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,463
- 2020MPNet: Masked and Permuted Pre-training for Language Understandingcited by 981
- 2023Towards General Text Embeddings with Multi-stage Contrastive Learningcited by 723
- 2022MTEB: Massive Text Embedding Benchmarkcited by 640
- 2024Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Finetuning and Inferencecited by 554
- 2024Multilingual E5 Text Embeddings: A Technical Reportcited by 372
7 more
- 2022Text and Code Embeddings by Contrastive Pre-Trainingcited by 361
- 2024Nomic Embed: Training a Reproducible Long Context Text Embeddercited by 265
- 2024mGTE: Generalized Long-Context Text Representation and Reranking Models for Multilingual Text Retrievalcited by 236
- 2025Gemini Embedding: Generalizable Embeddings from Geminicited by 94
- 2024Gecko: Versatile Text Embeddings Distilled from Large Language Modelscited by 83
- 2024Compositional Generative Modeling: A Single Model is Not All You Needcited by 41
- 2024MeanCache: User-Centric Semantic Caching for LLM Web Servicescited by 14
Built on by
Citing papers per year: 2025: 3; 2026: 4.
7 papers.
- 2025Position: Text Embeddings Should Capture Implicit Semantics, Not Just Surface Meaningcited by 10
- 2026From Similarity to Vulnerability: Key Collision Attack on LLM Semantic Cachingcited by 4
- 2025Generative Caching for Structurally Similar Prompts and Responsescited by 3
- 2025BinaryShield: Cross-Service Threat Intelligence in LLM Services using Privacy-Preserving Fingerprintscited by 1
- 2026Cross-Domain Uncertainty Quantification for Selective Prediction: A Comprehensive Bound Ablation with Transfer-Informed Bettingcited by 1
- 2026Semantic Caching and Intent-Driven Context Optimization for Multi-Agent Natural Language to Code Systemscited by 0
- 2026Why Agent Caching Fails and How to Fix It: Structured Intent Canonicalization with Few-Shot Learningcited by 0
- 2026Cross-Domain Uncertainty Quantification for Selective Prediction: A Comprehensive Bound Ablation with Transfer-Informed Betting9 Mar 2026
- 2026Why Agent Caching Fails and How to Fix It: Structured Intent Canonicalization with Few-Shot Learning21 Feb 2026
- 2026From Similarity to Vulnerability: Key Collision Attack on LLM Semantic Caching30 Jan 2026
- 2026Semantic Caching and Intent-Driven Context Optimization for Multi-Agent Natural Language to Code Systems16 Jan 2026
- 2025Generative Caching for Structurally Similar Prompts and Responses14 Nov 2025
- 2025BinaryShield: Cross-Service Threat Intelligence in LLM Services using Privacy-Preserving Fingerprints6 Sep 2025
- 2025Position: Text Embeddings Should Capture Implicit Semantics, Not Just Surface Meaning10 Jun 2025