atlas

Research map / Large language models / Agents, code and math

Can Large Language Models Understand Symbolic Graphics Programs?

ICLR 2025 · Large language models › Agents, code and math · approach: Mathematical and structural reasoning benchmarks · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces SGP-Bench, a procedurally built benchmark testing whether LLMs can answer semantic questions about SVG and CAD programs without seeing rendered images, and proposes Symbolic Instruction Tuning (SIT) on GPT-4o-captioned renderings, which improves both program understanding and some general reasoning benchmarks.

Problem

Whether LLMs can semantically understand symbolic graphics programs (SVG, CAD) and answer questions about their rendered images using only the program text, without a vision encoder.

Approach

Generate multiple-choice semantic questions from rendered images with GPT-4o, then pose them to LLMs with only the symbolic program as input; add SE(2)-perturbed programs to test consistency; and finetune LLMs on GPT-4o detailed captions of renderings (Symbolic Instruction Tuning).

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Increase model size from 8B to 70BLlama-3 · SGP-Bench SVG Understandingaccuracy: 0.429 to 0.548Helped
Increase model size from 7B to 110BQwen-1.5 · SGP-Bench SVG Understandingaccuracy: 0.376 to 0.499Helped
Fine-tune with 55K original SIT instruction question-answer pairsLlama-3.1-8B · SGP-Bench SVG Understandingaccuracy: 46.7% to 51.4%Helped
Increase SIT dataset size from 10K to 55K (ablation)Llama-3.1-8B · SGP-Bench SVG Understandingaccuracy: 48.0 to 51.4Helped
Use SIT-10k data (ablation)Llama3-8B · SGP-Bench SVG Understandingaccuracy: 43.20 -> 48.16Helped
Use SIT-25k data (ablation)Llama3-8B · SGP-Bench SVG Understandingaccuracy: 43.20 -> 51.43Helped
Use SIT-40k data (ablation)Llama3-8B · SGP-Bench SVG Understandingaccuracy: 43.20 -> 45.62Helped
Use SIT-55k data (ablation)Llama3-8B · SGP-Bench SVG Understandingaccuracy: 43.20 -> 40.99Hurt
Use SIT-10k data (ablation)Gemma-7B · SGP-Bench SVG Understandingaccuracy: 39.33 -> 45.60Helped
Use SIT-25k data (ablation)Gemma-7B · SGP-Bench SVG Understandingaccuracy: 39.33 -> 46.87Helped
Use SIT-40k data (ablation)Gemma-7B · SGP-Bench SVG Understandingaccuracy: 39.33 -> 45.21Helped
Use SIT-55k data (ablation)Gemma-7B · SGP-Bench SVG Understandingaccuracy: 39.33 -> 47.28Helped

Surprising findings

Limitations

Experimental setup

Datasets: SVG Icons (Kaggle) DeepCAD Fusion360 Reconstruction Dataset SketchGraphs MNIST-SVG Open-Instruct

Benchmarks: SGP-Bench (SVG understanding) SGP-Bench (SVG invariance) SGP-Bench (CAD) SGP-MNIST XNLI IFEval HellaSwag C-Eval MMLU BBH GSM8k MathQA

Metrics: accuracy consistency score

Baselines: GPT-4o GPT-4 Turbo GPT-3.5 Turbo Claude 3.5 Sonnet Llama3.1-405B Open-Instruct (OI)

Builds on: visual instruction tuning Alpaca LoRA orthogonal finetuning

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy