计算机科学 > 机器学习
[提交于 2026年11月30日]
标题:Synchronous Verified Semantic Caching: An Empirical Study
查看中文 PDF 查看原文 PDF EasyResearch 阅读摘要: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.
提交历史
来自:Chengyou Xin[v1] 2026年11月30日 星期一 08:47:18 UTC (435 KB)