id stringlengths 14 16 | original imagewidth (px) 420 980 | start_end_markers imagewidth (px) 420 980 | axis_labels imagewidth (px) 470 1.03k | axis_labels_and_start_end imagewidth (px) 470 1.03k | cell_coordinates imagewidth (px) 450 1.05k | text_symbols imagewidth (px) 350 950 | low_contrast imagewidth (px) 420 980 | low_contrast_with_cell_coordinates imagewidth (px) 420 980 | low_resolution imagewidth (px) 420 980 | low_resolution_with_cell_coordinates imagewidth (px) 450 1.05k | rotated imagewidth (px) 471 1.17k | rotated_with_cell_coordinates imagewidth (px) 507 1.26k | black_frame imagewidth (px) 460 1.02k | black_frame_with_cell_coordinates imagewidth (px) 490 1.09k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d8213dd0a6cba29d | ||||||||||||||
7a5ce243802ad572 | ||||||||||||||
8d63c45ea08384f1 | ||||||||||||||
578f4c4c2fc240cc | ||||||||||||||
cd5a011918ff996d | ||||||||||||||
344f96d1b2a6cd0d | ||||||||||||||
b5331b2b87505665 | ||||||||||||||
16d41fb67321416e | ||||||||||||||
a4fb5bf7520e3af | ||||||||||||||
d3beb0766a557fd7 | ||||||||||||||
17d964ca6b2ae83b | ||||||||||||||
e605b97de4e8f43c | ||||||||||||||
47d93b1dbac53e44 | ||||||||||||||
55385e5af0f0959b | ||||||||||||||
a85a59719437a73c | ||||||||||||||
5514144da670ca1e | ||||||||||||||
969574bfc1fc1bab | ||||||||||||||
452b585f259fed52 | ||||||||||||||
88a9b0e07ea4a1fd | ||||||||||||||
df60fe92f6b45f06 | ||||||||||||||
e9acffc5b904968c | ||||||||||||||
9190cef9530b333b | ||||||||||||||
ed9833ff4e746ac4 | ||||||||||||||
143e1798cc76ad73 | ||||||||||||||
48471868e02d5906 | ||||||||||||||
b7b3aa1bcf7d8eec | ||||||||||||||
eb4976722ea94488 | ||||||||||||||
6f95ce1555767482 | ||||||||||||||
94710b3215353a89 | ||||||||||||||
a7a261e9f33d777b | ||||||||||||||
e79e3a75c6bd1f0e | ||||||||||||||
91416fec54a28b4e | ||||||||||||||
a00a8622c237783b | ||||||||||||||
7dfe445d74c2cd09 | ||||||||||||||
2b4906520c40405e | ||||||||||||||
9fa21ff762bb88f | ||||||||||||||
668f278dc2efdb15 | ||||||||||||||
a434c87140eaa12d | ||||||||||||||
c91ca0da6b859589 | ||||||||||||||
25cce842f872d738 | ||||||||||||||
99139572272be1a3 | ||||||||||||||
60b1c0c4af7bd65 | ||||||||||||||
4b65762d6130ee20 | ||||||||||||||
4d6f3b0d5f72c4f4 | ||||||||||||||
a524b5068d589a5f | ||||||||||||||
f252ab22f8165171 | ||||||||||||||
1e2011c6e0b88a8a | ||||||||||||||
a998637a7a71dada | ||||||||||||||
eaf5289cef522cc9 | ||||||||||||||
9beaddcb78a7a6b2 | ||||||||||||||
450a90be3f7b58be | ||||||||||||||
caedb4fb0e730916 | ||||||||||||||
dc682c9866268027 | ||||||||||||||
bbaf75404bdc7e8a | ||||||||||||||
8ba77a8705f4e461 | ||||||||||||||
f4e040853f7f9b5c | ||||||||||||||
38ba156947f6427c | ||||||||||||||
c4ca721199c6b3ba | ||||||||||||||
2a5122dd005797da | ||||||||||||||
aecbd9abdb5c6edb | ||||||||||||||
8907e9420fb651cd | ||||||||||||||
6d79090b30b8c62c | ||||||||||||||
3c62ceabd9389518 | ||||||||||||||
743c89b3ab0fe2f6 | ||||||||||||||
a82f952f47e44ea | ||||||||||||||
308e8735aba04cd9 | ||||||||||||||
ee96751ecd1992ed | ||||||||||||||
f2e5ae278f646423 | ||||||||||||||
e6b07724594a046c | ||||||||||||||
2469f46d315118b6 | ||||||||||||||
e8aa239be8ff12c3 |
SPaRC Dataset
Paper • Website • Code • Spatial-Gym • Solver • Generator
A grid-based puzzle dataset for benchmarking LLMs spatial reasoning capabilities.
Configs
all is the benchmark: 500 train and 500 test puzzles that mix all rule types. It is not the union of the other
configs. The per-rule configs (dots, gaps, stars, stones, triangles, polys, polys_ylops, stones_stars,
dots_stars_polys, gaps_dots_triangles) hold separate puzzles with only some rule types. The paper uses them for
its per-rule results (Table 8).
The images config holds pictures of all 2,000 puzzles: the 1,000 from all and the 1,000 from the rule configs,
with the same train/test split. It has only an id column and one image column per drawing type, so join it with
any other config on id. The dataset viewer opens on this config. The text configs have no images, so loading them
stays as small as before.
| Column | What it shows | plot_type in sparc-visualization |
|---|---|---|
original |
The puzzle as the visual SPaRC tasks show it to models | original |
start_end_markers |
Start and exit marked with S and E | start_end_marked |
axis_labels |
Row and column numbers along the edges | coordinate_grid |
axis_labels_and_start_end |
Axis labels plus S and E | coordinate_grid_and_start_end_marked |
cell_coordinates |
The coordinates of every cell | path_cell_annotated |
text_symbols |
Cell coordinates, with every symbol written as a word | text |
low_contrast |
Faded colors | low_contrast |
low_contrast_with_cell_coordinates |
Faded colors with cell coordinates | low_contrast_and_path_cell_annotated |
low_resolution |
Scaled down and back up | low_resolution |
low_resolution_with_cell_coordinates |
Lower resolution with cell coordinates | low_resolution_and_path_cell_annotated |
rotated |
Board rotated by 15 degrees | rotated |
rotated_with_cell_coordinates |
Rotated board with cell coordinates | rotated_and_path_cell_annotated |
black_frame |
A black frame around the board | black_frame |
black_frame_with_cell_coordinates |
Black frame with cell coordinates | black_frame_and_path_cell_annotated |
The first six columns are the drawings from Is Visual Prompting All You Need? (Findings of EMNLP 2026). All images were drawn with sparc-visualization 0.2.2. The JSONL files in the repository root hold the same puzzles as plain text.
Data Schema
Each record (JSON) includes:
id(string): unique puzzle identifierdifficulty_level(int) &difficulty_score(float)grid_size:{ "height": H, "width": W }polyshapes: JSON string mapping shape IDs to binary gridspuzzle_array: 2D array with cell codes (e.g.,S,E,+,P-O-112)solution_count(int) andsolutionslist (withindex,path,pathLength)text_visualization: YAML-style summary
Sample Entry
{
"id": "10e68dc3a6fbfcdf",
"difficulty_level": 3,
"difficulty_score": 2.3261,
"grid_size": {"height":3,"width":4},
"polyshapes":"{\"112\":[[0,1,...]]}",
"puzzle_array":[
["+","+","+","E"],
["+","P-O-112","+","o-O"],
["S","N","+","G"]
],
"solution_count": 10,
"solutions": [ { "index":0, "pathLength":34, ... } ],
"text_visualization": "..."
}
Citation Information
If you use the dataset in any way, please cite the following paper. Preprint: https://arxiv.org/abs/2505.16686
@inproceedings{kaesberg-etal-2025-sparc,
title = "{SP}a{RC}: A Spatial Pathfinding Reasoning Challenge",
author = "Kaesberg, Lars Benedikt and Wahle, Jan Philip and Ruas, Terry and Gipp, Bela",
booktitle = "Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing",
month = nov,
year = "2025",
address = "Suzhou, China",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2025.emnlp-main.526/",
doi = "10.18653/v1/2025.emnlp-main.526",
pages = "10359--10390"
}
Related Papers
Two follow-up papers use the SPaRC puzzles. BibTeX for both is on the website.
- Mind the Gap Between Spatial Reasoning and Acting! Step-by-Step Evaluation of Agents With Spatial-Gym turns SPaRC into a step-by-step environment for agents.
- Is Visual Prompting All You Need? Studying VLM Spatial Reasoning under Progressive Visual Scaffolds studies vision-language models on SPaRC with visual scaffolds. Findings of EMNLP 2026.
For a plain-language walk-through of all three papers, see Spatial Reasoning in AI Models, Taken Apart on Towards Data Science.
- Downloads last month
- 2,016