atlas

Research map / Large language models / Instruction and fine-tuning

Empowering LLMs to Understand and Generate Complex Vector Graphics

CVPR 2025 · Large language models › Instruction and fine-tuning · approach: Calibration and knowledge in LLM tuning · 10 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 LLM4SVG, which adds 55 learnable SVG semantic tokens to pretrained LLMs and fine-tunes them on the 580k-sample SVGX-SFT dataset to both understand and generate complex SVG graphics.

Problem

LLMs produce hallucinated, semantically ambiguous SVG primitives and occlusion-prone outputs because SVG is tokenized as plain text, and existing SVG generators handle only simple graphics and lack instruction data.

Approach

Replace SVG tags and attributes with dedicated learnable semantic tokens initialized from the average embedding of their descriptions, and train pretrained LLMs (GPT-2, Phi-2, Falcon, LLaVA) with a two-stage scheme (embedding alignment then SFT) on a large instruction-following SVG dataset.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use LLM4SVG (GPT-2-XL) instead of SVGDreamerText-to-SVG generation · Text-to-SVG generationFID: 72.68 -> 64.11Helped
Use LLM4SVG (GPT-2-XL) instead of SVGDreamerText-to-SVG generation · Text-to-SVG generationCLIPScore: 0.3001 -> 0.3496Helped
Use LLM4SVG (GPT-2-XL) instead of SVGDreamerText-to-SVG generation · Text-to-SVG generationAesthetic: 5.5432 -> 5.9836Helped
Use LLM4SVG (GPT-2-XL) instead of SVGDreamerText-to-SVG generation · Text-to-SVG generationHPS: 0.2685 -> 0.2485Hurt
Use LLM4SVG (GPT-2-XL) instead of Claude-3.5LLM-based SVG generation · Text-to-SVG generation, LLM comparisonFID: 82.89 -> 64.11Helped
Use LLM4SVG (GPT-2-XL) instead of Claude-3.5LLM-based SVG generation · Text-to-SVG generation, LLM comparisonCLIPScore: 0.3083 -> 0.3496Helped
Use LLM4SVG (GPT-2-XL) instead of Claude-3.5LLM-based SVG generation · Text-to-SVG generation, LLM comparisonAesthetic: 5.2370 -> 5.9836Helped
Use LLM4SVG (GPT-2-XL) instead of Claude-3.5LLM-based SVG generation · Text-to-SVG generation, LLM comparisonHPS: 0.1912 -> 0.2485Helped
Use LLM4SVG instead of Claude-3.5Human-evaluated SVG generation · Human evaluationPrompt Alignment: 0.56 -> 0.89Helped
Use LLM4SVG instead of Claude-3.5Human-evaluated SVG generation · Human evaluationVisual Quality: 0.74 -> 0.92Helped
Use LLM4SVG instead of Claude-3.5Human-evaluated SVG generation · Human evaluationPick Score: 0.69 -> 0.88Helped

Surprising findings

Limitations

Experimental setup

Datasets: SVGX-SFT

Benchmarks: SVGX-SFT

Metrics: FID CLIPScore Aesthetic score HPS generation time Avg.Tok

Baselines: CLIPDraw VectorFusion DiffSketcher SVGDreamer LIVE DeepSVG Iconshop StrokeNUWA GPT-4o Claude 3.5 Sonnet Gemini 1.5 Pro Llama 3.1 70B

Builds on: LLaVA LoRA QLoRA LlamaFactory BLIP

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