atlas

Research map / Large language models / Agents, code and math

Learning Evolving Tools for Large Language Models

ICLR 2025 · Large language models › Agents, code and math · approach: Agent instruction-following benchmarks · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes ToolEVO, an MCTS-based framework where LLMs explore a dynamic tool environment, self-reflect on errors and update tool descriptions, then fine-tune on successful trajectories; also introduces the ToolQA-D benchmark for tool variability.

Problem

LLM tool use degrades when APIs change in names, parameters, or response formats after training, since static fine-tuning and prompts with outdated tool manuals fail to match the deployed server APIs.

Approach

Use Monte Carlo Tree Search to let the LLM actively interact with a dynamic environment, reflecting on invocation and deprecation errors and writing updated tool usage into the prompt via an UpdateTool system tool; then SFT on successful trial-and-error trajectories so the model learns adaptation rather than memorizing static invocation patterns.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
train on trial-and-error experiences from dynamic environments rather than static-environment tool trajectoriesLlama3-8B · ToolQA-D average, in-domain dynamic environment (Easy)accuracy: 37.2 -> 66.2Helped
train on trial-and-error experiences from dynamic environments rather than static-environment tool trajectoriesQwen2-7B · ToolQA-D average, in-domain dynamic environment (Hard)accuracy: 17.3 -> 32.1Helped
train on trial-and-error experiences from dynamic environments rather than static-environment tool trajectoriesLlama3-8B · ToolQA-D average, OOD dynamic environment (Easy)accuracy: 20.4 -> 61.6Helped
train on trial-and-error experiences from dynamic environments rather than static-environment tool trajectoriesQwen2-7B · ToolQA-D average, OOD dynamic environment (Hard)accuracy: 16.9 -> 27.7Helped
train on trial-and-error experiences focused on tool variability instead of static tool usageLlama3-8B · ToolQA-D average, static environment (Easy)accuracy: 70.2 -> 66.7Mixed
add the tool-update module to summarize new tool usage and update the prompt (ablation)ToolEVO · ToolQA-D average, OOD dynamic environment (Easy)accuracy: 55.4 -> 61.6Helped
add the tool-update module to summarize new tool usage and update the prompt (ablation)ToolEVO · ToolQA-D average, OOD dynamic environment (Hard)accuracy: 21.9 -> 28.3Helped
add self-reflection for invocation errors (ablation)ToolEVO · ToolQA-D average, OOD dynamic environment (Easy)accuracy: 41.7 -> 61.6Helped
add self-reflection for invocation errors (ablation)ToolEVO · ToolQA-D average, OOD dynamic environment (Hard)accuracy: 15.5 -> 28.3Helped

Surprising findings

Limitations

Experimental setup

Datasets: ToolQA

Benchmarks: ToolQA-D

Metrics: accuracy (success rate)

Baselines: ChatGPT GPT-4 GPT-4o GPT-4o-mini Claude-3.5-Sonnet Llama3-70B-Instruct Llama3-8B-Instruct Qwen2-72B-Instruct Qwen2-7B-Instruct Static-SFT

Builds on: ToolQA ReAct PUCT AlphaGo Zero

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy