UGG: Unified Generative Geometry Model

Amani Kiruga, Zhiyi Li, Ruojin Cai, Hansen Lillemark, Xiaoshan Wu, Ayush Tewari, Yilun Du

TL;DR

UGG (Unified Generative Geometry Model) is a single multimodal transformer that jointly models RGB video, depth, and camera pose. By treating both visual synthesis and geometric estimation as a "missing-modality denoising" problem, it achieves state-of-the-art performance in 4D scene understanding, particularly in challenging sparse-observation settings.

What Problem Does This Paper Address?

Understanding a 4D scene—how a 3D space looks and moves over time—is a fundamental challenge in computer vision. Traditionally, this field is split into two camps:

  1. Feedforward Discriminative Models: These are great at direct geometric prediction (e.g., "what is the depth of this pixel?"). However, they are often deterministic and struggle when data is sparse or ambiguous.
  2. Generative Models: These excel at visual synthesis (e.g., "show me this room from a different angle"). While they produce visually plausible results, they often lack explicit 3D grounding, leading to physical inconsistencies.

The authors of UGG argue that these shouldn't be separate tasks. Whether you are predicting a camera's path or generating a novel view, you are essentially performing inference on the same underlying 4D scene.

Methods

UGG introduces a unified framework where appearance (RGB), structure (depth), and viewpoint (camera geometry) are treated as symmetric modalities.

1. Unified Representation

To make camera pose compatible with a transformer, the authors represent it as dense ray maps (6D Plücker rays). This turns abstract camera parameters into an image-like modality that is spatially aligned with RGB and depth.

2. The Architecture

The backbone is a multimodal transformer (specifically a Mixture-of-Transformers). It uses modality-specific projections and feed-forward layers but shares a joint self-attention mechanism, allowing information to flow freely between RGB, depth, and camera tokens.

Figure 2: Generative-predictive transformer. We model RGB, depth, and camera pose as spatially aligned tokens, with camera pose represented as dense ray maps. Partial observations are zero-noise context tokens, while missing modalities are noisy tokens to be denoised. A unified transformer processes all tokens with modality-specific projections and feed-forward layers together with shared multimodal self-attention, enabling information exchange across modalities. The decoded RGB, depth, and ray maps form a complete 4D scene representation for cross-modal generation, geometric prediction, and inference-time consistency search.

3. Noise as Masking

UGG uses an extension of Diffusion Forcing. During training and inference, tasks are defined by "noise patterns." * Observed data (like a single RGB frame) is treated as "clean" context. * Missing data (like the depth map or future frames) is treated as "noisy" targets to be denoised.

This "any-to-any" formulation allows the same model to handle text-to-video, depth estimation, and pose prediction without changing its architecture.

Tasks are specified by noise patterns over multimodal tokens.

Because UGG is generative, it can sample multiple plausible hypotheses for a scene. The authors implement a Test-Time Search (TTS) mechanism that uses geometric evidence (like optical flow from the observed RGB frames) to rank these samples and pick the one with the best cross-modal consistency.

Datasets

UGG is trained on a massive, heterogeneous mixture of real and synthetic datasets, including DL3DV-10K, RealEstate10K, TartanAir, BEDLAM, Aria Synthetic, OmniWorld-Game, Virtual-KITTI2, and Mid-Air.

A key advantage of the UGG framework is that it can learn from "incomplete" data—for example, a dataset that has RGB and camera pose but no depth labels can still contribute to the model's understanding of those two modalities.

Key Insights and Ideas

  • Synergy through Joint Training: One of the most striking findings is that learning to generate RGB actually helps the model recover geometry. In ablations, removing the RGB generation task caused the depth error on the KITTI dataset to more than double.
  • Ray Maps are Effective: Encoding camera pose as a spatial map rather than a global vector significantly improves trajectory and rotation accuracy.
  • Perception as Inference: By sampling multiple hypotheses and verifying them against physical constraints (like photometric reprojection), UGG mimics the cognitive theory that human perception involves internal simulation to explain incomplete observations.

Key Results

UGG outperforms specialized, non-unified baselines across several tasks:

  • Camera Pose Estimation: In dense settings, UGG reduced the Absolute Trajectory Error (ATE) on ScanNet++ from 0.190 (Geo4D) to 0.087.
  • Sparse Observations: UGG is remarkably robust when only the first and last frames of a sequence are provided, a setting where most feedforward models fail.
  • Video Generation: UGG better preserves scene identity and dynamic content compared to generic video completion models like SEVA or Aether.
UGG produces more accurate camera trajectories compared to baselines.

Limitations and Future Work

While UGG is a powerful generalist, it isn't yet the "master of all." Specialized models still perform better on certain pixel-aligned novel-view synthesis metrics and specific indoor depth benchmarks.

The authors suggest that future work should focus on:

  • Scaling: Training at higher resolutions and on even more diverse data.
  • Better Verifiers: Improving the inference-time search criteria beyond simple reprojection error.
  • Consistency: Strengthening the geometric supervision during training to close the gap with specialized geometry models.

Summary updated

Abstract

Understanding 4D scenes is a core challenge in visual intelligence, requiring models to jointly capture scene geometry, appearance, and dynamics from partial observations. However, existing approaches are subdivided into feedforward models for direct geometric prediction, and generative models for visual synthesis. We introduce UGG, a unified framework for 4D scene understanding that jointly models RGB video and geometric representations such as depth and camera pose. By assigning different noise levels across modalities and time, UGG formulates visual generation and geometric prediction as conditional completion within a single generative model. This flexible formulation enables the model to learn from diverse, heterogeneous datasets with different subsets of geometric and visual annotations. Furthermore, our generative formulation enables inference-time search over multiple plausible scene hypotheses, using geometric evidence extracted from observed RGB frames to improve geometric prediction without ground truth geometry. We demonstrate UGG's effectiveness over non-unified baselines across camera-controlled video generation, depth estimation, and camera pose prediction, including in challenging sparse observation settings. Code and visualizations are available at https://ugg-model.github.io/
BibTeX
@inproceedings{kiruga2026ugg,
  author = {Amani Kiruga and Zhiyi Li and Ruojin Cai and Hansen Lillemark and Xiaoshan Wu and Ayush Tewari and Yilun Du},
  title = {{UGG: Unified Generative Geometry Model}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=4Br2rbkC6J},
}
Figure