DiagrammerGPT: Generating Open-Domain, Open-Platform Diagrams via LLM Planning
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 29 papers in the map (data through 14 Oct 2026). Builds on 35 of its 48 references that are in the map. First posted on arXiv 18 Oct 2023.
Builds on
35 of 48 references.
References · 35
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2023GPT-4 Technical Reportcited by 18,396
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,585
- 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,355
- 2023BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Modelscited by 6,137
- 2022Generative Adversarial Networkscited by 5,627
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
23 more
- 2023Improved Baselines with Visual Instruction Tuningcited by 4,418
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
- 2022Scaling Instruction-Finetuned Language Modelscited by 3,024
- 2021CLIPScore: A Reference-free Evaluation Metric for Image Captioningcited by 2,424
- 2014CIDEr: Consensus-based Image Description Evaluationcited by 2,046
- 2017Decoupled Weight Decay Regularizationcited by 1,831
- 2022Scaling Autoregressive Models for Content-Rich Text-to-Image Generationcited by 1,295
- 2023Teaching Large Language Models to Self-Debugcited by 988
- 2016A Diagram Is Worth A Dozen Imagescited by 804
- 2023GLIGEN: Open-Set Grounded Text-to-Image Generationcited by 781
- 2023Muse: Text-To-Image Generation via Masked Generative Transformerscited by 648
- 2023LayoutGPT: Compositional Visual Planning and Generation with Large Language Modelscited by 347
- 2023Emu: Enhancing Image Generation Models Using Photogenic Needles in a Haystackcited by 279
- 2023LLM-grounded Diffusion: Enhancing Prompt Understanding of Text-to-Image Diffusion Models with Large Language Modelscited by 243
- 2022DALL-Eval: Probing the Reasoning Skills and Social Biases of Text-to-Image Generation Modelscited by 230
- 2023TextDiffuser: Diffusion Models as Text Painterscited by 229
- 2023SelfCheck: Using LLMs to Zero-Shot Check Their Own Step-by-Step Reasoningcited by 159
- 2023VideoDirectorGPT: Consistent Multi-scene Video Generation via LLM-Guided Planningcited by 141
- 2018Inferring Semantic Layout for Hierarchical Text-to-Image Synthesiscited by 101
- 2022Character-Aware Models Improve Visual Text Renderingcited by 92
- 2019Semantic Object Accuracy for Generative Text-to-Image Synthesiscited by 89
- 2023AutomaTikZ: Text-Guided Synthesis of Scientific Vector Graphics with TikZcited by 79
- 2023Visual Programming for Text-to-Image Generation and Evaluationcited by 54
Built on by
Citing papers per year: 2024: 3; 2025: 13; 2026: 13.
29 papers.
Sort:
By area:
- 2025PlanGenLLMs: A Modern Survey of LLM Planning Capabilitiescited by 83
- 2025Transforming Science with Large Language Models: A Survey on AI-assisted Scientific Discovery, Experimentation, Content Generation, and Evaluationcited by 42
- 2025TikZero: Zero-Shot Text-Guided Graphics Program Synthesiscited by 24
- 2025BizGen: Advancing Article-level Visual Text Rendering for Infographics Generationcited by 20
- 2024SciDoc2Diagrammer-MAF: Towards Generation of Scientific Diagrams from Documents guided by Multi-Aspect Feedback Refinementcited by 15
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 15
- 2024Text-to-Image Synthesis: A Decade Surveycited by 9
- 2026Crafter: A Multi-Agent Harness for Editable Scientific Figure Generation from Diverse Inputscited by 9
- 2025DiagramEval: Evaluating LLM-Generated Diagrams via Graphscited by 8
- 2026SciFig: Towards Automating Editable Figure Generation for Scientific Paperscited by 8
- 2025Paper2SysArch: Structure-Constrained System Architecture Generation from Scientific Paperscited by 7
- 2025LLM Code Customization with Visual Results: A Benchmark on TikZcited by 5
17 more
- 2026Automatic Method Illustration Generation for AI Scientific Papers via Drawing Middleware Creation, Evolution, and Orchestrationcited by 5
- 2024Multimodal Methods for Analyzing Learning and Training Environments: A Systematic Literature Reviewcited by 4
- 2025Textual-to-Visual Iterative Self-Verification for Slide Generationcited by 4
- 2025Exploring MLLM-Diffusion Information Transfer with MetaCanvascited by 4
- 2025GeoLoom: High-quality Geometric Diagram Generation from Textual Inputcited by 2
- 2026GenAI-DrawIO-Creator: A Framework for Automated Diagram Generationcited by 2
- 2025LegalViz: Legal Text Visualization by Text To Diagram Generationcited by 1
- 2026DrawSim-PD: Simulating Student Science Drawings to Support NGSS-Aligned Teacher Diagnostic Reasoningcited by 1
- 2026SciForma: Structure-Faithful Generation of Scientific Diagramscited by 1
- 2026PPTBench: Can Coding Agents Reconstruct the Visual World through Structured, Editable Slidescited by 1
- 2025Instruction-Tuning Open-Weight Language Models for BPMN Model Generationcited by 0
- 2026DiagramBank: A Quality-Audited Dataset of Scientific Schematic Diagrams with Multi-Level Document Contextcited by 0
- 2026On the Limitations of Large Language Models for Conceptual Database Modelingcited by 0
- 2026See Before You Code: Learning Visual Priors for Spatially Aware Educational Animation Generationcited by 0
- 2026DiagramRAG: A Lightweight Framework to Retrieve Scientific Diagram for Figure Generationcited by 0
- 2026Back2Struct: Making Structured Images Editable Againcited by 0
- 2026One Figure, Every Canvas: Editable Flowchart Relayout via Agentic Pipelinecited by 0
- 2026One Figure, Every Canvas: Editable Flowchart Relayout via Agentic Pipeline5 Oct 2026
- 2026Back2Struct: Making Structured Images Editable Again29 Sep 2026
- 2026PPTBench: Can Coding Agents Reconstruct the Visual World through Structured, Editable Slides31 Aug 2026
- 2026SciForma: Structure-Faithful Generation of Scientific Diagrams20 Jul 2026
- 2026Crafter: A Multi-Agent Harness for Editable Scientific Figure Generation from Diverse Inputs28 May 2026
- 2026DiagramRAG: A Lightweight Framework to Retrieve Scientific Diagram for Figure Generation27 May 2026
- 2026See Before You Code: Learning Visual Priors for Spatially Aware Educational Animation Generation15 May 2026
- 2026On the Limitations of Large Language Models for Conceptual Database Modeling12 May 2026
- 2026DiagramBank: A Quality-Audited Dataset of Scientific Schematic Diagrams with Multi-Level Document Context28 Feb 2026
- 2026Automatic Method Illustration Generation for AI Scientific Papers via Drawing Middleware Creation, Evolution, and Orchestration6 Feb 2026
- 2026DrawSim-PD: Simulating Student Science Drawings to Support NGSS-Aligned Teacher Diagnostic Reasoning2 Feb 2026
- 2026GenAI-DrawIO-Creator: A Framework for Automated Diagram Generation8 Jan 2026
17 more
- 2026SciFig: Towards Automating Editable Figure Generation for Scientific Papers7 Jan 2026
- 2025Instruction-Tuning Open-Weight Language Models for BPMN Model Generation12 Dec 2025
- 2025Exploring MLLM-Diffusion Information Transfer with MetaCanvas12 Dec 2025
- 2025GeoLoom: High-quality Geometric Diagram Generation from Textual Input9 Dec 2025
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligence23 Nov 2025
- 2025Paper2SysArch: Structure-Constrained System Architecture Generation from Scientific Papers22 Nov 2025
- 2025DiagramEval: Evaluating LLM-Generated Diagrams via Graphs29 Oct 2025
- 2025LLM Code Customization with Visual Results: A Benchmark on TikZ7 May 2025
- 2025BizGen: Advancing Article-level Visual Text Rendering for Infographics Generation26 Mar 2025
- 2025TikZero: Zero-Shot Text-Guided Graphics Program Synthesis14 Mar 2025
- 2025Textual-to-Visual Iterative Self-Verification for Slide Generation21 Feb 2025
- 2025PlanGenLLMs: A Modern Survey of LLM Planning Capabilities16 Feb 2025
- 2025LegalViz: Legal Text Visualization by Text To Diagram Generation10 Feb 2025
- 2025Transforming Science with Large Language Models: A Survey on AI-assisted Scientific Discovery, Experimentation, Content Generation, and Evaluation7 Feb 2025
- 2024Text-to-Image Synthesis: A Decade Survey25 Nov 2024
- 2024SciDoc2Diagrammer-MAF: Towards Generation of Scientific Diagrams from Documents guided by Multi-Aspect Feedback Refinement28 Sep 2024
- 2024Multimodal Methods for Analyzing Learning and Training Environments: A Systematic Literature Review22 Aug 2024
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 15
- 2026PPTBench: Can Coding Agents Reconstruct the Visual World through Structured, Editable Slidescited by 1
- 2026One Figure, Every Canvas: Editable Flowchart Relayout via Agentic Pipelinecited by 0
- 2026One Figure, Every Canvas: Editable Flowchart Relayout via Agentic Pipeline5 Oct 2026
- 2026PPTBench: Can Coding Agents Reconstruct the Visual World through Structured, Editable Slides31 Aug 2026
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligence23 Nov 2025
- 2025PlanGenLLMs: A Modern Survey of LLM Planning Capabilitiescited by 83
- 2025TikZero: Zero-Shot Text-Guided Graphics Program Synthesiscited by 24
- 2025BizGen: Advancing Article-level Visual Text Rendering for Infographics Generationcited by 20
- 2024SciDoc2Diagrammer-MAF: Towards Generation of Scientific Diagrams from Documents guided by Multi-Aspect Feedback Refinementcited by 15
- 2024Text-to-Image Synthesis: A Decade Surveycited by 9
- 2026Crafter: A Multi-Agent Harness for Editable Scientific Figure Generation from Diverse Inputscited by 9
- 2025DiagramEval: Evaluating LLM-Generated Diagrams via Graphscited by 8
- 2026SciFig: Towards Automating Editable Figure Generation for Scientific Paperscited by 8
- 2025Paper2SysArch: Structure-Constrained System Architecture Generation from Scientific Paperscited by 7
- 2025LLM Code Customization with Visual Results: A Benchmark on TikZcited by 5
- 2026Automatic Method Illustration Generation for AI Scientific Papers via Drawing Middleware Creation, Evolution, and Orchestrationcited by 5
- 2024Multimodal Methods for Analyzing Learning and Training Environments: A Systematic Literature Reviewcited by 4
12 most cited of 24 All 24 (JSON)
- 2026Back2Struct: Making Structured Images Editable Again29 Sep 2026
- 2026SciForma: Structure-Faithful Generation of Scientific Diagrams20 Jul 2026
- 2026Crafter: A Multi-Agent Harness for Editable Scientific Figure Generation from Diverse Inputs28 May 2026
- 2026DiagramRAG: A Lightweight Framework to Retrieve Scientific Diagram for Figure Generation27 May 2026
- 2026See Before You Code: Learning Visual Priors for Spatially Aware Educational Animation Generation15 May 2026
- 2026On the Limitations of Large Language Models for Conceptual Database Modeling12 May 2026
- 2026DiagramBank: A Quality-Audited Dataset of Scientific Schematic Diagrams with Multi-Level Document Context28 Feb 2026
- 2026Automatic Method Illustration Generation for AI Scientific Papers via Drawing Middleware Creation, Evolution, and Orchestration6 Feb 2026
- 2026DrawSim-PD: Simulating Student Science Drawings to Support NGSS-Aligned Teacher Diagnostic Reasoning2 Feb 2026
- 2026GenAI-DrawIO-Creator: A Framework for Automated Diagram Generation8 Jan 2026
- 2026SciFig: Towards Automating Editable Figure Generation for Scientific Papers7 Jan 2026
- 2025Instruction-Tuning Open-Weight Language Models for BPMN Model Generation12 Dec 2025
12 newest of 24 All 24 (JSON)