Evaluating Language Models as Spatial Priors for Object-Goal Navigation

Jun MiuraarXiv 2026

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.

  1. 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.
  2. Layout Generation: The models were prompted to generate their own room layouts under different conditions:
  3. Survey: Describe a typical room all at once.
  4. Route-based: "Walk" through the room and describe objects as they are encountered.
  5. 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.
Figure 1: Overview of the evaluation. (a) The likelihood that an LLM assigns to a real layout, written as text, is compared with that of a perturbed copy (here, two objects exchanged); the pairwise accuracy is the fraction of rooms in which the real layout scores higher. (b) Layouts generated for a room type are compared with real rooms of that type. (c) A prior over the target’s position built from the generated layouts is evaluated by the area searched before the target is found. The real layout is a ScanNet bedroom; the generated layout and the prior (target: bed) are Qwen’s under condition A. In the prior, the door is on the south wall (green) and brighter cells are more probable.

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.
Figure 3: Examples of layouts under the three generation conditions. Top left: a real ScanNet living room. Others: one layout generated by Qwen for the living room under each condition. Each panel is the layout of its set closest to the median object count and then to the median area. Below each panel are the room size and the wall-proximity excess (Sec. 3.2) of all layouts of the set; the panels are examples, and the numbers are not.

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

Abstract

Semantic exploration methods for object-goal navigation use large language models (LLMs) to score how strongly a target object is associated with a room type or with a nearby object. This paper considers obtaining from the LLM a spatial prior instead: a distribution over the position of the target in a room. We evaluate whether two open-weight LLMs, Qwen3.5-27B and Gemma-4-31B-it, can provide such a prior. Using real room layouts from CubiCasa5K and ScanNet, we measure the likelihood the models assign to real and perturbed layouts, and the layouts they generate. The object frequencies and room sizes of the generated rooms follow the room type, but the proximity of the objects to the walls does not follow the differences between room types found in real rooms. The likelihood distinguishes real layouts from perturbed ones partly through their geometry and partly through the agreement between the coordinates and a field that states the wall each object touches; for the movable furniture of ScanNet, it is higher for layouts with all objects piled near the room center than for the real layouts in most rooms. When an object is given in the prompt, the models place a related object relative to it. When the wall of each object is given, they place most objects against that wall, but do not keep all objects inside a given room rectangle. As a prior for object search, the generated placements reduce the searched area relative to a uniform prior, but by less than a third of the reduction obtained with a prior built from real layouts, and by less than two thirds when both priors are spatially smoothed. These results support the use of LLMs for object-room associations and for writing coordinates under constraints determined by another component, followed by a geometric check, but not as a source of placement priors where real layouts are available.
BibTeX
@misc{miura2026evaluating,
  author = {Jun Miura},
  title = {{Evaluating Language Models as Spatial Priors for Object-Goal Navigation}},
  year = {2026},
  eprint = {2611.18123},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.18123},
}
Figure