mlsanityData to 14 Oct 2026

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

arXiv 2310.12128 ↗First posted 18 Oct 2023cs.CV cs.AI cs.CLcited by 29

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

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  4. 2023GPT-4 Technical Reportcited by 18,396
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  6. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  7. 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,585
  8. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,355
  9. 2023BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Modelscited by 6,137
  10. 2022Generative Adversarial Networkscited by 5,627
  11. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
  12. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
23 more
  1. 2023Improved Baselines with Visual Instruction Tuningcited by 4,418
  2. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
  3. 2022Scaling Instruction-Finetuned Language Modelscited by 3,024
  4. 2021CLIPScore: A Reference-free Evaluation Metric for Image Captioningcited by 2,424
  5. 2014CIDEr: Consensus-based Image Description Evaluationcited by 2,046
  6. 2017Decoupled Weight Decay Regularizationcited by 1,831
  7. 2022Scaling Autoregressive Models for Content-Rich Text-to-Image Generationcited by 1,295
  8. 2023Teaching Large Language Models to Self-Debugcited by 988
  9. 2016A Diagram Is Worth A Dozen Imagescited by 804
  10. 2023GLIGEN: Open-Set Grounded Text-to-Image Generationcited by 781
  11. 2023Muse: Text-To-Image Generation via Masked Generative Transformerscited by 648
  12. 2023LayoutGPT: Compositional Visual Planning and Generation with Large Language Modelscited by 347
  13. 2023Emu: Enhancing Image Generation Models Using Photogenic Needles in a Haystackcited by 279
  14. 2023LLM-grounded Diffusion: Enhancing Prompt Understanding of Text-to-Image Diffusion Models with Large Language Modelscited by 243
  15. 2022DALL-Eval: Probing the Reasoning Skills and Social Biases of Text-to-Image Generation Modelscited by 230
  16. 2023TextDiffuser: Diffusion Models as Text Painterscited by 229
  17. 2023SelfCheck: Using LLMs to Zero-Shot Check Their Own Step-by-Step Reasoningcited by 159
  18. 2023VideoDirectorGPT: Consistent Multi-scene Video Generation via LLM-Guided Planningcited by 141
  19. 2018Inferring Semantic Layout for Hierarchical Text-to-Image Synthesiscited by 101
  20. 2022Character-Aware Models Improve Visual Text Renderingcited by 92
  21. 2019Semantic Object Accuracy for Generative Text-to-Image Synthesiscited by 89
  22. 2023AutomaTikZ: Text-Guided Synthesis of Scientific Vector Graphics with TikZcited by 79
  23. 2023Visual Programming for Text-to-Image Generation and Evaluationcited by 54

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 3; 2025: 13; 2026: 13.

29 papers.

Sort:

By area:

  1. 2025PlanGenLLMs: A Modern Survey of LLM Planning Capabilitiescited by 83
  2. 2025Transforming Science with Large Language Models: A Survey on AI-assisted Scientific Discovery, Experimentation, Content Generation, and Evaluationcited by 42
  3. 2025TikZero: Zero-Shot Text-Guided Graphics Program Synthesiscited by 24
  4. 2025BizGen: Advancing Article-level Visual Text Rendering for Infographics Generationcited by 20
  5. 2024SciDoc2Diagrammer-MAF: Towards Generation of Scientific Diagrams from Documents guided by Multi-Aspect Feedback Refinementcited by 15
  6. 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 15
  7. 2024Text-to-Image Synthesis: A Decade Surveycited by 9
  8. 2026Crafter: A Multi-Agent Harness for Editable Scientific Figure Generation from Diverse Inputscited by 9
  9. 2025DiagramEval: Evaluating LLM-Generated Diagrams via Graphscited by 8
  10. 2026SciFig: Towards Automating Editable Figure Generation for Scientific Paperscited by 8
  11. 2025Paper2SysArch: Structure-Constrained System Architecture Generation from Scientific Paperscited by 7
  12. 2025LLM Code Customization with Visual Results: A Benchmark on TikZcited by 5
17 more
  1. 2026Automatic Method Illustration Generation for AI Scientific Papers via Drawing Middleware Creation, Evolution, and Orchestrationcited by 5
  2. 2024Multimodal Methods for Analyzing Learning and Training Environments: A Systematic Literature Reviewcited by 4
  3. 2025Textual-to-Visual Iterative Self-Verification for Slide Generationcited by 4
  4. 2025Exploring MLLM-Diffusion Information Transfer with MetaCanvascited by 4
  5. 2025GeoLoom: High-quality Geometric Diagram Generation from Textual Inputcited by 2
  6. 2026GenAI-DrawIO-Creator: A Framework for Automated Diagram Generationcited by 2
  7. 2025LegalViz: Legal Text Visualization by Text To Diagram Generationcited by 1
  8. 2026DrawSim-PD: Simulating Student Science Drawings to Support NGSS-Aligned Teacher Diagnostic Reasoningcited by 1
  9. 2026SciForma: Structure-Faithful Generation of Scientific Diagramscited by 1
  10. 2026PPTBench: Can Coding Agents Reconstruct the Visual World through Structured, Editable Slidescited by 1
  11. 2025Instruction-Tuning Open-Weight Language Models for BPMN Model Generationcited by 0
  12. 2026DiagramBank: A Quality-Audited Dataset of Scientific Schematic Diagrams with Multi-Level Document Contextcited by 0
  13. 2026On the Limitations of Large Language Models for Conceptual Database Modelingcited by 0
  14. 2026See Before You Code: Learning Visual Priors for Spatially Aware Educational Animation Generationcited by 0
  15. 2026DiagramRAG: A Lightweight Framework to Retrieve Scientific Diagram for Figure Generationcited by 0
  16. 2026Back2Struct: Making Structured Images Editable Againcited by 0
  17. 2026One Figure, Every Canvas: Editable Flowchart Relayout via Agentic Pipelinecited by 0