Geometric Encoding for Spatial Reasoning in Vision-Language Models
Abstract
Vision-Language Models (VLMs) are far more reliable at recognizing what appears in a video than at reasoning about its spatial and temporal properties, such as metric distances, object dimensions, and consistent object identities across frames. We present Geometric Code, a perception-to-geometry pipeline that computes explicit spatial structure from video and supplies it to VLMs as context to augment reasoning. A perception layer segments and classifies objects and recovers depth, camera pose, and intrinsics from monocular RGB video. A deterministic geometric engine then back-projects, merges, and cleans these outputs into a spatial code, including per-object positions, dimensions, counts, inter-object distances, appearance order, and room geometry. The code is serialized into VLMs' prompts, either alongside the video or replacing it entirely. Specifically, there is no component trained or fine-tuned in our approach. On VSI-Bench, augmenting 2B and 4B open models with the spatial code improves average accuracy by +4.1 points over the frames-only baseline, with the largest gains on numeric estimation tasks such as absolute distance (+24.1 points). The results suggest that explicitly computed geometry, delivered through the language channel, recovers spatial competence that small VLMs cannot extract from pixels alone.
Create a lesson
Related papers
Find the Clue, Not the Scene: Rethinking Reasoning for Entity Recognition in Vision-Language Models
Shared title terminologycs.CVKyungmin Min, Soyeon Kim, Junseok Kim et al.
Decoding the Disaster: Multi-Task Geospatial Reasoning with Vision-Language Models and Crowdsourced Imagery for Disaster Mapping
Shared title terminologycs.CVWenping Yin, Fabian Desuer, Ziqi Liu et al.
Token-Disentangled Latent Test-Time Scaling for Vision-Language Reasoning
Shared title terminologycs.CVHao-Xuan Ma, Yihao Liu, Yutao Sun et al.
From Perception to Integration: Revisiting the Internal Dynamics of Reasoning in Vision-Language Models
Shared title terminologycs.CVRong Yu Xu, Prayag Tiwari, Shaolei Zhang
VisualMontage: Manipulating the Beliefs of Vision-Language Agents with Authentic Image Sequences
Shared title terminologycs.CVJinwei Hu, Lai Wei, Zhuoyun Li et al.
Attacking Hard-Label Large Vision-Language Models with Model-Sensitive Adversarial Patch Designs
Shared title terminologycs.CVNian Ai, Guangke Chen, Xiaowen Cai et al.