CacheRouter: A Dual-Path Tool Routing Architecture with Cache-Preserving Main-Model Isolation for Long-Tail Tool Discovery

📅 2026-08-23
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
为解决LLM系统中工具使用的结构权衡问题,提出了一种双路径路由架构CacheRouter,通过分离工具选择和交付通道,保持主模型请求前缀稳定,提高缓存命中率。
📝 Abstract
Tool use in LLM systems faces a structural trade-off. Progressive disclosure keeps the prompt small by showing only the tools relevant to the current task, while prompt caching rewards a request prefix that stays fixed across calls; every change to the visible tool list invalidates the cached prefix. This paper treats the trade-off as a problem of request architecture and proposes a dual-path routing design that assigns tool selection and tool delivery to separate channels. The main model always sees a small, fixed set of core tools, so the head of its request is unchanged across calls; all other tools are reached through an independent routing channel, in which a router sub-model searches the full tool list, selects one tool, executes it, and returns the result. Tool registration is automated from source code and supports runtime updates, so the tool set can grow without modifying the main model's request prefix. The design generalizes progressive disclosure: capabilities are disclosed through the routing channel, and the main model's prefix stays stable. A prototype implementation was exercised on 55 functional queries and a 30-turn dialogue; token-level cache hit rates reached 90.99% and 95.2%, cutting input cost to about 12.0% and 8.0% of a no-cache baseline under DeepSeek's pricing, where cache-hit input tokens cost roughly 1/30 of cache-miss tokens.
Problem

Research questions and friction points this paper is trying to address.

progressive disclosure
prompt caching
tool discovery
Innovation

Methods, ideas, or system contributions that make the work stand out.

Dual-Path Routing
Cache-Preserving
Main-Model Isolation
Tool Discovery
D
Donghui Zha
School of Mathematical Sciences, Beijing University of Posts and Telecommunications, Beijing 100876, China
L
Lingwei Xu
School of Mathematical Sciences, Beijing University of Posts and Telecommunications, Beijing 100876, China
L
Linxiao Wu
School of Mathematics and Statistics, Chongqing University, Chongqing 401331, China
Y
Yixue Dong
School of Science, Beijing Forestry University, Beijing 100083, China
Haochen Li
Haochen Li
Tsinghua university
cell-cell communicationsingle-cell genomicsspatial transcriptomics