跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 操作系统

arXiv:2603.28795 (cs)
[提交于 2026年3月24日]

标题:StepCache: Step-Level Reuse with Lightweight Verification and Selective Patching for LLM Serving

作者:Azam Nouri
查看论文《StepCache: Step-Level Reuse with Lightweight Verification and Selective Patching for LLM Serving》的 PDF
查看中文 PDF 查看原文 PDF EasyResearch 阅读
摘要:We address LLM serving workloads where repeated requests share a common solution structure but differ in localized constraints, such as output schema, variable names, or numeric constants. Prior caching approaches typically reuse either full responses (semantic caching) or model-internal KV/prefix states, which are respectively brittle under partial changes or tightly coupled to specific backends. We present StepCache, a backend-agnostic step-level reuse layer that segments outputs into ordered steps, retrieves the best-matching cached request, verifies steps using lightweight task-aware checks, and regenerates only failing regions via selective patching. StepCache additionally supports strict structured-output enforcement for JSON, including single-step extraction, required-key constraints, and one-shot repair, as well as conservative skip-reuse fallbacks for semantic changes. For linear equations, StepCache promotes verification into correction via a bounded repair loop with a deterministic fallback that guarantees correctness when the backend model fails. In a CPU-only perturbation-heavy micro-benchmark on math and JSON variants, averaged over three seeds, StepCache reduces mean latency from 2.13 s to 0.67 s, median latency from 2.42 s to 0.01 s, and p95 latency from 3.38 s to 3.30 s. It also reduces total token usage from 36.1k to 27.3k and improves end-to-end correctness from 72.5% to 100% under task-specific checks and a stitched-output integrity check. Across requests, 79.7% take the reuse-only fast path, 5.4% require patching, and 14.9% trigger skip-reuse.
评论: 9 pages, 1 figure
主题: 操作系统 (cs.OS); 人工智能 (cs.AI); 计算与语言 (cs.CL); 分布式、并行与集群计算 (cs.DC)
引用方式: arXiv:2603.28795 [cs.OS]
  (或者 arXiv:2603.28795v1 [cs.OS] 对于此版本)
  https://doi.org/10.48550/arXiv.2603.28795

提交历史

来自:Azam Nouri
[v1] 2026年3月24日 星期二 17:19:26 UTC
全文链接:

访问论文:

  • 查看中文 PDF
  • 查看原文 PDF
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.OS
< 上一篇   |   下一篇 >
最新 | 近期 | 2026-03
切换浏览方式为:
cs
cs.AI
cs.CL
cs.DC

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站