Grid-Bench: Can LLMs Predict How Discrete Worlds Change?
Organizations: University of Southern California · Mohamed bin Zayed University of Artificial Intelligence · Meta · University of Notre Dame ·
Abstract
Spatial instructions describe how to move objects, transform regions, or modify their surroundings. When several operations are applied in sequence, each acts on a configuration shaped by earlier changes. How accurately can large language models (LLMs) predict the resulting spatial state? We introduce Grid-Bench, an executable benchmark in which eight families of operations transform discrete worlds represented as two-, three-, and four-dimensional grids. Given an initial grid, explicit rules, and an event history expressed as text, a model predicts the complete final grid. Reference execution makes every predicted value checkable, supporting comparisons across spatial operations, history lengths, and workloads. Evaluating six LLMs shows that complete-state accuracy falls sharply as histories grow, with substantial divergence among models that perform similarly on single events. Models with similar exact-match accuracy can nevertheless differ substantially in the number of incorrect cells on shared instances. Even over long histories, some models recover many correct changes beyond what copying the initial state would yield. Grid-Bench makes both complete recovery and these differences in returned states directly measurable across a range of spatial conditions.
Figures & tables
| Rule | Spatial selection | State transformation |
|---|---|---|
| PAINT | Cells with a specified source value inside a Manhattan ball. | Simultaneously replace the source value with a target value. |
| REFLECT | An axis-aligned box. | Apply a bijective reflection along one axis, including zero-valued cells. |
| STENCIL | A Manhattan ball, with reads from adjacent cells beyond the ball. | Replace each selected value by a modular sum over its old local neighborhood. |
| MIX | Cells reachable within a bounded number of steps through nonzero cells. | Apply synchronous neighborhood aggregation while keeping updated cells nonzero. |
| RELABEL | The maximal equal-valued connected component containing a seed. | Assign one target value to the entire component. |
| LAYER | A component boundary or the component cells exposed to empty space. | Grow the component by one layer or erode its exposed layer. |
| Evaluation | Instances per model | Six-model outcomes |
|---|---|---|
| Main | 1,152 | 6,912 |
| Additional workload | 336 | 2,016 |
| Unique total | 1,488 | 8,928 |
| Model | Pred. | Copy | Zero | |
|---|---|---|---|---|
| GPT-5.6 Sol | 191/192 | 81.6 | 51.0 | 48.8 |
| Claude 5 Sonnet | 58/192 | 90.5 | 49.5 | 56.5 |
| GPT-5.4 Mini | 151/192 | 56.1 | 50.6 | 49.8 |
| GLM-5 | 148/192 | 62.4 | 52.5 | 50.6 |
| Kimi K2.5 | 138/192 | 55.6 | 51.1 | 50.2 |
| MiniMax M2.5 | 137/192 | 52.4 | 50.9 | 49.4 |
| Model | ||||||
|---|---|---|---|---|---|---|
| GPT-5.6 Sol | 62 | 60 | 61 | 49 | 21 | 17 |
| Claude 5 Sonnet | 53 | 52 | 32 | 34 | 16 | 11 |
| GPT-5.4 Mini | 29 | 26 | 14 | 4 | 1 | 0 |
| GLM-5 | 47 | 30 | 19 | 6 | 2 | 0 |
| Kimi K2.5 | 56 | 53 | 39 | 13 | 5 | 0 |
Appendix figures & tables18 assets
Supplementary material from the paper’s appendix.
Appendix
| Work | Setting | Supplied information | Evaluated output | Evaluation focus |
|---|---|---|---|---|
| SPARTQA ( Mirzaee et al., 2021 ) | Textual scenes | Description and question | Relation, object, or containment answer | Spatial relations and reasoning steps |
| CLEVR/NLVR/VSR ( Johnson et al., 2017 ; Suhr et al., 2017 ; Liu et al., 2023b ) | Visual scenes | Image and language | Answer or statement truth | Compositional and spatial relations |
| SCONE ( Long et al., 2016 ) | Executable domains | Initial world and instructions | Executable logical forms | Final-world denotation accuracy |
| ProPara/OpenPI ( Dalvi et al., 2018 ; Tandon et al., 2020 ) | Natural processes | Procedural text | Entity states or change tuples | Changes through process steps |
| Entity tracking ( Kim and Schuster, 2023 ) | Containers and objects | Initial contents and events | Queried container contents | Update and retention |
| Interactive worlds ( Côté et al., 2018 ; Shridhar et al., 2021 ; Wang et al., 2022 ) | Textual or embodied environments | Observations and goals | Agent-selected actions | Goal success and efficiency |
| Rule | Initial values | Event parameters | Final values |
|---|---|---|---|
| PAINT | |||
| REFLECT | |||
| STENCIL | |||
| MIX | |||
| RELABEL | |||
| LAYER |
| Shape | Boundary | |||||
|---|---|---|---|---|---|---|
| 2 | 256 | 480 | 3.750 | 23.44% | 1216 | |
| 3 | 252 | 636 | 5.048 | 68.25% | 1524 | |
| 4 | 256 | 768 | 6.000 | 93.75% | 1792 |
| Rule | Target | Unit | Alphabet / initializer | Density band | SET rate |
|---|---|---|---|---|---|
| PAINT | 100 | reads | / uniform | .45–.65 | .2 |
| REFLECT | 64 | reads | / uniform | .45–.65 | .2 |
| STENCIL | 10 | support | / uniform | .55–.85 | .2 |
| MIX | 12 | support | / uniform | .55–.70 | .2 |
| RELABEL | 100 | reads | / regions | .50–.65 | .2 |
| LAYER | 60 | reads | / regions | .45–.60 | .2 |
| Model | Requested identity | Recorded route | Recorded request parameters |
|---|---|---|---|
| GPT-5.6 Sol | gpt-5.6-sol | azure/gpt-5.6-sol | max_completion_tokens = 128000 reasoning_effort = "high" |
| Claude 5 Sonnet | claude-sonnet | vertex_ai/claude-sonnet-5 | max_completion_tokens = 128000 reasoning_effort = "high" |
| GPT-5.4 Mini | gpt-5.4-mini | azure/gpt-5.4-mini | max_completion_tokens = 128000 reasoning_effort = "high" |
| GLM-5 | zai.glm-5 | zai.glm-5 | max_tokens = 128000 reasoning_effort = "high" |
| Kimi K2.5 | moonshotai.kimi-k2.5 | moonshotai.kimi-k2.5 | max_tokens = 128000 reasoning_effort = "high" |
| MiniMax M2.5 | minimax.minimax-m2.5 | minimax.minimax-m2.5 | max_tokens = 128000 Effort absent; native thinking. |
| Model | ||||||
|---|---|---|---|---|---|---|
| GPT-5.6 Sol | 192/0/0 | 183/9/0 | 145/47/0 | 87/105/0 | 57/135/0 | 25/166/1 |
| Claude 5 Sonnet | 192/0/0 | 137/54/1 | 91/98/3 | 61/111/20 | 35/102/55 | 14/44/134 |
| GPT-5.4 Mini | 191/1/0 | 69/120/3 | 18/157/17 | 5/166/21 | 2/153/37 | 1/150/41 |
| GLM-5 | 191/0/1 | 96/95/1 | 17/165/10 | 8/169/15 | 3/167/22 | 0/148/44 |
| Kimi K2.5 | 192/0/0 | 148/43/1 | 33/138/21 | 18/153/21 | 6/151/35 | 0/138/54 |
| MiniMax M2.5 | 188/2/2 | 150/40/2 | 31/117/44 | 11/133/48 | 5/144/43 | 1/136/55 |
| Model | Original /384 | Additional /384 | Combined /768 |
|---|---|---|---|
| GPT-5.6 Sol | 160 | 154 | 314 |
| Claude 5 Sonnet | 103 | 98 | 201 |
| GPT-5.4 Mini | 13 | 13 | 26 |
| GLM-5 | 10 | 18 | 28 |
| Kimi K2.5 | 23 | 34 | 57 |
| MiniMax M2.5 | 21 | 27 | 48 |
| Model | Including | Positive lengths only |
|---|---|---|
| GPT-5.6 Sol | 20 | 20 |
| Claude 5 Sonnet | 51 | 51 |
| GPT-5.4 Mini | 13 | 12 |
| GLM-5 | 5 | 4 |
| Kimi K2.5 | 15 | 15 |
| MiniMax M2.5 | 9 | 6 |
| Model | Median | P90 | cells | ||
|---|---|---|---|---|---|
| GPT-5.6 Sol | 1 | 9 | 2.0 | 2.2 | 9 |
| GPT-5.6 Sol | 16 | 105 | 4.0 | 24.6 | 62 |
| GPT-5.6 Sol | 64 | 166 | 33.0 | 123.0 | 12 |
| Claude 5 Sonnet | 1 | 54 | 2.0 | 8.0 | 44 |
| Claude 5 Sonnet | 16 | 111 | 6.0 | 34.0 | 53 |
| Claude 5 Sonnet | 64 | 44 | 14.0 | 88.9 | 6 |
| Model | acc. (%) | acc. (%) | |||
|---|---|---|---|---|---|
| GPT-5.6 Sol | 16 | 192 | 95.3 | 192 | 99.0 |
| GPT-5.6 Sol | 32 | 192 | 88.6 | 192 | 96.1 |
| GPT-5.6 Sol | 64 | 191 | 73.6 | 191 | 88.7 |
| Claude 5 Sonnet | 16 | 172 | 92.7 | 172 | 98.6 |
| Claude 5 Sonnet | 32 | 137 | 89.3 | 137 | 96.1 |
| Claude 5 Sonnet | 64 | 58 | 88.6 | 58 | 91.8 |
| Model | Prediction | Copy | Zero | Above copy | ||
|---|---|---|---|---|---|---|
| GPT-5.6 Sol | 16 | 192 | 98.0 | 63.0 | 48.5 | 192 |
| GPT-5.6 Sol | 32 | 192 | 93.1 | 56.6 | 48.6 | 191 |
| GPT-5.6 Sol | 64 | 191 | 81.6 | 51.0 | 48.8 | 180 |
| Claude 5 Sonnet | 16 | 172 | 96.8 | 63.5 | 48.9 | 172 |
| Claude 5 Sonnet | 32 | 137 | 93.4 | 57.3 | 49.3 | 134 |
| Claude 5 Sonnet | 64 | 58 | 90.5 | 49.5 | 56.5 | 57 |
Spatial Reasoning Benchmarks
Spatial reasoning benchmarks test whether AI systems can perceive, represent, and act on geometric, relational, and viewpoint-dependent information.
See all 162 papers