SVGFaith: A Two-Layer Meta-Evaluation of Faithfulness Metrics for Text-to-SVG Generation.
Text-to-SVG systems are usually evaluated by rasterising the SVG and running a raster metric such as CLIPScore or a vision-language judge. SVGFaith tests whether a metric actually prefers the more faithful candidate.
It has two layers:
- SVGFaith-Diagnostic: 1,842 controlled contrastive pairs across eight capability axes, split into 921 image-side pairs and 921 text-side pairs.
- SVGFaith-Arena: 1,327 human comparisons of real outputs from six text-to-SVG generators.
We also release SVGFaith-Score, an interpretable pointwise metric.
Pairwise accuracy from Table 2 of the paper. Diagnostic columns are unweighted means of the eight axes. Ties receive no credit.
| Method | Arena (τ=0) | Arena (τ=0.01) | Diagnostic image (τ=0) | Diagnostic image (τ=0.01) | Diagnostic text (τ=0) | Diagnostic text (τ=0.01) |
|---|---|---|---|---|---|---|
| CLIP-L/14 | 0.769 | 0.699 | 0.660 | 0.470 | 0.658 | 0.328 |
| SigLIP-L/16-384 | 0.823 | 0.775 | 0.750 | 0.517 | 0.745 | 0.462 |
| Long-CLIP-L/14 | 0.791 | 0.739 | 0.713 | 0.481 | 0.754 | 0.376 |
| Qwen3-VL-Embedding-8B | 0.861 | 0.843 | 0.777 | 0.717 | 0.799 | 0.668 |
| PickScore v1 | 0.833 | 0.605 | 0.799 | 0.313 | 0.737 | 0.149 |
| HPS v2.1 | 0.841 | 0.769 | 0.808 | 0.540 | 0.703 | 0.368 |
| ImageReward v1.0 | 0.824 | 0.819 | 0.784 | 0.779 | 0.782 | 0.767 |
| FlanT5-XXL VQAScore | 0.798 | 0.784 | 0.873 | 0.824 | 0.878 | 0.825 |
| LLM-as-a-Judge (122B) | 0.754 | 0.754 | 0.902 | 0.902 | 0.857 | 0.857 |
| SVGFaith-Score | 0.898 | 0.880 | 0.965 | 0.941 | 0.966 | 0.953 |
Mean individual-annotator agreement with the final Arena labels is 0.875.
Reproduce the SVGFaith-Score rows from the released per-pair scores:
python -m svgfaith.evaluate scores/arena.jsonl scores/diagnostic_image.jsonl scores/diagnostic_text.jsonl
python -m svgfaith.evaluate --tau 0 scores/arena.jsonl scores/diagnostic_image.jsonl scores/diagnostic_text.jsonl
python -m unittest tests.test_aggregateAt τ=0.01 on Arena, the released scores are 1,168 wins, 37 ties, and 122 losses.
Score one prompt against one already-rendered image:
python -m svgfaith.infer --prompt "A red apple on a white table." --image image.pngThe command loads Yukinonooo/SVGFaith-Decomposer, generates the questions, unloads it, then loads unmodified Qwen/Qwen3.5-9B. The released run used the same order. evaluate.py does not do this; it only reports accuracy from score files that have already been computed.
The inference settings are the ones used for the released SVGFaith-Score:
- The decomposer sees only the prompt. The chat is the V2.1 system prompt, one synthetic demonstration, and the target prompt. Thinking stays enabled. Decoding is greedy (
temperature=0,seed=0) with up to 40,000 new tokens. Questions are recovered bygreedy_question_salvage_v1insvgfaith/salvage.py: keep every nonempty question, drop exact duplicates, and remap parent ids. The frozen prompt, demonstration, user template, and JSON schema are insvgfaith/prompts/. - Each question is asked separately. The image is composited onto white and resized to 448×448 with Lanczos. Thinking is disabled, so the first generated token is the verdict, and generation is restricted to the single tokens
YesandNo. The polarity-aware prompt issvgfaith/prompts/vqa_system.txt. Yes means the requirement is satisfied. The requirement probability isP(Yes) / (P(Yes) + P(No)). svgfaith/aggregate.pyapplies unique-ancestor gating with α = 0.5. Salvage ids are 1-based;infer.pyconverts them to list indices before aggregation. Each distinct ancestor is counted once.
| Axis | Image-based | Text-based | Total |
|---|---|---|---|
| Negation | 123 | 123 | 246 |
| Attribute binding | 121 | 122 | 243 |
| Comparative size | 124 | 124 | 248 |
| Spatial relation | 123 | 122 | 245 |
| Object identity | 123 | 118 | 241 |
| Counting | 103 | 100 | 203 |
| Part completeness | 101 | 112 | 213 |
| Dense long prompt | 103 | 100 | 203 |
| Total | 921 | 921 | 1,842 |
The benchmark is hosted on Hugging Face, not inside this git repository:
huggingface-cli download Yukinonooo/SVGFaith --repo-type dataset --local-dir svgfaith-datadiagnostic/manifest.jsonl indexes the 1,842 diagnostic pairs (1,799 kept by all three annotators and 43 added by expert review). arena/pairs.jsonl and arena/images/ hold the 1,327 Arena comparisons from OmniSVG1.1-8B, InternSVG-8B, SVGen, GPT-5.4, Gemini-3.1-Pro, and Claude-Opus-4.6.
@misc{liang2026svgfaith,
title = {SVGFaith: A Two-Layer Meta-Evaluation of Faithfulness Metrics for Text-to-SVG Generation},
author = {Liang, Guotao and Zhou, Haitao and Liu, Biao and Liao, Huanxuan and Qiao, Lingfeng and Zhang, Qian-Wen and Yu, Qian and Yin, Di and Sun, Xing},
year = {2026},
eprint = {2611.06048},
archivePrefix = {arXiv},
primaryClass = {cs.CV},
url = {https://arxiv.org/abs/2611.06048}
}Code is under the Apache License 2.0. The benchmark and released scores are under CC BY 4.0.


