TL-Training: A Task-Feature-Based Framework for Training Large Language Models in Tool Use
Fudan University(复旦大学);Lenovo Research(联想研究);ByteDance Seed(字节跳动种子);Shanghai Key Lab of Intelligent Information Processing(上海智能信息处理重点实验室);Shanghai AI Laboratory(上海人工智能实验室)
Junjie Ye, Yilong Wu, Sixian Li, Yuming Yang, Zhiheng Xi, Tao Gui, Qi Zhang, Xuanjing Huang, Peng Wang, Zhongchao Shi, Jianping Fan, Zhengyin Du
Large language models (LLMs) achieve remarkable advancements by leveraging tools to interact with environments, a critical step toward generalized AI. However, the standard supervised fine-tuning (SFT) approach, which relies on large-scale datasets, often overlooks task-specific characteristics in tool use, leading to performance bottlenecks. To address this issue, we analyze three existing LLMs and uncover key insights: training data can inadvertently impede tool-use behavior, token importance is distributed unevenly, and errors in tool calls fall into a small set of categories. Building on these findings, we propose~\emph{TL-Training}, a task-feature-based framework that mitigates the effects of suboptimal training data, dynamically adjusts token weights to prioritize key tokens during SFT, and incorporates a robust reward mechanism tailored to error categories, optimized through proximal policy optimization. We validate TL-Training by training CodeLLaMA-2-7B and evaluating it on four open-source test sets. Our results demonstrate that the LLM trained by our method matches or surpasses both open- and closed-source LLMs in tool-use performance using only 1,217 training data points. Additionally, our method enhances robustness in noisy environments and improves general task performance, offering a scalable and efficient paradigm for tool-use training in LLMs. Code and data are available at https://github.com/Junjie-Ye/TL-Training.
PEToolLLM: Towards Personalized Tool Learning in Large Language Models
The Hong Kong Polytechnic University(香港理工大学);National University of Singapore(新加坡国立大学);Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院)
TInR: Exploring Tool-Internalized Reasoning in Large Language Models
The Hong Kong Polytechnic University(香港理工大学);Southeast University(东南大学);University of Edinburgh(爱丁堡大学);Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院)
ToolEyes: Fine-Grained Evaluation for Tool Learning Capabilities of Large Language Models in Real-world Scenarios
School of Computer Science, Fudan University(复旦大学计算机科学技术学院);Institute of Modern Languages and Linguistics, Fudan University(复旦大学现代语言与语言学研究所);Research Institute of Intelligent Complex Systems, Fudan University(复旦大学智能复杂系统研究院);Pengcheng Laboratory(鹏城实验室)
ToolSpectrum : Towards Personalized Tool Utilization for Large Language Models
School of Computer Science and Engineering, Beihang University(北京航空航天大学计算机科学与工程学院);School of Computer Science and Technology, Beijing Institute of Technology(北京理工大学计算机科学与技术学院);University of Science and Technology Beijing(北京科技大学);The Chinese University of Hong Kong(香港中文大学);Baidu Inc.(百度公司)
ToolSword: Unveiling Safety Issues of Large Language Models in Tool Learning Across Three Stages
School of Computer Science, Fudan University(复旦大学计算机科学学院);Shanghai Collaborative Innovation Center of Intelligent Visual Computing(上海智能视觉计算协同创新中心);Institute of Modern Languages and Linguistics, Fudan University(复旦大学现代语言与语言学研究所)
ToolCoder: A Systematic Code-Empowered Tool Learning Framework for Large Language Models
State Key Laboratory of AI Safety, Institute of Computing Technology, CAS(人工智能安全国家重点实验室,计算技术研究所,中国科学院);University of Chinese Academy of Sciences(中国科学院大学);Alibaba Group(阿里巴巴集团)
Making Language Models Better Tool Learners with Execution Feedback
College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院);ZJU-Ant Group Joint Research Center for Knowledge Graphs, Zhejiang University(浙江大学-蚂蚁集团知识图谱联合研究中心);ZJU-Hangzhou Global Scientific and Technological Innovation Center, Zhejiang University(浙江大学杭州国际科技创新中心);Alibaba Group(阿里巴巴集团)
ToolGate: Token-Efficient Pre-Call Control for Tool-Augmented Vision-Language Agents
The Hong Kong University of Science and Technology (Guangzhou)(香港科学与技术大学(广州));University College London(伦敦大学学院);AI Lab, The Yangtze River Delta(长江三角洲人工智能实验室)
ProgAgent: Learning Tool Orchestration through Programmatic Training
Hong Kong University of Science and Technology(香港科技大学);Beijing University of Posts and Telecommunications(北京邮电大学);Nanyang Technological University(南洋理工大学)