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

流:推理与协作AI的构建模块

Flows: Building Blocks of Reasoning and Collaborating AI

EPFL(洛桑联邦理工学院);Univ. Grenoble Alpes(格勒诺布尔阿尔卑斯大学);CNRS(法国国家科学研究中心);Grenoble INP(格勒诺布尔理工学院);LIG(格勒诺布尔信息学实验室);PSL University(巴黎文理研究大学)

Martin Josifoski, Lars Klein, Maxime Peyrard, Nicolas Baldwin, Yifei Li, Saibo Geng, Julian Paul Schnitzler, Yuxing Yao, Jiheng Wei, Debjit Paul, Robert West

AI总结:

本文提出“流”框架,通过标准化消息接口的模块化构建块实现结构化推理与多AI/人机协作,在竞争性编程任务中显著提升泛化能力,纯AI流和人类-AI流解决率分别提升21和54个百分点。

摘要:

近年来人工智能(AI)的进展产生了高度有能力且可控的系统。这为结构化推理以及多个AI系统与人类之间的协作创造了前所未有的机会。为了充分实现这一潜力,开发一种原则性的方式来设计和研究此类结构化交互至关重要。为此,我们引入了概念框架“流”(Flows)。流是自包含的计算构建模块,具有隔离的状态,通过标准化的基于消息的接口进行通信。这种模块化设计通过允许流被递归组合成任意嵌套的交互,简化了创建流的过程,并且天然地支持并发。关键在于,任何交互都可以使用该框架实现,包括先前关于AI-AI和人类-AI交互、提示工程方案以及工具增强的工作。我们在竞争性编程(一项即使GPT-4也面临挑战的任务)上展示了流的潜力。我们的结果表明,结构化推理和协作显著提高了泛化能力,其中纯AI流在解决率上增加了+21个绝对百分点,而人类-AI流增加了+54个绝对百分点。为了支持快速且严谨的研究,我们引入了体现流概念的aiFlows库。aiFlows库可在https://github.com/epfl-dlab/aiflows获取。用于复现我们实验的数据和流可在https://github.com/epfl-dlab/cc_flows获取。

英文摘要:

Recent advances in artificial intelligence (AI) have produced highly capable and controllable systems. This creates unprecedented opportunities for structured reasoning as well as collaboration among multiple AI systems and humans. To fully realize this potential, it is essential to develop a principled way of designing and studying such structured interactions. For this purpose, we introduce the conceptual framework Flows. Flows are self-contained building blocks of computation, with an isolated state, communicating through a standardized message-based interface. This modular design simplifies the process of creating Flows by allowing them to be recursively composed into arbitrarily nested interactions and is inherently concurrency-friendly. Crucially, any interaction can be implemented using this framework, including prior work on AI-AI and human-AI interactions, prompt engineering schemes, and tool augmentation. We demonstrate the potential of Flows on competitive coding, a challenging task on which even GPT-4 struggles. Our results suggest that structured reasoning and collaboration substantially improve generalization, with AI-only Flows adding +21 and human-AI Flows adding +54 absolute points in terms of solve rate. To support rapid and rigorous research, we introduce the aiFlows library embodying Flows. The aiFlows library is available at https://github.com/epfl-dlab/aiflows. Data and Flows for reproducing our experiments are available at https://github.com/epfl-dlab/cc_flows.

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

↑