[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-115348":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":12,"subscribersCount":12,"size":12,"stars1d":14,"stars7d":15,"stars30d":15,"stars90d":12,"forks30d":12,"starsTrendScore":16,"compositeScore":17,"rankGlobal":9,"rankLanguage":9,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":21,"hasPages":19,"topics":22,"createdAt":9,"pushedAt":23,"updatedAt":24,"readmeContent":25,"aiSummary":26,"trendingCount":12,"starSnapshotCount":12,"syncStatus":27,"lastSyncTime":28,"discoverSource":29},115348,"SVGFaith","Yukinonooo\u002FSVGFaith","Yukinonooo","SVGFaith: a two-layer meta-evaluation of faithfulness metrics for text-to-SVG generation",null,"Python",206,0,60,1,119,3,72,"Apache License 2.0",false,"main",true,[],"2026-11-11 18:51:57","2026-11-22 17:39:26","# SVGFaith\n\nSVGFaith: A Two-Layer Meta-Evaluation of Faithfulness Metrics for Text-to-SVG Generation.\n\n[![Paper](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FarXiv-2611.06048-b31b1b.svg)](https:\u002F\u002Farxiv.org\u002Fabs\u002F2611.06048)\n[![Benchmark](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FHugging%20Face-Benchmark-fcd022.svg)](https:\u002F\u002Fhuggingface.co\u002Fdatasets\u002FYukinonooo\u002FSVGFaith)\n[![Decomposer](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FHugging%20Face-Decomposer-fcd022.svg)](https:\u002F\u002Fhuggingface.co\u002FYukinonooo\u002FSVGFaith-Decomposer)\n[![License](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FCode-Apache%202.0-blue.svg)](LICENSE)\n\n![SVGFaith examples](assets\u002Fteaser.png)\n\nText-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.\n\nIt has two layers:\n\n- **SVGFaith-Diagnostic**: 1,842 controlled contrastive pairs across eight capability axes, split into 921 image-side pairs and 921 text-side pairs.\n- **SVGFaith-Arena**: 1,327 human comparisons of real outputs from six text-to-SVG generators.\n\nWe also release **SVGFaith-Score**, an interpretable pointwise metric.\n\n## Results\n\nPairwise accuracy from Table 2 of the paper. Diagnostic columns are unweighted means of the eight axes. Ties receive no credit.\n\n| Method | Arena (τ=0) | Arena (τ=0.01) | Diagnostic image (τ=0) | Diagnostic image (τ=0.01) | Diagnostic text (τ=0) | Diagnostic text (τ=0.01) |\n|---|---:|---:|---:|---:|---:|---:|\n| CLIP-L\u002F14 | 0.769 | 0.699 | 0.660 | 0.470 | 0.658 | 0.328 |\n| SigLIP-L\u002F16-384 | 0.823 | 0.775 | 0.750 | 0.517 | 0.745 | 0.462 |\n| Long-CLIP-L\u002F14 | 0.791 | 0.739 | 0.713 | 0.481 | 0.754 | 0.376 |\n| Qwen3-VL-Embedding-8B | 0.861 | 0.843 | 0.777 | 0.717 | 0.799 | 0.668 |\n| PickScore v1 | 0.833 | 0.605 | 0.799 | 0.313 | 0.737 | 0.149 |\n| HPS v2.1 | 0.841 | 0.769 | 0.808 | 0.540 | 0.703 | 0.368 |\n| ImageReward v1.0 | 0.824 | 0.819 | 0.784 | 0.779 | 0.782 | 0.767 |\n| FlanT5-XXL VQAScore | 0.798 | 0.784 | 0.873 | 0.824 | 0.878 | 0.825 |\n| LLM-as-a-Judge (122B) | 0.754 | 0.754 | 0.902 | 0.902 | 0.857 | 0.857 |\n| **SVGFaith-Score** | **0.898** | **0.880** | **0.965** | **0.941** | **0.966** | **0.953** |\n\nMean individual-annotator agreement with the final Arena labels is **0.875**.\n\nReproduce the SVGFaith-Score rows from the released per-pair scores:\n\n```bash\npython -m svgfaith.evaluate scores\u002Farena.jsonl scores\u002Fdiagnostic_image.jsonl scores\u002Fdiagnostic_text.jsonl\npython -m svgfaith.evaluate --tau 0 scores\u002Farena.jsonl scores\u002Fdiagnostic_image.jsonl scores\u002Fdiagnostic_text.jsonl\npython -m unittest tests.test_aggregate\n```\n\nAt τ=0.01 on Arena, the released scores are 1,168 wins, 37 ties, and 122 losses.\n\n## How SVGFaith-Score works\n\n![SVGFaith-Score pipeline](assets\u002Fpipeline.png)\n\nScore one prompt against one already-rendered image:\n\n```bash\npython -m svgfaith.infer --prompt \"A red apple on a white table.\" --image image.png\n```\n\nThe command loads [`Yukinonooo\u002FSVGFaith-Decomposer`](https:\u002F\u002Fhuggingface.co\u002FYukinonooo\u002FSVGFaith-Decomposer), generates the questions, unloads it, then loads unmodified [`Qwen\u002FQwen3.5-9B`](https:\u002F\u002Fhuggingface.co\u002FQwen\u002FQwen3.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.\n\nThe inference settings are the ones used for the released SVGFaith-Score:\n\n1. 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 by `greedy_question_salvage_v1` in [`svgfaith\u002Fsalvage.py`](svgfaith\u002Fsalvage.py): keep every nonempty question, drop exact duplicates, and remap parent ids. The frozen prompt, demonstration, user template, and JSON schema are in [`svgfaith\u002Fprompts\u002F`](svgfaith\u002Fprompts\u002F).\n2. 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 `Yes` and `No`. The polarity-aware prompt is [`svgfaith\u002Fprompts\u002Fvqa_system.txt`](svgfaith\u002Fprompts\u002Fvqa_system.txt). Yes means the requirement is satisfied. The requirement probability is `P(Yes) \u002F (P(Yes) + P(No))`.\n3. [`svgfaith\u002Faggregate.py`](svgfaith\u002Faggregate.py) applies unique-ancestor gating with α = 0.5. Salvage ids are 1-based; `infer.py` converts them to list indices before aggregation. Each distinct ancestor is counted once.\n\n## The eight diagnostic axes\n\n![Eight diagnostic axes](assets\u002Feight-axes.png)\n\n| Axis | Image-based | Text-based | Total |\n|---|---:|---:|---:|\n| Negation | 123 | 123 | 246 |\n| Attribute binding | 121 | 122 | 243 |\n| Comparative size | 124 | 124 | 248 |\n| Spatial relation | 123 | 122 | 245 |\n| Object identity | 123 | 118 | 241 |\n| Counting | 103 | 100 | 203 |\n| Part completeness | 101 | 112 | 213 |\n| Dense long prompt | 103 | 100 | 203 |\n| **Total** | **921** | **921** | **1,842** |\n\n## Benchmark download\n\nThe benchmark is hosted on Hugging Face, not inside this git repository:\n\n```bash\nhuggingface-cli download Yukinonooo\u002FSVGFaith --repo-type dataset --local-dir svgfaith-data\n```\n\n`diagnostic\u002Fmanifest.jsonl` indexes the 1,842 diagnostic pairs (1,799 kept by all three annotators and 43 added by expert review). `arena\u002Fpairs.jsonl` and `arena\u002Fimages\u002F` 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.\n\n## Citation\n\n```bibtex\n@misc{liang2026svgfaith,\n  title = {SVGFaith: A Two-Layer Meta-Evaluation of Faithfulness Metrics for Text-to-SVG Generation},\n  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},\n  year = {2026},\n  eprint = {2611.06048},\n  archivePrefix = {arXiv},\n  primaryClass = {cs.CV},\n  url = {https:\u002F\u002Farxiv.org\u002Fabs\u002F2611.06048}\n}\n```\n\n## License\n\nCode is under the [Apache License 2.0](LICENSE). The benchmark and released scores are under [CC BY 4.0](DATA_LICENSE).\n","SVGFaith 是一个面向文本生成 SVG 任务的忠实性（faithfulness）评估框架，用于系统性评测各类自动评估指标对生成结果与输入提示语义一致性的判别能力。项目提出双层元评估体系：SVGFaith-Diagnostic 提供1842组受控对比样本，覆盖8类生成能力轴；SVGFaith-Arena 基于1327组真实模型输出的人工比较构建基准。配套发布可解释的点式评估指标 SVGFaith-Score，支持直接对 prompt-image 对打分。适用于文本到矢量图生成模型的研发、评估与指标选型等研究与工程场景。",2,"2026-11-24 04:50:43","CREATED_QUERY"]