mlsanityData to 7 Oct 2026

Visual Programming for Text-to-Image Generation and Evaluation

arXiv 2305.15328 ↗First posted 24 May 2023cs.CV cs.AI cs.CLcited by 53

Not on the map. Why?

Abstract (arXiv)

As large language models have demonstrated impressive performance in many domains, recent works have adopted language models (LMs) as controllers of visual modules for vision-and-language tasks. While existing work focuses on equipping LMs with visual understanding, we propose two novel interpretable/explainable visual programming frameworks for text-to-image (T2I) generation and evaluation. First, we introduce VPGen, an interpretable step-by-step T2I generation framework that decomposes T2I generation into three steps: object/count generation, layout generation, and image generation. We employ an LM to handle the first two steps (object/count generation and layout generation), by finetuning it on text-layout pairs. Our step-by-step T2I generation framework provides stronger spatial control than end-to-end models, the dominant approach for this task. Furthermore, we leverage the world knowledge of pretrained LMs, overcoming the limitation of previous layout-guided T2I works that can only handle predefined object classes. We demonstrate that our VPGen has improved control in counts/spatial relations/scales of objects than state-of-the-art T2I generation models. Second, we introduce VPEval, an interpretable and explainable evaluation framework for T2I generation based on visual programming. Unlike previous T2I evaluations with a single scoring model that is accurate in some skills but unreliable in others, VPEval produces evaluation programs that invoke a set of visual modules that are experts in different skills, and also provides visual+textual explanations of the evaluation results. Our analysis shows that VPEval provides a more human-correlated evaluation for skill-specific and open-ended prompts than widely used single model-based evaluation. We hope that our work encourages future progress on interpretable/explainable generation and evaluation for T2I models.

Key facts. Cited by 53 papers in the map (data through 7 Oct 2026). Builds on 49 of its 68 references that are in the map. First posted on arXiv 24 May 2023.

Builds on

49 of 68 references.

References · 49

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  5. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  6. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  7. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  8. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  9. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  10. 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,005
  11. 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
  12. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,322
37 more
  1. 2023BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Modelscited by 6,069
  2. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
  3. 2022Generative Adversarial Networkscited by 5,603
  4. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  5. 2021Zero-Shot Text-to-Image Generationcited by 4,276
  6. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
  7. 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Modelscited by 3,595
  8. 2023Grounding DINO: Marrying DINO with Grounded Pre-Training for Open-Set Object Detectioncited by 3,274
  9. 2016Improved Techniques for Training GANscited by 2,938
  10. 2021Vision Transformers for Dense Predictioncited by 1,789
  11. 2015Flickr30k Entities: Collecting Region-to-Phrase Correspondences for Richer Image-to-Sentence Modelscited by 1,352
  12. 2022Scaling Autoregressive Models for Content-Rich Text-to-Image Generationcited by 1,287
  13. 2016SPICE: Semantic Propositional Image Caption Evaluationcited by 820
  14. 2023GLIGEN: Open-Set Grounded Text-to-Image Generationcited by 774
  15. 2021Vector Quantized Diffusion Model for Text-to-Image Synthesiscited by 773
  16. 2016Generative Adversarial Text to Image Synthesiscited by 735
  17. 2017AttnGAN: Fine-Grained Text to Image Generation with Attentional Generative Adversarial Networkscited by 664
  18. 2023Visual ChatGPT: Talking, Drawing and Editing with Visual Foundation Modelscited by 659
  19. 2023Muse: Text-To-Image Generation via Masked Generative Transformerscited by 640
  20. 2023ViperGPT: Visual Inference via Python Execution for Reasoningcited by 591
  21. 2023MM-REACT: Prompting ChatGPT for Multimodal Reasoning and Actioncited by 511
  22. 2022Visual Programming: Compositional visual reasoning without trainingcited by 507
  23. 2023TIFA: Accurate and Interpretable Text-to-Image Faithfulness Evaluation with Question Answeringcited by 416
  24. 2021Pix2seq: A Language Modeling Framework for Object Detectioncited by 345
  25. 2021An Empirical Study of GPT-3 for Few-Shot Knowledge-Based VQAcited by 298
  26. 2023TaskMatrix.AI: Completing Tasks by Connecting Foundation Models with Millions of APIscited by 184
  27. 2015Generating Images from Captions with Attentioncited by 135
  28. 2021UniTAB: Unifying Text and Box Outputs for Grounded Vision-Language Modelingcited by 122
  29. 2019Object-driven Text-to-Image Synthesis via Adversarial Trainingcited by 117
  30. 2016Learning What and Where to Drawcited by 105
  31. 2022PromptCap: Prompt-Guided Task-Aware Image Captioningcited by 104
  32. 2018Inferring Semantic Layout for Hierarchical Text-to-Image Synthesiscited by 101
  33. 2022Benchmarking Spatial Relationships in Text-to-Image Generationcited by 96
  34. 2019Semantic Object Accuracy for Generative Text-to-Image Synthesiscited by 89
  35. 2020X-LXMERT: Paint, Caption and Answer Questions with Multi-Modal Transformerscited by 58
  36. 2021Unifying Multimodal Transformer for Bi-directional Image and Text Generationcited by 41
  37. 2022Layout-Bridging Text-to-Image Synthesiscited by 9

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 18; 2024: 26; 2025: 6; 2026: 3.

53 papers.

Sort:

