Introduction
Camera pose estimation is a foundational pillar of computer vision, underpinning applications from augmented reality to large-scale 3D reconstruction. Traditionally, this problem is framed as Structure from Motion (SfM) and solved via Bundle Adjustment (BA)—a non-linear optimization process that minimizes reprojection errors. However, BA is highly sensitive to initialization; without a near-perfect starting guess, it often converges to incorrect local minima. This sensitivity is particularly acute in "sparse-view" scenarios where images have wide baselines or limited overlap, causing classical pipelines like COLMAP to fail.
PoseDiffusion introduces a paradigm shift by formulating SfM as a conditional generative task within a probabilistic diffusion framework. By treating the iterative denoising process of diffusion as a robust alternative to traditional iterative optimization, PoseDiffusion overcomes the limitations of both classical geometry and direct regression models.
The Diffusion Framework for SfM
The core of PoseDiffusion is a Transformer-based denoiser conditioned on image features extracted via a DINO backbone. Unlike traditional methods that attempt to find a single deterministic solution, PoseDiffusion models the conditional distribution of camera poses given a set of input images.
The process begins with a set of camera parameters—rotations (quaternions), translations, and focal lengths—initialized as random noise. Through a series of diffusion steps, the model iteratively refines these parameters. This iterative nature is not merely a byproduct of the framework; it is a deliberate design choice that mirrors the refinement steps of Bundle Adjustment, providing a more robust path through the complex optimization landscape of camera poses.
Geometry-Guided Sampling (GGS)
While the diffusion model learns powerful priors about scene structure and camera layouts from data, purely generative approaches can sometimes lack the mathematical precision required for geometric consistency. To address this, the authors introduce Geometry-Guided Sampling (GGS).
GGS integrates classical epipolar geometry into the diffusion process. During each denoising step, the model calculates the Sampson Epipolar Error, a metric that quantifies how well a pair of camera poses satisfies the geometric constraints imposed by 2D point correspondences. By computing the gradient of this error, the model "nudges" the predicted poses toward a state that is mathematically consistent with the laws of geometry. This hybrid approach allows PoseDiffusion to benefit from the "best of both worlds": the expressive priors of deep learning and the hard constraints of classical physics.
Experimental Results and Generalization
The model was rigorously tested on the CO3Dv2 and RealEstate10k datasets, representing both object-centric and scene-centric environments.
Performance in Sparse Views
In scenarios with only 10 input frames—a significant challenge for traditional SfM—PoseDiffusion demonstrated remarkable robustness. On the CO3Dv2 dataset, it achieved a mean Average Accuracy (mAA) of 66.5, significantly outperforming PixSfM (30.1) and COLMAP (25.3). While classical methods often fail to register cameras in sparse settings, PoseDiffusion consistently provides accurate estimates.
Zero-Shot Generalization
One of the most striking findings is the model's ability to generalize. A PoseDiffusion model trained exclusively on the object-centric CO3D dataset performed effectively on the RealEstate10k walkthroughs without any additional fine-tuning. This suggests that the model has learned fundamental geometric relationships rather than simply memorizing dataset-specific patterns.
Downstream Applications
The utility of PoseDiffusion extends to downstream 3D tasks. When the estimated poses were used to initialize Neural Radiance Fields (NeRFs), the resulting reconstructions were sharper and more accurate than those produced using poses from competing methods. This confirms that the precision of PoseDiffusion is sufficient for high-quality 3D synthesis.
Conclusion and Future Directions
PoseDiffusion redefines camera pose estimation by successfully merging generative modeling with geometric optimization. While the current implementation is slower than optimized C++ pipelines and requires supervised training data, it sets a new state-of-the-art for sparse-view SfM. Future work focusing on self-supervised learning and scaling to thousands of frames could potentially position diffusion-based methods as the new standard for all Structure from Motion tasks.
Summary updated