RelPose: Predicting Probabilistic Relative Rotation for Single Objects in the Wild

Jason Y. Zhang, Deva Ramanan, Shubham Tulsiani

Introduction

Estimating camera pose is a fundamental step in 3D reconstruction tasks like Neural Radiance Fields (NeRF) or Structure-from-Motion (SfM). Traditional methods typically rely on "bottom-up" correspondence, finding matching pixels between images. However, these approaches often fail when faced with sparse views—where images have little overlap—or objects with significant symmetries and ambiguities.

RelPose estimates the relative rotation between a pair of images.

RelPose introduces a data-driven framework designed to overcome these hurdles. By predicting probabilistic distributions over rotations, it can handle the inherent ambiguities of "in-the-wild" object photography, providing a robust starting point for 3D reconstruction even with as few as two images.

Methods: A Two-Stage Probabilistic Approach

RelPose shifts from traditional matching to a "top-down" predictive model that understands global object structure. The pipeline consists of two main stages: pairwise prediction and joint reasoning.

The RelPose pipeline: from image pairs to probabilistic distributions and final joint camera configurations.

1. Probabilistic Pairwise Prediction

Instead of regressing a single rotation matrix, RelPose employs an Energy-Based Model (EBM). Given two images ($I_1, I_2$) and a candidate relative rotation ($R$), the network $f(R, I_1, I_2)$ predicts an "energy" value representing the unnormalized log-probability of that rotation. This multi-modal representation is crucial for handling symmetric objects, where multiple distinct rotations might be equally plausible.

2. Joint Reasoning via Coordinate Ascent

To ensure consistency across $N$ images, the model defines a joint distribution over all camera rotations. Since the relative rotation from Image 1 to 2 and 2 to 3 must be consistent with the rotation from 1 to 3, the system uses Coordinate Ascent for optimization. Starting from an initial guess, it iteratively refines each camera's pose by sampling hundreds of thousands of candidate rotations and selecting the one that maximizes the joint likelihood relative to all other cameras.

Datasets and Generalization

The model is trained on the CO3D (Common Objects in 3D) dataset, which features turntable-style videos across 51 categories. To test its ability to learn general geometric features rather than category-specific shapes, the authors evaluated RelPose on 10 "unseen" categories (e.g., frisbees, sandwiches). The results demonstrated strong zero-shot generalization, proving the model's effectiveness on novel object types.

Key Insights

  • Relative vs. Absolute Pose: For arbitrary objects without a defined "front," predicting relative rotation between views is more stable than predicting absolute poses in a canonical frame.
  • Handling Ambiguity: By outputting a distribution, the model avoids the "mean pose" error common in regression models, where the average of two valid symmetric poses results in a physically impossible orientation.
  • High-Level Features: Utilizing a ResNet-50 backbone allows the model to leverage high-level semantic features, making it more robust to wide baselines and sparse textures than correspondence-based methods like COLMAP.

Results and Utility

RelPose significantly outperforms traditional SLAM and SfM methods in sparse-view settings ($N \le 10$). While methods like COLMAP often fail to converge with few images, RelPose provides stable and accurate initializations. Furthermore, the authors demonstrated that RelPose can successfully initialize NeRS (a neural 3D reconstruction method), automating a process that previously required manual human intervention.

Limitations

Currently, RelPose focuses on camera rotation. While a heuristic for translation (pointing at the object center) works for object-centric photos, a full 6-DoF model is needed for more complex scenes. Additionally, while highly robust, the model is currently less precise than correspondence-based methods when a large number of images are available, suggesting that hybrid approaches could be a fruitful area for future research.

Summary updated

BibTeX
@inproceedings{zhang2022relpose,
  author = {Jason Y. Zhang and Deva Ramanan and Shubham Tulsiani},
  title = {{RelPose: Predicting Probabilistic Relative Rotation for Single Objects in the Wild}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-19821-2\_34},
}
Figure