arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.10718cs.AIcs.CL
收藏

Sibyl:简单而有效的复杂现实世界推理智能体框架

Sibyl: Simple yet Effective Agent Framework for Complex Real-world Reasoning

Baichuan Inc.(百川公司);College of Intelligence and Computing, Tianjin University(天津大学智能与计算学部)

Yulong Wang, Tianhao Shen, Lifeng Liu, Jian Xie

AI总结:

Sibyl是一个基于LLM的智能体框架,通过全局工作空间和多智能体辩论陪审团机制,利用最少工具解决复杂推理任务,在GAIA基准上以GPT-4实现34.55%的平均得分,达到最先进性能。

摘要:

基于大型语言模型(LLM)的现有智能体通过整合LLM固有的知识、强大的上下文学习和零样本能力,以及使用工具并结合人类精心设计的LLM调用工作流,展示了强大的问题解决能力。然而,这些智能体在长期推理方面仍存在不足,且未能充分利用现有工具的潜力,导致在复杂的现实世界推理场景中表现明显欠缺。为解决这些局限,我们引入了Sibyl,一个简单而强大的基于LLM的智能体框架,旨在通过高效利用最少量的工具来处理复杂推理任务。受全局工作空间理论启发,Sibyl整合了一个全局工作空间,以增强整个系统中知识和对话历史的管理与共享。此外,在思维社会理论的指导下,Sibyl实现了基于多智能体辩论的陪审团机制,对最终答案进行自我完善,确保采用全面且平衡的方法。该方法旨在降低系统复杂性,同时扩大可解决问题的范围——从通常人类几分钟内解决的问题扩展到需要数小时甚至数天的问题,从而促进从系统1思维向系统2思维的转变。Sibyl从设计之初就融入了函数式编程中的可重入概念,注重可扩展性和易调试性,旨在无缝且低工作量地集成到其他LLM应用中,以提升其能力。我们在GAIA基准测试集上的实验结果显示,使用GPT-4实例化的Sibyl智能体取得了最先进的性能,平均得分为34.55%,优于其他基于GPT-4的智能体。我们希望Sibyl能够启发更多可靠且可复用的基于LLM的智能体解决方案,以应对复杂的现实世界推理任务。

英文摘要:

Existing agents based on large language models (LLMs) demonstrate robust problem-solving capabilities by integrating LLMs' inherent knowledge, strong in-context learning and zero-shot capabilities, and the use of tools combined with intricately designed LLM invocation workflows by humans. However, these agents still exhibit shortcomings in long-term reasoning and under-use the potential of existing tools, leading to noticeable deficiencies in complex real-world reasoning scenarios. To address these limitations, we introduce Sibyl, a simple yet powerful LLM-based agent framework designed to tackle complex reasoning tasks by efficiently leveraging a minimal set of tools. Drawing inspiration from Global Workspace Theory, Sibyl incorporates a global workspace to enhance the management and sharing of knowledge and conversation history throughout the system. Furthermore, guided by Society of Mind Theory, Sibyl implements a multi-agent debate-based jury to self-refine the final answers, ensuring a comprehensive and balanced approach. This approach aims to reduce system complexity while expanding the scope of problems solvable-from matters typically resolved by humans in minutes to those requiring hours or even days, thus facilitating a shift from System-1 to System-2 thinking. Sibyl has been designed with a focus on scalability and ease of debugging by incorporating the concept of reentrancy from functional programming from its inception, with the aim of seamless and low effort integration in other LLM applications to improve capabilities. Our experimental results on the GAIA benchmark test set reveal that the Sibyl agent instantiated with GPT-4 achieves state-of-the-art performance with an average score of 34.55%, compared to other agents based on GPT-4. We hope that Sibyl can inspire more reliable and reusable LLM-based agent solutions to address complex real-world reasoning tasks.

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

↑