Asynchronous Verified Semantic Caching for Tiered LLM Architectures

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Singh, Asmit Kumar, Wang, Haozhe, Attaluri, Laxmi Naga Santosh, Chiam, Tak, Zhu, Weihua
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915858441306112
author Singh, Asmit Kumar
Wang, Haozhe
Attaluri, Laxmi Naga Santosh
Chiam, Tak
Zhu, Weihua
author_facet Singh, Asmit Kumar
Wang, Haozhe
Attaluri, Laxmi Naga Santosh
Chiam, Tak
Zhu, Weihua
contents Large language models (LLMs) now sit in the critical path of search, assistance, and agentic workflows, making semantic caching essential for reducing inference cost and latency. Production deployments typically use a tiered static-dynamic design: a static cache of curated, offline vetted responses mined from logs, backed by a dynamic cache populated online. In practice, both tiers are commonly governed by a single embedding similarity threshold, which induces a hard tradeoff: conservative thresholds miss safe reuse opportunities, while aggressive thresholds risk serving semantically incorrect responses. We introduce Krites, an asynchronous, LLM-judged caching policy that expands static coverage without changing serving decisions. On the critical path, Krites behaves exactly like a standard static threshold policy. When the nearest static neighbor of the prompt falls just below the static threshold, Krites asynchronously invokes an LLM judge to verify whether the static response is acceptable for the new prompt. Approved matches are promoted into the dynamic cache, allowing future repeats and paraphrases to reuse curated static answers and expanding static reach over time. In trace-driven simulations on conversational and search workloads, Krites increases the fraction of requests served with curated static answers (direct static hits plus verified promotions) by up to3.9 times for conversational traffic and search-style queries relative to tuned baselines, with unchanged critical path latency.
format Preprint
id arxiv_https___arxiv_org_abs_2602_13165
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Asynchronous Verified Semantic Caching for Tiered LLM Architectures
Singh, Asmit Kumar
Wang, Haozhe
Attaluri, Laxmi Naga Santosh
Chiam, Tak
Zhu, Weihua
Information Retrieval
Artificial Intelligence
Large language models (LLMs) now sit in the critical path of search, assistance, and agentic workflows, making semantic caching essential for reducing inference cost and latency. Production deployments typically use a tiered static-dynamic design: a static cache of curated, offline vetted responses mined from logs, backed by a dynamic cache populated online. In practice, both tiers are commonly governed by a single embedding similarity threshold, which induces a hard tradeoff: conservative thresholds miss safe reuse opportunities, while aggressive thresholds risk serving semantically incorrect responses. We introduce Krites, an asynchronous, LLM-judged caching policy that expands static coverage without changing serving decisions. On the critical path, Krites behaves exactly like a standard static threshold policy. When the nearest static neighbor of the prompt falls just below the static threshold, Krites asynchronously invokes an LLM judge to verify whether the static response is acceptable for the new prompt. Approved matches are promoted into the dynamic cache, allowing future repeats and paraphrases to reuse curated static answers and expanding static reach over time. In trace-driven simulations on conversational and search workloads, Krites increases the fraction of requests served with curated static answers (direct static hits plus verified promotions) by up to3.9 times for conversational traffic and search-style queries relative to tuned baselines, with unchanged critical path latency.
title Asynchronous Verified Semantic Caching for Tiered LLM Architectures
topic Information Retrieval
Artificial Intelligence
url https://arxiv.org/abs/2602.13165