将Resident KV声明降级到LLM服务运行时的故障关闭
Fail-Closed Lowering of Resident KV Claims onto LLM Serving Runtimes
AI总结:
本文提出一种故障关闭的降级关系,用于将未来KV重用声明映射到LLM服务运行时的原语,通过检查器验证运行时是否满足声明义务。
摘要:
LLM服务运行时越来越多地暴露类似于未来重用控制的KV缓存原语:保留优先级、类似TTL的持续时间、主机或存储卸载、块事件、主动无逐出调度和KV感知路由。本文认为这些原语弱于公认的未来KV义务。运行时可以暴露优先级、卸载、事件和路由,而不承担未来重用声明的责任。我们研究ResidentClaim降级:当运行时原语、可信适配器或补丁可以被视为满足关于未来KV重用的公认声明时。符合规范的降级必须将行为绑定到公认的声明标识、具体化谓词、有序生命周期事件和声明范围的结果。我们贡献了一个故障关闭的降级关系、检查器、描述符格式和不良降级套件,将运行时/模式映射分类为原生符合性、适配器观察证据、受控压力下的适配器策略证据、近似基板、拒绝映射或未知证据。检查器根据义务包验证手动策划的锚定运行时描述符;它不证明未经审计的运行时行为是完整的。公共TensorRT-LLM、SGLang/HiCache和Dynamo暴露了强基板和选定的适配器正面结果,但不是原生ResidentClaim符合性。正面系统证据是一个本地修补的vLLM连接器/调度器边界机制:声明元数据流经实际的进程内卸载/加载行为,并且受控的相同声明恢复失败到达vLLM的无效KV加载路径,并成为有序的声明范围故障关闭结果。结果是一个校准的语义边界,而不是生产性能声明或兼容性调查。
英文摘要:
LLM serving runtimes increasingly expose KV-cache primitives that resemble future-reuse controls: retention priority, TTL-like duration, host or storage offload, block events, active no-evict scheduling, and KV-aware routing. This paper argues that such primitives are weaker than accepted future-KV obligations. A runtime can expose priority, offload, events, and routing without accepting responsibility for a future reuse claim. We study ResidentClaim lowering: when a runtime primitive, trusted adapter, or patch can be treated as satisfying an accepted claim about future KV reuse. A conformant lowering must bind behavior to accepted claim identity, a materialization predicate, ordered lifecycle events, and claim-scoped outcomes. We contribute a fail-closed lowering relation, checker, descriptor format, and bad-lowering suite that classify runtime/mode mappings as native conformance, adapter-observational evidence, adapter-policy evidence under controlled pressure, approximation substrate, rejected mapping, or unknown evidence. The checker validates manually curated, anchored runtime descriptors against obligation bundles; it does not prove that unaudited runtime behavior is complete. Public TensorRT-LLM, SGLang/HiCache, and Dynamo expose strong substrates and selected adapter positives, but not native ResidentClaim conformance. The positive systems witness is a local patched vLLM connector/scheduler-boundary mechanism: claim metadata flows through real in-process offload/load behavior, and controlled same-claim restoration failure reaches vLLM's invalid-KV-load path and becomes an ordered claim-scoped fail-closed outcome. The result is a calibrated semantics boundary, not a production performance claim or a compatibility survey.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。