Can language models reason reliably about indoor spatial layouts?
Do LLMs successfully apply geometric reasoning to structured floorplan data, or do they hit systematic limits? Understanding where spatial reasoning breaks down matters for embodied AI and navigation tasks.
FloorplanQA tests spatial reasoning over "structured representations of indoor scenes" — JSON-encoded floorplans with rooms, walls, openings, and labeled furniture polygons — rather than images, so the model must reason from symbolic geometry alone. The benchmark pairs 2,000 layouts (1,800 generated with Gemini 2.5 Pro, 200 extracted from the Habitat Synthetic Scenes Dataset) with 16,000 questions on distance, visibility, path finding, and object placement. Evaluating 15 models (8 general, 7 reasoning-focused), the authors report a "consistent capability gap: while models reliably compute some geometric properties (distances, angles), they struggle with constraint satisfaction, geometric unions, and multi-step spatial planning."
The paper names three specific failure modes. First, models "frequently behave as if object areas were independent rather than unioned" — summing areas instead of computing their union — which tracks with low scores on the Free Space and Max Box tasks. Second, accuracy drops on the HSSD layouts, whose furniture polygons are non-axis-aligned and have more vertices than the synthetic set's bounding boxes; qualitative review traces many of the resulting distance and angle errors to faulty centroid computation on irregular shapes. Third, Shortest Path performance is weak in cluttered scenes, where buffering around obstacles narrows corridors and the model's route estimate degrades. The authors describe the benchmark's overall finding as "a blind spot in today's LLMs: inconsistent reasoning about indoor layouts."
This is a benchmark-level instance of the pattern in Do foundation models learn world models or task-specific shortcuts?: models that compute individual metric facts correctly (distance, angle) without maintaining the unified spatial structure — set relations between object areas, a consistent coordinate frame across irregular polygons — that a genuine internal model of the room would require. It also sits in direct contrast with Does each hierarchy level need its own latent space?: H-JEPA improves planning by giving a model explicit, separately abstracted latent representations of a scene to plan over, while FloorplanQA's LLMs are asked to plan from raw symbolic layout text with no such structure, and the paper attributes their planning failures to representation rather than depth of computation.
The excerpt is explicit that this measures "models' direct, unaided reasoning capabilities," not performance in "tool-assisted pipelines" that could invoke spatial solvers or code — so the benchmark does not establish how badly these failures would persist once a model can call a geometry library. The authors' own proposed near-term fix is to hybridize with external solvers (set operations, shoelace centroid, A* path planning) precisely because the gap looks structural rather than something more inference compute alone would close for planning tasks.
Inquiring lines that read this note 17
This note is a source for these research framings, grouped by the broader line of inquiry each explores. Scan the bold lines of inquiry; follow any specific question forward.
Does alignment training genuinely modify model behavior or only outputs? How do architectural constraints limit monolithic LLM performance on complex tasks? Do language models learn true linguistic principles or just surface patterns?- Do language models lack the hierarchical spatial representations needed for planning?
- Why do models sum object areas instead of computing their geometric union?
- What breaks when floor plan rewards ignore architectural style or program type?
- Why does generating spatial summaries before object placement improve layout quality?
- What structural flaws appear most often in synthesized room layouts?
- What domain knowledge do layout planning systems need that general-purpose models lack?
- Do kitchen and bathroom layouts fail more often than bedrooms and living rooms?
- What specific metrics show how much general models underperform on layout evaluation?
Related concepts in this collection 5
This note in its neighbourhood — explore the map, then jump to a related concept in the list below.
Click a node to walk · click center to open · click Open in graph to see this note in the full knowledge graph
-
Do foundation models learn world models or task-specific shortcuts?
When transformer models predict sequences accurately, are they building genuine world models that capture underlying physics and logic? Or are they exploiting narrow patterns that fail under distribution shift?
same pattern: correct local metric outputs without the unified spatial structure a true internal model would carry
-
Does each hierarchy level need its own latent space?
Explores whether separate learned representations at different hierarchy levels improve planning performance compared to sharing a single latent space across all levels.
contrast: H-JEPA plans well by giving itself structured latent representations; FloorplanQA's LLMs plan from raw symbolic text and fail
-
Can bounding boxes replace image encoders for document understanding?
Explores whether spatial layout information alone, encoded as bounding boxes, can capture the multimodal signal needed for document understanding without expensive visual encoding. Matters because image encoders add significant computational cost to document processing systems.
DocLLM also reasons over symbolic spatial signal rather than pixels, but by design, not as an unaided LLM's native capability
-
Why do reasoning models fail at spatial planning tasks?
Reasoning-focused models improve on geometric tasks with extended inference but show minimal gains on spatial planning. This raises the question: is the bottleneck computational depth or something about how models represent space internally?
this paper's own test-time-compute finding, drawn from the same benchmark
-
Can LLMs generate valid floor plans with verifiable structural rewards?
Can reinforcement learning with automatically computed rewards—rather than learned reward models—train language models to generate floor plans that satisfy connectivity, area, and feasibility constraints? This matters because it tests whether structural verification can replace expensive human annotation.
Qualifies: GRPO training with verifiable connectivity, area, and feasibility rewards overcomes the constraint-satisfaction failures A identifies in off-the-shelf LLMs
Related papers in this collection 8
Papers most semantically related to this note, ranked by cosine similarity in the embedding space.
- FloorplanQA: A Benchmark for Spatial Reasoning in LLMs using Structured Representations
- Generative Floor Plan Design with LLMs via Reinforcement Learning with Verifiable Rewards
- Reasoning LLMs are Wandering Solution Explorers
- OptiScene: LLM-driven Indoor Scene Layout Generation via Scaled Human-aligned Data Synthesis and Multi-Stage Preference Optimization
- ScreenCoder: Advancing Visual-to-Code Generation for Front-End Automation via Modular Multimodal Agents
- Position: LLMs Can't Plan, But Can Help Planning in LLM-Modulo Frameworks
- Is Chain-of-Thought Reasoning of LLMs a Mirage? A Data Distribution Lens
- Large Language Model Reasoning Failures
Original note title
FloorplanQA finds LLMs compute distances and angles reliably but fail at constraint satisfaction and multi-step spatial planning