On Unifying Video Generation and Camera Pose Estimation

Chun-Hao Paul Huang, Jae Shin Yoon, Hyeonho Jeong, Niloy J. Mitra, Duygu Ceylan

Abstract

Emergent capabilities of image generators have led to many impactful zero- or few-shot applications. Inspired by this success, we investigate whether video generators similarly exhibit 3D-awareness. Using structure-from-motion as a 3D-aware task, we test if intermediate features of a video generator—OpenSora in our case—can support camera pose estimation. Surprisingly, we find only a weak native correlation between the two tasks. Deeper investigation reveals that although the video generator produces plausible video frames, the frames themselves are not truly 3D-consistent. Instead, we propose to jointly train for the two tasks using photometric generation and 3D-aware errors. Specifically, we find that state-of-the-art video generation and camera pose estimation (e.g., DUSt3R) networks share common structures, and we propose an architecture that unifies the two. The proposed unified model, named JOG3R, produces camera pose estimates with competitive quality while producing 3D-consistent videos. In summary, we propose the first unified video generator that is 3D-consistent, generates realistic video frames, and can potentially be repurposed for other 3D-aware tasks.

Introduction

Modern video generation models like Sora and OpenSora have achieved remarkable visual fidelity and temporal smoothness. However, a critical limitation persists: these models often lack true 3D consistency. While generated sequences may appear plausible to a human observer, the underlying geometry frequently warps or shifts in ways that violate physical laws. This research investigates whether the internal representations of these generators are inherently 3D-aware and proposes a method to enforce geometric consistency through a unified framework.

The JOG3R Framework

The authors introduce JOG3R (JOint Generation and 3D Reconstruction), a unified architecture that bridges the gap between visual plausibility and geometric accuracy. The framework relies on two primary innovations:

Model Stitching

JOG3R "stitches" the backbone of a state-of-the-art video generator (OpenSora) with the specialized 3D decoders and heads from DUSt3R, a leading 3D reconstruction model. By replacing DUSt3R's standard image encoder with the internal transformer blocks of the video generator, the model can leverage generative features for 3D tasks. Analysis revealed that features from later blocks (specifically block 26 of 28) provide the optimal balance of high-level semantics and low-level geometric detail.

Joint Training

Rather than using the generator as a static feature extractor, JOG3R employs a joint training strategy using a dual-loss objective:

  • Generation Loss ($\mathcal{L}_{gen}$): A standard diffusion objective to maintain high-quality video frame synthesis.
  • Reconstruction Loss ($\mathcal{L}_{rec}$): A 3D-aware loss that penalizes errors in predicted 3D point maps, forcing internal representations to become geometrically grounded.
The JOG3R training pipeline unifies generation and reconstruction losses to ensure 3D-aware feature learning.

Experimental Evaluation

The model was primarily trained and evaluated on the RealEstate10K dataset, which contains 65,000 video clips with ground-truth camera parameters. Additional testing on DL3DV10K demonstrated the model's generalization capabilities to out-of-distribution scenes.

3D Consistency and Visual Quality

JOG3R demonstrates a significant improvement in 3D consistency. Using the MET3R score (a metric for geometric stability), JOG3R achieved a score of 0.0736, outperforming the pre-trained OpenSora baseline of 0.0819. Visually, this translates to reduced warping and more stable scene geometry over time.

Comparison of 3D consistency (MET3R) between pre-trained OpenSora and JOG3R, showing reduced geometric error over time.

Furthermore, the joint training objective actually improved visual quality. JOG3R achieved an FID score of 79.94 on the RealEstate10K test set, a substantial improvement over the base model's 115.36. This suggests that learning underlying geometry provides a beneficial inductive bias for video synthesis.

Camera Pose Estimation

In the Video-to-Camera (V2C) task, JOG3R produces camera pose estimates competitive with specialized 3D reconstruction models. A key finding is the model's self-consistency: camera paths generated alongside videos (Text-to-Video+Camera) align closely with paths estimated post-generation, confirming a robust internal geometric logic.

Conclusion and Future Work

JOG3R represents a significant step toward 3D-consistent video generation by unifying generative and reconstructive tasks. While currently limited to static scenes and 16-frame sequences, future work will explore handling dynamic objects and scaling to longer video durations. The success of this unified approach suggests that 3D awareness is not just a byproduct of scale in video generators but a property that can be explicitly cultivated through joint training.

Summary updated

BibTeX
@misc{huang2025unifying,
  author = {Chun-Hao Paul Huang and Jae Shin Yoon and Hyeonho Jeong and Niloy J. Mitra and Duygu Ceylan},
  title = {{On Unifying Video Generation and Camera Pose Estimation}},
  year = {2025},
  eprint = {2501.01409},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2501.01409},
}
Figure