DK-VLM: Geometry as Position for Spatial Reasoning in Vision-Language Models
Organizations: Harbin Institute of Technology · Yinwang Intelligent Technology · Huawei
Abstract
Vision-language models still struggle to understand 3D spatial relations across views and update spatial judgments as the observer moves. A common approach fuses 3D reconstruction features into visual tokens, but aligning these features with pretrained semantic representations remains challenging under limited spatial supervision. We propose DK-VLM with Dual-Kernel Attention, which computes attention from both a visual token's input position and its geometric position in the scene. A semantic kernel retains the pretrained model's native attention and positional encoding, while a separate geometric kernel uses estimated 3D points and camera poses to directly modulate attention through point displacements and relative view transformations. Then, a learned gate fuses their outputs. Geometry thus enters attention as position rather than as fused reconstruction features. We further introduce Reference-Frame Composition (RC) supervision to train the model to update its reference frame across successive judgments. It provides stepwise turn and heading targets derived from verified single-step annotations. Among the compared methods, DK-VLM-8B achieves the highest average score across six spatial benchmarks and the highest overall scores on VSI-Bench (74.33) and ReVSI-32 (58.28). RC supervision further improves multi-step spatial reasoning, while the full model preserves general video understanding. Project page: https://sumuru789.github.io/DK-VLM-website/.
Figures & tables
| (a) VSI-Bench | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| Model | Overall | Obj. Count | Abs. Dist. | Obj. Size | Room Size | Rel. Dist. | Rel. Dir. | Route Plan | Appr. Order |
| Qwen2.5-VL-7B | 29.30 | 25.20 | 10.50 | 36.40 | 29.60 | 38.40 | 38.00 | 29.80 | 26.80 |
| Qwen3-VL-8B | 57.90 | 67.60 | 47.00 | 76.30 | 61.90 | 58.00 | 51.00 | 35.00 | 66.30 |
| VG-LLM-8B | 62.20 | 71.40 | 56.80 | 69.00 | 69.10 | 67.90 | 83.20 | 47.40 | 32.50 |
| VLM-3R-7B | 60.90 | 70.20 | 49.40 | 69.20 | 67.10 | 65.40 | 80.50 | 45.40 | 40.10 |
| Cambrian-S-7B | 67.50 | 73.20 | 50.50 | 74.90 | 72.20 | 71.10 | 76.20 | 41.80 | 80.10 |
| Model | Avg. | VSI- Bench | MMSI- Bench | MindCube | ViewSpatial | SITE | CV- Bench |
|---|---|---|---|---|---|---|---|
| Qwen2.5-VL-7B | 40.31 | 29.30 | 26.80 | 36.00 | 36.80 | 37.60 | 75.40 |
| Qwen3-VL-8B | 47.73 | 57.90 | 28.80 | 29.80 | 39.00 | 45.80 | 85.10 |
| Cambrian-S-7B | 47.28 | 67.50 | 25.80 | 39.60 | 40.90 | 33.00 | 76.90 |
| VLM-3R-7B | 45.40 | 60.90 | 27.90 | 40.00 | 40.50 | 31.30 | 71.80 |
| VG-LLM-8B | 51.05 | 62.20 | 30.00 | 36.10 | 45.80 | 50.50 | 81.70 |
| GeoThinker-7B | 60.43 | 68.50 | 31.70 | 83.60 | 41.90 | 54.80 | 82.10 |
| Model | VSI Route | ReVSI Route | MMSI Multi-Step | ViewSpatial Person |
|---|---|---|---|---|
| DK-VLM (Full) | 60.31 | 47.67 | 34.34 | 61.72 |
| DK-VLM w/o RC | 51.21 | 43.48 | 29.19 | 56.32 |
| Chain Length | w/o RC | w/ RC |
|---|---|---|
| 2 | 10.6 / 2.2 | 52.2 / 45.6 |
| 3 | 9.0 / 0.3 | 50.0 / 37.5 |
| 4 (unseen) | 8.2 / 0.0 | 35.4 / 20.6 |
| Model | VideoMME | MVBench |
|---|---|---|
| Qwen3-VL-8B + SFT | 64.59 | 68.42 |
| DK-VLM-8B | 66.22 (+1.63) | 67.93 ( ) |
| Configuration | Overall |
|---|---|
| Full | 74.33 |
| w/o Point GTA | 71.81 |
| w/o Camera GTA | 72.46 |
| w/o Point & Camera GTA | 70.02 |
| w/o Pairwise Supervision | 73.20 |
| Model | w/o RC | w/ RC | |
|---|---|---|---|
| Backbone | 68.80 | 69.20 | +0.40 |
| DK-VLM | 73.28 | 74.33 | +1.05 |
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
| Component | DK-VLM-7B | DK-VLM-8B |
|---|---|---|
| Backbone | 8,292.17 | 8,767.12 |
| LoRA | 40.37 | 61.34 |
| Geometric branch (including gates) | 146.82 | 209.72 |
| Pairwise prediction head | 51.43 | 67.16 |
| Total trainable parameters | 238.62 | 338.22 |
| Relative to backbone | 2.88% | 3.86% |
| Chain Length | SPAR Delta | SPAR Heading | VSI Angle | VSI Action | Total |
|---|---|---|---|---|---|
| 2 | 80 | 80 | 80 | 80 | 320 |
| 3 | 80 | 80 | 80 | 80 | 320 |
| 4 | 80 | 80 | 80 | 8 | 248 |
| Injection Layers | Layer Indices | VSI-Bench |
|---|---|---|
| 3 | 6, 18, 33 | 62.28 |
| 5 | 6, 12, 18, 27, 33 | 63.05 |
| 7 | 6, 9, 12, 18, 24, 27, 33 | 63.11 |
| Placement | Layer Indices | VSI-Bench |
|---|---|---|
| Early | 6, 9, 12, 15, 18 | 62.43 |
| Distributed | 6, 12, 18, 27, 33 | 63.05 |
| Late | 18, 21, 24, 27, 30 | 61.29 |
| Geometry Frontend | Overall |
|---|---|
| VGGT- | 74.33 |
| VGGT | 73.91 |
| MASt3R-SLAM | 73.64 |
| Pi3X | 73.62 |
| DA3-Large | 72.99 |
| Input Frames | Overall |
|---|---|
| 8 | 65.29 |
| 16 | 69.94 |
| 32 | 74.33 |
| 64 | 75.13 |
| 128 | 75.32 |
| Configuration | VSI-Bench Overall |
|---|---|
| Qwen3-VL-8B + SFT | 59.48 |
| 3D positional embeddings at input | 59.21 |
| 3D positional embeddings at five layers | 59.74 |
| Single-kernel GTA (three layers) | 45.98 |
| Single-kernel GTA (five layers) | 39.14 |
| DK-VLM-8B (five layers) | 62.78 |
Visual Spatial Reasoning
Visual spatial reasoning studies how AI systems infer geometry, object relations, viewpoints, and physical change from images and video.
See all 251 papers