arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.06469cs.AIcs.CLcs.LG
收藏

Husky:一个统一的、开源的多步推理语言智能体

Husky: A Unified, Open-Source Language Agent for Multi-Step Reasoning

University of Washington(华盛顿大学);Meta AI;Allen Institute for AI(艾伦人工智能研究所)

Joongwon Kim, Bhargavi Paranjape, Tushar Khot, Hannaneh Hajishirzi

AI总结:

Husky 是一个开源语言智能体,通过在统一动作空间中迭代生成和执行动作来解决数值、表格和知识推理任务,并在 14 个数据集及新基准 HuskyQA 上以 7B 模型达到或超过 GPT-4 的表现。

摘要:

语言智能体通过使用工具精确执行每一步来完成复杂任务。然而,现有的大多数智能体要么基于专有模型,要么针对特定任务(如数学或多跳问答)设计。我们提出了 Husky,一个整体的、开源的语言智能体,它学习在统一的动作空间上进行推理,以解决涉及数值、表格和基于知识的推理的多样化复杂任务。Husky 在两个阶段之间迭代:1)生成下一步要执行的动作以解决给定任务;2)使用专家模型执行该动作并更新当前解决方案状态。我们识别了一套完整的用于处理复杂任务的动作本体,并整理了高质量数据来训练执行这些动作的专家模型。我们的实验表明,Husky 在 14 个评估数据集上优于先前的语言智能体。此外,我们引入了 HuskyQA,一个新的评估集,用于对语言智能体进行混合工具推理的压力测试,重点关注检索缺失知识和执行数值推理。尽管使用的是 7B 模型,Husky 在这些任务上达到甚至超过了 GPT-4 等前沿语言模型,展示了我们整体方法在解决复杂推理问题上的有效性。我们的代码和模型可在 https://github.com/agent-husky/Husky-v1 获取。

英文摘要:

Language agents perform complex tasks by using tools to execute each step precisely. However, most existing agents are based on proprietary models or designed to target specific tasks, such as mathematics or multi-hop question answering. We introduce Husky, a holistic, open-source language agent that learns to reason over a unified action space to address a diverse set of complex tasks involving numerical, tabular, and knowledge-based reasoning. Husky iterates between two stages: 1) generating the next action to take towards solving a given task and 2) executing the action using expert models and updating the current solution state. We identify a thorough ontology of actions for addressing complex tasks and curate high-quality data to train expert models for executing these actions. Our experiments show that Husky outperforms prior language agents across 14 evaluation datasets. Moreover, we introduce HuskyQA, a new evaluation set which stress tests language agents for mixed-tool reasoning, with a focus on retrieving missing knowledge and performing numerical reasoning. Despite using 7B models, Husky matches or even exceeds frontier LMs such as GPT-4 on these tasks, showcasing the efficacy of our holistic approach in addressing complex reasoning problems. Our code and models are available at https://github.com/agent-husky/Husky-v1.

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

↑