TL;DR
"Geometry-as-Context" (GaC) unifies geometry estimation, 3D reconstruction, and novel-view synthesis into a single, fully differentiable autoregressive video generation model. By interleaving explicit 3D geometry as a contextual modality within a single Diffusion Transformer (DiT), GaC eliminates the cumulative errors typical of traditional hybrid pipelines, delivering state-of-the-art 3D scene consistency and precise camera control.
What Problem Does This Paper Address?
Creating scene-consistent videos based on a user-defined camera trajectory is a foundational task for AR/VR, gaming, and robotics. Current approaches generally fall into two camps:
- Video-based methods: These rely purely on generative video models, which often struggle to maintain rigid 3D structures over large camera movements.
- Reconstruction-based methods: These use explicit 3D representations (like point clouds or 3D Gaussian Splatting) to warp and render new views, followed by an image inpainting model to clean up artifacts.
While reconstruction-based methods handle 3D structure better, they suffer from severe cumulative errors. Because the geometry estimation, rendering, and inpainting steps are handled by separate, non-differentiable models, gradients cannot flow end-to-end. A tiny error in an early frame's depth estimation cascades through the pipeline—a "butterfly effect" that ultimately results in blurry, distorted, or physically impossible video sequences over long trajectories.
Methods
The authors introduce Geometry-as-Context (GaC) to internalize the entire reconstruction and rendering pipeline into a single generative model.
1. Interleaved Autoregressive Modeling
Instead of using separate networks, GaC flattens the process into a single sequence-to-sequence task. The model autoregressively processes an interleaved sequence of text prompts, RGB images ($I$), and geometry maps ($G$):
$$\{I_i, \text{<Geometry>}, G_i, \text{<Image>}, I_{i+1}, \dots\}$$
Text tokens like <Geometry> and <Image> act as task schedulers, telling the network whether it should be predicting structural depth or synthesizing photorealistic pixels.
2. Camera Gated Attention (CGA)
To help the model understand how camera poses should drive both geometry and image generation, the authors designed the Camera Gated Attention module. Camera poses are encoded as Plücker rays and integrated directly into the self-attention mechanism. The module enhances the attention query and produces a gating matrix that dynamically regulates the self-attention outputs based on the target view.
3. Geometry Dropout Strategy
Doubling the sequence length with geometry maps slows down training and inference. To fix this, the authors introduce Geometry Dropout, which randomly removes the geometry context during training. This forces the model to implicitly learn 3D scene consistency even when geometry maps are missing, allowing users to bypass geometry generation entirely during inference for a $2\times$ speedup.
Datasets
The model was trained and evaluated on two prominent benchmarks:
- RealEstate10K: A large-scale dataset of camera trajectories through indoor and outdoor real estate videos. The authors used 66,033 clips for training and 150 for testing.
- Tanks-and-Temples: Used exclusively for testing to evaluate how well the model generalizes to novel scenes with larger, more dynamic camera movements.
- Note on Ground Truth: To get high-quality depth maps for training, the authors enhanced the depth estimation pipeline of Hunyuan-Voyager using MoGe2 and VGGT confidence maps.
Key Insights and Ideas
- Geometry as a Regularizer: The most compelling insight is that explicit 3D geometry can be treated simply as a multi-modal context. Even when geometry is dropped at inference time, having trained on it acts as a powerful structural anchor, preventing the model from "forgetting" the layout of the room.
- End-to-End Differentiability Wins: By replacing hard-coded, non-differentiable unprojection and rendering math with learned attention mechanisms, the model naturally learns to compensate for its own internal uncertainties rather than compounding errors.
- Robustness to Cyclic Motion: Because the model retains a strong implicit memory of the scene's 3D layout, it excels at loop-closure. If an object disappears from the frame during a camera turn, it is faithfully restored when the camera pans back.
Key Results
GaC was evaluated against top baselines, including CameraCtrl, ViewCrafter, and Voyager, across both standard single-direction trajectories and challenging "forth-and-back" looping trajectories.
Quantitative Performance
On the RealEstate10K dataset, GaC achieved substantial improvements across all primary metrics:
- FID (Visual Quality): Dropped to 55.76 (compared to ViewCrafter's 80.47 and Voyager's 65.12), indicating significantly higher photorealism.
- PSNR / SSIM (Pixel Fidelity): Reached 19.01 / 0.656, outperforming all baselines.
- Camera Control ($R_{err} / T_{err}$): Demonstrated tighter alignment with ground-truth trajectories due to the CGA module.
Qualitative Performance
Qualitatively, GaC preserves intricate textures (such as wall colors and floral patterns) far better than previous methods, which tend to drift into generic textures over long sequences.
Limitations and Future Work
Despite its strengths, the authors note a few key limitations:
- Dynamic Elements: GaC assumes a static 3D world; it does not yet generalize well to scenes containing humans or complex moving subjects.
- Boundary Artifacts: In some outdoor scenes, the model produces slightly darkened textures around the edges of the frame during aggressive camera pans.
- Long-term Memory Decay: While GaC handles short loops well, all tested models experience a performance drop on highly extended forth-and-back trajectories, highlighting the need for more advanced long-term context memory strategies.
Summary updated