Speculate Wide, Answer Narrow: Lossless Speculative Tool Execution for Reasoning Agents
Zihe Song, Wenting Zhao, Ye Liu, Yuanjie Zhu, Weizhi Zhang, Liangwei Yang, Henry Peng Zou, Yibo Wang, Yuqing Liu, Ke Xu, Shanghao Li, Philip S. Yu
Abstract
Reasoning agents alternate between reasoning and tool execution, but each tool call adds waiting time to the agent's critical path. Speculative tool execution reduces this latency by predicting and executing calls during reasoning. Existing methods require predictions to match the eventual calls exactly. Early predictions leave more time to hide tool latency but often miss the final arguments, while accurate predictions arrive too late to save much time. Our key insight is that a wider tool result can serve a narrower call exactly, even when the predicted arguments differ. We present Speculate Wide, Answer Narrow (SWAN), a lossless speculative tool-execution framework. SWAN combines early probing, budget-aware region widening, and cross-turn result pooling. It serves calls through provable containment, preserving serial-equivalent observations and guaranteeing dominance over exact-match speculation on the same probes. We evaluate SWAN on SWE-bench Verified, BIRD-Bigscale, and GAIA-Text-103 with Qwen3-8B and Qwen3-4B. With Qwen3-8B, SWAN hides 85.7%, 29.5%, and 67.2% of serial tool time, respectively, compared with 55.2%, 10.8%, and 37.5% for SPORK. Across both model sizes, SWAN hides 1.5-3.4 times as much tool time as SPORK. On SWE-bench Verified, it achieves 70% of the attainable end-to-end latency reduction.
Create a lesson
Related papers
SurvAIval: Measuring Self-Preservation in Multi-Turn, Tool-Using AI Agents
Shared title terminologycs.CLXiangdong Zhang, Wenhan Li, Kevin Lu et al.
Curbing Error Propagation in Reasoning Agents via Scoped Arithmetic Feedback
Shared title terminologycs.CLGuangxin Su, Siyuan Su
The semantics of grammatical features as an indicator of students' performance in Critical Online Reasoning tasks in economics
Shared title terminologycs.CLWalter Bisang, Alexander Mehler, Patryk Czerwinski et al.
CHAIR2: Learning Which of a Model's Answers to Trust from Designed Questions
Shared title terminologycs.CLAo Sun
Evaluating Sparse, Dense, and Hybrid Retrieval-Augmented Generation for Sinhala Question Answering
Shared title terminologycs.CLAneegha Thithiesha Mahabaduge, Nisansa de Silva
TraceFaith: Evaluating Behavioral Dependence on Multimodal Reasoning Traces
Shared title terminologycs.CLKayler Tee, Hangwei Qian