Datasets:
Tasks:
Text Generation
Formats:
parquet
Languages:
English
Size:
10K - 100K
ArXiv:
Tags:
arxiv:2610.22312
benchmark
llm-evaluation
spatial-reasoning
state-prediction
executable-benchmark
License:
Add dataset card visuals: banner, leaderboard, operations, task figure
Browse filesFiles changed (2)
- README.md+83-36
- manifest.json+2-2
4 unmodified lines5678910111210 unmodified lines23242526272829303132331 unmodified line3536373839404142434445468 unmodified lines555657585960616263646566676869707172737475767778798 unmodified lines8889909192939495969798991007 unmodified lines1081091101111121131141151161171181191201211221231241251261271281294 unmodified linespretty_name: Grid-Benchsize_categories:- 1K<n<10Ktags:- arxiv:2610.22312- spatial-reasoning- state-prediction- executable-benchmark10 unmodified linespath: data/results.parquet---# Grid-Bench**Grid-Bench: Can LLMs Predict How Discrete Worlds Change?**[Paper](https://arxiv.org/abs/2610.22312) · [Website](https://grid-bench.github.io/) · [Code](https://github.com/grid-bench/Grid-Bench)Grid-Bench evaluates complete spatial state prediction. Each instance gives alanguage model an initial grid, explicit transition rules, and an ordered event1 unmodified lineprovide exact reference states, allowing both complete answers and individualcell values to be checked.Explore the [project website](https://grid-bench.github.io/) and use the companion[code repository](https://github.com/grid-bench/Grid-Bench) to simulate, generate,and score tasks. Maintainer: Zixiang Xu ([xzx34](https://github.com/xzx34)).Original data and documentationare licensed under [CC BY 4.0](LICENSE). Collected model answers are notdistributed; see [licensing and release scope](LICENSE_STATUS.md).## Contents8 unmodified linesThe histories have 0, 1, 8, 16, 32, or 64 events. Each history uses one operationfamily and may include SET assignments.The six evaluated models, in fixed display order, are GPT-5.6 Sol, Claude 5Sonnet, GPT-5.4 Mini, GLM-5, Kimi K2.5, and MiniMax M2.5. All six answer the samebenchmark instances. Result rows describe evaluations of these questions, not additional benchmarkquestions. They contain measurements, not model answers.## Load the datasetInstall the optional loader with `python -m pip install datasets`, then loadeither configuration directly:```pythonfrom datasets import load_datasetroot = "xzx34/Grid-Bench"benchmark = load_dataset(root, "benchmark", split="test")results = load_dataset(root, "results", split="test")print(benchmark[0]["prompt"])```For offline evaluation and summary reproduction, download the full package.Install `huggingface_hub` with `python -m pip install huggingface_hub`, then run:8 unmodified lines```This includes the manifest and supplementary evidence needed by the reproductionscript. A downloaded directory can also replace `root` in the loading example.The companion Python package uses `grid_bench`; its command is `grid-bench`.After installing the code repository, evaluate your own response file directly:```shgrid-bench evaluate --data /absolute/path/to/huggingface \--predictions responses.jsonl --view main --out results```7 unmodified linesPython's `json` module. JSON-string fields can be decoded with `json.loads`.The Parquet export preserves the same field values, including nulls.## A small exampleConsider a 2×2 world whose nonzero cells are `[0,0]=1` and `[1,1]=1`. A PAINTevent centered at `[0,0]`, with radius 1, replaces value 1 with value 2 insidethe Manhattan ball. Only `[0,0]` changes. The complete answer is:```json{"cells": [[[0, 0], 2], [[1, 1], 1]]}```Coordinates and axes are zero-based. Unlisted cells have value zero. Thecanonical output contains every nonzero cell exactly once in lexicographiccoordinate order. The supplied prompt explains the applicable rule and includesa worked example. The illustration above is for documentation; it is not anadditional test instance.## Benchmark fieldsThe machine-readable types are in [schema.json](schema.json).4 unmodified lines567891011121314151610 unmodified lines2728293031323334353637383940414243441 unmodified line464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596978 unmodified lines1061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401418 unmodified lines1501511521531541551561571581591601611621637 unmodified lines1711721731741751764 unmodified linespretty_name: Grid-Benchsize_categories:- 1K<n<10Ktask_categories:- text-generationtags:- arxiv:2610.22312- benchmark- llm-evaluation- spatial-reasoning- state-prediction- executable-benchmark10 unmodified linespath: data/results.parquet---<p align="center"><img src="https://raw.githubusercontent.com/grid-bench/Grid-Bench/main/docs/assets/banner.webp" width="100%" alt="Grid-Bench: Can LLMs Predict How Discrete Worlds Change? A 3D benchmark world changes event by event in the reference simulator."></p><p align="center"><a href="https://arxiv.org/abs/2610.22312"><img alt="arXiv 2610.22312" src="https://img.shields.io/badge/arXiv-2610.22312-b31b1b?logo=arxiv&logoColor=white"></a><a href="https://grid-bench.github.io/"><img alt="Website" src="https://img.shields.io/badge/Website-grid--bench.github.io-35d0f0"></a><a href="https://github.com/grid-bench/Grid-Bench"><img alt="Code on GitHub" src="https://img.shields.io/badge/Code-grid--bench%2FGrid--Bench-181717?logo=github&logoColor=white"></a><a href="LICENSE"><img alt="Data license: CC BY 4.0" src="https://img.shields.io/badge/data-CC%20BY%204.0-e35d9f"></a></p># Grid-Bench: Can LLMs Predict How Discrete Worlds Change?Grid-Bench evaluates complete spatial state prediction. Each instance gives alanguage model an initial grid, explicit transition rules, and an ordered event1 unmodified lineprovide exact reference states, allowing both complete answers and individualcell values to be checked.Use the companion [code repository](https://github.com/grid-bench/Grid-Bench) tosimulate, generate, and score tasks, and explore the[project website](https://grid-bench.github.io/) for interactive examples.Maintainer: Zixiang Xu ([xzx34](https://github.com/xzx34)). Original data anddocumentation are licensed under [CC BY 4.0](LICENSE). Collected model answersare not distributed; see [licensing and release scope](LICENSE_STATUS.md).## Quick start```pythonfrom datasets import load_datasetbenchmark = load_dataset("xzx34/Grid-Bench", "benchmark", split="test")results = load_dataset("xzx34/Grid-Bench", "results", split="test")print(benchmark[0]["prompt"])```Send each `prompt` to your model, then score the responses with the[`grid-bench evaluate`](https://github.com/grid-bench/Grid-Bench#evaluate-your-model)command. [Load the dataset](#load-the-dataset) covers offline downloads and theevaluator.## Leaderboard<p align="center"><img src="https://raw.githubusercontent.com/grid-bench/Grid-Bench/main/docs/assets/leaderboard.png" width="100%" alt="Exact match by history length for six models on the main benchmark. Pooled over T = 8–64: GPT-5.6 Sol 40.9%, Claude 5 Sonnet 26.2%, Kimi K2.5 7.4%, MiniMax M2.5 6.2%, GLM-5 3.6%, GPT-5.4 Mini 3.4%."></p>Exact match on the `main` view, aggregated from the `results` configuration.Six models answer the same prompts, once each and without tools; a grid countsonly if every cell is right. T is the number of events in the history. Empty,invalid, and length-terminated outputs count as wrong.<details><summary>Leaderboard as a table</summary>| Model | T = 0 | T = 1 | T = 8 | T = 16 | T = 32 | T = 64 | Pooled, T = 8–64 || --- | ---: | ---: | ---: | ---: | ---: | ---: | ---: || GPT-5.6 Sol | 100% | 95.3% | 75.5% | 45.3% | 29.7% | 13.0% | **40.9%** || Claude 5 Sonnet | 100% | 71.4% | 47.4% | 31.8% | 18.2% | 7.3% | **26.2%** || Kimi K2.5 | 100% | 77.1% | 17.2% | 9.4% | 3.1% | 0.0% | **7.4%** || MiniMax M2.5 | 97.9% | 78.1% | 16.1% | 5.7% | 2.6% | 0.5% | **6.2%** || GLM-5 | 99.5% | 50.0% | 8.9% | 4.2% | 1.6% | 0.0% | **3.6%** || GPT-5.4 Mini | 99.5% | 35.9% | 9.4% | 2.6% | 1.0% | 0.5% | **3.4%** |</details>## Contents8 unmodified linesThe histories have 0, 1, 8, 16, 32, or 64 events. Each history uses one operationfamily and may include SET assignments.<p align="center"><img src="https://raw.githubusercontent.com/grid-bench/Grid-Bench/main/docs/assets/operations.webp" width="100%" alt="Eight cards, one per operation family (PAINT, REFLECT, STENCIL, MIX, RELABEL, LAYER, MOVE, COMPRESS), each replaying a real 3D benchmark trajectory in the reference simulator."></p>The six evaluated models, in fixed display order, are GPT-5.6 Sol, Claude 5Sonnet, GPT-5.4 Mini, GLM-5, Kimi K2.5, and MiniMax M2.5. All six answer the samebenchmark instances. Result rows describe evaluations of these questions, not additional benchmarkquestions. They contain measurements, not model answers.## The task<p align="center"><img src="https://raw.githubusercontent.com/grid-bench/Grid-Bench/main/docs/assets/task.png" width="100%" alt="A 4×4 example: the initial world W0, three events (MOVE right one cell, SET cell [1,1] to 2, MOVE up at most two cells), the intermediate worlds W1 and W2, and the target W3. The model reads W0, the rule, and the events, writes the complete final grid as JSON, and the simulator checks every coordinate."></p>The figure follows the paper's Figure 1 example; it is not a test instance. Anentity `1` moves right one cell, a SET event places an obstacle `2` at `[1,1]`,and the entity then moves up until that obstacle stops it. The complete answer is:```json{"cells": [[[0, 2], 2], [[0, 3], 2], [[1, 0], 2], [[1, 1], 2], [[2, 1], 1], [[2, 3], 2], [[3, 3], 2]]}```Coordinates and axes are zero-based. Unlisted cells have value zero. Thecanonical output contains every nonzero cell exactly once in lexicographiccoordinate order. The supplied prompt explains the applicable rule and includesa worked example.## Load the datasetFor offline evaluation and summary reproduction, download the full package.Install `huggingface_hub` with `python -m pip install huggingface_hub`, then run:8 unmodified lines```This includes the manifest and supplementary evidence needed by the reproductionscript. A downloaded directory can also replace the repository ID in the loadingexample.The companion Python package uses `grid_bench`; its command is `grid-bench`.After installing the code repository, evaluate your own response file directly:```shgrid-bench evaluate --data /absolute/path/to/Grid-Bench-data \--predictions responses.jsonl --view main --out results```7 unmodified linesPython's `json` module. JSON-string fields can be decoded with `json.loads`.The Parquet export preserves the same field values, including nulls.## Benchmark fieldsThe machine-readable types are in [schema.json](schema.json).
37 unmodified lines383940414243444537 unmodified lines"sha256": "91443ead5826861a0ef79892f81ecc9318e9be6efc28951db99db83886fdaa66"},"README.md": {"bytes": 12830,"sha256": "4c619efaca77a36b9a29c08311b364c6e4974f1054d9fa77606ae58a2ae85807"},"data/benchmark.jsonl": {"bytes": 17217389,37 unmodified lines383940414243444537 unmodified lines"sha256": "91443ead5826861a0ef79892f81ecc9318e9be6efc28951db99db83886fdaa66"},"README.md": {"bytes": 15896,"sha256": "f01d286b1a6525dc4195be6ce7841b58324161d4bf62be0fee592b1804e60a7d"},"data/benchmark.jsonl": {"bytes": 17217389,
README.md+83-36
manifest.json+2-2