By area:

  1. 2024Evaluating Text-to-Visual Generation with Image-to-Text Generationcited by 465
  2. 2024ELLA: Equip Diffusion Models with LLM for Enhanced Semantic Alignmentcited by 455
  3. 2024T2V-CompBench: A Comprehensive Benchmark for Compositional Text-to-video Generationcited by 177
  4. 2024An Introduction to Vision-Language Modelingcited by 175
  5. 2023Grounded Text-to-Image Synthesis with Attention Refocusingcited by 163
  6. 2023Davidsonian Scene Graph: Improving Reliability in Fine-grained Evaluation for Text-to-Image Generationcited by 159
  7. 2023Rich Human Feedback for Text-to-Image Generationcited by 139
  8. 2023VideoDirectorGPT: Consistent Multi-scene Video Generation via LLM-Guided Planningcited by 138
  9. 2024GenAI-Bench: Evaluating and Improving Compositional Text-to-Visual Generationcited by 130
  10. 2023Branch-Solve-Merge Improves Large Language Model Evaluation and Generationcited by 104
  11. 2024Improving Text-to-Image Consistency via Automatic Prompt Optimizationcited by 88
  12. 2023Ranni: Taming Text-to-Image Diffusion for Accurate Instruction Followingcited by 77
38 more
  1. 2024If LLM Is the Wizard, Then Code Is the Wand: A Survey on How Code Empowers Large Language Models to Serve as Intelligent Agentscited by 77
  2. 2024MoReVQA: Exploring Modular Reasoning Models for Video Question Answeringcited by 74
  3. 2024Exploring the Frontier of Vision-Language Models: A Survey of Current Methodologies and Future Directionscited by 66
  4. 2023Revisiting the Role of Language Priors in Vision-Language Modelscited by 50
  5. 2024Towards A Better Metric for Text-to-Video Generationcited by 50
  6. 2023CLAIR: Evaluating Image Captions with Large Language Modelscited by 43
  7. 2024Open-Universe Indoor Scene Generation using LLM Program Synthesis and Uncurated Object Databasescited by 43
  8. 2023See, Say, and Segment: Teaching LMMs to Overcome False Premisescited by 40
  9. 2023Language Models as Black-Box Optimizers for Vision-Language Modelscited by 36
  10. 2024LLMs Meet Multimodal Generation and Editing: A Surveycited by 35
  11. 2024Token Merging for Training-Free Semantic Binding in Text-to-Image Synthesiscited by 35
  12. 2024ReGAL: Refactoring Programs to Discover Generalizable Abstractionscited by 32
  13. 2024Re-ReST: Reflection-Reinforced Self-Training for Language Agentscited by 29
  14. 2023DiagrammerGPT: Generating Open-Domain, Open-Platform Diagrams via LLM Planningcited by 28
  15. 2023A Survey of Diffusion Based Image Generation Models: Issues and Their Solutionscited by 23
  16. 2023Mismatch Quest: Visual and Textual Feedback for Image-Text Misalignmentcited by 18
  17. 2023DEsignBench: Exploring and Benchmarking DALL-E 3 for Imagining Visual Designcited by 17
  18. 2024SynArtifact: Classifying and Alleviating Artifacts in Synthetic Images via Vision-Language Modelcited by 15
  19. 2024SELMA: Learning and Merging Skill-Specific Text-to-Image Experts with Auto-Generated Datacited by 14
  20. 2023A Contrastive Compositional Benchmark for Text-to-Image Synthesis: A Study with Unified Text-to-Image Fidelity Metricscited by 12
  21. 2024Evaluating Numerical Reasoning in Text-to-Image Modelscited by 12
  22. 2024Discriminative Probing and Tuning for Text-to-Image Generationcited by 11
  23. 2024What makes a good metric? Evaluating automatic metrics for text-to-image consistencycited by 11
  24. 2024Story3D-Agent: Exploring 3D Storytelling Visualization with Large Language Modelscited by 9
  25. 2024Natural Language Inference Improves Compositionality in Vision-Language Modelscited by 8
  26. 2023Recursive Visual Programmingcited by 6
  27. 2023SelfEval: Leveraging the discriminative nature of generative models for evaluationcited by 5
  28. 2025LLM Code Customization with Visual Results: A Benchmark on TikZcited by 5
  29. 2024Evaluating Semantic Variation in Text-to-Image Synthesis: A Causal Perspectivecited by 4
  30. 2024GraPE: A Generate-Plan-Edit Framework for Compositional T2I Synthesiscited by 4
  31. 2024StarVid: Enhancing Semantic Alignment in Video Diffusion Models via Spatial and SynTactic Guided Attention Refocusingcited by 3
  32. 2024Improving Explicit Spatial Relationships in Text-to-Image Generation through an Automatically Derived Datasetcited by 2
  33. 2023Detailed Human-Centric Text Description-Driven Large Scene Synthesiscited by 1
  34. 2025TDRI: Two-Phase Dialogue Refinement and Co-Adaptation for Interactive Image Generationcited by 1
  35. 2025CoherenDream: Boosting Holistic Text Coherence in 3D Generation via Multimodal Large Language Models Feedbackcited by 1
  36. 2025A Two-Stage System for Layout-Controlled Image Generation using Large Language Models and Diffusion Modelscited by 1
  37. 2025Learning by Analogy: A Causal Framework for Composition Generalizationcited by 1
  38. 2026Self-Consistency for LLM-Based Motion Trajectory Generation and Verificationcited by 1

50 most cited of 53 All 53 (JSON)