qwen3d_rgbd_dist

Qwen-3D (3B) fine-tuned with LoRA for 3D scene change detection with metric move distances on DR8803VL/vlm-change-detection-4k.

The model sees two RGB-D walkthroughs of the same room, before and after some objects changed, and answers in JSON:

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

distance_m is given for moved objects that are visible in both walkthroughs. A second task asks for counts: {"moved": n, "added": n, "removed": n}.

Inputs

  • 16 frames per state (before and after), 256 px RGB + depth + camera intrinsics and poses.
  • Frozen Qwen-3D ViT features are back-projected with depth and averaged into 5 cm voxels (at most 4096 voxel tokens during training).
  • The two states go to the LLM as two vision blocks at the room's true coordinates, told apart by the time axis of the 4D (t, x, y, z) RoPE (VLMCD.STATE_ENCODING time).

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, plus lm_head (32.4M params); everything else frozen
iterations 20,000, batch 2 (2 GPUs x 1), LR 1e-4 constant after 500 warmup iterations
tasks describe and count, JSON answers (VLMCD.ANSWER_FORMAT json)
hardware 2x NVIDIA CMP 170HX, ~12 h

Evaluation

100 validation examples per task, final checkpoint (iteration 20,000). Predictions are in inference/.

describe (change = action + class, micro-averaged):

precision recall F1 move F1 add F1 remove F1
0.626 0.662 0.643 0.681 0.364 0.509

Move distance. A predicted move is paired with a true move of the same class (min-cost assignment); a hit is a pair whose distance error is within the threshold. Precision is over predicted moves with a distance (542), recall over true moves with a distance (560).

threshold precision recall F1
0.1 m 0.391 0.379 0.385
0.25 m 0.592 0.573 0.583
0.5 m 0.651 0.630 0.641

Over the 388 class-matched pairs: MAE 0.20 m, median error 0.09 m, 54.6% within 0.1 m.

count: exact-count accuracy moved 0.25, added 0.70, removed 0.48, all three 0.10; total-count MAE 1.33.

For comparison, zero-shot Gemma 4 31B given the same 16+16 RGB frames (no depth) and camera poses reaches change F1 0.31 and move-distance F1 0.06 at 0.1 m.

Use

model_final.pth is a full detectron2 checkpoint (all weights, bf16, ~8 GB). Load it in the Qwen-3D training code with MODEL.WEIGHTS model_final.pth and the settings above (USE_LORA True, LORA_RANK 16, LORA_ALPHA 32, VLMCD.FRAMES_PER_STATE 16, VLMCD.STATE_ENCODING time, VLMCD.ANSWER_FORMAT json). Code: rabidsquirrel4/spatial_llm branch json-dist with the rabidsquirrel4/qwen3d submodule.

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_rgbd_dist

Adapter
(2)
this model

Dataset used to train jimtjames/qwen3d_rgbd_dist