arXiv:2610.36022cs.CVOct 2026

Manuscript Offprint

arXiv:2610.36022

Learning and Reasoning with Geometry: How Generation Helps Spatial Understanding

Rui Yang, Yanwei Li, Sili Chen, Jingjia Huang, Yi Lin, Hengshuang Zhao

Abstract

Image and video generators can produce spatially consistent visual content, but how to use this capability to improve spatial understanding remains underexplored. We study this problem from two perspectives: geometric supervision during training and explicit geometric evidence during inference. To this end, we introduce a unified geometric understanding and generation model (GeoUG) that integrates depth and multi-view generation with spatial understanding. First, we design a multi-scale depth codec that enables metric-depth generation using a pretrained visual autoencoder, and show that joint training yields task-dependent gains in spatial understanding. Second, we introduce 3DCueBench to control geometric difficulty while balancing selected 2D cues, and find that generated depth provides larger reasoning gains on questions requiring fine-grained geometric discrimination. Building on this finding, we develop adaptive interleaved reasoning, in which GeoUG first drafts an answer and then decides whether to generate geometric evidence to confirm or revise it. We train this decision through reinforcement learning, balancing accuracy gains over retaining the draft against generation cost. GeoUG achieves circular accuracies of 97.9%, 90.8%, and 94.2% on CV-Bench-3D, 3DCueBench, and DA-2K with fewer generation calls than always generating.

Date: October 28, 2026

Code: https://github.com/hku-sail/GeoUG

1 Introduction

Foundation models increasingly learn from multimodal observations of the world, extending beyond the knowledge conveyed through language [2, 3, 64]. While language efficiently expresses concepts and relations, it often leaves the fine-grained geometry of physical scenes and their continuous changes underspecified [60]. Learning to predict visual observations offers a complementary source of supervision, requiring models to capture spatial structure and how it changes across views and over time. Recent advances in visual generation and editing [26, 50, 61] suggest growing capabilities to maintain coherent scene structure through such changes. Recent studies of multimodal pretraining further highlight the potential for generation and understanding to benefit from shared learning, while revealing that knowledge transfer is asymmetric and task-dependent [28, 64]. This raises a concrete question for geometry, which underlies both coherent visual generation and accurate spatial judgments: how can geometric generation help models learn spatial relations and reason about them?

To address this question, we examine geometric generation during both learning and reasoning. During learning, visual question answering (VQA) typically supervises the specific relations queried in a scene, whereas

Learning with geometry

GeoUG

Figure

Joint training: QA + generation

Generated depth, lifted to 3D

Reasoning with geometry

Q: Which is closer to the pianist's head?

A. blue light B. folding chair

DA-2K

Accuracy (%) ↑

Figure 1 Learning and reasoning with geometry. Learning with geometry (left): GeoUG co-trains spatial understanding with geometric generation of new views and metric depth, improving MindCube and DA-2K (Section 5.1). Reasoning with geometry (middle and right): GeoUG first drafts an answer, then decides whether to generate depth. Here it generates depth, queries 3D distances from the generated depth lifted to 3D, and revises the incorrect draft. Far right: comparison of GeoUG with Marigold [36], DA3 [43], and Seed-2.0 [13] on DA-2K [77].

generating depth or images from other viewpoints provides supervision over richer scene structure and its visual consequences. This motivates examining how different geometric generation objectives contribute to spatial understanding. During reasoning, generated geometry can provide explicit intermediate representations from which depth and distance measurements can be obtained to support spatial judgments. We therefore ask when using this additional evidence improves an answer and whether models can learn to acquire it selectively. These two perspectives connect learning spatial relations from geometric supervision with reasoning over generated geometry.

To study these two roles, we develop GeoUG (Figure 1), a unified model that integrates spatial understanding with metric-depth generation and view-generation tasks. To enable metric-depth generation, we introduce a Multi-scale Metric Depth Codec (MMDC). MMDC encodes metric depth into a bounded three-channel representation compatible with a pretrained visual autoencoder, with each channel operating at a different depth scale. During training, we jointly optimize a next-token prediction objective for spatial understanding and a flow-matching objective for geometric generation. Comparing different geometric generation objectives reveals task-dependent benefits: metric-depth generation primarily improves depth-related spatial abilities, whereas view generation benefits spatial understanding across viewpoints. During inference, GeoUG uses generated metric depth as explicit geometric evidence. To characterize when this evidence is useful, we introduce 3DCueBench, which balances cases in which selected 2D cues agree or conflict with the true 3D relations across different geometric difficulty levels. We find that generated depth provides larger gains when the compared objects have smaller depth or distance gaps. Motivated by this finding, we develop adaptive interleaved reasoning, in which GeoUG first drafts an answer and then decides whether to generate geometric evidence to confirm or revise it. We train this draft-conditioned policy using reinforcement learning with verifiable rewards (RLVR) [20], introducing a decision-specific advantage that compares generation with retaining the draft while accounting for generation cost. By acquiring geometric evidence selectively, GeoUG retains most of the gains from always generating while requiring fewer generation calls. It achieves circular accuracies of 97.9%, 90.8%, and 94.2% on CV-Bench-3D [62], 3DCueBench, and DA-2K [77], respectively. Together, these findings highlight the task-dependent benefits of geometric supervision during training and the value of selectively acquiring geometric evidence during inference.

Our main contributions are as follows:

  • We study geometric generation as both training supervision and reasoning evidence, analyzing the task-dependent benefits of different generation objectives and how inference gains vary with geometric difficulty.

  • We introduce GeoUG, which integrates metric-depth and camera-conditioned multi-view generation into a unified understanding and generation model. Using the draft answer as a reference, reinforcement learning balances accuracy gains against generation costs to support on-demand generation and use of geometric

evidence.

  • We introduce 3DCueBench, which controls geometric difficulty while balancing the validity of selected 2D cues, enabling a more targeted evaluation of spatial reasoning. Across three spatial understanding benchmarks, GeoUG achieves the highest circular accuracy among the evaluated vision-language models, while using fewer generation calls and maintaining accuracy close to or above the always-generate configuration.

References (86)