Research map / Large language models / Reasoning and chain of thought
CodeTool: Enhancing Programmatic Tool Invocation of LLMs via Process Supervision
Yifei Lu, Fanghua Ye, Jian Li, Qiang Gao, Cheng Liu, Haibo Luo, Nan Du, Xiaolong Li, Feiliang Ren
Northeastern University · Tencent
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 On-the-spot Reward (ablation) | CodeTool (Qwen2.5-Coder-7B) · StableToolBench (filtered) | avg SoPR (%): 65.99 -> 69.75 | Improved |
| add Latent Reward (ablation) | CodeTool (Qwen2.5-Coder-7B) · StableToolBench (filtered) | avg SoPR (%): 65.41 -> 69.75 | Improved |
| add Latent Reward (ablation) | CodeTool (Qwen2.5-Coder-7B) · StableToolBench I1 Ins. and I2 Cat. | SoPR (%): I1 Ins. 62.59 vs 67.94 without; I2 Cat. 70.00 vs 73.00 without | Hurt |
| add On-the-spot Reward (ablation) | CodeTool (Qwen2.5-Coder-7B) · StableToolBench (filtered) | SCEP (%): 69.46 -> 86.86 | Improved |
| add Latent Reward (ablation) | CodeTool (Qwen2.5-Coder-7B) · StableToolBench (filtered) | SCEP (%): 85.34 -> 86.86 | Improved |
| use CodeTool instead of DFSDT with JSON | Qwen2.5-7B-Instruct · StableToolBench (filtered) | avg SoPR (%): 60.52 -> 64.19 | Improved |
| use CodeTool instead of DFSDT with JSON | GPT-3.5-Turbo-0613 · StableToolBench (filtered) | avg SoPR (%): 62.34 -> 53.71 | Hurt |
| use CodeTool instead of DFSDT with JSON | GPT-4-Turbo-Preview · StableToolBench (filtered) | avg SoPR (%): 62.03 -> 71.05 | Improved |
| use CodeTool instead of ATC | GPT-3.5-Turbo-0613 setting · RestBench-TMDB | success rate / correct path rate (%): 89.00 -> 92.00; 84.71 -> 91.15 | Improved |
| use CodeLlama-7B as code model instead of ToolLLaMA-v2 with DFSDT | CodeTool · StableToolBench (filtered) | avg SoPR (%): 53.24 -> 43.89 | Hurt |
| increase number of candidate actions N from 2 to 3 (ablation) | CodeTool PRM selection · StableToolBench (filtered) | SoPR | Improved |
| increase number of candidate actions N beyond 3 (ablation) | CodeTool PRM selection · StableToolBench (filtered) | SoPR | Hurt |
Open problems this paper states
- “PRM quality depends on sampled Latent Reward estimates, which may be inaccurate and give suboptimal performance.” → Step labels from sampling or automatic annotation are noisy or costly. (an open problem in process reward models)
Open problems in process reward models
Do process reward models still verify reasoning reliably beyond math, on larger models and across generators?
- Process reward models are mostly tested on math, and other domains are untested. · 19 papers state it
- Nothing is shown on models much larger than 7B or 8B. · 16 papers state it
- Step labels from sampling or automatic annotation are noisy or costly. · 13 papers state it
Closest papers by meaning
- BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructions (ICLR 2025 · similarity 0.90)
- Reasoning Through Execution: Unifying Process and Outcome Rewards for Code Generation (ICML 2025 · similarity 0.89)
- CodeMMLU: A Multi-Task Benchmark for Assessing Code Understanding & Reasoning Capabilities of CodeLLMs (ICLR 2025 · similarity 0.88)
- ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs (ICLR 2024 · similarity 0.88)
- ReTool: Reinforcement Learning for Strategic Tool Use in LLMs (ICLR 2026 · similarity 0.88)
- SemCoder: Training Code Language Models with Comprehensive Semantics Reasoning (NeurIPS 2024 · similarity 0.88)
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.