2025-02-19 · 专家 · 自然语言处理 · 机器学习

OctoTools: An Agentic Framework with Extensible Tools for Complex Reasoning

OctoTools 提出了一种基于工具的代理框架,通过扩展的工具集和灵活的规划执行范式,实现了复杂推理任务的自动化解决。

更新于 2025-02-19。作者:Pan Lu、Bowen Chen、Sheng Liu、Rahul Thapa、Joseph Boen、James Zou。

中文摘要

解决复杂的推理任务可能涉及视觉理解、领域知识检索、数值计算和多步骤推理。现有方法通过外部工具增强大型语言模型(LLMs),但仅限于特定领域、工具类型有限或需要额外的训练数据。在本文中,我们介绍了OctoTools,这是一个无需训练、用户友好且易于扩展的开源代理框架,旨在解决不同领域的复杂推理问题。OctoTools引入了标准化的工具卡片来封装工具功能,一个用于高级和低级规划的规划器,以及一个执行器来执行工具的使用。我们通过16个多样化的任务(包括MathVista、MMLU-Pro、MedQA和GAIA-Text)验证了OctoTools的通用性,与GPT-4o相比,实现了平均准确率提升9.3%。此外,当给定相同的工具集时,OctoTools在性能上优于AutoGen、GPT-Functions和LangChain,最高提升了10.6%。通过全面分析和消融实验,OctoTools在任务规划、有效工具使用和多步骤问题解决方面展现出优势。

英文摘要

Solving complex reasoning tasks may involve visual understanding, domain knowledge retrieval, numerical calculation, and multi-step reasoning. Existing methods augment large language models (LLMs) with external tools but are restricted to specialized domains, limited tool types, or require additional training data. In this paper, we introduce OctoTools, a training-free, user-friendly, and easily extensible open-source agentic framework designed to tackle complex reasoning across diverse domains. OctoTools introduces standardized tool cards to encapsulate tool functionality, a planner for both high-level and low-level planning, and an executor to carry out tool usage. We validate OctoTools' generality across 16 diverse tasks (including MathVista, MMLU-Pro, MedQA, and GAIA-Text), achieving substantial average accuracy gains of 9.3% over GPT-4o. Furthermore, OctoTools outperforms AutoGen, GPT-Functions and LangChain by up to 10.6% when given the same set of tools. Through comprehensive analysis and ablations, OctoTools demonstrates advantages in task planning, effective tool usage, and multi-step problem solving.

解读

一句话总结

OctoTools 提出了一种基于工具的代理框架,通过扩展的工具集和灵活的规划执行范式,实现了复杂推理任务的自动化解决。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt