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
–
–
✓
✓
✓
Table 1: Comparison with representative spatial reasoning, planning, and construction works. We summarize each work using a shared task taxonomy and output space. Multi-step denotes reasoning over multiple dependent steps; Temporal denotes explicit temporal reasoning; Functional denotes reasoning about functional requirements or affordances; Continuous denotes continuous geometric configurations or motion; and Construction indicates that environment geometry is generated as an output.
Figure 2: SofaSpace task overview. (a) SofaSpace studies the bidirectional relation between environment geometry and feasible rigid-body transport. (b) The SofaSpace contains four aligned task views: R and S reason from a given environment, whereas G and GP construct environments from prescribed transport requirements. (c) SofaSpace-Hard contains planning, trajectory-validity, and feasibility problems for probing the capability frontier of current models.
Figure 3: Constraint mechanisms in SofaSpace. (a) 7 composable motion mechanisms instantiate the 3 challenge classes. (b) Mechanism requirements guide parameterized scene construction and verification through constraint-specific geometric and motion evidence. (c) Mechanisms may compose within a scene; the example combines multi-object rearrangement (C06) with spatiotemporal coordination (C07).
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
—
—
—
Table 2: Composition and view eligibility. S denotes Continuous Motion Planning, R denotes Layout Reconstruction, G denotes Layout Design, while GP represents Layout and Motion.
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
Table 3: Overall performance on SofaSpace. S denotes continuous motion planning, R represents layout reconstruction, G denotes layout design, GP denotes joint layout and motion generation, and Hard indicates the SofaSpace-Hard planning and judgment set. Strict success is reported for all SofaSpace views and SofaSpace-Hard. For R, strict success requires satisfying the frozen geometric reconstruction acceptance criteria. All values are in percentage; higher is better.
Group
N
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
Table 4: Mechanism-wise and compositional strict accuracy (%). SofaSpace rows are mutually exclusive exact compositions over 300 test scenes; Hard atomic rows are non-exclusive memberships, while Hard composition rows partition all 534 tasks. N denotes group size.
Figure 4: Stage-wise validity of SofaSpace motion plans. We progressively require a complete response, parseable trajectory, correct endpoints, valid submitted poses, valid continuous interpolation, and satisfaction of all frozen constraints. Values are percentages over the 180 static SofaSpace S instances.
Figure 5: Different failure stages on the same SofaSpace S instance. DeepSeek and Grok fail during continuous interpolation despite valid submitted poses, whereas Gemini and Qwen already contain invalid poses. Indicators denote parsing, endpoint, pose, continuous, and full validity; insets enlarge verified collision regions.
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
Table 5: Oracle-geometry control on 150 paired SofaSpace S scenes. All models are evaluated on the same stratified subset under identical reasoning settings, output contracts, and strict motion verification. Δ denotes the absolute accuracy change in percentage points, and Recovery denotes the fraction of image-only failures that become successful with oracle geometry.
Model
Cov.
SA ↑
GC ↑
FFMR ↓
VMRR ↓
Err∣GC↓
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
–
Table 6: Reconstruction and motion-semantic fidelity on the 300 SofaSpace test scenes. Cov. denotes valid-layout coverage; SA and GC denote structural agreement and strict geometry correctness. FFMR and VMRR are computed over decided probes. Err∣GC counts GC scenes with any decided probe disagreement; “–” indicates that no scene satisfies GC.
Figure 6: Motion-semantic errors in reconstructed environments. FFMR and VMRR measure permissive and restrictive reconstruction errors, respectively. Marker area indicates the number of valid reconstructed layouts.
Figure 7: Feasibility, functional compliance, and self-execution. (a) G: diamonds denote verified feasible layouts and circles denote layouts satisfying all evaluated functional requirements. (b) GP: route outcomes are conditioned on functionally valid generated layouts; n denotes the corresponding conditional sample size.
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 0.01 ; position error at most 0.10 ; orientation error at most 2∘ modulo 360∘
R
Free-space area and boundary
Symmetric-difference area / world area ≤0.002 ; boundary Hausdorff distance ≤0.05
R
Topology summaries
Equal free-space component count and equal total hole count
The instance-specific clearance required by the design task
Appendix
Table S1 : Motion and reconstruction thresholds. S tolerances are public task requirements. R strict success requires all listed R criteria. G/GP clearances are instance-specific and are preserved during scoring.
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
Appendix
Table S2 : Recorded mechanism coverage in SofaSpace. Counts are physical scenes carrying each tag and may overlap. A further 300 training scenes are generic/untagged.
Figure S1 : Real single-mechanism examples. Each selected Hard task carries one recorded mechanism. The overlaid author witnesses were verified separately and are omitted from public task inputs.
Figure S2 : Constraint-release control for SS3-TR1021. The author and control motions use the same rigid body and endpoints. A fixed-heading trajectory clears the relaxed passage. Restoring the original walls makes that same trajectory collide.