arXiv cs.CL· Zilin Wang, Yinhong Liu, Chao Chen, Qun Liu, Zhijiang Guo·· 2 天前AI 评分32
SpecAgent:让强模型审校弱模型草稿的工具智能体轨迹级推测与语义验证
Trajectory-Level Speculation with Semantic Verification for Tool-Using Agents
AI 导读
SpecAgent 是一种协作协议,让弱模型在只读工具调用中起草步骤、强模型通过单次 prefill 并行验证并提交最长语义有效前缀,从而把强模型从每步生成者变为审校者。
正文 · 原文
Abstract:Large language model agents solve tasks through long sequences of tool calls, and the prevailing design has a single strong model generate every step, although many steps are routine enough for a much smaller model. Existing ways of sharing this work keep the strong model as the generator: routers and collaborative agents decide which model handles each query or step, and speculative methods check a small model's drafts one step at a time, usually against the strong model's own action. We introduce SpecAgent, a collaboration protocol that turns the strong model from the author of each step into a reviewer of steps drafted by a weak model. The weak model executes read-only tool calls as it drafts, so that every step is grounded in real observations, and holds the first action that would modify the environment. The strong model then verifies the drafted segment in a single prefill pass, commits the longest prefix it judges semantically valid, and repairs the first rejected step. Because verification replaces autoregressive decoding with parallel prefill, the strong model decodes only short verdicts and occasional repairs rather than every step. On $\tau^2$-Bench, SpecAgent comes within one point of the strong model's success rate while roughly halving memory traffic and wall time, and on AutomationBench and VitaBench it recovers 44-75% of the quality gap while lowering both. In an edge-cloud deployment on MCP-Atlas with three cloud models, it closes 53-75% of the weak-strong quality gap while the strong model generates at most half as many tokens. These results suggest that a strong model need not author every step of an agent: reviewing grounded drafts retains most of its quality while cutting both latency and memory traffic.
| Subjects: | Computation and Language (cs.CL); Artificial Intelligence (cs.AI); Machine Learning (cs.LG) |
| Cite as: | arXiv:2610.21463 [cs.CL] |
| (or arXiv:2610.21463v1 [cs.CL] for this version) | |
| https://doi.org/10.48550/arXiv.2610.21463 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Zilin Wang [view email]
[v1]
Thu, 15 Oct 2026 08:06:32 UTC (897 KB)
来源:arXiv cs.CL · arxiv.org