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
tags:
|
| 8 |
+
- ui
|
| 9 |
+
- mobile
|
| 10 |
+
- visual-regression
|
| 11 |
+
- benchmark
|
| 12 |
+
- vlm
|
| 13 |
+
- screenshots
|
| 14 |
+
size_categories:
|
| 15 |
+
- n<1K
|
| 16 |
+
configs:
|
| 17 |
+
- config_name: default
|
| 18 |
+
data_files:
|
| 19 |
+
- split: test
|
| 20 |
+
path: data/test-*
|
| 21 |
+
---
|
| 22 |
+
|
| 23 |
+
# Scry Design Diff Eval
|
| 24 |
+
|
| 25 |
+
**Measuring VLMs as Mobile UI Regression Reviewers**
|
| 26 |
+
|
| 27 |
+
Scry Design Diff Eval is a benchmark built to evaluate vision-language models on
|
| 28 |
+
mobile UI diff review. Each example pairs a reference mobile screenshot
|
| 29 |
+
(`image_a`) with a generated implementation screenshot (`image_b`) and carries
|
| 30 |
+
human-drawn selection boxes plus explicit defect tags. A model must return a
|
| 31 |
+
structured list of UI defects — tags and normalized boxes — not a prose
|
| 32 |
+
description.
|
| 33 |
+
|
| 34 |
+
📄 **Paper**: https://blog.scrymore.com/
|
| 35 |
+
|
| 36 |
+
## Dataset composition
|
| 37 |
+
|
| 38 |
+
| Quantity | Count |
|
| 39 |
+
|---|---:|
|
| 40 |
+
| Eval pairs | 311 |
|
| 41 |
+
| Visual-diff pairs | 234 |
|
| 42 |
+
| No-tagged controls | 77 |
|
| 43 |
+
| Counted tagged issues | 557 |
|
| 44 |
+
|
| 45 |
+
Issue-density buckets (the `split` column):
|
| 46 |
+
|
| 47 |
+
| Bucket | Definition | Pairs |
|
| 48 |
+
|---|---|---:|
|
| 49 |
+
| `single_issue` | 1 tagged issue | 107 |
|
| 50 |
+
| `multi_issue` | 2-3 tagged issues | 80 |
|
| 51 |
+
| `dense_issue` | 4 or more tagged issues | 47 |
|
| 52 |
+
| `no_diff` | 0 scored tagged issues | 77 |
|
| 53 |
+
|
| 54 |
+
The most common defect tags are `Icon/Nav`, `Color/Background`,
|
| 55 |
+
`Spacing/Layout`, `Shape/Size`, `Missing Content`, and `Typography`.
|
| 56 |
+
|
| 57 |
+
## Schema
|
| 58 |
+
|
| 59 |
+
| Column | Type | Description |
|
| 60 |
+
|---|---|---|
|
| 61 |
+
| `id` | string | Pair id, e.g. `amazon-shopping__801` |
|
| 62 |
+
| `app_name` | string | Source app and capture batch |
|
| 63 |
+
| `app_slug` | string | Normalized app identifier |
|
| 64 |
+
| `screen_index` | int | Screen number within the app capture |
|
| 65 |
+
| `split` | string | Issue-density bucket (see above) |
|
| 66 |
+
| `task_type` | string | `visual_diff` or `no_diff` |
|
| 67 |
+
| `n_issues` | int | Number of scored tagged issues |
|
| 68 |
+
| `issue_labels` | list[string] | Union of defect tags on this pair |
|
| 69 |
+
| `ground_truth_issues` | string | JSON array of issues: `{issue_id, labels, box_a, box_b, note?, created_at}` with boxes normalized to `{x, y, w, h}` in [0, 1] |
|
| 70 |
+
| `image_a` | image | Reference screenshot |
|
| 71 |
+
| `image_b` | image | Generated implementation screenshot |
|
| 72 |
+
|
| 73 |
+
Parse `ground_truth_issues` with `json.loads`. A box may be present on side A,
|
| 74 |
+
side B, or both.
|
| 75 |
+
|
| 76 |
+
## Task
|
| 77 |
+
|
| 78 |
+
Given `image_a` and `image_b`, return:
|
| 79 |
+
|
| 80 |
+
```json
|
| 81 |
+
{
|
| 82 |
+
"issues": [
|
| 83 |
+
{
|
| 84 |
+
"labels": ["Icon/Nav"],
|
| 85 |
+
"note": "The bottom navigation icon differs from the reference.",
|
| 86 |
+
"box_a": {"x": 0.10, "y": 0.90, "w": 0.12, "h": 0.07},
|
| 87 |
+
"box_b": {"x": 0.10, "y": 0.90, "w": 0.12, "h": 0.07},
|
| 88 |
+
"confidence": 0.80
|
| 89 |
+
}
|
| 90 |
+
]
|
| 91 |
+
}
|
| 92 |
+
```
|
| 93 |
+
|
| 94 |
+
## Scoring
|
| 95 |
+
|
| 96 |
+
The primary metric is **known-issue recall**. A model issue matches a human
|
| 97 |
+
issue when they share at least one explicit defect tag AND the model box
|
| 98 |
+
overlaps the human box on the same image side with IoU >= 0.10. Matching is
|
| 99 |
+
one-to-one. The judge is deterministic — no LLM judging.
|
| 100 |
+
|
| 101 |
+
The protocol is recall-first because human annotations are known positives, not
|
| 102 |
+
exhaustive negatives: extra model findings may be valid and are reported
|
| 103 |
+
diagnostically (precision, no-tagged flag rate) rather than reducing the
|
| 104 |
+
primary score.
|
| 105 |
+
|
| 106 |
+
## Baseline results (full 311-pair set)
|
| 107 |
+
|
| 108 |
+
| Model | Known-Issue Recall | Diagnostic Precision | Issue F1 |
|
| 109 |
+
|---|---:|---:|---:|
|
| 110 |
+
| Kimi K2.7 Code + Together recovery | 38.2% | 15.9% | 22.5% |
|
| 111 |
+
| Gemini 3.5 Flash | 37.5% | 20.2% | 26.3% |
|
| 112 |
+
| Codex GPT-5.5 xhigh | 37.3% | 13.6% | 19.9% |
|
| 113 |
+
| MiniMax M3 | 21.9% | 11.5% | 15.0% |
|
| 114 |
+
| Gemma 4 26B A4B | 20.3% | 12.4% | 15.4% |
|
| 115 |
+
| Gemma 4 31B | 17.8% | 13.3% | 15.2% |
|
| 116 |
+
|
| 117 |
+
See the paper for pilot results, density and category breakdowns, and static
|
| 118 |
+
controls.
|
| 119 |
+
|
| 120 |
+
## Caveats
|
| 121 |
+
|
| 122 |
+
- **No-tagged controls are a proxy, not a guarantee**: pairs with zero scored
|
| 123 |
+
tagged issues are used as controls but were not exhaustively audited as
|
| 124 |
+
defect-free.
|
| 125 |
+
- **Annotations are known positives**: a model can find a real defect the
|
| 126 |
+
annotators did not tag. Treat precision and no-diff specificity as
|
| 127 |
+
operational diagnostics.
|
| 128 |
+
- **Screenshots**: reference images are captures of real mobile apps, included
|
| 129 |
+
for research and evaluation purposes; all app content remains the property
|
| 130 |
+
of its respective owners. The annotations (boxes, tags, metadata) are
|
| 131 |
+
released under CC BY 4.0.
|
| 132 |
+
|
| 133 |
+
## Citation
|
| 134 |
+
|
| 135 |
+
```bibtex
|
| 136 |
+
@misc{scrydesigndiffeval2026,
|
| 137 |
+
title={Scry Design Diff Eval: Measuring VLMs as Mobile UI Regression Reviewers},
|
| 138 |
+
author={Pinnock, Ejiro},
|
| 139 |
+
year={2026},
|
| 140 |
+
url={https://blog.scrymore.com/}
|
| 141 |
+
}
|
| 142 |
+
```
|