Symbolic Graphics Programming with Large Language Models
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) excel at program synthesis, yet their ability to produce symbolic graphics programs (SGPs) that render into precise visual content remains underexplored. We study symbolic graphics programming, where the goal is to generate an SGP from a natural-language description. This task also serves as a lens into how LLMs understand the visual world by prompting them to generate images rendered from SGPs. Among various SGPs, our paper sticks to scalable vector graphics (SVGs). We begin by examining the extent to which LLMs can generate SGPs. To this end, we introduce SGP-GenBench, a comprehensive benchmark covering object fidelity, scene fidelity, and compositionality (attribute binding, spatial relations, numeracy). On SGP-GenBench, we discover that frontier proprietary models substantially outperform open-source models, and performance correlates well with general coding capabilities. Motivated by this gap, we aim to improve LLMs' ability to generate SGPs. We propose a reinforcement learning (RL) with verifiable rewards approach, where a format-validity gate ensures renderable SVG, and a cross-modal reward aligns text and the rendered image via strong vision encoders (e.g., SigLIP for text-image and DINO for image-image). Applied to Qwen-2.5-7B, our method substantially improves SVG generation quality and semantics, achieving performance on par with frontier systems. We further analyze training dynamics, showing that RL induces (i) finer decomposition of objects into controllable primitives and (ii) contextual details that improve scene coherence. Our results demonstrate that symbolic graphics programming offers a precise and interpretable lens on cross-modal grounding.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 45 of its 49 references that are in the map. First posted on arXiv 5 Sep 2025.
Builds on
45 of 49 references.
References · 45
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2017Proximal Policy Optimization Algorithmscited by 15,215
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,974
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2023Sigmoid Loss for Language Image Pre-Trainingcited by 3,109
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 3,050
- 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,810
- 2019Fine-Tuning Language Models from Human Preferencescited by 2,150
- 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,807
33 more
- 2023ImageReward: Learning and Evaluating Human Preferences for Text-to-Image Generationcited by 1,045
- 2025Qwen-Image Technical Reportcited by 1,044
- 2025Does Reinforcement Learning Really Incentivize Reasoning Capacity in LLMs Beyond the Base Model?cited by 982
- 2023GenEval: An Object-Focused Framework for Evaluating Text-to-Image Alignmentcited by 972
- 2023Human Preference Score v2: A Solid Benchmark for Evaluating Human Preferences of Text-to-Image Synthesiscited by 890
- 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 885
- 2023RLAIF vs. RLHF: Scaling Reinforcement Learning from Human Feedback with AI Feedbackcited by 625
- 2023TIFA: Accurate and Interpretable Text-to-Image Faithfulness Evaluation with Question Answeringcited by 428
- 2022CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learningcited by 358
- 2023Human Preference Score: Better Aligning Text-to-Image Models with Human Preferencecited by 287
- 2023T2I-CompBench++: An Enhanced and Comprehensive Benchmark for Compositional Text-to-image Generationcited by 260
- 2024WebRL: Training LLM Web Agents via Self-Evolving Online Curriculum Reinforcement Learningcited by 256
- 2022mPLUG: Effective and Efficient Vision-Language Learning by Cross-modal Skip-connectionscited by 187
- 2025WebAgent-R1: Training Web Agents via End-to-End Multi-Turn Reinforcement Learningcited by 165
- 2020DeepSVG: A Hierarchical Generative Network for Vector Graphics Animationcited by 159
- 2024RLEF: Grounding Code LLMs in Execution Feedback with Reinforcement Learningcited by 151
- 2021Im2Vec: Synthesizing Vector Graphics without Vector Supervisioncited by 116
- 2022VectorFusion: Text-to-SVG by Abstracting Pixel-Based Diffusion Modelscited by 112
- 2023StarVector: Generating Scalable Vector Graphics Code from Images and Textcited by 102
- 2019A Learned Representation for Scalable Vector Graphicscited by 91
- 2023SVGDreamer: Text Guided SVG Generation with Diffusion Modelcited by 76
- 2023IconShop: Text-Guided Vector Icon Synthesis with Autoregressive Transformerscited by 75
- 2025OmniSVG: A Unified Scalable Vector Graphics Generation Modelcited by 74
- 2024Empowering LLMs to Understand and Generate Complex Vector Graphicscited by 66
- 2025Rendering-Aware Reinforcement Learning for Vector Graphics Generationcited by 39
- 2024Chat2SVG: Vector Graphics Generation with Large Language Models and Image Diffusion Modelscited by 38
- 2024Can Large Language Models Understand Symbolic Graphics Programs?cited by 35
- 2024SVGEditBench: A Benchmark Dataset for Quantitative Assessment of LLM's SVG Editing Capabilitiescited by 26
- 2025NeuralSVG: An Implicit Representation for Text-to-Vector Generationcited by 17
- 2025SVGEditBench V2: A Benchmark for Instruction-based SVG Editingcited by 11
- 2025Reason-SVG: Enhancing Structured Reasoning for Vector Graphics Generation with Reinforcement Learningcited by 8
- 2022Conditional Vector Graphics Generation for Music Cover Imagescited by 5
- 2023Automatic Unit Test Data Generation and Actor-Critic Reinforcement Learning for Code Synthesiscited by 4
Built on by
Citing papers per year: 2025: 1; 2026: 6.
7 papers.
- 2025JanusCoder: Towards a Foundational Visual-Programmatic Interface for Code Intelligencecited by 9
- 2026EZBlender: Efficient 3D Editing with Plan-and-ReAct Agentcited by 4
- 2026Deltaynamics: Language-Based Representation for Inferring Rigid-Body Dynamics From Videoscited by 3
- 2026Group Pattern Selection Optimization: Let LRMs Pick the Right Pattern for Reasoningcited by 1
- 2026Sample-Efficient Post-Training for LEGO Spatial-Physics Reasoningcited by 1
- 2026Autoregressive Mosaics: Probing 2D Spatial Reasoning in Text-Only Language Modelscited by 0
- 2026PrismaCoder: Pushing the Boundaries of Open Multimodal Code Intelligence through Decomposed Rubric Synthesiscited by 0
- 2026PrismaCoder: Pushing the Boundaries of Open Multimodal Code Intelligence through Decomposed Rubric Synthesis14 Oct 2026
- 2026Autoregressive Mosaics: Probing 2D Spatial Reasoning in Text-Only Language Models31 Aug 2026
- 2026Sample-Efficient Post-Training for LEGO Spatial-Physics Reasoning29 May 2026
- 2026Deltaynamics: Language-Based Representation for Inferring Rigid-Body Dynamics From Videos20 May 2026
- 2026Group Pattern Selection Optimization: Let LRMs Pick the Right Pattern for Reasoning12 Jan 2026
- 2026EZBlender: Efficient 3D Editing with Plan-and-ReAct Agent12 Jan 2026
- 2025JanusCoder: Towards a Foundational Visual-Programmatic Interface for Code Intelligence27 Oct 2025
Similar, not cited
Close in wording, no citation either way
- 2026Render-in-the-Loop: Vector Graphics Generation via Visual Self-Feedback
- 2025SVGThinker: Instruction-Aligned and Reasoning-Driven Text-to-SVG Generation
- 2024VGBench: Evaluating Large Language Models on Vector Graphics Understanding and Generation
- 2025SVGen: Interpretable Vector Graphics Generation with Large Language Models
- 2025VCode: a Multimodal Coding Benchmark with SVG as Symbolic Visual Representation
- 2026VectorGym: A Multi-Task Benchmark for SVG Code Generation, Sketching and Editing
- 2026Reinforcement Learning from Intermediate Renders for Image-to-Code Generation
- 2024Visually Descriptive Language Model for Vector Graphics Reasoning