arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.13050cs.CLcs.AI
收藏

FlowMind:使用LLM自动生成工作流

FlowMind: Automatic Workflow Generation with LLMs

J. P. Morgan AI Research(摩根大通人工智能研究院)

Zhen Zeng, William Watson, Nicole Cho, Saba Rahimi, Shayleen Reynolds, Tucker Balch, Manuela Veloso

AI总结:

本文提出FlowMind系统,利用LLM自动生成工作流,通过通用提示配方结合可靠API减少幻觉并保护数据机密性,并引入NCEN-QA金融数据集验证其有效性。

摘要:

快速发展的机器人流程自动化(RPA)领域在自动化重复流程方面取得了重大进展,但在需要用户要求的自发或不可预测任务的场景中,其有效性会降低。本文引入了一种新方法FlowMind,利用大型语言模型(LLM)的能力,如生成式预训练Transformer(GPT),来解决这一局限性并创建一个自动工作流生成系统。在FlowMind中,我们提出了一种通用的提示配方,用于帮助将LLM的推理基于可靠的应用程序编程接口(API)。通过这种方式,FlowMind不仅缓解了LLM中常见的幻觉问题,还消除了LLM与专有数据或代码之间的直接交互,从而确保了信息的完整性和机密性——这是金融服务中的基石。FlowMind进一步通过呈现自动生成工作流的高层描述来简化用户交互,使用户能够有效地检查并提供反馈。我们还引入了NCEN-QA,这是一个金融领域的新数据集,用于对来自基金N-CEN报告的问答任务进行基准测试。我们使用NCEN-QA评估了FlowMind生成的工作流相对于基线和FlowMind消融变体的性能。我们展示了FlowMind的成功,所提出的提示配方中每个组件的重要性,以及FlowMind中用户交互和反馈的有效性。

英文摘要:

The rapidly evolving field of Robotic Process Automation (RPA) has made significant strides in automating repetitive processes, yet its effectiveness diminishes in scenarios requiring spontaneous or unpredictable tasks demanded by users. This paper introduces a novel approach, FlowMind, leveraging the capabilities of Large Language Models (LLMs) such as Generative Pretrained Transformer (GPT), to address this limitation and create an automatic workflow generation system. In FlowMind, we propose a generic prompt recipe for a lecture that helps ground LLM reasoning with reliable Application Programming Interfaces (APIs). With this, FlowMind not only mitigates the common issue of hallucinations in LLMs, but also eliminates direct interaction between LLMs and proprietary data or code, thus ensuring the integrity and confidentiality of information - a cornerstone in financial services. FlowMind further simplifies user interaction by presenting high-level descriptions of auto-generated workflows, enabling users to inspect and provide feedback effectively. We also introduce NCEN-QA, a new dataset in finance for benchmarking question-answering tasks from N-CEN reports on funds. We used NCEN-QA to evaluate the performance of workflows generated by FlowMind against baseline and ablation variants of FlowMind. We demonstrate the success of FlowMind, the importance of each component in the proposed lecture recipe, and the effectiveness of user interaction and feedback in FlowMind.

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

↑