arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2503.20527cs.CLcs.AI
收藏

StableToolBench-MirrorAPI:将工具环境建模为7000多个真实世界API的镜像

StableToolBench-MirrorAPI: Modeling Tool Environments as Mirrors of 7,000+ Real-World APIs

Tsinghua University(清华大学);Institute for AI Industry Research (AIR), Tsinghua University(清华大学人工智能产业研究院);RayNeo(雷尼奥);Google(谷歌);The University of Toronto(多伦多大学);Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院)

Zhicheng Guo, Sijie Cheng, Yuchen Niu, Hao Wang, Sicheng Zhou, Wenbing Huang, Yang Liu

AI总结:

针对现有工具环境在稳定性、可扩展性和真实性上的不足,本文提出MirrorAPI框架,用专门训练的LLM模拟7000多个真实API响应,结合监督微调与思维链推理,在MirrorAPI-Bench上取得更优的准确性和稳定性,并集成进StableToolBench。

摘要:

大型语言模型(LLM)的快速发展极大地激发了人们对工具学习的兴趣,在工具学习中,LLM通过外部工具增强以处理复杂任务。然而,现有的工具环境在平衡稳定性、可扩展性和真实性方面面临挑战,尤其是在基准测试方面。为解决这一问题,我们提出了MirrorAPI,这是一个新颖的框架,通过训练专门的LLM来准确模拟真实API响应,有效地充当工具环境的“镜像”。利用来自7000多个API的请求-响应对综合数据集,我们采用监督微调和思维链推理来增强模拟保真度。与最先进的方法相比,MirrorAPI在准确性和稳定性方面均表现出色,这通过其在新构建的MirrorAPI-Bench上的性能及其在StableToolBench中的集成得到了证明。

英文摘要:

The rapid advancement of large language models (LLMs) has spurred significant interest in tool learning, where LLMs are augmented with external tools to tackle complex tasks. However, existing tool environments face challenges in balancing stability, scalability, and realness, particularly for benchmarking purposes. To address this problem, we propose MirrorAPI, a novel framework that trains specialized LLMs to accurately simulate real API responses, effectively acting as "mirrors" to tool environments. Using a comprehensive dataset of request-response pairs from 7,000+ APIs, we employ supervised fine-tuning and chain-of-thought reasoning to enhance simulation fidelity. MirrorAPI achieves superior accuracy and stability compared to state-of-the-art methods, as demonstrated by its performance on the newly constructed MirrorAPI-Bench and its integration into StableToolBench.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