Sparse Geometric Keys: Does the Retriever Cause Spatial Hallucination in Unseen 3D Scenes?

When a vision-language model answers "what is to my left?" about a building it has never seen, it usually cannot hold the whole scene in view. It must first fetch the relevant frames or regions from a stored record of the scene, then reason over them. That fetching step is a retriever, and retrievers are known to break on unfamiliar data. Dense text retrievers, which compare queries and documents as single learned vectors, often fall below simple keyword matching out of domain. Sparse retrievers, which score overlap over a large vocabulary of discrete keys, generalize better (Scaling Sparse and Dense Retrieval in Decoder-Only LLMs). Separately, vision-language models hallucinate spatial relations. They say a mug is "on" a table because mugs usually are, regardless of the image (What's "up" with vision-language models?; Evaluating and Analyzing Relationship Hallucinations in LVLMs). No one has measured how much of the second failure is caused by the first. When retrieval returns the wrong view, the reader has no evidence to work from, and its linguistic priors fill the gap.

This proposal makes two claims and tests both. The first is diagnostic. In retrieval-grounded spatial question answering over unseen 3D scenes, a large and measurable share of spatial-relation hallucinations come from retrieval errors, not from the reader. The second is constructive. Indexing scene fragments with sparse geometric keys reduces those retrieval errors under distribution shift, much as sparse lexical retrieval does for text. These keys are discrete tokens for objects, for pairwise relations computed in an explicit reference frame from 3D geometry, and for coarse voxel cells and view directions. In short, we bring the sparse-versus-dense lesson from text retrieval into 3D spatial grounding, and we judge it by downstream hallucination, not only by retrieval scores.

Core Claim and How It Differs From Prior Work

The closest prior system is Spatial-RAG. It has an LLM turn a question into spatial SQL over a 2D GIS database. It then combines a "sparse" geometric score (distance or topological overlap) with a dense text score and balances them on a Pareto frontier. It shows that structured spatial filtering helps, reporting a 75.4% recall gain on MapQA-AME. However, its database is structured coordinates, not raw scenes, and it never measures hallucination.

Vision-Language Memory for Spatial Reasoning (VLM²) supplies the geometric ingredient we reuse. It builds point maps with a 3D foundation model and keeps an episodic memory bank. That memory is internal and recurrent: it is not a retriever that must generalize across buildings, and the paper does not study hallucination.

DSCR attacks spatial hallucination from inside the model. It smooths the attention cache (the stored internal keys and values the model attends over) using monocular depth. That is the main competing hypothesis: perhaps spatial hallucination is a perception problem that inference-time fixes can solve without any retrieval. We treat it as a baseline that can be combined with our method, not as a straw man.

We differ from all three in the same way. We build sparse keys from 3D-lifted geometry over unstructured scene captures. We then evaluate the retriever by how much reader hallucination it causes on scenes it never saw.

Research Program

Index construction. Each scene is broken into indexable units: keyframes for video, and view-centered regions for point clouds. For each unit, detected objects are lifted into 3D using point maps, following the representation in VLM². From these 3D objects we emit discrete tokens of four kinds:

  1. An object category token.
  2. A pairwise relation token, computed from 3D coordinates and tagged with its reference frame, for example chair|left_of|table@viewer versus chair|left_of|table@allocentric.
  3. A coarse voxel-cell identifier.
  4. A binned view direction.

Frame-tagging matters because Visual Spatial Reasoning found that models confuse viewer-centric and object-intrinsic frames.

Query parsing. On the query side, an LLM parses the question and its situation description into the same token vocabulary. A situation description is the text stating where the agent stands and faces, as in SQA3D. The parser resolves egocentric relations into the frame implied by that situation. This is the analogue of Spatial-RAG's SQL decomposition, but its targets are sparse keys rather than database predicates.

Retrieval and reading. Units are scored with weighted token overlap in the style of BM25, and optionally fused with a dense image-text score. The top units go to a fixed open reader model.

Diagnosis. The diagnostic half runs controlled retrieval interventions with the reader frozen. The reader receives one of four inputs:

  1. Oracle units, meaning the ground-truth relevant views.
  2. The retriever's output.
  3. Random units from the same scene.
  4. Geometrically adversarial units: mirror-flipped or neighboring-room views that share object categories but contradict the queried relation.

A spatial hallucination is an asserted relation that contradicts the ground-truth 3D annotation. We estimate how many errors the retriever causes as the drop in hallucination rate when its output is replaced with oracle units. We then report how that share changes from in-domain to held-out scenes. If the share is small, the retrieval story is wrong and the problem lies in the reader. That result would be informative in its own right and would favor approaches like DSCR.

Baselines

The naive reference points are a no-retrieval blind reader and a dense retriever used zero-shot. On SQA3D, a text-only blind model scores 43.65% against 47.20% for the best visual model, as reported in SQA3D. That small gap is exactly the linguistic-prior effect we want to separate out. We will rerun this blind reader with our reader model so all comparisons share one backbone. The dense zero-shot baseline is a CLIP-style image-text retriever over the same units, given the same top-k budget. Beating it means higher recall@k of relevant units and a lower hallucination rate on held-out scenes.

The strongest existing system on video spatial reasoning is VLM². It reports 68.8% on VSI-Bench, against 34.0% for GPT-4o and 45.4% for Gemini 1.5 Pro (Vision-Language Memory for Spatial Reasoning). We will compare our retrieval-grounded pipeline against VLM²'s internal memory at matched backbone size, using the same frames. On SQA3D and ScanQA, where we found no reported VLM² number on Lacuna, we will run it ourselves under that same backbone-size and frame matching. Beating it on VSI-Bench means exceeding 68.8% with an equal or smaller reader, or matching it while showing a lower hallucination rate on held-out scenes.

A Spatial-RAG-style hybrid is the closest retrieval competitor. It uses a dense score plus a Euclidean-distance score over 3D object centroids, combined via Pareto selection. Its reported numbers are on GIS benchmarks only, so we will reimplement it on our units with the same detector outputs and tuning budget.

DSCR applied to the reader is the strongest non-retrieval competitor. Its reported gain is an MME hallucination total rising from 892.68 to 925.96 for LLaVA-1.5 (DSCR). We will run it both alone and stacked with our retriever.

The ablation that isolates our key ingredient is BM25 over serialized scene-graph text. It uses the same 3D-lifted relations rendered as plain sentences, without frame tags, voxel cells, or view bins. A second ablation drops frame resolution in the query parser.

Why not just…?

Why not just serialize the scene into text and use an ordinary text retriever and LLM? SQA3D tried this route with captions fed to GPT-3 and found that "3D captioning" loses too much spatial nuance for the LLM to reason well. Caption-level serialization is therefore weak. However, serializing a 3D-lifted scene graph is a genuine threat, because it carries much of the same geometry as our keys. The serialized-scene-graph BM25 ablation settles this directly. If it matches our method, we will report that the gain comes from 3D-lifted relations rather than from sparse geometric keying. The diagnostic study stands either way.

Why not just use a bigger model? Vision Language Models See What You Want but not What You See reports essentially no scaling gains on perspective taking. VLM²'s 68.8% versus GPT-4o's 34.0% on VSI-Bench points the same way. Scale also does nothing about a retriever that hands the reader the wrong room, and the oracle-versus-retrieved intervention measures exactly that.

Why not just fine-tune the reader or the dense retriever on spatial QA? What'sUp found that spatial fine-tuning helped on similar data but hurt on its controlled images, consistent with models learning dataset shortcuts. VSR's concept zero-shot split shows a similar overfitting effect. For the retriever, the text literature reports that distillation from cross-encoders plateaus. We will include a dense retriever fine-tuned on SQA3D and ScanQA training scenes. The test is whether it degrades on held-out VSI-Bench scenes more than the sparse index does.

Why not just refine the attention cache as DSCR does? DSCR works on a single image without reference to the query, so it cannot recover objects that are occluded or outside the current frame. R-Bench also attributes relationship hallucination largely to language priors, which local smoothing does not touch. Still, if DSCR alone closes most of the held-out hallucination gap, our diagnostic will show a small retrieval-attributable share, and we will conclude in its favor.

Proposed Experiments

Train any learned retrieval components on SQA3D and ScanQA training scenes, then evaluate zero-shot in three settings:

  1. Held-out SQA3D and ScanQA scenes.
  2. VSI-Bench and VSTI-Bench videos, which shift the capture format from point clouds to video.
  3. The What'sUp and R-Bench relation probes, used to check the reader in isolation.

Metrics are recall@k of oracle units, answer accuracy, and spatial-relation hallucination rate against 3D ground truth.

The decisive checks are as follows:

  1. Moving from in-domain to held-out scenes should widen the dense-versus-sparse recall gap, as it does on BEIR. Lion-SP-8B reaches nDCG@10 of 0.552 out of domain there, the sparse result we are trying to mirror in 3D.
  2. The retrieval-attributable share of hallucination should grow on held-out scenes.
  3. Under geometrically adversarial units, hallucinated relations should track the readers' co-occurrence priors. That would confirm the causal chain from bad retrieval to prior-driven fabrication.
  4. On VSI-Bench, the full system should exceed VLM²'s 68.8% at matched backbone size. Alternatively, a null result there combined with a lower hallucination rate would still support the narrower diagnostic claim.