qwen3d_points_dist

An experimental Qwen-3D (3B) variant for change detection from a point-cloud map to a single RGB-D view, with metric move distances, trained on DR8803VL/vlm-change-detection-4k.

The model compares a map of the room, built only from the raw before point cloud (no images), with one posed RGB-D frame taken after some objects changed. It answers in the same JSON format as jimtjames/qwen3d_rgbd_dist:

[{"action":"moved","class":"pot","distance_m":1.09},{"action":"removed","class":"cup"}]

A change counts only if the view shows it: a removal if its old place is in view, an addition if its new place is, and a move if either is. distance_m is given when the new place is in view.

Architecture

  • Map tokens (VLMCD.MAP_SOURCE points): the dataset's before cloud is voxelized at 20 cm (3,300-6,000 tokens per room, at most 6,000; up to 64 raw points per voxel). A small point network (VoxelPointEncoder, PointNet / VoxelNet style) encodes each point from its position inside the voxel and its colour; max and mean pooling plus the voxel's point count go through an MLP that produces the token's whole feature. Its scale is matched to the image tokens on the first batch.
  • View tokens: one posed RGB-D frame through the frozen Qwen-3D ViT, back-projected into 5 cm voxels, plus a zero-initialised offset from the same point network over each voxel's depth points.
  • Map and view go to the LLM as two blocks told apart by the time axis of the 4D RoPE.

Training

setting value
init katefgroup/Qwen-3D qwen3d_3b.pth
trainable LoRA r=16, alpha=32, dropout 0.05 on LLM q/k/v/o/gate/up/down, lm_head, and the voxel point encoder (35.1M params total; encoder at 10x LR)
iterations 15,000, batch 1, LR 1e-4 constant after 500 warmup iterations, gradient checkpointing
tasks describe and count, JSON answers
hardware 1x NVIDIA RTX 5090, ~6.5 h

Evaluation

100 validation examples per task, final checkpoint (iteration 15,000). Predictions are in inference/. Labels are per view, so these numbers are not directly comparable with qwen3d_rgbd_dist.

describe: change precision 0.201, recall 0.299, F1 0.240; move F1 0.260; add and remove F1 0.0 (the model only learned to report moves).

Move distance (paired by class as in qwen3d_rgbd_dist; 160 predicted moves with a distance, 181 true moves with a distance):

threshold precision recall F1
0.1 m 0.100 0.088 0.094
0.25 m 0.200 0.177 0.188
0.5 m 0.244 0.215 0.229

Over the 48 class-matched pairs: MAE 0.53 m, median error 0.19 m.

count: exact-count accuracy moved 0.34, added 0.88, removed 0.37, all three 0.13; total-count MAE 1.23.

This is a short first run: the encoder is learned from scratch, and the largest rooms lose about 15% of their map voxels to the 6,000-token cap.

Use

model_final.pth is a full detectron2 checkpoint (all weights, bf16, ~8 GB). It needs the code on branch pointcloud-voxel-fusion of rabidsquirrel4/spatial_llm (with the rabidsquirrel4/qwen3d submodule), a data index built with that branch's vlm_cd/prepare_vlm_cd.py, and MODEL.WEIGHTS model_final.pth VOXEL_POINT_ENCODER.ENABLED True VLMCD.MAP_SOURCE points VLMCD.AFTER_FRAMES 1 plus the LoRA settings above.

License

Derived from Qwen-3D and released under the same CC BY-NC 4.0 license (non-commercial use).

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for jimtjames/qwen3d_points_dist

Adapter
(2)
this model

Dataset used to train jimtjames/qwen3d_points_dist