TL;DR
Current evaluation metrics for text-to-SVG models rely on natural-image frameworks like CLIPScore, which fail to capture domain-specific errors like incorrect colors, object counts, or spatial relations. This paper introduces SVG-Score, a human-aligned evaluation framework featuring a new 12K human-annotated dataset alongside two complementary evaluators—an SVG-adapted CLIP model and a fine-tuned Vision-Language Model (VLM) judge—that significantly outperform existing metrics in tracking human judgment.
What Problem Does This Paper Address?
Scalable Vector Graphics (SVGs) are highly valued in digital design because they use parametric primitives (like Bézier curves) to allow infinite scaling and clean editability. While text-to-SVG generative models are advancing rapidly, evaluating their outputs remains stuck in the raster-image era. Researchers typically rely on metrics like CLIPScore, which were trained exclusively on natural images.
Vector graphics, however, differ fundamentally from natural photos due to their high abstraction, distinct color distributions, and sparse structures. Through controlled perturbation testing, the authors demonstrate that standard CLIPScore is effectively blind to the exact errors SVG generators frequently make, such as incorrect object counts, swapped colors, or inverted spatial relationships. Off-the-shelf VLMs perform slightly better but show highly uneven sensitivity across different SVG styles (e.g., failing on black-and-white graphics).
Methods
To bridge this alignment gap, the authors propose a two-pronged evaluation framework:
- SVG-Adapted CLIP Evaluator: The authors adapt standard CLIP backbones to the vector domain using 3.2M SVG-caption pairs. To align the model with human preferences, they add LoRA adapters trained with a pairwise cross-entropy loss based on human ratings. This provides a lightweight, fast, embedding-based metric ideal for large-scale evaluation.
- VLM-as-a-Judge Evaluator: They fine-tune a Qwen3-VL-8B model using a two-stage approach. First, Supervised Fine-Tuning (SFT) teaches the model to output a structured rationale and an ordinal score (1–5). Second, they optimize the model using Group Relative Policy Optimization (GRPO), a reinforcement learning technique. The reward function combines an ordinal score reward (for absolute calibration) and an intra-caption ranking reward (to ensure relative order consistency).
Datasets
The paper introduces and utilizes three main data resources:
- CLIP Training Dataset: A large-scale corpus of ~3.2M SVG-text pairs compiled from StarVector and OmniSVG, re-captioned using Qwen3-VL-8B to improve quality.
- Semantic Alignment Dataset (New): A human-rated dataset containing 12,957 valid caption-SVG rating instances across 8,671 unique SVGs and 1,858 unique captions. Each pair is manually scored from 1 to 5 based on holistic semantic alignment.
- Independent Generator Benchmark (New): A text benchmark of 1,616 captions across three difficulty levels (Easy, Medium, Hard) used to evaluate 16 state-of-the-art SVG generators.
Key Insights and Ideas
- CLIP's Blind Spots Exposed: By systematically altering captions (e.g., changing "four buttons" to "three buttons" or "below" to "above"), the authors proved that vanilla CLIPScore barely registers fine-grained semantic corruptions. However, its score drops sharply if the image is replaced by a solid background. This reveals that CLIP relies on gross visual features rather than compositional reasoning when dealing with SVGs.
- The Necessity of Two-Stage VLM Training: Ablation studies showed that SFT alone or GRPO alone degrades performance. SFT is required to establish well-formed structured outputs, while GRPO refines the model's ability to rank alternative SVG outputs accurately.
Key Results
- Superior Human Alignment: The fine-tuned VLM judge achieved the highest correlation with human scores, reaching a Spearman's $\rho$ of 74.85 (up from 67.76 for the zero-shot baseline), outperforming SVG-specific baselines like VectorGym ($\rho = 65.12$).
- CLIP Improvements: The preference-aligned SVG-CLIP-H model achieved a pairwise ranking accuracy of 80.64%, significantly outperforming natural-image preference models like HPSv2 (75.66%).
- Generator Benchmarking: Evaluating 16 text-to-SVG systems revealed that commercial LLMs (especially Claude Sonnet 5) vastly outperform open-source and painterly optimization methods, particularly as prompt complexity scales to "Hard" compositional tasks. Open-source models also suffered from high rendering failure rates (up to 33.17%).
Limitations and Future Work
The primary limitation is scope: SVG-Score focuses strictly on Semantic Alignment (how well the visual content matches the text prompt). It does not evaluate the quality of the underlying vector code, such as path efficiency, layer organization, editability, or node density, which are critical for professional design workflows. The authors note that future work should expand evaluation frameworks to incorporate these structural code metrics alongside semantic fidelity.
Summary updated