TL;DR
While Large Language Models (LLMs) are excellent at identifying which objects belong in a room, they struggle to provide accurate "spatial priors"—distributions of where those objects are likely to be located. This research demonstrates that LLM-generated layouts are significantly less useful for robot navigation than priors built from real-world data, often failing basic geometric constraints like keeping furniture inside the room.
What Problem Does This Paper Address?
In the field of Object-Goal Navigation (ObjNav), a robot is tasked with finding a specific object (like a "chair") in an unfamiliar environment. Currently, many systems use LLMs to provide "semantic affinities"—essentially a score of how likely an object is to be found in a certain room type (e.g., a stove is likely in a kitchen).
However, knowing a stove is in the kitchen is only half the battle. To search efficiently, a robot needs a spatial prior: a map showing the most probable metric locations for that stove. If LLMs could provide these priors, robots could enter unmapped rooms with a "hunch" of where to look first. This paper evaluates whether modern open-weight LLMs (Qwen3.5-27B and Gemma-4-31B-it) can actually generate these useful spatial hunches or if they are just reciting statistical coincidences of text.
Methods
The author, Jun Miura, evaluates LLMs along two axes: agreement with reality and usefulness for navigation.
- Likelihood Scoring: The models were given text-based layouts (JSON format) of real rooms and "perturbed" versions (where objects were piled up, swapped, or moved away from walls). The researchers measured if the LLM assigned a higher probability (log-likelihood) to the realistic layout over the nonsensical one.
- Layout Generation: The models were prompted to generate their own room layouts under different conditions:
- Survey: Describe a typical room all at once.
- Route-based: "Walk" through the room and describe objects as they are encountered.
- Search Cost Evaluation: The generated layouts were turned into probability grids. The researchers then simulated a search process, calculating the "search cost"—the fraction of the room area a robot would have to examine before finding the target object.
Datasets
The study utilized two primary datasets of real-world environments:
- CubiCasa5K: A collection of Finnish architectural floor plans focusing on fixed fixtures like sinks, bathtubs, and counters.
- ScanNet v2: RGB-D scans of real indoor spaces (bedrooms, offices, living rooms) focusing on movable furniture like chairs and tables.
Key Insights and Ideas
- Textual Bias over Geometric Logic: LLMs often assign higher likelihoods to layouts not because they are geometrically plausible, but because the text is "simpler." For example, layouts with objects piled in the center were sometimes rated more likely than real layouts because the coordinates were more repetitive and predictable in text form.
- The "Wall First" Effect: A fascinating finding was that the order of information matters. If a model is forced to state which wall an object touches before writing its coordinates, the coordinates are much more likely to actually be near that wall. If it writes coordinates first, the subsequent "wall contact" label often contradicts the math.
- Containment Failure: LLMs are surprisingly bad at keeping things inside the box. When asked to generate layouts, the models frequently placed objects partially outside the room boundaries, even when explicitly instructed to keep them inside.
- Relative Positioning: While they fail at absolute metric accuracy, LLMs show promise in relative placement. If an "anchor" object (like a desk) is provided in the prompt, the model is quite good at placing a related object (like a chair) near it.
Key Results
- Object Identity: LLMs are great at the "what." The correlation between the objects LLMs put in a room and real-world frequencies was high (Spearman $\rho$ of 0.75 for Qwen).
- Placement Accuracy: LLMs are poor at the "where." The "wall-proximity excess" (a measure of whether objects are placed near walls as they are in reality) did not follow real-world patterns. The regression slope against real data was nearly flat (+0.029 for Qwen).
- Search Efficiency: Using an LLM-generated prior reduced the search area by only 0.036–0.077 of the room area. In contrast, a prior built from real-world data was three to seven times more effective. Even with spatial smoothing, the real-data prior outperformed the LLM in every single room type.
Limitations and Future Work
The study acknowledges several constraints:
- Geometric Simplicity: Rooms were represented as simple 2D rectangles, ignoring the complex alcoves and non-convex shapes of real architecture.
- Model Scope: Only two specific open-weight models were tested. Larger or proprietary models (like GPT-4) might behave differently.
- Static Evaluation: The search was simulated on a grid rather than in a dynamic physics-based simulator like Habitat.
The author suggests that while LLMs shouldn't be used as primary spatial priors yet, they are useful for coordinate writing under constraints. A hybrid system where an LLM proposes coordinates based on a separate geometric solver—followed by a rigorous geometric check—seems to be the most viable path forward for robot designers.
Summary updated