G GeoUG.Read the paper
GEOMETRIC UNDERSTANDING & GENERATION

Learning and reasoning with geometry:

How Generation Helps Spatial Understanding?

Rui Yang1Yanwei Li2,†Sili Chen3Jingjia Huang3Yi Lin3Hengshuang Zhao1,†
1 The University of Hong Kong2 Shanghai Jiao Tong University3 ByteDance Seed

† Corresponding authors

GeoUGUnified understanding & generation
IMAGE + INSTRUCTIONOne scene. Multiple geometric tasks.

GeoUG task configurations · Two-view fusion is illustrative, with estimated ego intrinsics and residual misalignment.

Generate geometry. Improve understanding. Reason selectively.Explore the research

Research Overview

Two ways to use generation: geometric supervision during training, and geometric evidence during inference.

A DURING TRAINING

Geometric Co-training

Co-training with geometric generation improves spatial skills. Which task helps depends on the skill being tested.

Spatial understanding+Geometric generation
B DURING INFERENCE

Geometry-assisted Inference

Draft an answer. Generate depth when it is useful. Measure, then confirm or revise.

Draft→Decide→Measure

Model Overview

GeoUG combines spatial understanding and geometric generation in one multimodal framework. The instruction specifies what to answer or generate.

INPUTInput photograph of a pianist in a room, with the head anonymizedImage + task instruction

Ask a spatial question,
request depth, or specify a viewpoint.

UNIFIED MODELGeoUG

Understanding
+
Generation

Built on BAGEL
TASK-CONDITIONED OUTPUT
Text
answer
Spatial understanding

Answer questions about the scene.

Generated view from the pianist’s perspective
View generation

New camera view or first-person view.

Generated metric depth of the piano scene
Metric-depth generation

Depth in metres, enabled by MMDC.

Overview of the supported tasks. Outputs are selected by the instruction; examples come from the corresponding task configurations.
FOCUS ON THE DEPTH BRANCH

How can an image generator produce depth in metres?

Multi-scale Metric Depth Codec

The Multi-scale Metric Depth Codec fits metric depth into the three channels of an RGB VAE—with no learned codec parameters and no architecture changes.

STATIC OVERVIEW / DEPTH ENCODING

One depth map → three scales → one image.

01 · METRIC DEPTHMetric depth map before encodingDepth in metres
02 · THREE FIXED SCALES
Channel 1 c₁ = 2 mChannel 2 c₂ = 8 mChannel 3 c₃ = 32 m
Apply the same transform
at three different pivots
03 · MMDC IMAGEExample three-channel MMDC representationStack the three channels
04 · VISUAL LATENT
Frozen
VAE encoder
Training target
for flow matching
Training: encode the target depth into three channels, then into VAE latents. Inference: generate a latent, decode the three-channel image, and invert MMDC to recover metres. Images illustrate the representation; the same fixed encoding is used across scenes.
IN MOTION

The complete codec, step by step.

First encode depth. Then watch generation and decoding as one continuous animation.

01 · Encode — Why multiple scales?A single pivot compresses depth differences far from its scale. Watch how three pivots preserve differences across near and far depths.
02 · Generate → DecodeNoise → encoded depth image → metric depth → 3D.
THE MATH & THE EVIDENCE

Depth Encoding and Reconstruction

ENCODEYi=d−cid+ci
DECODEd^i=ci1+Y^i1−Y^i
FUSEwi=(1−Y^i2)2d^=∑iwid^i∑iwi

Fixed pivots: c₁ = 2 m, c₂ = 8 m, c₃ = 32 m. Each channel covers a different depth scale; fusion favors channels away from saturation.

DEPTH ESTIMATION

Experiment Results

Comparison with other models

Affine-aligned evaluation · each cell: AbsRel ×100 ↓ / δ₁ (%) ↑
ModelNYU-v2KITTIETH3DSintelDIODE
ZoeDepth4.76 / 97.305.59 / 95.107.27 / 94.2021.80 / 69.207.80 / 90.90
Depth Anything V24.16 / 97.906.77 / 94.304.63 / 97.2017.10 / 76.605.41 / 94.60
Metric3D V23.94 / 97.603.50 / 98.403.24 / 99.0026.60 / 71.702.75 / 98.70
UniDepth V22.96 / 98.603.85 / 98.102.95 / 98.5013.30 / 83.204.05 / 96.50
Depth Pro3.67 / 98.205.12 / 96.804.97 / 96.4015.80 / 80.104.66 / 95.60
MoGe-V22.89 / 98.603.75 / 98.102.80 / 99.1013.30 / 82.503.14 / 97.40
Marigold-v1.15.50 / 96.4010.50 / 90.206.90 / 95.7029.80 / 78.20— / —
Lotus5.40 / 96.808.50 / 92.205.90 / 97.00— / —9.80 / 92.40
GeoUG-Depth (ours)3.32 / 98.464.84 / 97.273.75 / 97.8514.72 / 79.654.50 / 96.22

