Structural Evaluation Metrics for SVG Generation via Leave-One-Out Analysis
Abstract
SVG generation is typically evaluated by comparing rendered outputs to reference images, which captures visual similarity but not the structural properties that make SVG editable, decomposable, and reusable. Inspired by the classical jackknife, we introduce element-level leave-one-out (LOO) analysis. The procedure renders the SVG with and without each element, which yields element-level signals for quality assessment and structural analysis. From this single mechanism, we derive (i) per-element quality scores that enable zero-shot artifact detection; (ii) element-concept attribution via LOO footprints crossed with VLM-grounded concept heatmaps; and (iii) four structural metrics: purity, coverage, compactness, and locality, which quantify SVG modularity from complementary angles. These metrics extend SVG evaluation from image similarity to code structure, enabling element-level diagnosis and comparison of how visual concepts are represented, partitioned, and organized within SVG code. Their practical relevance is validated on over 19,000 edits (5 types) across 5 generation systems and 3 complexity tiers.
Figures & tables
| Edit | Operation | Structural property tested |
|---|---|---|
| Color | Change fill or stroke to random color | Element–concept isolation |
| Delete | Remove all elements of a concept | Concept group completeness |
| Move | Translate elements by 20 px | Spatial independence |
| Scale | Scale elements by | Spatial independence |
| Regroup | Reorder elements to be contiguous | Z-order locality |
| Model | Purity | Cover. | Compact. | Locality | Crosstalk | Elem. |
|---|---|---|---|---|---|---|
| Claude | 0.70 | 0.98 | 0.33 | 0.76 | 0.32 | 27 |
| vtracer | 0.68 | 0.98 | 0.41 | 0.87 | 0.29 | 53 |
| Gemini | 0.67 | 0.98 | 0.48 | 0.78 | 0.31 | 14 |
| GPT-4o | 0.66 | 0.97 | 0.35 | 0.75 | 0.35 | 28 |
| Qwen3-Coder | 0.64 | 0.97 | 0.44 | 0.74 | 0.37 | 17 |
| Source SVG | 0.60 | 0.98 | 0.47 | 0.80 | 0.35 | 46 |
| Model | Overall | Color | Delete | Move | Scale | Regroup |
|---|---|---|---|---|---|---|
| Claude | 0.80 | 0.85 | 0.88 | 0.83 | 0.86 | 0.61 |
| vtracer | 0.80 | 0.86 | 0.87 | 0.79 | 0.83 | 0.66 |
| Gemini | 0.79 | 0.83 | 0.87 | 0.82 | 0.84 | 0.58 |
| GPT-4o | 0.76 | 0.78 | 0.84 | 0.78 | 0.80 | 0.59 |
| Qwen3-Coder | 0.74 | 0.80 | 0.82 | 0.75 | 0.79 | 0.56 |
| Source SVG | 0.56 | 0.58 | 0.58 | 0.56 | 0.57 | 0.51 |
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
| Model | Purity | Cover. | Compact. | Locality | Crosstalk | Elem. |
|---|---|---|---|---|---|---|
| Claude | 0.61 | 0.97 | 0.38 | 0.75 | 0.36 | 15 |
| Qwen3-Coder | 0.59 | 0.97 | 0.48 | 0.74 | 0.33 | 9 |
| Source SVG | 0.58 | 0.99 | 0.58 | 0.81 | 0.35 | 17 |
| vtracer | 0.58 | 0.98 | 0.42 | 0.78 | 0.41 | 24 |
| Gemini | 0.56 | 0.97 | 0.44 | 0.74 | 0.38 | 11 |
| GPT-4o | 0.56 | 0.96 | 0.44 | 0.74 | 0.40 | 18 |
| Model | Purity | Cover. | Compact. | Locality | Crosstalk | Elem. |
|---|---|---|---|---|---|---|
| vtracer | 0.64 | 1.00 | 0.75 | 0.85 | 0.19 | 4 |
| Qwen3-Coder | 0.60 | 0.94 | 0.80 | 0.87 | 0.20 | 6 |
| Claude | 0.56 | 0.99 | 0.70 | 0.79 | 0.33 | 5 |
| Gemini | 0.53 | 0.97 | 0.80 | 0.84 | 0.29 | 3 |
| GPT-4o | 0.52 | 0.96 | 0.79 | 0.87 | 0.30 | 4 |
| Source SVG | 0.49 | 0.98 | 0.79 | 0.85 | 0.34 | 2 |
| Model | Overall | Color | Delete | Move | Scale | Regroup |
|---|---|---|---|---|---|---|
| Claude | 0.77 | 0.79 | 0.86 | 0.81 | 0.83 | 0.55 |
| Gemini | 0.76 | 0.75 | 0.86 | 0.80 | 0.82 | 0.54 |
| Qwen3-Coder | 0.75 | 0.74 | 0.85 | 0.80 | 0.82 | 0.53 |
| vtracer | 0.75 | 0.81 | 0.83 | 0.74 | 0.78 | 0.57 |
| GPT-4o | 0.72 | 0.72 | 0.81 | 0.74 | 0.77 | 0.57 |
| Source SVG | 0.60 | 0.64 | 0.64 | 0.60 | 0.62 | 0.51 |
| Model | Overall | Color | Delete | Move | Scale | Regroup |
|---|---|---|---|---|---|---|
| Claude | 0.75 | 0.77 | 0.81 | 0.76 | 0.79 | 0.63 |
| Gemini | 0.74 | 0.76 | 0.79 | 0.72 | 0.79 | 0.63 |
| Qwen3-Coder | 0.73 | 0.73 | 0.82 | 0.66 | 0.74 | 0.69 |
| GPT-4o | 0.72 | 0.73 | 0.77 | 0.66 | 0.73 | 0.70 |
| vtracer | 0.71 | 0.77 | 0.74 | 0.63 | 0.72 | 0.69 |
| Source SVG | 0.65 | 0.66 | 0.68 | 0.61 | 0.64 | 0.66 |
Image Generation Evaluation
Image generation evaluation measures the quality, fidelity, diversity, and instruction-following ability of AI-generated images.
See all 113 papers