Research map / Large language models / Reasoning and chain of thought
ToolSpec: Accelerating Tool Calling via Schema-Aware and Retrieval-Augmented Speculative Decoding
Heming Xia, Yongqi Li, Cunxiao Du, Mingbo Song, Wenjie Li
Peking University · The Hong Kong Polytechnic University
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add schema-aware drafting (ablation) | ToolSpec · API-Bank | speedup (x): 4.22 -> 4.45 | Improved |
| add retrieval-augmented speculation (ablation) | ToolSpec · API-Bank | speedup (x): 3.35 -> 4.45; #MAT 4.29 -> 5.80 | Improved |
| add both modules (ablation) | ToolSpec · API-Bank | speedup (x): 2.69 -> 4.45 | Improved |
| schema-aware drafting for first two decoding steps | ToolSpec vs TR · API-Bank | avg accepted tokens: 8.5 -> 19.3 | Improved |
| use ToolSpec instead of best plug-and-play baseline | LLaMA/Qwen models · tool-use benchmarks | speedup (x): 2.45 -> 4.19 (up to 71% relative) | Improved |
| use ToolSpec instead of SAMD | Qwen2.5-32B-Instruct · API-Bank | speedup (x): 1.78 -> 3.04 | Improved |
| use ToolSpec instead of vanilla decoding | four LLMs · API-Bank and ToolAlpaca | accuracy: Qwen2.5-14B ToolAlpaca 58.94 -> 59.60; others identical | No clear effect |
| lengthen continuations from {16,8,4,4} to {32,16,8,8} (ablation) | ToolSpec · API-Bank | speedup (x): 4.08 -> 4.42 | Improved |
| lengthen continuations further to {64,32,16,8} (ablation) | ToolSpec · API-Bank | speedup (x): 4.42 -> 4.35 | Hurt |
| use decreasing continuation lengths instead of uniform {16,16,16,16} (ablation) | ToolSpec · API-Bank | speedup (x): 4.18 -> 4.42 | Improved |
| raise retrieval k from 1 to 10 (ablation) | ToolSpec · API-Bank | speedup (x): 4.01 -> 4.42 | Improved |
| raise retrieval k from 10 to 15 (ablation) | ToolSpec · API-Bank | speedup (x): 4.42 -> 4.37 | Hurt |
Open problems this paper states
- “Experiments exclude larger models such as Qwen2.5-72B-Instruct and LLaMA-3.1-70B-Instruct because of compute limits.” → Larger target models were never tried. (an open problem in speculative decoding)
Open problems in speculative decoding
Which speculative decoding methods still speed up decoding at large batch, on other hardware and on bigger models?
- Thresholds and other hyperparameters are tuned by hand per task or model pair. · 20 papers state it
- Gains shrink or vanish at larger batch sizes, and most tests use batch size 1. · 17 papers state it
- Larger target models were never tried. · 12 papers state it
Closest papers by meaning
- MagicDec: Breaking the Latency-Throughput Tradeoff for Long Context Generation with Speculative Decoding (ICLR 2025 · similarity 0.89)
- Scaling Up, Speeding Up: A Benchmark of Speculative Decoding for Efficient LLM Test-Time Scaling (ICLR 2026 · similarity 0.89)
- RAPID: Long-Context Inference with Retrieval-Augmented Speculative Decoding (ICML 2025 · similarity 0.89)
- SPEED-Bench: A Unified and Diverse Benchmark for Speculative Decoding (ICML 2026 · similarity 0.89)
- Yggdrasil: Bridging Dynamic Speculation and Static Runtime for Latency-Optimal Tree-Based LLM Decoding (NeurIPS 2025 · similarity 0.89)
- MoESD: Unveil Speculative Decoding's Potential for Accelerating Sparse MoE (NeurIPS 2025 · similarity 0.89)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.