GeoUG-Depth uses MMDC with expanded training data. “—” indicates an unreported result. Affine-aligned scores evaluate depth shape, not absolute metric-scale accuracy.

MMDC ablation

Same evaluation protocol · each cell: AbsRel ×100 ↓ / δ₁ (%) ↑
EncodingAverageNYU-v2KITTIETH3DSintelDIODE
Single-scale (c = 5 m)7.47 / 92.203.35 / 98.406.61 / 95.224.76 / 96.6616.68 / 76.775.96 / 93.96
MMDC (2, 8, 32 m)7.24 / 92.573.35 / 98.386.51 / 95.344.62 / 96.9916.31 / 77.235.40 / 94.88
MMDC + data scaling6.23 / 93.893.32 / 98.464.84 / 97.273.75 / 97.8514.72 / 79.654.50 / 96.22

Average is the unweighted mean across five datasets. The final row adds training data and is the GeoUG-Depth model compared above.

Geometric Generation

From noise to depth, camera-controlled views, and first-person perspectives. These videos show actual sampling runs from the paper’s checkpoints.

01

Generate metric depth

A single photograph becomes a metric depth map. Watch the sampling process.

02

Move the camera

The generated view follows a camera-motion instruction. Ground truth is shown alongside.

03

Take another perspective

Generate a first-person view from a third-person image and a description of the person.

Geometric Co-training Results

Geometric co-training improves spatial understanding, with gains that depend on the generation task and benchmark.

At the final checkpoints, all three co-training tasks improve CV-Bench-3D-Visual by 1.50–1.67 percentage points. Depth generation gives the largest gain on DA-2K-Visual (+2.08 points); multi-view and exo-to-ego generation improve MindCube by 2.21 and 2.31 points, respectively.

Co-training accuracy curves plotted against understanding CE tokens across four spatial benchmarks

Comparisons are aligned by understanding CE tokens. See the paper for model configurations and evaluation protocols.

Adaptive Interleaved Reasoning

GeoUG first drafts an answer, then decides whether generated geometry is worth using to verify it.

01

Why adaptive interleaved reasoning?

Generation helps on hard questions; easy questions can often be answered directly.

When two depths or distances are close, generated geometry provides useful evidence. With a large gap, direct answering is already strong and extra generation adds little.

THEREFORELearn when to generate.

Use geometric evidence where it helps, and skip it where it is unnecessary.

Paper pilot: generation yields larger accuracy gains on harder, small-gap depth and distance questions; direct answering is strong on easier questions.
Pilot I · Smaller geometric gaps are harder. Ordinary accuracy; shaded bands are 95% confidence intervals. Bins with fewer than ten questions are omitted.
02

Draft first to learn when to generate

The draft provides a discriminative context for learning the adaptive generation policy.

First attempt the question. Then learn whether to keep that answer or verify it with generated geometry.

INPUTImage + question
DRAFTTentative answer
LEARNED POLICYDoes this answer need geometry?
↳ Skip generationKeep draft → Final answer
↳ Generate evidenceDepth → Measure → Verify or revise

The policy conditions on the image, question, and draft—not the unavailable ground-truth difficulty.

More selective generation

At a 50% generation budget, the draft-conditioned setting retains more of the accuracy gain from always generating.

55%Decide before answering
86%Decide after a draft

How it learns: supervised fine-tuning initializes the draft-and-verify format; reinforcement learning rewards correct answers while charging for generation. Decision-specific credit compares generation with keeping the draft.

Pilot II · Retained gain is normalized to each policy’s own direct and always-generate accuracies. Checkpoints, supervision, and credit assignment differ; this comparison does not isolate draft position alone.

Recorded reasoning example

Which is closer to the pianist’s head: the blue light or the folding chair? Watch the draft, depth generation, measurement, and revision.

Adaptive interleaved reasoning starts with a draft, then selectively generates geometric evidence to verify or revise the answer.

Experiment Results

