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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
---
|
| 23 |
|
| 24 |
# GDB: GraphicDesignBench
|
| 25 |
|
| 26 |
-
|
| 27 |
|
| 28 |
-
|
| 29 |
-
It provides a reproducible signal for where AI models stand on professional design tasks, and what still
|
| 30 |
-
needs to change before they can do real design work.
|
| 31 |
-
|
| 32 |
-
- **Paper**: [arXiv:2604.04192](https://arxiv.org/abs/2604.04192)
|
| 33 |
-
- **Code**: [github.com/purvanshi/lica-bench](https://github.com/purvanshi/lica-bench)
|
| 34 |
-
- **Blog**: [lica.world/blog/gdb-real-world-benchmark-for-graphic-design](https://lica.world/blog/gdb-real-world-benchmark-for-graphic-design)
|
| 35 |
-
- **Results**: [Explore all task results](https://lica.world/blog/gdb-real-world-benchmark-for-graphic-design)
|
| 36 |
-
|
| 37 |
-
## Benchmark Structure
|
| 38 |
-
|
| 39 |
-
39 benchmarks across 7 design domains and 2 task modes (understanding + generation):
|
| 40 |
-
|
| 41 |
-
| Domain | Understanding | Generation | Total |
|
| 42 |
-
|--------|:---:|:---:|:---:|
|
| 43 |
-
| Layout | 4 | 4 | 8 |
|
| 44 |
-
| Typography | 6 | 2 | 8 |
|
| 45 |
-
| SVG / Infographics | 5 | 3 | 8 |
|
| 46 |
-
| Template & Semantics | 3 | 2 | 5 |
|
| 47 |
-
| Animation (Temporal) | 3 | 3 | 6 |
|
| 48 |
-
| Category | 2 | 0 | 2 |
|
| 49 |
-
| Lottie | 0 | 2 | 2 |
|
| 50 |
-
| **Total** | **23** | **16** | **39** |
|
| 51 |
|
| 52 |
## Usage
|
| 53 |
|
| 54 |
```python
|
| 55 |
from datasets import load_dataset
|
| 56 |
|
| 57 |
-
# Load a specific benchmark
|
| 58 |
ds = load_dataset("lica-world/GDB", "svg-1")
|
| 59 |
-
|
| 60 |
-
# Load all benchmarks
|
| 61 |
-
ds = load_dataset("lica-world/GDB", "all")
|
| 62 |
-
|
| 63 |
-
# Load all benchmarks in a domain
|
| 64 |
-
ds = load_dataset("lica-world/GDB", "typography")
|
| 65 |
```
|
| 66 |
|
| 67 |
## Schema
|
| 68 |
|
| 69 |
-
Each sample contains:
|
| 70 |
-
|
| 71 |
| Field | Type | Description |
|
| 72 |
|-------|------|-------------|
|
| 73 |
-
| `sample_id` | string |
|
| 74 |
-
| `benchmark_id` | string |
|
| 75 |
-
| `domain` | string |
|
| 76 |
| `task_type` | string | `understanding` or `generation` |
|
| 77 |
-
| `
|
| 78 |
-
| `
|
| 79 |
-
| `
|
| 80 |
-
| `
|
| 81 |
-
| `media_path` | string | Relative path to media file (video, additional images) |
|
| 82 |
-
| `media_type` | string | `image`, `video`, or `none` |
|
| 83 |
-
| `metadata` | string | JSON with task-specific extra fields (SVG code, options, etc.) |
|
| 84 |
|
| 85 |
## Evaluation
|
| 86 |
|
| 87 |
-
Install `lica-bench` and use the built-in evaluation pipeline:
|
| 88 |
-
|
| 89 |
```bash
|
| 90 |
-
pip install lica-
|
| 91 |
```
|
| 92 |
|
| 93 |
```python
|
| 94 |
-
from
|
| 95 |
|
| 96 |
registry = BenchmarkRegistry()
|
| 97 |
registry.discover()
|
|
@@ -99,8 +220,6 @@ bench = registry.get("svg-1")
|
|
| 99 |
scores = bench.evaluate(predictions, ground_truth)
|
| 100 |
```
|
| 101 |
|
| 102 |
-
See the [lica-bench README](https://github.com/purvanshi/lica-bench) for full usage.
|
| 103 |
-
|
| 104 |
## Citation
|
| 105 |
|
| 106 |
```bibtex
|
|
@@ -112,6 +231,4 @@ See the [lica-bench README](https://github.com/purvanshi/lica-bench) for full us
|
|
| 112 |
}
|
| 113 |
```
|
| 114 |
|
| 115 |
-
## License
|
| 116 |
-
|
| 117 |
Apache 2.0
|
|
|
|
| 19 |
pretty_name: "GDB: GraphicDesignBench"
|
| 20 |
size_categories:
|
| 21 |
- 1K<n<10K
|
| 22 |
+
configs:
|
| 23 |
+
- config_name: category-1
|
| 24 |
+
data_files:
|
| 25 |
+
- split: train
|
| 26 |
+
path: "category-1/train-*"
|
| 27 |
+
- config_name: category-2
|
| 28 |
+
data_files:
|
| 29 |
+
- split: train
|
| 30 |
+
path: "category-2/train-*"
|
| 31 |
+
- config_name: layout-1
|
| 32 |
+
data_files:
|
| 33 |
+
- split: train
|
| 34 |
+
path: "layout-1/train-*"
|
| 35 |
+
- config_name: layout-2
|
| 36 |
+
data_files:
|
| 37 |
+
- split: train
|
| 38 |
+
path: "layout-2/train-*"
|
| 39 |
+
- config_name: layout-3
|
| 40 |
+
data_files:
|
| 41 |
+
- split: train
|
| 42 |
+
path: "layout-3/train-*"
|
| 43 |
+
- config_name: layout-4
|
| 44 |
+
data_files:
|
| 45 |
+
- split: train
|
| 46 |
+
path: "layout-4/train-*"
|
| 47 |
+
- config_name: layout-5
|
| 48 |
+
data_files:
|
| 49 |
+
- split: train
|
| 50 |
+
path: "layout-5/train-*"
|
| 51 |
+
- config_name: layout-6
|
| 52 |
+
data_files:
|
| 53 |
+
- split: train
|
| 54 |
+
path: "layout-6/train-*"
|
| 55 |
+
- config_name: layout-7
|
| 56 |
+
data_files:
|
| 57 |
+
- split: train
|
| 58 |
+
path: "layout-7/train-*"
|
| 59 |
+
- config_name: layout-8
|
| 60 |
+
data_files:
|
| 61 |
+
- split: train
|
| 62 |
+
path: "layout-8/train-*"
|
| 63 |
+
- config_name: lottie-1
|
| 64 |
+
data_files:
|
| 65 |
+
- split: train
|
| 66 |
+
path: "lottie-1/train-*"
|
| 67 |
+
- config_name: lottie-2
|
| 68 |
+
data_files:
|
| 69 |
+
- split: train
|
| 70 |
+
path: "lottie-2/train-*"
|
| 71 |
+
- config_name: svg-1
|
| 72 |
+
data_files:
|
| 73 |
+
- split: train
|
| 74 |
+
path: "svg-1/train-*"
|
| 75 |
+
- config_name: svg-2
|
| 76 |
+
data_files:
|
| 77 |
+
- split: train
|
| 78 |
+
path: "svg-2/train-*"
|
| 79 |
+
- config_name: svg-3
|
| 80 |
+
data_files:
|
| 81 |
+
- split: train
|
| 82 |
+
path: "svg-3/train-*"
|
| 83 |
+
- config_name: svg-4
|
| 84 |
+
data_files:
|
| 85 |
+
- split: train
|
| 86 |
+
path: "svg-4/train-*"
|
| 87 |
+
- config_name: svg-5
|
| 88 |
+
data_files:
|
| 89 |
+
- split: train
|
| 90 |
+
path: "svg-5/train-*"
|
| 91 |
+
- config_name: svg-6
|
| 92 |
+
data_files:
|
| 93 |
+
- split: train
|
| 94 |
+
path: "svg-6/train-*"
|
| 95 |
+
- config_name: svg-7
|
| 96 |
+
data_files:
|
| 97 |
+
- split: train
|
| 98 |
+
path: "svg-7/train-*"
|
| 99 |
+
- config_name: svg-8
|
| 100 |
+
data_files:
|
| 101 |
+
- split: train
|
| 102 |
+
path: "svg-8/train-*"
|
| 103 |
+
- config_name: template-1
|
| 104 |
+
data_files:
|
| 105 |
+
- split: train
|
| 106 |
+
path: "template-1/train-*"
|
| 107 |
+
- config_name: template-2
|
| 108 |
+
data_files:
|
| 109 |
+
- split: train
|
| 110 |
+
path: "template-2/train-*"
|
| 111 |
+
- config_name: template-3
|
| 112 |
+
data_files:
|
| 113 |
+
- split: train
|
| 114 |
+
path: "template-3/train-*"
|
| 115 |
+
- config_name: template-4
|
| 116 |
+
data_files:
|
| 117 |
+
- split: train
|
| 118 |
+
path: "template-4/train-*"
|
| 119 |
+
- config_name: template-5
|
| 120 |
+
data_files:
|
| 121 |
+
- split: train
|
| 122 |
+
path: "template-5/train-*"
|
| 123 |
+
- config_name: temporal-1
|
| 124 |
+
data_files:
|
| 125 |
+
- split: train
|
| 126 |
+
path: "temporal-1/train-*"
|
| 127 |
+
- config_name: temporal-2
|
| 128 |
+
data_files:
|
| 129 |
+
- split: train
|
| 130 |
+
path: "temporal-2/train-*"
|
| 131 |
+
- config_name: temporal-3
|
| 132 |
+
data_files:
|
| 133 |
+
- split: train
|
| 134 |
+
path: "temporal-3/train-*"
|
| 135 |
+
- config_name: temporal-4
|
| 136 |
+
data_files:
|
| 137 |
+
- split: train
|
| 138 |
+
path: "temporal-4/train-*"
|
| 139 |
+
- config_name: temporal-5
|
| 140 |
+
data_files:
|
| 141 |
+
- split: train
|
| 142 |
+
path: "temporal-5/train-*"
|
| 143 |
+
- config_name: temporal-6
|
| 144 |
+
data_files:
|
| 145 |
+
- split: train
|
| 146 |
+
path: "temporal-6/train-*"
|
| 147 |
+
- config_name: typography-1
|
| 148 |
+
data_files:
|
| 149 |
+
- split: train
|
| 150 |
+
path: "typography-1/train-*"
|
| 151 |
+
- config_name: typography-2
|
| 152 |
+
data_files:
|
| 153 |
+
- split: train
|
| 154 |
+
path: "typography-2/train-*"
|
| 155 |
+
- config_name: typography-3
|
| 156 |
+
data_files:
|
| 157 |
+
- split: train
|
| 158 |
+
path: "typography-3/train-*"
|
| 159 |
+
- config_name: typography-4
|
| 160 |
+
data_files:
|
| 161 |
+
- split: train
|
| 162 |
+
path: "typography-4/train-*"
|
| 163 |
+
- config_name: typography-5
|
| 164 |
+
data_files:
|
| 165 |
+
- split: train
|
| 166 |
+
path: "typography-5/train-*"
|
| 167 |
+
- config_name: typography-6
|
| 168 |
+
data_files:
|
| 169 |
+
- split: train
|
| 170 |
+
path: "typography-6/train-*"
|
| 171 |
+
- config_name: typography-7
|
| 172 |
+
data_files:
|
| 173 |
+
- split: train
|
| 174 |
+
path: "typography-7/train-*"
|
| 175 |
+
- config_name: typography-8
|
| 176 |
+
data_files:
|
| 177 |
+
- split: train
|
| 178 |
+
path: "typography-8/train-*"
|
| 179 |
---
|
| 180 |
|
| 181 |
# GDB: GraphicDesignBench
|
| 182 |
|
| 183 |
+
39 benchmarks for evaluating vision-language models on graphic design tasks — layout, typography, SVG, template matching, animation. Built on 1,148 real design layouts from the [Lica dataset](https://lica.world).
|
| 184 |
|
| 185 |
+
**Paper:** [arXiv:2604.04192](https://arxiv.org/abs/2604.04192) | **Code:** [github.com/lica-world/GDB](https://github.com/lica-world/GDB) | **Blog:** [lica.world](https://lica.world/blog/gdb-real-world-benchmark-for-graphic-design)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 186 |
|
| 187 |
## Usage
|
| 188 |
|
| 189 |
```python
|
| 190 |
from datasets import load_dataset
|
| 191 |
|
|
|
|
| 192 |
ds = load_dataset("lica-world/GDB", "svg-1")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 193 |
```
|
| 194 |
|
| 195 |
## Schema
|
| 196 |
|
|
|
|
|
|
|
| 197 |
| Field | Type | Description |
|
| 198 |
|-------|------|-------------|
|
| 199 |
+
| `sample_id` | string | Sample identifier |
|
| 200 |
+
| `benchmark_id` | string | e.g. `svg-1`, `typography-3` |
|
| 201 |
+
| `domain` | string | layout, typography, svg, template, temporal, category, lottie |
|
| 202 |
| `task_type` | string | `understanding` or `generation` |
|
| 203 |
+
| `prompt` | string | Evaluation prompt |
|
| 204 |
+
| `ground_truth` | string | Expected answer (JSON for complex types) |
|
| 205 |
+
| `image` | Image | Input image (when applicable) |
|
| 206 |
+
| `metadata` | string | Task-specific fields as JSON |
|
|
|
|
|
|
|
|
|
|
| 207 |
|
| 208 |
## Evaluation
|
| 209 |
|
|
|
|
|
|
|
| 210 |
```bash
|
| 211 |
+
pip install git+https://github.com/lica-world/GDB.git
|
| 212 |
```
|
| 213 |
|
| 214 |
```python
|
| 215 |
+
from gdb.registry import BenchmarkRegistry
|
| 216 |
|
| 217 |
registry = BenchmarkRegistry()
|
| 218 |
registry.discover()
|
|
|
|
| 220 |
scores = bench.evaluate(predictions, ground_truth)
|
| 221 |
```
|
| 222 |
|
|
|
|
|
|
|
| 223 |
## Citation
|
| 224 |
|
| 225 |
```bibtex
|
|
|
|
| 231 |
}
|
| 232 |
```
|
| 233 |
|
|
|
|
|
|
|
| 234 |
Apache 2.0
|