跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv:2611.40702 · v1

Synchronous Verified Semantic Caching: An Empirical Study

首次提交 2026-11-30 16:47
版本更新 2026-11-30 16:47
雷达观测 2026-12-01 14:28
arXiv ↗PDF ↗

摘要

Semantic caches reuse an LLM's past answer when a new query is similar enough to an old one, but similarity is not correctness: on the benchmarks studied here, a loose static threshold serves a wrong answer on 11-34% of requests. Prior work either learns better thresholds (vCache) or adds an LLM judge that runs asynchronously, off the serving path, and is evaluated with an oracle in place of the judge (Krites). We measure the missing case: a real, lightweight verifier that checks gray-zone hits synchronously, before they are served, in a single-tier cache. We compare it with static and adaptive thresholds at matched error rate on two public benchmarks (about 210,000 requests), a third paraphrase dataset, and real customer-support traffic. With an oracle verifier, synchronous gating raises hit rate by 20-28 percentage points at matched error rate, so the mechanism has real headroom. An off-the-shelf cross-encoder captures little of it: +0.9 to +3.1 points on LmArena under honest calibration, and a net loss on SearchQueries, where it ranks gray-zone candidates worse than raw similarity does. We call this a weak Go. Fine-tuning the same model on each dataset's own gray-zone labels raises held-out AUC from 0.72 to 0.88 and from 0.60 to 0.71, and the fine-tuned verifier beats the static threshold at all 18 honestly calibrated operating points across three datasets. It tolerates about 30% label noise, but on multi-year support traffic a drifting base rate makes fine-tuning harmful; a simple change-point test on the labels detects this. Larger off-the-shelf rerankers, rewriting rejected answers, and verb-based bucketing do not substitute for fine-tuning. Finally, a blinded human check finds the benchmarks' correctness labels noisy at high similarity: comparisons at matched error rate are unaffected, but absolute error rates are overstated.

作者备注:43 pages, 5 figures. Code and results: https://github.com/imxinchengyou/CacheVerifier

AI 论文解读

基于摘要 · 非全文审阅

此版本尚未生成 AI 解读。解读由后台任务生成并按论文版本保存,登录后共享已有结果。

版本差异

目前只收录了一个版本。收录下一版后,可以对照标题、作者、分类和摘要。

观测到的版本

相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。

v1 · 2026-11-30 16:47 · 最新观测版本

Synchronous Verified Semantic Caching: An Empirical Study

Semantic caches reuse an LLM's past answer when a new query is similar enough to an old one, but similarity is not correctness: on the benchmarks studied here, a loose static threshold serves a wrong answer on 11-34% of requests. Prior work either learns better thresholds (vCache) or adds an LLM judge that runs asynchronously, off the serving path, and is evaluated with an oracle in place of the judge (Krites). We measure the missing case: a real, lightweight verifier that checks gray-zone hits synchronously, before they are served, in a single-tier cache. We compare it with static and adaptive thresholds at matched error rate on two public benchmarks (about 210,000 requests), a third paraphrase dataset, and real customer-support traffic. With an oracle verifier, synchronous gating raises hit rate by 20-28 percentage points at matched error rate, so the mechanism has real headroom. An off-the-shelf cross-encoder captures little of it: +0.9 to +3.1 points on LmArena under honest calibration, and a net loss on SearchQueries, where it ranks gray-zone candidates worse than raw similarity does. We call this a weak Go. Fine-tuning the same model on each dataset's own gray-zone labels raises held-out AUC from 0.72 to 0.88 and from 0.60 to 0.71, and the fine-tuned verifier beats the static threshold at all 18 honestly calibrated operating points across three datasets. It tolerates about 30% label noise, but on multi-year support traffic a drifting base rate makes fine-tuning harmful; a simple change-point test on the labels detects this. Larger off-the-shelf rerankers, rewriting rejected answers, and verb-based bucketing do not substitute for fine-tuning. Finally, a blinded human check finds the benchmarks' correctness labels noisy at high similarity: comparisons at matched error rate are unaffected, but absolute error rates are overstated.

查看此版本解读 →查看此版本原文 ↗