GeoUG skips generation on 27.6–49.7% of questions across these benchmarks. Circular accuracy requires both option orders to be correct.

Accuracy and generation, across all three benchmarks.

Circular accuracyGeneration rate

GeoUG: RL policy with λ = 0.1. Always-generating is slightly more accurate on 3DCueBench and DA-2K; GeoUG uses fewer generation calls.

Full model comparison

Circular accuracy (%), main results reported in the paper
ModelCV-Bench-3D3DCueBenchDA-2KAverage
BAGEL-7B-MoT70.461.655.162.4
Qwen2.5-VL-7B70.848.645.354.9
Qwen3-VL-8B87.166.844.666.2
InternVL3.5-8B78.957.631.656.0
SenseNova-SI-1.4-8B89.372.163.975.1
SenseNova-SI-1.5-8B87.471.561.173.3
VST-7B-SFT93.277.963.578.2
DA3 (depth readout)95.390.992.192.8
GeoUG (Ours)97.990.894.294.3

DA3 uses predicted metric depth with the same measurement procedure, without a VLM. Average is the mean of the three overall scores. Consult the paper for referring formats and full setup.

Interleaved Reasoning Examples

Generated geometry can correct a wrong draft, but selective generation also avoids unnecessary computation—and erroneous measurements can still overturn a correct answer.

Abridged traces from the paper and appendix. Generated depth and top-view point clouds come from the policy’s outputs. Generation probabilities are reported for both option orders; tool measurements are predictions, not ground-truth distances.

Source: paper, reasoning results and Qualitative Results appendix. Point clouds use the measurement tool’s approximate camera intrinsics when calibrated intrinsics are unavailable.

3DCueBench

800 spatial questions. Balanced 2D cues. Four difficulty levels.

WHAT IS A SHORTCUT?

Using 2D image cues alone to answer 3D spatial questions.

2D cues are image-plane clues, such as relative position and pixel distance.

Example: assuming “lower in the image” means “closer to the camera.”

OUR OBSERVATION

High accuracy can come from the shortcut.

On CV-Bench-3D Depth, this rule alone answers 85.3% correctly.

OUR INSIGHT

To test 3D reasoning, make the shortcut fail as often as it works.

3DCueBench balances both cases across tasks and difficulty levels.

Audit: 600 CV-Bench-3D Depth questions; rule uses bounding-box bottoms. 3DCueBench balances selected cues within each task, source, and difficulty interval.

GPT-5.5 failure cases: image height is not camera depth

In these 3DCueBench examples, the higher target point is nearer to the camera. GPT-5.5 and Seed-2.0-Lite both select the farther target. Depth values are ground truth; annotations are added for readers and are not supplied to the models.

Three 3DCueBench depth counterexamples: both GPT-5.5 and Seed-2.0-Lite choose the farther object despite the higher target being nearer
Model predictions on 3DCueBench examples. Blue marks the correct answer; red crosses mark incorrect predictions.

Accuracy drops when the 2D cue fails

GPT-5.5: 93.4% → 35.7% when the cue switches from consistent to conflicting.

3DCueBench Distance · ordinary accuracy (%), not circular accuracy
ModelOverallCue-consistentCue-conflictingAgreement with 2D rule
GPT-5.564.693.435.778.8
Seed-2.0-Lite64.592.037.077.5

GPT-5.5 version: gpt-5.5-2026-04-24. Twelve unparseable responses are excluded, so evaluated group sizes can differ from the balanced construction. The image-height examples above concern Depth; this table concerns Distance.

Benchmark construction

400 Depth + 400 Distance

Compare two camera depths, or compare two 3D distances to an anchor.

Four difficulty intervals

[0.10, 0.16), [0.16, 0.25), [0.25, 0.40), [0.40, 1]. Each contains 100 questions per task.

Balanced within each interval

50/50 selected cue agreement and conflict; equal indoor/outdoor representation. Ten source datasets.

Depth cues use vertical image relationships; Distance cues use image-plane proximity to the anchor. This controls the selected rules, not every possible shortcut. Text-only language-model probes score 48.9–50.4%; scene-disjoint boosted-tree probes reach 56.1% (Depth) and 53.5% (Distance).

Visualizing the 2D–3D discrepancy

Depth: kettle or chair?

Distance: stool or basket?

The videos illustrate geometry using generated-depth readouts. Benchmark labels and statistics above use the paper’s ground-truth protocol. Source: paper, Evaluation and 3DCueBench appendix.

Paper and Resources

Read the full paper