svg-benchmark
收藏资源简介:
Rapidata静态SVG生成基准数据集是一个大规模人类偏好数据集,旨在评估大语言模型从文本提示生成静态可缩放矢量图形(SVG)的能力。该数据集由Rapidata构建,包含1,355,161个人类响应,通过头对头比较方式,对30个前沿大语言模型(包括Claude、GPT、Gemini等系列)在500个多样化文本提示下生成的SVG进行多维度评估。每个数据样本包括原始提示文本、两个模型生成的SVG原始代码、对应的栅格化PNG图像(分辨率为768×768),人类标注者从对齐度(评估SVG与文本提示的匹配程度)、连贯性(评估图像的视觉完整性和无伪影程度)和偏好度(评估图像的整体主观视觉吸引力)三个独立维度进行评分。数据集规模为188,754个比较行,产生14,872个独特的栅格化图像,其中66,039行包含所有三个维度的完整评分。构建过程注重透明度和可复现性:提示集结合了人工编写的种子提示和从公开数据集采样的多样化提示,通过语义嵌入和最远点采样确保概念多样性;SVG生成过程记录了每个模型的原始标记输出;栅格化过程使用严格验证将SVG转换为PNG;人类评估通过Rapidata平台收集详细的投票数据,包括标注者人口统计信息。该数据集适用于文本到图像生成、图像分类、强化学习等任务,特别为SVG生成、矢量图形、代码生成和人类偏好对齐研究提供了基准资源,采用CC-BY-4.0许可。
The Rapidata Static SVG Generation Benchmark Dataset is a large-scale human preference dataset designed to evaluate the ability of large language models to generate static scalable vector graphics (SVG) from text prompts. Constructed by Rapidata, it contains 1,355,161 human responses, evaluating SVGs generated by 30 cutting-edge large language models (including Claude, GPT, Gemini series, etc.) on 500 diverse text prompts through head-to-head comparisons. Each data sample includes the original prompt text, raw SVG code from two models, corresponding rasterized PNG images (768×768 resolution), and human annotator ratings across three independent dimensions: alignment (assessing how well the SVG matches the text prompt), coherence (evaluating visual completeness and absence of artifacts), and preference (assessing overall subjective visual appeal). The dataset comprises 188,754 comparison rows, yielding 14,872 unique rasterized images, with 66,039 rows containing complete ratings across all three dimensions. The construction process emphasizes transparency and reproducibility: the prompt set combines manually crafted seed prompts and diverse prompts sampled from public datasets, ensuring conceptual diversity via semantic embeddings and farthest point sampling; SVG generation records raw token outputs from each model; rasterization converts SVGs to PNGs with rigorous validation; human evaluation collects detailed voting data via the Rapidata platform, including annotator demographics. The dataset is suitable for tasks such as text-to-image generation, image classification, and reinforcement learning, providing a valuable benchmark for SVG generation, vector graphics, code generation, and human preference alignment research, under the CC-BY-4.0 license.
数据集概览:SVG Generation Benchmark (Static)
这是一个由 Rapidata 构建的、用于评估30个前沿大语言模型从文本提示生成静态SVG能力的基准数据集。核心数据来源于1,355,161条人工标注反馈,所有评分均基于人类偏好,而非自动指标。
核心统计数据
| 指标 | 数值 |
|---|---|
| 头对头比较数量(行数) | 188,754 |
| 人工投票总数 | 1,355,161 |
| 参与模型数量 | 30 |
| 提示词数量 | 500 |
| 唯一光栅化图像数量 | 14,872 |
| 三项指标均有评分的行数 | 66,039 |
数据集结构与用途
- 任务类别:文本到图像生成、图像分类、强化学习
- 语言:英语
- 许可协议:Creative Commons Attribution 4.0 International (CC-BY-4.0)
- 数据集规模:训练集包含188,754个样本,总大小约24.03 GB
- 主要用途:评估和比较不同模型在SVG代码生成任务上的表现,包括忠实度、一致性和主观偏好。
数据集特性(每行数据包含的字段)
每行数据代表两个模型针对同一提示生成结果的对比,包含以下字段:
| 字段名 | 类型 | 描述 |
|---|---|---|
prompt |
字符串 | 用于生成图像的文本提示。 |
image1 |
图像 | 由 model1 生成的SVG光栅化PNG图像。 |
image2 |
图像 | 由 model2 生成的SVG光栅化PNG图像。 |
svg1 |
字符串 | model1 生成的原始SVG标记代码。 |
svg2 |
字符串 | model2 生成的原始SVG标记代码。 |
model1 |
字符串 | 生成 image1 的模型ID。 |
model2 |
字符串 | 生成 image2 的模型ID。 |
weighted_results_image1_preference |
浮点数 | image1 在偏好维度的加权得分(0-1)。 |
weighted_results_image2_preference |
浮点数 | image2 在偏好维度的加权得分(0-1)。 |
detailed_results_preference |
字符串 | 包含每条投票记录的JSON数据(含投票选择和标注者信息)。 |
weighted_results_image1_coherence |
浮点数 | image1 在一致性维度的加权得分(0-1)。 |
weighted_results_image2_coherence |
浮点数 | image2 在一致性维度的加权得分(0-1)。 |
detailed_results_coherence |
字符串 | 包含每条投票记录的JSON数据。 |
weighted_results_image1_alignment |
浮点数 | image1 在对齐性维度的加权得分(0-1)。 |
weighted_results_image2_alignment |
浮点数 | image2 在对齐性维度的加权得分(0-1)。 |
detailed_results_alignment |
字符串 | 包含每条投票记录的JSON数据。 |
三大评估排行榜
该基准测试通过三个独立的排行榜评估模型:
| 排行榜 | 面向标注者的问题 | 是否显示提示词 | 衡量内容 |
|---|---|---|---|
| Alignment(对齐性) | “哪张图像更符合描述?” | 是 | SVG描述内容的忠实度 |
| Coherence(一致性) | “哪张图像有更多伪影,更可能是AI生成的?” | 否 | 视觉合理性(伪影更少者优) |
| Preference(偏好) | “你更喜欢哪张图像?” | 否 | 整体主观吸引力 |
数据集构建方式
- 提示词集(500个):包含约50个人工撰写的种子提示,其余来自公共数据集
yupp-ai/yupp-svg-20251204,并通过最远点采样(FPS)和余弦距离选择,以确保语义多样性。所有非英语提示被翻译为英语。 - SVG生成:每个提示均以
"Make an SVG of <subject>"的格式发送给30个模型,原始SVG标记代码被逐字保存。 - 光栅化:所有SVG都被渲染为
768×768像素的PNG图像。 - 人工评估:将光栅化后的PNG上传至Rapidata平台进行成对比较,收集人工投票。
参与模型的总体排名(Elo评分综合排行)
| 排名 | 模型 | Elo评分 |
|---|---|---|
| 1 | claude-fable-5-thinking | 1232.9 |
| 2 | claude-fable-5 | 1225.9 |
| 3 | gemini-3.1-pro-preview | 1168.0 |
| 4 | gpt-5.5-high | 1123.0 |
| 5 | claude-opus-4-6-thinking | 1120.3 |
| 6 | gemini-3.5-flash | 1116.9 |
| 7 | qwen3.7-max-preview | 1115.8 |
| 8 | claude-opus-4-7-thinking | 1110.4 |
| 9 | quiver-arrow-1.1 | 1101.2 |
| 10 | claude-opus-4-6 | 1099.9 |
| 11 | claude-opus-4-8-thinking | 1095.2 |
| 12 | claude-opus-4-8 | 1091.1 |
| 13 | claude-opus-4-7 | 1090.5 |
| 14 | minimax-m3 | 1068.0 |
| 15 | claude-sonnet-4.6 | 1057.1 |
| 16 | mimo-v2.5-pro | 1054.2 |
| 17 | gpt-5.4-high | 1037.7 |
| 18 | glm-5.1 | 1037.5 |
| 19 | deepseek-v4-flash | 970.5 |
| 20 | grok-4.20-multi-agent | 956.8 |
| 21 | deepseek-v4-pro | 942.0 |
| 22 | deepseek-v4-pro-thinking | 939.6 |
| 23 | grok-4.20-beta1 | 840.3 |
| 24 | kimi-k2.5-thinking | 835.8 |
| 25 | hunyuan-hy3-preview | 834.6 |
| 26 | kimi-k2.6 | 821.1 |
| 27 | nvidia-nemotron-3-ultra-550b-a55b-nvfp4 | 800.2 |
| 28 | mistral-large-3 | 743.2 |
| 29 | mistral-medium-3.5 | 725.7 |
| 30 | mistral-small-4 | 644.7 |




