VeriRouter:面向可验证的大语言模型路由
VeriRouter: Towards Verifiable LLM Routing
AI总结:
针对LLM路由易被入侵破坏完整性的问题,提出VeriRouter框架,结合ZK证明与服务证书保障路由完整性,在真实工作负载下性能开销低且速度远超基线。
摘要:
大语言模型(LLM)路由正被越来越多地部署,以通过动态模型选择和请求重写优化质量、延迟与成本。然而,被入侵的路由可能在控制平面导致不合规的选择,在数据平面出现未授权的重写或不忠实的中继,破坏LLM路由的完整性。我们提出VeriRouter,这是一个可验证的LLM路由框架。在绑定私有语义索引与重写库的已授权公共上下文下,VeriRouter结合零知识(ZK)证明与提供商签发的服务证书,在隐藏路由私有资产的同时,建立两个平面的完整性。针对模型选择,我们设计了一种高效的语义搜索ZK证明;针对重写,本地检查确保消息保留及来自已提交库的添加。在真实工作负载上,VeriRouter的模型选择和重写证明平均耗时21.92秒和4.24秒,分别比最快完成的基线快1307倍和101倍。与无验证服务相比,VeriRouter在每轮选择下仅增加4.08秒延迟,在会话固定选择下仅增加0.11秒延迟。
英文摘要:
Large language model (LLM) routers are increasingly deployed to optimize quality, latency, and cost through dynamic model selection and request rewriting. However, a compromised router can cause ineligible selection on the control plane, unendorsed rewriting or unfaithful relay on the data plane, undermining LLM routing integrity. We present VeriRouter, a verifiable LLM routing framework. Under an endorsed public context binding a private semantic index and rewrite banks, VeriRouter combines ZK proofs with a provider-issued serving certificate to establish integrity across both planes while keeping the router's private routing assets hidden from clients. For model selection, we design an efficient ZK proof for semantic search. For rewriting, local checks enforce message preservation and additions from committed banks. On real-world workloads, VeriRouter's model-selection and rewrite proofs average 21.92~s and 4.24~s, yielding 1,307$\times$ and 101$\times$ speedups over the fastest completing baselines. Relative to serving without verification, VeriRouter adds only 4.08 s under per-turn selection and 0.11 s under session-pinned selection.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。