Confucius: Iterative Tool Learning from Introspection Feedback by Easy-to-Difficult Curriculum
Shen Gao, Zhengliang Shi, Minghang Zhu, Bowen Fang, Xin Xin, Pengjie Ren, Zhumin Chen, Jun Ma, Zhaochun Ren
摘要
Augmenting large language models (LLMs) with external tools has emerged as a promising approach to extending the capability of LLMs. Although there are some works that employ open-source LLMs for the tool-learning task, most of them are trained in a controlled environment in which LLMs only learn to execute the human-provided tools. However, selecting proper tools from the large toolset is also a crucial ability for the tool-learning model to be applied in real-world applications. Existing methods usually directly employ self-instruction methods to train the model, which ignores differences in tool complexity. In this paper, we propose the Confucius a novel tool-learning framework to train LLM to use complicated tools in real-world scenarios, which contains two main phases: (1) We first propose a multi-stage learning method to teach the LLM to use various tools from an easy-to-difficult curriculum; (2) thenceforth, we propose the Iterative Self-instruct from Introspective Feedback (ISIF) to dynamically construct the dataset to improve the ability to use the complicated tool. Extensive experiments conducted on both controlled and real-world settings demonstrate the superiority of our tool-learning framework in the real-world application scenario compared to both tuning-free (e.g., ChatGPT, Claude) and tuning-based baselines (e.g., GPT4Tools).
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 21 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- CRAFT: Customizing LLMs by Creating and Retrieving from Specialized Toolsets 引用了 PAL: Program-aided Language Models
- CRAFT: Customizing LLMs by Creating and Retrieving from Specialized Toolsets 引用了 ToolkenGPT: Augmenting Frozen Language Models with Massive Tools via Tool Embeddings
- Tool Learning in the Wild: Empowering Language Models as Automatic Tool Agents 引用了 CRAFT: Customizing LLMs by Creating and Retrieving from Specialized Toolsets
- Tool Learning in the Wild: Empowering Language Models as Automatic Tool Agents 引用了 PAL: Program-aided Language Models
- Tool Learning in the Wild: Empowering Language Models as Automatic Tool Agents 引用了 ToolkenGPT: Augmenting Frozen Language Models with Massive Tools via Tool Embeddings
- SeRL: Self-play Reinforcement Learning for Large Language Models with Limited Data 引用了 GPT4Tools: Teaching Large Language Model to Use Tools via Self-instruction
- Prompt Injection Attack to Tool Selection in LLM Agents 引用了 CRAFT: Customizing LLMs by Creating and Retrieving from Specialized Toolsets
- ToolkenGPT: Augmenting Frozen Language Models with Massive Tools via Tool Embeddings 引用了 PAL: Program-aided Language Models
- ToolkenGPT: Augmenting Frozen Language Models with Massive Tools via Tool Embeddings 引用了 Chameleon: Plug-and-Play Compositional Reasoning with Large Language Models
- Chameleon: Plug-and-Play Compositional Reasoning with Large Language Models 引用了 PAL: Program-aided Language Models
引用它的顶会 Paper21
- Prompt Injection Attack to Tool Selection in LLM AgentsJiawen Shi, Zenghui Yuan, Guiyao Tie, Pan Zhou 等NDSS 2026 · 181 次引用
- CRAFT: Customizing LLMs by Creating and Retrieving from Specialized ToolsetsLifan Yuan, Yangyi Chen, Xingyao Wang, Yi Fung 等ICLR 2024 · 117 次引用
- Tool Learning in the Wild: Empowering Language Models as Automatic Tool AgentsZhengliang Shi, Shen Gao, Lingyong Yan, Yue Feng 等WWW 2025 · 59 次引用
- SeRL: Self-play Reinforcement Learning for Large Language Models with Limited DataWenkai Fang, Shunyu Liu, Yang Zhou, Kongcheng Zhang 等NeurIPS 2025 · 53 次引用
- Harnessing Multi-Role Capabilities of Large Language Models for Open-Domain Question AnsweringHongda Sun, Yuxuan Liu, Chengwei Wu, Haiyu Yan 等WWW 2024 · 16 次引用
它引用的 Paper7
- PAL: Program-aided Language ModelsLuyu Gao, Aman Madaan, Shuyan Zhou, Uri Alon 等ICML 2023 · 700 次引用
- Language Models can Solve Computer TasksGeunwoo Kim, Pierre Baldi, Stephen McAleerNeurIPS 2023 · 539 次引用
- Chameleon: Plug-and-Play Compositional Reasoning with Large Language ModelsPan Lu, Baolin Peng, Hao Cheng, Michel Galley 等NeurIPS 2023 · 515 次引用
- GPT4Tools: Teaching Large Language Model to Use Tools via Self-instructionRui Yang, Lin Song, Yanwei Li, Sijie Zhao 等NeurIPS 2023 · 340 次引用
- ToolkenGPT: Augmenting Frozen Language Models with Massive Tools via Tool EmbeddingsShibo Hao, Tianyang Liu, Zhen Wang, Zhiting HuNeurIPS 2023 · 315 次引用
相关 Paper
- ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIsYujia Qin, Shihao Liang, Yining Ye, Kunlun Zhu 等ICLR 2024 · 1,469 次引用
- GenTool: Enhancing Tool Generalization in Language Models through Zero-to-One and Weak-to-Strong SimulationJie He, Jennifer Neville, Mengting Wan, Longqi Yang 等ACL Findings 2025
- Learning to Use Tools via Cooperative and Interactive AgentsZhengliang Shi, Shen Gao, Xiuyi Chen, Yue Feng 等EMNLP Findings 2024 · 14 次引用
- Enhancing Tool Retrieval with Iterative Feedback from Large Language ModelsQiancheng Xu, Yongqi Li, Heming Xia, Wenjie LiEMNLP Findings 2024 · 4 次引用
- AgentRefine: Enhancing Agent Generalization through Refinement TuningDayuan Fu, Keqing He, Yejie Wang, Wentao Hong 等ICLR 2025
