ComfyGPT:一个用于全面 ComfyUI 工作流生成的自我优化多智能体系统
ComfyGPT: A Self-Optimizing Multi-Agent System for Comprehensive ComfyUI Workflow Generation
AI总结:
本文提出自我优化多智能体系统 ComfyGPT,通过四个专门智能体、专注节点连接生成及强化学习自动生成 ComfyUI 工作流,并引入 FlowDataset 数据集、FlowBench 基准与四项新评估指标,显著优于现有 LLM 方法。
摘要:
ComfyUI 是一个流行的基于工作流的界面,允许用户通过直观的节点系统自定义图像生成任务。然而,管理节点连接和多样化模块的复杂性对用户来说可能具有挑战性。在本文中,我们介绍了 ComfyGPT,这是一个自我优化的多智能体系统,旨在根据任务描述自动生成 ComfyUI 工作流。ComfyGPT 的关键创新包括:(1)由四个专门的智能体组成以构建多智能体工作流生成系统:ReformatAgent、FlowAgent、RefineAgent 和 ExecuteAgent;(2)专注于生成精确的节点连接而不是整个工作流,从而提高生成准确性;(3)通过强化学习增强工作流生成。此外,我们引入了 FlowDataset,这是一个包含 13,571 个工作流-描述对的大规模数据集,以及 FlowBench,一个用于评估工作流生成系统的综合基准。另外,我们提出了四个新的评估指标:格式验证(FV)、通过准确率(PA)、通过指令对齐(PIA)和通过节点多样性(PND)。实验结果表明,ComfyGPT 在工作流生成方面显著优于现有的基于 LLM 的方法,使其成为该领域的重要进步。代码可在 https://github.com/comfygpt/comfygpt 获取。
英文摘要:
ComfyUI is a popular workflow-based interface that allows users to customize image generation tasks through an intuitive node-based system. However, the complexity of managing node connections and diverse modules can be challenging for users. In this paper, we introduce ComfyGPT, a self-optimizing multi-agent system designed to generate ComfyUI workflows based on task descriptions automatically. The key innovations of ComfyGPT include: (1) consisting of four specialized agents to build a multi-agent workflow generation system: ReformatAgent, FlowAgent, RefineAgent, and ExecuteAgent; (2) focusing on generating precise node connections instead of entire workflows, improving generation accuracy; and (3) enhancing workflow generation through reinforcement learning. Moreover, we introduce FlowDataset, a large-scale dataset containing 13,571 workflow-description pairs, and FlowBench, a comprehensive benchmark for evaluating workflow generation systems. Additionally, we propose four novel evaluation metrics: Format Validation (FV), Pass Accuracy (PA), Pass Instruct Alignment (PIA), and Pass Node Diversity (PND). Experimental results demonstrate that ComfyGPT significantly outperforms existing LLM-based methods in workflow generation, making it a significant step forward in this field. Code is avaliable at https://github.com/comfygpt/comfygpt.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。