Datasets:
Tasks:
Image-Text-to-Text
Modalities:
Image
Formats:
imagefolder
Languages:
English
Size:
< 1K
ArXiv:
License:
Publish Visual Scaffolding release files
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- DATA_LICENSE.md +12 -0
- NOTICE.md +7 -0
- README.md +85 -0
- SCHEMA.md +34 -0
- burden_counting/images/counting_test_T1a_000000.png +3 -0
- burden_counting/images/counting_test_T1a_000001.png +3 -0
- burden_counting/images/counting_test_T1a_000002.png +3 -0
- burden_counting/images/counting_test_T1a_000003.png +3 -0
- burden_counting/images/counting_test_T1a_000004.png +3 -0
- burden_counting/images/counting_test_T1a_000005.png +3 -0
- burden_counting/images/counting_test_T1a_000006.png +3 -0
- burden_counting/images/counting_test_T1a_000007.png +3 -0
- burden_counting/images/counting_test_T1a_000008.png +3 -0
- burden_counting/images/counting_test_T1a_000009.png +3 -0
- burden_counting/images/counting_test_T1a_000010.png +3 -0
- burden_counting/images/counting_test_T1a_000011.png +3 -0
- burden_counting/images/counting_test_T1a_000012.png +3 -0
- burden_counting/images/counting_test_T1a_000013.png +3 -0
- burden_counting/images/counting_test_T1a_000014.png +3 -0
- burden_counting/images/counting_test_T1a_000015.png +3 -0
- burden_counting/images/counting_test_T1a_000016.png +3 -0
- burden_counting/images/counting_test_T1a_000017.png +3 -0
- burden_counting/images/counting_test_T1a_000018.png +3 -0
- burden_counting/images/counting_test_T1a_000019.png +3 -0
- burden_counting/images/counting_test_T1a_000020.png +3 -0
- burden_counting/images/counting_test_T1a_000021.png +3 -0
- burden_counting/images/counting_test_T1a_000022.png +3 -0
- burden_counting/images/counting_test_T1a_000023.png +3 -0
- burden_counting/images/counting_test_T1a_000024.png +3 -0
- burden_counting/images/counting_test_T1a_000027.png +3 -0
- burden_counting/images/counting_test_T1a_000029.png +3 -0
- burden_counting/images/counting_test_T1a_000030.png +3 -0
- burden_counting/images/counting_test_T1a_000031.png +3 -0
- burden_counting/images/counting_test_T1a_000032.png +3 -0
- burden_counting/images/counting_test_T1a_000033.png +3 -0
- burden_counting/images/counting_test_T1a_000034.png +3 -0
- burden_counting/images/counting_test_T1a_000036.png +3 -0
- burden_counting/images/counting_test_T1a_000037.png +3 -0
- burden_counting/images/counting_test_T1a_000038.png +3 -0
- burden_counting/images/counting_test_T1a_000039.png +3 -0
- burden_counting/images/counting_test_T1a_000040.png +3 -0
- burden_counting/images/counting_test_T1a_000041.png +3 -0
- burden_counting/images/counting_test_T1a_000043.png +3 -0
- burden_counting/images/counting_test_T1a_000044.png +3 -0
- burden_counting/images/counting_test_T1a_000045.png +3 -0
- burden_counting/images/counting_test_T1a_000046.png +3 -0
- burden_counting/images/counting_test_T1a_000047.png +3 -0
- burden_counting/images/counting_test_T1a_000049.png +3 -0
- burden_counting/images/counting_test_T1a_000050.png +3 -0
- burden_counting/images/counting_test_T1a_000051.png +3 -0
DATA_LICENSE.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Benchmark data license
|
| 2 |
+
|
| 3 |
+
The benchmark image compositions and annotations are provided under the Creative Commons Attribution-ShareAlike 4.0 International license. The license text is included in [licenses/OpenMoji-CC-BY-SA-4.0.txt](licenses/OpenMoji-CC-BY-SA-4.0.txt).
|
| 4 |
+
|
| 5 |
+
Upstream artwork retains its own attribution and license:
|
| 6 |
+
|
| 7 |
+
- **OpenMoji**, by the OpenMoji contributors at HfG Schwäbisch Gmünd: https://openmoji.org/ and https://github.com/hfg-gmuend/openmoji. The artwork is licensed under CC BY-SA 4.0 and is used in Burden Counting.
|
| 8 |
+
- **Twemoji**, by Twitter, Inc. and other contributors: https://github.com/twitter/twemoji. The graphics are licensed under CC BY 4.0, reproduced in [licenses/Twemoji-CC-BY-4.0.txt](licenses/Twemoji-CC-BY-4.0.txt), and are used for icon endpoints in Path Tracing.
|
| 9 |
+
|
| 10 |
+
The benchmark resizes and composites graphics into generated scenes. Counting scenes can also rotate and occlude instances. Path scenes place icons at generated curve endpoints. These modifications form the benchmark compositions and do not imply endorsement by the artwork creators.
|
| 11 |
+
|
| 12 |
+
Code and model weights are covered separately as described in the repository README.
|
NOTICE.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Attribution
|
| 2 |
+
|
| 3 |
+
Visual Scaffolding code: Copyright 2026 Visual Scaffolding contributors. Distributed under Apache License 2.0.
|
| 4 |
+
|
| 5 |
+
The pretrained models are derived from Qwen3-VL-4B-Thinking by the Qwen team. Backbone source: https://huggingface.co/Qwen/Qwen3-VL-4B-Thinking. Backbone license: Apache License 2.0. The release adds learned visual retrieval and evidence adaptation modules and includes task-adapted model weights.
|
| 6 |
+
|
| 7 |
+
Benchmark artwork includes OpenMoji and Twemoji. Their authors, source URLs, licenses, and transformations are identified in DATA_LICENSE.md. Their graphics licenses remain applicable to the incorporated artwork.
|
README.md
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-sa-4.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
pretty_name: NMR-Bench
|
| 6 |
+
task_categories:
|
| 7 |
+
- image-text-to-text
|
| 8 |
+
tags:
|
| 9 |
+
- multimodal-reasoning
|
| 10 |
+
- visual-reasoning
|
| 11 |
+
- benchmark
|
| 12 |
+
size_categories:
|
| 13 |
+
- n<1K
|
| 14 |
+
configs:
|
| 15 |
+
- config_name: burden_counting
|
| 16 |
+
data_files:
|
| 17 |
+
- split: test
|
| 18 |
+
path: burden_counting/images/*.png
|
| 19 |
+
drop_labels: true
|
| 20 |
+
- config_name: path_tracing
|
| 21 |
+
data_files:
|
| 22 |
+
- split: test
|
| 23 |
+
path: path_tracing/images/*.png
|
| 24 |
+
drop_labels: true
|
| 25 |
+
---
|
| 26 |
+
|
| 27 |
+
# NMR-Bench
|
| 28 |
+
|
| 29 |
+
**A visual reasoning benchmark for [Visual Scaffolding](https://github.com/GeoX-Lab/VisualScaffolding).** It tests whether a model can keep track of object identity and spatial continuity while reasoning over an image.
|
| 30 |
+
|
| 31 |
+
| Task | Challenge | Test images |
|
| 32 |
+
|---|---|---:|
|
| 33 |
+
| **Burden Counting** | Count and compare objects in crowded scenes | 420 |
|
| 34 |
+
| **Path Tracing** | Follow curves through crossings to match endpoints | 360 |
|
| 35 |
+
|
| 36 |
+
Task-specific checkpoints: [Burden Counting](https://huggingface.co/ShaoRun/vscaffold-4b-burden-counting) · [Path Tracing](https://huggingface.co/ShaoRun/vscaffold-4b-path-tracing).
|
| 37 |
+
|
| 38 |
+
## 🖼️ A look at the benchmark
|
| 39 |
+
|
| 40 |
+
Two **hard** examples from the test set are shown below. The queries and ground truths match the released annotations.
|
| 41 |
+
|
| 42 |
+
| Burden Counting | Path Tracing |
|
| 43 |
+
|:---:|:---:|
|
| 44 |
+
| <img src="burden_counting/images/counting_test_T2c_1000040.png" width="340" alt="Hard Burden Counting sample with partly occluded butterflies"> | <img src="path_tracing/images/path_test_cell060_seed00060000.png" width="340" alt="Hard Path Tracing sample with icon endpoints"> |
|
| 45 |
+
|
| 46 |
+
**Burden Counting** · `counting_test_T2c_1000040`
|
| 47 |
+
|
| 48 |
+
> **Query:** How many butterflies in this image are partially covered by another object? Give your final answer as a single integer inside `\boxed{}`, for example `\boxed{7}`.
|
| 49 |
+
>
|
| 50 |
+
> **GT:** There are `\boxed{21}` covered butterflies.
|
| 51 |
+
|
| 52 |
+
**Path Tracing** · `path_test_cell060_seed00060000`
|
| 53 |
+
|
| 54 |
+
> **Query:** The image contains multiple curves, each connecting two endpoints in the image. The endpoints in this image are labeled: {blue_circle, cat, crown, diamond_shape, dog, frog, hammer, heart, light_bulb, mushroom, star, sun}. Each label appears exactly once. Your task is to identify all connection pairs.
|
| 55 |
+
>
|
| 56 |
+
> Trace each curve carefully. Pay attention to crossings where lines overlap — at each crossing, the correct continuation should maintain smooth direction and curvature consistency. After completing all traces, verify your results to ensure they are consistent and correct.
|
| 57 |
+
>
|
| 58 |
+
> Output the connection pairs in the format: `\boxed{(label_a, label_b), (label_c, label_d), ...}`
|
| 59 |
+
>
|
| 60 |
+
> **GT:** Based on the traces above, the connection pairs are: `\boxed{(blue_circle, star), (cat, diamond_shape), (crown, heart), (dog, light_bulb), (frog, mushroom), (hammer, sun)}`.
|
| 61 |
+
|
| 62 |
+
## 🚀 Get started
|
| 63 |
+
|
| 64 |
+
With Python 3.12, download the test sets and run the scorer from the [GitHub repository](https://github.com/GeoX-Lab/VisualScaffolding):
|
| 65 |
+
|
| 66 |
+
```bash
|
| 67 |
+
git clone https://github.com/GeoX-Lab/VisualScaffolding.git
|
| 68 |
+
cd VisualScaffolding
|
| 69 |
+
pip install -e .
|
| 70 |
+
pip install huggingface_hub
|
| 71 |
+
hf download ShaoRun/nmr-bench --repo-type dataset --local-dir benchmark
|
| 72 |
+
python -m visual_scaffolding score \
|
| 73 |
+
--task burden_counting \
|
| 74 |
+
--benchmark benchmark \
|
| 75 |
+
--predictions predictions/counting.jsonl \
|
| 76 |
+
--output outputs/counting-summary.json
|
| 77 |
+
```
|
| 78 |
+
|
| 79 |
+
The scorer expects a JSONL prediction for every test sample, with `sample_id` and `response` fields. Use `--task path_tracing` for the other task. See the [GitHub README](https://github.com/GeoX-Lab/VisualScaffolding#readme) for model inference and the full evaluation workflow.
|
| 80 |
+
|
| 81 |
+
## 📂 Data and license
|
| 82 |
+
|
| 83 |
+
Each task has an `images/` directory, `metadata.jsonl` for the Hub's image viewer, and `test.jsonl` for the companion evaluator. Records contain the image path, question, answer, difficulty, and sample checksum. **Use the answer only for scoring; pass the image and question to the model.** Field definitions are in [SCHEMA.md](SCHEMA.md), and file checksums are in `manifest.json`.
|
| 84 |
+
|
| 85 |
+
Compositions and annotations are licensed under **CC BY-SA 4.0**. The images include OpenMoji and Twemoji artwork under their respective licenses. See [DATA_LICENSE.md](DATA_LICENSE.md) and [NOTICE.md](NOTICE.md) for attribution.
|
SCHEMA.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# NMR-Bench test data
|
| 2 |
+
|
| 3 |
+
`manifest.json` identifies each task's annotation file, sample count, and annotation-file SHA-256. Each `test.jsonl` record contains:
|
| 4 |
+
|
| 5 |
+
| Field | Meaning |
|
| 6 |
+
|---|---|
|
| 7 |
+
| `sample_id` | Stable benchmark identifier |
|
| 8 |
+
| `image` | Image path relative to the task directory |
|
| 9 |
+
| `image_sha256` | SHA-256 of the supplied PNG |
|
| 10 |
+
| `question` | Exact model input question |
|
| 11 |
+
| `answer` | Canonical target answer, used only by the scorer |
|
| 12 |
+
| `difficulty` | `easy`, `medium`, or `hard` |
|
| 13 |
+
| `task_form` | Counting question type, when applicable |
|
| 14 |
+
| `endpoint_type` | Path endpoint-marker category, when applicable |
|
| 15 |
+
|
| 16 |
+
The corresponding `metadata.jsonl` in each task directory exposes the same records to the Hugging Face image viewer. It uses `file_name` instead of `image` to associate each row with a PNG under `images/`; `test.jsonl` remains the evaluator's canonical annotation file.
|
| 17 |
+
|
| 18 |
+
Burden Counting has 420 images: seven forms × three difficulty levels × 20 images. Path Tracing has 360 images: three difficulty levels × 120 images, balanced across letters, numbers, icons, and shapes.
|
| 19 |
+
|
| 20 |
+
| Counting form | Question | Boxed answer |
|
| 21 |
+
|---|---|---|
|
| 22 |
+
| T1a | Category count | Integer |
|
| 23 |
+
| T2a | Category and size | Integer |
|
| 24 |
+
| T2b | Category and tilt | Integer |
|
| 25 |
+
| T2c | Category and occlusion | Integer |
|
| 26 |
+
| T2d | Category, size, and tilt | Integer |
|
| 27 |
+
| T3a | Compare size-group counts | Group label, count difference |
|
| 28 |
+
| T3b | Most frequent listed category | Category label, count |
|
| 29 |
+
|
| 30 |
+
Path answers list unordered endpoint pairs, for example `\boxed{(A, G), (B, M), (L, N)}`. Labels are normalized for case, numeric formatting, and backslash escapes.
|
| 31 |
+
|
| 32 |
+
The last boxed answer is used. Counting also supports the scorer's reasoning-channel fallback when a model provides reasoning separately. In the single tied T3a case, the stored canonical answer is `small, 0`, applied consistently to all models.
|
| 33 |
+
|
| 34 |
+
The model adapter receives only the image and question. Answers are reserved for scoring. Do not use target answers to construct prompts or predictions.
|
burden_counting/images/counting_test_T1a_000000.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000001.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000002.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000003.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000004.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000005.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000006.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000007.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000008.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000009.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000010.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000011.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000012.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000013.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000014.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000015.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000016.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000017.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000018.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000019.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000020.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000021.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000022.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000023.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000024.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000027.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000029.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000030.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000031.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000032.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000033.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000034.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000036.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000037.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000038.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000039.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000040.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000041.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000043.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000044.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000045.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000046.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000047.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000049.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000050.png
ADDED
|
Git LFS Details
|
burden_counting/images/counting_test_T1a_000051.png
ADDED
|
Git LFS Details
|