ToolACE: Winning the Points of LLM Function Calling

Weiwen Liu, Xu Huang, Xingshan Zeng, Xinlong Hao, Shuai Yu, Dexun Li, Shuai Wang, Weinan Gan, Zhengying Liu, Yuanqing Yu, Zezhong Wang, Yuxian Wang, Wu Ning, Yutai Hou, Bin Wang, Chuhan Wu, Xinzhi Wang, Yong Liu, Yasheng Wang, Duyu Tang, Dandan Tu, Lifeng Shang, Xin Jiang, Ruiming Tang, Defu Lian, Qun Liu, Enhong Chen

arXiv:2409.00920 · 2026-07-27 공개 · arXiv · PDF

large-language-models benchmarking llm-training synthetic-data self-evolution function-calling agentic-pipeline tool-learning

Abstract

Function calling significantly extends the application boundary of large language models, where high-quality and diverse training data is critical for unlocking this capability. However, real function-calling data is quite challenging to collect and annotate, while synthetic data generated by existing pipelines tends to lack coverage and accuracy. In this paper, we present ToolACE, an automatic agentic pipeline designed to generate accurate, complex, and diverse tool-learning data. ToolACE leverages a novel self-evolution synthesis process to curate a comprehensive API pool of 26,507 diverse APIs. Dialogs are further generated through the interplay among multiple agents, guided by a formalized thinking process. To ensure data accuracy, we implement a dual-layer verification system combining rule-based and model-based checks. We demonstrate that models trained on our synthesized data, even with only 8B parameters, achieve state-of-the-art performance on the Berkeley Function-Calling Leaderboard, rivaling the latest GPT-4 models. Our model and a subset of the data are publicly available at https://huggingface.co/Team-ACE.

한국어 요약

한 줄 요약

ToolACE는 26,507개의 다양한 API를 기반으로 생성된 정확하고 복잡한 툴 학습 데이터를 통해 8B 파라미터 모델이 GPT-4 수준의 성능을 달성한 자동 생성 파이프라인입니다.

핵심 기여도

핵심 아이디어

기존 툴 호출 데이터는 수집 및 라벨링이 어려우며, 합성 데이터는 커버리지와 정확도가 부족한 문제가 있었다. ToolACE는 이 문제를 해결하기 위해 **TSS**(Tool Self-Evolution Synthesis)를 도입하여 다양한 도메인과 데이터 타입을 포함한 API 풀을 자동 생성한다. 또한, 다중 에이전트 간 상호작용을 통해 생성된 다이얼로그는 **형식화된 사고 과정**(Formalized Thinking)을 따르며, **DLV**(Dual-Layer Verification) 시스템을 통해 정확도를 보장한다. 이는 단순히 규칙 기반 검증을 넘어, LLM 기반의 내용 품질 검증을 추가하여 데이터 신뢰성을 높인다.

기술적 접근법

주요 결과

의의 및 한계

ToolACE는 툴 호출 데이터 생성의 **정확도**, **다양성**, **복잡도**를 동시에 강화한 체계적인 파이프라인으로, 기존 합성 데이터의 한계를 극복한다. 특히, **DLV** 시스템은 데이터 품질을 보장하며, **TSS**는 다양한 도메인의 API를 포함하여 모델의 일반화 능력을 향상시킨다. 그러나, **모든 API를 커버하는 것은 여전히 어려움**이며, **실제 세계 API와의 호환성 검증은 추가 연구 필요**하다. 또한, **모델 크기 제한**(8B)으로 인해 더 큰 모델과의 비교는 제한적일 수 있다.

실용적 활용

ToolACE는 **자동화된 워크플로우**, **재무 보고**, **여행 계획** 등 복잡한 툴 사용이 필요한 산업에서 활용 가능하다. 또한, **LLM 기반 에이전트 개발**, **API 통합 시스템**, **교육용 AI 도구** 등 다양한 연구 및 개발 분야에서 툴 호출 기능을 향상시키는 데 유용하게 사용될 수 있다.