paper-with-me

Papers

Symbolic Graphics Programming with Large Language Models

2025-09-05 · Yamei Chen, Haoquan Zhang, Yangyi Huang, Zeju Qiu, Kaipeng Zhang, Yandong Wen, Weiyang Liu 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.

📄 PDF Abstract BibTeX arXiv:2509.05208

Code (0)

등록된 구현이 없습니다.

Tasks

Reinforcement LearningProgram Synthesis

Similar Papers 제목 키워드 기반

Can Large Language Models Understand Symbolic Graphics Programs?

2024-08-15 · Zeju Qiu, Weiyang Liu, Haiwen Feng, Zhen Liu 외

Against the backdrop of enthusiasm for large language models (LLMs), there is an urgent need to scientifically assess their capabilities and shortcomings. This is nontrivial in part because it is difficult to find tasks …

Instruction FollowingProgram Synthesis

Improved Logical Reasoning of Language Models via Differentiable Symbolic Programming

2023-05-05 · HANLIN ZHANG, Jiani Huang, Ziyang Li, Mayur Naik 외

Pre-trained large language models (LMs) struggle to perform logical reasoning reliably despite advances in scale and compositionality. In this work, we tackle this challenge through the lens of symbolic programming. We p…

Logical Reasoning

Current Practices for Building LLM-Powered Reasoning Tools Are Ad Hoc -- and We Can Do Better

2025-07-08 · Aaron Bembenek arxiv

There is growing excitement about building software verifiers, synthesizers, and other Automated Reasoning (AR) tools by combining traditional symbolic algorithms and Large Language Models (LLMs). Unfortunately, the curr…

Logical Reasoning

From Tool Calling to Symbolic Thinking: LLMs in a Persistent Lisp Metaprogramming Loop

2025-06-08 · Jordi de la Torre

We propose a novel architecture for integrating large language models (LLMs) with a persistent, interactive Lisp environment. This setup enables LLMs to define, invoke, and evolve their own tools through programmatic int…

Text Generation

Neurosymbolic Methods for Rule Mining

2024-08-11 · Agnieszka Lawrynowicz, Luis Galarraga, Mehwish Alam, Berenice Jaulmes 외

In this chapter, we address the problem of rule mining, beginning with essential background information, including measures of rule quality. We then explore various rule mining methodologies, categorized into three group…

Inductive logic programming