Open-vocabulary 3D · Query processing · Interactive segmentation

RelScan

An open-vocabulary object database for 3D scans. Click anything to get its mask and its name, ask for anything in words, and query a whole building in milliseconds.

1Indian Statistical Institute, Kolkata  ·  2National Institute of Technology Warangal

A real session on a room held out from training: click objects to get their masks and names, then ask for things in words.

Data model

A scan becomes a table

Each object is one tuple: voxels, box, confidence, a segmenter token and mask-pooled 3D vision–language evidence. Built once, queried forever.

Query language

OVQL, with probabilities

IS('whiteboard') AND NEAR(IS('chair'), 1.0): open-vocabulary predicates with calibrated semantics, spatial and boolean operators, and query-time semantic cracking.

Interaction

Click, correct, name

Positive and negative clicks on a segmenter that was only trained on positive ones, plus naming from the real photos the scan was made from.

0.8 ms
per query on a stored room, vs 8.8 s to re-process the scan
68 rooms
5,149 objects in one catalog, queried in 0.9–3.4 ms
+15 IoU
after 5 corrective clicks on Replica (59.5 → 74.8)
7 datasets
indoor RGB-D, laser scans, synthetic rooms and outdoor LiDAR

01Abstract

3D scans of rooms, buildings and streets are collected at scale, but they stay raw point sets: every semantic question (where are the chairs? which monitor is next to the bottle?) means re-running a segmentation network over the whole scan with a fixed list of class names. We present RelScan, which turns a scan into an open-vocabulary object database. A scan is ingested once into an object relation: one tuple per object with its geometry, a learned segmenter token and mask-pooled 3D vision–language evidence. Open-vocabulary predicates such as IS('whiteboard') get calibrated probabilistic semantics, and an open-vocabulary query language (OVQL) combines them with spatial (NEAR, ABOVE, ON) and boolean operators.

Queries run on the stored relation in under a millisecond per room (vs. 8.8 s to re-process the scan) and scale to a 68-room building in 0.9–3.4 ms. They are refined lazily by semantic cracking, which materialises the objects a query could not explain and keeps them for later queries. The operators that fill the relation are themselves improved: object-anchored open-vocabulary evidence (58.2 mIoU on ScanNet), click-to-name with a vision–language model (40.1% accuracy on Matterport-160), negative clicks for a segmenter trained only on positive ones (+4 to +15 IoU after five clicks on five datasets), and phone-video ingest with a guard against out-of-distribution features. We evaluate on ScanNet, ScanNet200, Matterport3D-160, S3DIS, Replica, nuScenes and SemanticKITTI.

02How it works

Two planes. The ingest plane pays the expensive network cost once per scan; the query plane answers every later question from the stored relation and only goes back to the network when it has to.

INGEST · once per scan point cloudXYZ only phone video→ metric point map voxelize · gravity align · collapse guard promptablesegmenterfrozen + adapters 3D vision–language featuresfrozen object proposalsmask-pooled evidence per object Object relation oid │ voxels │ box │ conf │ token │ clip│ prov 01 │ ▮▮▮▮ │ ▭ │ .93 02 │ ▮▮ │ ▭ │ .88 03 │ ▮▮▮ │ ▭ │ .71 new │ ▮ │ ▭ │ cracked persisted · building-scale catalog QUERY · milliseconds IS('mug') AND ON(·, IS('desk')) two-phase planprobabilistic filter → spatial join per room semantic crackingno object explains it? materialise one click ± clicks→ maskcorrective decoder mask → name3D-propose /VLM-choose

Ingest runs the frozen networks once and stores one tuple per object. Queries are planned over the relation: a probabilistic open-vocabulary filter, then a room-partitioned spatial join. When no stored object covers a phrase, semantic cracking uses the phrase as a click oracle, materialises the object and keeps it, with a negative cache so a failed lookup is never repeated. Clicks and names write into the same relation.

One-minute system walkthrough.

03Try a query

Real, unfiltered outputs on a Replica room held out from all training. Every query word below is outside the training vocabulary. Pick a phrase or a click.

ovql> replica/room0
text queries
random clicks
query result

04Corrective clicks

The segmenter was trained with positive clicks only. A corrective decoder (click-type embeddings and a previous-mask prompt), LoRA adapters and test-time token tuning let users say “not this part”, while positive-only clicks still follow the frozen path exactly.

frozen decoder, same clicksRelScan

Same simulated positive + negative click sequence for both methods. Click latency: 16–43 ms on a 267k-voxel room.

05From a phone video

A one-minute handheld clip of a lab desk becomes a queryable scene. Nothing is tuned to this video; the same pipeline runs on any upload.

Point maps. A feed-forward reconstructor gives depth and cameras; a metric depth model fixes the scale.
Gravity. RANSAC finds the floor or desk plane and aligns the scene upright.
Collapse guard. If the dense 3D features collapse to one label off-distribution, they are switched off.
Photo naming. Masks are projected back into the source frames; the VLM names a real photo, not a render.
input frames
static segmentation results
click naming on the lab desk

Top: frames sampled from the clip. Left: the input video. Right: segment-everything, open-vocabulary labels and text queries on the reconstructed cloud, misses included.

Below, each pair: the 3D mask from one click (left) and the frame the vision–language model sees (right), with its runner-up names. Failures are kept: a PC case named screwdriver, a rack named printer.

07Results

Selected numbers. Best per row in red. “Base text head” is the frozen segmenter's own language head.

Task / benchmarkMetricBase text headPrior workRelScan
Open-vocabulary semantic segmentation
ScanNet valmIoU41.552.0 OpenScene58.2
Matterport-160 (unseen)mIoU6.9 (1.9)9.5 (5.5)11.6 (5.7)
nuScenes LiDAR valmIoU23.826.932.0
SemanticKITTI seq 08mIoU / mAcc32.8 / 43.720.8 / 37.131.5 / 45.8
Open-vocabulary instance segmentation
Replica, 8 scenesAP / AP5014.8 / 19.713.1 / 18.4 OpenMask3D19.9 / 25.9
S3DIS Area 5AP10.5–15.4
nuScenes, 10 thing classesAP / AP507.9 / 12.1–13.9 / 18.8
SemanticKITTI, 8 thing classesAP / AP5013.9 / 16.3–20.6 / 23.0
Naming and text prompts
Click → name, Matterport-160accuracy30.718.9 VLM alone40.1
Text → mask, ScanNet200mIoU–11.8 training-free18.2
Text → mask, S3DIS (zero-shot)mIoU–20.0 training-free27.2
SystemSettingWithout the relationRelScan
Query latencyS3DIS room, stored relation8.8 s0.8 ms
Building search68 rooms, 5,149 objects–0.9–3.4 ms
Storage68-room catalog vs raw XYZ945 MB171 MB
Semantic crackingrepeat queries (AP50)26.8 ms (38.9)3.7 ms (38.7)

All tables, protocols and negative results are in the repository's results/TABLES.md.

08BibTeX

@article{relscan2026,
  title   = {RelScan: An Open-Vocabulary Object Database for 3D Scans},
  author  = {Pahari, Soham and Srinivas, M.},
  journal = {arXiv preprint},
  year    = {2026}
}