SofaSpace: A Benchmark for Executable Visual Spatial Reasoning in Continuous Motion and Environment Construction
Organizations: Faculty of Information Science and Computing, University of Macau
Abstract
A rigid body can fit at its start and goal yet collide with a wall as it moves between them. Inspired by the moving sofa problem, we introduce SofaSpace, a benchmark for visual spatial reasoning through continuous planar rigid-body transport and environment construction. SofaSpace contains 3,000 scenes organized around three challenges: geometric compatibility, nonlocal maneuver planning, and interactive and temporal coordination. Four task views ask models to plan a motion, reconstruct a layout, design an environment that meets transport requirements, or jointly generate a layout and a motion. A separate set of 534 SofaSpace-Hard tasks tests planning and judgment. A geometric verifier checks the entire body throughout each submitted motion. On static planning tasks, endpoint agreement and continuous validity differ substantially within the same submitted plans: Claude drops from 97.2% to 52.8%, DeepSeek from 100.0% to 30.6%, and Kimi from 97.2% to 29.4%, while the strongest configuration retains 98.3% full validity. Environment construction reveals a further gap. Of 295 feasible layouts generated by the strongest configuration, 181 satisfy all evaluated functional requirements; for Kimi, one of 172 does. These results show how executable checks distinguish endpoint agreement from valid motion and geometric feasibility from functional compliance.
Figures & tables
| Work | Task Type | Output | Multi-step | Temporal | Functional | Continuous | Construction |
|---|---|---|---|---|---|---|---|
| VSP [ 29 ] | Reasoning / Planning | Actions / Answers | – | – | – | ||
| MARBLE [ 11 ] | Reasoning / Planning | Plans / Answers | – | – | – | – | |
| Flat-Pack [ 5 ] | Reasoning | Answers | – | – | – | ||
| SFI-Bench [ 36 ] | Reasoning | Answers | – | – | |||
| TangramSR [ 40 ] | Reasoning / Generation | Configurations | – | – | – | – | |
| PhyScene [ 33 ] | Generation | Layouts | – | – |
| Split | Instances | S | R | G / GP |
| Train | 2,600 | 2,600 | 2,600 | 2,564 / 2,599 |
| Dev | 100 | 100 | 100 | 100 / 100 |
| Test | 300 | 300 | 300 | 300 / 300 |
| total | 3,000 | 3,000 | 3,000 | 2,964 / 2,999 |
| Hard | 534 | — | — | — |
| Model | S | R Strict | G | GP | Hard |
|---|---|---|---|---|---|
| GPT-6 Astra [ 17 ] | 99.00 | 26.67 | 60.33 | 58.33 | 90.64 |
| Claude Fable 5.1 [ 2 ] | 68.00 | 0.00 | 3.67 | 2.33 | 47.19 |
| DeepSeek V4.1 Flash [ 7 ] | 47.67 | 0.00 | 24.33 | 6.67 | 7.87 |
| Gemini 4 Argon [ 9 ] | 12.00 | 9.33 | 46.00 | 28.33 | 14.04 |
| GLM-5.3-Flash [ 35 ] | 31.67 | 0.00 | 10.00 | 8.33 | 5.81 |
| Grok 4.7 [ 30 ] | 49.33 | 0.00 | 51.00 | 39.33 | 7.30 |
| Group | Astra | Claude | DeepSeek | Gemini | GLM-5.3 | Grok | Kimi | Qwen 9B | |
| SofaSpace test: exact mechanism composition | |||||||||
| C03 | 60 | 100.0 | 80.0 | 53.3 | 5.0 | 43.3 | 53.3 | 50.0 | 21.7 |
| C04 | 60 | 96.7 | 10.0 | 0.0 | 1.7 | 0.0 | 0.0 | 0.0 | 0.0 |
| C06 | 30 | 100.0 | 96.7 | 83.3 | 86.7 | 33.3 | 93.3 | 86.7 | 0.0 |
| C07 | 30 | 100.0 | 93.3 | 83.3 | 0.0 | 63.3 | 83.3 | 90.0 | 0.0 |
| C01+C03 | 60 | 98.3 | 68.3 | 38.3 | 10.0 | 35.0 | 38.3 | 38.3 | 0.0 |
| Model | Image | + Oracle Geo. | Recovery | |
|---|---|---|---|---|
| Claude 5.1 | 66.67 | 100.00 | +33.33 | 100.0 |
| DeepSeek | 45.33 | 76.67 | +31.33 | 57.3 |
| Gemini 4 | 12.00 | 13.33 | +1.33 | 11.4 |
| Model | Cov. | SA | GC | FFMR | VMRR | |
|---|---|---|---|---|---|---|
| Astra | 289/300 | 93.67 | 80/300 | 2.39 | 0.86 | 0/80 |
| Claude 5.1 | 19/300 | 6.33 | 0/300 | 1.69 | 9.26 | – |
| DeepSeek | 277/300 | 73.67 | 0/300 | 13.14 | 41.90 | – |
| Gemini 4 | 293/300 | 97.33 | 28/300 | 0.20 | 6.26 | 0/28 |
| GLM-5.3 | 130/300 | 26.67 | 0/300 | 21.62 | 37.84 | – |
| Grok 4.7 | 288/300 | 70.00 | 0/300 | 21.40 | 33.18 | – |
Appendix figures & tables4 assets
Supplementary material from the paper’s appendix.
Appendix
| Scope | Quantity | Requirement |
|---|---|---|
| S | Route size; initial state | 2–64 poses or frames; start at the supplied initial poses |
| S | Clearance; final position; final orientation | At least ; position error at most ; orientation error at most modulo |
| R | Free-space area and boundary | Symmetric-difference area / world area ; boundary Hausdorff distance |
| R | Topology summaries | Equal free-space component count and equal total hole count |
| R | Gates and schedules | Equal gate count; matched gate Hausdorff distance ; equal interval counts and corresponding endpoint errors |
| G / GP | Complete-motion clearance | The instance-specific clearance required by the design task |
| Tag | Train | Dev | Test |
|---|---|---|---|
| C01 | 665 | 50 | 120 |
| C02 | 545 | 0 | 0 |
| C03 | 320 | 25 | 120 |
| C04 | 320 | 25 | 60 |
| C05 | 585 | 25 | 0 |
| C06 | 275 | 25 | 60 |
Spatial Reasoning Benchmarks
Spatial reasoning benchmarks test whether AI systems can perceive, represent, and act on geometric, relational, and viewpoint-dependent information.
See all 194 papers