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

DiagrammerGPT:通过大语言模型规划生成开放领域、跨平台的图表

DiagrammerGPT: Generating Open-Domain, Open-Platform Diagrams via LLM Planning

UNC Chapel Hill(北卡罗来纳大学教堂山分校)

Abhay Zala, Han Lin, Jaemin Cho, Mohit Bansal

AI总结:

针对现有文本生成图像模型难以生成布局复杂、带清晰文本标签的图表的问题,提出两阶段框架DiagrammerGPT,结合大语言模型规划与专用生成渲染模块,还构建了基准数据集AI2D-Caption,性能优于现有模型。

摘要:

文本生成图像(T2I)技术在过去几年中取得了显著发展。尽管如此,针对T2I模型生成图表的研究仍然很少。图表是一种符号化/示意性的表示形式,通过结构丰富、空间复杂的可视化方式(例如相关对象、文本标签、方向箭头/线条等的密集组合)来解释信息。现有的最先进T2I模型在图表生成任务上通常表现不佳,因为当大量对象通过箭头/线条等复杂关系密集连接时,模型缺乏细粒度的对象布局控制能力,同时也常常无法渲染出可理解的文本标签。为弥补这一研究空白,我们提出了DiagrammerGPT,这是一种新颖的两阶段文本生成图表框架,利用大语言模型(LLM)的布局规划能力生成更准确的图表。第一阶段,我们使用LLM生成并迭代优化“图表规划”(通过规划器-审核器反馈循环实现)。第二阶段,我们使用图表生成器DiagramGLIGEN和文本标签渲染模块,按照图表规划生成带有清晰文本标签的图表。为了给文本生成图表任务提供基准测试,我们构建了AI2D-Caption,这是一个在AI2D数据集基础上构建的密集标注图表数据集。实验表明,我们的DiagrammerGPT框架能生成更准确的图表,性能优于现有T2I模型。我们还开展了全面分析,涵盖开放领域图表生成、多平台矢量图形图表生成、人机协同编辑以及多模态规划器/审核器LLM等方面。

英文摘要:

Text-to-image (T2I) generation has seen significant growth over the past few years. Despite this, there has been little work on generating diagrams with T2I models. A diagram is a symbolic/schematic representation that explains information using structurally rich and spatially complex visualizations (e.g., a dense combination of related objects, text labels, directional arrows/lines, etc.). Existing state-of-the-art T2I models often fail at diagram generation because they lack fine-grained object layout control when many objects are densely connected via complex relations such as arrows/lines, and also often fail to render comprehensible text labels. To address this gap, we present DiagrammerGPT, a novel two-stage text-to-diagram generation framework leveraging the layout guidance capabilities of LLMs to generate more accurate diagrams. In the first stage, we use LLMs to generate and iteratively refine 'diagram plans' (in a planner-auditor feedback loop). In the second stage, we use a diagram generator, DiagramGLIGEN, and a text label rendering module to generate diagrams (with clear text labels) following the diagram plans. To benchmark the text-to-diagram generation task, we introduce AI2D-Caption, a densely annotated diagram dataset built on top of the AI2D dataset. We show that our DiagrammerGPT framework produces more accurate diagrams, outperforming existing T2I models. We also provide comprehensive analysis, including open-domain diagram generation, multi-platform vector graphic diagram generation, human-in-the-loop editing, and multimodal planner/auditor LLMs.

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

↑