paper-with-me

Papers

Visual Programming for Text-to-Image Generation and Evaluation

2023-05-24 · Jaemin Cho, Abhay Zala, Mohit Bansal

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.

📄 PDF Abstract BibTeX arXiv:2305.15328

Code (0)

등록된 구현이 없습니다.

Tasks

Image GenerationLayout GenerationText to Image GenerationText-to-Image GenerationWorld Knowledge

Similar Papers 제목 키워드 기반

Visual Programming for Step-by-Step Text-to-Image Generation and Evaluation

2023-09-21 · NeurIPS 2023 11

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 focus…

ScratchEval: Are GPT-4o Smarter than My Child? Evaluating Large Multimodal Models with Visual Programming Challenges

2024-11-28 · Rao Fu, Ziyang Luo, Hongzhan Lin, Zhen Ye 외

Recent advancements in large multimodal models (LMMs) have showcased impressive code generation capabilities, primarily evaluated through image-to-code benchmarks. However, these benchmarks are limited to specific visual…

Code Generation

CodeMMR: Bridging Natural Language, Code, and Image for Unified Retrieval

2026-04-17 · Jiahui Geng, Qing Li, Fengyu Cai, Fakhri Karray arxiv

Code search, framed as information retrieval (IR), underpins modern software engineering and increasingly powers retrieval-augmented generation (RAG), improving code discovery, reuse, and the reliability of LLM-based cod…

Information RetrievalVisual GroundingCode GenerationCode Search

Multilingual Multimodal Software Developer for Code Generation

2025-07-11 · Linzheng Chai, Jian Yang, Shukai Liu, Wei zhang 외

The rapid advancement of Large Language Models (LLMs) has significantly improved code generation, yet most models remain text-only, neglecting crucial visual aids like diagrams and flowcharts used in real-world software …

Code GenerationInstruction Following

Benchmarking LLM Code Generation for Audio Programming with Visual Dataflow Languages

2024-09-01 · William Zhang, Maria Leon, Ryan Xu, Adrian Cardenas 외

Node-based programming languages are increasingly popular in media arts coding domains. These languages are designed to be accessible to users with limited coding experience, allowing them to achieve creative output with…

BenchmarkingCode Generation